var _s=Object.defineProperty;var gs=(e,t,n)=>t in e?_s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ee=(e,t,n)=>(gs(e,typeof t!="symbol"?t+"":t,n),n);import{r as ae,d as gr,f as Ye,a7 as Tn,E as Es,i as Er,G as bs,M as br,u as ys,aj as Ss,ak as Ts,al as Ls,am as qe,m as Ns,w as Be,e as Ae,h as Os,j as vs,ad as As,s as Cs,q as Is,a as $e,a6 as yr,F as Sr,p as ws,b as Rs,P as ks,Y as Ps,ag as Fs}from"./vue-36xLYPZL.js";import{E as ot,g as Ds,m as Ms,c as xs,a as Us,i as Vs,b as Bs}from"./element-sBCIUY9_.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const oe="oms";class V{}ee(V,"TOKEN",`${oe}-token-key`),ee(V,"CONFIG_LAYOUT",`${oe}-config-layout-key`),ee(V,"SIDEBAR_STATUS",`${oe}-sidebar-status-key`),ee(V,"ACTIVE_THEME_NAME",`${oe}-active-theme-name-key`),ee(V,"VISITED_VIEWS",`${oe}-visited-views-key`),ee(V,"CACHED_VIEWS",`${oe}-cached-views-key`),ee(V,"MENUS",`${oe}-menus-key`),ee(V,"VERSION",`${oe}-version`),ee(V,"LANGEUAGE",`${oe}-language`),ee(V,"ACTIVE",`${oe}-active`),ee(V,"SIDEBAR_MENU_STATUS",`${oe}-sidebar-menu_status-key`);const $s=()=>{const e=localStorage.getItem(V.CONFIG_LAYOUT);return e?JSON.parse(e):null},js=e=>{localStorage.setItem(V.CONFIG_LAYOUT,JSON.stringify(e))},Hs=()=>{localStorage.removeItem(V.CONFIG_LAYOUT)},il=()=>localStorage.getItem(V.SIDEBAR_STATUS),cl=e=>{localStorage.setItem(V.SIDEBAR_STATUS,e)},Ws=()=>localStorage.getItem(V.ACTIVE_THEME_NAME),Gs=e=>{localStorage.setItem(V.ACTIVE_THEME_NAME,e)},Ys=()=>{const e=localStorage.getItem(V.VISITED_VIEWS);return JSON.parse(e??"[]")},qs=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(V.VISITED_VIEWS,JSON.stringify(e))},Js=()=>{const e=localStorage.getItem(V.CACHED_VIEWS);return JSON.parse(e??"[]")},zs=e=>{localStorage.setItem(V.CACHED_VIEWS,JSON.stringify(e))},ll=()=>{const e=localStorage.getItem(V.SIDEBAR_MENU_STATUS);return e?JSON.parse(e):!1},ul=e=>{localStorage.setItem(V.SIDEBAR_MENU_STATUS,JSON.stringify(e))},Tr="normal",Xs=[{title:"默认",name:Tr},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],an=ae(Ws()||Tr),Ks=e=>{an.value=e},Qs=e=>{document.documentElement.className=e},Zs=()=>{gr(()=>{const e=an.value;Qs(e),Gs(e)})};function eo(){return{themeList:Xs,activeThemeName:an,initTheme:Zs,setTheme:Ks}}var to={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 no=Ye({__name:"App",setup(e){const{initTheme:t}=eo();return t(),(n,r)=>{const s=Tn("router-view"),o=Tn("el-config-provider");return Er(),Es(o,{locale:ys(to)},{default:bs(()=>[br(s)]),_:1},8,["locale"])}}}),ft=Ss(),ro="modulepreload",so=function(e,t){return new URL(e,t).href},Ln={},ce=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");s=Promise.all(n.map(a=>{if(a=so(a,r),a in Ln)return;Ln[a]=!0;const i=a.endsWith(".css"),c=i?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const g=o[f];if(g.href===a&&(!i||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${c}`))return;const _=document.createElement("link");if(_.rel=i?"stylesheet":ro,i||(_.as="script",_.crossOrigin=""),_.href=a,document.head.appendChild(_),i)return new Promise((f,g)=>{_.addEventListener("load",f),_.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${a}`)))})}))}return s.then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})},oo=Ts(""),Nn=()=>ce(()=>import("./index-CchFbwiA.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),Lr=[{path:"/redirect",component:Nn,meta:{hidden:!0},children:[{path:"/redirect/:path(.*)",component:()=>ce(()=>import("./index-Cpv2gSTC.js"),__vite__mapDeps([4,1]),import.meta.url)}]},{path:"/403",component:()=>ce(()=>import("./403-Clu8qA1o.js"),__vite__mapDeps([5,6,1,7,2]),import.meta.url),meta:{hidden:!0}},{path:"/404",component:()=>ce(()=>import("./404-C83ebzGi.js"),__vite__mapDeps([8,6,1,7,2]),import.meta.url),meta:{hidden:!0},alias:"/:pathMatch(.*)*"},{path:"/",component:Nn,redirect:"/home",children:[{path:"home",component:()=>ce(()=>import("./index-CKoYVQgD.js"),__vite__mapDeps([9,1,2,10]),import.meta.url),name:"Home",meta:{title:"首页"}},{path:"notify",component:()=>ce(()=>import("./index-CxS9q7v9.js"),__vite__mapDeps([11,1,2,12]),import.meta.url),name:"Notify",meta:{title:"消息通知"}},{path:"m-update-password",component:()=>ce(()=>import("./index-C-KzaTBT.js"),__vite__mapDeps([13,1,2,14]),import.meta.url),name:"UpdatePassword",meta:{title:"修改密码"}},{path:"m-basic-info",component:()=>ce(()=>import("./index-BA5rmLgM.js"),__vite__mapDeps([15,1,2,16]),import.meta.url),name:"BasicInfo",meta:{title:"基本信息"}}]}],ge=Ls({history:oo,routes:Lr});function ao(){try{ge.getRoutes().forEach(e=>{var r;const{name:t,meta:n}=e;t&&((r=n.roles)!=null&&r.length)&&ge.hasRoute(t)&&ge.removeRoute(t)})}catch{window.location.reload()}}function tt(e){for(var t=1;t"u")){a=tt({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in a)a[c]&&(i+="; "+c,a[c]!==!0&&(i+="="+a[c].split(";")[0]));return document.cookie=s+"="+e.write(o,s)+i}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var o=document.cookie?document.cookie.split("; "):[],a={},i=0;iNr.get(V.TOKEN),co=()=>{Nr.remove(V.TOKEN)};function vr(e,t){return function(){return e.apply(t,arguments)}}const{toString:lo}=Object.prototype,{getPrototypeOf:cn}=Object,dt=(e=>t=>{const n=lo.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ue=e=>(e=e.toLowerCase(),t=>dt(t)===e),mt=e=>t=>typeof t===e,{isArray:Pe}=Array,je=mt("undefined");function uo(e){return e!==null&&!je(e)&&e.constructor!==null&&!je(e.constructor)&&ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ar=ue("ArrayBuffer");function fo(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ar(e.buffer),t}const mo=mt("string"),ne=mt("function"),Cr=mt("number"),pt=e=>e!==null&&typeof e=="object",po=e=>e===!0||e===!1,at=e=>{if(dt(e)!=="object")return!1;const t=cn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ho=ue("Date"),_o=ue("File"),go=ue("Blob"),Eo=ue("FileList"),bo=e=>pt(e)&&ne(e.pipe),yo=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ne(e.append)&&((t=dt(e))==="formdata"||t==="object"&&ne(e.toString)&&e.toString()==="[object FormData]"))},So=ue("URLSearchParams"),To=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Je(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Pe(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const wr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Rr=e=>!je(e)&&e!==wr;function jt(){const{caseless:e}=Rr(this)&&this||{},t={},n=(r,s)=>{const o=e&&Ir(t,s)||s;at(t[o])&&at(r)?t[o]=jt(t[o],r):at(r)?t[o]=jt({},r):Pe(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(Je(t,(s,o)=>{n&&ne(s)?e[o]=vr(s,n):e[o]=s},{allOwnKeys:r}),e),No=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Oo=(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)},vo=(e,t,n,r)=>{let s,o,a;const i={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],(!r||r(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&cn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ao=(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},Co=e=>{if(!e)return null;if(Pe(e))return e;let t=e.length;if(!Cr(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Io=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&cn(Uint8Array)),wo=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Ro=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ko=ue("HTMLFormElement"),Po=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),On=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Fo=ue("RegExp"),kr=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Je(n,(s,o)=>{let a;(a=t(s,o,e))!==!1&&(r[o]=a||s)}),Object.defineProperties(e,r)},Do=e=>{kr(e,(t,n)=>{if(ne(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ne(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+"'")})}})},Mo=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Pe(e)?r(e):r(String(e).split(t)),n},xo=()=>{},Uo=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Dt="abcdefghijklmnopqrstuvwxyz",vn="0123456789",Pr={DIGIT:vn,ALPHA:Dt,ALPHA_DIGIT:Dt+Dt.toUpperCase()+vn},Vo=(e=16,t=Pr.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Bo(e){return!!(e&&ne(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const $o=e=>{const t=new Array(10),n=(r,s)=>{if(pt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Pe(r)?[]:{};return Je(r,(a,i)=>{const c=n(a,s+1);!je(c)&&(o[i]=c)}),t[s]=void 0,o}}return r};return n(e,0)},jo=ue("AsyncFunction"),Ho=e=>e&&(pt(e)||ne(e))&&ne(e.then)&&ne(e.catch),S={isArray:Pe,isArrayBuffer:Ar,isBuffer:uo,isFormData:yo,isArrayBufferView:fo,isString:mo,isNumber:Cr,isBoolean:po,isObject:pt,isPlainObject:at,isUndefined:je,isDate:ho,isFile:_o,isBlob:go,isRegExp:Fo,isFunction:ne,isStream:bo,isURLSearchParams:So,isTypedArray:Io,isFileList:Eo,forEach:Je,merge:jt,extend:Lo,trim:To,stripBOM:No,inherits:Oo,toFlatObject:vo,kindOf:dt,kindOfTest:ue,endsWith:Ao,toArray:Co,forEachEntry:wo,matchAll:Ro,isHTMLForm:ko,hasOwnProperty:On,hasOwnProp:On,reduceDescriptors:kr,freezeMethods:Do,toObjectSet:Mo,toCamelCase:Po,noop:xo,toFiniteNumber:Uo,findKey:Ir,global:wr,isContextDefined:Rr,ALPHABET:Pr,generateString:Vo,isSpecCompliantForm:Bo,toJSONObject:$o,isAsyncFn:jo,isThenable:Ho};function F(e,t,n,r,s){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),s&&(this.response=s)}S.inherits(F,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:S.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Fr=F.prototype,Dr={};["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=>{Dr[e]={value:e}});Object.defineProperties(F,Dr);Object.defineProperty(Fr,"isAxiosError",{value:!0});F.from=(e,t,n,r,s,o)=>{const a=Object.create(Fr);return S.toFlatObject(e,a,function(c){return c!==Error.prototype},i=>i!=="isAxiosError"),F.call(a,e.message,t,n,r,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Wo=null;function Ht(e){return S.isPlainObject(e)||S.isArray(e)}function Mr(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function An(e,t,n){return e?e.concat(t).map(function(s,o){return s=Mr(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Go(e){return S.isArray(e)&&!e.some(Ht)}const Yo=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function ht(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,T){return!S.isUndefined(T[h])});const r=n.metaTokens,s=n.visitor||_,o=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(s))throw new TypeError("visitor must be a function");function p(d){if(d===null)return"";if(S.isDate(d))return d.toISOString();if(!c&&S.isBlob(d))throw new F("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(d)||S.isTypedArray(d)?c&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function _(d,h,T){let m=d;if(d&&!T&&typeof d=="object"){if(S.endsWith(h,"{}"))h=r?h:h.slice(0,-2),d=JSON.stringify(d);else if(S.isArray(d)&&Go(d)||(S.isFileList(d)||S.endsWith(h,"[]"))&&(m=S.toArray(d)))return h=Mr(h),m.forEach(function(O,E){!(S.isUndefined(O)||O===null)&&t.append(a===!0?An([h],E,o):a===null?h:h+"[]",p(O))}),!1}return Ht(d)?!0:(t.append(An(T,h,o),p(d)),!1)}const f=[],g=Object.assign(Yo,{defaultVisitor:_,convertValue:p,isVisitable:Ht});function A(d,h){if(!S.isUndefined(d)){if(f.indexOf(d)!==-1)throw Error("Circular reference detected in "+h.join("."));f.push(d),S.forEach(d,function(m,y){(!(S.isUndefined(m)||m===null)&&s.call(t,m,S.isString(y)?y.trim():y,h,g))===!0&&A(m,h?h.concat(y):[y])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return A(e),t}function Cn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ln(e,t){this._pairs=[],e&&ht(e,this,t)}const xr=ln.prototype;xr.append=function(t,n){this._pairs.push([t,n])};xr.toString=function(t){const n=t?function(r){return t.call(this,r,Cn)}:Cn;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function qo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ur(e,t,n){if(!t)return e;const r=n&&n.encode||qo,s=n&&n.serialize;let o;if(s?o=s(t,n):o=S.isURLSearchParams(t)?t.toString():new ln(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class In{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){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Vr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Jo=typeof URLSearchParams<"u"?URLSearchParams:ln,zo=typeof FormData<"u"?FormData:null,Xo=typeof Blob<"u"?Blob:null,Ko={isBrowser:!0,classes:{URLSearchParams:Jo,FormData:zo,Blob:Xo},protocols:["http","https","file","blob","url","data"]},Br=typeof window<"u"&&typeof document<"u",Qo=(e=>Br&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Zo=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ea=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Br,hasStandardBrowserEnv:Qo,hasStandardBrowserWebWorkerEnv:Zo},Symbol.toStringTag,{value:"Module"})),le={...ea,...Ko};function ta(e,t){return ht(e,new le.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return le.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function na(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ra(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return a=!a&&S.isArray(s)?s.length:a,c?(S.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!i):((!s[a]||!S.isObject(s[a]))&&(s[a]=[]),t(n,r,s[a],o)&&S.isArray(s[a])&&(s[a]=ra(s[a])),!i)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,s)=>{t(na(r),s,n,0)}),n}return null}function sa(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ze={transitional:Vr,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=S.isObject(t);if(o&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return s&&s?JSON.stringify($r(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ta(t,this.formSerializer).toString();if((i=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ht(i?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),sa(t)):t}],transformResponse:[function(t){const n=this.transitional||ze.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&S.isString(t)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(i){if(a)throw i.name==="SyntaxError"?F.from(i,F.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:le.classes.FormData,Blob:le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{ze.headers[e]={}});const oa=S.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"]),aa=e=>{const t={};let n,r,s;return e&&e.split(` `).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||t[n]&&oa[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},wn=Symbol("internals");function xe(e){return e&&String(e).trim().toLowerCase()}function it(e){return e===!1||e==null?e:S.isArray(e)?e.map(it):String(e)}function ia(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 ca=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Mt(e,t,n,r,s){if(S.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function la(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ua(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,a){return this[r].call(this,t,s,o,a)},configurable:!0})})}let re=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(i,c,p){const _=xe(c);if(!_)throw new Error("header name must be a non-empty string");const f=S.findKey(s,_);(!f||s[f]===void 0||p===!0||p===void 0&&s[f]!==!1)&&(s[f||c]=it(i))}const a=(i,c)=>S.forEach(i,(p,_)=>o(p,_,c));return S.isPlainObject(t)||t instanceof this.constructor?a(t,n):S.isString(t)&&(t=t.trim())&&!ca(t)?a(aa(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=xe(t),t){const r=S.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return ia(s);if(S.isFunction(n))return n.call(this,s,r);if(S.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xe(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Mt(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(a){if(a=xe(a),a){const i=S.findKey(r,a);i&&(!n||Mt(r,r[i],i,n))&&(delete r[i],s=!0)}}return S.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Mt(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return S.forEach(this,(s,o)=>{const a=S.findKey(r,o);if(a){n[a]=it(s),delete n[o];return}const i=t?la(o):String(o).trim();i!==o&&delete n[o],n[i]=it(s),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&S.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(s=>r.set(s)),r}static accessor(t){const r=(this[wn]=this[wn]={accessors:{}}).accessors,s=this.prototype;function o(a){const i=xe(a);r[i]||(ua(s,a),r[i]=!0)}return S.isArray(t)?t.forEach(o):o(t),this}};re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(re.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(re);function xt(e,t){const n=this||ze,r=t||n,s=re.from(r.headers);let o=r.data;return S.forEach(e,function(i){o=i.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function jr(e){return!!(e&&e.__CANCEL__)}function Xe(e,t,n){F.call(this,e??"canceled",F.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(Xe,F,{__CANCEL__:!0});function fa(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const da=le.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const a=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),S.isString(r)&&a.push("path="+r),S.isString(s)&&a.push("domain="+s),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ma(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pa(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Hr(e,t){return e&&!ma(t)?pa(e,t):t}const ha=le.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=s(window.location.href),function(a){const i=S.isString(a)?s(a):a;return i.protocol===r.protocol&&i.host===r.host}}():function(){return function(){return!0}}();function _a(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ga(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,a;return t=t!==void 0?t:1e3,function(c){const p=Date.now(),_=r[o];a||(a=p),n[s]=c,r[s]=p;let f=o,g=0;for(;f!==s;)g+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),p-a{const o=s.loaded,a=s.lengthComputable?s.total:void 0,i=o-n,c=r(i),p=o<=a;n=o;const _={loaded:o,total:a,progress:a?o/a:void 0,bytes:i,rate:c||void 0,estimated:c&&a&&p?(a-o)/c:void 0,event:s};_[t?"download":"upload"]=!0,e(_)}}const Ea=typeof XMLHttpRequest<"u",ba=Ea&&function(e){return new Promise(function(n,r){let s=e.data;const o=re.from(e.headers).normalize();let{responseType:a,withXSRFToken:i}=e,c;function p(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let _;if(S.isFormData(s)){if(le.hasStandardBrowserEnv||le.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((_=o.getContentType())!==!1){const[h,...T]=_?_.split(";").map(m=>m.trim()).filter(Boolean):[];o.setContentType([h||"multipart/form-data",...T].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(h+":"+T))}const g=Hr(e.baseURL,e.url);f.open(e.method.toUpperCase(),Ur(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function A(){if(!f)return;const h=re.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:h,config:e,request:f};fa(function(O){n(O),p()},function(O){r(O),p()},m),f=null}if("onloadend"in f?f.onloadend=A:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(A)},f.onabort=function(){f&&(r(new F("Request aborted",F.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new F("Network Error",F.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let T=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Vr;e.timeoutErrorMessage&&(T=e.timeoutErrorMessage),r(new F(T,m.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,f)),f=null},le.hasStandardBrowserEnv&&(i&&S.isFunction(i)&&(i=i(e)),i||i!==!1&&ha(g))){const h=e.xsrfHeaderName&&e.xsrfCookieName&&da.read(e.xsrfCookieName);h&&o.set(e.xsrfHeaderName,h)}s===void 0&&o.setContentType(null),"setRequestHeader"in f&&S.forEach(o.toJSON(),function(T,m){f.setRequestHeader(m,T)}),S.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Rn(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Rn(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=h=>{f&&(r(!h||h.type?new Xe(null,e,f):h),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const d=_a(g);if(d&&le.protocols.indexOf(d)===-1){r(new F("Unsupported protocol "+d+":",F.ERR_BAD_REQUEST,e));return}f.send(s||null)})},Wt={http:Wo,xhr:ba};S.forEach(Wt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const kn=e=>`- ${e}`,ya=e=>S.isFunction(e)||e===null||e===!1,Wr={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o`adapter ${i} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : `+o.map(kn).join(` `):" "+kn(o[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Wt};function Ut(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xe(null,e)}function Pn(e){return Ut(e),e.headers=re.from(e.headers),e.data=xt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Wr.getAdapter(e.adapter||ze.adapter)(e).then(function(r){return Ut(e),r.data=xt.call(e,e.transformResponse,r),r.headers=re.from(r.headers),r},function(r){return jr(r)||(Ut(e),r&&r.response&&(r.response.data=xt.call(e,e.transformResponse,r.response),r.response.headers=re.from(r.response.headers))),Promise.reject(r)})}const Fn=e=>e instanceof re?e.toJSON():e;function Ie(e,t){t=t||{};const n={};function r(p,_,f){return S.isPlainObject(p)&&S.isPlainObject(_)?S.merge.call({caseless:f},p,_):S.isPlainObject(_)?S.merge({},_):S.isArray(_)?_.slice():_}function s(p,_,f){if(S.isUndefined(_)){if(!S.isUndefined(p))return r(void 0,p,f)}else return r(p,_,f)}function o(p,_){if(!S.isUndefined(_))return r(void 0,_)}function a(p,_){if(S.isUndefined(_)){if(!S.isUndefined(p))return r(void 0,p)}else return r(void 0,_)}function i(p,_,f){if(f in t)return r(p,_);if(f in e)return r(void 0,p)}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(p,_)=>s(Fn(p),Fn(_),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(_){const f=c[_]||s,g=f(e[_],t[_],_);S.isUndefined(g)&&f!==i||(n[_]=g)}),n}const Gr="1.6.2",un={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{un[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Dn={};un.transitional=function(t,n,r){function s(o,a){return"[Axios v"+Gr+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,i)=>{if(t===!1)throw new F(s(a," has been removed"+(n?" in "+n:"")),F.ERR_DEPRECATED);return n&&!Dn[a]&&(Dn[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,i):!0}};function Sa(e,t,n){if(typeof e!="object")throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],a=t[o];if(a){const i=e[o],c=i===void 0||a(i,o,e);if(c!==!0)throw new F("option "+o+" must be "+c,F.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new F("Unknown option "+o,F.ERR_BAD_OPTION)}}const Gt={assertOptions:Sa,validators:un},he=Gt.validators;let Te=class{constructor(t){this.defaults=t,this.interceptors={request:new In,response:new In}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ie(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Gt.assertOptions(r,{silentJSONParsing:he.transitional(he.boolean),forcedJSONParsing:he.transitional(he.boolean),clarifyTimeoutError:he.transitional(he.boolean)},!1),s!=null&&(S.isFunction(s)?n.paramsSerializer={serialize:s}:Gt.assertOptions(s,{encode:he.function,serialize:he.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&S.merge(o.common,o[n.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],d=>{delete o[d]}),n.headers=re.concat(a,o);const i=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});const p=[];this.interceptors.response.forEach(function(h){p.push(h.fulfilled,h.rejected)});let _,f=0,g;if(!c){const d=[Pn.bind(this),void 0];for(d.unshift.apply(d,i),d.push.apply(d,p),g=d.length,_=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const a=new Promise(i=>{r.subscribe(i),o=i}).then(s);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,i){r.reason||(r.reason=new Xe(o,a,i),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 Yr(function(s){t=s}),cancel:t}}};function La(e){return function(n){return e.apply(null,n)}}function Na(e){return S.isObject(e)&&e.isAxiosError===!0}const Yt={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(Yt).forEach(([e,t])=>{Yt[t]=e});function qr(e){const t=new Te(e),n=vr(Te.prototype.request,t);return S.extend(n,Te.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return qr(Ie(e,s))},n}const Y=qr(ze);Y.Axios=Te;Y.CanceledError=Xe;Y.CancelToken=Ta;Y.isCancel=jr;Y.VERSION=Gr;Y.toFormData=ht;Y.AxiosError=F;Y.Cancel=Y.CanceledError;Y.all=function(t){return Promise.all(t)};Y.spread=La;Y.isAxiosError=Na;Y.mergeConfig=Ie;Y.AxiosHeaders=re;Y.formToJSON=e=>$r(S.isHTMLForm(e)?new FormData(e):e);Y.getAdapter=Wr.getAdapter;Y.HttpStatusCode=Yt;Y.default=Y;const{Axios:ml,AxiosError:pl,CanceledError:hl,isCancel:_l,CancelToken:gl,VERSION:El,all:bl,Cancel:yl,isAxiosError:Sl,spread:Tl,toFormData:Ll,AxiosHeaders:Nl,HttpStatusCode:Ol,formToJSON:vl,getAdapter:Al,mergeConfig:Cl}=Y,Il=e=>{let t="";try{t=getComputedStyle(document.documentElement).getPropertyValue(e)}catch(n){console.error(n)}return t},wl=(e,t)=>{try{document.documentElement.style.setProperty(e,t)}catch(n){console.error(n)}},Rl=()=>{Hs(),location.reload()},Jr=()=>location.origin;function Mn(){fn().logout(),location.reload()}function Oa(){const e=Y.create();return e.interceptors.request.use(t=>t,t=>Promise.reject(t)),e.interceptors.response.use(t=>{var o;const n=t.data,r=(o=t.request)==null?void 0:o.responseType;if(r==="blob"||r==="arraybuffer")return n;const s=n.code;if(n.rsp==="succ")return n.data;if(s===void 0)return ot.error("接口返回值异常,请联系管理员"),Promise.reject(new Error("接口返回值异常,请联系管理员"));switch(s){case 0:return n;case 401:return Mn();default:return ot.error(n.message||"Error"),Promise.reject(new Error("Error"))}},t=>{switch(Ds(t,"response.status")){case 400:t.message="请求错误";break;case 401:Mn();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 ot.error(t.message),Promise.reject(t)}),e}function va(e){return function(t){const n=Or(),r=Jr(),s={headers:{Authorization:n?`Bearer ${n}`:void 0,"Content-Type":"application/json"},timeout:30*1e3,baseURL:r,data:{}},o=Ms(s,t);return e(o)}}const Aa=Oa(),_t=va(Aa);function Ca(){return _t({url:"index.php?app=desktop&ctl=default&act=getMenus",method:"get"})}function Ia(){return _t({url:"index.php?app=desktop&ctl=passport&act=logout",method:"get"})}function kl(){return _t({url:"index.php?app=desktop&ctl=login&act=getUser",method:"get"})}function Pl(){return _t({url:"index.php?app=desktop&ctl=default&act=getSiteInfo",method:"POST"})}const wa=qe("user",()=>{const e=ae(Or()||""),t=ae([]),n=ae("");return{token:e,roles:t,username:n,setRoles:i=>{t.value=i},login:async()=>{},logout:async()=>{await Ia(),ao()},resetToken:()=>{co(),e.value="",t.value=[]}}});function fn(){return wa(ft)}const Ra=qe("menu",()=>{const e=JSON.parse(localStorage.getItem(V.MENUS))||[],t=ae(e),n=o=>{const a=[];for(const i of o){const c={id:i.menu_id,path:i.route_path||"/",meta:{title:i.menu_title,iconFont:i.icon?"iconfont "+i.icon:"",url:i.menu_path||""}};i.submenus&&i.submenus.length!==0&&(c.children=n(i.submenus)),a.push(c)}return a};return{menus:t,getMenus:async()=>{const o=await Ca();console.log("接口返回的菜单元数据",o),t.value=n(o),console.log("格式化之后得菜单数据",t.value),localStorage.setItem(V.MENUS,JSON.stringify(t.value))},clearMenus:async()=>{localStorage.removeItem(V.MENUS)}}}),ka=e=>{const t=[];for(const n of e){const r={path:n.path,component:()=>ce(()=>import("./index-CchFbwiA.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),name:n.id,meta:{title:n.meta.title},children:[]};for(const s of n.children){const o={path:s.path,name:s.id,meta:{title:s.meta.title},children:[]};r.children.push(o);for(const a of s.children){const i={path:a.path,component:()=>ce(()=>import("./index-CMN1SyIG.js"),__vite__mapDeps([17,1,2,18]),import.meta.url),name:a.id,meta:{title:a.meta.title,isIframe:!0,url:a.meta.url}};o.children.push(i)}}t.push(r)}return t},Pa=async()=>{var n;const e=Ra();(n=e.menus)!=null&&n.length||await e.getMenus();const t=e.menus;return ka(t)},Fa=qe("permission",()=>{const e=ae([]);return{routes:e,setRoutes:async()=>{const n=await Pa();e.value=Lr.concat(n)}}});function Da(){return Fa(ft)}function Ma(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(s){s(n)}),(r=e.get("*"))&&r.slice().map(function(s){s(t,n)})}}}const qt=Ma(),Jt=Symbol("ROUTE_CHANGE");let zt;const xa=e=>{qt.emit(Jt,e),zt=e};function Fl(){const e=[],t=(r,s=!1)=>{e.push(r),qt.on(Jt,r),s&&zt&&r(zt)},n=r=>{qt.off(Jt,r)};return Ns(()=>{for(let r=0;r{zr.value=e?`${xn} | ${e}`:xn};Be(zr,(e,t)=>{document&&e!==t&&(document.title=e)});function Va(){return{setTitle:Ua}}const Ba={layoutMode:"left",showSettings:!0,showTagsView:!0,fixedHeader:!0,showFooter:!1,showLogo:!0,showNotify:!0,showThemeSwitch:!1,showScreenfull:!1,showSearchMenu:!0,cacheTagsView:!0,showWatermark:!1,showGreyMode:!1,showColorWeakness:!1},$a={...Ba,...$s()},ja=qe("settings",()=>{const e={};for(const[n,r]of Object.entries($a)){const s=ae(r);e[n]=s,Be(s,()=>{const o=t();js(o)})}const t=()=>{const n={};for(const[r,s]of Object.entries(e))n[r]=s.value;return n};return e}),Ha=qe("tags-view",()=>{const{cacheTagsView:e}=ja(),t=ae(e?Ys():[]),n=ae(e?Js():[]);return gr(()=>{qs(t.value),zs(n.value)}),{visitedViews:t,cachedViews:n,addVisitedView:f=>{const g=t.value.findIndex(A=>A.path===f.path);g!==-1?t.value[g].fullPath!==f.fullPath&&(t.value[g]={...f}):t.value.push({...f})},addCachedView:f=>{var g;typeof f.name=="string"&&(n.value.includes(f.name)||(g=f.meta)!=null&&g.keepAlive&&n.value.push(f.name))},delVisitedView:f=>{const g=t.value.findIndex(A=>A.path===f.path);g!==-1&&t.value.splice(g,1)},delCachedView:f=>{if(typeof f.name!="string")return;const g=n.value.indexOf(f.name);g!==-1&&n.value.splice(g,1)},delOthersVisitedViews:f=>{t.value=t.value.filter(g=>{var A;return((A=g.meta)==null?void 0:A.affix)||g.path===f.path})},delOthersCachedViews:f=>{if(typeof f.name!="string")return;const g=n.value.indexOf(f.name);g!==-1?n.value=n.value.slice(g,g+1):n.value=[]},delAllVisitedViews:()=>{t.value=t.value.filter(f=>{var g;return(g=f.meta)==null?void 0:g.affix})},delAllCachedViews:()=>{n.value=[]}}});function Wa(){return Ha(ft)}const Ga=()=>{const e=Wa();e.cachedViews=[...e.cachedViews]};var Xr={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(xs,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:'
'};n.configure=function(d){var h,T;for(h in d)T=d[h],T!==void 0&&d.hasOwnProperty(h)&&(r[h]=T);return this},n.status=null,n.set=function(d){var h=n.isStarted();d=s(d,r.minimum,1),n.status=d===1?null:d;var T=n.render(!h),m=T.querySelector(r.barSelector),y=r.speed,O=r.easing;return T.offsetWidth,i(function(E){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),c(m,a(d,y,O)),d===1?(c(T,{transition:"none",opacity:1}),T.offsetWidth,setTimeout(function(){c(T,{transition:"all "+y+"ms linear",opacity:0}),setTimeout(function(){n.remove(),E()},y)},y)):setTimeout(E,y)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var d=function(){setTimeout(function(){n.status&&(n.trickle(),d())},r.trickleSpeed)};return r.trickle&&d(),this},n.done=function(d){return!d&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(d){var h=n.status;return h?(typeof d!="number"&&(d=(1-h)*s(Math.random()*h,.1,.95)),h=s(h+d,0,.994),n.set(h)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var d=0,h=0;n.promise=function(T){return!T||T.state()==="resolved"?this:(h===0&&n.start(),d++,h++,T.always(function(){h--,h===0?(d=0,n.done()):n.set((d-h)/d)}),this)}}(),n.render=function(d){if(n.isRendered())return document.getElementById("nprogress");_(document.documentElement,"nprogress-busy");var h=document.createElement("div");h.id="nprogress",h.innerHTML=r.template;var T=h.querySelector(r.barSelector),m=d?"-100":o(n.status||0),y=document.querySelector(r.parent),O;return c(T,{transition:"all 0 linear",transform:"translate3d("+m+"%,0,0)"}),r.showSpinner||(O=h.querySelector(r.spinnerSelector),O&&A(O)),y!=document.body&&_(y,"nprogress-custom-parent"),y.appendChild(h),h},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var d=document.getElementById("nprogress");d&&A(d)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var d=document.body.style,h="WebkitTransform"in d?"Webkit":"MozTransform"in d?"Moz":"msTransform"in d?"ms":"OTransform"in d?"O":"";return h+"Perspective"in d?"translate3d":h+"Transform"in d?"translate":"margin"};function s(d,h,T){return dT?T:d}function o(d){return(-1+d)*100}function a(d,h,T){var m;return r.positionUsing==="translate3d"?m={transform:"translate3d("+o(d)+"%,0,0)"}:r.positionUsing==="translate"?m={transform:"translate("+o(d)+"%,0)"}:m={"margin-left":o(d)+"%"},m.transition="all "+h+"ms "+T,m}var i=function(){var d=[];function h(){var T=d.shift();T&&T(h)}return function(T){d.push(T),d.length==1&&h()}}(),c=function(){var d=["Webkit","O","Moz","ms"],h={};function T(E){return E.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(C,I){return I.toUpperCase()})}function m(E){var C=document.body.style;if(E in C)return E;for(var I=d.length,N=E.charAt(0).toUpperCase()+E.slice(1),D;I--;)if(D=d[I]+N,D in C)return D;return E}function y(E){return E=T(E),h[E]||(h[E]=m(E))}function O(E,C,I){C=y(C),E.style[C]=I}return function(E,C){var I=arguments,N,D;if(I.length==2)for(N in C)D=C[N],D!==void 0&&C.hasOwnProperty(N)&&O(E,N,D);else O(E,I[1],I[2])}}();function p(d,h){var T=typeof d=="string"?d:g(d);return T.indexOf(" "+h+" ")>=0}function _(d,h){var T=g(d),m=T+h;p(T,h)||(d.className=m.substring(1))}function f(d,h){var T=g(d),m;p(d,h)&&(m=T.replace(" "+h+" "," "),d.className=m.substring(1,m.length-1))}function g(d){return(" "+(d.className||"")+" ").replace(/\s+/gi," ")}function A(d){d&&d.parentNode&&d.parentNode.removeChild(d)}return n})})(Xr);var Ya=Xr.exports;const Ve=Us(Ya),{setTitle:qa}=Va();Ve.configure({showSpinner:!1});let nt=!1;const Un=async e=>{await e.setRoutes(),e.routes.forEach(t=>ge.addRoute(t))};ge.beforeEach(async(e,t,n)=>{var o,a,i;Ga(),Ve.start();const r=fn(),s=Da();if(e.path==="/"){nt||(await Un(s),nt=!0),Ve.done();const c=(i=(a=(o=s.routes[4])==null?void 0:o.children[0])==null?void 0:a.children[0])==null?void 0:i.path;return n({path:c})}try{if(nt)return n();await Un(s),nt=!0,n({...e,replace:!0})}catch(c){r.resetToken(),ot.error(c.message||"路由守卫过程发生错误"),Ve.done();const p=Jr();location.replace(`${p}/index.php?ctl=passport&act=logout`)}});ge.afterEach(e=>{xa(e),qa(e.meta.title),Ve.done()});const Ja={class:"svg-icon","aria-hidden":"true"},za=["href"],Xa=Ye({__name:"index",props:{prefix:{default:"icon"},name:{}},setup(e){const t=e,n=Ae(()=>`#${t.prefix}-${t.name}`);return(r,s)=>(Er(),Os("svg",Ja,[vs("use",{href:n.value},null,8,za)]))}}),Ka=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Qa=Ka(Xa,[["__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='',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}function Za(e){e.component("SvgIcon",Qa)}function ei(e){e.use(Vs)}function ti(e){for(const[t,n]of Object.entries(Bs))e.component(t,n)}function ni(e){ei(e),ti(e)}const ri={mounted(e,t){var s;const{value:n}=t,{roles:r}=fn();if(Array.isArray(n)&&n.length>0)r.some(a=>n.includes(a))||((s=e.parentNode)==null||s.removeChild(e));else throw new Error(`need roles! Like v-permission="['admin','editor']"`)}};function si(e){e.directive("permission",ri)}const lt=typeof window<"u",Ee=(e,t=!1)=>t?Symbol.for(e):Symbol(e),oi=(e,t,n)=>ai({l:e,k:t,s:n}),ai=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),q=e=>typeof e=="number"&&isFinite(e),ii=e=>Qr(e)==="[object Date]",we=e=>Qr(e)==="[object RegExp]",gt=e=>k(e)&&Object.keys(e).length===0,J=Object.assign;let Vn;const Se=()=>Vn||(Vn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ci=Object.prototype.hasOwnProperty;function ut(e,t){return ci.call(e,t)}const H=Array.isArray,$=e=>typeof e=="function",w=e=>typeof e=="string",M=e=>typeof e=="boolean",x=e=>e!==null&&typeof e=="object",li=e=>x(e)&&$(e.then)&&$(e.catch),Kr=Object.prototype.toString,Qr=e=>Kr.call(e),k=e=>{if(!x(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},ui=e=>e==null?"":H(e)||k(e)&&e.toString===Kr?JSON.stringify(e,null,2):String(e);function dn(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function fi(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rt=e=>!x(e)||H(e);function ct(e,t){if(rt(e)||rt(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{rt(r[o])||rt(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}function di(e,t,n){return{line:e,column:t,offset:n}}function Xt(e,t,n){return{start:e,end:t}}const U={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},mi=17;function Et(e,t,n={}){const{domain:r,messages:s,args:o}=n,a=e,i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=r,i}function pi(e){throw e}const de=" ",hi="\r",X=` `,_i="\u2028",gi="\u2029";function Ei(e){const t=e;let n=0,r=1,s=1,o=0;const a=N=>t[N]===hi&&t[N+1]===X,i=N=>t[N]===X,c=N=>t[N]===gi,p=N=>t[N]===_i,_=N=>a(N)||i(N)||c(N)||p(N),f=()=>n,g=()=>r,A=()=>s,d=()=>o,h=N=>a(N)||c(N)||p(N)?X:t[N],T=()=>h(n),m=()=>h(n+o);function y(){return o=0,_(n)&&(r++,s=0),a(n)&&n++,n++,s++,t[n]}function O(){return a(n+o)&&o++,o++,t[n+o]}function E(){n=0,r=1,s=1,o=0}function C(N=0){o=N}function I(){const N=n+o;for(;N!==n;)y();o=0}return{index:f,line:g,column:A,peekOffset:d,charAt:h,currentChar:T,currentPeek:m,next:y,peek:O,reset:E,resetPeek:C,skipToPeek:I}}const _e=void 0,bi=".",$n="'",yi="tokenizer";function Si(e,t={}){const n=t.location!==!1,r=Ei(e),s=()=>r.index(),o=()=>di(r.line(),r.column(),r.index()),a=o(),i=s(),c={currentType:13,offset:i,startLoc:a,endLoc:a,lastType:13,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},p=()=>c,{onError:_}=t;function f(l,u,L,...R){const W=p();if(u.column+=L,u.offset+=L,_){const P=n?Xt(W.startLoc,u):null,b=Et(l,P,{domain:yi,args:R});_(b)}}function g(l,u,L){l.endLoc=o(),l.currentType=u;const R={type:u};return n&&(R.loc=Xt(l.startLoc,l.endLoc)),L!=null&&(R.value=L),R}const A=l=>g(l,13);function d(l,u){return l.currentChar()===u?(l.next(),u):(f(U.EXPECTED_TOKEN,o(),0,u),"")}function h(l){let u="";for(;l.currentPeek()===de||l.currentPeek()===X;)u+=l.currentPeek(),l.peek();return u}function T(l){const u=h(l);return l.skipToPeek(),u}function m(l){if(l===_e)return!1;const u=l.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y(l){if(l===_e)return!1;const u=l.charCodeAt(0);return u>=48&&u<=57}function O(l,u){const{currentType:L}=u;if(L!==2)return!1;h(l);const R=m(l.currentPeek());return l.resetPeek(),R}function E(l,u){const{currentType:L}=u;if(L!==2)return!1;h(l);const R=l.currentPeek()==="-"?l.peek():l.currentPeek(),W=y(R);return l.resetPeek(),W}function C(l,u){const{currentType:L}=u;if(L!==2)return!1;h(l);const R=l.currentPeek()===$n;return l.resetPeek(),R}function I(l,u){const{currentType:L}=u;if(L!==7)return!1;h(l);const R=l.currentPeek()===".";return l.resetPeek(),R}function N(l,u){const{currentType:L}=u;if(L!==8)return!1;h(l);const R=m(l.currentPeek());return l.resetPeek(),R}function D(l,u){const{currentType:L}=u;if(!(L===7||L===11))return!1;h(l);const R=l.currentPeek()===":";return l.resetPeek(),R}function j(l,u){const{currentType:L}=u;if(L!==9)return!1;const R=()=>{const P=l.currentPeek();return P==="{"?m(l.peek()):P==="@"||P==="|"||P===":"||P==="."||P===de||!P?!1:P===X?(l.peek(),R()):se(l,!1)},W=R();return l.resetPeek(),W}function Z(l){h(l);const u=l.currentPeek()==="|";return l.resetPeek(),u}function se(l,u=!0){const L=(W=!1,P="")=>{const b=l.currentPeek();return b==="{"||b==="@"||!b?W:b==="|"?!(P===de||P===X):b===de?(l.peek(),L(!0,de)):b===X?(l.peek(),L(!0,X)):!0},R=L();return u&&l.resetPeek(),R}function z(l,u){const L=l.currentChar();return L===_e?_e:u(L)?(l.next(),L):null}function Le(l){const u=l.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36}function yt(l){return z(l,Le)}function St(l){const u=l.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36||u===45}function Tt(l){return z(l,St)}function Lt(l){const u=l.charCodeAt(0);return u>=48&&u<=57}function Nt(l){return z(l,Lt)}function fe(l){const u=l.charCodeAt(0);return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function Ke(l){return z(l,fe)}function Qe(l){let u="",L="";for(;u=Nt(l);)L+=u;return L}function Ot(l){let u="";for(;;){const L=l.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===de||L===X)if(se(l))u+=L,l.next();else{if(Z(l))break;u+=L,l.next()}else u+=L,l.next()}return u}function vt(l){T(l);let u="",L="";for(;u=Tt(l);)L+=u;return l.currentChar()===_e&&f(U.UNTERMINATED_CLOSING_BRACE,o(),0),L}function At(l){T(l);let u="";return l.currentChar()==="-"?(l.next(),u+=`-${Qe(l)}`):u+=Qe(l),l.currentChar()===_e&&f(U.UNTERMINATED_CLOSING_BRACE,o(),0),u}function Sn(l){return l!==$n&&l!==X}function Ct(l){T(l),d(l,"'");let u="",L="";for(;u=z(l,Sn);)u==="\\"?L+=It(l):L+=u;const R=l.currentChar();return R===X||R===_e?(f(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),R===X&&(l.next(),d(l,"'")),L):(d(l,"'"),L)}function It(l){const u=l.currentChar();switch(u){case"\\":case"'":return l.next(),`\\${u}`;case"u":return Ze(l,u,4);case"U":return Ze(l,u,6);default:return f(U.UNKNOWN_ESCAPE_SEQUENCE,o(),0,u),""}}function Ze(l,u,L){d(l,u);let R="";for(let W=0;W{const R=l.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===de?L:(L+=R,l.next(),u(L))};return u("")}function De(l){T(l);const u=d(l,"|");return T(l),u}function Ne(l,u){let L=null;switch(l.currentChar()){case"{":return u.braceNest>=1&&f(U.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),l.next(),L=g(u,2,"{"),T(l),u.braceNest++,L;case"}":return u.braceNest>0&&u.currentType===2&&f(U.EMPTY_PLACEHOLDER,o(),0),l.next(),L=g(u,3,"}"),u.braceNest--,u.braceNest>0&&T(l),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),L;case"@":return u.braceNest>0&&f(U.UNTERMINATED_CLOSING_BRACE,o(),0),L=Oe(l,u)||A(u),u.braceNest=0,L;default:{let W=!0,P=!0,b=!0;if(Z(l))return u.braceNest>0&&f(U.UNTERMINATED_CLOSING_BRACE,o(),0),L=g(u,1,De(l)),u.braceNest=0,u.inLinked=!1,L;if(u.braceNest>0&&(u.currentType===4||u.currentType===5||u.currentType===6))return f(U.UNTERMINATED_CLOSING_BRACE,o(),0),u.braceNest=0,Me(l,u);if(W=O(l,u))return L=g(u,4,vt(l)),T(l),L;if(P=E(l,u))return L=g(u,5,At(l)),T(l),L;if(b=C(l,u))return L=g(u,6,Ct(l)),T(l),L;if(!W&&!P&&!b)return L=g(u,12,Rt(l)),f(U.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,L.value),T(l),L;break}}return L}function Oe(l,u){const{currentType:L}=u;let R=null;const W=l.currentChar();switch((L===7||L===8||L===11||L===9)&&(W===X||W===de)&&f(U.INVALID_LINKED_FORMAT,o(),0),W){case"@":return l.next(),R=g(u,7,"@"),u.inLinked=!0,R;case".":return T(l),l.next(),g(u,8,".");case":":return T(l),l.next(),g(u,9,":");default:return Z(l)?(R=g(u,1,De(l)),u.braceNest=0,u.inLinked=!1,R):I(l,u)||D(l,u)?(T(l),Oe(l,u)):N(l,u)?(T(l),g(u,11,kt(l))):j(l,u)?(T(l),W==="{"?Ne(l,u)||R:g(u,10,Pt(l))):(L===7&&f(U.INVALID_LINKED_FORMAT,o(),0),u.braceNest=0,u.inLinked=!1,Me(l,u))}}function Me(l,u){let L={type:13};if(u.braceNest>0)return Ne(l,u)||A(u);if(u.inLinked)return Oe(l,u)||A(u);switch(l.currentChar()){case"{":return Ne(l,u)||A(u);case"}":return f(U.UNBALANCED_CLOSING_BRACE,o(),0),l.next(),g(u,3,"}");case"@":return Oe(l,u)||A(u);default:{if(Z(l))return L=g(u,1,De(l)),u.braceNest=0,u.inLinked=!1,L;if(se(l))return g(u,0,Ot(l));break}}return L}function Ft(){const{currentType:l,offset:u,startLoc:L,endLoc:R}=c;return c.lastType=l,c.lastOffset=u,c.lastStartLoc=L,c.lastEndLoc=R,c.offset=s(),c.startLoc=o(),r.currentChar()===_e?g(c,13):Me(r,c)}return{nextToken:Ft,currentOffset:s,currentPosition:o,context:p}}const Ti="parser",Li=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ni(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Oi(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,O,E,...C){const I=m.currentPosition();if(I.offset+=E,I.column+=E,n){const N=t?Xt(O,I):null,D=Et(y,N,{domain:Ti,args:C});n(D)}}function s(m,y,O){const E={type:m};return t&&(E.start=y,E.end=y,E.loc={start:O,end:O}),E}function o(m,y,O,E){t&&(m.end=y,m.loc&&(m.loc.end=O))}function a(m,y){const O=m.context(),E=s(3,O.offset,O.startLoc);return E.value=y,o(E,m.currentOffset(),m.currentPosition()),E}function i(m,y){const O=m.context(),{lastOffset:E,lastStartLoc:C}=O,I=s(5,E,C);return I.index=parseInt(y,10),m.nextToken(),o(I,m.currentOffset(),m.currentPosition()),I}function c(m,y){const O=m.context(),{lastOffset:E,lastStartLoc:C}=O,I=s(4,E,C);return I.key=y,m.nextToken(),o(I,m.currentOffset(),m.currentPosition()),I}function p(m,y){const O=m.context(),{lastOffset:E,lastStartLoc:C}=O,I=s(9,E,C);return I.value=y.replace(Li,Ni),m.nextToken(),o(I,m.currentOffset(),m.currentPosition()),I}function _(m){const y=m.nextToken(),O=m.context(),{lastOffset:E,lastStartLoc:C}=O,I=s(8,E,C);return y.type!==11?(r(m,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,O.lastStartLoc,0),I.value="",o(I,E,C),{nextConsumeToken:y,node:I}):(y.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,ie(y)),I.value=y.value||"",o(I,m.currentOffset(),m.currentPosition()),{node:I})}function f(m,y){const O=m.context(),E=s(7,O.offset,O.startLoc);return E.value=y,o(E,m.currentOffset(),m.currentPosition()),E}function g(m){const y=m.context(),O=s(6,y.offset,y.startLoc);let E=m.nextToken();if(E.type===8){const C=_(m);O.modifier=C.node,E=C.nextConsumeToken||m.nextToken()}switch(E.type!==9&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),E=m.nextToken(),E.type===2&&(E=m.nextToken()),E.type){case 10:E.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),O.key=f(m,E.value||"");break;case 4:E.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),O.key=c(m,E.value||"");break;case 5:E.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),O.key=i(m,E.value||"");break;case 6:E.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),O.key=p(m,E.value||"");break;default:{r(m,U.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const C=m.context(),I=s(7,C.offset,C.startLoc);return I.value="",o(I,C.offset,C.startLoc),O.key=I,o(O,C.offset,C.startLoc),{nextConsumeToken:E,node:O}}}return o(O,m.currentOffset(),m.currentPosition()),{node:O}}function A(m){const y=m.context(),O=y.currentType===1?m.currentOffset():y.offset,E=y.currentType===1?y.endLoc:y.startLoc,C=s(2,O,E);C.items=[];let I=null;do{const j=I||m.nextToken();switch(I=null,j.type){case 0:j.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(a(m,j.value||""));break;case 5:j.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(i(m,j.value||""));break;case 4:j.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(c(m,j.value||""));break;case 6:j.value==null&&r(m,U.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(p(m,j.value||""));break;case 7:{const Z=g(m);C.items.push(Z.node),I=Z.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const N=y.currentType===1?y.lastOffset:m.currentOffset(),D=y.currentType===1?y.lastEndLoc:m.currentPosition();return o(C,N,D),C}function d(m,y,O,E){const C=m.context();let I=E.items.length===0;const N=s(1,y,O);N.cases=[],N.cases.push(E);do{const D=A(m);I||(I=D.items.length===0),N.cases.push(D)}while(C.currentType!==13);return I&&r(m,U.MUST_HAVE_MESSAGES_IN_PLURAL,O,0),o(N,m.currentOffset(),m.currentPosition()),N}function h(m){const y=m.context(),{offset:O,startLoc:E}=y,C=A(m);return y.currentType===13?C:d(m,O,E,C)}function T(m){const y=Si(m,J({},e)),O=y.context(),E=s(0,O.offset,O.startLoc);return t&&E.loc&&(E.loc.source=m),E.body=h(y),e.onCacheKey&&(E.cacheKey=e.onCacheKey(m)),O.currentType!==13&&r(y,U.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,m[O.offset]||""),o(E,y.currentOffset(),y.currentPosition()),E}return{parse:T}}function ie(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function vi(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function jn(e,t){for(let n=0;nHn(n)),e}function Hn(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function c(h,T){a.code+=h}function p(h,T=!0){const m=T?r:"";c(s?m+" ".repeat(h):m)}function _(h=!0){const T=++a.indentLevel;h&&p(T)}function f(h=!0){const T=--a.indentLevel;h&&p(T)}function g(){p(a.indentLevel)}return{context:i,push:c,indent:_,deindent:f,newline:g,helper:h=>`_${h}`,needIndent:()=>a.needIndent}}function wi(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Re(e,t.key),t.modifier?(e.push(", "),Re(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ri(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o{const n=w(t.mode)?t.mode:"normal",r=w(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],i=Ii(e,{filename:r,breakLineCode:s,needIndent:o});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(o),a.length>0&&(i.push(`const { ${dn(a.map(_=>`${_}: _${_}`),", ")} } = ctx`),i.newline()),i.push("return "),Re(i,e),i.deindent(o),i.push("}"),delete e.helpers;const{code:c,map:p}=i.context();return{ast:e,code:c,map:p?p.toJSON():void 0}};function Di(e,t={}){const n=J({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,i=Oi(n).parse(e);return r?(o&&Ci(i),s&&Ce(i),{ast:i,code:""}):(Ai(i,n),Fi(i,n))}function Mi(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Se().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Se().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const be=[];be[0]={w:[0],i:[3,0],"[":[4],o:[7]};be[1]={w:[1],".":[2],"[":[4],o:[7]};be[2]={w:[2],i:[3,0],0:[3,0]};be[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};be[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};be[5]={"'":[4,0],o:8,l:[5,0]};be[6]={'"':[4,0],o:8,l:[6,0]};const xi=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ui(e){return xi.test(e)}function Vi(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Bi(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function $i(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ui(t)?Vi(t):"*"+t}function ji(e){const t=[];let n=-1,r=0,s=0,o,a,i,c,p,_,f;const g=[];g[0]=()=>{a===void 0?a=i:a+=i},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),s++},g[3]=()=>{if(s>0)s--,r=4,g[0]();else{if(s=0,a===void 0||(a=$i(a),a===!1))return!1;g[1]()}};function A(){const d=e[n+1];if(r===5&&d==="'"||r===6&&d==='"')return n++,i="\\"+d,g[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&A())){if(c=Bi(o),f=be[r],p=f[c]||f.l||8,p===8||(r=p[0],p[1]!==void 0&&(_=g[p[1]],_&&(i=o,_()===!1))))return;if(r===7)return t}}const Wn=new Map;function Hi(e,t){return x(e)?e[t]:null}function Wi(e,t){if(!x(e))return null;let n=Wn.get(t);if(n||(n=ji(t),n&&Wn.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;oe,Yi=e=>"",qi="text",Ji=e=>e.length===0?"":dn(e),zi=ui;function Gn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Xi(e){const t=q(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(q(e.named.count)||q(e.named.n))?q(e.named.count)?e.named.count:q(e.named.n)?e.named.n:t:t}function Ki(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Qi(e={}){const t=e.locale,n=Xi(e),r=x(e.pluralRules)&&w(t)&&$(e.pluralRules[t])?e.pluralRules[t]:Gn,s=x(e.pluralRules)&&w(t)&&$(e.pluralRules[t])?Gn:void 0,o=m=>m[r(n,m.length,s)],a=e.list||[],i=m=>a[m],c=e.named||{};q(e.pluralIndex)&&Ki(n,c);const p=m=>c[m];function _(m){const y=$(e.messages)?e.messages(m):x(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):Yi)}const f=m=>e.modifiers?e.modifiers[m]:Gi,g=k(e.processor)&&$(e.processor.normalize)?e.processor.normalize:Ji,A=k(e.processor)&&$(e.processor.interpolate)?e.processor.interpolate:zi,d=k(e.processor)&&w(e.processor.type)?e.processor.type:qi,T={list:i,named:p,plural:o,linked:(m,...y)=>{const[O,E]=y;let C="text",I="";y.length===1?x(O)?(I=O.modifier||I,C=O.type||C):w(O)&&(I=O||I):y.length===2&&(w(O)&&(I=O||I),w(E)&&(C=E||C));const N=_(m)(T),D=C==="vnode"&&H(N)&&I?N[0]:N;return I?f(I)(D,C):D},message:_,type:d,interpolate:A,normalize:g,values:J({},a,c)};return T}let He=null;function Zi(e){He=e}function ec(e,t,n){He&&He.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const tc=nc("function:translate");function nc(e){return t=>He&&He.emit(e,t)}const me={INVALID_ARGUMENT:mi,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},rc=24;function pe(e){return Et(e,null,void 0)}function pn(e,t){return t.locale!=null?Yn(t.locale):Yn(e.locale)}let Vt;function Yn(e){if(w(e))return e;if($(e)){if(e.resolvedOnce&&Vt!=null)return Vt;if(e.constructor.name==="Function"){const t=e();if(li(t))throw pe(me.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Vt=t}else throw pe(me.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw pe(me.NOT_SUPPORT_LOCALE_TYPE)}function sc(e,t,n){return[...new Set([n,...H(t)?t:x(t)?Object.keys(t):w(t)?[t]:[n]])]}function Zr(e,t,n){const r=w(n)?n:We,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;H(a);)a=qn(o,a,t);const i=H(t)||!k(t)?t:t.default?t.default:null;a=w(i)?[i]:i,H(a)&&qn(o,a,!1),s.__localeChainCache.set(r,o)}return o}function qn(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function cc(){return{upper:(e,t)=>t==="text"&&w(e)?e.toUpperCase():t==="vnode"&&x(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&w(e)?e.toLowerCase():t==="vnode"&&x(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&w(e)?zn(e):t==="vnode"&&x(e)&&"__v_isVNode"in e?zn(e.children):e}}let es;function lc(e){es=e}let ts;function uc(e){ts=e}let ns;function fc(e){ns=e}let rs=null;const dc=e=>{rs=e},mc=()=>rs;let ss=null;const Xn=e=>{ss=e},pc=()=>ss;let Kn=0;function hc(e={}){const t=$(e.onWarn)?e.onWarn:fi,n=w(e.version)?e.version:ic,r=w(e.locale)||$(e.locale)?e.locale:We,s=$(r)?We:r,o=H(e.fallbackLocale)||k(e.fallbackLocale)||w(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,a=k(e.messages)?e.messages:{[s]:{}},i=k(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},c=k(e.numberFormats)?e.numberFormats:{[s]:{}},p=J({},e.modifiers||{},cc()),_=e.pluralRules||{},f=$(e.missing)?e.missing:null,g=M(e.missingWarn)||we(e.missingWarn)?e.missingWarn:!0,A=M(e.fallbackWarn)||we(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,h=!!e.unresolving,T=$(e.postTranslation)?e.postTranslation:null,m=k(e.processor)?e.processor:null,y=M(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter,E=$(e.messageCompiler)?e.messageCompiler:es,C=$(e.messageResolver)?e.messageResolver:ts||Hi,I=$(e.localeFallbacker)?e.localeFallbacker:ns||sc,N=x(e.fallbackContext)?e.fallbackContext:void 0,D=e,j=x(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,Z=x(D.__numberFormatters)?D.__numberFormatters:new Map,se=x(D.__meta)?D.__meta:{};Kn++;const z={version:n,cid:Kn,locale:r,fallbackLocale:o,messages:a,modifiers:p,pluralRules:_,missing:f,missingWarn:g,fallbackWarn:A,fallbackFormat:d,unresolving:h,postTranslation:T,processor:m,warnHtmlMessage:y,escapeParameter:O,messageCompiler:E,messageResolver:C,localeFallbacker:I,fallbackContext:N,onWarn:t,__meta:se};return z.datetimeFormats=i,z.numberFormats=c,z.__datetimeFormatters=j,z.__numberFormatters=Z,__INTLIFY_PROD_DEVTOOLS__&&ec(z,n,se),z}function hn(e,t,n,r,s){const{missing:o,onWarn:a}=e;if(o!==null){const i=o(e,n,t,s);return w(i)?i:t}else return t}function Ue(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function _c(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function gc(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;rEc(n,e)}function Ec(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((o,a)=>[...o,Qn(e,a)],[]))}else return Qn(e,n)}function Qn(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,Kt(e,o)],[]);return e.normalize(r)}}function Kt(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(Kt(e,r.k||r.key),s?Kt(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const bc=e=>e;let st=Object.create(null);const ke=e=>x(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function yc(e,t={}){let n=!1;const r=t.onError||pi;return t.onError=s=>{n=!0,r(s)},{...Di(e,t),detectError:n}}function Sc(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&w(e)){M(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||bc)(e),s=st[r];if(s)return s;const{ast:o,detectError:a}=yc(e,{...t,location:!1,jit:!0}),i=Bt(o);return a?i:st[r]=i}else{const n=e.cacheKey;if(n){const r=st[n];return r||(st[n]=Bt(e))}else return Bt(e)}}const Zn=()=>"",te=e=>$(e);function er(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:a,messages:i}=e,[c,p]=Qt(...t),_=M(p.missingWarn)?p.missingWarn:e.missingWarn,f=M(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,g=M(p.escapeParameter)?p.escapeParameter:e.escapeParameter,A=!!p.resolvedMessage,d=w(p.default)||M(p.default)?M(p.default)?o?c:()=>c:p.default:n?o?c:()=>c:null,h=n||d!=null&&(w(d)||$(d)),T=pn(e,p);g&&Tc(p);let[m,y,O]=A?[c,T,i[T]||{}]:os(e,c,T,a,f,_),E=m,C=c;if(!A&&!(w(E)||ke(E)||te(E))&&h&&(E=d,C=E),!A&&(!(w(E)||ke(E)||te(E))||!w(y)))return s?bt:c;let I=!1;const N=()=>{I=!0},D=te(E)?E:as(e,c,y,E,C,N);if(I)return E;const j=Oc(e,y,O,p),Z=Qi(j),se=Lc(e,D,Z),z=r?r(se,c):se;if(__INTLIFY_PROD_DEVTOOLS__){const Le={timestamp:Date.now(),key:w(c)?c:te(E)?E.key:"",locale:y||(te(E)?E.locale:""),format:w(E)?E:te(E)?E.source:"",message:z};Le.meta=J({},e.__meta,mc()||{}),tc(Le)}return z}function Tc(e){H(e.list)?e.list=e.list.map(t=>w(t)?Bn(t):t):x(e.named)&&Object.keys(e.named).forEach(t=>{w(e.named[t])&&(e.named[t]=Bn(e.named[t]))})}function os(e,t,n,r,s,o){const{messages:a,onWarn:i,messageResolver:c,localeFallbacker:p}=e,_=p(e,r,n);let f={},g,A=null;const d="translate";for(let h=0;h<_.length&&(g=_[h],f=a[g]||{},(A=c(f,t))===null&&(A=f[t]),!(w(A)||ke(A)||te(A)));h++)if(!gc(g,_)){const T=hn(e,t,g,o,d);T!==t&&(A=T)}return[A,g,f]}function as(e,t,n,r,s,o){const{messageCompiler:a,warnHtmlMessage:i}=e;if(te(r)){const p=r;return p.locale=p.locale||n,p.key=p.key||t,p}if(a==null){const p=()=>r;return p.locale=n,p.key=t,p}const c=a(r,Nc(e,n,s,r,i,o));return c.locale=n,c.key=t,c.source=r,c}function Lc(e,t,n){return t(n)}function Qt(...e){const[t,n,r]=e,s={};if(!w(t)&&!q(t)&&!te(t)&&!ke(t))throw pe(me.INVALID_ARGUMENT);const o=q(t)?String(t):(te(t),t);return q(n)?s.plural=n:w(n)?s.default=n:k(n)&&!gt(n)?s.named=n:H(n)&&(s.list=n),q(r)?s.plural=r:w(r)?s.default=r:k(r)&&J(s,r),[o,s]}function Nc(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:a=>{throw o&&o(a),a},onCacheKey:a=>oi(t,n,a)}}function Oc(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:a,fallbackLocale:i,fallbackWarn:c,missingWarn:p,fallbackContext:_}=e,g={locale:t,modifiers:s,pluralRules:o,messages:A=>{let d=a(n,A);if(d==null&&_){const[,,h]=os(_,A,t,i,c,p);d=a(h,A)}if(w(d)||ke(d)){let h=!1;const m=as(e,A,t,d,A,()=>{h=!0});return h?Zn:m}else return te(d)?d:Zn}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),q(r.plural)&&(g.pluralIndex=r.plural),g}function tr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[c,p,_,f]=Zt(...t),g=M(_.missingWarn)?_.missingWarn:e.missingWarn;M(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn;const A=!!_.part,d=pn(e,_),h=a(e,s,d);if(!w(c)||c==="")return new Intl.DateTimeFormat(d,f).format(p);let T={},m,y=null;const O="datetime format";for(let I=0;I{is.includes(c)?a[c]=n[c]:o[c]=n[c]}),w(r)?o.locale=r:k(r)&&(a=r),k(s)&&(a=s),[o.key||"",i,o,a]}function nr(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function rr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:i}=e,[c,p,_,f]=en(...t),g=M(_.missingWarn)?_.missingWarn:e.missingWarn;M(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn;const A=!!_.part,d=pn(e,_),h=a(e,s,d);if(!w(c)||c==="")return new Intl.NumberFormat(d,f).format(p);let T={},m,y=null;const O="number format";for(let I=0;I{cs.includes(c)?a[c]=n[c]:o[c]=n[c]}),w(r)?o.locale=r:k(r)&&(a=r),k(s)&&(a=s),[o.key||"",i,o,a]}function sr(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}Mi();const vc="10.0.0-beta.5";function Ac(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Se().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Se().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Se().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Se().__INTLIFY_PROD_DEVTOOLS__=!1)}const K={UNEXPECTED_RETURN_TYPE:rc,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Q(e,...t){return Et(e,null,void 0)}const tn=Ee("__translateVNode"),nn=Ee("__datetimeParts"),rn=Ee("__numberParts"),ls=Ee("__setPluralRules"),us=Ee("__injectWithOption"),sn=Ee("__dispose");function Ge(e){if(!x(e))return e;for(const t in e)if(ut(e,t))if(!t.includes("."))x(e[t])&&Ge(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:c,resource:p}=i;c?(a[c]=a[c]||{},ct(p,a[c])):ct(p,a)}else w(i)&&ct(JSON.parse(i),a)}),s==null&&o)for(const i in a)ut(a,i)&&Ge(a[i]);return a}function fs(e){return e.type}function ds(e,t,n){let r=x(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=_n(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(x(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(x(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function or(e){return br(Ps,null,e,0)}const ar="__INTLIFY_META__",ir=()=>[],Cc=()=>!1;let cr=0;function lr(e){return(t,n,r,s)=>e(n,r,$e()||void 0,s)}const Ic=()=>{const e=$e();let t=null;return e&&(t=fs(e)[ar])?{[ar]:t}:null};function gn(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,o=lt?ae:Cs;let a=M(e.inheritLocale)?e.inheritLocale:!0;const i=o(t&&a?t.locale.value:w(e.locale)?e.locale:We),c=o(t&&a?t.fallbackLocale.value:w(e.fallbackLocale)||H(e.fallbackLocale)||k(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),p=o(_n(i.value,e)),_=o(k(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),f=o(k(e.numberFormats)?e.numberFormats:{[i.value]:{}});let g=t?t.missingWarn:M(e.missingWarn)||we(e.missingWarn)?e.missingWarn:!0,A=t?t.fallbackWarn:M(e.fallbackWarn)||we(e.fallbackWarn)?e.fallbackWarn:!0,d=t?t.fallbackRoot:M(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,T=$(e.missing)?e.missing:null,m=$(e.missing)?lr(e.missing):null,y=$(e.postTranslation)?e.postTranslation:null,O=t?t.warnHtmlMessage:M(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const C=t?t.modifiers:k(e.modifiers)?e.modifiers:{};let I=e.pluralRules||t&&t.pluralRules,N;N=(()=>{r&&Xn(null);const b={version:vc,locale:i.value,fallbackLocale:c.value,messages:p.value,modifiers:C,pluralRules:I,missing:m===null?void 0:m,missingWarn:g,fallbackWarn:A,fallbackFormat:h,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:O,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};b.datetimeFormats=_.value,b.numberFormats=f.value,b.__datetimeFormatters=k(N)?N.__datetimeFormatters:void 0,b.__numberFormatters=k(N)?N.__numberFormatters:void 0;const v=hc(b);return r&&Xn(v),v})(),Ue(N,i.value,c.value);function j(){return[i.value,c.value,p.value,_.value,f.value]}const Z=Ae({get:()=>i.value,set:b=>{i.value=b,N.locale=i.value}}),se=Ae({get:()=>c.value,set:b=>{c.value=b,N.fallbackLocale=c.value,Ue(N,i.value,b)}}),z=Ae(()=>p.value),Le=Ae(()=>_.value),yt=Ae(()=>f.value);function St(){return $(y)?y:null}function Tt(b){y=b,N.postTranslation=b}function Lt(){return T}function Nt(b){b!==null&&(m=lr(b)),T=b,N.missing=m}const fe=(b,v,B,G,ye,et)=>{j();let ve;try{__INTLIFY_PROD_DEVTOOLS__,r||(N.fallbackContext=t?pc():void 0),ve=b(N)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(N.fallbackContext=void 0)}if(B!=="translate exists"&&q(ve)&&ve===bt||B==="translate exists"&&!ve){const[hs,rl]=v();return t&&d?G(t):ye(hs)}else{if(et(ve))return ve;throw Q(K.UNEXPECTED_RETURN_TYPE)}};function Ke(...b){return fe(v=>Reflect.apply(er,null,[v,...b]),()=>Qt(...b),"translate",v=>Reflect.apply(v.t,v,[...b]),v=>v,v=>w(v))}function Qe(...b){const[v,B,G]=b;if(G&&!x(G))throw Q(K.INVALID_ARGUMENT);return Ke(v,B,J({resolvedMessage:!0},G||{}))}function Ot(...b){return fe(v=>Reflect.apply(tr,null,[v,...b]),()=>Zt(...b),"datetime format",v=>Reflect.apply(v.d,v,[...b]),()=>Jn,v=>w(v))}function vt(...b){return fe(v=>Reflect.apply(rr,null,[v,...b]),()=>en(...b),"number format",v=>Reflect.apply(v.n,v,[...b]),()=>Jn,v=>w(v))}function At(b){return b.map(v=>w(v)||q(v)||M(v)?or(String(v)):v)}const Ct={normalize:At,interpolate:b=>b,type:"vnode"};function It(...b){return fe(v=>{let B;const G=v;try{G.processor=Ct,B=Reflect.apply(er,null,[G,...b])}finally{G.processor=null}return B},()=>Qt(...b),"translate",v=>v[tn](...b),v=>[or(v)],v=>H(v))}function Ze(...b){return fe(v=>Reflect.apply(rr,null,[v,...b]),()=>en(...b),"number format",v=>v[rn](...b),ir,v=>w(v)||H(v))}function wt(...b){return fe(v=>Reflect.apply(tr,null,[v,...b]),()=>Zt(...b),"datetime format",v=>v[nn](...b),ir,v=>w(v)||H(v))}function Rt(b){I=b,N.pluralRules=I}function kt(b,v){return fe(()=>{if(!b)return!1;const B=w(v)?v:i.value,G=Ne(B),ye=N.messageResolver(G,b);return ke(ye)||te(ye)||w(ye)},()=>[b],"translate exists",B=>Reflect.apply(B.te,B,[b,v]),Cc,B=>M(B))}function Pt(b){let v=null;const B=Zr(N,c.value,i.value);for(let G=0;G{a&&(i.value=b,N.locale=b,Ue(N,i.value,c.value))}),Be(t.fallbackLocale,b=>{a&&(c.value=b,N.fallbackLocale=b,Ue(N,i.value,c.value))}));const P={id:cr,locale:Z,fallbackLocale:se,get inheritLocale(){return a},set inheritLocale(b){a=b,b&&t&&(i.value=t.locale.value,c.value=t.fallbackLocale.value,Ue(N,i.value,c.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:z,get modifiers(){return C},get pluralRules(){return I||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(b){g=b,N.missingWarn=g},get fallbackWarn(){return A},set fallbackWarn(b){A=b,N.fallbackWarn=A},get fallbackRoot(){return d},set fallbackRoot(b){d=b},get fallbackFormat(){return h},set fallbackFormat(b){h=b,N.fallbackFormat=h},get warnHtmlMessage(){return O},set warnHtmlMessage(b){O=b,N.warnHtmlMessage=b},get escapeParameter(){return E},set escapeParameter(b){E=b,N.escapeParameter=b},t:Ke,getLocaleMessage:Ne,setLocaleMessage:Oe,mergeLocaleMessage:Me,getPostTranslationHandler:St,setPostTranslationHandler:Tt,getMissingHandler:Lt,setMissingHandler:Nt,[ls]:Rt};return P.datetimeFormats=Le,P.numberFormats=yt,P.rt=Qe,P.te=kt,P.tm=De,P.d=Ot,P.n=vt,P.getDateTimeFormat=Ft,P.setDateTimeFormat=l,P.mergeDateTimeFormat=u,P.getNumberFormat=L,P.setNumberFormat=R,P.mergeNumberFormat=W,P[us]=n,P[tn]=It,P[nn]=wt,P[rn]=Ze,P}function wc(e){const t=w(e.locale)?e.locale:We,n=w(e.fallbackLocale)||H(e.fallbackLocale)||k(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=$(e.missing)?e.missing:void 0,s=M(e.silentTranslationWarn)||we(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=M(e.silentFallbackWarn)||we(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=M(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,c=k(e.modifiers)?e.modifiers:{},p=e.pluralizationRules,_=$(e.postTranslation)?e.postTranslation:void 0,f=w(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,A=M(e.sync)?e.sync:!0;let d=e.messages;if(k(e.sharedMessages)){const C=e.sharedMessages;d=Object.keys(C).reduce((N,D)=>{const j=N[D]||(N[D]={});return J(j,C[D]),N},d||{})}const{__i18n:h,__root:T,__injectWithOption:m}=e,y=e.datetimeFormats,O=e.numberFormats,E=e.flatJson;return{locale:t,fallbackLocale:n,messages:d,flatJson:E,datetimeFormats:y,numberFormats:O,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:a,fallbackFormat:i,modifiers:c,pluralRules:p,postTranslation:_,warnHtmlMessage:f,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:A,__i18n:h,__root:T,__injectWithOption:m}}function on(e={}){const t=gn(wc(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return M(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=M(s)?!s:s},get silentFallbackWarn(){return M(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=M(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[o,a,i]=s,c={plural:1};let p=null,_=null;if(!w(o))throw Q(K.INVALID_ARGUMENT);const f=o;return w(a)?c.locale=a:q(a)?c.plural=a:H(a)?p=a:k(a)&&(_=a),w(i)?c.locale=i:H(i)?p=i:k(i)&&(_=i),Reflect.apply(t.t,t,[f,p||_||{},c])},te(s,o){return t.te(s,o)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,o){t.setLocaleMessage(s,o)},mergeLocaleMessage(s,o){t.mergeLocaleMessage(s,o)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,o){t.setDateTimeFormat(s,o)},mergeDateTimeFormat(s,o){t.mergeDateTimeFormat(s,o)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,o){t.setNumberFormat(s,o)},mergeNumberFormat(s,o){t.mergeNumberFormat(s,o)}};return r.__extender=n,r}const En={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Rc({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Sr?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function ms(){return Sr}const kc=Ye({name:"i18n-t",props:J({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>q(e)||!isNaN(e)}},En),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||bn({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=w(e.plural)?+e.plural:e.plural);const i=Rc(t,o),c=s[tn](e.keypath,i,a),p=J({},r),_=w(e.tag)||x(e.tag)?e.tag:ms();return yr(_,p,c)}}}),ur=kc;function Pc(e){return H(e)&&!w(e[0])}function ps(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),w(e.format)?a.key=e.format:x(e.format)&&(w(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((g,A)=>n.includes(A)?J({},g,{[A]:e.format[A]}):g,{}));const c=r(e.value,a,i);let p=[a.key];H(c)?p=c.map((g,A)=>{const d=s[g.type],h=d?d({[g.type]:g.value,index:A,parts:c}):[g.value];return Pc(h)&&(h[0].key=`${g.type}-${A}`),h}):w(c)&&(p=[c]);const _=J({},o),f=w(e.tag)||x(e.tag)?e.tag:ms();return yr(f,_,p)}}const Fc=Ye({name:"i18n-n",props:J({value:{type:Number,required:!0},format:{type:[String,Object]}},En),setup(e,t){const n=e.i18n||bn({useScope:e.scope,__useComponent:!0});return ps(e,t,cs,(...r)=>n[rn](...r))}}),fr=Fc,Dc=Ye({name:"i18n-d",props:J({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},En),setup(e,t){const n=e.i18n||bn({useScope:e.scope,__useComponent:!0});return ps(e,t,is,(...r)=>n[nn](...r))}}),dr=Dc;function Mc(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function xc(e){const t=a=>{const{instance:i,value:c}=a;if(!i||!i.$)throw Q(K.UNEXPECTED_ERROR);const p=Mc(e,i.$),_=mr(c);return[Reflect.apply(p.t,p,[...pr(_)]),p]};return{created:(a,i)=>{const[c,p]=t(i);lt&&e.global===p&&(a.__i18nWatcher=Be(p.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=p,a.textContent=c},unmounted:a=>{lt&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const c=a.__composer,p=mr(i);a.textContent=Reflect.apply(c.t,c,[...pr(p)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function mr(e){if(w(e))return{path:e};if(k(e)){if(!("path"in e))throw Q(K.REQUIRED_VALUE,"path");return e}else throw Q(K.INVALID_VALUE)}function pr(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},i=r||{};return w(n)&&(a.locale=n),q(s)&&(a.plural=s),q(o)&&(a.plural=o),[t,i,a]}function Uc(e,t,...n){const r=k(n[0])?n[0]:{};(M(r.globalInstall)?r.globalInstall:!0)&&([ur.name,"I18nT"].forEach(o=>e.component(o,ur)),[fr.name,"I18nN"].forEach(o=>e.component(o,fr)),[dr.name,"I18nD"].forEach(o=>e.component(o,dr))),e.directive("t",xc(t))}function Vc(e,t,n){return{beforeCreate(){const r=$e();if(!r)throw Q(K.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const o=s.i18n;if(s.__i18n&&(o.__i18n=s.__i18n),o.__root=t,this===this.$root)this.$i18n=hr(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=on(o);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=hr(e,s);else{this.$i18n=on({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&ds(t,s,s),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,a)=>this.$i18n.te(o,a),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=$e();if(!r)throw Q(K.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function hr(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[ls](t.pluralizationRules||e.pluralizationRules);const n=_n(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Bc=Ee("global-vue-i18n");function $c(e={},t){const n=__VUE_I18N_LEGACY_API__&&M(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=M(e.globalInjection)?e.globalInjection:!0,s=new Map,[o,a]=jc(e,n),i=Ee("");function c(g){return s.get(g)||null}function p(g,A){s.set(g,A)}function _(g){s.delete(g)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(g,...A){if(g.__VUE_I18N_SYMBOL__=i,g.provide(g.__VUE_I18N_SYMBOL__,f),k(A[0])){const T=A[0];f.__composerExtend=T.__composerExtend,f.__vueI18nExtend=T.__vueI18nExtend}let d=null;!n&&r&&(d=Xc(g,f.global)),__VUE_I18N_FULL_INSTALL__&&Uc(g,f,...A),__VUE_I18N_LEGACY_API__&&n&&g.mixin(Vc(a,a.__composer,f));const h=g.unmount;g.unmount=()=>{d&&d(),f.dispose(),h()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:p,__deleteInstance:_};return f}function bn(e={}){const t=$e();if(t==null)throw Q(K.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Q(K.NOT_INSTALLED);const n=Hc(t),r=Gc(n),s=fs(t),o=Wc(e,s);if(o==="global")return ds(r,e,s),r;if(o==="parent"){let c=Yc(n,t,e.__useComponent);return c==null&&(c=r),c}const a=n;let i=a.__getInstance(t);if(i==null){const c=J({},e);"__i18n"in s&&(c.__i18n=s.__i18n),r&&(c.__root=r),i=gn(c),a.__composerExtend&&(i[sn]=a.__composerExtend(i)),Jc(a,t,i),a.__setInstance(t,i)}return i}function jc(e,t,n){const r=As(),s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>on(e)):r.run(()=>gn(e));if(s==null)throw Q(K.UNEXPECTED_ERROR);return[r,s]}function Hc(e){const t=ws(e.isCE?Bc:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Q(e.isCE?K.NOT_INSTALLED_WITH_PROVIDE:K.UNEXPECTED_ERROR);return t}function Wc(e,t){return gt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Gc(e){return e.mode==="composition"?e.global:e.global.__composer}function Yc(e,t,n=!1){let r=null;const s=t.root;let o=qc(t,n);for(;o!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(o);i!=null&&(r=i.__composer,n&&r&&!r[us]&&(r=null))}if(r!=null||s===o)break;o=o.parent}return r}function qc(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Jc(e,t,n){Rs(()=>{},t),ks(()=>{const r=n;e.__deleteInstance(t);const s=r[sn];s&&(s(),delete r[sn])},t)}const zc=["locale","fallbackLocale","availableLocales"],_r=["t","rt","d","n","tm","te"];function Xc(e,t){const n=Object.create(null);return zc.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Q(K.UNEXPECTED_ERROR);const a=Is(o.value)?{get(){return o.value.value},set(i){o.value.value=i}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,a)}),e.config.globalProperties.$i18n=n,_r.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Q(K.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,_r.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}Ac();lc(Sc);uc(Wi);fc(Zr);if(__INTLIFY_PROD_DEVTOOLS__){const e=Se();e.__INTLIFY__=!0,Zi(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Kc={"SearchMenu.index.273193-0":"无法通过搜索进入该菜单,请为对应的路由设置唯一的 Name","SearchMenu.index.273193-1":"该菜单有问题,无法通过搜索进入","SearchMenu.index.273193-2":"搜索菜单","Auth.index.773439-0":"商业授权","FillAssistant.index.262300-0":"京麦评价","FillAssistant.index.262300-1":"评价成功","Notify.index.721841-0":"通知","Notify.index.721841-1":"消息","Notify.index.721841-2":"待办","Notify.index.721841-3":"消息通知","components.ErrorPageLayout.904421-0":"回到首页"},Qc={"SearchMenu.index.273193-0":"Unable to enter the menu through search, please set a unique Name for the corresponding route","SearchMenu.index.273193-1":"This menu has an issue and cannot be accessed through search","SearchMenu.index.273193-2":"Search menu","Auth.index.773439-0":"Commercial Authorization","FillAssistant.index.262300-0":"Jingmai Evaluation","FillAssistant.index.262300-1":"Evaluation success","Notify.index.721841-0":"notice","Notify.index.721841-1":"news","Notify.index.721841-2":"need to be dealt with","Notify.index.721841-3":"Message notification","components.ErrorPageLayout.904421-0":"Return to the homepage"},Zc={"SearchMenu.index.273193-0":"検索からメニューにアクセスできません。対応するルーティングに固有のNameを設定してください","SearchMenu.index.273193-1":"メニューに問題があり、検索でアクセスできません","SearchMenu.index.273193-2":"検索メニュー","Auth.index.773439-0":"ビジネスライセンス","FillAssistant.index.262300-0":"京麦評価","FillAssistant.index.262300-1":"評価成功","Notify.index.721841-0":"に知らせる","Notify.index.721841-1":"メッセージ","Notify.index.721841-2":"保留中","Notify.index.721841-3":"メッセージ通知","components.ErrorPageLayout.904421-0":"トップページに戻る"},el="__mul_lan_key__",yn=$c({legacy:!1,locale:localStorage.getItem(el)||"zh",globalInjection:!0,messages:{zh:Kc,en:Qc,jp:Zc}}),Dl=yn.global.t;yn.global.locale.value;const Fe=Fs(no);ni(Fe);Za(Fe);si(Fe);Fe.use(ft).use(ge);Fe.use(yn);ge.isReady().then(()=>{Fe.mount("#app")});function tl(){window.shopCommonComponents.registerCommonComponents()}function nl(e,t){const n=document.createElement("script");n.type="text/javascript",n.src=e,n.async=!0,document.body.appendChild(n),n.onload=function(){t()}}nl("//jm-static.jd.com/shop-common-components/shop-common-components.iife.js?appId=5UFRIZGCFNDRACJL5NVV",tl);export{Dl as $,V as C,Ka as _,il as a,cl as b,Da as c,Ha as d,ja as e,Pl as f,ll as g,Jr as h,Il as i,Ra as j,eo as k,Fa as l,kl as m,wl as n,Rl as r,ul as s,Fl as u}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["./index-CchFbwiA.js","./vue-36xLYPZL.js","./element-sBCIUY9_.js","./index-DcalFSvb.css","./index-Cpv2gSTC.js","./403-Clu8qA1o.js","./ErrorPageLayout-1QdhroWc.js","./ErrorPageLayout-U0G4cRB6.css","./404-C83ebzGi.js","./index-CKoYVQgD.js","./index-BArKSbHH.css","./index-CxS9q7v9.js","./index-De5OkFls.css","./index-C-KzaTBT.js","./index-DpBu1Uxy.css","./index-BA5rmLgM.js","./index-OiD940_A.css","./index-CMN1SyIG.js","./index-BoKYF1Tx.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) }