123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567 |
- /******/ (function(modules) { // webpackBootstrap
- /******/ // install a JSONP callback for chunk loading
- /******/ function webpackJsonpCallback(data) {
- /******/ var chunkIds = data[0];
- /******/ var moreModules = data[1];
- /******/ var executeModules = data[2];
- /******/
- /******/ // add "moreModules" to the modules object,
- /******/ // then flag all "chunkIds" as loaded and fire callback
- /******/ var moduleId, chunkId, i = 0, resolves = [];
- /******/ for(;i < chunkIds.length; i++) {
- /******/ chunkId = chunkIds[i];
- /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
- /******/ resolves.push(installedChunks[chunkId][0]);
- /******/ }
- /******/ installedChunks[chunkId] = 0;
- /******/ }
- /******/ for(moduleId in moreModules) {
- /******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
- /******/ modules[moduleId] = moreModules[moduleId];
- /******/ }
- /******/ }
- /******/ if(parentJsonpFunction) parentJsonpFunction(data);
- /******/
- /******/ while(resolves.length) {
- /******/ resolves.shift()();
- /******/ }
- /******/
- /******/ // add entry modules from loaded chunk to deferred list
- /******/ deferredModules.push.apply(deferredModules, executeModules || []);
- /******/
- /******/ // run deferred modules when all chunks ready
- /******/ return checkDeferredModules();
- /******/ };
- /******/ function checkDeferredModules() {
- /******/ var result;
- /******/ for(var i = 0; i < deferredModules.length; i++) {
- /******/ var deferredModule = deferredModules[i];
- /******/ var fulfilled = true;
- /******/ for(var j = 1; j < deferredModule.length; j++) {
- /******/ var depId = deferredModule[j];
- /******/ if(installedChunks[depId] !== 0) fulfilled = false;
- /******/ }
- /******/ if(fulfilled) {
- /******/ deferredModules.splice(i--, 1);
- /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
- /******/ }
- /******/ }
- /******/
- /******/ return result;
- /******/ }
- /******/
- /******/ // The module cache
- /******/ var installedModules = {};
- /******/
- /******/ // object to store loaded and loading chunks
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
- /******/ // Promise = chunk loading, 0 = chunk loaded
- /******/ var installedChunks = {
- /******/ "program": 0
- /******/ };
- /******/
- /******/ var deferredModules = [];
- /******/
- /******/ // script path function
- /******/ function jsonpScriptSrc(chunkId) {
- /******/ return __webpack_require__.p + "js/" + ({}[chunkId]||chunkId) + ".js"
- /******/ }
- /******/
- /******/ // The require function
- /******/ function __webpack_require__(moduleId) {
- /******/
- /******/ // Check if module is in cache
- /******/ if(installedModules[moduleId]) {
- /******/ return installedModules[moduleId].exports;
- /******/ }
- /******/ // Create a new module (and put it into the cache)
- /******/ var module = installedModules[moduleId] = {
- /******/ i: moduleId,
- /******/ l: false,
- /******/ exports: {}
- /******/ };
- /******/
- /******/ // Execute the module function
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
- /******/
- /******/ // Flag the module as loaded
- /******/ module.l = true;
- /******/
- /******/ // Return the exports of the module
- /******/ return module.exports;
- /******/ }
- /******/
- /******/ // This file contains only the entry chunk.
- /******/ // The chunk loading function for additional chunks
- /******/ __webpack_require__.e = function requireEnsure(chunkId) {
- /******/ var promises = [];
- /******/
- /******/
- /******/ // JSONP chunk loading for javascript
- /******/
- /******/ var installedChunkData = installedChunks[chunkId];
- /******/ if(installedChunkData !== 0) { // 0 means "already installed".
- /******/
- /******/ // a Promise means "currently loading".
- /******/ if(installedChunkData) {
- /******/ promises.push(installedChunkData[2]);
- /******/ } else {
- /******/ // setup Promise in chunk cache
- /******/ var promise = new Promise(function(resolve, reject) {
- /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
- /******/ });
- /******/ promises.push(installedChunkData[2] = promise);
- /******/
- /******/ // start chunk loading
- /******/ var script = document.createElement('script');
- /******/ var onScriptComplete;
- /******/
- /******/ script.charset = 'utf-8';
- /******/ script.timeout = 120;
- /******/ if (__webpack_require__.nc) {
- /******/ script.setAttribute("nonce", __webpack_require__.nc);
- /******/ }
- /******/ script.src = jsonpScriptSrc(chunkId);
- /******/
- /******/ // create error before stack unwound to get useful stacktrace later
- /******/ var error = new Error();
- /******/ onScriptComplete = function (event) {
- /******/ // avoid mem leaks in IE.
- /******/ script.onerror = script.onload = null;
- /******/ clearTimeout(timeout);
- /******/ var chunk = installedChunks[chunkId];
- /******/ if(chunk !== 0) {
- /******/ if(chunk) {
- /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
- /******/ var realSrc = event && event.target && event.target.src;
- /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
- /******/ error.name = 'ChunkLoadError';
- /******/ error.type = errorType;
- /******/ error.request = realSrc;
- /******/ chunk[1](error);
- /******/ }
- /******/ installedChunks[chunkId] = undefined;
- /******/ }
- /******/ };
- /******/ var timeout = setTimeout(function(){
- /******/ onScriptComplete({ type: 'timeout', target: script });
- /******/ }, 120000);
- /******/ script.onerror = script.onload = onScriptComplete;
- /******/ document.head.appendChild(script);
- /******/ }
- /******/ }
- /******/ return Promise.all(promises);
- /******/ };
- /******/
- /******/ // expose the modules object (__webpack_modules__)
- /******/ __webpack_require__.m = modules;
- /******/
- /******/ // expose the module cache
- /******/ __webpack_require__.c = installedModules;
- /******/
- /******/ // define getter function for harmony exports
- /******/ __webpack_require__.d = function(exports, name, getter) {
- /******/ if(!__webpack_require__.o(exports, name)) {
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
- /******/ }
- /******/ };
- /******/
- /******/ // define __esModule on exports
- /******/ __webpack_require__.r = function(exports) {
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
- /******/ }
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
- /******/ };
- /******/
- /******/ // create a fake namespace object
- /******/ // mode & 1: value is a module id, require it
- /******/ // mode & 2: merge all properties of value into the ns
- /******/ // mode & 4: return value when already ns object
- /******/ // mode & 8|1: behave like require
- /******/ __webpack_require__.t = function(value, mode) {
- /******/ if(mode & 1) value = __webpack_require__(value);
- /******/ if(mode & 8) return value;
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
- /******/ var ns = Object.create(null);
- /******/ __webpack_require__.r(ns);
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
- /******/ return ns;
- /******/ };
- /******/
- /******/ // getDefaultExport function for compatibility with non-harmony modules
- /******/ __webpack_require__.n = function(module) {
- /******/ var getter = module && module.__esModule ?
- /******/ function getDefault() { return module['default']; } :
- /******/ function getModuleExports() { return module; };
- /******/ __webpack_require__.d(getter, 'a', getter);
- /******/ return getter;
- /******/ };
- /******/
- /******/ // Object.prototype.hasOwnProperty.call
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
- /******/
- /******/ // __webpack_public_path__
- /******/ __webpack_require__.p = "";
- /******/
- /******/ // on error function for async loading
- /******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };
- /******/
- /******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || [];
- /******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
- /******/ jsonpArray.push = webpackJsonpCallback;
- /******/ jsonpArray = jsonpArray.slice();
- /******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
- /******/ var parentJsonpFunction = oldJsonpFunction;
- /******/
- /******/
- /******/ // add entry module to deferred list
- /******/ deferredModules.push([7,"chunk-vendors","chunk-common"]);
- /******/ // run deferred modules when ready
- /******/ return checkDeferredModules();
- /******/ })
- /************************************************************************/
- /******/ ({
- /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader-v16/dist/templateLoader.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/app/program/main.vue?vue&type=template&id=8e77232a":
- /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** /Users/bill/word/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--13-0!/Users/bill/word/4dkankan_v4/node_modules/babel-loader/lib!/Users/bill/word/4dkankan_v4/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!/Users/bill/word/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!/Users/bill/word/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/app/program/main.vue?vue&type=template&id=8e77232a ***!
- \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! exports provided: render */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"body-layout\"\n};\nfunction render(_ctx, _cache) {\n const _component_router_view = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"router-view\");\n return Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"div\", _hoisted_1, [Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createVNode\"])(_component_router_view)]);\n}\n\n//# sourceURL=webpack:///./src/app/program/main.vue?/Users/bill/word/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--13-0!/Users/bill/word/4dkankan_v4/node_modules/babel-loader/lib!/Users/bill/word/4dkankan_v4/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!/Users/bill/word/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!/Users/bill/word/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1");
- /***/ }),
- /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!./src/app/program/assets/font/iconfont.css":
- /*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** /Users/bill/word/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/Users/bill/word/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-3-2!/Users/bill/word/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!./src/app/program/assets/font/iconfont.css ***!
- \********************************************************************************************************************************************************************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../node_modules/css-loader/dist/runtime/api.js */ \"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../../../../node_modules/css-loader/dist/runtime/getUrl.js */ \"../../node_modules/css-loader/dist/runtime/getUrl.js\");\nvar ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! ./iconfont.woff2?t=1691975747912 */ \"./src/app/program/assets/font/iconfont.woff2?t=1691975747912\");\nvar ___CSS_LOADER_URL_IMPORT_1___ = __webpack_require__(/*! ./iconfont.woff?t=1691975747912 */ \"./src/app/program/assets/font/iconfont.woff?t=1691975747912\");\nvar ___CSS_LOADER_URL_IMPORT_2___ = __webpack_require__(/*! ./iconfont.ttf?t=1691975747912 */ \"./src/app/program/assets/font/iconfont.ttf?t=1691975747912\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);\nvar ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);\n// Module\nexports.push([module.i, \"@font-face {\\n font-family: \\\"iconfont\\\"; /* Project id 3440209 */\\n src: url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \") format(\\\"woff2\\\"), url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \") format(\\\"woff\\\"), url(\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \") format(\\\"truetype\\\");\\n}\\n.iconfont {\\n font-family: \\\"iconfont\\\" !important;\\n font-size: 16px;\\n font-style: normal;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n}\\n\\n.icon-impower:before {\\n content: \\\"\\\\e7a9\\\";\\n}\\n\\n.icon-full:before {\\n content: \\\"\\\\e6df\\\";\\n}\\n\\n.icon-shrink:before {\\n content: \\\"\\\\e6e0\\\";\\n}\\n\\n.icon-state_e:before {\\n content: \\\"\\\\e624\\\";\\n}\\n\\n.icon-a-4dkankan-g:before {\\n content: \\\"\\\\e6c8\\\";\\n}\\n\\n.icon-more:before {\\n content: \\\"\\\\e600\\\";\\n}\\n\\n.icon-s-computer:before {\\n content: \\\"\\\\e6c7\\\";\\n}\\n\\n.icon-s-download:before {\\n content: \\\"\\\\e6c3\\\";\\n}\\n\\n.icon-s-upload:before {\\n content: \\\"\\\\e6c4\\\";\\n}\\n\\n.icon-s-upan:before {\\n content: \\\"\\\\e6c5\\\";\\n}\\n\\n.icon-s-complete:before {\\n content: \\\"\\\\e6c6\\\";\\n}\\n\\n.icon-del:before {\\n content: \\\"\\\\e632\\\";\\n}\\n\\n.icon-next:before {\\n content: \\\"\\\\e6c1\\\";\\n}\\n\\n.icon-back:before {\\n content: \\\"\\\\e6c2\\\";\\n}\\n\\n.icon-help:before {\\n content: \\\"\\\\e6c0\\\";\\n}\\n\\n.icon-setup:before {\\n content: \\\"\\\\e6be\\\";\\n}\\n\\n.icon-compute:before {\\n content: \\\"\\\\e6bf\\\";\\n}\\n\\n.icon-checkbox:before {\\n content: \\\"\\\\e649\\\";\\n}\\n\\n.icon-nor:before {\\n content: \\\"\\\\e696\\\";\\n}\\n\\n.icon-pull-down:before {\\n content: \\\"\\\\e61d\\\";\\n}\\n\\n.icon-pull-up:before {\\n content: \\\"\\\\e61e\\\";\\n}\\n\\n.icon-nav_edit:before {\\n content: \\\"\\\\e6bb\\\";\\n}\\n\\n.icon-nav_scene:before {\\n content: \\\"\\\\e6bc\\\";\\n}\\n\\n.icon-nav_cam:before {\\n content: \\\"\\\\e6bd\\\";\\n}\\n\\n.icon-close:before {\\n content: \\\"\\\\e633\\\";\\n}\\n\\n.icon-search:before {\\n content: \\\"\\\\e64c\\\";\\n}\\n\\n.icon-refresh:before {\\n content: \\\"\\\\e65b\\\";\\n}\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/app/program/assets/font/iconfont.css?/Users/bill/word/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/Users/bill/word/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-3-2!/Users/bill/word/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3");
- /***/ }),
- /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!./src/app/program/public.scss":
- /*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** /Users/bill/word/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/Users/bill/word/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-3-2!/Users/bill/word/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!./src/app/program/public.scss ***!
- \*******************************************************************************************************************************************************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ \"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = __webpack_require__(/*! -!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!../../../../../node_modules/postcss-loader/src??ref--9-oneOf-3-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!./assets/font/iconfont.css */ \"../../node_modules/css-loader/dist/cjs.js?!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!./src/app/program/assets/font/iconfont.css\");\nvar ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/getUrl.js */ \"../../node_modules/css-loader/dist/runtime/getUrl.js\");\nvar ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! @/assets/images/favicon.ico */ \"./src/assets/images/favicon.ico\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\nexports.push([module.i, \"li {\\n list-style: none;\\n}\\n\\n.body-layout {\\n width: 100%;\\n height: 100%;\\n}\\n\\n.content-layer {\\n padding: 60px;\\n max-width: 1280px;\\n margin: 0 auto;\\n min-height: 100%;\\n}\\n\\n.ant-checkbox-checked .ant-checkbox-inner {\\n background: none;\\n}\\n\\n.ant-checkbox-inner {\\n background: none;\\n border-color: #999 !important;\\n}\\n\\n.ant-checkbox-checked .ant-checkbox-inner {\\n border-color: #00c8af !important;\\n}\\n\\n.ant-checkbox-checked .ant-checkbox-inner::after {\\n border-color: #00c8af !important;\\n}\\n\\n.content-table .ant-table {\\n background: none;\\n border-color: rgba(255, 255, 255, 0.16) !important;\\n}\\n.content-table .ant-table .ant-table-row:hover th,\\n.content-table .ant-table .ant-table-row:hover td,\\n.content-table .ant-table .ant-table-row-selected th,\\n.content-table .ant-table .ant-table-row-selected td,\\n.content-table .ant-table th,\\n.content-table .ant-table td {\\n background: none !important;\\n border-color: rgba(255, 255, 255, 0.16) !important;\\n color: #fff !important;\\n}\\n.content-table .ant-pagination .ant-pagination-item-link,\\n.content-table .ant-pagination .ant-pagination-item {\\n background: none;\\n border-color: rgba(255, 255, 255, 0.2);\\n}\\n.content-table .ant-pagination .ant-pagination-item-link span,\\n.content-table .ant-pagination .ant-pagination-item-link a,\\n.content-table .ant-pagination .ant-pagination-item span,\\n.content-table .ant-pagination .ant-pagination-item a {\\n color: rgba(255, 255, 255, 0.7);\\n}\\n.content-table .ant-pagination .ant-pagination-item-link:hover, .content-table .ant-pagination .ant-pagination-item-link.ant-pagination-item-active,\\n.content-table .ant-pagination .ant-pagination-item:hover,\\n.content-table .ant-pagination .ant-pagination-item.ant-pagination-item-active {\\n border-color: #00c8af;\\n}\\n.content-table .ant-pagination .ant-pagination-item-link:hover span,\\n.content-table .ant-pagination .ant-pagination-item-link:hover a, .content-table .ant-pagination .ant-pagination-item-link.ant-pagination-item-active span,\\n.content-table .ant-pagination .ant-pagination-item-link.ant-pagination-item-active a,\\n.content-table .ant-pagination .ant-pagination-item:hover span,\\n.content-table .ant-pagination .ant-pagination-item:hover a,\\n.content-table .ant-pagination .ant-pagination-item.ant-pagination-item-active span,\\n.content-table .ant-pagination .ant-pagination-item.ant-pagination-item-active a {\\n color: #00c8af;\\n}\\n\\n.ant-table-body table {\\n border-color: rgba(255, 255, 255, 0.2) !important;\\n}\\n\\n.action-ctrl {\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n margin-bottom: 10px;\\n}\\n.action-ctrl h2 {\\n font-size: 24px;\\n font-weight: bold;\\n color: #ffffff;\\n margin: 0;\\n}\\n.action-ctrl .action {\\n display: flex;\\n align-items: center;\\n}\\n.action-ctrl .action .icons {\\n display: flex;\\n align-items: center;\\n margin-right: 20px;\\n}\\n.action-ctrl .action .icons span {\\n display: inline-block;\\n position: relative;\\n font-size: 16px;\\n color: rgba(255, 255, 255, 0.7);\\n}\\n.action-ctrl .action .icons span:not(:last-child) {\\n margin-right: 12px;\\n}\\n.action-ctrl .action .ant-input-affix-wrapper,\\n.action-ctrl .action .ant-select:not(.ant-select-customize-input) .ant-select-selector,\\n.action-ctrl .action .ant-input {\\n background-color: rgba(255, 255, 255, 0.1);\\n border-color: rgba(255, 255, 255, 0.2);\\n color: #fff;\\n}\\n.action-ctrl .action .ant-input-affix-wrapper .ant-input {\\n background: none;\\n}\\n.action-ctrl .action .ant-input-suffix,\\n.action-ctrl .action .ant-select-arrow {\\n color: rgba(255, 255, 255, 0.7);\\n}\\n\\n.ant-select-dropdown {\\n background-color: rgba(26, 26, 26, 0.3);\\n box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3), inset 0 0 1px rgba(255, 255, 255, 0.9);\\n border-color: none;\\n}\\n.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {\\n background: none;\\n color: #00c8af;\\n}\\n.ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled) {\\n background-color: #00c8af;\\n color: #fff;\\n}\\n.ant-select-dropdown .ant-select-item {\\n color: #fff;\\n}\\n\\n.ant-modal-wrap {\\n -webkit-backdrop-filter: blur(4px);\\n backdrop-filter: blur(4px);\\n}\\n\\n.dialog {\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border: 1px solid #000;\\n padding-bottom: 0;\\n}\\n.dialog .ant-modal-content {\\n background: rgb(27, 27, 28);\\n}\\n.dialog .ant-modal-header {\\n background: rgba(27, 27, 28, 0.8);\\n border-color: rgba(255, 255, 255, 0.1);\\n display: flex;\\n align-items: center;\\n padding-left: 10px;\\n}\\n.dialog .ant-modal-header::before {\\n content: \\\"\\\";\\n width: 16px;\\n height: 16px;\\n display: inline-block;\\n background: url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \") no-repeat center center;\\n margin-right: 10px;\\n}\\n.dialog .ant-modal-title {\\n font-size: 16px;\\n font-weight: bold;\\n color: #999999;\\n}\\n.dialog .ant-modal-close {\\n color: rgba(255, 255, 255, 0.7);\\n}\\n.dialog .ant-modal-footer {\\n width: 100%;\\n height: 60px;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n background: #1B1B1C;\\n border-top: 1px solid rgba(255, 255, 255, 0.1);\\n margin: 0;\\n}\\n.dialog .ant-modal-footer button {\\n width: 105px;\\n height: 34px;\\n}\\n.dialog .ant-modal-footer button:not(.ant-btn-primary) {\\n background: none;\\n border: 1px solid #00C8AF;\\n color: #00C8AF;\\n}\\n.dialog .ant-modal-footer button:not(.ant-btn-primary):hover {\\n border: 1px solid #008B7A;\\n color: #008B7A;\\n}\\n\\n.ant-tooltip {\\n color: rgba(0, 0, 0, 0.8);\\n}\\n\\n.strengthen {\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border: 1px solid #000;\\n}\\n\\n.strengthen-left {\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border-left: 1px solid #000;\\n}\\n\\n.strengthen-right {\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border-right: 1px solid #000;\\n}\\n\\n.strengthen-top {\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border-top: 1px solid #000;\\n}\\n\\n.strengthen-bottom {\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border-bottom: 1px solid #000;\\n}\\n\\n.fun-ctrl {\\n transition: color 0.3s ease;\\n cursor: pointer;\\n color: rgba(255, 255, 255, 0.7) !important;\\n}\\n.fun-ctrl:hover {\\n color: rgb(255, 255, 255) !important;\\n}\\n.fun-ctrl:active {\\n color: #00c8af !important;\\n}\\n\\n.disabled,\\n:disabled {\\n opacity: 0.3 !important;\\n pointer-events: none !important;\\n}\\n\\n.ant-btn-primary {\\n background: #00c8af;\\n border-color: #00c8af;\\n}\\n.ant-btn-primary:hover {\\n background: #008b7a;\\n border-color: #008b7a;\\n}\\n.ant-btn-primary:focus, .ant-btn-primary:active {\\n background: #00c8af;\\n border-color: #00c8af;\\n}\\n\\n.ant-select-dropdown,\\n.ant-dropdown-menu {\\n background: rgba(27, 27, 28, 0.8);\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border: 1px solid #000;\\n}\\n.ant-select-dropdown .ant-select-item,\\n.ant-select-dropdown .ant-dropdown-menu-item,\\n.ant-select-dropdown .ant-dropdown-menu-submenu-title,\\n.ant-dropdown-menu .ant-select-item,\\n.ant-dropdown-menu .ant-dropdown-menu-item,\\n.ant-dropdown-menu .ant-dropdown-menu-submenu-title {\\n color: #fff;\\n}\\n.ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled),\\n.ant-select-dropdown .ant-dropdown-menu-item:hover,\\n.ant-select-dropdown .ant-dropdown-menu-submenu-title:hover,\\n.ant-dropdown-menu .ant-select-item-option-active:not(.ant-select-item-option-disabled),\\n.ant-dropdown-menu .ant-dropdown-menu-item:hover,\\n.ant-dropdown-menu .ant-dropdown-menu-submenu-title:hover {\\n background: rgba(0, 200, 175, 0.16);\\n}\\n\\n.ant-modal-confirm-body > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {\\n margin-left: 0;\\n}\\n\\n.ant-modal-body .anticon.anticon-info-circle {\\n display: none;\\n}\\n.ant-modal-body .ant-modal-confirm-body-wrapper {\\n margin: -32px -32px -24px;\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border: 1px solid #000;\\n}\\n.ant-modal-body .ant-modal-confirm-title {\\n height: 34px;\\n background: #141414;\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border-bottom: 1px solid #000;\\n color: #ffffff;\\n font-size: 14px;\\n padding: 0 15px;\\n display: flex;\\n align-items: center;\\n}\\n.ant-modal-body .ant-modal-confirm-title::before {\\n content: \\\"\\\";\\n width: 16px;\\n height: 16px;\\n display: inline-block;\\n background: url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \") no-repeat center center;\\n margin-right: 10px;\\n}\\n.ant-modal-body .ant-modal-confirm-content {\\n padding: 30px;\\n color: #ffffff;\\n box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);\\n border-bottom: 1px solid #000;\\n background: #1b1b1c;\\n margin: 0;\\n}\\n.ant-modal-body .ant-modal-confirm-btns {\\n width: 100%;\\n height: 60px;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n background: #1b1b1c;\\n margin: 0;\\n}\\n.ant-modal-body .ant-modal-confirm-btns button {\\n width: 105px;\\n height: 34px;\\n}\\n.ant-modal-body .ant-modal-confirm-btns button:not(.ant-btn-primary) {\\n background: none;\\n border: 1px solid #00c8af;\\n color: #00c8af;\\n}\\n.ant-modal-body .ant-modal-confirm-btns button:not(.ant-btn-primary):hover {\\n border: 1px solid #008b7a;\\n color: #008b7a;\\n}\\n\\n.ant-checkbox-indeterminate .ant-checkbox-inner {\\n background: rgba(0, 0, 0, 0);\\n}\\n\\n.ant-checkbox-indeterminate .ant-checkbox-inner::after {\\n background-color: #00c8af;\\n}\\n\\n.ant-spin-blur {\\n opacity: 1;\\n}\\n\\n.ant-spin-container::after {\\n background: #000;\\n}\\n\\n.ant-modal-confirm .ant-modal-confirm-btns button + button {\\n margin-left: 20px;\\n}\\n\\n.ant-modal-content {\\n box-shadow: none !important;\\n}\\n\\n.ant-modal-body .ant-modal-confirm-body-wrapper {\\n border: none !important;\\n}\\n\\n.type-layout {\\n display: flex;\\n}\\n.type-layout h2 {\\n margin-right: 30px;\\n color: rgba(255, 255, 255, 0.7);\\n cursor: pointer;\\n font-size: 24px;\\n font-weight: 500 !important;\\n}\\n.type-layout h2.active {\\n position: relative;\\n color: #fff;\\n}\\n.type-layout h2.active::after {\\n content: \\\"\\\";\\n width: 48px;\\n position: absolute;\\n top: 100%;\\n left: 50%;\\n transform: translateX(-50%);\\n height: 3px;\\n border-radius: 2px;\\n background-color: rgb(0, 200, 175);\\n}\\n\\n.ant-modal-confirm-body .anticon.anticon-exclamation-circle {\\n display: none;\\n}\\n\\n.ant-dropdown-link {\\n cursor: pointer;\\n}\\n\\na:hover {\\n color: #00C8AF;\\n}\\n\\n.ant-dropdown-menu-item, .ant-dropdown-menu-submenu-title {\\n text-align: center;\\n}\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/app/program/public.scss?/Users/bill/word/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!/Users/bill/word/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-3-2!/Users/bill/word/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3");
- /***/ }),
- /***/ "./src/app/program/assets/font/iconfont.ttf?t=1691975747912":
- /*!******************************************************************!*\
- !*** ./src/app/program/assets/font/iconfont.ttf?t=1691975747912 ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- eval("module.exports = __webpack_require__.p + \"fonts/iconfont.d2079595.ttf\";\n\n//# sourceURL=webpack:///./src/app/program/assets/font/iconfont.ttf?");
- /***/ }),
- /***/ "./src/app/program/assets/font/iconfont.woff2?t=1691975747912":
- /*!********************************************************************!*\
- !*** ./src/app/program/assets/font/iconfont.woff2?t=1691975747912 ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- eval("module.exports = \"data:font/woff2;base64,d09GMgABAAAAAA3oAAsAAAAAG2AAAA2YAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACGLAqkCJ0jATYCJANwCzoABCAFhGcHgiwb/xajoqRTZiD7D5DJrX4gQkVnx0nt1R0MC3FPAxhw0ZrxTABIAQ0AAAAAmAUADUiAkwb8AHnF08KVoZTw//x9v7XPfff9aRqoETz6lEUU0CQQeOBRQNENKO6+/drcIWYbCqKStPL29s/XtTc7Z5mWKI1GpdGolAQC7r7V8tADTKQtsICyhEMK4qTBtjRsDpsHUnH/zRyZiYQvfPFrfTVzZIi2efJWoU2mzWtP3gm/NJPHeOzmt2aNrqL5RYVzUU0DBBCYbYAB839/7qfh64XLICWT+r64JfZFuMkJP2GXAyq7/7tW2pm9Mjs6Ym/yM7PwkyxkDnNAXGBQJ1vHduaICwCyJ3RfhUFvqlO3Mg/PUqGJOBXGpsPKJ/eNPxYW+spXQSDt6Ei5XD08Q3+XbGFaq+hyYdVRPUskdJppogNLJRmIeceMaOFh01aAF/rj9TmXBOMD0WM9/DKCz+fgd534n4C7PBe3C/o24IED25pl6BzO/QYuxi3ladbmkQ+gadB8nuQjsBKkaFgjy2t2p58/fLFuMxSdOTtkxYEG9h4paY706dmzL7dlBxCrGtMqq2XYtBkjxk0If7QhA3LyklLSMhI8q+1/nhJq+yxAFXUdEMAkDjECMw5VEFhxqIEgiEOEEBKHLIIiDi0QhsWhDMLIOLRByDPEiNmQVCAOQFKHOAhJA+IQJE2Iw5AUIUyQlCBISAoQRyDJQRyFJA9xDJIkxHFIUhAnIElDnIQkA3EKkgTEaUg8xAAkBvEQcXD4Xee+Inh3NsYV4AL8hsSAyP9FlROPlOMn3IAR8mO6ugkoy9zQk7r6sLz0oLp5uJRzs6m0UqWNVW1gnUqhQzXIRnBQwAHGqdfpA3q4y7kq2jWiab/gg6YFKVHyg+qA4C7OGZ41lzOm508nJHzSxSYJsrwmNWCaU2X0CKe1FOXcgTyHrP9RUTF1MX0FQ8qcsZR32UXQ2B776EFtKyha4DY5h6uNro/1BO+aR9DjS2ymVGrEDaREtYXURDxSI2Ddgqb9PhzibrIDABv/pTqLwGTERyqGrPK/rsnyIUGXvye58wALUpiJQKi3vyUEb6Wr9dXLtWZB1n0trKmvbTQNjz1OcnObWc1EyJV6Vb9kznG0BrO2vUbiXXeNKHjeC9yRRvCoPC6O3ZUG/ABB5qA8HEhQ/DN0PEkfwGaLm36GzdusSbuGbMe6An7prOsGVlC/RAEEm70w4hzfS4ktluEUTN4jRb6Ed81Sf/nwfwvAHKWq9cOBdCug0rZJ+e+6ouc97oMKZ93CG9KWuC1vvhN3ljX3paE2YmccvPHoAIwROA/CCKklKHQT7/+VRoH5nXGcWk0a5URBryhvIiWNY3K67xFgEhpKy97Ig/4A4Y6VLNJLS1Mh3WeNz2/j0cWROSc4z1n9nKhlpRJHIhKlcKRydSivQEKzfOvojlD7ORociBexdCIRNZvsW/d+uCdNUtxjnqmbGamK5+ja/sRnyFf+a1eYWCEtrE0RPLMstEZTTurDPpPjBIPQ8L+OYYi4lVNy4UYQ2BrD83KpDHkdUi1N72Dgzo7Yw3rLR5qF0LOnswfR62n6iWpC+FiR3uk+hnn6TLG0upAZ7PuR3wGJV8kBoUi53OCnQMXf2SwiH2oXULP4rUlIagDp6AknQzpmm2ZoJI/KDXgvv2QnnevEaWyHjN5XBt8lZgrdHnXQsOAHWaPSn+bMxeiDaTkQCb6aAIa3lmLYVkOnggEtbMZJAy249TxU7WKbUbI6CYismH74lWCDtcxa0zi9TmX2nPXK7v5obIthObZE4K+fvXUG8hdYroivS44D2IC5LPLcm1MHC7YdxlCOcyKd8rxI/1/NdU9yzfOjVX7wcUNPDMM3VY/PR9NcVn5P2uzZzOxy/G+11MRfam+zL2Z9uwo39vYO/ujF131d3h+gpz1QtxXLCTsN1ROFyBsxdC6xum/6D3T41/TAWIri3rXfrWZmovbiwQILLLzeIWBAR4HBf4lntQb0PTNCqIa/7pywfPXNIcyzL3MJxbxtuzgXz+tNO6SrtD+GQSyroFmdpiEBnuKSBK1G89XX0jnBeV4ciH6i7LCmONU4EWlxwAP3aluoKAwTwCAk3NKJtd3iCO3vpw00Hm3uy1cTDXMX2YYlS/yu5p7OhDl02xvGQfcyd3IS5k8QCifMT+CsxM8lGG/Y0jlwnwcmmjUj35kI80D6RoajDlmhceIEliEz05DIQsRZsGM4OrJPPxFACppnv+eFxyfvtHnz1Lywet32rvsyXynQ0vlWF73rlrM5JD/yvfz982eG1at5FRVznz3/VcK9Oq8i3JllpICjq/l39csemP8OSHktPBVe/V7nJwTLuundy7z6BcvNz2Pz8qphmj37vfb75ZzkOVMkX9hQHIgoKxTniaZOFeWJCy+LmMyN80SF4suMWp2Jrgob9UdT+iRJbAgbSVIQ/W4BdwxRp4nIDwsrCNfUL0ANh/bgVS2eGpsifGxwAX9Rd1haAivZtYnXSI0YVSh5/SBTmp/YNRuvC6kP14QV5IdpIja/uWk9zKazflaqWhIvFqsk6CqJ+iKTrZaulLGjqcPQby7JHen4eZU266Svjd9aVvKoJDQnOtheGo0VhUfZGTUxEUWt0aXFUWjNVtkghNUBno8W4wl4Ymli5owwEQ5GBgSbJ+/3XTuJJi5NsLYFpn8IXUVHiFlszIlH4zkhORgD2qNIgkQX8Lb32TNqGLVanm95/K1yEjCp0RJ1//a4ZWCJTO6P5L5MpdgD7jQhx570FfBqpTYkOOJKQK/fdS8M3mvwVPTlyM6XZg/0ZkDCiqwsBUzA5aTIgiUQggDEpKwu1JvEAR3I+7qe6hbmlpqyfVtGrIcnlTowkOH/uXYvknE1EERQSIJPW8YH/GU0PmFSEojP19E2oF2v4wwhMlQsj5cOd6TUx9KtEKFXvB0p1MJ2yNbmMjEaL++1Z5vq01Yz4OhMswLMboAT78J6FzCZmh8wJVRLxOhm6vmPTqXr9etj0jXn+GAR5dIESgvXP9qDJgcEIGQ7zm8SY86uyEtG7B88054ZxrABnjoq21HYQ8kcsaGLK3MLiGmsjsCLGquy53VXxupiYnSxlb9FTIacR/5t23bh2rSg5ICA5KC0oyImQ84jH7XtgVSREFUacaT3B9lA1vWOlEZEibymQlzElH5H76KTgj3h3d1Lx22BpHjB3IiCq8RXJ+JgXbx1OM54vTli8+uIWQmAIUT2jBwExSE4XQmqdydXryTOMzoo3vidmSqNu/pm9ldWlI/rUOzRK/dYfOOiakNlRX/fTBAEEWiTStWEArRkk2q+28YvZFaCkIxAOJXrAEICM1JhNwfT2eYqlZoS9yTDZAKfF2ck7lFPj9iMXmORzcHk0+sfn07vY6al5uD61r2+tL6Pg3wQsbV4A6WvdiqqX7eRciZDCXF1+x2psAkgBrhiBCaCZrCVSjOCrbyiMl8dploOL05cdQDLAGf2cAmOv7IeJal6UmFk37w9ARxNQUjqo2GLd8v2nhZoS3/D6q6hiyOW3a55SqRKGVtJxFYZCaJVaZWfUlnOM9qpbI0qo4/K1wjs+LTBdXVYbdsopThXoa3XYm0+n0fPHqzBUjS761Kw+volgAH13RvVWB1vtF4SMjtm/z6uZ963Xx21MWibz9wizRzf7YpNzRNWDM9VYimBiQEBiYEppIhDiQHnkUl7uoJII21l0fKX4ywA7LHCY47tpu+Uuxpv720WcSn7C8ogavn+jInzmcXyky2V0b7pjWMXD98GLVO1EYy0uLAg4xy3MNXs7A3MTZyZ+RUGn/SYkxOqYnzTG47Rti9Rt+o/aorQTb3LOPZEvRVwth3Bs7Rd9J26hHkDvfm/ByYcgQgA3uEClECLLkPJZvaktwTQKACe7NmhaOBNi0chUiKirtZbWrhEIYjArlnQxEPVbDMkbIr5lBavCMhCCZKiA3Fkl6zV4C0KNoC3KTijKFrH9Q8sh3h4hjHCtSLzvx39E6kv3u+XOZqBg79k5l9TxY/5eIwaxWKJrxaSLClX+EGkHgeO9p78Mujuj8CuE+DZ8+4BYe/zIZMYwjd25TqrDaRHp8AvpMKy3zoGKx/nSpIbphFuEjrhTtJYj2auw72Mc3gs6T48beOyaUaF14LtYgqYe0e4FH2Em7xPdKyZXxhh5k+4V/eHMWb+h6dd6ptaxrync0LJGImipihXzsYKML3ZR0yqWtK+qlekkKFCBAcEbTdco0XKY5jGWrLWxLHAyRmB6o+HWjtRRy5HxUtlzH4vMBBnDbNU7AycI0jiWfSIUNFMnVEcKz4yb/58j1CiSpOIU39VJKiU3LywaskKh37NLdcea7J5UJNYw0TFxASJ1BvClamQ9modwbOrc0h5uUvSDNXenuXRkWJeviTeby4Ozmm312iadzM5RfKKlVBSKaWVUVY55VVQUSWVVVFVNdXVUFMttdVRVz06mvGujtQaV7VuDylltugILBnfsFcuwiWFtGOHRV2rcYTdYbFHqn2VkZZJS1zdaiejTqvZL1ztGdJyPItGxpYIdavFBrdWpCpaU9S+LSAvf0cRw3WqFFVRcY0W66jLV8DIk3fEPTb7Titrbxhl3KW1CAotdsBGSdOmtAvYriSSVNpBGJeEFAAAAAA=\"\n\n//# sourceURL=webpack:///./src/app/program/assets/font/iconfont.woff2?");
- /***/ }),
- /***/ "./src/app/program/assets/font/iconfont.woff?t=1691975747912":
- /*!*******************************************************************!*\
- !*** ./src/app/program/assets/font/iconfont.woff?t=1691975747912 ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- eval("module.exports = __webpack_require__.p + \"fonts/iconfont.80a499a2.woff\";\n\n//# sourceURL=webpack:///./src/app/program/assets/font/iconfont.woff?");
- /***/ }),
- /***/ "./src/app/program/hook/axios.ts":
- /*!***************************************!*\
- !*** ./src/app/program/hook/axios.ts ***!
- \***************************************/
- /*! exports provided: axios, analysisMsg, analysis */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"analysisMsg\", function() { return analysisMsg; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"analysis\", function() { return analysis; });\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ \"../../node_modules/axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, \"axios\", function() { return axios__WEBPACK_IMPORTED_MODULE_0___default.a; });\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ant-design-vue */ \"../../node_modules/ant-design-vue/es/index.js\");\n/* harmony import */ var _loadding__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loadding */ \"./src/app/program/hook/loadding.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../router */ \"./src/app/program/router.ts\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n/* harmony import */ var _canCalErr__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./canCalErr */ \"./src/app/program/hook/canCalErr.ts\");\n\n\n\n\n\n\n\nvar analysisMsg = function (res) {\n if (Number(res.code) === 3115) {\n Object(_canCalErr__WEBPACK_IMPORTED_MODULE_5__[\"showCantCal\"])();\n }\n return _lang__WEBPACK_IMPORTED_MODULE_4__[\"ui18n\"].t('program.errCode.' + res.code);\n};\nvar analysis = function (axiosPromise, useLoad) {\n if (useLoad === void 0) {\n useLoad = true;\n }\n var promise = axiosPromise.catch(function (res) {\n return Promise.reject(_lang__WEBPACK_IMPORTED_MODULE_4__[\"ui18n\"].t(\"program.serverErr\"));\n }).then(function (res) {\n return res.data.code !== 200 ? Promise.reject(analysisMsg(res.data)) : res.data.data;\n }).catch(function (err) {\n Object(_router__WEBPACK_IMPORTED_MODULE_3__[\"isStatusPage\"])() || ant_design_vue__WEBPACK_IMPORTED_MODULE_1__[\"message\"].error(err);\n throw err;\n });\n return useLoad ? Object(_loadding__WEBPACK_IMPORTED_MODULE_2__[\"useLoadding\"])(promise) : promise;\n};\n\n//# sourceURL=webpack:///./src/app/program/hook/axios.ts?");
- /***/ }),
- /***/ "./src/app/program/hook/canCalErr.ts":
- /*!*******************************************!*\
- !*** ./src/app/program/hook/canCalErr.ts ***!
- \*******************************************/
- /*! exports provided: showCantCal */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"showCantCal\", function() { return showCantCal; });\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ant-design-vue */ \"../../node_modules/ant-design-vue/es/index.js\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _app_program_hook_serve__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/app/program/hook/serve */ \"./src/app/program/hook/serve.ts\");\n\n\n\n\nvar showCantCal = function () {\n Object(_app_program_hook_serve__WEBPACK_IMPORTED_MODULE_3__[\"useInteractive\"])('setFrontLog', \"触发无法计算3315\");\n ant_design_vue__WEBPACK_IMPORTED_MODULE_0__[\"Modal\"].info({\n title: _lang__WEBPACK_IMPORTED_MODULE_1__[\"ui18n\"].t(\"program.title\"),\n content: function () {\n return Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"h\"])('div', {}, [Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"h\"])('p', {\n style: {\n fontSize: \"24px\",\n textAlign: \"center\"\n }\n }, _lang__WEBPACK_IMPORTED_MODULE_1__[\"ui18n\"].t(\"program.cantcal.title\")), Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"h\"])('p', _lang__WEBPACK_IMPORTED_MODULE_1__[\"ui18n\"].t(\"program.cantcal.content.0\")), Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"h\"])('p', _lang__WEBPACK_IMPORTED_MODULE_1__[\"ui18n\"].t(\"program.cantcal.content.1\")), Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"h\"])('p', _lang__WEBPACK_IMPORTED_MODULE_1__[\"ui18n\"].t(\"program.cantcal.content.2\"))]);\n },\n okText: _lang__WEBPACK_IMPORTED_MODULE_1__[\"ui18n\"].t(\"program.yes1\"),\n centered: true,\n onOk: function () {}\n });\n};\n\n//# sourceURL=webpack:///./src/app/program/hook/canCalErr.ts?");
- /***/ }),
- /***/ "./src/app/program/hook/first-run.ts":
- /*!*******************************************!*\
- !*** ./src/app/program/hook/first-run.ts ***!
- \*******************************************/
- /*! exports provided: useFirstRun */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useFirstRun\", function() { return useFirstRun; });\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../router */ \"./src/app/program/router.ts\");\n\nvar firstRun = true;\nvar useFirstRun = function () {\n if (Object(_router__WEBPACK_IMPORTED_MODULE_0__[\"isStatusPage\"])()) {\n return firstRun;\n } else {\n var fr = firstRun;\n firstRun = false;\n return fr;\n }\n};\n\n//# sourceURL=webpack:///./src/app/program/hook/first-run.ts?");
- /***/ }),
- /***/ "./src/app/program/hook/index.ts":
- /*!***************************************!*\
- !*** ./src/app/program/hook/index.ts ***!
- \***************************************/
- /*! exports provided: axios, analysisMsg, analysis, loadding, useLoadding, useConfirm, useAlert, usePolling, usePromisePolling, isSupper, baseURL, v4baseURL, serverHref, v4serverHref, langE, fuse, version, sceneKey, buildModelPath, profilePath, useInteractive, useSubscribe, useSend, useImmedSubscribe, URL, isDev, getResources */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./axios */ \"./src/app/program/hook/axios.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"axios\", function() { return _axios__WEBPACK_IMPORTED_MODULE_0__[\"axios\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"analysisMsg\", function() { return _axios__WEBPACK_IMPORTED_MODULE_0__[\"analysisMsg\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"analysis\", function() { return _axios__WEBPACK_IMPORTED_MODULE_0__[\"analysis\"]; });\n\n/* harmony import */ var _loadding__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loadding */ \"./src/app/program/hook/loadding.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"loadding\", function() { return _loadding__WEBPACK_IMPORTED_MODULE_1__[\"loadding\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useLoadding\", function() { return _loadding__WEBPACK_IMPORTED_MODULE_1__[\"useLoadding\"]; });\n\n/* harmony import */ var _model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./model */ \"./src/app/program/hook/model.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useConfirm\", function() { return _model__WEBPACK_IMPORTED_MODULE_2__[\"useConfirm\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useAlert\", function() { return _model__WEBPACK_IMPORTED_MODULE_2__[\"useAlert\"]; });\n\n/* harmony import */ var _polling__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./polling */ \"./src/app/program/hook/polling.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"usePolling\", function() { return _polling__WEBPACK_IMPORTED_MODULE_3__[\"usePolling\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"usePromisePolling\", function() { return _polling__WEBPACK_IMPORTED_MODULE_3__[\"usePromisePolling\"]; });\n\n/* harmony import */ var _serve__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./serve */ \"./src/app/program/hook/serve.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isSupper\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"isSupper\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"baseURL\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"baseURL\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"v4baseURL\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"v4baseURL\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"serverHref\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"serverHref\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"v4serverHref\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"v4serverHref\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"langE\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"langE\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fuse\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"fuse\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"version\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sceneKey\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"sceneKey\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"buildModelPath\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"buildModelPath\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"profilePath\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"profilePath\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useInteractive\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"useInteractive\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useSubscribe\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"useSubscribe\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useSend\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"useSend\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useImmedSubscribe\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"useImmedSubscribe\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"URL\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"URL\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isDev\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"isDev\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getResources\", function() { return _serve__WEBPACK_IMPORTED_MODULE_4__[\"getResources\"]; });\n\n\n\n\n\n\n\n//# sourceURL=webpack:///./src/app/program/hook/index.ts?");
- /***/ }),
- /***/ "./src/app/program/hook/loadding.ts":
- /*!******************************************!*\
- !*** ./src/app/program/hook/loadding.ts ***!
- \******************************************/
- /*! exports provided: loadding, useLoadding */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"loadding\", function() { return loadding; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useLoadding\", function() { return useLoadding; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nvar loadding = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"ref\"])(false);\nvar useLoadding = function (promise) {\n loadding.value = true;\n promise.finally(function () {\n return loadding.value = false;\n });\n return promise;\n};\n\n//# sourceURL=webpack:///./src/app/program/hook/loadding.ts?");
- /***/ }),
- /***/ "./src/app/program/hook/model.ts":
- /*!***************************************!*\
- !*** ./src/app/program/hook/model.ts ***!
- \***************************************/
- /*! exports provided: useConfirm, useAlert */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useConfirm\", function() { return useConfirm; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useAlert\", function() { return useAlert; });\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ant-design-vue */ \"../../node_modules/ant-design-vue/es/index.js\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../router */ \"./src/app/program/router.ts\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n\n\n\nvar useConfirm = function (content, okText, cancelText) {\n if (okText === void 0) {\n okText = _lang__WEBPACK_IMPORTED_MODULE_2__[\"ui18n\"].t(\"program.yes\");\n }\n if (cancelText === void 0) {\n cancelText = _lang__WEBPACK_IMPORTED_MODULE_2__[\"ui18n\"].t(\"program.no\");\n }\n return new Promise(function (resolve) {\n if (!Object(_router__WEBPACK_IMPORTED_MODULE_1__[\"isStatusPage\"])()) {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_0__[\"Modal\"].confirm({\n title: _lang__WEBPACK_IMPORTED_MODULE_2__[\"ui18n\"].t(\"program.title\"),\n content: content,\n okText: okText,\n cancelText: cancelText,\n onOk: function () {\n resolve(true);\n },\n onCancel: function () {\n resolve(false);\n }\n });\n } else {\n resolve(false);\n }\n });\n};\nvar useAlert = function (content) {\n return new Promise(function (resolve) {\n var msg = typeof content === 'string' ? content : content.content;\n var okText = typeof content === 'string' ? _lang__WEBPACK_IMPORTED_MODULE_2__[\"ui18n\"].t(\"program.yes\") : content.okText;\n if (!Object(_router__WEBPACK_IMPORTED_MODULE_1__[\"isStatusPage\"])()) {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_0__[\"Modal\"].info({\n title: _lang__WEBPACK_IMPORTED_MODULE_2__[\"ui18n\"].t(\"program.title\"),\n content: msg,\n okText: okText,\n onOk: function () {\n resolve(true);\n }\n });\n } else {\n resolve(true);\n }\n });\n};\n\n//# sourceURL=webpack:///./src/app/program/hook/model.ts?");
- /***/ }),
- /***/ "./src/app/program/hook/polling.ts":
- /*!*****************************************!*\
- !*** ./src/app/program/hook/polling.ts ***!
- \*****************************************/
- /*! exports provided: usePolling, usePromisePolling */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"usePolling\", function() { return usePolling; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"usePromisePolling\", function() { return usePromisePolling; });\nvar usePolling = function (fn, mis) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var stop = false;\n var polling = function () {\n fn.apply(void 0, args);\n stop || setTimeout(polling, mis);\n };\n polling();\n return function () {\n return stop = true;\n };\n};\nvar usePromisePolling = function (fn, mis) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var stop = false;\n var polling = function () {\n fn.apply(void 0, args).then(function () {\n stop || setTimeout(polling, mis);\n });\n };\n polling();\n return function () {\n return stop = true;\n };\n};\n\n//# sourceURL=webpack:///./src/app/program/hook/polling.ts?");
- /***/ }),
- /***/ "./src/app/program/hook/serve.ts":
- /*!***************************************!*\
- !*** ./src/app/program/hook/serve.ts ***!
- \***************************************/
- /*! exports provided: isSupper, baseURL, v4baseURL, serverHref, v4serverHref, langE, fuse, version, sceneKey, buildModelPath, profilePath, useInteractive, useSubscribe, useSend, useImmedSubscribe, URL, isDev, getResources */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSupper\", function() { return isSupper; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseURL\", function() { return baseURL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"v4baseURL\", function() { return v4baseURL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"serverHref\", function() { return serverHref; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"v4serverHref\", function() { return v4serverHref; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"langE\", function() { return langE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fuse\", function() { return fuse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sceneKey\", function() { return sceneKey; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"buildModelPath\", function() { return buildModelPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"profilePath\", function() { return profilePath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useInteractive\", function() { return useInteractive; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useSubscribe\", function() { return useSubscribe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useSend\", function() { return useSend; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useImmedSubscribe\", function() { return useImmedSubscribe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"URL\", function() { return URL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isDev\", function() { return isDev; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getResources\", function() { return getResources; });\n/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.url-search-params.delete.js */ \"../../node_modules/core-js/modules/web.url-search-params.delete.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.url-search-params.has.js */ \"../../node_modules/core-js/modules/web.url-search-params.has.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url-search-params.size.js */ \"../../node_modules/core-js/modules/web.url-search-params.size.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ \"../../node_modules/axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\nvar __assign = undefined && undefined.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar isSupper = !!global.ipc;\n\nif (!isSupper) {\n var emptyFn_1 = function () {};\n global.ipc = {\n useInteractive: emptyFn_1,\n useSubscribe: function () {\n return emptyFn_1;\n },\n useImmedSubscribe: function () {\n return emptyFn_1;\n },\n useSend: emptyFn_1\n };\n global.config = {\n buildModelPath: 'c:/',\n lang: 'en',\n profilePath: \"c:/\",\n setting: {\n fuse: true,\n version: '1.5.0'\n },\n sceneKey: 'id',\n SERVER_HREF: 'http://192.168.0.11:9000',\n V4_SERVER_HREF: 'http://192.168.0.14:9001',\n isDev: true\n };\n global.URLEmun = {\n getLocalScenes: '/laser/init/sceneList',\n getCameras: '/laser/camera/list',\n addLocalScene: '/laser/init/sceneSync',\n buildScene: '/laser/init/sceneBuild',\n deleteLLocalScene: '/laser/init/remove',\n getBuildStatus: '/laser/init/buildProgress',\n swkk: ' http://127.0.0.1:54980/program/static/lib/swkk',\n downLaserScene: \"/laser/4dage/downOfflineScene\",\n downLaserCheckScene: \"/laser/4dage/downOfflineSceneCheck\",\n downLaserCheckSceneV4: \"/service/scene/downlaod/downOfflineSceneCheck\",\n downSuccessScene: \"/laser/4dage/downloadUpDateStatus\",\n downStepScene: \"/laser/4dage/downloadProcess\",\n calcObject: \"/laser/init/buildSceneObj\",\n getVersion: \"/laser/init/getSceneNumLocVersion/\",\n downStatusV4: \"/service/scene/downlaod/downloadProcess\",\n downLaserSceneV4: \"/service/scene/downlaod/downOfflineScene\",\n downSuccessSceneV4: \"/service/scene/downlaod/downloadUpDateStatus\",\n downStepSceneV4: \"/service/scene/downlaod/downloadProcess\",\n // laser/path/list/{{type}} 获取列表,\n getStoreList: \"/laser/path/list/\",\n // laser/path/findLastOne/{type} 按类型查询最新启用状态的\n getEnableStore: \"/laser/path/findLastOne/\",\n // 新增 {\n // \"dir\":需要映射的目录\n // \"ype\":1,原始资源 2,计算资源\n // }\n addStore: \"/laser/path/add\",\n // /laser/path/{{id}} 删除\n delStore: \"/laser/path/del\",\n authKey: \"/laser/camera/addReg\",\n changeAuthKey: \"/laser/camera/updateCameraReg\",\n copyScene: \"/laser/init\"\n };\n}\nvar baseURL = global.config.SERVER_HREF;\nvar v4baseURL = global.config.V4_SERVER_HREF;\n//临时远程调试\n// export const baseURL = 'http://192.168.0.11:9000'\n// export const v4baseURL = 'http://192.168.0.11:9101'\n// const baseURL = global.config.SERVER_HREF\naxios__WEBPACK_IMPORTED_MODULE_3___default.a.interceptors.request.use(function (config) {\n console.log(config.url);\n if (config.url.includes(\"/laser/\")) {\n return __assign(__assign({}, config), {\n baseURL: baseURL\n });\n } else if (config.url.includes(\"/service/\")) {\n return __assign(__assign({}, config), {\n baseURL: v4baseURL\n });\n } else {\n return config;\n }\n});\nvar serverHref = baseURL;\nvar v4serverHref = v4baseURL;\nvar langE = global.config.lang;\nvar fuse = global.config.setting.fuse;\nvar version = global.config.setting.version;\nvar sceneKey = global.config.sceneKey;\nvar buildModelPath = global.config.buildModelPath;\nvar profilePath = global.config.profilePath;\nvar useInteractive = global.ipc.useInteractive;\nvar useSubscribe = global.ipc.useSubscribe;\nvar useSend = global.ipc.useSend;\nvar useImmedSubscribe = global.ipc.useImmedSubscribe;\nvar URL = global.URLEmun;\nvar isDev = global.config.isDev;\nvar getResources = function (uri) {\n if (~uri.indexOf('base64') || ~uri.indexOf('bolb') || ~uri.indexOf('//')) return uri;\n if (!~serverHref.indexOf('//')) return serverHref + '/' + uri;\n var baseURL = new window.URL(serverHref);\n var url = new window.URL(uri, serverHref);\n var basePath = baseURL.pathname[baseURL.pathname.length - 1] === '/' ? baseURL.pathname.substring(0, baseURL.pathname.length - 1) : baseURL.pathname;\n url.pathname = basePath + url.pathname;\n return url.href;\n};\nwindow.lang = langE;\n// if (!localStorage.getItem('lang')) {\n// }\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../node_modules/webpack/buildin/global.js */ \"../../node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./src/app/program/hook/serve.ts?");
- /***/ }),
- /***/ "./src/app/program/main.ts":
- /*!*********************************!*\
- !*** ./src/app/program/main.ts ***!
- \*********************************/
- /*! no exports provided */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _hook_serve__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hook/serve */ \"./src/app/program/hook/serve.ts\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ant-design-vue */ \"../../node_modules/ant-design-vue/es/index.js\");\n/* harmony import */ var _main_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./main.vue */ \"./src/app/program/main.vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./router */ \"./src/app/program/router.ts\");\n/* harmony import */ var ant_design_vue_dist_antd_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ant-design-vue/dist/antd.css */ \"../../node_modules/ant-design-vue/dist/antd.css\");\n/* harmony import */ var ant_design_vue_dist_antd_css__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_dist_antd_css__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _assets_public_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/assets/public.scss */ \"./src/assets/public.scss\");\n/* harmony import */ var _assets_public_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_assets_public_scss__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _public_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./public.scss */ \"./src/app/program/public.scss\");\n/* harmony import */ var _public_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_public_scss__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n/* harmony import */ var _store_inject__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./store/inject */ \"./src/app/program/store/inject.ts\");\n\n\n\n\n\n\n\n\n\nvar app = Object(vue__WEBPACK_IMPORTED_MODULE_3__[\"createApp\"])(_main_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]);\napp.use(ant_design_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\napp.use(_router__WEBPACK_IMPORTED_MODULE_4__[\"router\"]);\nObject(_lang__WEBPACK_IMPORTED_MODULE_8__[\"setupI18n\"])(app);\nif (_hook_serve__WEBPACK_IMPORTED_MODULE_0__[\"isSupper\"]) {\n Object(_hook_serve__WEBPACK_IMPORTED_MODULE_0__[\"useSubscribe\"])('goto', function (page) {\n Object(_router__WEBPACK_IMPORTED_MODULE_4__[\"jump\"])({\n name: page\n });\n });\n app.mount('#app');\n} else {\n app.mount('#app');\n}\n\nObject(_hook_serve__WEBPACK_IMPORTED_MODULE_0__[\"useSubscribe\"])('reload', function () {\n location.reload();\n});\n\n//# sourceURL=webpack:///./src/app/program/main.ts?");
- /***/ }),
- /***/ "./src/app/program/main.vue":
- /*!**********************************!*\
- !*** ./src/app/program/main.vue ***!
- \**********************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _main_vue_vue_type_template_id_8e77232a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./main.vue?vue&type=template&id=8e77232a */ \"./src/app/program/main.vue?vue&type=template&id=8e77232a\");\n/* harmony import */ var _Users_bill_word_4dkankan_v4_node_modules_vue_loader_v16_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! /Users/bill/word/4dkankan_v4/node_modules/vue-loader-v16/dist/exportHelper.js */ \"../../node_modules/vue-loader-v16/dist/exportHelper.js\");\n/* harmony import */ var _Users_bill_word_4dkankan_v4_node_modules_vue_loader_v16_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Users_bill_word_4dkankan_v4_node_modules_vue_loader_v16_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__);\n\nconst script = {}\n\n\nconst __exports__ = /*#__PURE__*/_Users_bill_word_4dkankan_v4_node_modules_vue_loader_v16_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1___default()(script, [['render',_main_vue_vue_type_template_id_8e77232a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]],['__file',\"src/app/program/main.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack:///./src/app/program/main.vue?");
- /***/ }),
- /***/ "./src/app/program/main.vue?vue&type=template&id=8e77232a":
- /*!****************************************************************!*\
- !*** ./src/app/program/main.vue?vue&type=template&id=8e77232a ***!
- \****************************************************************/
- /*! exports provided: render */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_v16_dist_templateLoader_js_ref_7_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_main_vue_vue_type_template_id_8e77232a__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/babel-loader/lib!../../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader-v16/dist??ref--1-1!./main.vue?vue&type=template&id=8e77232a */ \"../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader-v16/dist/templateLoader.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/app/program/main.vue?vue&type=template&id=8e77232a\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_v16_dist_templateLoader_js_ref_7_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_main_vue_vue_type_template_id_8e77232a__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n\n\n//# sourceURL=webpack:///./src/app/program/main.vue?");
- /***/ }),
- /***/ "./src/app/program/public.scss":
- /*!*************************************!*\
- !*** ./src/app/program/public.scss ***!
- \*************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!../../../../../node_modules/postcss-loader/src??ref--9-oneOf-3-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!./public.scss */ \"../../node_modules/css-loader/dist/cjs.js?!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!./src/app/program/public.scss\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = __webpack_require__(/*! ../../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ \"../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"407d7805\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack:///./src/app/program/public.scss?");
- /***/ }),
- /***/ "./src/app/program/router.ts":
- /*!***********************************!*\
- !*** ./src/app/program/router.ts ***!
- \***********************************/
- /*! exports provided: metas, history, jump, router, isStatusPage */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"metas\", function() { return metas; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"history\", function() { return history; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"jump\", function() { return jump; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"router\", function() { return router; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isStatusPage\", function() { return isStatusPage; });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.esm-bundler.js\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n\n\n\n\nvar metas = {\n layout: {\n name: 'layout',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.layout\")\n },\n mainLayout: {\n name: 'mainLayout',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.mainLayout\")\n },\n scene: {\n name: 'scene',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.scene\")\n },\n camera: {\n name: 'camera',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.camera\")\n },\n edit: {\n name: 'edit',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.edit\")\n },\n secoundLayout: {\n name: 'secoundLayout',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.secoundLayout\")\n },\n settingLayout: {\n name: 'settingLayout',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.settingLayout\"),\n h: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t('sys.setup')\n },\n fileManage: {\n name: 'fileManage',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.fileManage\"),\n h: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t('sys.setup')\n },\n license: {\n name: 'license',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.license\"),\n h: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t('sys.setup')\n },\n about: {\n name: 'about',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.about\"),\n h: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t('sys.setup')\n },\n help: {\n name: 'help',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.help\")\n },\n install: {\n name: 'install',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.install\")\n },\n status: {\n name: 'status',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.status\")\n },\n fuse: {\n name: 'fuse',\n title: _lang__WEBPACK_IMPORTED_MODULE_3__[\"ui18n\"].t(\"program.menu.fuse\")\n }\n};\nvar history = Object(vue__WEBPACK_IMPORTED_MODULE_1__[\"reactive\"])([]);\nvar jump = function (to) {\n history.unshift(to);\n return router.push(to);\n};\nvar router = Object(vue_router__WEBPACK_IMPORTED_MODULE_2__[\"createRouter\"])({\n history: Object(vue_router__WEBPACK_IMPORTED_MODULE_2__[\"createWebHashHistory\"])(),\n routes: [{\n name: 'test',\n path: '/test',\n component: function () {\n return __webpack_require__.e(/*! import() */ 50).then(__webpack_require__.bind(null, /*! ./views/t/index.vue */ \"./src/app/program/views/t/index.vue\"));\n }\n }, {\n name: metas.install.name,\n path: '/install',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(38)]).then(__webpack_require__.bind(null, /*! ./views/install/index.vue */ \"./src/app/program/views/install/index.vue\"));\n }\n }, {\n name: metas.status.name,\n path: '/status',\n component: function () {\n return __webpack_require__.e(/*! import() */ 47).then(__webpack_require__.bind(null, /*! ./views/status/index.vue */ \"./src/app/program/views/status/index.vue\"));\n }\n }, {\n name: metas.layout.name,\n path: '/layout',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(40)]).then(__webpack_require__.bind(null, /*! ./views/sys/layout/index.vue */ \"./src/app/program/views/sys/layout/index.vue\"));\n },\n children: [{\n name: metas.fuse.name,\n path: '/fuse/:sceneId/:sceneCode/:fuseId',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(67)]).then(__webpack_require__.bind(null, /*! ./views/fuse/index.vue */ \"./src/app/program/views/fuse/index.vue\"));\n }\n }, {\n name: metas.mainLayout.name,\n path: 'main',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(32)]).then(__webpack_require__.bind(null, /*! ./views/sys/main-layout/index.vue */ \"./src/app/program/views/sys/main-layout/index.vue\"));\n },\n children: [{\n name: metas.scene.name,\n path: 'scene',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(43)]).then(__webpack_require__.bind(null, /*! ./views/scene/index.vue */ \"./src/app/program/views/scene/index.vue\"));\n }\n }, {\n name: metas.camera.name,\n path: 'camera',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(45)]).then(__webpack_require__.bind(null, /*! ./views/camera/index.vue */ \"./src/app/program/views/camera/index.vue\"));\n }\n }, {\n name: metas.edit.name,\n path: 'edit',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(39)]).then(__webpack_require__.bind(null, /*! ./views/edit/index.vue */ \"./src/app/program/views/edit/index.vue\"));\n }\n }]\n }, {\n name: metas.secoundLayout.name,\n path: 'secound',\n component: function () {\n return Promise.all(/*! import() */[__webpack_require__.e(2), __webpack_require__.e(68)]).then(__webpack_require__.bind(null, /*! ./views/sys/second-layout/index.vue */ \"./src/app/program/views/sys/second-layout/index.vue\"));\n },\n children: [{\n name: metas.settingLayout.name,\n path: 'setting',\n component: function () {\n return __webpack_require__.e(/*! import() */ 69).then(__webpack_require__.bind(null, /*! ./views/sys/setting-layout/index.vue */ \"./src/app/program/views/sys/setting-layout/index.vue\"));\n },\n children: [{\n name: metas.fileManage.name,\n path: 'file-manage',\n component: function () {\n return __webpack_require__.e(/*! import() */ 66).then(__webpack_require__.bind(null, /*! ./views/file-manage/index.vue */ \"./src/app/program/views/file-manage/index.vue\"));\n }\n }, {\n name: metas.license.name,\n path: 'license',\n component: function () {\n return __webpack_require__.e(/*! import() */ 62).then(__webpack_require__.bind(null, /*! ./views/license/index.vue */ \"./src/app/program/views/license/index.vue\"));\n }\n }, {\n name: metas.about.name,\n path: 'about',\n component: function () {\n return __webpack_require__.e(/*! import() */ 65).then(__webpack_require__.bind(null, /*! ./views/about/index.vue */ \"./src/app/program/views/about/index.vue\"));\n }\n }]\n }, {\n name: metas.help.name,\n path: 'help',\n component: function () {\n return __webpack_require__.e(/*! import() */ 28).then(__webpack_require__.bind(null, /*! ./views/help/index.vue */ \"./src/app/program/views/help/index.vue\"));\n }\n }]\n }]\n }]\n});\nvar isStatusPage = function () {\n return router.currentRoute.value.name === metas.status.name;\n};\n\n//# sourceURL=webpack:///./src/app/program/router.ts?");
- /***/ }),
- /***/ "./src/app/program/store/auth.ts":
- /*!***************************************!*\
- !*** ./src/app/program/store/auth.ts ***!
- \***************************************/
- /*! exports provided: info, invalidInfo, auth, _getAuth, getAuth, authTip */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"info\", function() { return info; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"invalidInfo\", function() { return invalidInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"auth\", function() { return auth; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_getAuth\", function() { return _getAuth; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getAuth\", function() { return getAuth; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"authTip\", function() { return authTip; });\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"../../node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/app/program/hook/axios */ \"./src/app/program/hook/axios.ts\");\n/* harmony import */ var _app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/app/program/hook/serve */ \"./src/app/program/hook/serve.ts\");\n/* harmony import */ var _app_program_hook_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/app/program/hook/model */ \"./src/app/program/hook/model.ts\");\n/* harmony import */ var _app_program_hook_first_run__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/app/program/hook/first-run */ \"./src/app/program/hook/first-run.ts\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n\n\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = undefined && undefined.__generator || function (thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n};\n\n\n\n\n\n\nvar info = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])(null);\nvar invalidInfo = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])(null);\nvar auth = function (ks) {\n return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/];\n });\n });\n};\nvar _getAuth = function (force) {\n return __awaiter(void 0, void 0, void 0, function () {\n var res, data, authInfo;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, _app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__[\"URL\"].isAuth)];\n case 1:\n res = _a.sent();\n if (![200, 7003].includes(res.data.code)) return [3 /*break*/, 3];\n return [4 /*yield*/, Object(_app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__[\"analysis\"])(_app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__[\"URL\"].getAuth, {}), false)];\n case 2:\n data = _a.sent();\n authInfo = {\n use: data.status,\n surplus: data.expirationDays,\n keyId: data.sn\n };\n info.value = null;\n invalidInfo.value = null;\n if (res.data.code === 7003) {\n invalidInfo.value = authInfo;\n authTip(force);\n } else {\n info.value = authInfo;\n }\n return [3 /*break*/, 4];\n case 3:\n if (res.data.code === 7004) {\n info.value = null;\n invalidInfo.value = null;\n authTip(force);\n }\n _a.label = 4;\n case 4:\n return [2 /*return*/];\n }\n });\n });\n};\nvar cacheAuth = new Map();\nvar getAuth = function (force) {\n if (cacheAuth.has(force)) {\n return cacheAuth.get(force);\n } else {\n var promise = _getAuth(force);\n cacheAuth.set(force, promise);\n promise.finally(function () {\n cacheAuth.delete(force);\n });\n }\n};\nvar authTip = function (force) {\n if (!info.value) {\n var isTip = force || Object(_app_program_hook_first_run__WEBPACK_IMPORTED_MODULE_6__[\"useFirstRun\"])();\n isTip && Object(_app_program_hook_model__WEBPACK_IMPORTED_MODULE_5__[\"useAlert\"])(_lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t(\"program.sysTimeout\"));\n return false;\n } else {\n return true;\n }\n};\n\n//# sourceURL=webpack:///./src/app/program/store/auth.ts?");
- /***/ }),
- /***/ "./src/app/program/store/cameraAuth.ts":
- /*!*********************************************!*\
- !*** ./src/app/program/store/cameraAuth.ts ***!
- \*********************************************/
- /*! exports provided: code, changeAuth, auth, requestAuthCode */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"code\", function() { return code; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"changeAuth\", function() { return changeAuth; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"auth\", function() { return auth; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"requestAuthCode\", function() { return requestAuthCode; });\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"../../node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/app/program/hook/axios */ \"./src/app/program/hook/axios.ts\");\n/* harmony import */ var _app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/app/program/hook/serve */ \"./src/app/program/hook/serve.ts\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ant-design-vue */ \"../../node_modules/ant-design-vue/es/index.js\");\n/* harmony import */ var _camrea__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./camrea */ \"./src/app/program/store/camrea.ts\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n\n\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = undefined && undefined.__generator || function (thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n};\n\n\n\n\n\n\nvar code = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])('');\nvar authRequest = function (key, url) {\n return __awaiter(void 0, void 0, void 0, function () {\n var res;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!!code.value) return [3 /*break*/, 2];\n return [4 /*yield*/, requestAuthCode()];\n case 1:\n _a.sent();\n _a.label = 2;\n case 2:\n return [4 /*yield*/, _app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(url, {\n \"machineCode\": code.value,\n \"plaintext\": key\n })];\n case 3:\n res = _a.sent();\n if ([3107, 3112, 200].includes(res.data.code)) {\n Object(_camrea__WEBPACK_IMPORTED_MODULE_6__[\"setCameraList\"])();\n return [2 /*return*/, true];\n } else {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"message\"].error(Object(_app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__[\"analysisMsg\"])(res.data));\n return [2 /*return*/, false];\n }\n return [2 /*return*/];\n }\n });\n });\n};\nvar changeAuth = function (key) {\n return __awaiter(void 0, void 0, void 0, function () {\n var result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, authRequest(key, _app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__[\"URL\"].changeAuthKey)];\n case 1:\n result = _a.sent();\n if (result) {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"message\"].success(_lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t('program.camera.changeAuth'));\n } else {\n throw \"更换失败\";\n }\n return [2 /*return*/];\n }\n });\n });\n};\nvar auth = function (key, cameraCode) {\n return __awaiter(void 0, void 0, void 0, function () {\n var result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, authRequest(key, _app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__[\"URL\"].authKey)];\n case 1:\n result = _a.sent();\n if (result) {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"message\"].success(_lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t('program.camera.auth'));\n } else {\n throw \"更换失败\";\n }\n return [2 /*return*/];\n }\n });\n });\n};\nvar requestAuthCode = function () {\n return __awaiter(void 0, void 0, void 0, function () {\n var _a, data, err;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n return [4 /*yield*/, Object(_app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__[\"useInteractive\"])('getWinCode', null)];\n case 1:\n _a = _b.sent(), data = _a.data, err = _a.err;\n if (err) {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"message\"].error(_lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t('program.camera.authErr'));\n throw '获取注册码失败,请以管理员权限启动程序!';\n } else {\n code.value = data;\n }\n return [2 /*return*/];\n }\n });\n });\n};\n\n//# sourceURL=webpack:///./src/app/program/store/cameraAuth.ts?");
- /***/ }),
- /***/ "./src/app/program/store/camrea.ts":
- /*!*****************************************!*\
- !*** ./src/app/program/store/camrea.ts ***!
- \*****************************************/
- /*! exports provided: cameraList, setCameraList */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cameraList\", function() { return cameraList; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setCameraList\", function() { return setCameraList; });\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"../../node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/app/program/hook/axios */ \"./src/app/program/hook/axios.ts\");\n/* harmony import */ var _app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/app/program/hook/serve */ \"./src/app/program/hook/serve.ts\");\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./type */ \"./src/app/program/store/type.ts\");\n\n\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = undefined && undefined.__generator || function (thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n};\n\n\n\n\nvar cameraList = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])([]);\nvar setCameraList = function () {\n return __awaiter(void 0, void 0, void 0, function () {\n var serverCameras;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, Object(_app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__[\"analysis\"])(_app_program_hook_axios__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__[\"URL\"].getCameras, {}))];\n case 1:\n serverCameras = _a.sent();\n cameraList.value = serverCameras.map(function (item) {\n return {\n sn: item.snCode,\n time: item.laserSyncTime,\n type: \"10\" === item.type ? _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser : \"11\" === item.type ? _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].shenguang : _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].kankan,\n count: item.sceneCount || 0\n };\n });\n return [2 /*return*/];\n }\n });\n });\n};\nObject(_app_program_hook_serve__WEBPACK_IMPORTED_MODULE_4__[\"useSubscribe\"])('localSceneChange', setCameraList);\n\n//# sourceURL=webpack:///./src/app/program/store/camrea.ts?");
- /***/ }),
- /***/ "./src/app/program/store/inject.ts":
- /*!*****************************************!*\
- !*** ./src/app/program/store/inject.ts ***!
- \*****************************************/
- /*! no exports provided */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./auth */ \"./src/app/program/store/auth.ts\");\n/* harmony import */ var _scene__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./scene */ \"./src/app/program/store/scene.ts\");\n/* harmony import */ var _hook_serve__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hook/serve */ \"./src/app/program/hook/serve.ts\");\n/* harmony import */ var _status__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./status */ \"./src/app/program/store/status.ts\");\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./type */ \"./src/app/program/store/type.ts\");\n/* harmony import */ var _local__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./local */ \"./src/app/program/store/local.ts\");\n/* harmony import */ var _camrea__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./camrea */ \"./src/app/program/store/camrea.ts\");\n\n\n\n\n\n\n\n\nif (_hook_serve__WEBPACK_IMPORTED_MODULE_3__[\"isDev\"]) {\n _auth__WEBPACK_IMPORTED_MODULE_1__[\"info\"].value = {\n use: true,\n surplus: 5,\n keyId: '414633727927888304'\n };\n _local__WEBPACK_IMPORTED_MODULE_6__[\"paths\"].value = [{\n type: _local__WEBPACK_IMPORTED_MODULE_6__[\"PathTypeEnum\"].origin,\n id: 123123,\n path: \"C:/aa\"\n }];\n _camrea__WEBPACK_IMPORTED_MODULE_7__[\"cameraList\"].value.push({\n sn: 'string1',\n time: '2020-24-5',\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].kankan,\n count: 2\n }, {\n sn: 'string1',\n time: '2020-24-5',\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n count: 2\n });\n _scene__WEBPACK_IMPORTED_MODULE_2__[\"localScenesAll\"].value = [{\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].kankan,\n _id: 'pvt000005_202207131124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].COM,\n buildObjStatus: 0,\n mapping: 'profile',\n location: 3,\n cover: 'string',\n title: '高密度',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_20220629111534543260',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221307131124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].COM,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n location: 3,\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt0000025_2022107131124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n location: 3,\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221507131124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n location: 3,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071131124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n location: 3,\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071431124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n location: 3,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221073131124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n location: 3,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071311124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n location: 3,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071317124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n location: 3,\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071631124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n location: 3,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071351124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n location: 3,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071311424074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n location: 3,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071312124074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n location: 3,\n downURL: null\n }, {\n type: _type__WEBPACK_IMPORTED_MODULE_5__[\"TypeEnum\"].laser,\n _id: 'pvt000005_20221071311214074710',\n status: _scene__WEBPACK_IMPORTED_MODULE_2__[\"CalcEnum\"].ING,\n buildObjStatus: 0,\n mapping: 'profile',\n cover: 'string',\n title: '高密度2',\n isV4: true,\n sn: 'dvt600002',\n location: 3,\n fuseId: null,\n downIng: false,\n downIngV4: false,\n time: 'string',\n m: 'string',\n path: '/Users/bill/Desktop/test-l/pvt000005_202207131124074710',\n id: 'dvt600001_202206291115345432160',\n downStatus: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downStatusV4: _scene__WEBPACK_IMPORTED_MODULE_2__[\"DownEnum\"].INIT,\n downURL: null\n }];\n _status__WEBPACK_IMPORTED_MODULE_4__[\"javaState\"].value = _status__WEBPACK_IMPORTED_MODULE_4__[\"stateEnum\"].success;\n _status__WEBPACK_IMPORTED_MODULE_4__[\"calcStatus\"].count = 1;\n _status__WEBPACK_IMPORTED_MODULE_4__[\"calcStatus\"].progress = 50;\n _status__WEBPACK_IMPORTED_MODULE_4__[\"calcStatus\"].scene.locals.push(\"string\");\n _status__WEBPACK_IMPORTED_MODULE_4__[\"calcStatus\"].time = 13;\n _status__WEBPACK_IMPORTED_MODULE_4__[\"calcStatus\"].title = \"asdasd\";\n // watchAndDownScene()\n}\n// code.value = '2604E086BF60DD7F03426E8B167A0CAB05E217470C9CB2E95F3699816796FFAB2735CE1BA9CF5A4924B176C3170D5C1A16DAD5331F9FC3CDA3FF8E14DEDAB7F861A0AEE5E1C5D17497E067ACC9D2CC5EFE06E75CD444B46A7721E2462DD234EB9EECDD829C31166AD49CF05ED8D6619B'\n\n//# sourceURL=webpack:///./src/app/program/store/inject.ts?");
- /***/ }),
- /***/ "./src/app/program/store/local.ts":
- /*!****************************************!*\
- !*** ./src/app/program/store/local.ts ***!
- \****************************************/
- /*! exports provided: PathTypeEnum, paths, enablePaths, requestPaths, removePath, addPath, enablePathPercentage */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PathTypeEnum\", function() { return PathTypeEnum; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"paths\", function() { return paths; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enablePaths\", function() { return enablePaths; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"requestPaths\", function() { return requestPaths; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"removePath\", function() { return removePath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"addPath\", function() { return addPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enablePathPercentage\", function() { return enablePathPercentage; });\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"../../node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _app_program_hook__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/app/program/hook */ \"./src/app/program/hook/index.ts\");\n\n\nvar __assign = undefined && undefined.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = undefined && undefined.__generator || function (thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n};\n\n\nvar PathTypeEnum;\n(function (PathTypeEnum) {\n PathTypeEnum[PathTypeEnum[\"origin\"] = 1] = \"origin\";\n PathTypeEnum[PathTypeEnum[\"calc\"] = 2] = \"calc\";\n})(PathTypeEnum || (PathTypeEnum = {}));\nvar paths = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])([]);\nvar enableIds = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])([]);\nvar enablePaths = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"computed\"])(function () {\n return paths.value.filter(function (path) {\n return enableIds.value.includes(path.id);\n });\n});\nvar requestPaths = function () {\n return __awaiter(void 0, void 0, void 0, function () {\n var sPathsArray, rPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, Promise.all([Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"URL\"].getStoreList + PathTypeEnum.origin)), Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"URL\"].getStoreList + PathTypeEnum.calc))])];\n case 1:\n sPathsArray = _a.sent();\n enableIds.value = [];\n return [4 /*yield*/, Promise.all([Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"URL\"].getEnableStore + PathTypeEnum.origin)), Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"URL\"].getEnableStore + PathTypeEnum.calc))])];\n case 2:\n _a.sent().forEach(function (path) {\n path && enableIds.value.push(path.id);\n });\n rPaths = [];\n sPathsArray.forEach(function (sPaths) {\n sPaths.forEach(function (sPath) {\n rPaths.push(__assign(__assign({}, sPath), {\n path: sPath.dir\n }));\n });\n });\n paths.value = rPaths;\n return [2 /*return*/];\n }\n });\n });\n};\nvar removePath = function (path) {\n return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"URL\"].delStore + path.id)];\n case 1:\n _a.sent();\n return [4 /*yield*/, requestPaths()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n};\nvar addPath = function (path, type) {\n return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"URL\"].addStore, {\n type: type,\n dir: path\n })];\n case 1:\n _a.sent();\n return [4 /*yield*/, requestPaths()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n};\nvar enablePathPercentage = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])({});\nObject(vue__WEBPACK_IMPORTED_MODULE_2__[\"watch\"])(enablePaths, function (paths, _, onCleanup) {\n return __awaiter(void 0, void 0, void 0, function () {\n var timeout, stop, update;\n return __generator(this, function (_a) {\n stop = false;\n onCleanup(function () {\n clearTimeout(timeout);\n stop = true;\n });\n update = function () {\n return __awaiter(void 0, void 0, void 0, function () {\n var data, _i, paths_1, path, _a, _b, _c, _d, _e, _f;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0:\n data = {};\n if (!paths.length) return [3 /*break*/, 5];\n _i = 0, paths_1 = paths;\n _g.label = 1;\n case 1:\n if (!(_i < paths_1.length)) return [3 /*break*/, 4];\n path = paths_1[_i];\n _a = data;\n _b = path.id;\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"useInteractive\"])('checkDesk', path.path.substring(0, path.path.indexOf(\":\") + 1))];\n case 2:\n _a[_b] = _g.sent().percentage;\n _g.label = 3;\n case 3:\n _i++;\n return [3 /*break*/, 1];\n case 4:\n return [3 /*break*/, 8];\n case 5:\n _c = data;\n _d = PathTypeEnum.calc;\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"useInteractive\"])('checkDesk', _app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"profilePath\"].substring(0, _app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"profilePath\"].indexOf(\":\") + 1))];\n case 6:\n _c[_d] = _g.sent().percentage;\n _e = data;\n _f = PathTypeEnum.origin;\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"useInteractive\"])('checkDesk', _app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"buildModelPath\"].substring(0, _app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"buildModelPath\"].indexOf(\":\") + 1))];\n case 7:\n _e[_f] = _g.sent().percentage;\n _g.label = 8;\n case 8:\n enablePathPercentage.value = data;\n if (!stop) {\n timeout = setTimeout(update, 1000);\n }\n console.error(enablePathPercentage.value);\n return [2 /*return*/];\n }\n });\n });\n };\n update();\n return [2 /*return*/];\n });\n });\n}, {\n immediate: true\n});\n\n//# sourceURL=webpack:///./src/app/program/store/local.ts?");
- /***/ }),
- /***/ "./src/app/program/store/scene.ts":
- /*!****************************************!*\
- !*** ./src/app/program/store/scene.ts ***!
- \****************************************/
- /*! exports provided: Device, CalcEnum, SyncEnum, DownEnum, DownEnumDesc, usbScenesAll, localScenesAll, usbScenes, localScenes, setLocalScenes, isCalsIng, calcScenes, pauseCalcScene, deleteScenes, syncScenes, cancelSyncScenes, copyScene, calcObj, downScene, watchDownSuccess, watchAndDownScene */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Device\", function() { return Device; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CalcEnum\", function() { return CalcEnum; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SyncEnum\", function() { return SyncEnum; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DownEnum\", function() { return DownEnum; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DownEnumDesc\", function() { return DownEnumDesc; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"usbScenesAll\", function() { return usbScenesAll; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"localScenesAll\", function() { return localScenesAll; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"usbScenes\", function() { return usbScenes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"localScenes\", function() { return localScenes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setLocalScenes\", function() { return setLocalScenes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCalsIng\", function() { return isCalsIng; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calcScenes\", function() { return calcScenes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pauseCalcScene\", function() { return pauseCalcScene; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"deleteScenes\", function() { return deleteScenes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"syncScenes\", function() { return syncScenes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cancelSyncScenes\", function() { return cancelSyncScenes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"copyScene\", function() { return copyScene; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calcObj\", function() { return calcObj; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"downScene\", function() { return downScene; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"watchDownSuccess\", function() { return watchDownSuccess; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"watchAndDownScene\", function() { return watchAndDownScene; });\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"../../node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _status__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./status */ \"./src/app/program/store/status.ts\");\n/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./auth */ \"./src/app/program/store/auth.ts\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils */ \"./src/utils/index.ts\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ant-design-vue */ \"../../node_modules/ant-design-vue/es/index.js\");\n/* harmony import */ var _app_program_hook__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/app/program/hook */ \"./src/app/program/hook/index.ts\");\n/* harmony import */ var _store_app__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/store/app */ \"./src/store/app.ts\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./type */ \"./src/app/program/store/type.ts\");\n/* harmony import */ var _camrea__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./camrea */ \"./src/app/program/store/camrea.ts\");\n\n\nvar __assign = undefined && undefined.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = undefined && undefined.__generator || function (thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n};\nvar _a;\n\n\n\n\n\n\n\n\n\n\n\nvar Device;\n(function (Device) {\n Device[Device[\"USB\"] = 0] = \"USB\";\n Device[Device[\"LOCAL\"] = 1] = \"LOCAL\";\n})(Device || (Device = {}));\nvar CalcEnum;\n(function (CalcEnum) {\n CalcEnum[CalcEnum[\"ING\"] = 0] = \"ING\";\n CalcEnum[CalcEnum[\"ERR\"] = 1] = \"ERR\";\n CalcEnum[CalcEnum[\"COM\"] = 2] = \"COM\";\n CalcEnum[CalcEnum[\"UN\"] = 3] = \"UN\";\n CalcEnum[CalcEnum[\"PAUSE\"] = 5] = \"PAUSE\";\n CalcEnum[CalcEnum[\"COPY\"] = 7] = \"COPY\";\n CalcEnum[CalcEnum[\"LINEUP\"] = 6] = \"LINEUP\";\n})(CalcEnum || (CalcEnum = {}));\nvar SyncEnum;\n(function (SyncEnum) {\n SyncEnum[SyncEnum[\"ING\"] = 0] = \"ING\";\n SyncEnum[SyncEnum[\"ERR\"] = 1] = \"ERR\";\n SyncEnum[SyncEnum[\"COM\"] = 2] = \"COM\";\n SyncEnum[SyncEnum[\"UN\"] = 3] = \"UN\";\n})(SyncEnum || (SyncEnum = {}));\nvar DownEnum;\n(function (DownEnum) {\n DownEnum[DownEnum[\"ING\"] = 0] = \"ING\";\n DownEnum[DownEnum[\"INIT\"] = 1] = \"INIT\";\n DownEnum[DownEnum[\"SCUESS\"] = 2] = \"SCUESS\";\n DownEnum[DownEnum[\"RESET\"] = 3] = \"RESET\"; // 重新生成\n})(DownEnum || (DownEnum = {}));\nvar DownEnumDesc = (_a = {}, _a[DownEnum.ING] = _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.sceneDown.ing\"), _a[DownEnum.INIT] = _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.sceneDown.init\"), _a[DownEnum.SCUESS] = _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.sceneDown.success\"), _a[DownEnum.RESET] = _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.sceneDown.reset\"), _a);\nvar usbScenesAll = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])([]);\nvar localScenesAll = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])([]);\nvar usbScenes = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"computed\"])(function () {\n return usbScenesAll.value.filter(function (scene) {\n return !_status__WEBPACK_IMPORTED_MODULE_3__[\"syncStatus\"].scene.usbs.includes(scene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]]);\n }).filter(function (scene) {\n return _camrea__WEBPACK_IMPORTED_MODULE_11__[\"cameraList\"].value.some(function (item) {\n return item.sn.toUpperCase().trim() === scene.sn.toUpperCase().trim();\n });\n }).map(function (scene) {\n var isSyncIng = _status__WEBPACK_IMPORTED_MODULE_3__[\"syncStatus\"].scene.locals.includes(scene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]]);\n var isSyncEnd = isSyncIng || localScenesAll.value.some(function (qscene) {\n return qscene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]] === scene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]];\n });\n return __assign(__assign({}, scene), {\n syncStatus: isSyncIng ? SyncEnum.ING : isSyncEnd ? SyncEnum.COM : SyncEnum.UN\n });\n });\n});\nvar localScenes = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"computed\"])(function () {\n return localScenesAll.value.filter(function (scene) {\n return !_status__WEBPACK_IMPORTED_MODULE_3__[\"syncStatus\"].scene.locals.includes(scene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]]);\n }).map(function (scene) {\n var isSyncIng = _status__WEBPACK_IMPORTED_MODULE_3__[\"syncStatus\"].scene.usbs.includes(scene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]]);\n var isSyncEnd = isSyncIng || usbScenesAll.value.some(function (qscene) {\n return qscene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]] === scene[_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"sceneKey\"]];\n });\n return __assign(__assign({}, scene), {\n syncStatus: isSyncIng ? SyncEnum.ING : isSyncEnd ? SyncEnum.COM : SyncEnum.UN\n });\n });\n});\nvar time;\nvar setLocalScenes = function () {\n return __awaiter(void 0, void 0, void 0, function () {\n var slocals, newScenes, repScenes, _loop_1, i;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n clearTimeout(time);\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].getLocalScenes, {}), false)];\n case 1:\n slocals = _a.sent();\n newScenes = slocals.map(function (item) {\n return __assign(__assign({}, item), {\n id: item.unicode,\n _id: item.id,\n m: item.sceneCode,\n fuseId: item.fusionId,\n time: item.shootTime,\n mapping: item.mapping,\n sn: item.snCode,\n cover: item.thumb + '?time=' + Date.now(),\n title: item.sceneName,\n downStatus: DownEnum.INIT,\n downStatusV4: DownEnum.INIT,\n downIng: item.offlineStatus === 1,\n downIngV4: item.v4OfflineStatus === 1,\n buildObjStatus: item.buildObjStatus,\n type: 4 === item.sceneSource ? _type__WEBPACK_IMPORTED_MODULE_10__[\"TypeEnum\"].laser : 5 === item.sceneSource ? _type__WEBPACK_IMPORTED_MODULE_10__[\"TypeEnum\"].shenguang : _type__WEBPACK_IMPORTED_MODULE_10__[\"TypeEnum\"].kankan,\n downURL: null,\n status: [CalcEnum.COM, CalcEnum.ERR, CalcEnum.ING, CalcEnum.LINEUP, CalcEnum.COPY, CalcEnum.PAUSE].includes(item.status) ? item.status : CalcEnum.UN\n });\n });\n repScenes = [];\n _loop_1 = function (i) {\n var scene = localScenesAll.value.find(function (scene) {\n return scene._id === newScenes[i]._id;\n });\n repScenes[i] = scene ? Object.assign(scene, newScenes[i]) : newScenes[i];\n };\n for (i = 0; i < newScenes.length; i++) {\n _loop_1(i);\n }\n localScenesAll.value = repScenes;\n time = setTimeout(setLocalScenes, 3000);\n return [2 /*return*/];\n }\n });\n });\n};\nvar isCalsIng = function (data) {\n return data.status === CalcEnum.ING || data.status === CalcEnum.LINEUP;\n};\nObject(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useSubscribe\"])('localSceneChange', setLocalScenes);\nObject(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useImmedSubscribe\"])('USBScenes', function (data) {\n usbScenesAll.value = data.sort(function (a, b) {\n return b.time - a.time;\n }).map(function (item) {\n return __assign(__assign({}, item), {\n time: Object(_utils__WEBPACK_IMPORTED_MODULE_5__[\"formatDate\"])(new Date(item.time), 'yyyy-MM-dd')\n });\n });\n});\nvar getIds = function (scenes) {\n return scenes.map(function (item) {\n return item._id;\n });\n};\nvar calcScenes = function (scenes, isRebuild) {\n if (isRebuild === void 0) {\n isRebuild = false;\n }\n return __awaiter(void 0, void 0, void 0, function () {\n var _i, scenes_1, scene, free, _a, data;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!Object(_auth__WEBPACK_IMPORTED_MODULE_4__[\"authTip\"])()) return [3 /*break*/, 8];\n _i = 0, scenes_1 = scenes;\n _b.label = 1;\n case 1:\n if (!(_i < scenes_1.length)) return [3 /*break*/, 6];\n scene = scenes_1[_i];\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useInteractive\"])('checkDesk', scene.path.substring(0, scene.path.indexOf(\":\") + 1))];\n case 2:\n free = _b.sent().free;\n _a = free < 30 * 1024 * 1024 * 1024;\n if (!_a) return [3 /*break*/, 4];\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useConfirm\"])(_lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.errMsg.calcFree\"), _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t('program.jxcalc'), _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t('sys.cancel'))];\n case 3:\n _a = !_b.sent();\n _b.label = 4;\n case 4:\n // 最少要30g空间\n if (_a) {\n return [2 /*return*/];\n }\n _b.label = 5;\n case 5:\n _i++;\n return [3 /*break*/, 1];\n case 6:\n data = {\n ids: getIds(scenes),\n started: true,\n isRebuild: isRebuild\n };\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].buildScene, data))];\n case 7:\n _b.sent();\n setLocalScenes();\n _b.label = 8;\n case 8:\n return [2 /*return*/];\n }\n });\n });\n};\nvar pauseCalcScene = function (scenes, isKK) {\n if (isKK === void 0) {\n isKK = false;\n }\n return __awaiter(void 0, void 0, void 0, function () {\n var data;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n data = isKK ? {\n id: scenes[0]._id,\n started: false\n } : {\n ids: getIds(scenes),\n started: false\n };\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(isKK ? _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].calcObject : _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].buildScene, data))];\n case 1:\n _a.sent();\n setLocalScenes();\n return [2 /*return*/];\n }\n });\n });\n};\nvar deleteScenes = function (scenes, device, isObj, isKK) {\n if (isObj === void 0) {\n isObj = false;\n }\n if (isKK === void 0) {\n isKK = false;\n }\n return __awaiter(void 0, void 0, void 0, function () {\n var target;\n return __generator(this, function (_a) {\n target = device === Device.USB ? 'USB' : 'Local';\n return [2 /*return*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useInteractive\"])(\"delete\".concat(target), JSON.stringify({\n scenes: scenes,\n isObj: isObj,\n isKK: isKK\n }))];\n });\n });\n};\nvar syncScenes = function (scenes, device) {\n return __awaiter(void 0, void 0, void 0, function () {\n var addScenes, all, target;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n addScenes = [];\n all = scenes.map(function (item) {\n return Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].checkAddLocalScene, {\n \"path\": item.path,\n \"snCode\": item.sn,\n \"title\": item.title,\n \"unicode\": item.id\n })).then(function () {\n return addScenes.push(item);\n }).catch(function () {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"message\"].error(\"\".concat(item.title).concat(_lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.errMsg.calcSync\")));\n });\n });\n return [4 /*yield*/, Promise.all(all)];\n case 1:\n _a.sent();\n target = device === Device.USB ? 'USB' : 'Local';\n return [2 /*return*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useInteractive\"])(\"sync\".concat(target), JSON.stringify(addScenes))];\n }\n });\n });\n};\nvar cancelSyncScenes = function (scenes, device) {\n var eventName = device === Device.USB ? 'quitSyncUSB' : 'quitSyncLocal';\n return Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useInteractive\"])(eventName, JSON.stringify(scenes));\n};\nvar copyScene = function (scene) {\n return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(\"\".concat(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].copyScene, \"/\").concat(scene.m, \"/copyScene\"))];\n case 1:\n _a.sent();\n setLocalScenes();\n return [2 /*return*/];\n }\n });\n });\n};\nvar calcObj = function (scene) {\n return __awaiter(void 0, void 0, void 0, function () {\n var resd, _a, lscene, res;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].getVersion + scene.m)];\n case 1:\n resd = _b.sent();\n _a = resd.data.data.ver;\n if (!_a) return [3 /*break*/, 3];\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useConfirm\"])(_lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.scene.calcTip\"))];\n case 2:\n _a = !_b.sent();\n _b.label = 3;\n case 3:\n if (_a) {\n return [2 /*return*/];\n }\n lscene = localScenesAll.value.find(function (s) {\n return s._id === scene._id;\n });\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].calcObject, {\n id: scene._id,\n started: true\n })];\n case 4:\n res = _b.sent();\n if (![8010, 8011].includes(res.data.code)) return [3 /*break*/, 6];\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useConfirm\"])(_lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.errMsg.resetGen\"))];\n case 5:\n if (_b.sent()) {\n calcScenes([scene], true);\n }\n return [3 /*break*/, 7];\n case 6:\n if (res.data.code === 200) {\n lscene.buildObjStatus = 2;\n Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useAlert\"])(_lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.errMsg.genObjTip\"));\n } else {\n ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"message\"].error(res.data.msg);\n }\n _b.label = 7;\n case 7:\n return [2 /*return*/];\n }\n });\n });\n};\nvar downScene = function (scene, isObj) {\n if (isObj === void 0) {\n isObj = false;\n }\n return __awaiter(void 0, void 0, void 0, function () {\n var lscene, check, _a, res, _b;\n var _c, _d;\n return __generator(this, function (_e) {\n switch (_e.label) {\n case 0:\n console.log(\"下载obj\", isObj);\n lscene = localScenesAll.value.find(function (s) {\n return s._id === scene._id;\n });\n if (!isObj) return [3 /*break*/, 2];\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].get(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downLaserCheckSceneV4, {\n params: {\n sceneCode: scene.m,\n lang: _lang__WEBPACK_IMPORTED_MODULE_9__[\"lang\"]\n }\n })];\n case 1:\n _a = _e.sent();\n return [3 /*break*/, 4];\n case 2:\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downLaserCheckScene, {\n sceneCode: scene.m,\n lang: _lang__WEBPACK_IMPORTED_MODULE_9__[\"lang\"]\n })];\n case 3:\n _a = _e.sent();\n _e.label = 4;\n case 4:\n check = _a;\n if (!(((_d = (_c = check.data) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.status) !== 2 && _status__WEBPACK_IMPORTED_MODULE_3__[\"calcStatus\"].count > 0)) return [3 /*break*/, 6];\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useConfirm\"])(_lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.errMsg.repeatGen\"), _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t('program.continueDown'), _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t('sys.cancel'))];\n case 5:\n if (!_e.sent()) {\n return [2 /*return*/];\n }\n _e.label = 6;\n case 6:\n if (!isObj) return [3 /*break*/, 8];\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].get(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downLaserSceneV4, {\n params: {\n sceneCode: scene.m,\n lang: _lang__WEBPACK_IMPORTED_MODULE_9__[\"lang\"]\n }\n })];\n case 7:\n _b = _e.sent();\n return [3 /*break*/, 10];\n case 8:\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downLaserScene, {\n sceneCode: scene.m,\n lang: _lang__WEBPACK_IMPORTED_MODULE_9__[\"lang\"]\n })];\n case 9:\n _b = _e.sent();\n _e.label = 10;\n case 10:\n res = _b;\n if (![8008, 8009].includes(res.data.code)) return [3 /*break*/, 12];\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useConfirm\"])(_lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.errMsg.resetGen\"))];\n case 11:\n if (_e.sent()) {\n calcScenes([scene], true);\n }\n return [3 /*break*/, 13];\n case 12:\n if (isObj) {\n lscene.downIngV4 = true;\n } else {\n lscene.downIng = true;\n }\n _e.label = 13;\n case 13:\n Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useSend\"])(\"forwa\", 1);\n return [2 /*return*/];\n }\n });\n });\n};\nObject(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useSubscribe\"])('forwa', function (type) {\n return type === 1 && setLocalScenes();\n});\nvar watchDownSuccess = function () {\n Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"watch\"])(function () {\n return localScenesAll.value.map(function (data) {\n return __assign({}, data);\n });\n }, function (newv, oldv) {\n var str = newv.filter(function (v) {\n var ov = oldv.find(function (ov) {\n return v._id === ov._id;\n });\n return ov && (ov.downIng && !v.downIng || ov.downIngV4 && !v.downIngV4);\n }).map(function (v) {\n return v.title;\n }).join(\",\");\n if (str) {\n Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"useAlert\"])(str + _lang__WEBPACK_IMPORTED_MODULE_9__[\"ui18n\"].t(\"program.sceneDown.downSuccess\"));\n }\n });\n};\nvar invalidCharsPattern = /[\\\\/:*?\"<>|]/g;\nvar downScenes = [];\nvar watchAndDownScene = function () {\n Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"watch\"])(function () {\n return localScenesAll.value.filter(function (scene) {\n return (scene.downIng || scene.downIngV4) && !downScenes.includes(scene);\n });\n }, function (scenes) {\n return __awaiter(void 0, void 0, void 0, function () {\n var timeout, updateScenes;\n return __generator(this, function (_a) {\n updateScenes = function (scenes, isObj) {\n if (isObj === void 0) {\n isObj = false;\n }\n return __awaiter(void 0, void 0, void 0, function () {\n var downStatus, i, down, e_1, index;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, Promise.all(scenes.map(function (scene) {\n return isObj ? _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].get(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downStepSceneV4, {\n params: {\n sceneCode: scene.m\n }\n }) : _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downStepScene, {\n sceneCode: scene.m\n });\n }))];\n case 1:\n downStatus = _a.sent();\n i = 0;\n _a.label = 2;\n case 2:\n if (!(i < downStatus.length)) return [3 /*break*/, 14];\n down = downStatus[i];\n if (!(down.status === 200 && down.data.data)) return [3 /*break*/, 12];\n console.log(\"下载请求结果:\" + down.data.data);\n if (!down.data.data.url) return [3 /*break*/, 11];\n downScenes.push(scenes[i]);\n _a.label = 3;\n case 3:\n _a.trys.push([3, 5,, 6]);\n return [4 /*yield*/, Object(_utils__WEBPACK_IMPORTED_MODULE_5__[\"saveAs\"])(Object(_store_app__WEBPACK_IMPORTED_MODULE_8__[\"getResources\"])(down.data.data.url), scenes[i].title.replace(invalidCharsPattern, ' ') + \".zip\")];\n case 4:\n _a.sent();\n console.log(\"下载完成 开始上报:\");\n return [3 /*break*/, 6];\n case 5:\n e_1 = _a.sent();\n console.log(\"下载取消 开始上报:\");\n return [3 /*break*/, 6];\n case 6:\n if (!isObj) return [3 /*break*/, 8];\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].get(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downSuccessSceneV4, {\n params: {\n sceneCode: scenes[i].m\n }\n })];\n case 7:\n _a.sent();\n return [3 /*break*/, 10];\n case 8:\n return [4 /*yield*/, _app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_7__[\"URL\"].downSuccessScene, {\n sceneCode: scenes[i].m\n })];\n case 9:\n _a.sent();\n _a.label = 10;\n case 10:\n console.log(\"上报完成\");\n index = downScenes.indexOf(scenes[i]);\n if (~index) {\n downScenes.splice(index, 1);\n }\n _a.label = 11;\n case 11:\n return [3 /*break*/, 13];\n case 12:\n clearTimeout(timeout);\n timeout = setTimeout(function () {\n setLocalScenes();\n }, 1000);\n _a.label = 13;\n case 13:\n i++;\n return [3 /*break*/, 2];\n case 14:\n return [2 /*return*/];\n }\n });\n });\n };\n updateScenes(scenes.filter(function (scene) {\n return scene.downIng;\n }), false);\n updateScenes(scenes.filter(function (scene) {\n return scene.downIngV4;\n }), true);\n return [2 /*return*/];\n });\n });\n });\n};\n\n//# sourceURL=webpack:///./src/app/program/store/scene.ts?");
- /***/ }),
- /***/ "./src/app/program/store/status.ts":
- /*!*****************************************!*\
- !*** ./src/app/program/store/status.ts ***!
- \*****************************************/
- /*! exports provided: syncStatus, syncDesc, calcStatus, setCalcStatus, framtTime, javaState, stateEnum */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"syncStatus\", function() { return syncStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"syncDesc\", function() { return syncDesc; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calcStatus\", function() { return calcStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setCalcStatus\", function() { return setCalcStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"framtTime\", function() { return framtTime; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"javaState\", function() { return javaState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"stateEnum\", function() { return stateEnum; });\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ \"../../node_modules/core-js/modules/es.error.cause.js\");\n/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"../../node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"../../node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _app_program_hook__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/app/program/hook */ \"./src/app/program/hook/index.ts\");\n/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./auth */ \"./src/app/program/store/auth.ts\");\n/* harmony import */ var _camrea__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./camrea */ \"./src/app/program/store/camrea.ts\");\n/* harmony import */ var _scene__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./scene */ \"./src/app/program/store/scene.ts\");\n/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/lang */ \"./src/lang/index.ts\");\n/* harmony import */ var _local__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./local */ \"./src/app/program/store/local.ts\");\n/* harmony import */ var _cameraAuth__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./cameraAuth */ \"./src/app/program/store/cameraAuth.ts\");\n\n\nvar __assign = undefined && undefined.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = undefined && undefined.__generator || function (thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n};\n\n\n\n\n\n\n\n\nvar syncStatus = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"reactive\"])({\n count: 0,\n time: 0,\n title: '',\n scene: {\n locals: [],\n usbs: [],\n copysLen: 0,\n unzipLen: 0,\n zipLen: 0\n },\n progress: 0,\n snCodes: []\n});\nvar syncDesc = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"computed\"])(function () {\n var descs = [];\n if (syncStatus.scene.copysLen) {\n descs.push(\"\".concat(_lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t(\"program.syncStatus.copy\")).concat(syncStatus.scene.copysLen));\n }\n if (syncStatus.scene.unzipLen) {\n descs.push(\"\".concat(_lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t(\"program.syncStatus.unzip\")).concat(syncStatus.scene.unzipLen));\n }\n if (syncStatus.scene.zipLen) {\n descs.push(\"\".concat(_lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t(\"program.syncStatus.zip\")).concat(syncStatus.scene.zipLen));\n }\n if (descs.length) {\n return \"\\uFF08\".concat(descs.join('、'), \"\\uFF09\");\n } else {\n return '';\n }\n});\nvar calcStatus = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"reactive\"])(__assign({}, syncStatus));\nObject(vue__WEBPACK_IMPORTED_MODULE_2__[\"watch\"])(function () {\n return calcStatus.count;\n}, function (ncount, oldcount) {\n if (ncount !== oldcount) {\n Object(_scene__WEBPACK_IMPORTED_MODULE_6__[\"setLocalScenes\"])();\n }\n});\nvar setCalcStatus = function () {\n return __awaiter(void 0, void 0, void 0, function () {\n var sstatus;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"analysis\"])(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"axios\"].post(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"URL\"].getBuildStatus, {}), false)];\n case 1:\n sstatus = _a.sent();\n Object.assign(calcStatus, __assign(__assign({}, sstatus), {\n scene: {\n locals: sstatus.unicode\n }\n }));\n return [2 /*return*/];\n }\n });\n });\n};\nvar framtTime = function (time) {\n var mis = time / 1000;\n if (mis > 60) {\n return (parseInt((mis / 60).toFixed(2)) || 1) + _lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t(\"program.time.minute\");\n } else {\n return (parseInt(mis.toFixed(2)) || 1) + _lang__WEBPACK_IMPORTED_MODULE_7__[\"ui18n\"].t(\"program.time.mis\");\n }\n};\nvar javaState = Object(vue__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])('0');\nvar stateEnum;\n(function (stateEnum) {\n stateEnum[\"success\"] = \"11\";\n})(stateEnum || (stateEnum = {}));\nObject(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"useImmedSubscribe\"])('USBSnCode', function (snCodes) {\n return syncStatus.snCodes = snCodes;\n});\nObject(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"useImmedSubscribe\"])('stateChange', function (state) {\n console.error('stateChange', state === stateEnum.success);\n javaState.value = state;\n});\nObject(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"useImmedSubscribe\"])('syncStatus', function (subStatus) {\n Object.assign(syncStatus, subStatus);\n});\nvar stopPollings = [];\nObject(vue__WEBPACK_IMPORTED_MODULE_2__[\"watchEffect\"])(function () {\n if (javaState.value === stateEnum.success) {\n stopPollings.push(Object(_app_program_hook__WEBPACK_IMPORTED_MODULE_3__[\"usePolling\"])(setCalcStatus, 1000));\n console.log('????');\n Object(_auth__WEBPACK_IMPORTED_MODULE_4__[\"getAuth\"])();\n Object(_camrea__WEBPACK_IMPORTED_MODULE_5__[\"setCameraList\"])();\n Object(_scene__WEBPACK_IMPORTED_MODULE_6__[\"setLocalScenes\"])();\n Object(_local__WEBPACK_IMPORTED_MODULE_8__[\"requestPaths\"])();\n Object(_cameraAuth__WEBPACK_IMPORTED_MODULE_9__[\"requestAuthCode\"])();\n } else {\n stopPollings.forEach(function (stop) {\n return stop();\n });\n }\n});\n\n//# sourceURL=webpack:///./src/app/program/store/status.ts?");
- /***/ }),
- /***/ "./src/app/program/store/type.ts":
- /*!***************************************!*\
- !*** ./src/app/program/store/type.ts ***!
- \***************************************/
- /*! exports provided: TypeEnum */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TypeEnum\", function() { return TypeEnum; });\nvar TypeEnum;\n(function (TypeEnum) {\n TypeEnum[TypeEnum[\"laser\"] = 0] = \"laser\";\n TypeEnum[TypeEnum[\"kankan\"] = 1] = \"kankan\";\n TypeEnum[TypeEnum[\"shenguang\"] = 2] = \"shenguang\";\n})(TypeEnum || (TypeEnum = {}));\n\n//# sourceURL=webpack:///./src/app/program/store/type.ts?");
- /***/ }),
- /***/ "./src/assets/images/favicon.ico":
- /*!***************************************!*\
- !*** ./src/assets/images/favicon.ico ***!
- \***************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- eval("module.exports = __webpack_require__.p + \"40c075377833c557f8d1857814f28bb8.ico\";\n\n//# sourceURL=webpack:///./src/assets/images/favicon.ico?");
- /***/ }),
- /***/ 7:
- /*!***************************************!*\
- !*** multi ./src/app/program/main.ts ***!
- \***************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- eval("module.exports = __webpack_require__(/*! /Users/bill/word/4dkankan_v4/packages/kankan-laser/src/app/program/main.ts */\"./src/app/program/main.ts\");\n\n\n//# sourceURL=webpack:///multi_./src/app/program/main.ts?");
- /***/ })
- /******/ });
|