From cb54ef1694d687d47affaf7c0cef594d97f787bd Mon Sep 17 00:00:00 2001 From: Yohann0617 <852221040@qq.com> Date: Sat, 4 Jan 2025 21:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BC=95=E5=AF=BC=E5=8D=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BF=AE=E6=94=B9=E5=BC=95=E5=AF=BC=E5=8D=B7?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=9B=E4=BC=98=E5=8C=96ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/dist/index.html | 2 +- src/main/resources/dist/js/app.49457c17.js | 2 ++ src/main/resources/dist/js/app.49457c17.js.map | 1 + src/main/resources/dist/js/app.d36914dd.js | 2 -- src/main/resources/dist/js/app.d36914dd.js.map | 1 - 5 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/dist/js/app.49457c17.js create mode 100644 src/main/resources/dist/js/app.49457c17.js.map delete mode 100644 src/main/resources/dist/js/app.d36914dd.js delete mode 100644 src/main/resources/dist/js/app.d36914dd.js.map diff --git a/src/main/resources/dist/index.html b/src/main/resources/dist/index.html index d5c9949..eab3bff 100644 --- a/src/main/resources/dist/index.html +++ b/src/main/resources/dist/index.html @@ -1 +1 @@ -oci-helper
\ No newline at end of file +oci-helper
\ No newline at end of file diff --git a/src/main/resources/dist/js/app.49457c17.js b/src/main/resources/dist/js/app.49457c17.js new file mode 100644 index 0000000..40d6187 --- /dev/null +++ b/src/main/resources/dist/js/app.49457c17.js @@ -0,0 +1,2 @@ +(function(){"use strict";var e={5395:function(e,n,t){var o=t(5130),r=t(6768);const i={id:"app"};function a(e,n,t,o,a,c){const u=(0,r.g2)("router-view");return(0,r.uX)(),(0,r.CE)("div",i,[(0,r.bF)(u)])}var c={components:{}},u=t(1241);const s=(0,u.A)(c,[["render",a]]);var f=s,d=(t(8992),t(7550),t(1387));const l=[{path:"/",redirect:"/login"},{path:"/login",component:()=>t.e(362).then(t.bind(t,7362))},{path:"/dashboard",component:()=>t.e(820).then(t.bind(t,7820)),meta:{requiresAuth:!0},children:[{path:"",component:()=>Promise.all([t.e(318),t.e(841)]).then(t.bind(t,7318))},{path:"home",component:()=>Promise.all([t.e(318),t.e(841)]).then(t.bind(t,7318))},{path:"user",component:()=>t.e(214).then(t.bind(t,2214))},{path:"createTask",component:()=>t.e(641).then(t.bind(t,5641))},{path:"ociLog",component:()=>t.e(180).then(t.bind(t,8180))},{path:"sysCfg",component:()=>t.e(656).then(t.bind(t,4656))},{path:"createInstance",component:()=>t.e(77).then(t.bind(t,2077))},{path:"OciCfgTab",component:()=>t.e(744).then(t.bind(t,5744))},{path:"ociUpdateInstanceCfg",component:()=>t.e(56).then(t.bind(t,6056))},{path:"ociCreateInstanceBatch",component:()=>t.e(236).then(t.bind(t,9236))}]}],p=(0,d.aE)({history:(0,d.LA)(),routes:l});p.beforeEach(((e,n,t)=>{const o=sessionStorage.getItem("token");e.matched.some((e=>e.meta.requiresAuth))&&!o?t("/login"):(window.ws&&(console.log("Closing existing WebSocket connection before route change."),window.ws.close(),window.ws=null),t())}));var h=p,m=t(9601),b=(t(4188),t(7477)),g=t(4373);g.A.defaults.baseURL=window.location.origin+"/api",g.A.interceptors.request.use((e=>{const n=sessionStorage.getItem("token");return n&&(e.headers.Authorization=`Bearer ${n}`),e}),(e=>Promise.reject(e))),g.A.interceptors.response.use((e=>e),(e=>(e.response&&401===e.response.status&&(sessionStorage.removeItem("token"),window.location.href="/login"),Promise.reject(e))));const v=(0,o.Ef)(f);v.use(h),v.use(m.A);for(const[w,y]of Object.entries(b))v.component(w,y);v.config.globalProperties.$axios=g.A,v.mount("#app")}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={exports:{}};return e[o].call(i.exports,i,i.exports,t),i.exports}t.m=e,function(){var e=[];t.O=function(n,o,r,i){if(!o){var a=1/0;for(f=0;f=i)&&Object.keys(t.O).every((function(e){return t.O[e](o[u])}))?o.splice(u--,1):(c=!1,i0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[o,r,i]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce((function(n,o){return t.f[o](e,n),n}),[]))}}(),function(){t.u=function(e){return"js/"+e+"."+{56:"37b76635",77:"dc20ccb8",180:"af64182d",214:"c4eae7c0",236:"073d1935",318:"574912a9",362:"6a5f365b",641:"c46482c5",656:"aefe9ac7",744:"3d5ed331",820:"a6873ba1"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{56:"40ec08f4",180:"52278363",214:"54f09ad0",362:"8ef4ec97",656:"a422cfd8",744:"4f8bad3d",820:"b9644d11",841:"e3b1dc5a"}[e]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="oci-help-web:";t.l=function(o,r,i,a){if(e[o])e[o].push(r);else{var c,u;if(void 0!==i)for(var s=document.getElementsByTagName("script"),f=0;f\n
\n \n
\n\n\n\n","import { render } from \"./App.vue?vue&type=template&id=78341096\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {createRouter, createWebHistory} from 'vue-router';\r\n\r\nconst routes = [\r\n {path: '/', redirect: '/login'},\r\n {path: '/login', component: () => import('@/components/login/UserLogin')},\r\n {\r\n path: '/dashboard',\r\n component: () => import('@/components/home/UserDashboard'),\r\n meta: {requiresAuth: true},\r\n children: [\r\n {path: '', component: () => import('@/components/home/OciHome')}, // 默认页面\r\n {path: 'home', component: () => import('@/components/home/OciHome')},\r\n {path: 'user', component: () => import('@/components/ociuser/OciUser')},\r\n {path: \"createTask\", component: () => import('@/components/task/OciCreateTask')},\r\n {path: \"ociLog\", component: () => import('@/components/log/OciLog')},\r\n {path: \"sysCfg\", component: () => import('@/components/syscfg/OciSysCfg')},\r\n {path: 'createInstance', component: () => import('@/components/instance/OciCreateInstance')},\r\n {path: 'OciCfgTab', component: () => import('@/components/ociuser/OciCfgTab')},\r\n {path: 'ociUpdateInstanceCfg', component: () => import('@/components/instance/OciUpdateInstanceCfg')},\r\n {path: \"ociCreateInstanceBatch\", component: () => import('@/components/instance/OciCreateInstanceBatch')},\r\n ]\r\n },\r\n];\r\n\r\nconst router = createRouter({\r\n history: createWebHistory(),\r\n routes\r\n});\r\n\r\n// 路由守卫 - 全局拦截\r\nrouter.beforeEach((to, from, next) => {\r\n const isAuthenticated = sessionStorage.getItem('token');\r\n\r\n if (to.matched.some(record => record.meta.requiresAuth) && !isAuthenticated) {\r\n // 如果页面需要登录且用户未登录,重定向到登录页\r\n next('/login');\r\n } else {\r\n if (window.ws) {\r\n console.log('Closing existing WebSocket connection before route change.');\r\n window.ws.close();\r\n window.ws = null;\r\n }\r\n next(); // 允许进入页面\r\n }\r\n});\r\n\r\nexport default router;\r\n","import {createApp} from 'vue';\r\nimport App from './App.vue';\r\nimport router from './router';\r\nimport ElementPlus from 'element-plus';\r\nimport 'element-plus/dist/index.css';\r\nimport * as ElIcons from '@element-plus/icons-vue';\r\nimport axios from 'axios'\r\n\r\n// 设置基础URL\r\naxios.defaults.baseURL = window.location.origin + '/api'\r\n// axios.defaults.baseURL = 'http://127.0.0.1:8818/api'\r\n\r\n// 配置请求拦截器\r\naxios.interceptors.request.use(\r\n config => {\r\n // 获取 token(假设 token 存储在 localStorage 中)\r\n const token = sessionStorage.getItem('token');\r\n\r\n // 如果 token 存在,将它添加到请求头中\r\n if (token) {\r\n config.headers.Authorization = `Bearer ${token}`;\r\n }\r\n\r\n // 在发送请求前返回配置\r\n return config;\r\n },\r\n error => Promise.reject(error)\r\n);\r\n\r\n// 配置响应拦截器\r\naxios.interceptors.response.use(\r\n response => response,\r\n error => {\r\n if (error.response && error.response.status === 401) {\r\n // 清除 token(可选)\r\n sessionStorage.removeItem('token');\r\n // 跳转到登录页\r\n window.location.href = '/login'; // 或者使用 Vue Router: this.$router.push('/login')\r\n }\r\n // 可以在这里进行错误处理\r\n return Promise.reject(error)\r\n }\r\n)\r\n\r\nconst app = createApp(App);\r\napp.use(router);\r\napp.use(ElementPlus);\r\n// 全局注册所有图标\r\nfor (const [key, component] of Object.entries(ElIcons)) {\r\n app.component(key, component)\r\n}\r\napp.config.globalProperties.$axios = axios // 将axios挂载到全局属性中\r\napp.mount('#app');\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"56\":\"37b76635\",\"77\":\"dc20ccb8\",\"180\":\"af64182d\",\"214\":\"c4eae7c0\",\"236\":\"073d1935\",\"318\":\"574912a9\",\"362\":\"6a5f365b\",\"641\":\"c46482c5\",\"656\":\"aefe9ac7\",\"744\":\"3d5ed331\",\"820\":\"a6873ba1\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"56\":\"40ec08f4\",\"180\":\"52278363\",\"214\":\"54f09ad0\",\"362\":\"8ef4ec97\",\"656\":\"a422cfd8\",\"744\":\"4f8bad3d\",\"820\":\"b9644d11\",\"841\":\"e3b1dc5a\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"oci-help-web:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"56\":1,\"180\":1,\"214\":1,\"362\":1,\"656\":1,\"744\":1,\"820\":1,\"841\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(841 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkoci_help_web\"] = self[\"webpackChunkoci_help_web\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(5395); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["id","_createElementBlock","_hoisted_1","_createVNode","_component_router_view","components","__exports__","render","routes","path","redirect","component","meta","requiresAuth","children","router","createRouter","history","createWebHistory","beforeEach","to","from","next","isAuthenticated","sessionStorage","getItem","matched","some","record","window","ws","console","log","close","axios","defaults","baseURL","location","origin","interceptors","request","use","config","token","headers","Authorization","error","Promise","reject","response","status","removeItem","href","app","createApp","App","ElementPlus","key","Object","entries","ElIcons","globalProperties","$axios","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","this","Function","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","p","createStylesheet","fullhref","oldTag","resolve","linkTag","rel","nonce","onLinkComplete","errorType","realHref","err","Error","name","code","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","then","installedChunks","installedChunkData","promise","loadingEnded","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/src/main/resources/dist/js/app.d36914dd.js b/src/main/resources/dist/js/app.d36914dd.js deleted file mode 100644 index 107a181..0000000 --- a/src/main/resources/dist/js/app.d36914dd.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var e={5395:function(e,n,t){var o=t(5130),r=t(6768);const i={id:"app"};function a(e,n,t,o,a,c){const u=(0,r.g2)("router-view");return(0,r.uX)(),(0,r.CE)("div",i,[(0,r.bF)(u)])}var c={components:{}},u=t(1241);const s=(0,u.A)(c,[["render",a]]);var f=s,d=(t(8992),t(7550),t(1387));const l=[{path:"/",redirect:"/login"},{path:"/login",component:()=>t.e(362).then(t.bind(t,7362))},{path:"/dashboard",component:()=>t.e(820).then(t.bind(t,7820)),meta:{requiresAuth:!0},children:[{path:"",component:()=>Promise.all([t.e(318),t.e(841)]).then(t.bind(t,7318))},{path:"home",component:()=>Promise.all([t.e(318),t.e(841)]).then(t.bind(t,7318))},{path:"user",component:()=>t.e(214).then(t.bind(t,2214))},{path:"createTask",component:()=>t.e(641).then(t.bind(t,5641))},{path:"ociLog",component:()=>t.e(180).then(t.bind(t,8180))},{path:"sysCfg",component:()=>t.e(656).then(t.bind(t,4656))},{path:"createInstance",component:()=>t.e(77).then(t.bind(t,2077))},{path:"OciCfgTab",component:()=>t.e(744).then(t.bind(t,5744))},{path:"ociUpdateInstanceCfg",component:()=>t.e(56).then(t.bind(t,6056))},{path:"ociCreateInstanceBatch",component:()=>t.e(236).then(t.bind(t,9236))}]}],p=(0,d.aE)({history:(0,d.LA)(),routes:l});p.beforeEach(((e,n,t)=>{const o=sessionStorage.getItem("token");e.matched.some((e=>e.meta.requiresAuth))&&!o?t("/login"):(window.ws&&(console.log("Closing existing WebSocket connection before route change."),window.ws.close(),window.ws=null),t())}));var h=p,m=t(9601),b=(t(4188),t(7477)),g=t(4373);g.A.defaults.baseURL=window.location.origin+"/api",g.A.defaults.baseURL="https://oci-helper.19990617.xyz/api",g.A.interceptors.request.use((e=>{const n=sessionStorage.getItem("token");return n&&(e.headers.Authorization=`Bearer ${n}`),e}),(e=>Promise.reject(e))),g.A.interceptors.response.use((e=>e),(e=>(e.response&&401===e.response.status&&(sessionStorage.removeItem("token"),window.location.href="/login"),Promise.reject(e))));const v=(0,o.Ef)(f);v.use(h),v.use(m.A);for(const[y,w]of Object.entries(b))v.component(y,w);v.config.globalProperties.$axios=g.A,v.mount("#app")}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={exports:{}};return e[o].call(i.exports,i,i.exports,t),i.exports}t.m=e,function(){var e=[];t.O=function(n,o,r,i){if(!o){var a=1/0;for(f=0;f=i)&&Object.keys(t.O).every((function(e){return t.O[e](o[u])}))?o.splice(u--,1):(c=!1,i0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[o,r,i]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce((function(n,o){return t.f[o](e,n),n}),[]))}}(),function(){t.u=function(e){return"js/"+e+"."+{56:"37b76635",77:"dc20ccb8",180:"af64182d",214:"c4eae7c0",236:"073d1935",318:"574912a9",362:"6a5f365b",641:"c46482c5",656:"aefe9ac7",744:"3d5ed331",820:"a6873ba1"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{56:"40ec08f4",180:"52278363",214:"54f09ad0",362:"8ef4ec97",656:"a422cfd8",744:"4f8bad3d",820:"b9644d11",841:"e3b1dc5a"}[e]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="oci-help-web:";t.l=function(o,r,i,a){if(e[o])e[o].push(r);else{var c,u;if(void 0!==i)for(var s=document.getElementsByTagName("script"),f=0;f\n
\n \n
\n\n\n\n","import { render } from \"./App.vue?vue&type=template&id=78341096\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {createRouter, createWebHistory} from 'vue-router';\r\n\r\nconst routes = [\r\n {path: '/', redirect: '/login'},\r\n {path: '/login', component: () => import('@/components/login/UserLogin')},\r\n {\r\n path: '/dashboard',\r\n component: () => import('@/components/home/UserDashboard'),\r\n meta: {requiresAuth: true},\r\n children: [\r\n {path: '', component: () => import('@/components/home/OciHome')}, // 默认页面\r\n {path: 'home', component: () => import('@/components/home/OciHome')},\r\n {path: 'user', component: () => import('@/components/ociuser/OciUser')},\r\n {path: \"createTask\", component: () => import('@/components/task/OciCreateTask')},\r\n {path: \"ociLog\", component: () => import('@/components/log/OciLog')},\r\n {path: \"sysCfg\", component: () => import('@/components/syscfg/OciSysCfg')},\r\n {path: 'createInstance', component: () => import('@/components/instance/OciCreateInstance')},\r\n {path: 'OciCfgTab', component: () => import('@/components/ociuser/OciCfgTab')},\r\n {path: 'ociUpdateInstanceCfg', component: () => import('@/components/instance/OciUpdateInstanceCfg')},\r\n {path: \"ociCreateInstanceBatch\", component: () => import('@/components/instance/OciCreateInstanceBatch')},\r\n ]\r\n },\r\n];\r\n\r\nconst router = createRouter({\r\n history: createWebHistory(),\r\n routes\r\n});\r\n\r\n// 路由守卫 - 全局拦截\r\nrouter.beforeEach((to, from, next) => {\r\n const isAuthenticated = sessionStorage.getItem('token');\r\n\r\n if (to.matched.some(record => record.meta.requiresAuth) && !isAuthenticated) {\r\n // 如果页面需要登录且用户未登录,重定向到登录页\r\n next('/login');\r\n } else {\r\n if (window.ws) {\r\n console.log('Closing existing WebSocket connection before route change.');\r\n window.ws.close();\r\n window.ws = null;\r\n }\r\n next(); // 允许进入页面\r\n }\r\n});\r\n\r\nexport default router;\r\n","import {createApp} from 'vue';\r\nimport App from './App.vue';\r\nimport router from './router';\r\nimport ElementPlus from 'element-plus';\r\nimport 'element-plus/dist/index.css';\r\nimport * as ElIcons from '@element-plus/icons-vue';\r\nimport axios from 'axios'\r\n\r\n// 设置基础URL\r\naxios.defaults.baseURL = window.location.origin + '/api'\r\naxios.defaults.baseURL = 'https://oci-helper.19990617.xyz/api'\r\n\r\n// 配置请求拦截器\r\naxios.interceptors.request.use(\r\n config => {\r\n // 获取 token(假设 token 存储在 localStorage 中)\r\n const token = sessionStorage.getItem('token');\r\n\r\n // 如果 token 存在,将它添加到请求头中\r\n if (token) {\r\n config.headers.Authorization = `Bearer ${token}`;\r\n }\r\n\r\n // 在发送请求前返回配置\r\n return config;\r\n },\r\n error => Promise.reject(error)\r\n);\r\n\r\n// 配置响应拦截器\r\naxios.interceptors.response.use(\r\n response => response,\r\n error => {\r\n if (error.response && error.response.status === 401) {\r\n // 清除 token(可选)\r\n sessionStorage.removeItem('token');\r\n // 跳转到登录页\r\n window.location.href = '/login'; // 或者使用 Vue Router: this.$router.push('/login')\r\n }\r\n // 可以在这里进行错误处理\r\n return Promise.reject(error)\r\n }\r\n)\r\n\r\nconst app = createApp(App);\r\napp.use(router);\r\napp.use(ElementPlus);\r\n// 全局注册所有图标\r\nfor (const [key, component] of Object.entries(ElIcons)) {\r\n app.component(key, component)\r\n}\r\napp.config.globalProperties.$axios = axios // 将axios挂载到全局属性中\r\napp.mount('#app');\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"56\":\"37b76635\",\"77\":\"dc20ccb8\",\"180\":\"af64182d\",\"214\":\"c4eae7c0\",\"236\":\"073d1935\",\"318\":\"574912a9\",\"362\":\"6a5f365b\",\"641\":\"c46482c5\",\"656\":\"aefe9ac7\",\"744\":\"3d5ed331\",\"820\":\"a6873ba1\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"56\":\"40ec08f4\",\"180\":\"52278363\",\"214\":\"54f09ad0\",\"362\":\"8ef4ec97\",\"656\":\"a422cfd8\",\"744\":\"4f8bad3d\",\"820\":\"b9644d11\",\"841\":\"e3b1dc5a\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"oci-help-web:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"56\":1,\"180\":1,\"214\":1,\"362\":1,\"656\":1,\"744\":1,\"820\":1,\"841\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(841 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkoci_help_web\"] = self[\"webpackChunkoci_help_web\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(5395); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["id","_createElementBlock","_hoisted_1","_createVNode","_component_router_view","components","__exports__","render","routes","path","redirect","component","meta","requiresAuth","children","router","createRouter","history","createWebHistory","beforeEach","to","from","next","isAuthenticated","sessionStorage","getItem","matched","some","record","window","ws","console","log","close","axios","defaults","baseURL","location","origin","interceptors","request","use","config","token","headers","Authorization","error","Promise","reject","response","status","removeItem","href","app","createApp","App","ElementPlus","key","Object","entries","ElIcons","globalProperties","$axios","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","this","Function","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","p","createStylesheet","fullhref","oldTag","resolve","linkTag","rel","nonce","onLinkComplete","errorType","realHref","err","Error","name","code","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","then","installedChunks","installedChunkData","promise","loadingEnded","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file