Files
Electron_Test/tf/js/app.2f2be7ac.js
2024-04-07 09:46:14 +08:00

2 lines
8.4 KiB
JavaScript

(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["[object Object]-app"]=t():e["[object Object]-app"]=t()})(self,(function(){return function(){"use strict";var e={51486:function(e,t,n){n.r(t),n.d(t,{bootstrap:function(){return _},mount:function(){return O},unmount:function(){return k}});n(63086);var o=n(49242),r=n(44870),i=n(73396);function a(e,t,n,o,r,a){const u=(0,i.up)("router-view"),c=(0,i.up)("ConfigProvider");return(0,i.wg)(),(0,i.j4)(c,{locale:e.locale},{default:(0,i.w5)((()=>[(0,i.Wm)(u)])),_:1},8,["locale"])}var u=n(44339),c=n(59805),l=(0,i.aZ)({components:{ConfigProvider:u.ZP},setup(){const e=c.Z;return{locale:e}}}),f=n(40089);const d=(0,f.Z)(l,[["render",a]]);var s=d,p=n(22483);const m=[{path:"/",redirect:"manual"},{path:"/manual",name:"manual",component:()=>Promise.all([n.e(898),n.e(517),n.e(721),n.e(600),n.e(945)]).then(n.bind(n,70945))},{path:"/manual/edit",name:"manual-edit",component:()=>Promise.all([n.e(898),n.e(517),n.e(721),n.e(600),n.e(10)]).then(n.bind(n,29010))},{path:"/manual/view",name:"manual-view",component:()=>Promise.all([n.e(898),n.e(517),n.e(705),n.e(821)]).then(n.bind(n,55821))},{path:"/editor",name:"editor",component:()=>Promise.all([n.e(898),n.e(189)]).then(n.bind(n,79927))},{path:"/editor/edit",name:"editor-edit",component:()=>Promise.all([n.e(898),n.e(517),n.e(721),n.e(705),n.e(604)]).then(n.bind(n,93814))},{path:"/editor/view",name:"editor-view",component:()=>Promise.all([n.e(898),n.e(517),n.e(721),n.e(705),n.e(139)]).then(n.bind(n,63591))}],h=(0,p.p7)({history:(0,p.r5)("/app1"),routes:m});h.beforeEach(((e,t,n)=>{"/undefined"===e.fullPath?n("/manual"):n()}));var v=h,b=n(20065),g=(0,b.MT)({state:{},getters:{},mutations:{},actions:{},modules:{}}),y=n(42024);let w=null;function j(e=null){console.log(e,"1111111111"),w=(0,o.ri)(s);const t=JSON.parse(localStorage.getItem("token")||"");w.config.globalProperties.$globalVariable=(0,r.qj)({token:t,baseUrl:"",resourceBaseUrl:"/file-bucket"}),w.use(g).use(v),w.mount(e?e.container.querySelector("#app"):"#app")}if(!window.__POWERED_BY_QIANKUN__){let e="Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjNTVjZTM0My0xMTFmLTQ0MzUtYWNhMy0zMDgxOGQ0YjAyNzkiLCJhdXRoIjoyLCJiYXNlIjoyLCJvcmciOjEsImlhdCI6MTcwOTYwNjkyMywiZXhwIjoxNzEwMjExNzIzfQ.hkBXzAbnxZilGvJm-yjN_9wV4f4JhAqikQmLgCtparo";e=(0,y.ak)("token",window.location.href),localStorage.setItem("token",JSON.stringify(e)),j(),console.log("独立运行")}async function _(){console.log("[vue] vue app bootstraped")}async function O(e){j(e)}async function k(){w?.$destroy?.(),w&&w.$el&&(w.$el.innerHTML=""),w=null}},63086:function(e,t,n){window.__POWERED_BY_QIANKUN__&&(n.p=window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__)},42024:function(e,t,n){n.d(t,{J1:function(){return a},OH:function(){return u},ZS:function(){return i},ak:function(){return c},t$:function(){return r}});n(57658);const o=()=>localStorage.getItem("demo-key")||"default",r=(e,t=o())=>{localStorage.setItem(`${t}-demo-value`,e)},i=(e=o())=>localStorage.getItem(`${e}-demo-value`),a=(e=o())=>localStorage.removeItem(`${e}-demo-value`),u=(e=[],t="pid",n="index")=>{const o={},r=[];for(let i=0;i<e.length;i+=1){const t=e[i];o[t.id]=i,t.children=[]}for(let i=0;i<e.length;i+=1){const n=e[i];n[t]&&e[o[n[t]]]?e[o[n[t]]].children.push(n):r.push(n)}return r.sort(((e,t)=>e[n]-t[n])),r};function c(e,t){t||(t=window.location.href),e=e.replace(/[[\]]/g,"\\$&");const n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),o=n.exec(t);return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,function(){var e=[];n.O=function(t,o,r,i){if(!o){var a=1/0;for(f=0;f<e.length;f++){o=e[f][0],r=e[f][1],i=e[f][2];for(var u=!0,c=0;c<o.length;c++)(!1&i||a>=i)&&Object.keys(n.O).every((function(e){return n.O[e](o[c])}))?o.splice(c--,1):(u=!1,i<a&&(a=i));if(u){e.splice(f--,1);var l=r();void 0!==l&&(t=l)}}return t}i=i||0;for(var f=e.length;f>0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[o,r,i]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+({139:"editor-view",189:"editor",604:"editor-edit"}[e]||e)+"."+{5:"d5ab67fb",10:"a7526d77",139:"7fddc9c4",189:"512a6323",517:"3e8819a5",600:"01a8c0fe",604:"7f0f4022",617:"8f7128a4",705:"cba30c55",721:"416ca526",821:"12265a4d",898:"ac0181fc",903:"f30d1ce1",945:"652d388a"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+({139:"editor-view",189:"editor",604:"editor-edit"}[e]||e)+"."+{10:"4b5f2897",139:"ce92f1d2",189:"88eda347",604:"12ddf2f0",705:"30f23486",821:"fe7ce22a",945:"7792539e"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="[object Object]-:";n.l=function(o,r,i,a){if(e[o])e[o].push(r);else{var u,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var d=l[f];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==t+i){u=d;break}}u||(c=!0,u=document.createElement("script"),u.charset="utf-8",u.timeout=120,n.nc&&u.setAttribute("nonce",n.nc),u.setAttribute("data-webpack",t+i),u.src=o),e[o]=[r];var s=function(t,n){u.onerror=u.onload=null,clearTimeout(p);var r=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),r&&r.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=s.bind(null,u.onerror),u.onload=s.bind(null,u.onload),c&&document.head.appendChild(u)}}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p="/"}(),function(){if("undefined"!==typeof document){var e=function(e,t,n,o,r){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css";var a=function(n){if(i.onerror=i.onload=null,"load"===n.type)o();else{var a=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+u+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=u,i.parentNode&&i.parentNode.removeChild(i),r(c)}};return i.onerror=i.onload=a,i.href=t,n?n.parentNode.insertBefore(i,n.nextSibling):document.head.appendChild(i),i},t=function(e,t){for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var r=n[o],i=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(i===e||i===t))return r}var a=document.getElementsByTagName("style");for(o=0;o<a.length;o++){r=a[o],i=r.getAttribute("data-href");if(i===e||i===t)return r}},o=function(o){return new Promise((function(r,i){var a=n.miniCssF(o),u=n.p+a;if(t(a,u))return r();e(o,u,null,r,i)}))},r={143:0};n.f.miniCss=function(e,t){var n={10:1,139:1,189:1,604:1,705:1,821:1,945:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=o(e).then((function(){r[e]=0}),(function(t){throw delete r[e],t})))}}}(),function(){var e={143:0};n.f.j=function(t,o){var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var i=new Promise((function(n,o){r=e[t]=[n,o]}));o.push(r[2]=i);var a=n.p+n.u(t),u=new Error,c=function(o){if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var i=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,r[1](u)}};n.l(a,c,"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,o){var r,i,a=o[0],u=o[1],c=o[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(r in u)n.o(u,r)&&(n.m[r]=u[r]);if(c)var f=c(n)}for(t&&t(o);l<a.length;l++)i=a[l],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(f)},o=self["webpackChunk_object_Object_"]=self["webpackChunk_object_Object_"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var o=n.O(void 0,[998],(function(){return n(51486)}));return o=n.O(o),o}()}));
//# sourceMappingURL=app.2f2be7ac.js.map