Files
OMS/assets/static/index-3FoHnkP0.js
chenping 61783b7d01 1. 【新增】售后单售后原因类型支持搜索
2. 【新增】手工创建订单折扣可输入正数

3. 【优化】盘点申请单确认

4. 【修复】采购退货单模拟出库失败问题

5. 【新增】订单金额客户实付与结算金额

6. 【优化】仓库发货统计报表物料名称显示

7. 【优化】自有仓储虚拟发货逻辑

8. 【修复】基础物料分类管理问题
2026-04-01 11:59:17 +08:00

13 lines
118 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var Ls=Object.defineProperty;var Ns=(e,t,n)=>t in e?Ls(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t,n)=>(Ns(e,typeof t!="symbol"?t+"":t,n),n);import{r as ae,w as Or,l as Ye,ag as Cn,M as Os,O as As,u as Cs,m as Ar,T as Cr,aw as Is,ax as ws,ay as Rs,az as Je,z as ks,b as Be,e as Oe,p as Ps,q as Fs,af as Ir,an as Ds,A as Ms,d as xs,Y as Us,F as wr,c as $e,B as Vs,s as Bs,a4 as $s,as as js}from"./vue-tssh-6K7.js";import{E as ot,g as Hs,m as Ws,c as Gs,a as Ys,i as Js,b as zs}from"./element-2cKDr3_0.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 te="oms";class F{}Q(F,"TOKEN",`${te}-token-key`),Q(F,"CONFIG_LAYOUT",`${te}-config-layout-key`),Q(F,"SIDEBAR_STATUS",`${te}-sidebar-status-key`),Q(F,"ACTIVE_THEME_NAME",`${te}-active-theme-name-key`),Q(F,"VISITED_VIEWS",`${te}-visited-views-key`),Q(F,"CACHED_VIEWS",`${te}-cached-views-key`),Q(F,"MENUS",`${te}-menus-key`),Q(F,"VERSION",`${te}-version`),Q(F,"LANGEUAGE",`${te}-language`),Q(F,"ACTIVE",`${te}-active`),Q(F,"SIDEBAR_MENU_STATUS",`${te}-sidebar-menu_status-key`),Q(F,"FAVORITES",`${te}-favorites`),Q(F,"favoritesKey",t=>`${te}-favorites-${t}`);const qs=()=>{const e=localStorage.getItem(F.CONFIG_LAYOUT);return e?JSON.parse(e):null},Ks=e=>{localStorage.setItem(F.CONFIG_LAYOUT,JSON.stringify(e))},Xs=()=>{localStorage.removeItem(F.CONFIG_LAYOUT)},Nl=()=>localStorage.getItem(F.SIDEBAR_STATUS),Ol=e=>{localStorage.setItem(F.SIDEBAR_STATUS,e)},Qs=()=>localStorage.getItem(F.ACTIVE_THEME_NAME),Zs=e=>{localStorage.setItem(F.ACTIVE_THEME_NAME,e)},eo=()=>{const e=localStorage.getItem(F.VISITED_VIEWS);return JSON.parse(e??"[]")},to=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(F.VISITED_VIEWS,JSON.stringify(e))},no=()=>{const e=localStorage.getItem(F.CACHED_VIEWS);return JSON.parse(e??"[]")},ro=e=>{localStorage.setItem(F.CACHED_VIEWS,JSON.stringify(e))},Al=()=>{const e=localStorage.getItem(F.SIDEBAR_MENU_STATUS);return e?JSON.parse(e):!1},Cl=e=>{localStorage.setItem(F.SIDEBAR_MENU_STATUS,JSON.stringify(e))},Il=e=>{const t=F.favoritesKey(e),n=localStorage.getItem(t);return JSON.parse(n??"[]")},wl=(e,t)=>{const n=F.favoritesKey(t);localStorage.setItem(n,JSON.stringify(e))},Rl=e=>{const t=F.favoritesKey(e);localStorage.removeItem(t)},Rr="normal",so=[{title:"默认",name:Rr},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],ln=ae(Qs()||Rr),oo=e=>{ln.value=e},ao=e=>{document.documentElement.className=e},io=()=>{Or(()=>{const e=ln.value;ao(e),Zs(e)})};function co(){return{themeList:so,activeThemeName:ln,initTheme:io,setTheme:oo}}var lo={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 uo=Ye({__name:"App",setup(e){const{initTheme:t}=co();return t(),(n,r)=>{const s=Cn("router-view"),o=Cn("el-config-provider");return Ar(),Os(o,{locale:Cs(lo)},{default:As(()=>[Cr(s)]),_:1},8,["locale"])}}});function fo(e){return typeof e=="object"&&e!==null}function In(e,t){return e=fo(e)?e:Object.create(null),new Proxy(e,{get(n,r,s){return r==="key"?Reflect.get(n,r,s):Reflect.get(n,r,s)||Reflect.get(t,r,s)}})}function mo(e,t){return t.reduce((n,r)=>n==null?void 0:n[r],e)}function po(e,t,n){return t.slice(0,-1).reduce((r,s)=>/^(__proto__)$/.test(s)?{}:r[s]=r[s]||{},e)[t[t.length-1]]=n,e}function ho(e,t){return t.reduce((n,r)=>{const s=r.split(".");return po(n,s,mo(e,s))},{})}function _o(e,t){return n=>{var r;try{const{storage:s=localStorage,beforeRestore:o=void 0,afterRestore:a=void 0,serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},key:c=t.$id,paths:p=null,debug:h=!1}=n;return{storage:s,beforeRestore:o,afterRestore:a,serializer:i,key:((r=e.key)!=null?r:u=>u)(typeof c=="string"?c:c(t.$id)),paths:p,debug:h}}catch(s){return n.debug&&console.error("[pinia-plugin-persistedstate]",s),null}}}function wn(e,{storage:t,serializer:n,key:r,debug:s}){try{const o=t==null?void 0:t.getItem(r);o&&e.$patch(n==null?void 0:n.deserialize(o))}catch(o){s&&console.error("[pinia-plugin-persistedstate]",o)}}function Rn(e,{storage:t,serializer:n,key:r,paths:s,debug:o}){try{const a=Array.isArray(s)?ho(e,s):e;t.setItem(r,n.serialize(a))}catch(a){o&&console.error("[pinia-plugin-persistedstate]",a)}}function go(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:r=n},store:s,pinia:o}=t;if(!r)return;if(!(s.$id in o.state.value)){const i=o._s.get(s.$id.replace("__hot:",""));i&&Promise.resolve().then(()=>i.$persist());return}const a=(Array.isArray(r)?r.map(i=>In(i,e)):[In(r,e)]).map(_o(e,s)).filter(Boolean);s.$persist=()=>{a.forEach(i=>{Rn(s.$state,i)})},s.$hydrate=({runHooks:i=!0}={})=>{a.forEach(c=>{const{beforeRestore:p,afterRestore:h}=c;i&&(p==null||p(t)),wn(s,c),i&&(h==null||h(t))})},a.forEach(i=>{const{beforeRestore:c,afterRestore:p}=i;c==null||c(t),wn(s,i),p==null||p(t),s.$subscribe((h,u)=>{Rn(u,i)},{detached:!0})})}}var Eo=go();const ke=Is();ke.use(Eo);const bo="modulepreload",yo=function(e){return"/assets/"+e},kn={},oe=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=yo(a),a in kn)return;kn[a]=!0;const i=a.endsWith(".css"),c=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const g=o[u];if(g.href===a&&(!i||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${c}`))return;const h=document.createElement("link");if(h.rel=i?"stylesheet":bo,i||(h.as="script",h.crossOrigin=""),h.href=a,document.head.appendChild(h),i)return new Promise((u,g)=>{h.addEventListener("load",u),h.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})},So="/",To=ws(So),Pn=()=>oe(()=>import("./index-0A8bgQgV.js"),__vite__mapDeps([0,1,2,3])),kr=[{path:"/redirect",component:Pn,meta:{hidden:!0},children:[{path:"/redirect/:path(.*)",component:()=>oe(()=>import("./index-4iTsonXh.js"),__vite__mapDeps([4,1]))}]},{path:"/403",component:()=>oe(()=>import("./403-IVZ5lbH9.js"),__vite__mapDeps([5,6,1,7,2])),meta:{hidden:!0}},{path:"/404",component:()=>oe(()=>import("./404-XATRCD6S.js"),__vite__mapDeps([8,6,1,7,2])),meta:{hidden:!0},alias:"/:pathMatch(.*)*"},{path:"/",component:Pn,redirect:"/home",children:[{path:"home",component:()=>oe(()=>import("./index-suEz6-cr.js"),__vite__mapDeps([9,1,2,10])),name:"Home",meta:{title:"首页"}},{path:"notify",component:()=>oe(()=>import("./index-YQFvCBem.js"),__vite__mapDeps([11,1,2,12])),name:"Notify",meta:{title:"消息通知"}},{path:"update-password",component:()=>oe(()=>import("./index-PlzXbnCA.js"),__vite__mapDeps([13,1,2,14])),name:"UpdatePassword",meta:{title:"修改密码"}},{path:"m-audit-template-list",component:()=>oe(()=>import("./index-6yL1bArm.js"),__vite__mapDeps([15,1,16,2,17])),name:"AuditTemplateList",meta:{title:"审批流模板列表"}},{path:"m-audit-template-edit",component:()=>oe(()=>import("./edit-mu4I01mS.js"),__vite__mapDeps([18,2,1,16,19])),name:"AuditTemplateEdit",meta:{title:"编辑审批流程"}}]}],ge=Rs({history:To,routes:kr});function vo(){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<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Lo={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Ht(e,t){function n(s,o,a){if(!(typeof document>"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;i<o.length;i++){var c=o[i].split("="),p=c.slice(1).join("=");try{var h=decodeURIComponent(c[0]);if(a[h]=e.read(p,h),s===h)break}catch{}}return s?a[s]:a}}return Object.create({set:n,get:r,remove:function(s,o){n(s,"",tt({},o,{expires:-1}))},withAttributes:function(s){return Ht(this.converter,tt({},this.attributes,s))},withConverter:function(s){return Ht(tt({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var un=Ht(Lo,{path:"/"});const Pr=()=>un.get(F.TOKEN),No=()=>{un.remove(F.TOKEN)},kl=e=>{un.set(F.LANGEUAGE,e)};function Fr(e,t){return function(){return e.apply(t,arguments)}}const{toString:Oo}=Object.prototype,{getPrototypeOf:fn}=Object,mt=(e=>t=>{const n=Oo.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),le=e=>(e=e.toLowerCase(),t=>mt(t)===e),pt=e=>t=>typeof t===e,{isArray:Pe}=Array,je=pt("undefined");function Ao(e){return e!==null&&!je(e)&&e.constructor!==null&&!je(e.constructor)&&re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Dr=le("ArrayBuffer");function Co(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Dr(e.buffer),t}const Io=pt("string"),re=pt("function"),Mr=pt("number"),ht=e=>e!==null&&typeof e=="object",wo=e=>e===!0||e===!1,at=e=>{if(mt(e)!=="object")return!1;const t=fn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ro=le("Date"),ko=le("File"),Po=le("Blob"),Fo=le("FileList"),Do=e=>ht(e)&&re(e.pipe),Mo=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||re(e.append)&&((t=mt(e))==="formdata"||t==="object"&&re(e.toString)&&e.toString()==="[object FormData]"))},xo=le("URLSearchParams"),Uo=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ze(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;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}function xr(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Vr=e=>!je(e)&&e!==Ur;function Wt(){const{caseless:e}=Vr(this)&&this||{},t={},n=(r,s)=>{const o=e&&xr(t,s)||s;at(t[o])&&at(r)?t[o]=Wt(t[o],r):at(r)?t[o]=Wt({},r):Pe(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&ze(arguments[r],n);return t}const Vo=(e,t,n,{allOwnKeys:r}={})=>(ze(t,(s,o)=>{n&&re(s)?e[o]=Fr(s,n):e[o]=s},{allOwnKeys:r}),e),Bo=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$o=(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)},jo=(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&&fn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ho=(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},Wo=e=>{if(!e)return null;if(Pe(e))return e;let t=e.length;if(!Mr(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Go=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fn(Uint8Array)),Yo=(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])}},Jo=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},zo=le("HTMLFormElement"),qo=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Fn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ko=le("RegExp"),Br=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ze(n,(s,o)=>{let a;(a=t(s,o,e))!==!1&&(r[o]=a||s)}),Object.defineProperties(e,r)},Xo=e=>{Br(e,(t,n)=>{if(re(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(re(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+"'")})}})},Qo=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Pe(e)?r(e):r(String(e).split(t)),n},Zo=()=>{},ea=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Mt="abcdefghijklmnopqrstuvwxyz",Dn="0123456789",$r={DIGIT:Dn,ALPHA:Mt,ALPHA_DIGIT:Mt+Mt.toUpperCase()+Dn},ta=(e=16,t=$r.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function na(e){return!!(e&&re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ra=e=>{const t=new Array(10),n=(r,s)=>{if(ht(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Pe(r)?[]:{};return ze(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)},sa=le("AsyncFunction"),oa=e=>e&&(ht(e)||re(e))&&re(e.then)&&re(e.catch),S={isArray:Pe,isArrayBuffer:Dr,isBuffer:Ao,isFormData:Mo,isArrayBufferView:Co,isString:Io,isNumber:Mr,isBoolean:wo,isObject:ht,isPlainObject:at,isUndefined:je,isDate:Ro,isFile:ko,isBlob:Po,isRegExp:Ko,isFunction:re,isStream:Do,isURLSearchParams:xo,isTypedArray:Go,isFileList:Fo,forEach:ze,merge:Wt,extend:Vo,trim:Uo,stripBOM:Bo,inherits:$o,toFlatObject:jo,kindOf:mt,kindOfTest:le,endsWith:Ho,toArray:Wo,forEachEntry:Yo,matchAll:Jo,isHTMLForm:zo,hasOwnProperty:Fn,hasOwnProp:Fn,reduceDescriptors:Br,freezeMethods:Xo,toObjectSet:Qo,toCamelCase:qo,noop:Zo,toFiniteNumber:ea,findKey:xr,global:Ur,isContextDefined:Vr,ALPHABET:$r,generateString:ta,isSpecCompliantForm:na,toJSONObject:ra,isAsyncFn:sa,isThenable:oa};function D(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(D,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 jr=D.prototype,Hr={};["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=>{Hr[e]={value:e}});Object.defineProperties(D,Hr);Object.defineProperty(jr,"isAxiosError",{value:!0});D.from=(e,t,n,r,s,o)=>{const a=Object.create(jr);return S.toFlatObject(e,a,function(c){return c!==Error.prototype},i=>i!=="isAxiosError"),D.call(a,e.message,t,n,r,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const aa=null;function Gt(e){return S.isPlainObject(e)||S.isArray(e)}function Wr(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Mn(e,t,n){return e?e.concat(t).map(function(s,o){return s=Wr(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function ia(e){return S.isArray(e)&&!e.some(Gt)}const ca=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function _t(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(_,T){return!S.isUndefined(T[_])});const r=n.metaTokens,s=n.visitor||h,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(m){if(m===null)return"";if(S.isDate(m))return m.toISOString();if(!c&&S.isBlob(m))throw new D("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(m)||S.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function h(m,_,T){let d=m;if(m&&!T&&typeof m=="object"){if(S.endsWith(_,"{}"))_=r?_:_.slice(0,-2),m=JSON.stringify(m);else if(S.isArray(m)&&ia(m)||(S.isFileList(m)||S.endsWith(_,"[]"))&&(d=S.toArray(m)))return _=Wr(_),d.forEach(function(N,E){!(S.isUndefined(N)||N===null)&&t.append(a===!0?Mn([_],E,o):a===null?_:_+"[]",p(N))}),!1}return Gt(m)?!0:(t.append(Mn(T,_,o),p(m)),!1)}const u=[],g=Object.assign(ca,{defaultVisitor:h,convertValue:p,isVisitable:Gt});function A(m,_){if(!S.isUndefined(m)){if(u.indexOf(m)!==-1)throw Error("Circular reference detected in "+_.join("."));u.push(m),S.forEach(m,function(d,y){(!(S.isUndefined(d)||d===null)&&s.call(t,d,S.isString(y)?y.trim():y,_,g))===!0&&A(d,_?_.concat(y):[y])}),u.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return A(e),t}function xn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function dn(e,t){this._pairs=[],e&&_t(e,this,t)}const Gr=dn.prototype;Gr.append=function(t,n){this._pairs.push([t,n])};Gr.toString=function(t){const n=t?function(r){return t.call(this,r,xn)}:xn;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function la(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Yr(e,t,n){if(!t)return e;const r=n&&n.encode||la,s=n&&n.serialize;let o;if(s?o=s(t,n):o=S.isURLSearchParams(t)?t.toString():new dn(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class ua{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 Un=ua,Jr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fa=typeof URLSearchParams<"u"?URLSearchParams:dn,da=typeof FormData<"u"?FormData:null,ma=typeof Blob<"u"?Blob:null,pa={isBrowser:!0,classes:{URLSearchParams:fa,FormData:da,Blob:ma},protocols:["http","https","file","blob","url","data"]},zr=typeof window<"u"&&typeof document<"u",ha=(e=>zr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),_a=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ga=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zr,hasStandardBrowserEnv:ha,hasStandardBrowserWebWorkerEnv:_a},Symbol.toStringTag,{value:"Module"})),ce={...ga,...pa};function Ea(e,t){return _t(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return ce.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function ba(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ya(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function qr(e){function t(n,r,s,o){let a=n[o++];const i=Number.isFinite(+a),c=o>=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]=ya(s[a])),!i)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,s)=>{t(ba(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 mn={transitional:Jr,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(qr(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 Ea(t,this.formSerializer).toString();if((i=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return _t(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||mn.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"?D.from(i,D.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:ce.classes.FormData,Blob:ce.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=>{mn.headers[e]={}});const pn=mn,Ta=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"]),va=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]&&Ta[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Vn=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 La(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 Na=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xt(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 Oa(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Aa(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})})}class gt{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(i,c,p){const h=xe(c);if(!h)throw new Error("header name must be a non-empty string");const u=S.findKey(s,h);(!u||s[u]===void 0||p===!0||p===void 0&&s[u]!==!1)&&(s[u||c]=it(i))}const a=(i,c)=>S.forEach(i,(p,h)=>o(p,h,c));return S.isPlainObject(t)||t instanceof this.constructor?a(t,n):S.isString(t)&&(t=t.trim())&&!Na(t)?a(va(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 La(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||xt(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||xt(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||xt(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?Oa(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[Vn]=this[Vn]={accessors:{}}).accessors,s=this.prototype;function o(a){const i=xe(a);r[i]||(Aa(s,a),r[i]=!0)}return S.isArray(t)?t.forEach(o):o(t),this}}gt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(gt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(gt);const pe=gt;function Ut(e,t){const n=this||pn,r=t||n,s=pe.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 Kr(e){return!!(e&&e.__CANCEL__)}function qe(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(qe,D,{__CANCEL__:!0});function Ca(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new D("Request failed with status code "+n.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Ia=ce.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 wa(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ra(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Xr(e,t){return e&&!wa(t)?Ra(e,t):t}const ka=ce.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 Pa(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Fa(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(),h=r[o];a||(a=p),n[s]=c,r[s]=p;let u=o,g=0;for(;u!==s;)g+=n[u++],u=u%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),p-a<t)return;const A=h&&p-h;return A?Math.round(g*1e3/A):void 0}}function Bn(e,t){let n=0;const r=Fa(50,250);return s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,i=o-n,c=r(i),p=o<=a;n=o;const h={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};h[t?"download":"upload"]=!0,e(h)}}const Da=typeof XMLHttpRequest<"u",Ma=Da&&function(e){return new Promise(function(n,r){let s=e.data;const o=pe.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 h;if(S.isFormData(s)){if(ce.hasStandardBrowserEnv||ce.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((h=o.getContentType())!==!1){const[_,...T]=h?h.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([_||"multipart/form-data",...T].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(_+":"+T))}const g=Xr(e.baseURL,e.url);u.open(e.method.toUpperCase(),Yr(g,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function A(){if(!u)return;const _=pe.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),d={data:!a||a==="text"||a==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:_,config:e,request:u};Ca(function(N){n(N),p()},function(N){r(N),p()},d),u=null}if("onloadend"in u?u.onloadend=A:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(A)},u.onabort=function(){u&&(r(new D("Request aborted",D.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new D("Network Error",D.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let T=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const d=e.transitional||Jr;e.timeoutErrorMessage&&(T=e.timeoutErrorMessage),r(new D(T,d.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,e,u)),u=null},ce.hasStandardBrowserEnv&&(i&&S.isFunction(i)&&(i=i(e)),i||i!==!1&&ka(g))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&Ia.read(e.xsrfCookieName);_&&o.set(e.xsrfHeaderName,_)}s===void 0&&o.setContentType(null),"setRequestHeader"in u&&S.forEach(o.toJSON(),function(T,d){u.setRequestHeader(d,T)}),S.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),a&&a!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",Bn(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Bn(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=_=>{u&&(r(!_||_.type?new qe(null,e,u):_),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const m=Pa(g);if(m&&ce.protocols.indexOf(m)===-1){r(new D("Unsupported protocol "+m+":",D.ERR_BAD_REQUEST,e));return}u.send(s||null)})},Yt={http:aa,xhr:Ma};S.forEach(Yt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $n=e=>`- ${e}`,xa=e=>S.isFunction(e)||e===null||e===!1,Qr={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let a;if(r=n,!xa(n)&&(r=Yt[(a=String(n)).toLowerCase()],r===void 0))throw new D(`Unknown adapter '${a}'`);if(r)break;s[a||"#"+o]=r}if(!r){const o=Object.entries(s).map(([i,c])=>`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($n).join(`
`):" "+$n(o[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Yt};function Vt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qe(null,e)}function jn(e){return Vt(e),e.headers=pe.from(e.headers),e.data=Ut.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Qr.getAdapter(e.adapter||pn.adapter)(e).then(function(r){return Vt(e),r.data=Ut.call(e,e.transformResponse,r),r.headers=pe.from(r.headers),r},function(r){return Kr(r)||(Vt(e),r&&r.response&&(r.response.data=Ut.call(e,e.transformResponse,r.response),r.response.headers=pe.from(r.response.headers))),Promise.reject(r)})}const Hn=e=>e instanceof pe?e.toJSON():e;function Ce(e,t){t=t||{};const n={};function r(p,h,u){return S.isPlainObject(p)&&S.isPlainObject(h)?S.merge.call({caseless:u},p,h):S.isPlainObject(h)?S.merge({},h):S.isArray(h)?h.slice():h}function s(p,h,u){if(S.isUndefined(h)){if(!S.isUndefined(p))return r(void 0,p,u)}else return r(p,h,u)}function o(p,h){if(!S.isUndefined(h))return r(void 0,h)}function a(p,h){if(S.isUndefined(h)){if(!S.isUndefined(p))return r(void 0,p)}else return r(void 0,h)}function i(p,h,u){if(u in t)return r(p,h);if(u 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,h)=>s(Hn(p),Hn(h),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(h){const u=c[h]||s,g=u(e[h],t[h],h);S.isUndefined(g)&&u!==i||(n[h]=g)}),n}const Zr="1.6.2",hn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{hn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Wn={};hn.transitional=function(t,n,r){function s(o,a){return"[Axios v"+Zr+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,i)=>{if(t===!1)throw new D(s(a," has been removed"+(n?" in "+n:"")),D.ERR_DEPRECATED);return n&&!Wn[a]&&(Wn[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 Ua(e,t,n){if(typeof e!="object")throw new D("options must be an object",D.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 D("option "+o+" must be "+c,D.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new D("Unknown option "+o,D.ERR_BAD_OPTION)}}const Jt={assertOptions:Ua,validators:hn},he=Jt.validators;class ut{constructor(t){this.defaults=t,this.interceptors={request:new Un,response:new Un}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ce(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Jt.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}:Jt.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"],m=>{delete o[m]}),n.headers=pe.concat(a,o);const i=[];let c=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(c=c&&_.synchronous,i.unshift(_.fulfilled,_.rejected))});const p=[];this.interceptors.response.forEach(function(_){p.push(_.fulfilled,_.rejected)});let h,u=0,g;if(!c){const m=[jn.bind(this),void 0];for(m.unshift.apply(m,i),m.push.apply(m,p),g=m.length,h=Promise.resolve(n);u<g;)h=h.then(m[u++],m[u++]);return h}g=i.length;let A=n;for(u=0;u<g;){const m=i[u++],_=i[u++];try{A=m(A)}catch(T){_.call(this,T);break}}try{h=jn.call(this,A)}catch(m){return Promise.reject(m)}for(u=0,g=p.length;u<g;)h=h.then(p[u++],p[u++]);return h}getUri(t){t=Ce(this.defaults,t);const n=Xr(t.baseURL,t.url);return Yr(n,t.params,t.paramsSerializer)}}S.forEach(["delete","get","head","options"],function(t){ut.prototype[t]=function(n,r){return this.request(Ce(r||{},{method:t,url:n,data:(r||{}).data}))}});S.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,i){return this.request(Ce(i||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}ut.prototype[t]=n(),ut.prototype[t+"Form"]=n(!0)});const ct=ut;class _n{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{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 qe(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 _n(function(s){t=s}),cancel:t}}}const Va=_n;function Ba(e){return function(n){return e.apply(null,n)}}function $a(e){return S.isObject(e)&&e.isAxiosError===!0}const zt={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(zt).forEach(([e,t])=>{zt[t]=e});const ja=zt;function es(e){const t=new ct(e),n=Fr(ct.prototype.request,t);return S.extend(n,ct.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return es(Ce(e,s))},n}const Y=es(pn);Y.Axios=ct;Y.CanceledError=qe;Y.CancelToken=Va;Y.isCancel=Kr;Y.VERSION=Zr;Y.toFormData=_t;Y.AxiosError=D;Y.Cancel=Y.CanceledError;Y.all=function(t){return Promise.all(t)};Y.spread=Ba;Y.isAxiosError=$a;Y.mergeConfig=Ce;Y.AxiosHeaders=pe;Y.formToJSON=e=>qr(S.isHTMLForm(e)?new FormData(e):e);Y.getAdapter=Qr.getAdapter;Y.HttpStatusCode=ja;Y.default=Y;const Ha=Y,Pl=e=>{let t="";try{t=getComputedStyle(document.documentElement).getPropertyValue(e)}catch(n){console.error(n)}return t},Fl=(e,t)=>{try{document.documentElement.style.setProperty(e,t)}catch(n){console.error(n)}},Dl=()=>{Xs(),location.reload()},ts=()=>location.origin;function Gn(){gn().logout(),location.reload()}function Wa(){const e=Ha.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 Gn();default:return ot.error(n.message||"Error"),Promise.reject(new Error("Error"))}},t=>{switch(Hs(t,"response.status")){case 400:t.message="请求错误";break;case 401:Gn();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 Ga(e){return function(t){const n=Pr(),r=ts(),s={headers:{Authorization:n?`Bearer ${n}`:void 0,"Content-Type":"application/json"},timeout:30*1e3,baseURL:r,data:{}},o=Ws(s,t);return e(o)}}const Ya=Wa(),Ke=Ga(Ya);function Ja(){return Ke({url:"index.php?app=desktop&ctl=default&act=getMenus",method:"get"})}function za(){return Ke({url:"index.php?app=desktop&ctl=passport&act=logout",method:"get"})}function Ml(){return Ke({url:"index.php?app=desktop&ctl=login&act=getUser",method:"get"})}function xl(){return Ke({url:"index.php?app=desktop&ctl=default&act=getJDToken",method:"POST"})}function Ul(){return Ke({url:"index.php?app=desktop&ctl=default&act=getSiteInfo",method:"POST"})}const qa=Je("user",()=>{const e=ae(Pr()||""),t=ae([]),n=ae("");return{token:e,roles:t,username:n,setRoles:i=>{t.value=i},login:async()=>{},logout:async()=>{await za(),vo()},resetToken:()=>{No(),e.value="",t.value=[]}}});function gn(){return qa(ke)}const ns=Je("menu",()=>{const e=JSON.parse(localStorage.getItem(F.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 Ja();console.log("接口返回的菜单元数据",o),t.value=n(o),console.log("格式化之后得菜单数据",t.value),localStorage.setItem(F.MENUS,JSON.stringify(t.value))},clearMenus:async()=>{localStorage.removeItem(F.MENUS)}}});function Vl(){return ns(ke)}const Ka=e=>{const t=[];for(const n of e){const r={path:n.path,component:()=>oe(()=>import("./index-0A8bgQgV.js"),__vite__mapDeps([0,1,2,3])),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:()=>oe(()=>import("./index-KN6_SzwE.js"),__vite__mapDeps([20,1,2,21])),name:a.id,meta:{title:a.meta.title,isIframe:!0,url:a.meta.url}};o.children.push(i)}}t.push(r)}return t},Xa=async()=>{var n;const e=ns();(n=e.menus)!=null&&n.length||await e.getMenus();const t=e.menus;return Ka(t)},Qa=Je("permission",()=>{const e=ae([]);return{routes:e,setRoutes:async()=>{const n=await Xa();e.value=kr.concat(n)}}});function Za(){return Qa(ke)}function ei(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=ei(),Kt=Symbol("ROUTE_CHANGE");let Xt;const ti=e=>{qt.emit(Kt,e),Xt=e};function Bl(){const e=[],t=(r,s=!1)=>{e.push(r),qt.on(Kt,r),s&&Xt&&r(Xt)},n=r=>{qt.off(Kt,r)};return ks(()=>{for(let r=0;r<e.length;r++)n(e[r])}),{listenerRouteChange:t,removeRouteListener:n}}const Yn="智能运营中台",rs=ae(""),ni=e=>{rs.value=e?`${Yn} | ${e}`:Yn};Be(rs,(e,t)=>{document&&e!==t&&(document.title=e)});function ri(){return{setTitle:ni}}const si={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},oi={...si,...qs()},ai=Je("settings",()=>{const e={};for(const[n,r]of Object.entries(oi)){const s=ae(r);e[n]=s,Be(s,()=>{const o=t();Ks(o)})}const t=()=>{const n={};for(const[r,s]of Object.entries(e))n[r]=s.value;return n};return e}),ii=Je("tags-view",()=>{const{cacheTagsView:e}=ai(),t=ae(e?eo():[]),n=ae(e?no():[]);return Or(()=>{to(t.value),ro(n.value)}),{visitedViews:t,cachedViews:n,addVisitedView:u=>{const g=t.value.findIndex(A=>A.path===u.path);g!==-1?t.value[g].fullPath!==u.fullPath&&(t.value[g]={...u}):t.value.push({...u})},addCachedView:u=>{var g;typeof u.name=="string"&&(n.value.includes(u.name)||(g=u.meta)!=null&&g.keepAlive&&n.value.push(u.name))},delVisitedView:u=>{const g=t.value.findIndex(A=>A.path===u.path);g!==-1&&t.value.splice(g,1)},delCachedView:u=>{if(typeof u.name!="string")return;const g=n.value.indexOf(u.name);g!==-1&&n.value.splice(g,1)},delOthersVisitedViews:u=>{t.value=t.value.filter(g=>{var A;return((A=g.meta)==null?void 0:A.affix)||g.path===u.path})},delOthersCachedViews:u=>{if(typeof u.name!="string")return;const g=n.value.indexOf(u.name);g!==-1?n.value=n.value.slice(g,g+1):n.value=[]},delAllVisitedViews:()=>{t.value=t.value.filter(u=>{var g;return(g=u.meta)==null?void 0:g.affix})},delAllCachedViews:()=>{n.value=[]}}});function ci(){return ii(ke)}const li=()=>{const e=ci();e.cachedViews=[...e.cachedViews]};var ss={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Gs,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(m){var _,T;for(_ in m)T=m[_],T!==void 0&&m.hasOwnProperty(_)&&(r[_]=T);return this},n.status=null,n.set=function(m){var _=n.isStarted();m=s(m,r.minimum,1),n.status=m===1?null:m;var T=n.render(!_),d=T.querySelector(r.barSelector),y=r.speed,N=r.easing;return T.offsetWidth,i(function(E){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),c(d,a(m,y,N)),m===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 m=function(){setTimeout(function(){n.status&&(n.trickle(),m())},r.trickleSpeed)};return r.trickle&&m(),this},n.done=function(m){return!m&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(m){var _=n.status;return _?(typeof m!="number"&&(m=(1-_)*s(Math.random()*_,.1,.95)),_=s(_+m,0,.994),n.set(_)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var m=0,_=0;n.promise=function(T){return!T||T.state()==="resolved"?this:(_===0&&n.start(),m++,_++,T.always(function(){_--,_===0?(m=0,n.done()):n.set((m-_)/m)}),this)}}(),n.render=function(m){if(n.isRendered())return document.getElementById("nprogress");h(document.documentElement,"nprogress-busy");var _=document.createElement("div");_.id="nprogress",_.innerHTML=r.template;var T=_.querySelector(r.barSelector),d=m?"-100":o(n.status||0),y=document.querySelector(r.parent),N;return c(T,{transition:"all 0 linear",transform:"translate3d("+d+"%,0,0)"}),r.showSpinner||(N=_.querySelector(r.spinnerSelector),N&&A(N)),y!=document.body&&h(y,"nprogress-custom-parent"),y.appendChild(_),_},n.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var m=document.getElementById("nprogress");m&&A(m)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var m=document.body.style,_="WebkitTransform"in m?"Webkit":"MozTransform"in m?"Moz":"msTransform"in m?"ms":"OTransform"in m?"O":"";return _+"Perspective"in m?"translate3d":_+"Transform"in m?"translate":"margin"};function s(m,_,T){return m<_?_:m>T?T:m}function o(m){return(-1+m)*100}function a(m,_,T){var d;return r.positionUsing==="translate3d"?d={transform:"translate3d("+o(m)+"%,0,0)"}:r.positionUsing==="translate"?d={transform:"translate("+o(m)+"%,0)"}:d={"margin-left":o(m)+"%"},d.transition="all "+_+"ms "+T,d}var i=function(){var m=[];function _(){var T=m.shift();T&&T(_)}return function(T){m.push(T),m.length==1&&_()}}(),c=function(){var m=["Webkit","O","Moz","ms"],_={};function T(E){return E.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(C,I){return I.toUpperCase()})}function d(E){var C=document.body.style;if(E in C)return E;for(var I=m.length,L=E.charAt(0).toUpperCase()+E.slice(1),M;I--;)if(M=m[I]+L,M in C)return M;return E}function y(E){return E=T(E),_[E]||(_[E]=d(E))}function N(E,C,I){C=y(C),E.style[C]=I}return function(E,C){var I=arguments,L,M;if(I.length==2)for(L in C)M=C[L],M!==void 0&&C.hasOwnProperty(L)&&N(E,L,M);else N(E,I[1],I[2])}}();function p(m,_){var T=typeof m=="string"?m:g(m);return T.indexOf(" "+_+" ")>=0}function h(m,_){var T=g(m),d=T+_;p(T,_)||(m.className=d.substring(1))}function u(m,_){var T=g(m),d;p(m,_)&&(d=T.replace(" "+_+" "," "),m.className=d.substring(1,d.length-1))}function g(m){return(" "+(m.className||"")+" ").replace(/\s+/gi," ")}function A(m){m&&m.parentNode&&m.parentNode.removeChild(m)}return n})})(ss);var ui=ss.exports;const Ve=Ys(ui),{setTitle:fi}=ri();Ve.configure({showSpinner:!1});let nt=!1;const Jn=async e=>{await e.setRoutes(),e.routes.forEach(t=>ge.addRoute(t))};ge.beforeEach(async(e,t,n)=>{var o,a,i;li(),Ve.start();const r=gn(),s=Za();if(e.path==="/"){nt||(await Jn(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 Jn(s),nt=!0,n({...e,replace:!0})}catch(c){r.resetToken(),ot.error(c.message||"路由守卫过程发生错误"),Ve.done();const p=ts();location.replace(`${p}/index.php?ctl=passport&act=logout`)}});ge.afterEach(e=>{ti(e),fi(e.meta.title),Ve.done()});const di={class:"svg-icon","aria-hidden":"true"},mi=["href"],pi=Ye({__name:"index",props:{prefix:{default:"icon"},name:{}},setup(e){const t=e,n=Oe(()=>`#${t.prefix}-${t.name}`);return(r,s)=>(Ar(),Ps("svg",di,[Fs("use",{href:n.value},null,8,mi)]))}}),hi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},_i=hi(pi,[["__scopeId","data-v-ce51d543"]]);if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-404"><path d="M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0ZM480 416v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z" /><path d="m955.7 856-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-bug"><path d="M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 34.8-28.2 63-63 63H232c-34.8 0-63-28.2-63-63 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7 6 17.2 13.6 33.6 22.7 49 24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2c41.5-24.3 76.2-59 100.5-100.5 9.1-15.5 16.7-31.9 22.7-49C812.1 793.1 836 831.8 836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3-20.1 11.8-42 20-64.9 24.3V484c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v396.5c-22.9-4.3-44.8-12.5-64.9-24.3-30.3-17.7-55.6-43-73.3-73.3C317.7 752 308 716.8 308 680V412h408v268z" /><path d="M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1-17.2-31.5-42.5-56.8-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9-31.5 17.2-56.8 42.5-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-component"><path d="M64 64h384v384H64V64zm0 512h384v384H64V576zm512 0h384v384H576V576zm192-128c106.039 0 192-85.961 192-192S874.039 64 768 64s-192 85.961-192 192 85.961 192 192 192z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-dashboard"><path d="M924.8 385.6c-22.6-53.4-54.9-101.3-96-142.4-41.1-41.1-89-73.4-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2c-53.4 22.6-101.3 54.9-142.4 96-41.1 41.1-73.4 89-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6C184.5 765.5 140 665.6 140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z" /><path d="M623.5 421.5c-3.1-3.1-8.2-3.1-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5-21.9 21.9-21.9 57.3 0 79.2 21.9 21.9 57.3 21.9 79.2 0 14.7-14.7 19.5-35.4 14.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2-31.1-31.1c-3.1-3.1-8.2-3.1-11.3 0l-56.6 56.6c-3.1 3.1-3.1 8.2 0 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1c-3.1-3.1-8.2-3.1-11.3 0l-31.1 31.1c-3.1 3.1-3.1 8.2 0 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-fullscreen-exit"><path d="M704 864v-96c0-54.4 41.6-96 96-96h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-89.6 0-160 70.4-160 160v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64-704v96c0 89.6 70.4 160 160 160h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-54.4 0-96-41.6-96-96v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32zM384 864v-96c0-89.6-70.4-160-160-160h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c54.4 0 96 41.6 96 96v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64-704v96c0 54.4-41.6 96-96 96h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c89.6 0 160-70.4 160-160v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-fullscreen"><path d="M192 384v-96c0-54.4 41.6-96 96-96h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-89.6 0-160 70.4-160 160v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64 256v96c0 89.6 70.4 160 160 160h96c19.2 0 32-12.8 32-32s-12.8-32-32-32h-96c-54.4 0-96-41.6-96-96v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32zm768-256v-96c0-89.6-70.4-160-160-160h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c54.4 0 96 41.6 96 96v96c0 19.2 12.8 32 32 32s32-12.8 32-32zm-64 256v96c0 54.4-41.6 96-96 96h-96c-19.2 0-32 12.8-32 32s12.8 32 32 32h96c89.6 0 160-70.4 160-160v-96c0-19.2-12.8-32-32-32s-32 12.8-32 32z" /></symbol><symbol aria-label="Arrow down" viewBox="0 0 15 15" id="icon-keyboard-down"><path d="M7.5 3.5v8m3-3-3 3-3-3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Enter key" viewBox="0 0 15 15" id="icon-keyboard-enter"><path d="M12 3.53v3c0 1-1 2-2 2H4m3 3-3-3 3-3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Escape key" viewBox="0 0 15 15" id="icon-keyboard-esc"><path d="M13.617 8.936c-.107.358-.689.962-1.488.962-.8 0-1.653-.916-1.653-2.126v-.568c0-1.254.79-2.101 1.653-2.101.864 0 1.36.478 1.488 1.072M9 6c-.135-.473-.75-.922-1.46-.897-.71.024-1.344.57-1.344 1.216s.42.882 1.345.98C8.464 7.4 8.967 7.935 9 8.5c.032.566-.454 1.398-1.46 1.398C6.66 9.898 6 9 5.963 8.485m-1.475.537c-.263.594-.81.876-1.544.876s-1.707-.625-1.707-2.204v-.46c0-1.042.72-2.131 1.707-2.131.986 0 1.642 1.03 1.544 2.249H1.532" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol aria-label="Arrow up" viewBox="0 0 15 15" id="icon-keyboard-up"><path d="M7.5 11.5v-8m3 3-3-3-3 3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-link"><path d="M574 665.4c-3.1-3.1-8.2-3.1-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8c-3.1-3.1-8.2-3.1-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6c-3.1 3.1-3.1 8.2 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6c-3.1 3.1-3.1 8.2 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1z" /><path d="M610.1 372.3c-3.1-3.1-8.2-3.1-11.3 0L372.3 598.7c-3.1 3.1-3.1 8.2 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-lock"><path d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z" /><path d="M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53c12.1-8.7 20-22.9 20-39 0-26.5-21.5-48-48-48s-48 21.5-48 48c0 16.1 7.9 30.3 20 39z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-menu"><path d="M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-search"><path d="M862.609 816.955 726.44 680.785l-.059-.056a358.907 358.907 0 0 0 56.43-91.927c18.824-44.507 28.369-91.767 28.369-140.467 0-48.701-9.545-95.96-28.369-140.467-18.176-42.973-44.19-81.56-77.319-114.689-33.13-33.129-71.717-59.144-114.69-77.32-44.507-18.825-91.767-28.37-140.467-28.37-48.701 0-95.96 9.545-140.467 28.37-42.973 18.176-81.56 44.19-114.689 77.32-33.13 33.129-59.144 71.717-77.32 114.689-18.825 44.507-28.37 91.767-28.37 140.467 0 48.7 9.545 95.96 28.37 140.467 18.176 42.974 44.19 81.561 77.32 114.69 33.129 33.129 71.717 59.144 114.689 77.319 44.507 18.824 91.767 28.369 140.467 28.369 48.7 0 95.96-9.545 140.467-28.369 32.78-13.864 62.997-32.303 90.197-54.968.063.064.122.132.186.195l136.169 136.17c6.25 6.25 14.438 9.373 22.628 9.373 8.188 0 16.38-3.125 22.627-9.372 12.496-12.496 12.496-32.758 0-45.254zm-412.274-69.466c-79.907 0-155.031-31.118-211.534-87.62-56.503-56.503-87.62-131.627-87.62-211.534s31.117-155.031 87.62-211.534c56.502-56.503 131.626-87.62 211.534-87.62s155.031 31.117 211.534 87.62c56.502 56.502 87.62 131.626 87.62 211.534s-31.118 155.031-87.62 211.534c-56.503 56.502-131.627 87.62-211.534 87.62z" /></symbol><symbol viewBox="0 0 220 220" id="icon-unocss"><path d="M117.444 167.888c0-27.615 22.386-50 50-50s50 22.385 50 50c0 27.614-22.386 50-50 50s-50-22.386-50-50ZM117.444 53c0-27.614 22.386-50 50-50s50 22.386 50 50v45a5 5 0 0 1-5 5h-90a5 5 0 0 1-5-5V53ZM102 167.888c0 27.614-22.386 50-50 50s-50-22.386-50-50v-45a5 5 0 0 1 5-5h90a5 5 0 0 1 5 5v45Z" /></symbol>',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}function gi(e){e.component("SvgIcon",_i)}function Ei(e){e.use(Js)}function bi(e){for(const[t,n]of Object.entries(zs))e.component(t,n)}function yi(e){Ei(e),bi(e)}const Si={mounted(e,t){var s;const{value:n}=t,{roles:r}=gn();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 Ti(e){e.directive("permission",Si)}const ft=typeof window<"u",Ee=(e,t=!1)=>t?Symbol.for(e):Symbol(e),vi=(e,t,n)=>Li({l:e,k:t,s:n}),Li=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),J=e=>typeof e=="number"&&isFinite(e),Ni=e=>as(e)==="[object Date]",Ie=e=>as(e)==="[object RegExp]",Et=e=>k(e)&&Object.keys(e).length===0,z=Object.assign;let zn;const Se=()=>zn||(zn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qn(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Oi=Object.prototype.hasOwnProperty;function dt(e,t){return Oi.call(e,t)}const H=Array.isArray,$=e=>typeof e=="function",w=e=>typeof e=="string",x=e=>typeof e=="boolean",U=e=>e!==null&&typeof e=="object",Ai=e=>U(e)&&$(e.then)&&$(e.catch),os=Object.prototype.toString,as=e=>os.call(e),k=e=>{if(!U(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Ci=e=>e==null?"":H(e)||k(e)&&e.toString===os?JSON.stringify(e,null,2):String(e);function En(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Ii(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rt=e=>!U(e)||H(e);function lt(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 wi(e,t,n){return{line:e,column:t,offset:n}}function Qt(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const V={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Ri=17;function bt(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 ki(e){throw e}const fe=" ",Pi="\r",K=`
`,Fi="\u2028",Di="\u2029";function Mi(e){const t=e;let n=0,r=1,s=1,o=0;const a=L=>t[L]===Pi&&t[L+1]===K,i=L=>t[L]===K,c=L=>t[L]===Di,p=L=>t[L]===Fi,h=L=>a(L)||i(L)||c(L)||p(L),u=()=>n,g=()=>r,A=()=>s,m=()=>o,_=L=>a(L)||c(L)||p(L)?K:t[L],T=()=>_(n),d=()=>_(n+o);function y(){return o=0,h(n)&&(r++,s=0),a(n)&&n++,n++,s++,t[n]}function N(){return a(n+o)&&o++,o++,t[n+o]}function E(){n=0,r=1,s=1,o=0}function C(L=0){o=L}function I(){const L=n+o;for(;L!==n;)y();o=0}return{index:u,line:g,column:A,peekOffset:m,charAt:_,currentChar:T,currentPeek:d,next:y,peek:N,reset:E,resetPeek:C,skipToPeek:I}}const _e=void 0,xi=".",Kn="'",Ui="tokenizer";function Vi(e,t={}){const n=t.location!==!1,r=Mi(e),s=()=>r.index(),o=()=>wi(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:h}=t;function u(l,f,v,...R){const W=p();if(f.column+=v,f.offset+=v,h){const P=n?Qt(W.startLoc,f):null,b=bt(l,P,{domain:Ui,args:R});h(b)}}function g(l,f,v){l.endLoc=o(),l.currentType=f;const R={type:f};return n&&(R.loc=Qt(l.startLoc,l.endLoc)),v!=null&&(R.value=v),R}const A=l=>g(l,13);function m(l,f){return l.currentChar()===f?(l.next(),f):(u(V.EXPECTED_TOKEN,o(),0,f),"")}function _(l){let f="";for(;l.currentPeek()===fe||l.currentPeek()===K;)f+=l.currentPeek(),l.peek();return f}function T(l){const f=_(l);return l.skipToPeek(),f}function d(l){if(l===_e)return!1;const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function y(l){if(l===_e)return!1;const f=l.charCodeAt(0);return f>=48&&f<=57}function N(l,f){const{currentType:v}=f;if(v!==2)return!1;_(l);const R=d(l.currentPeek());return l.resetPeek(),R}function E(l,f){const{currentType:v}=f;if(v!==2)return!1;_(l);const R=l.currentPeek()==="-"?l.peek():l.currentPeek(),W=y(R);return l.resetPeek(),W}function C(l,f){const{currentType:v}=f;if(v!==2)return!1;_(l);const R=l.currentPeek()===Kn;return l.resetPeek(),R}function I(l,f){const{currentType:v}=f;if(v!==7)return!1;_(l);const R=l.currentPeek()===".";return l.resetPeek(),R}function L(l,f){const{currentType:v}=f;if(v!==8)return!1;_(l);const R=d(l.currentPeek());return l.resetPeek(),R}function M(l,f){const{currentType:v}=f;if(!(v===7||v===11))return!1;_(l);const R=l.currentPeek()===":";return l.resetPeek(),R}function j(l,f){const{currentType:v}=f;if(v!==9)return!1;const R=()=>{const P=l.currentPeek();return P==="{"?d(l.peek()):P==="@"||P==="|"||P===":"||P==="."||P===fe||!P?!1:P===K?(l.peek(),R()):se(l,!1)},W=R();return l.resetPeek(),W}function ee(l){_(l);const f=l.currentPeek()==="|";return l.resetPeek(),f}function se(l,f=!0){const v=(W=!1,P="")=>{const b=l.currentPeek();return b==="{"||b==="@"||!b?W:b==="|"?!(P===fe||P===K):b===fe?(l.peek(),v(!0,fe)):b===K?(l.peek(),v(!0,K)):!0},R=v();return f&&l.resetPeek(),R}function q(l,f){const v=l.currentChar();return v===_e?_e:f(v)?(l.next(),v):null}function Te(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function St(l){return q(l,Te)}function Tt(l){const f=l.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function vt(l){return q(l,Tt)}function Lt(l){const f=l.charCodeAt(0);return f>=48&&f<=57}function Nt(l){return q(l,Lt)}function ue(l){const f=l.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function Xe(l){return q(l,ue)}function Qe(l){let f="",v="";for(;f=Nt(l);)v+=f;return v}function Ot(l){let f="";for(;;){const v=l.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v===fe||v===K)if(se(l))f+=v,l.next();else{if(ee(l))break;f+=v,l.next()}else f+=v,l.next()}return f}function At(l){T(l);let f="",v="";for(;f=vt(l);)v+=f;return l.currentChar()===_e&&u(V.UNTERMINATED_CLOSING_BRACE,o(),0),v}function Ct(l){T(l);let f="";return l.currentChar()==="-"?(l.next(),f+=`-${Qe(l)}`):f+=Qe(l),l.currentChar()===_e&&u(V.UNTERMINATED_CLOSING_BRACE,o(),0),f}function An(l){return l!==Kn&&l!==K}function It(l){T(l),m(l,"'");let f="",v="";for(;f=q(l,An);)f==="\\"?v+=wt(l):v+=f;const R=l.currentChar();return R===K||R===_e?(u(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),R===K&&(l.next(),m(l,"'")),v):(m(l,"'"),v)}function wt(l){const f=l.currentChar();switch(f){case"\\":case"'":return l.next(),`\\${f}`;case"u":return Ze(l,f,4);case"U":return Ze(l,f,6);default:return u(V.UNKNOWN_ESCAPE_SEQUENCE,o(),0,f),""}}function Ze(l,f,v){m(l,f);let R="";for(let W=0;W<v;W++){const P=Xe(l);if(!P){u(V.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${f}${R}${l.currentChar()}`);break}R+=P}return`\\${f}${R}`}function Rt(l){return l!=="{"&&l!=="}"&&l!==fe&&l!==K}function kt(l){T(l);let f="",v="";for(;f=q(l,Rt);)v+=f;return v}function Pt(l){let f="",v="";for(;f=St(l);)v+=f;return v}function Ft(l){const f=v=>{const R=l.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===fe?v:(v+=R,l.next(),f(v))};return f("")}function De(l){T(l);const f=m(l,"|");return T(l),f}function ve(l,f){let v=null;switch(l.currentChar()){case"{":return f.braceNest>=1&&u(V.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),l.next(),v=g(f,2,"{"),T(l),f.braceNest++,v;case"}":return f.braceNest>0&&f.currentType===2&&u(V.EMPTY_PLACEHOLDER,o(),0),l.next(),v=g(f,3,"}"),f.braceNest--,f.braceNest>0&&T(l),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),v;case"@":return f.braceNest>0&&u(V.UNTERMINATED_CLOSING_BRACE,o(),0),v=Le(l,f)||A(f),f.braceNest=0,v;default:{let W=!0,P=!0,b=!0;if(ee(l))return f.braceNest>0&&u(V.UNTERMINATED_CLOSING_BRACE,o(),0),v=g(f,1,De(l)),f.braceNest=0,f.inLinked=!1,v;if(f.braceNest>0&&(f.currentType===4||f.currentType===5||f.currentType===6))return u(V.UNTERMINATED_CLOSING_BRACE,o(),0),f.braceNest=0,Me(l,f);if(W=N(l,f))return v=g(f,4,At(l)),T(l),v;if(P=E(l,f))return v=g(f,5,Ct(l)),T(l),v;if(b=C(l,f))return v=g(f,6,It(l)),T(l),v;if(!W&&!P&&!b)return v=g(f,12,kt(l)),u(V.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,v.value),T(l),v;break}}return v}function Le(l,f){const{currentType:v}=f;let R=null;const W=l.currentChar();switch((v===7||v===8||v===11||v===9)&&(W===K||W===fe)&&u(V.INVALID_LINKED_FORMAT,o(),0),W){case"@":return l.next(),R=g(f,7,"@"),f.inLinked=!0,R;case".":return T(l),l.next(),g(f,8,".");case":":return T(l),l.next(),g(f,9,":");default:return ee(l)?(R=g(f,1,De(l)),f.braceNest=0,f.inLinked=!1,R):I(l,f)||M(l,f)?(T(l),Le(l,f)):L(l,f)?(T(l),g(f,11,Pt(l))):j(l,f)?(T(l),W==="{"?ve(l,f)||R:g(f,10,Ft(l))):(v===7&&u(V.INVALID_LINKED_FORMAT,o(),0),f.braceNest=0,f.inLinked=!1,Me(l,f))}}function Me(l,f){let v={type:13};if(f.braceNest>0)return ve(l,f)||A(f);if(f.inLinked)return Le(l,f)||A(f);switch(l.currentChar()){case"{":return ve(l,f)||A(f);case"}":return u(V.UNBALANCED_CLOSING_BRACE,o(),0),l.next(),g(f,3,"}");case"@":return Le(l,f)||A(f);default:{if(ee(l))return v=g(f,1,De(l)),f.braceNest=0,f.inLinked=!1,v;if(se(l))return g(f,0,Ot(l));break}}return v}function Dt(){const{currentType:l,offset:f,startLoc:v,endLoc:R}=c;return c.lastType=l,c.lastOffset=f,c.lastStartLoc=v,c.lastEndLoc=R,c.offset=s(),c.startLoc=o(),r.currentChar()===_e?g(c,13):Me(r,c)}return{nextToken:Dt,currentOffset:s,currentPosition:o,context:p}}const Bi="parser",$i=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ji(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"<22>"}}}function Hi(e={}){const t=e.location!==!1,{onError:n}=e;function r(d,y,N,E,...C){const I=d.currentPosition();if(I.offset+=E,I.column+=E,n){const L=t?Qt(N,I):null,M=bt(y,L,{domain:Bi,args:C});n(M)}}function s(d,y,N){const E={type:d};return t&&(E.start=y,E.end=y,E.loc={start:N,end:N}),E}function o(d,y,N,E){E&&(d.type=E),t&&(d.end=y,d.loc&&(d.loc.end=N))}function a(d,y){const N=d.context(),E=s(3,N.offset,N.startLoc);return E.value=y,o(E,d.currentOffset(),d.currentPosition()),E}function i(d,y){const N=d.context(),{lastOffset:E,lastStartLoc:C}=N,I=s(5,E,C);return I.index=parseInt(y,10),d.nextToken(),o(I,d.currentOffset(),d.currentPosition()),I}function c(d,y){const N=d.context(),{lastOffset:E,lastStartLoc:C}=N,I=s(4,E,C);return I.key=y,d.nextToken(),o(I,d.currentOffset(),d.currentPosition()),I}function p(d,y){const N=d.context(),{lastOffset:E,lastStartLoc:C}=N,I=s(9,E,C);return I.value=y.replace($i,ji),d.nextToken(),o(I,d.currentOffset(),d.currentPosition()),I}function h(d){const y=d.nextToken(),N=d.context(),{lastOffset:E,lastStartLoc:C}=N,I=s(8,E,C);return y.type!==11?(r(d,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),I.value="",o(I,E,C),{nextConsumeToken:y,node:I}):(y.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,ie(y)),I.value=y.value||"",o(I,d.currentOffset(),d.currentPosition()),{node:I})}function u(d,y){const N=d.context(),E=s(7,N.offset,N.startLoc);return E.value=y,o(E,d.currentOffset(),d.currentPosition()),E}function g(d){const y=d.context(),N=s(6,y.offset,y.startLoc);let E=d.nextToken();if(E.type===8){const C=h(d);N.modifier=C.node,E=C.nextConsumeToken||d.nextToken()}switch(E.type!==9&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),E=d.nextToken(),E.type===2&&(E=d.nextToken()),E.type){case 10:E.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),N.key=u(d,E.value||"");break;case 4:E.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),N.key=c(d,E.value||"");break;case 5:E.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),N.key=i(d,E.value||"");break;case 6:E.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(E)),N.key=p(d,E.value||"");break;default:{r(d,V.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const C=d.context(),I=s(7,C.offset,C.startLoc);return I.value="",o(I,C.offset,C.startLoc),N.key=I,o(N,C.offset,C.startLoc),{nextConsumeToken:E,node:N}}}return o(N,d.currentOffset(),d.currentPosition()),{node:N}}function A(d){const y=d.context(),N=y.currentType===1?d.currentOffset():y.offset,E=y.currentType===1?y.endLoc:y.startLoc,C=s(2,N,E);C.items=[];let I=null;do{const j=I||d.nextToken();switch(I=null,j.type){case 0:j.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(a(d,j.value||""));break;case 5:j.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(i(d,j.value||""));break;case 4:j.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(c(d,j.value||""));break;case 6:j.value==null&&r(d,V.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ie(j)),C.items.push(p(d,j.value||""));break;case 7:{const ee=g(d);C.items.push(ee.node),I=ee.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const L=y.currentType===1?y.lastOffset:d.currentOffset(),M=y.currentType===1?y.lastEndLoc:d.currentPosition();return o(C,L,M),C}function m(d,y,N,E){const C=d.context();let I=E.items.length===0;const L=s(1,y,N);L.cases=[],L.cases.push(E);do{const M=A(d);I||(I=M.items.length===0),L.cases.push(M)}while(C.currentType!==13);return I&&r(d,V.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),o(L,d.currentOffset(),d.currentPosition()),L}function _(d){const y=d.context(),{offset:N,startLoc:E}=y,C=A(d);return y.currentType===13?C:m(d,N,E,C)}function T(d){const y=Vi(d,z({},e)),N=y.context(),E=s(0,N.offset,N.startLoc);return t&&E.loc&&(E.loc.source=d),E.body=_(y),e.onCacheKey&&(E.cacheKey=e.onCacheKey(d)),N.currentType!==13&&r(y,V.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,d[N.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 Wi(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Xn(e,t){for(let n=0;n<e.length;n++)bn(e[n],t)}function bn(e,t){switch(e.type){case 1:Xn(e.cases,t),t.helper("plural");break;case 2:Xn(e.items,t);break;case 6:{bn(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Gi(e,t={}){const n=Wi(e);n.helper("normalize"),e.body&&bn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Yi(e){const t=e.body;return t.type===2?Qn(t):t.cases.forEach(n=>Qn(n)),e}function Qn(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;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=En(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Ae(e){switch(e.t=e.type,e.type){case 0:{const t=e;Ae(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Ae(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Ae(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Ae(t.key),t.k=t.key,delete t.key,t.modifier&&(Ae(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Ji(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:o}=t,a=t.location!==!1,i={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};a&&e.loc&&(i.source=e.loc.source);const c=()=>i;function p(T,d){i.code+=T}function h(T,d=!0){const y=d?s:"";p(o?y+" ".repeat(T):y)}function u(T=!0){const d=++i.indentLevel;T&&h(d)}function g(T=!0){const d=--i.indentLevel;T&&h(d)}function A(){h(i.indentLevel)}return{context:c,push:p,indent:u,deindent:g,newline:A,helper:T=>`_${T}`,needIndent:()=>i.needIndent}}function zi(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),we(e,t.key),t.modifier?(e.push(", "),we(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function qi(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(we(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function Ki(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(we(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Xi(e,t){t.body?we(e,t.body):e.push("null")}function we(e,t){const{helper:n}=e;switch(t.type){case 0:Xi(e,t);break;case 1:Ki(e,t);break;case 2:qi(e,t);break;case 6:zi(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Qi=(e,t={})=>{const n=w(t.mode)?t.mode:"normal",r=w(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],c=Ji(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:a});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(a),i.length>0&&(c.push(`const { ${En(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),c.newline()),c.push("return "),we(c,e),c.deindent(a),c.push("}"),delete e.helpers;const{code:p,map:h}=c.context();return{ast:e,code:p,map:h?h.toJSON():void 0}};function Zi(e,t={}){const n=z({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,i=Hi(n).parse(e);return r?(o&&Yi(i),s&&Ae(i),{ast:i,code:""}):(Gi(i,n),Qi(i,n))}function ec(){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 tc=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function nc(e){return tc.test(e)}function rc(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 sc(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 oc(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:nc(t)?rc(t):"*"+t}function ac(e){const t=[];let n=-1,r=0,s=0,o,a,i,c,p,h,u;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=oc(a),a===!1))return!1;g[1]()}};function A(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,i="\\"+m,g[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&A())){if(c=sc(o),u=be[r],p=u[c]||u.l||8,p===8||(r=p[0],p[1]!==void 0&&(h=g[p[1]],h&&(i=o,h()===!1))))return;if(r===7)return t}}const Zn=new Map;function ic(e,t){return U(e)?e[t]:null}function cc(e,t){if(!U(e))return null;let n=Zn.get(t);if(n||(n=ac(t),n&&Zn.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const a=s[n[o]];if(a===void 0||$(s))return null;s=a,o++}return s}const lc=e=>e,uc=e=>"",fc="text",dc=e=>e.length===0?"":En(e),mc=Ci;function er(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function pc(e){const t=J(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(J(e.named.count)||J(e.named.n))?J(e.named.count)?e.named.count:J(e.named.n)?e.named.n:t:t}function hc(e,t){t.count||(t.count=e),t.n||(t.n=e)}function _c(e={}){const t=e.locale,n=pc(e),r=U(e.pluralRules)&&w(t)&&$(e.pluralRules[t])?e.pluralRules[t]:er,s=U(e.pluralRules)&&w(t)&&$(e.pluralRules[t])?er:void 0,o=d=>d[r(n,d.length,s)],a=e.list||[],i=d=>a[d],c=e.named||{};J(e.pluralIndex)&&hc(n,c);const p=d=>c[d];function h(d){const y=$(e.messages)?e.messages(d):U(e.messages)?e.messages[d]:!1;return y||(e.parent?e.parent.message(d):uc)}const u=d=>e.modifiers?e.modifiers[d]:lc,g=k(e.processor)&&$(e.processor.normalize)?e.processor.normalize:dc,A=k(e.processor)&&$(e.processor.interpolate)?e.processor.interpolate:mc,m=k(e.processor)&&w(e.processor.type)?e.processor.type:fc,T={list:i,named:p,plural:o,linked:(d,...y)=>{const[N,E]=y;let C="text",I="";y.length===1?U(N)?(I=N.modifier||I,C=N.type||C):w(N)&&(I=N||I):y.length===2&&(w(N)&&(I=N||I),w(E)&&(C=E||C));const L=h(d)(T),M=C==="vnode"&&H(L)&&I?L[0]:L;return I?u(I)(M,C):M},message:h,type:m,interpolate:A,normalize:g,values:z({},a,c)};return T}let He=null;function gc(e){He=e}function Ec(e,t,n){He&&He.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const bc=yc("function:translate");function yc(e){return t=>He&&He.emit(e,t)}const de={INVALID_ARGUMENT:Ri,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Sc=24;function me(e){return bt(e,null,void 0)}function yn(e,t){return t.locale!=null?tr(t.locale):tr(e.locale)}let Bt;function tr(e){if(w(e))return e;if($(e)){if(e.resolvedOnce&&Bt!=null)return Bt;if(e.constructor.name==="Function"){const t=e();if(Ai(t))throw me(de.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Bt=t}else throw me(de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw me(de.NOT_SUPPORT_LOCALE_TYPE)}function Tc(e,t,n){return[...new Set([n,...H(t)?t:U(t)?Object.keys(t):w(t)?[t]:[n]])]}function is(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=nr(o,a,t);const i=H(t)||!k(t)?t:t.default?t.default:null;a=w(i)?[i]:i,H(a)&&nr(o,a,!1),s.__localeChainCache.set(r,o)}return o}function nr(e,t,n){let r=!0;for(let s=0;s<t.length&&x(r);s++){const o=t[s];w(o)&&(r=vc(e,t[s],n))}return r}function vc(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=Lc(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Lc(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(H(n)||k(n))&&n[s]&&(r=n[s])}return r}const Nc="10.0.0-beta.5",yt=-1,We="en-US",rr="",sr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Oc(){return{upper:(e,t)=>t==="text"&&w(e)?e.toUpperCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&w(e)?e.toLowerCase():t==="vnode"&&U(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&w(e)?sr(e):t==="vnode"&&U(e)&&"__v_isVNode"in e?sr(e.children):e}}let cs;function Ac(e){cs=e}let ls;function Cc(e){ls=e}let us;function Ic(e){us=e}let fs=null;const wc=e=>{fs=e},Rc=()=>fs;let ds=null;const or=e=>{ds=e},kc=()=>ds;let ar=0;function Pc(e={}){const t=$(e.onWarn)?e.onWarn:Ii,n=w(e.version)?e.version:Nc,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=z({},e.modifiers||{},Oc()),h=e.pluralRules||{},u=$(e.missing)?e.missing:null,g=x(e.missingWarn)||Ie(e.missingWarn)?e.missingWarn:!0,A=x(e.fallbackWarn)||Ie(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,_=!!e.unresolving,T=$(e.postTranslation)?e.postTranslation:null,d=k(e.processor)?e.processor:null,y=x(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter,E=$(e.messageCompiler)?e.messageCompiler:cs,C=$(e.messageResolver)?e.messageResolver:ls||ic,I=$(e.localeFallbacker)?e.localeFallbacker:us||Tc,L=U(e.fallbackContext)?e.fallbackContext:void 0,M=e,j=U(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,ee=U(M.__numberFormatters)?M.__numberFormatters:new Map,se=U(M.__meta)?M.__meta:{};ar++;const q={version:n,cid:ar,locale:r,fallbackLocale:o,messages:a,modifiers:p,pluralRules:h,missing:u,missingWarn:g,fallbackWarn:A,fallbackFormat:m,unresolving:_,postTranslation:T,processor:d,warnHtmlMessage:y,escapeParameter:N,messageCompiler:E,messageResolver:C,localeFallbacker:I,fallbackContext:L,onWarn:t,__meta:se};return q.datetimeFormats=i,q.numberFormats=c,q.__datetimeFormatters=j,q.__numberFormatters=ee,__INTLIFY_PROD_DEVTOOLS__&&Ec(q,n,se),q}function Sn(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 Fc(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Dc(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Fc(e,t[r]))return!0;return!1}function $t(e){return n=>Mc(n,e)}function Mc(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,ir(e,a)],[]))}else return ir(e,n)}function ir(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,Zt(e,o)],[]);return e.normalize(r)}}function Zt(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(Zt(e,r.k||r.key),s?Zt(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 xc=e=>e;let st=Object.create(null);const Re=e=>U(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Uc(e,t={}){let n=!1;const r=t.onError||ki;return t.onError=s=>{n=!0,r(s)},{...Zi(e,t),detectError:n}}function Vc(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&w(e)){x(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||xc)(e),s=st[r];if(s)return s;const{ast:o,detectError:a}=Uc(e,{...t,location:!1,jit:!0}),i=$t(o);return a?i:st[r]=i}else{const n=e.cacheKey;if(n){const r=st[n];return r||(st[n]=$t(e))}else return $t(e)}}const cr=()=>"",ne=e=>$(e);function lr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:a,messages:i}=e,[c,p]=en(...t),h=x(p.missingWarn)?p.missingWarn:e.missingWarn,u=x(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,g=x(p.escapeParameter)?p.escapeParameter:e.escapeParameter,A=!!p.resolvedMessage,m=w(p.default)||x(p.default)?x(p.default)?o?c:()=>c:p.default:n?o?c:()=>c:null,_=n||m!=null&&(w(m)||$(m)),T=yn(e,p);g&&Bc(p);let[d,y,N]=A?[c,T,i[T]||{}]:ms(e,c,T,a,u,h),E=d,C=c;if(!A&&!(w(E)||Re(E)||ne(E))&&_&&(E=m,C=E),!A&&(!(w(E)||Re(E)||ne(E))||!w(y)))return s?yt:c;let I=!1;const L=()=>{I=!0},M=ne(E)?E:ps(e,c,y,E,C,L);if(I)return E;const j=Hc(e,y,N,p),ee=_c(j),se=$c(e,M,ee),q=r?r(se,c):se;if(__INTLIFY_PROD_DEVTOOLS__){const Te={timestamp:Date.now(),key:w(c)?c:ne(E)?E.key:"",locale:y||(ne(E)?E.locale:""),format:w(E)?E:ne(E)?E.source:"",message:q};Te.meta=z({},e.__meta,Rc()||{}),bc(Te)}return q}function Bc(e){H(e.list)?e.list=e.list.map(t=>w(t)?qn(t):t):U(e.named)&&Object.keys(e.named).forEach(t=>{w(e.named[t])&&(e.named[t]=qn(e.named[t]))})}function ms(e,t,n,r,s,o){const{messages:a,onWarn:i,messageResolver:c,localeFallbacker:p}=e,h=p(e,r,n);let u={},g,A=null;const m="translate";for(let _=0;_<h.length&&(g=h[_],u=a[g]||{},(A=c(u,t))===null&&(A=u[t]),!(w(A)||Re(A)||ne(A)));_++)if(!Dc(g,h)){const T=Sn(e,t,g,o,m);T!==t&&(A=T)}return[A,g,u]}function ps(e,t,n,r,s,o){const{messageCompiler:a,warnHtmlMessage:i}=e;if(ne(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,jc(e,n,s,r,i,o));return c.locale=n,c.key=t,c.source=r,c}function $c(e,t,n){return t(n)}function en(...e){const[t,n,r]=e,s={};if(!w(t)&&!J(t)&&!ne(t)&&!Re(t))throw me(de.INVALID_ARGUMENT);const o=J(t)?String(t):(ne(t),t);return J(n)?s.plural=n:w(n)?s.default=n:k(n)&&!Et(n)?s.named=n:H(n)&&(s.list=n),J(r)?s.plural=r:w(r)?s.default=r:k(r)&&z(s,r),[o,s]}function jc(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:a=>{throw o&&o(a),a},onCacheKey:a=>vi(t,n,a)}}function Hc(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:a,fallbackLocale:i,fallbackWarn:c,missingWarn:p,fallbackContext:h}=e,g={locale:t,modifiers:s,pluralRules:o,messages:A=>{let m=a(n,A);if(m==null&&h){const[,,_]=ms(h,A,t,i,c,p);m=a(_,A)}if(w(m)||Re(m)){let _=!1;const d=ps(e,A,t,m,A,()=>{_=!0});return _?cr:d}else return ne(m)?m:cr}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),J(r.plural)&&(g.pluralIndex=r.plural),g}function ur(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[c,p,h,u]=tn(...t),g=x(h.missingWarn)?h.missingWarn:e.missingWarn;x(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn;const A=!!h.part,m=yn(e,h),_=a(e,s,m);if(!w(c)||c==="")return new Intl.DateTimeFormat(m,u).format(p);let T={},d,y=null;const N="datetime format";for(let I=0;I<_.length&&(d=_[I],T=n[d]||{},y=T[c],!k(y));I++)Sn(e,c,d,g,N);if(!k(y)||!w(d))return r?yt:c;let E=`${d}__${c}`;Et(u)||(E=`${E}__${JSON.stringify(u)}`);let C=i.get(E);return C||(C=new Intl.DateTimeFormat(d,z({},y,u)),i.set(E,C)),A?C.formatToParts(p):C.format(p)}const hs=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function tn(...e){const[t,n,r,s]=e,o={};let a={},i;if(w(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw me(de.INVALID_ISO_DATE_ARGUMENT);const p=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();i=new Date(p);try{i.toISOString()}catch{throw me(de.INVALID_ISO_DATE_ARGUMENT)}}else if(Ni(t)){if(isNaN(t.getTime()))throw me(de.INVALID_DATE_ARGUMENT);i=t}else if(J(t))i=t;else throw me(de.INVALID_ARGUMENT);return w(n)?o.key=n:k(n)&&Object.keys(n).forEach(c=>{hs.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 fr(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function dr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:i}=e,[c,p,h,u]=nn(...t),g=x(h.missingWarn)?h.missingWarn:e.missingWarn;x(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn;const A=!!h.part,m=yn(e,h),_=a(e,s,m);if(!w(c)||c==="")return new Intl.NumberFormat(m,u).format(p);let T={},d,y=null;const N="number format";for(let I=0;I<_.length&&(d=_[I],T=n[d]||{},y=T[c],!k(y));I++)Sn(e,c,d,g,N);if(!k(y)||!w(d))return r?yt:c;let E=`${d}__${c}`;Et(u)||(E=`${E}__${JSON.stringify(u)}`);let C=i.get(E);return C||(C=new Intl.NumberFormat(d,z({},y,u)),i.set(E,C)),A?C.formatToParts(p):C.format(p)}const _s=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function nn(...e){const[t,n,r,s]=e,o={};let a={};if(!J(t))throw me(de.INVALID_ARGUMENT);const i=t;return w(n)?o.key=n:k(n)&&Object.keys(n).forEach(c=>{_s.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 mr(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}ec();const Wc="10.0.0-beta.5";function Gc(){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 X={UNEXPECTED_RETURN_TYPE:Sc,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Z(e,...t){return bt(e,null,void 0)}const rn=Ee("__translateVNode"),sn=Ee("__datetimeParts"),on=Ee("__numberParts"),gs=Ee("__setPluralRules"),Es=Ee("__injectWithOption"),an=Ee("__dispose");function Ge(e){if(!U(e))return e;for(const t in e)if(dt(e,t))if(!t.includes("."))U(e[t])&&Ge(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let a=0;a<r;a++){if(n[a]in s||(s[n[a]]={}),!U(s[n[a]])){o=!0;break}s=s[n[a]]}o||(s[n[r]]=e[t],delete e[t]),U(s[n[r]])&&Ge(s[n[r]])}return e}function Tn(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,a=k(n)?n:H(r)?{}:{[e]:{}};if(H(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:c,resource:p}=i;c?(a[c]=a[c]||{},lt(p,a[c])):lt(p,a)}else w(i)&&lt(JSON.parse(i),a)}),s==null&&o)for(const i in a)dt(a,i)&&Ge(a[i]);return a}function bs(e){return e.type}function ys(e,t,n){let r=U(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Tn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(U(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(U(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function pr(e){return Cr($s,null,e,0)}const hr="__INTLIFY_META__",_r=()=>[],Yc=()=>!1;let gr=0;function Er(e){return(t,n,r,s)=>e(n,r,$e()||void 0,s)}const Jc=()=>{const e=$e();let t=null;return e&&(t=bs(e)[hr])?{[hr]:t}:null};function vn(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,o=ft?ae:Bs;let a=x(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(Tn(i.value,e)),h=o(k(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),u=o(k(e.numberFormats)?e.numberFormats:{[i.value]:{}});let g=t?t.missingWarn:x(e.missingWarn)||Ie(e.missingWarn)?e.missingWarn:!0,A=t?t.fallbackWarn:x(e.fallbackWarn)||Ie(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:x(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,T=$(e.missing)?e.missing:null,d=$(e.missing)?Er(e.missing):null,y=$(e.postTranslation)?e.postTranslation:null,N=t?t.warnHtmlMessage:x(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,L;L=(()=>{r&&or(null);const b={version:Wc,locale:i.value,fallbackLocale:c.value,messages:p.value,modifiers:C,pluralRules:I,missing:d===null?void 0:d,missingWarn:g,fallbackWarn:A,fallbackFormat:_,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:N,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};b.datetimeFormats=h.value,b.numberFormats=u.value,b.__datetimeFormatters=k(L)?L.__datetimeFormatters:void 0,b.__numberFormatters=k(L)?L.__numberFormatters:void 0;const O=Pc(b);return r&&or(O),O})(),Ue(L,i.value,c.value);function j(){return[i.value,c.value,p.value,h.value,u.value]}const ee=Oe({get:()=>i.value,set:b=>{i.value=b,L.locale=i.value}}),se=Oe({get:()=>c.value,set:b=>{c.value=b,L.fallbackLocale=c.value,Ue(L,i.value,b)}}),q=Oe(()=>p.value),Te=Oe(()=>h.value),St=Oe(()=>u.value);function Tt(){return $(y)?y:null}function vt(b){y=b,L.postTranslation=b}function Lt(){return T}function Nt(b){b!==null&&(d=Er(b)),T=b,L.missing=d}const ue=(b,O,B,G,ye,et)=>{j();let Ne;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?kc():void 0),Ne=b(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(B!=="translate exists"&&J(Ne)&&Ne===yt||B==="translate exists"&&!Ne){const[vs,Sl]=O();return t&&m?G(t):ye(vs)}else{if(et(Ne))return Ne;throw Z(X.UNEXPECTED_RETURN_TYPE)}};function Xe(...b){return ue(O=>Reflect.apply(lr,null,[O,...b]),()=>en(...b),"translate",O=>Reflect.apply(O.t,O,[...b]),O=>O,O=>w(O))}function Qe(...b){const[O,B,G]=b;if(G&&!U(G))throw Z(X.INVALID_ARGUMENT);return Xe(O,B,z({resolvedMessage:!0},G||{}))}function Ot(...b){return ue(O=>Reflect.apply(ur,null,[O,...b]),()=>tn(...b),"datetime format",O=>Reflect.apply(O.d,O,[...b]),()=>rr,O=>w(O))}function At(...b){return ue(O=>Reflect.apply(dr,null,[O,...b]),()=>nn(...b),"number format",O=>Reflect.apply(O.n,O,[...b]),()=>rr,O=>w(O))}function Ct(b){return b.map(O=>w(O)||J(O)||x(O)?pr(String(O)):O)}const It={normalize:Ct,interpolate:b=>b,type:"vnode"};function wt(...b){return ue(O=>{let B;const G=O;try{G.processor=It,B=Reflect.apply(lr,null,[G,...b])}finally{G.processor=null}return B},()=>en(...b),"translate",O=>O[rn](...b),O=>[pr(O)],O=>H(O))}function Ze(...b){return ue(O=>Reflect.apply(dr,null,[O,...b]),()=>nn(...b),"number format",O=>O[on](...b),_r,O=>w(O)||H(O))}function Rt(...b){return ue(O=>Reflect.apply(ur,null,[O,...b]),()=>tn(...b),"datetime format",O=>O[sn](...b),_r,O=>w(O)||H(O))}function kt(b){I=b,L.pluralRules=I}function Pt(b,O){return ue(()=>{if(!b)return!1;const B=w(O)?O:i.value,G=ve(B),ye=L.messageResolver(G,b);return Re(ye)||ne(ye)||w(ye)},()=>[b],"translate exists",B=>Reflect.apply(B.te,B,[b,O]),Yc,B=>x(B))}function Ft(b){let O=null;const B=is(L,c.value,i.value);for(let G=0;G<B.length;G++){const ye=p.value[B[G]]||{},et=L.messageResolver(ye,b);if(et!=null){O=et;break}}return O}function De(b){const O=Ft(b);return O??(t?t.tm(b)||{}:{})}function ve(b){return p.value[b]||{}}function Le(b,O){if(s){const B={[b]:O};for(const G in B)dt(B,G)&&Ge(B[G]);O=B[b]}p.value[b]=O,L.messages=p.value}function Me(b,O){p.value[b]=p.value[b]||{};const B={[b]:O};if(s)for(const G in B)dt(B,G)&&Ge(B[G]);O=B[b],lt(O,p.value[b]),L.messages=p.value}function Dt(b){return h.value[b]||{}}function l(b,O){h.value[b]=O,L.datetimeFormats=h.value,fr(L,b,O)}function f(b,O){h.value[b]=z(h.value[b]||{},O),L.datetimeFormats=h.value,fr(L,b,O)}function v(b){return u.value[b]||{}}function R(b,O){u.value[b]=O,L.numberFormats=u.value,mr(L,b,O)}function W(b,O){u.value[b]=z(u.value[b]||{},O),L.numberFormats=u.value,mr(L,b,O)}gr++,t&&ft&&(Be(t.locale,b=>{a&&(i.value=b,L.locale=b,Ue(L,i.value,c.value))}),Be(t.fallbackLocale,b=>{a&&(c.value=b,L.fallbackLocale=b,Ue(L,i.value,c.value))}));const P={id:gr,locale:ee,fallbackLocale:se,get inheritLocale(){return a},set inheritLocale(b){a=b,b&&t&&(i.value=t.locale.value,c.value=t.fallbackLocale.value,Ue(L,i.value,c.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:q,get modifiers(){return C},get pluralRules(){return I||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(b){g=b,L.missingWarn=g},get fallbackWarn(){return A},set fallbackWarn(b){A=b,L.fallbackWarn=A},get fallbackRoot(){return m},set fallbackRoot(b){m=b},get fallbackFormat(){return _},set fallbackFormat(b){_=b,L.fallbackFormat=_},get warnHtmlMessage(){return N},set warnHtmlMessage(b){N=b,L.warnHtmlMessage=b},get escapeParameter(){return E},set escapeParameter(b){E=b,L.escapeParameter=b},t:Xe,getLocaleMessage:ve,setLocaleMessage:Le,mergeLocaleMessage:Me,getPostTranslationHandler:Tt,setPostTranslationHandler:vt,getMissingHandler:Lt,setMissingHandler:Nt,[gs]:kt};return P.datetimeFormats=Te,P.numberFormats=St,P.rt=Qe,P.te=Pt,P.tm=De,P.d=Ot,P.n=At,P.getDateTimeFormat=Dt,P.setDateTimeFormat=l,P.mergeDateTimeFormat=f,P.getNumberFormat=v,P.setNumberFormat=R,P.mergeNumberFormat=W,P[Es]=n,P[rn]=wt,P[sn]=Rt,P[on]=Ze,P}function zc(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=x(e.silentTranslationWarn)||Ie(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=x(e.silentFallbackWarn)||Ie(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=x(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,c=k(e.modifiers)?e.modifiers:{},p=e.pluralizationRules,h=$(e.postTranslation)?e.postTranslation:void 0,u=w(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,A=x(e.sync)?e.sync:!0;let m=e.messages;if(k(e.sharedMessages)){const C=e.sharedMessages;m=Object.keys(C).reduce((L,M)=>{const j=L[M]||(L[M]={});return z(j,C[M]),L},m||{})}const{__i18n:_,__root:T,__injectWithOption:d}=e,y=e.datetimeFormats,N=e.numberFormats,E=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:E,datetimeFormats:y,numberFormats:N,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:a,fallbackFormat:i,modifiers:c,pluralRules:p,postTranslation:h,warnHtmlMessage:u,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:A,__i18n:_,__root:T,__injectWithOption:d}}function cn(e={}){const t=vn(zc(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 x(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=x(s)?!s:s},get silentFallbackWarn(){return x(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=x(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,h=null;if(!w(o))throw Z(X.INVALID_ARGUMENT);const u=o;return w(a)?c.locale=a:J(a)?c.plural=a:H(a)?p=a:k(a)&&(h=a),w(i)?c.locale=i:H(i)?p=i:k(i)&&(h=i),Reflect.apply(t.t,t,[u,p||h||{},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 Ln={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function qc({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===wr?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Ss(){return wr}const Kc=Ye({name:"i18n-t",props:z({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>J(e)||!isNaN(e)}},Ln),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Nn({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(u=>u!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=w(e.plural)?+e.plural:e.plural);const i=qc(t,o),c=s[rn](e.keypath,i,a),p=z({},r),h=w(e.tag)||U(e.tag)?e.tag:Ss();return Ir(h,p,c)}}}),br=Kc;function Xc(e){return H(e)&&!w(e[0])}function Ts(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:U(e.format)&&(w(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((g,A)=>n.includes(A)?z({},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 m=s[g.type],_=m?m({[g.type]:g.value,index:A,parts:c}):[g.value];return Xc(_)&&(_[0].key=`${g.type}-${A}`),_}):w(c)&&(p=[c]);const h=z({},o),u=w(e.tag)||U(e.tag)?e.tag:Ss();return Ir(u,h,p)}}const Qc=Ye({name:"i18n-n",props:z({value:{type:Number,required:!0},format:{type:[String,Object]}},Ln),setup(e,t){const n=e.i18n||Nn({useScope:e.scope,__useComponent:!0});return Ts(e,t,_s,(...r)=>n[on](...r))}}),yr=Qc,Zc=Ye({name:"i18n-d",props:z({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ln),setup(e,t){const n=e.i18n||Nn({useScope:e.scope,__useComponent:!0});return Ts(e,t,hs,(...r)=>n[sn](...r))}}),Sr=Zc;function el(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 tl(e){const t=a=>{const{instance:i,value:c}=a;if(!i||!i.$)throw Z(X.UNEXPECTED_ERROR);const p=el(e,i.$),h=Tr(c);return[Reflect.apply(p.t,p,[...vr(h)]),p]};return{created:(a,i)=>{const[c,p]=t(i);ft&&e.global===p&&(a.__i18nWatcher=Be(p.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=p,a.textContent=c},unmounted:a=>{ft&&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=Tr(i);a.textContent=Reflect.apply(c.t,c,[...vr(p)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function Tr(e){if(w(e))return{path:e};if(k(e)){if(!("path"in e))throw Z(X.REQUIRED_VALUE,"path");return e}else throw Z(X.INVALID_VALUE)}function vr(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},i=r||{};return w(n)&&(a.locale=n),J(s)&&(a.plural=s),J(o)&&(a.plural=o),[t,i,a]}function nl(e,t,...n){const r=k(n[0])?n[0]:{};(x(r.globalInstall)?r.globalInstall:!0)&&([br.name,"I18nT"].forEach(o=>e.component(o,br)),[yr.name,"I18nN"].forEach(o=>e.component(o,yr)),[Sr.name,"I18nD"].forEach(o=>e.component(o,Sr))),e.directive("t",tl(t))}function rl(e,t,n){return{beforeCreate(){const r=$e();if(!r)throw Z(X.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=Lr(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=cn(o);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Lr(e,s);else{this.$i18n=cn({__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&&ys(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 Z(X.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 Lr(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[gs](t.pluralizationRules||e.pluralizationRules);const n=Tn(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 sl=Ee("global-vue-i18n");function ol(e={},t){const n=__VUE_I18N_LEGACY_API__&&x(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=x(e.globalInjection)?e.globalInjection:!0,s=new Map,[o,a]=al(e,n),i=Ee("");function c(g){return s.get(g)||null}function p(g,A){s.set(g,A)}function h(g){s.delete(g)}const u={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__,u),k(A[0])){const T=A[0];u.__composerExtend=T.__composerExtend,u.__vueI18nExtend=T.__vueI18nExtend}let m=null;!n&&r&&(m=pl(g,u.global)),__VUE_I18N_FULL_INSTALL__&&nl(g,u,...A),__VUE_I18N_LEGACY_API__&&n&&g.mixin(rl(a,a.__composer,u));const _=g.unmount;g.unmount=()=>{m&&m(),u.dispose(),_()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:p,__deleteInstance:h};return u}function Nn(e={}){const t=$e();if(t==null)throw Z(X.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Z(X.NOT_INSTALLED);const n=il(t),r=ll(n),s=bs(t),o=cl(e,s);if(o==="global")return ys(r,e,s),r;if(o==="parent"){let c=ul(n,t,e.__useComponent);return c==null&&(c=r),c}const a=n;let i=a.__getInstance(t);if(i==null){const c=z({},e);"__i18n"in s&&(c.__i18n=s.__i18n),r&&(c.__root=r),i=vn(c),a.__composerExtend&&(i[an]=a.__composerExtend(i)),dl(a,t,i),a.__setInstance(t,i)}return i}function al(e,t,n){const r=Ds(),s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>cn(e)):r.run(()=>vn(e));if(s==null)throw Z(X.UNEXPECTED_ERROR);return[r,s]}function il(e){const t=Ms(e.isCE?sl:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Z(e.isCE?X.NOT_INSTALLED_WITH_PROVIDE:X.UNEXPECTED_ERROR);return t}function cl(e,t){return Et(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ll(e){return e.mode==="composition"?e.global:e.global.__composer}function ul(e,t,n=!1){let r=null;const s=t.root;let o=fl(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[Es]&&(r=null))}if(r!=null||s===o)break;o=o.parent}return r}function fl(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function dl(e,t,n){xs(()=>{},t),Us(()=>{const r=n;e.__deleteInstance(t);const s=r[an];s&&(s(),delete r[an])},t)}const ml=["locale","fallbackLocale","availableLocales"],Nr=["t","rt","d","n","tm","te"];function pl(e,t){const n=Object.create(null);return ml.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Z(X.UNEXPECTED_ERROR);const a=Vs(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,Nr.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Z(X.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,Nr.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}Gc();Ac(Vc);Cc(cc);Ic(is);if(__INTLIFY_PROD_DEVTOOLS__){const e=Se();e.__INTLIFY__=!0,gc(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const hl={"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":"回到首页","favorites.drawer.title":"收藏夹","favorites.drawer.subtitle":"收藏的菜单会显示在这里,便于快速进入","favorites.drawer.triggerTooltip":"打开收藏夹","favorites.drawer.remove":"移除收藏","favorites.drawer.empty":"暂无收藏内容","favorites.drawer.clearConfirm":"确定要清空所有收藏吗?","favorites.drawer.clearTitle":"清空收藏","favorites.drawer.clearAll":"清空全部","favorites.action.add":"收藏","favorites.action.remove":"取消收藏","favorites.tooltip":"{action}{target}"},_l={"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","favorites.drawer.title":"Favorites","favorites.drawer.subtitle":"Starred menus appear here for quick access","favorites.drawer.triggerTooltip":"Open favorites","favorites.drawer.remove":"Remove from favorites","favorites.drawer.empty":"No favorites yet","favorites.drawer.clearConfirm":"Remove all starred menus?","favorites.drawer.clearTitle":"Clear favorites","favorites.drawer.clearAll":"Clear all","favorites.action.add":"Add to favorites","favorites.action.remove":"Remove from favorites","favorites.tooltip":"{action}: {target}"},gl={"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":"トップページに戻る","favorites.drawer.title":"お気に入り","favorites.drawer.subtitle":"お気に入りに追加したメニューがここに表示されます","favorites.drawer.triggerTooltip":"お気に入りを開く","favorites.drawer.remove":"お気に入りから削除","favorites.drawer.empty":"お気に入りはまだありません","favorites.drawer.clearConfirm":"すべてのお気に入りを削除してもよろしいですか?","favorites.drawer.clearTitle":"お気に入りをクリア","favorites.drawer.clearAll":"すべて削除","favorites.action.add":"お気に入りに追加","favorites.action.remove":"お気に入りから削除","favorites.tooltip":"{action}: {target}"},El="__mul_lan_key__",jt={ZH:"zh",EN:"en",JP:"jp"},$l={zh:"zh-cn",en:"en-us",jp:"jp-jp"},jl=[{label:"简体中文",value:jt.ZH},{label:"English",value:jt.EN},{label:"Japanese",value:jt.JP}],On=ol({legacy:!1,locale:localStorage.getItem(El)||"zh",globalInjection:!0,messages:{zh:hl,en:_l,jp:gl}}),Hl=On.global.t;On.global.locale.value;const Fe=js(uo);yi(Fe);gi(Fe);Ti(Fe);Fe.use(ke).use(ge);Fe.use(On);ge.isReady().then(()=>{Fe.mount("#app")});function bl(){window.shopCommonComponents.registerCommonComponents()}function yl(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()}}yl("//jm-static.jd.com/shop-common-components/shop-common-components.iife.js?appId=5UFRIZGCFNDRACJL5NVV",bl);export{Hl as $,Qa as A,Fl as B,F as C,Ke as D,El as M,_i as S,hi as _,Al as a,Cl as b,Za as c,ii as d,ai as e,Ul as f,Nl as g,ts as h,qa as i,wl as j,Il as k,ke as l,Vl as m,Pl as n,ns as o,co as p,jt as q,Rl as r,Ol as s,jl as t,Bl as u,kl as v,$l as w,xl as x,Ml as y,Dl as z};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["static/index-0A8bgQgV.js","static/vue-tssh-6K7.js","static/element-2cKDr3_0.js","static/index-WXf5F0LV.css","static/index-4iTsonXh.js","static/403-IVZ5lbH9.js","static/ErrorPageLayout-e38NbEb_.js","static/ErrorPageLayout-K4EnIyPL.css","static/404-XATRCD6S.js","static/index-suEz6-cr.js","static/index-QKykmxx3.css","static/index-YQFvCBem.js","static/index-3uTpBZbH.css","static/index-PlzXbnCA.js","static/index-6QbtVMcp.css","static/index-6yL1bArm.js","static/index-TasnPRIY.js","static/index-QNlBRGsM.css","static/edit-mu4I01mS.js","static/edit-FSUPwJjQ.css","static/index-KN6_SzwE.js","static/index-aCmBdU8X.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}