const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/report-CMXlYAyC.js","assets/vendor-Cv2dYodt.js","assets/index-pX3zB17V.js","assets/index-BbW3ufdf.css","assets/index.vue_vue_type_style_index_0_scoped_a78e12af_lang--_822sJ-.js","assets/index-DutF3lcd.css","assets/report-zWjEt18W.css","assets/role-C_SyxvQg.js","assets/role-DigJ7Zg1.css","assets/system-graph-BcSkgMRm.js","assets/system-graph-DEBfpwg_.css","assets/login-DCEq4MO0.js","assets/login-l82me9bj.css","assets/register-soWo1FYZ.js","assets/register-BtmdRmMM.css","assets/forget-password-CBHBLhkv.js","assets/forget-password-D0cXA08j.css","assets/demo-DHCSfYcE.js","assets/demo-lrkWEdzg.css","assets/document-preview-DPfPlyUQ.js","assets/document-preview-BoM0ThSX.css"])))=>i.map(i=>d[i]);
import{d as _,l as f,r as c,o as p,c as h,w as g,a as v,b as y,L as P,A as E,I as b,e as L,B as T,R as O,C as w,S as A,F as D,f as I,g as R,M as V,T as C,h as $,D as N,i as k,j as B,k as S,m as U,n as z,p as M,q as j,s as q,t as x,U as F,P as H,u as G,v as K,x as W,_ as n,y as J,z as Q,E as X,G as Y,H as l}from"./vendor-Cv2dYodt.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))i(t);new MutationObserver(t=>{for(const r of t)if(r.type==="childList")for(const u of r.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function s(t){const r={};return t.integrity&&(r.integrity=t.integrity),t.referrerPolicy&&(r.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?r.credentials="include":t.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(t){if(t.ep)return;t.ep=!0;const r=s(t);fetch(t.href,r)}})();const Z=(e,o)=>{const s=e.__vccOpts||e;for(const[i,t]of o)s[i]=t;return s},ee=_({name:"App",setup(){return{zhCN:f}}}),te={id:"app"};function oe(e,o,s,i,t,r){const u=c("router-view"),m=c("a-config-provider");return p(),h(m,{locale:e.zhCN},{default:g(()=>[v("div",te,[y(u)])]),_:1},8,["locale"])}const re=Z(ee,[["render",oe]]),se=e=>{e.use(P),e.use(E),e.use(b),e.use(L),e.use(T),e.use(O),e.use(w),e.use(A),e.use(D),e.use(I),e.use(R),e.use(V),e.use(C),e.use($),e.use(N),e.use(k),e.use(B),e.use(S),e.use(U),e.use(z),e.use(M),e.use(j),e.use(q),e.use(x),e.use(F),e.use(H),e.use(G),e.config.globalProperties.$message=K,e.config.globalProperties.$notification=W},ne=[{path:"/",name:"main",redirect:"/report",children:[{path:"/report",name:"report",title:"报表中心",component:()=>n(()=>import("./report-CMXlYAyC.js"),__vite__mapDeps([0,1,2,3,4,5,6]))},{path:"/role",name:"role",title:"角色管理",component:()=>n(()=>import("./role-C_SyxvQg.js"),__vite__mapDeps([7,1,4,5,8]))},{path:"/system-graph",name:"system-graph",title:"系统架构图",component:()=>n(()=>import("./system-graph-BcSkgMRm.js"),__vite__mapDeps([9,2,1,3,10]))}]},{path:"/login",name:"login",title:"登陆",hidden:!0,component:()=>n(()=>import("./login-DCEq4MO0.js"),__vite__mapDeps([11,1,12]))},{path:"/register/invitation",name:"register",title:"注册",hidden:!0,component:()=>n(()=>import("./register-soWo1FYZ.js"),__vite__mapDeps([13,1,14]))},{path:"/forget-password",name:"forget-password",title:"忘记密码",hidden:!0,component:()=>n(()=>import("./forget-password-CBHBLhkv.js"),__vite__mapDeps([15,1,16]))},{path:"/:catchAll(.*)",redirect:"/404",hidden:!0},{path:"/demo",name:"demo",hidden:!0,component:()=>n(()=>import("./demo-DHCSfYcE.js"),__vite__mapDeps([17,1,18]))},{path:"/document-preview",name:"document-preview",title:"文档预览",hidden:!0,component:()=>n(()=>import("./document-preview-DPfPlyUQ.js"),__vite__mapDeps([19,1,20]))}],ie=["/login","/register","/forget-password","/404","/register/invitation"],d=J({history:Q("/"),scrollBehavior:()=>({y:0}),routes:ne});d.beforeEach((e,o,s)=>{const i=localStorage.getItem("token");if(ie.includes(e.path)){s();return}if(!i){s({path:"/login",query:{redirect:e.fullPath}});return}s()});const ae={namespaced:"app",state:()=>({token:"3mnuehn457873nberuwen",user:{},factoryList:[{value:"001",label:"华为"},{value:"002",label:"谷歌"},{value:"003",label:"中芯国际"},{value:"004",label:"宁德时代"}],permission:[],auth:{}}),mutations:{setToken:(e,o)=>{e.token=o},setUser:(e,o)=>{e.user=o.user,e.permission=o.permission,e.auth=o.auth}},actions:{}},ue=X({modules:{app:ae},state:()=>({}),mutations:{},actions:{},getters:{}}),a=Y(re);a.config.productionTip;l.locale("zh-cn");a.config.globalProperties.$dayjs=l;se(a);a.use(d);a.use(ue);a.mount("#app");export{Z as _};
