This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
handingkang-ohmyweb/static/index-a7e4b819.js
2023-08-24 06:10:24 +00:00

4 lines
62 KiB
JavaScript

var _t=Object.defineProperty;var At=(e,t,n)=>t in e?_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>(At(e,typeof t!="symbol"?t+"":t,n),n);import{r as k,w as We,H as Ge,ag as Pe,ah as xe,O as Tt,P as Ot,u as Rt,l as Ke,V as Ct,ay as Pt,az as xt,aA as kt,aB as te,b as Dt,e as Nt,m as Bt,p as Lt,as as Ft}from"./vue-09136d94.js";import{E as ke,b as K,c as Vt,m as It,e as Mt,g as Ut,i as zt,f as Ht}from"./element-3594ebb6.js";import{V as ge,a as jt}from"./vxe-e1f17f9a.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const M="v3-admin-vite";class S{}V(S,"TOKEN",`${M}-token-key`),V(S,"CONFIG_LAYOUT",`${M}-config-layout-key`),V(S,"SIDEBAR_STATUS",`${M}-sidebar-status-key`),V(S,"ACTIVE_THEME_NAME",`${M}-active-theme-name-key`),V(S,"VISITED_VIEWS",`${M}-visited-views-key`),V(S,"CACHED_VIEWS",`${M}-cached-views-key`);const qt=()=>{const e=localStorage.getItem(S.CONFIG_LAYOUT);return e?JSON.parse(e):null},Jt=e=>{localStorage.setItem(S.CONFIG_LAYOUT,JSON.stringify(e))},$t=()=>{localStorage.removeItem(S.CONFIG_LAYOUT)},co=()=>localStorage.getItem(S.SIDEBAR_STATUS),uo=e=>{localStorage.setItem(S.SIDEBAR_STATUS,e)},Wt=()=>localStorage.getItem(S.ACTIVE_THEME_NAME),Gt=e=>{localStorage.setItem(S.ACTIVE_THEME_NAME,e)},Kt=()=>{const e=localStorage.getItem(S.VISITED_VIEWS);return JSON.parse(e??"[]")},Xt=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(S.VISITED_VIEWS,JSON.stringify(e))},Yt=()=>{const e=localStorage.getItem(S.CACHED_VIEWS);return JSON.parse(e??"[]")},Zt=e=>{localStorage.setItem(S.CACHED_VIEWS,JSON.stringify(e))},Xe="normal",Qt=[{title:"默认",name:Xe},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],we=k(Wt()||Xe),en=e=>{we.value=e},tn=e=>{document.documentElement.className=e},nn=()=>{We(()=>{const e=we.value;tn(e),Gt(e)})};function rn(){return{themeList:Qt,activeThemeName:we,initTheme:nn,setTheme:en}}const lo=e=>{let t="";try{t=getComputedStyle(document.documentElement).getPropertyValue(e)}catch(n){console.error(n)}return t},fo=(e,t)=>{try{document.documentElement.style.setProperty(e,t)}catch(n){console.error(n)}},on=()=>{$t(),location.reload()};var sn={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};const an=Ge({__name:"App",setup(e){const{initTheme:t}=rn();return t(),ke({title:"Hello",type:"success",message:Pe("a",{style:"color: teal",target:"_blank",href:"https://github.com/un-pany/v3-admin-vite"},"小项目获取 star 不易,如果你喜欢这个项目的话,欢迎点击这里支持一个 star !这是作者持续维护的唯一动力(小声:毕竟是免费的)"),duration:0,position:"bottom-right"}),ke({title:"破坏性更新",type:"warning",message:Pe("span",{style:"color: teal; cursor: pointer;",onClick:on},"由于平台 4.1.0 版本新增了多种布局模式,如果第一次出现白屏情况,点击这里或手动前往控制台清理 LocalStorage 缓存数据后刷新页面即可!"),duration:0,position:"bottom-right",offset:150}),(n,r)=>{const o=xe("router-view"),s=xe("ElConfigProvider");return Ke(),Tt(s,{locale:Rt(sn)},{default:Ot(()=>[Ct(o)]),_:1},8,["locale"])}}}),ne=Pt(),cn="modulepreload",un=function(e){return"/v3-admin-vite/"+e},De={},v=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=un(s),s in De)return;De[s]=!0;const i=s.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let m=o.length-1;m>=0;m--){const f=o[m];if(f.href===s&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":cn,i||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),i)return new Promise((m,f)=>{u.addEventListener("load",m),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},ln=xt("/v3-admin-vite/"),Ye={async:!0,defaultRoles:["DEFAULT_ROLE"],thirdLevelRouteCache:!1},L=()=>v(()=>import("./index-d2927ef7.js"),["static/index-d2927ef7.js","static/vue-09136d94.js","static/element-3594ebb6.js","static/index.vue_vue_type_script_setup_true_lang-591632e8.js","static/vxe-e1f17f9a.js","static/index-97af8e23.css"]),Ze=[{path:"/redirect",component:L,meta:{hidden:!0},children:[{path:"/redirect/:path(.*)",component:()=>v(()=>import("./index-7bc7cd19.js"),["static/index-7bc7cd19.js","static/vue-09136d94.js"])}]},{path:"/403",component:()=>v(()=>import("./403-abc43d90.js"),["static/403-abc43d90.js","static/ErrorPageLayout-d9d17e83.js","static/vue-09136d94.js","static/ErrorPageLayout-155a3ef2.css","static/element-3594ebb6.js","static/vxe-e1f17f9a.js"]),meta:{hidden:!0}},{path:"/404",component:()=>v(()=>import("./404-f0c0a3ac.js"),["static/404-f0c0a3ac.js","static/ErrorPageLayout-d9d17e83.js","static/vue-09136d94.js","static/ErrorPageLayout-155a3ef2.css","static/element-3594ebb6.js","static/vxe-e1f17f9a.js"]),meta:{hidden:!0},alias:"/:pathMatch(.*)*"},{path:"/login",component:()=>v(()=>import("./index-a8ccbbef.js"),["static/index-a8ccbbef.js","static/vue-09136d94.js","static/element-3594ebb6.js","static/index.vue_vue_type_script_setup_true_lang-591632e8.js","static/vxe-e1f17f9a.js","static/index-acd5de27.css"]),meta:{hidden:!0}},{path:"/",component:L,redirect:"/dashboard",children:[{path:"dashboard",component:()=>v(()=>import("./index-873c5363.js"),["static/index-873c5363.js","static/vue-09136d94.js","static/element-3594ebb6.js","static/vxe-e1f17f9a.js","static/index-d3ac1821.css"]),name:"Dashboard",meta:{title:"首页",svgIcon:"dashboard",affix:!0}}]},{path:"/unocss",component:L,redirect:"/unocss/index",children:[{path:"index",component:()=>v(()=>import("./index-b870ac32.js"),["static/index-b870ac32.js","static/vue-09136d94.js","static/element-3594ebb6.js","static/vxe-e1f17f9a.js"]),name:"UnoCSS",meta:{title:"unocss",svgIcon:"unocss"}}]},{path:"/link",component:L,children:[{path:"https://juejin.cn/post/7089377403717287972",component:()=>{},name:"Link",meta:{title:"外链",svgIcon:"link"}}]},{path:"/table",component:L,redirect:"/table/element-plus",name:"Table",meta:{title:"表格",elIcon:"Grid"},children:[{path:"element-plus",component:()=>v(()=>import("./index-80a96034.js"),["static/index-80a96034.js","static/index-a09343dd.js","static/element-3594ebb6.js","static/vue-09136d94.js","static/vxe-e1f17f9a.js","static/index-c475a2b5.css"]),name:"ElementPlus",meta:{title:"Element Plus",keepAlive:!0}},{path:"vxe-table",component:()=>v(()=>import("./index-e853044e.js"),["static/index-e853044e.js","static/index-a09343dd.js","static/vue-09136d94.js","static/element-3594ebb6.js","static/vxe-e1f17f9a.js"]),name:"VxeTable",meta:{title:"Vxe Table",keepAlive:!0}}]},{path:"/menu",component:L,redirect:"/menu/menu1",name:"Menu",meta:{title:"多级路由",svgIcon:"menu"},children:[{path:"menu1",component:()=>v(()=>import("./index-dd8c4877.js"),["static/index-dd8c4877.js","static/vue-09136d94.js","static/element-3594ebb6.js","static/vxe-e1f17f9a.js"]),redirect:"/menu/menu1/menu1-1",name:"Menu1",meta:{title:"menu1"},children:[{path:"menu1-1",component:()=>v(()=>import("./index-1be248e6.js"),["static/index-1be248e6.js","static/vue-09136d94.js"]),name:"Menu1-1",meta:{title:"menu1-1",keepAlive:!0}},{path:"menu1-2",component:()=>v(()=>import("./index-3ede200d.js"),["static/index-3ede200d.js","static/vue-09136d94.js","static/element-3594ebb6.js","static/vxe-e1f17f9a.js"]),redirect:"/menu/menu1/menu1-2/menu1-2-1",name:"Menu1-2",meta:{title:"menu1-2"},children:[{path:"menu1-2-1",component:()=>v(()=>import("./index-d9a07b25.js"),["static/index-d9a07b25.js","static/vue-09136d94.js"]),name:"Menu1-2-1",meta:{title:"menu1-2-1",keepAlive:!0}},{path:"menu1-2-2",component:()=>v(()=>import("./index-cb8b3c3b.js"),["static/index-cb8b3c3b.js","static/vue-09136d94.js"]),name:"Menu1-2-2",meta:{title:"menu1-2-2",keepAlive:!0}}]},{path:"menu1-3",component:()=>v(()=>import("./index-0b249b89.js"),["static/index-0b249b89.js","static/vue-09136d94.js"]),name:"Menu1-3",meta:{title:"menu1-3",keepAlive:!0}}]},{path:"menu2",component:()=>v(()=>import("./index-c1b32fa9.js"),["static/index-c1b32fa9.js","static/vue-09136d94.js"]),name:"Menu2",meta:{title:"menu2",keepAlive:!0}}]},{path:"/hook-demo",component:L,redirect:"/hook-demo/use-fetch-select",name:"HookDemo",meta:{title:"hook 示例",elIcon:"Menu",alwaysShow:!0},children:[{path:"use-fetch-select",component:()=>v(()=>import("./use-fetch-select-c32d63a8.js"),["static/use-fetch-select-c32d63a8.js","static/vue-09136d94.js"]),name:"UseFetchSelect",meta:{title:"useFetchSelect"}},{path:"use-fullscreen-loading",component:()=>v(()=>import("./use-fullscreen-loading-d189eac7.js"),["static/use-fullscreen-loading-d189eac7.js","static/element-3594ebb6.js","static/vue-09136d94.js"]),name:"UseFullscreenLoading",meta:{title:"useFullscreenLoading"}}]}],dn=[{path:"/permission",component:L,redirect:"/permission/page",name:"Permission",meta:{title:"权限管理",svgIcon:"lock",roles:["admin","editor"],alwaysShow:!0},children:[{path:"page",component:()=>v(()=>import("./page-94e5103a.js"),["static/page-94e5103a.js","static/vue-09136d94.js","static/SwitchRoles-11841495.js","static/SwitchRoles-47de59b3.css","static/element-3594ebb6.js","static/vxe-e1f17f9a.js","static/page-52a84664.css"]),name:"PagePermission",meta:{title:"页面权限",roles:["admin"]}},{path:"directive",component:()=>v(()=>import("./directive-2976cbe3.js"),["static/directive-2976cbe3.js","static/SwitchRoles-11841495.js","static/vue-09136d94.js","static/SwitchRoles-47de59b3.css","static/element-3594ebb6.js","static/vxe-e1f17f9a.js","static/directive-7c8db414.css"]),name:"DirectivePermission",meta:{title:"指令权限"}}]},{path:"/:pathMatch(.*)*",redirect:"/404",name:"ErrorPage",meta:{hidden:!0}}],D=kt({history:ln,routes:Ze});function Ne(){try{D.getRoutes().forEach(e=>{var r;const{name:t,meta:n}=e;t&&((r=n.roles)!=null&&r.length)&&D.hasRoute(t)&&D.removeRoute(t)})}catch{window.location.reload()}}const fn=(e,t)=>{var r;const n=(r=t.meta)==null?void 0:r.roles;return n?e.some(o=>n.includes(o)):!0},Qe=(e,t)=>{const n=[];return e.forEach(r=>{const o={...r};fn(t,o)&&(o.children&&(o.children=Qe(o.children,t)),n.push(o))}),n},et=te("permission",()=>{const e=k([]),t=k([]);return{routes:e,dynamicRoutes:t,setRoutes:r=>{const o=Qe(dn,r);e.value=Ze.concat(o),t.value=o}}});function mn(){return et(ne)}const pn={layoutMode:"left",showSettings:!0,showTagsView:!0,fixedHeader:!0,showLogo:!0,showNotify:!0,showThemeSwitch:!0,showScreenfull:!0,showSearchMenu:!0,cacheTagsView:!1,showGreyMode:!1,showColorWeakness:!1},hn={...pn,...qt()},tt=te("settings",()=>{const e={};for(const[n,r]of Object.entries(hn)){const o=k(r);e[n]=o,Dt(o,()=>{const s=t();Jt(s)})}const t=()=>{const n={};for(const[r,o]of Object.entries(e))n[r]=o.value;return n};return e}),nt=te("tags-view",()=>{const{cacheTagsView:e}=tt(),t=k(e?Kt():[]),n=k(e?Yt():[]);return We(()=>{Xt(t.value),Zt(n.value)}),{visitedViews:t,cachedViews:n,addVisitedView:f=>{const h=t.value.findIndex(y=>y.path===f.path);h!==-1?t.value[h].fullPath!==f.fullPath&&(t.value[h]={...f}):t.value.push({...f})},addCachedView:f=>{var h;typeof f.name=="string"&&(n.value.includes(f.name)||(h=f.meta)!=null&&h.keepAlive&&n.value.push(f.name))},delVisitedView:f=>{const h=t.value.findIndex(y=>y.path===f.path);h!==-1&&t.value.splice(h,1)},delCachedView:f=>{if(typeof f.name!="string")return;const h=n.value.indexOf(f.name);h!==-1&&n.value.splice(h,1)},delOthersVisitedViews:f=>{t.value=t.value.filter(h=>{var y;return((y=h.meta)==null?void 0:y.affix)||h.path===f.path})},delOthersCachedViews:f=>{if(typeof f.name!="string")return;const h=n.value.indexOf(f.name);h!==-1?n.value=n.value.slice(h,h+1):n.value=[]},delAllVisitedViews:()=>{t.value=t.value.filter(f=>{var h;return(h=f.meta)==null?void 0:h.affix})},delAllCachedViews:()=>{n.value=[]}}});function En(){return nt(ne)}function G(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var yn={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function me(e,t){function n(o,s,i){if(!(typeof document>"u")){i=G({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var p in i)i[p]&&(l+="; "+p,i[p]!==!0&&(l+="="+i[p].split(";")[0]));return document.cookie=o+"="+e.write(s,o)+l}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var s=document.cookie?document.cookie.split("; "):[],i={},l=0;l<s.length;l++){var p=s[l].split("="),u=p.slice(1).join("=");try{var m=decodeURIComponent(p[0]);if(i[m]=e.read(u,m),o===m)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:r,remove:function(o,s){n(o,"",G({},s,{expires:-1}))},withAttributes:function(o){return me(this.converter,G({},this.attributes,o))},withConverter:function(o){return me(G({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var be=me(yn,{path:"/"});const ve=()=>be.get(S.TOKEN),Be=e=>{be.set(S.TOKEN,e)},Le=()=>{be.remove(S.TOKEN)};function rt(e,t){return function(){return e.apply(t,arguments)}}const{toString:gn}=Object.prototype,{getPrototypeOf:Se}=Object,re=(e=>t=>{const n=gn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),x=e=>(e=e.toLowerCase(),t=>re(t)===e),oe=e=>t=>typeof t===e,{isArray:H}=Array,q=oe("undefined");function wn(e){return e!==null&&!q(e)&&e.constructor!==null&&!q(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ot=x("ArrayBuffer");function bn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ot(e.buffer),t}const vn=oe("string"),O=oe("function"),st=oe("number"),se=e=>e!==null&&typeof e=="object",Sn=e=>e===!0||e===!1,X=e=>{if(re(e)!=="object")return!1;const t=Se(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_n=x("Date"),An=x("File"),Tn=x("Blob"),On=x("FileList"),Rn=e=>se(e)&&O(e.pipe),Cn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||O(e.append)&&((t=re(e))==="formdata"||t==="object"&&O(e.toString)&&e.toString()==="[object FormData]"))},Pn=x("URLSearchParams"),xn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function J(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),H(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let l;for(r=0;r<i;r++)l=s[r],t.call(null,e[l],l,e)}}function it(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const at=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ct=e=>!q(e)&&e!==at;function pe(){const{caseless:e}=ct(this)&&this||{},t={},n=(r,o)=>{const s=e&&it(t,o)||o;X(t[s])&&X(r)?t[s]=pe(t[s],r):X(r)?t[s]=pe({},r):H(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&J(arguments[r],n);return t}const kn=(e,t,n,{allOwnKeys:r}={})=>(J(t,(o,s)=>{n&&O(o)?e[s]=rt(o,n):e[s]=o},{allOwnKeys:r}),e),Dn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Nn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Bn=(e,t,n,r)=>{let o,s,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Se(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ln=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Fn=e=>{if(!e)return null;if(H(e))return e;let t=e.length;if(!st(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Vn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Se(Uint8Array)),In=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Mn=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Un=x("HTMLFormElement"),zn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Fe=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Hn=x("RegExp"),ut=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};J(n,(o,s)=>{t(o,s,e)!==!1&&(r[s]=o)}),Object.defineProperties(e,r)},jn=e=>{ut(e,(t,n)=>{if(O(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(O(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},qn=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return H(e)?r(e):r(String(e).split(t)),n},Jn=()=>{},$n=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ue="abcdefghijklmnopqrstuvwxyz",Ve="0123456789",lt={DIGIT:Ve,ALPHA:ue,ALPHA_DIGIT:ue+ue.toUpperCase()+Ve},Wn=(e=16,t=lt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Gn(e){return!!(e&&O(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Kn=e=>{const t=new Array(10),n=(r,o)=>{if(se(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=H(r)?[]:{};return J(r,(i,l)=>{const p=n(i,o+1);!q(p)&&(s[l]=p)}),t[o]=void 0,s}}return r};return n(e,0)},Xn=x("AsyncFunction"),Yn=e=>e&&(se(e)||O(e))&&O(e.then)&&O(e.catch),c={isArray:H,isArrayBuffer:ot,isBuffer:wn,isFormData:Cn,isArrayBufferView:bn,isString:vn,isNumber:st,isBoolean:Sn,isObject:se,isPlainObject:X,isUndefined:q,isDate:_n,isFile:An,isBlob:Tn,isRegExp:Hn,isFunction:O,isStream:Rn,isURLSearchParams:Pn,isTypedArray:Vn,isFileList:On,forEach:J,merge:pe,extend:kn,trim:xn,stripBOM:Dn,inherits:Nn,toFlatObject:Bn,kindOf:re,kindOfTest:x,endsWith:Ln,toArray:Fn,forEachEntry:In,matchAll:Mn,isHTMLForm:Un,hasOwnProperty:Fe,hasOwnProp:Fe,reduceDescriptors:ut,freezeMethods:jn,toObjectSet:qn,toCamelCase:zn,noop:Jn,toFiniteNumber:$n,findKey:it,global:at,isContextDefined:ct,ALPHABET:lt,generateString:Wn,isSpecCompliantForm:Gn,toJSONObject:Kn,isAsyncFn:Xn,isThenable:Yn};function g(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}c.inherits(g,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const dt=g.prototype,ft={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ft[e]={value:e}});Object.defineProperties(g,ft);Object.defineProperty(dt,"isAxiosError",{value:!0});g.from=(e,t,n,r,o,s)=>{const i=Object.create(dt);return c.toFlatObject(e,i,function(p){return p!==Error.prototype},l=>l!=="isAxiosError"),g.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const Zn=null;function he(e){return c.isPlainObject(e)||c.isArray(e)}function mt(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function Ie(e,t,n){return e?e.concat(t).map(function(o,s){return o=mt(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Qn(e){return c.isArray(e)&&!e.some(he)}const er=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function ie(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,E){return!c.isUndefined(E[d])});const r=n.metaTokens,o=n.visitor||m,s=n.dots,i=n.indexes,p=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(o))throw new TypeError("visitor must be a function");function u(a){if(a===null)return"";if(c.isDate(a))return a.toISOString();if(!p&&c.isBlob(a))throw new g("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(a)||c.isTypedArray(a)?p&&typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function m(a,d,E){let w=a;if(a&&!E&&typeof a=="object"){if(c.endsWith(d,"{}"))d=r?d:d.slice(0,-2),a=JSON.stringify(a);else if(c.isArray(a)&&Qn(a)||(c.isFileList(a)||c.endsWith(d,"[]"))&&(w=c.toArray(a)))return d=mt(d),w.forEach(function(T,b){!(c.isUndefined(T)||T===null)&&t.append(i===!0?Ie([d],b,s):i===null?d:d+"[]",u(T))}),!1}return he(a)?!0:(t.append(Ie(E,d,s),u(a)),!1)}const f=[],h=Object.assign(er,{defaultVisitor:m,convertValue:u,isVisitable:he});function y(a,d){if(!c.isUndefined(a)){if(f.indexOf(a)!==-1)throw Error("Circular reference detected in "+d.join("."));f.push(a),c.forEach(a,function(w,A){(!(c.isUndefined(w)||w===null)&&o.call(t,w,c.isString(A)?A.trim():A,d,h))===!0&&y(w,d?d.concat(A):[A])}),f.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Me(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function _e(e,t){this._pairs=[],e&&ie(e,this,t)}const pt=_e.prototype;pt.append=function(t,n){this._pairs.push([t,n])};pt.toString=function(t){const n=t?function(r){return t.call(this,r,Me)}:Me;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function tr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ht(e,t,n){if(!t)return e;const r=n&&n.encode||tr,o=n&&n.serialize;let s;if(o?s=o(t,n):s=c.isURLSearchParams(t)?t.toString():new _e(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class nr{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ue=nr,Et={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rr=typeof URLSearchParams<"u"?URLSearchParams:_e,or=typeof FormData<"u"?FormData:null,sr=typeof Blob<"u"?Blob:null,ir=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ar=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),P={isBrowser:!0,classes:{URLSearchParams:rr,FormData:or,Blob:sr},isStandardBrowserEnv:ir,isStandardBrowserWebWorkerEnv:ar,protocols:["http","https","file","blob","url","data"]};function cr(e,t){return ie(e,new P.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return P.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function ur(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lr(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function yt(e){function t(n,r,o,s){let i=n[s++];const l=Number.isFinite(+i),p=s>=n.length;return i=!i&&c.isArray(o)?o.length:i,p?(c.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!l):((!o[i]||!c.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&c.isArray(o[i])&&(o[i]=lr(o[i])),!l)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(r,o)=>{t(ur(r),o,n,0)}),n}return null}const dr={"Content-Type":void 0};function fr(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ae={transitional:Et,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=c.isObject(t);if(s&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return o&&o?JSON.stringify(yt(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return cr(t,this.formSerializer).toString();if((l=c.isFileList(t))||r.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return ie(l?{"files[]":t}:t,p&&new p,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),fr(t)):t}],transformResponse:[function(t){const n=this.transitional||ae.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&c.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?g.from(l,g.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:P.classes.FormData,Blob:P.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};c.forEach(["delete","get","head"],function(t){ae.headers[t]={}});c.forEach(["post","put","patch"],function(t){ae.headers[t]=c.merge(dr)});const Ae=ae,mr=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),pr=e=>{const t={};let n,r,o;return e&&e.split(`
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&mr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ze=Symbol("internals");function j(e){return e&&String(e).trim().toLowerCase()}function Y(e){return e===!1||e==null?e:c.isArray(e)?e.map(Y):String(e)}function hr(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Er=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function le(e,t,n,r,o){if(c.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function yr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function gr(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class ce{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(l,p,u){const m=j(p);if(!m)throw new Error("header name must be a non-empty string");const f=c.findKey(o,m);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||p]=Y(l))}const i=(l,p)=>c.forEach(l,(u,m)=>s(u,m,p));return c.isPlainObject(t)||t instanceof this.constructor?i(t,n):c.isString(t)&&(t=t.trim())&&!Er(t)?i(pr(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=j(t),t){const r=c.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return hr(o);if(c.isFunction(n))return n.call(this,o,r);if(c.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=j(t),t){const r=c.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||le(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=j(i),i){const l=c.findKey(r,i);l&&(!n||le(r,r[l],l,n))&&(delete r[l],o=!0)}}return c.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||le(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return c.forEach(this,(o,s)=>{const i=c.findKey(r,s);if(i){n[i]=Y(o),delete n[s];return}const l=t?yr(s):String(s).trim();l!==s&&delete n[s],n[l]=Y(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&c.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[ze]=this[ze]={accessors:{}}).accessors,o=this.prototype;function s(i){const l=j(i);r[l]||(gr(o,i),r[l]=!0)}return c.isArray(t)?t.forEach(s):s(t),this}}ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.freezeMethods(ce.prototype);c.freezeMethods(ce);const N=ce;function de(e,t){const n=this||Ae,r=t||n,o=N.from(r.headers);let s=r.data;return c.forEach(e,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function gt(e){return!!(e&&e.__CANCEL__)}function $(e,t,n){g.call(this,e??"canceled",g.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits($,g,{__CANCEL__:!0});function wr(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new g("Request failed with status code "+n.status,[g.ERR_BAD_REQUEST,g.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const br=P.isStandardBrowserEnv?function(){return{write:function(n,r,o,s,i,l){const p=[];p.push(n+"="+encodeURIComponent(r)),c.isNumber(o)&&p.push("expires="+new Date(o).toGMTString()),c.isString(s)&&p.push("path="+s),c.isString(i)&&p.push("domain="+i),l===!0&&p.push("secure"),document.cookie=p.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function vr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sr(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function wt(e,t){return e&&!vr(t)?Sr(e,t):t}const _r=P.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const l=c.isString(i)?o(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function Ar(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Tr(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(p){const u=Date.now(),m=r[s];i||(i=u),n[o]=p,r[o]=u;let f=s,h=0;for(;f!==o;)h+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const y=m&&u-m;return y?Math.round(h*1e3/y):void 0}}function He(e,t){let n=0;const r=Tr(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,l=s-n,p=r(l),u=s<=i;n=s;const m={loaded:s,total:i,progress:i?s/i:void 0,bytes:l,rate:p||void 0,estimated:p&&i&&u?(i-s)/p:void 0,event:o};m[t?"download":"upload"]=!0,e(m)}}const Or=typeof XMLHttpRequest<"u",Rr=Or&&function(e){return new Promise(function(n,r){let o=e.data;const s=N.from(e.headers).normalize(),i=e.responseType;let l;function p(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}c.isFormData(o)&&(P.isStandardBrowserEnv||P.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",a=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+a))}const m=wt(e.baseURL,e.url);u.open(e.method.toUpperCase(),ht(m,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function f(){if(!u)return;const y=N.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),d={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:y,config:e,request:u};wr(function(w){n(w),p()},function(w){r(w),p()},d),u=null}if("onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){u&&(r(new g("Request aborted",g.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new g("Network Error",g.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let a=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const d=e.transitional||Et;e.timeoutErrorMessage&&(a=e.timeoutErrorMessage),r(new g(a,d.clarifyTimeoutError?g.ETIMEDOUT:g.ECONNABORTED,e,u)),u=null},P.isStandardBrowserEnv){const y=(e.withCredentials||_r(m))&&e.xsrfCookieName&&br.read(e.xsrfCookieName);y&&s.set(e.xsrfHeaderName,y)}o===void 0&&s.setContentType(null),"setRequestHeader"in u&&c.forEach(s.toJSON(),function(a,d){u.setRequestHeader(d,a)}),c.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&i!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",He(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",He(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=y=>{u&&(r(!y||y.type?new $(null,e,u):y),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=Ar(m);if(h&&P.protocols.indexOf(h)===-1){r(new g("Unsupported protocol "+h+":",g.ERR_BAD_REQUEST,e));return}u.send(o||null)})},Z={http:Zn,xhr:Rr};c.forEach(Z,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Cr={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;o<t&&(n=e[o],!(r=c.isString(n)?Z[n.toLowerCase()]:n));o++);if(!r)throw r===!1?new g(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(c.hasOwnProp(Z,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!c.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:Z};function fe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $(null,e)}function je(e){return fe(e),e.headers=N.from(e.headers),e.data=de.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Cr.getAdapter(e.adapter||Ae.adapter)(e).then(function(r){return fe(e),r.data=de.call(e,e.transformResponse,r),r.headers=N.from(r.headers),r},function(r){return gt(r)||(fe(e),r&&r.response&&(r.response.data=de.call(e,e.transformResponse,r.response),r.response.headers=N.from(r.response.headers))),Promise.reject(r)})}const qe=e=>e instanceof N?e.toJSON():e;function z(e,t){t=t||{};const n={};function r(u,m,f){return c.isPlainObject(u)&&c.isPlainObject(m)?c.merge.call({caseless:f},u,m):c.isPlainObject(m)?c.merge({},m):c.isArray(m)?m.slice():m}function o(u,m,f){if(c.isUndefined(m)){if(!c.isUndefined(u))return r(void 0,u,f)}else return r(u,m,f)}function s(u,m){if(!c.isUndefined(m))return r(void 0,m)}function i(u,m){if(c.isUndefined(m)){if(!c.isUndefined(u))return r(void 0,u)}else return r(void 0,m)}function l(u,m,f){if(f in t)return r(u,m);if(f in e)return r(void 0,u)}const p={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,m)=>o(qe(u),qe(m),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(m){const f=p[m]||o,h=f(e[m],t[m],m);c.isUndefined(h)&&f!==l||(n[m]=h)}),n}const bt="1.4.0",Te={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Te[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Je={};Te.transitional=function(t,n,r){function o(s,i){return"[Axios v"+bt+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,l)=>{if(t===!1)throw new g(o(i," has been removed"+(n?" in "+n:"")),g.ERR_DEPRECATED);return n&&!Je[i]&&(Je[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,l):!0}};function Pr(e,t,n){if(typeof e!="object")throw new g("options must be an object",g.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const l=e[s],p=l===void 0||i(l,s,e);if(p!==!0)throw new g("option "+s+" must be "+p,g.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new g("Unknown option "+s,g.ERR_BAD_OPTION)}}const Ee={assertOptions:Pr,validators:Te},B=Ee.validators;class ee{constructor(t){this.defaults=t,this.interceptors={request:new Ue,response:new Ue}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=z(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ee.assertOptions(r,{silentJSONParsing:B.transitional(B.boolean),forcedJSONParsing:B.transitional(B.boolean),clarifyTimeoutError:B.transitional(B.boolean)},!1),o!=null&&(c.isFunction(o)?n.paramsSerializer={serialize:o}:Ee.assertOptions(o,{encode:B.function,serialize:B.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=s&&c.merge(s.common,s[n.method]),i&&c.forEach(["delete","get","head","post","put","patch","common"],a=>{delete s[a]}),n.headers=N.concat(i,s);const l=[];let p=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(p=p&&d.synchronous,l.unshift(d.fulfilled,d.rejected))});const u=[];this.interceptors.response.forEach(function(d){u.push(d.fulfilled,d.rejected)});let m,f=0,h;if(!p){const a=[je.bind(this),void 0];for(a.unshift.apply(a,l),a.push.apply(a,u),h=a.length,m=Promise.resolve(n);f<h;)m=m.then(a[f++],a[f++]);return m}h=l.length;let y=n;for(f=0;f<h;){const a=l[f++],d=l[f++];try{y=a(y)}catch(E){d.call(this,E);break}}try{m=je.call(this,y)}catch(a){return Promise.reject(a)}for(f=0,h=u.length;f<h;)m=m.then(u[f++],u[f++]);return m}getUri(t){t=z(this.defaults,t);const n=wt(t.baseURL,t.url);return ht(n,t.params,t.paramsSerializer)}}c.forEach(["delete","get","head","options"],function(t){ee.prototype[t]=function(n,r){return this.request(z(r||{},{method:t,url:n,data:(r||{}).data}))}});c.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,l){return this.request(z(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}ee.prototype[t]=n(),ee.prototype[t+"Form"]=n(!0)});const Q=ee;class Oe{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(l=>{r.subscribe(l),s=l}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,l){r.reason||(r.reason=new $(s,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Oe(function(o){t=o}),cancel:t}}}const xr=Oe;function kr(e){return function(n){return e.apply(null,n)}}function Dr(e){return c.isObject(e)&&e.isAxiosError===!0}const ye={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ye).forEach(([e,t])=>{ye[t]=e});const Nr=ye;function vt(e){const t=new Q(e),n=rt(Q.prototype.request,t);return c.extend(n,Q.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return vt(z(e,o))},n}const _=vt(Ae);_.Axios=Q;_.CanceledError=$;_.CancelToken=xr;_.isCancel=gt;_.VERSION=bt;_.toFormData=ie;_.AxiosError=g;_.Cancel=_.CanceledError;_.all=function(t){return Promise.all(t)};_.spread=kr;_.isAxiosError=Dr;_.mergeConfig=z;_.AxiosHeaders=N;_.formToJSON=e=>yt(c.isHTMLForm(e)?new FormData(e):e);_.HttpStatusCode=Nr;_.default=_;const Br=_;function $e(){Ce().logout(),location.reload()}function Lr(){const e=Br.create();return e.interceptors.request.use(t=>t,t=>Promise.reject(t)),e.interceptors.response.use(t=>{var s;const n=t.data,r=(s=t.request)==null?void 0:s.responseType;if(r==="blob"||r==="arraybuffer")return n;const o=n.code;if(o===void 0)return K.error("非本系统的接口"),Promise.reject(new Error("非本系统的接口"));switch(o){case 0:return n;case 401:return $e();default:return K.error(n.message||"Error"),Promise.reject(new Error("Error"))}},t=>{switch(Vt(t,"response.status")){case 400:t.message="请求错误";break;case 401:$e();break;case 403:t.message="拒绝访问";break;case 404:t.message="请求地址出错";break;case 408:t.message="请求超时";break;case 500:t.message="服务器内部错误";break;case 501:t.message="服务未实现";break;case 502:t.message="网关错误";break;case 503:t.message="服务不可用";break;case 504:t.message="网关超时";break;case 505:t.message="HTTP 版本不受支持";break}return K.error(t.message),Promise.reject(t)}),e}function Fr(e){return function(t){const n=ve(),r={headers:{Authorization:n?`Bearer ${n}`:void 0,"Content-Type":"application/json"},timeout:5e3,baseURL:"https://www.fastmock.site/mock/761e2dda2b8890ab86c928a74e8f6538/api/v1",data:{}},o=It(r,t);return e(o)}}const Vr=Lr(),Re=Fr(Vr);function mo(){return Re({url:"login/code",method:"get"})}function Ir(e){return Re({url:"users/login",method:"post",data:e})}function Mr(){return Re({url:"users/info",method:"get"})}const Ur=te("user",()=>{const e=k(ve()||""),t=k([]),n=k(""),r=et(),o=nt(),s=tt(),i=y=>{t.value=y},l=async({username:y,password:a,code:d})=>{const{data:E}=await Ir({username:y,password:a,code:d});Be(E.token),e.value=E.token},p=async()=>{var a;const{data:y}=await Mr();n.value=y.username,t.value=((a=y.roles)==null?void 0:a.length)>0?y.roles:Ye.defaultRoles},u=async y=>{const a="token-"+y;e.value=a,Be(a),await p(),r.setRoutes(t.value),Ne(),r.dynamicRoutes.forEach(d=>{D.addRoute(d)}),h()},m=()=>{Le(),e.value="",t.value=[],Ne(),h()},f=()=>{Le(),e.value="",t.value=[]},h=()=>{s.cacheTagsView||(o.delAllVisitedViews(),o.delAllCachedViews())};return{token:e,roles:t,username:n,setRoles:i,login:l,getInfo:p,changeRoles:u,logout:m,resetToken:f}});function Ce(){return Ur(ne)}const zr=()=>{const e=En();e.cachedViews=[...e.cachedViews]},Hr=["/login"],jr=[],qr=e=>Hr.indexOf(e.path)!==-1||jr.indexOf(e.name)!==-1;var St={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Mt,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(a){var d,E;for(d in a)E=a[d],E!==void 0&&a.hasOwnProperty(d)&&(r[d]=E);return this},n.status=null,n.set=function(a){var d=n.isStarted();a=o(a,r.minimum,1),n.status=a===1?null:a;var E=n.render(!d),w=E.querySelector(r.barSelector),A=r.speed,T=r.easing;return E.offsetWidth,l(function(b){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),p(w,i(a,A,T)),a===1?(p(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){p(E,{transition:"all "+A+"ms linear",opacity:0}),setTimeout(function(){n.remove(),b()},A)},A)):setTimeout(b,A)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var a=function(){setTimeout(function(){n.status&&(n.trickle(),a())},r.trickleSpeed)};return r.trickle&&a(),this},n.done=function(a){return!a&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(a){var d=n.status;return d?(typeof a!="number"&&(a=(1-d)*o(Math.random()*d,.1,.95)),d=o(d+a,0,.994),n.set(d)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var a=0,d=0;n.promise=function(E){return!E||E.state()==="resolved"?this:(d===0&&n.start(),a++,d++,E.always(function(){d--,d===0?(a=0,n.done()):n.set((a-d)/a)}),this)}}(),n.render=function(a){if(n.isRendered())return document.getElementById("nprogress");m(document.documentElement,"nprogress-busy");var d=document.createElement("div");d.id="nprogress",d.innerHTML=r.template;var E=d.querySelector(r.barSelector),w=a?"-100":s(n.status||0),A=document.querySelector(r.parent),T;return p(E,{transition:"all 0 linear",transform:"translate3d("+w+"%,0,0)"}),r.showSpinner||(T=d.querySelector(r.spinnerSelector),T&&y(T)),A!=document.body&&m(A,"nprogress-custom-parent"),A.appendChild(d),d},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var a=document.getElementById("nprogress");a&&y(a)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var a=document.body.style,d="WebkitTransform"in a?"Webkit":"MozTransform"in a?"Moz":"msTransform"in a?"ms":"OTransform"in a?"O":"";return d+"Perspective"in a?"translate3d":d+"Transform"in a?"translate":"margin"};function o(a,d,E){return a<d?d:a>E?E:a}function s(a){return(-1+a)*100}function i(a,d,E){var w;return r.positionUsing==="translate3d"?w={transform:"translate3d("+s(a)+"%,0,0)"}:r.positionUsing==="translate"?w={transform:"translate("+s(a)+"%,0)"}:w={"margin-left":s(a)+"%"},w.transition="all "+d+"ms "+E,w}var l=function(){var a=[];function d(){var E=a.shift();E&&E(d)}return function(E){a.push(E),a.length==1&&d()}}(),p=function(){var a=["Webkit","O","Moz","ms"],d={};function E(b){return b.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(R,C){return C.toUpperCase()})}function w(b){var R=document.body.style;if(b in R)return b;for(var C=a.length,I=b.charAt(0).toUpperCase()+b.slice(1),F;C--;)if(F=a[C]+I,F in R)return F;return b}function A(b){return b=E(b),d[b]||(d[b]=w(b))}function T(b,R,C){R=A(R),b.style[R]=C}return function(b,R){var C=arguments,I,F;if(C.length==2)for(I in R)F=R[I],F!==void 0&&R.hasOwnProperty(I)&&T(b,I,F);else T(b,C[1],C[2])}}();function u(a,d){var E=typeof a=="string"?a:h(a);return E.indexOf(" "+d+" ")>=0}function m(a,d){var E=h(a),w=E+d;u(E,d)||(a.className=w.substring(1))}function f(a,d){var E=h(a),w;u(a,d)&&(w=E.replace(" "+d+" "," "),a.className=w.substring(1,w.length-1))}function h(a){return(" "+(a.className||"")+" ").replace(/\s+/gi," ")}function y(a){a&&a.parentNode&&a.parentNode.removeChild(a)}return n})})(St);var Jr=St.exports;const U=Ut(Jr);U.configure({showSpinner:!1});D.beforeEach(async(e,t,n)=>{zr(),U.start();const r=Ce(),o=mn();if(ve())if(e.path==="/login")n({path:"/"}),U.done();else if(r.roles.length===0)try{if(Ye.async){await r.getInfo();const s=r.roles;o.setRoutes(s)}o.dynamicRoutes.forEach(s=>{D.addRoute(s)}),n({...e,replace:!0})}catch(s){r.resetToken(),K.error(s.message||"路由守卫过程发生错误"),n("/login"),U.done()}else n();else qr(e)?n():(n("/login"),U.done())});D.afterEach(()=>{U.done()});const $r={class:"svg-icon","aria-hidden":"true"},Wr=["href"],Gr=Ge({__name:"index",props:{prefix:{default:"icon"},name:{}},setup(e){const t=e,n=Nt(()=>`#${t.prefix}-${t.name}`);return(r,o)=>(Ke(),Bt("svg",$r,[Lt("use",{href:n.value},null,8,Wr)]))}});const Kr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Xr=Kr(Gr,[["__scopeId","data-v-ce51d543"]]);if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-404"><path d="M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0ZM480 416v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z" /><path d="m955.7 856-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-bug"><path d="M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 34.8-28.2 63-63 63H232c-34.8 0-63-28.2-63-63 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7 6 17.2 13.6 33.6 22.7 49 24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2c41.5-24.3 76.2-59 100.5-100.5 9.1-15.5 16.7-31.9 22.7-49C812.1 793.1 836 831.8 836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3-20.1 11.8-42 20-64.9 24.3V484c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v396.5c-22.9-4.3-44.8-12.5-64.9-24.3-30.3-17.7-55.6-43-73.3-73.3C317.7 752 308 716.8 308 680V412h408v268z" /><path d="M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1-17.2-31.5-42.5-56.8-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9-31.5 17.2-56.8 42.5-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-component"><path d="M64 64h384v384H64V64zm0 512h384v384H64V576zm512 0h384v384H576V576zm192-128c106.039 0 192-85.961 192-192S874.039 64 768 64s-192 85.961-192 192 85.961 192 192 192z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-dashboard"><path d="M924.8 385.6c-22.6-53.4-54.9-101.3-96-142.4-41.1-41.1-89-73.4-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2c-53.4 22.6-101.3 54.9-142.4 96-41.1 41.1-73.4 89-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6C184.5 765.5 140 665.6 140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z" /><path d="M623.5 421.5c-3.1-3.1-8.2-3.1-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5-21.9 21.9-21.9 57.3 0 79.2 21.9 21.9 57.3 21.9 79.2 0 14.7-14.7 19.5-35.4 14.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2-31.1-31.1c-3.1-3.1-8.2-3.1-11.3 0l-56.6 56.6c-3.1 3.1-3.1 8.2 0 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1c-3.1-3.1-8.2-3.1-11.3 0l-31.1 31.1c-3.1 3.1-3.1 8.2 0 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-fullscreen-exit"><path d="M704 864v-96c0-54.4 41.6-96 96-96h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-89.6 0-160 70.4-160 160v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64-704v96c0 89.6 70.4 160 160 160h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-54.4 0-96-41.6-96-96v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32zM384 864v-96c0-89.6-70.4-160-160-160h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c54.4 0 96 41.6 96 96v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64-704v96c0 54.4-41.6 96-96 96h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c89.6 0 160-70.4 160-160v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-fullscreen"><path d="M192 384v-96c0-54.4 41.6-96 96-96h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-89.6 0-160 70.4-160 160v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64 256v96c0 89.6 70.4 160 160 160h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-54.4 0-96-41.6-96-96v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32zm768-256v-96c0-89.6-70.4-160-160-160h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c54.4 0 96 41.6 96 96v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64 256v96c0 54.4-41.6 96-96 96h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c89.6 0 160-70.4 160-160v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32z" /></symbol><symbol aria-label="Arrow down" viewBox="0 0 15 15" id="icon-keyboard-down"><path d="M7.5 3.5v8m3-3-3 3-3-3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Enter key" viewBox="0 0 15 15" id="icon-keyboard-enter"><path d="M12 3.53v3c0 1-1 2-2 2H4m3 3-3-3 3-3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Escape key" viewBox="0 0 15 15" id="icon-keyboard-esc"><path d="M13.617 8.936c-.107.358-.689.962-1.488.962-.8 0-1.653-.916-1.653-2.126v-.568c0-1.254.79-2.101 1.653-2.101.864 0 1.36.478 1.488 1.072M9 6c-.135-.473-.75-.922-1.46-.897-.71.024-1.344.57-1.344 1.216s.42.882 1.345.98C8.464 7.4 8.967 7.935 9 8.5c.032.566-.454 1.398-1.46 1.398C6.66 9.898 6 9 5.963 8.485m-1.475.537c-.263.594-.81.876-1.544.876s-1.707-.625-1.707-2.204v-.46c0-1.042.72-2.131 1.707-2.131.986 0 1.642 1.03 1.544 2.249H1.532" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Arrow up" viewBox="0 0 15 15" id="icon-keyboard-up"><path d="M7.5 11.5v-8m3 3-3-3-3 3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-link"><path d="M574 665.4c-3.1-3.1-8.2-3.1-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8c-3.1-3.1-8.2-3.1-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6c-3.1 3.1-3.1 8.2 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6c-3.1 3.1-3.1 8.2 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1z" /><path d="M610.1 372.3c-3.1-3.1-8.2-3.1-11.3 0L372.3 598.7c-3.1 3.1-3.1 8.2 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-lock"><path d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z" /><path d="M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53c12.1-8.7 20-22.9 20-39 0-26.5-21.5-48-48-48s-48 21.5-48 48c0 16.1 7.9 30.3 20 39z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-menu"><path d="M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-search"><path d="M862.609 816.955 726.44 680.785l-.059-.056a358.907 358.907 0 0 0 56.43-91.927c18.824-44.507 28.369-91.767 28.369-140.467 0-48.701-9.545-95.96-28.369-140.467-18.176-42.973-44.19-81.56-77.319-114.689-33.13-33.129-71.717-59.144-114.69-77.32-44.507-18.825-91.767-28.37-140.467-28.37-48.701 0-95.96 9.545-140.467 28.37-42.973 18.176-81.56 44.19-114.689 77.32-33.13 33.129-59.144 71.717-77.32 114.689-18.825 44.507-28.37 91.767-28.37 140.467 0 48.7 9.545 95.96 28.37 140.467 18.176 42.974 44.19 81.561 77.32 114.69 33.129 33.129 71.717 59.144 114.689 77.319 44.507 18.824 91.767 28.369 140.467 28.369 48.7 0 95.96-9.545 140.467-28.369 32.78-13.864 62.997-32.303 90.197-54.968.063.064.122.132.186.195l136.169 136.17c6.25 6.25 14.438 9.373 22.628 9.373 8.188 0 16.38-3.125 22.627-9.372 12.496-12.496 12.496-32.758 0-45.254zm-412.274-69.466c-79.907 0-155.031-31.118-211.534-87.62-56.503-56.503-87.62-131.627-87.62-211.534s31.117-155.031 87.62-211.534c56.502-56.503 131.626-87.62 211.534-87.62s155.031 31.117 211.534 87.62c56.502 56.502 87.62 131.626 87.62 211.534s-31.118 155.031-87.62 211.534c-56.503 56.502-131.627 87.62-211.534 87.62z" /></symbol><symbol viewBox="0 0 220 220" id="icon-unocss"><path d="M117.444 167.888c0-27.615 22.386-50 50-50s50 22.385 50 50c0 27.614-22.386 50-50 50s-50-22.386-50-50ZM117.444 53c0-27.614 22.386-50 50-50s50 22.386 50 50v45a5 5 0 0 1-5 5h-90a5 5 0 0 1-5-5V53ZM102 167.888c0 27.614-22.386 50-50 50s-50-22.386-50-50v-45a5 5 0 0 1 5-5h90a5 5 0 0 1 5 5v45Z" /></symbol>',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}function Yr(e){e.component("SvgIcon",Xr)}function Zr(e){e.use(zt)}function Qr(e){for(const[t,n]of Object.entries(Ht))e.component(t,n)}ge.use(jt);ge.setup({size:"medium",zIndex:9999,version:0,loadingText:null,table:{showHeader:!0,showOverflow:"tooltip",showHeaderOverflow:"tooltip",autoResize:!0,border:"inner",emptyText:"暂无数据",rowConfig:{isHover:!0,isCurrent:!0},columnConfig:{resizable:!1},align:"center",headerAlign:"center",rowId:"_VXE_ID"},pager:{perfect:!1,pageSize:10,pagerCount:7,pageSizes:[10,20,50],layouts:["Total","PrevJump","PrevPage","Number","NextPage","NextJump","Sizes","FullJump"]},modal:{minWidth:500,minHeight:400,lockView:!0,mask:!0,dblclickZoom:!1,showTitleOverflow:!0,transfer:!0,draggable:!1}});function eo(e){e.use(ge)}function to(e){Zr(e),Qr(e),eo(e)}const no={mounted(e,t){var o;const{value:n}=t,{roles:r}=Ce();if(Array.isArray(n)&&n.length>0)r.some(i=>n.includes(i))||((o=e.parentNode)==null||o.removeChild(e));else throw new Error(`need roles! Like v-permission="['admin','editor']"`)}};function ro(e){e.directive("permission",no)}const W=Ft(an);to(W);Yr(W);ro(W);W.use(ne).use(D);D.isReady().then(()=>{W.mount("#app")});export{Kr as _,tt as a,lo as b,et as c,Ur as d,fo as e,mo as f,co as g,rn as h,Re as i,Ce as j,on as r,uo as s,nt as u};