let z,GD,g2,lr,y2,b2,Ue,Jy,Zy,_2,qD,N,Ae,Ke,Et,R,At,ye,ds,Ot,WD,KD,YD,Bn,Qy,e6,c1,Pc,h,t6,On,u1,d1,n6,XD,kt,JD,ZD,r6,jo,je,QD,Re,Ve,$e,jt,eI,Ft,o6,sr,tI,An,ze,yn,rt,Be,lt,a6,et,He,cr,wt,Ho,Yt,tl,va,Za,nI,i6,rI,oI,Rr,aI,iI,ps,p1,A2,qt,f1,tt,Ne,lI,sI,Tn,cI,w2,uI,We,l6,Vr,un,E2,x2,s6,Er,h1,m1,Nc,c6,dI,u6,fs,pI,fI,hI,S2,d6,p6,C2,eo,mI,jn,vI,gI,ur,bn,yI,bI,Fc,v1,hs,Uo,_I,f6,AI,wI,g1,Xe,y1,h6,at,EI,k2,b1,_1,m6,$c,v6,g6,Pr,xI,nl,y6,O2,SI,Qa,ga,b6,bt,xt,to,Ye,st,dr,CI,Go,no,it,ee,T2,Hn,Zn,Ln,zc,ms,Dn,Ao,vs,kI,gs,A1,OI,TI,_6,A6,LI,DI,II,L2,MI,RI,w6,VI,PI,NI,E6,x6,xr,FI,$I,Un,rl,In,ol,w1,pr,E1,_t,Oe,Zt,Bc,S6,zI,BI,C6,D2,k6,wn,ct,O6,jc,ya,jI,HI,UI,T6,qo,I2,wo,GI,L6,al,x1,ce,qI,ro,D6,hn,ei,il,M2,R2,V2,P2,N2,WI,Hc,Qn,Eo,ti,S1,ys,ll,I6,M6,F2,R6,V6,P6,N6,F6,$6,z6,xo,an,B6,$2,KI,j6,YI,z2,XI,B2,H6,JI,ZI,j2,H2,U6,U2,Sr,C1,G6,q6,W6,Uc,Gc,bs,QI,G2,q2,K6,Y6,W2,k1,sl,X6,Mt,eM,tM,J6,nM,K2,rM,Z6,Q6,oM,aM,qc,e8,Y2,t8,iM,lM,cl,oo,So,n8,Wc,sM,O1,r8,cM,X2,uM,dM,o8,pM,a8,i8,l8,s8,ul,T1,c8,u8,J2,fM,te,re,ni,Z2,Q2,d8,ut,Co,Ht,F,p8,Tt,j,f8,Pe,h8,be,pe,nt,m8,L1,DX=(async()=>{if(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const n of document.querySelectorAll('link[rel="modulepreload"]'))t(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&t(o)}).observe(document,{childList:!0,subtree:!0})}function t(n){if(n.ep)return;n.ep=!0;const r=function(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}(n);fetch(n.href,r)}}(),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")).style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const g8=Object.freeze({left:0,top:0,width:16,height:16}),D1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Kc=Object.freeze({...g8,...D1}),eh=Object.freeze({...Kc,body:"",hidden:!1});function y8(e,t){const n=function(r,o){const a={};!r.hFlip!=!o.hFlip&&(a.hFlip=!0),!r.vFlip!=!o.vFlip&&(a.vFlip=!0);const i=((r.rotate||0)+(o.rotate||0))%4;return i&&(a.rotate=i),a}(e,t);for(const r in eh)r in D1?r in e&&!(r in n)&&(n[r]=D1[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function hM(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=y8(r[l]||o[l],a)}return i(t),n.forEach(i),y8(e,a)}function b8(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=function(o,a){const i=o.icons,l=o.aliases||Object.create(null),s=Object.create(null);return(a||Object.keys(i).concat(Object.keys(l))).forEach(function c(u){if(i[u])return s[u]=[];if(!(u in s)){s[u]=null;const d=l[u]&&l[u].parent,p=d&&c(d);p&&(s[u]=[d].concat(p))}return s[u]}),s}(e);for(const o in r){const a=r[o];a&&(t(o,hM(e,o,a)),n.push(o))}return n}const Yc=/^[a-z0-9]+(-[a-z0-9]+)*$/,_s=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),s=o.pop(),c={provider:o.length>0?o[0]:r,prefix:s,name:l};return t&&!I1(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!I1(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:a};return t&&!I1(l,n)?null:l}return null},I1=(e,t)=>!!e&&!(e.provider!==""&&!e.provider.match(Yc)||!(t&&e.prefix===""||e.prefix.match(Yc))||!e.name.match(Yc)),mM={provider:"",aliases:{},not_found:{},...g8};function th(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function _8(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!th(e,mM))return null;const n=t.icons;for(const o in n){const a=n[o];if(!o.match(Yc)||typeof a.body!="string"||!th(a,eh))return null}const r=t.aliases||Object.create(null);for(const o in r){const a=r[o],i=a.parent;if(!o.match(Yc)||typeof i!="string"||!n[i]&&!r[i]||!th(a,eh))return null}return t}const M1=Object.create(null);function Wo(e,t){const n=M1[e]||(M1[e]=Object.create(null));return n[t]||(n[t]=function(r,o){return{provider:r,prefix:o,icons:Object.create(null),missing:new Set}}(e,t))}function nh(e,t){return _8(t)?b8(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}let Xc=!1;function Jc(e){const t=typeof e=="string"?_s(e,!0,Xc):e;if(t){const n=Wo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function A8(e,t){const n=_s(e,!0,Xc);return n?function(r,o,a){try{if(typeof a.body=="string")return r.icons[o]={...a},!0}catch{}return!1}(Wo(n.provider,n.prefix),n.name,t):!1}function w8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Xc&&!t&&!e.prefix){let r=!1;return _8(e)&&(e.prefix="",b8(e,(o,a)=>{a&&A8(o,a)&&(r=!0)})),r}const n=e.prefix;return I1({provider:t,prefix:n,name:"a"})?!!nh(Wo(t,n),e):!1}const E8=Object.freeze({width:null,height:null}),x8=Object.freeze({...E8,...D1}),vM=/(-?[0-9.]*[0-9]+[0-9.]*)/g,gM=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function rh(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(vM);if(r===null||!r.length)return e;const o=[];let a=r.shift(),i=gM.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*n)/n)}else o.push(a);if(a=r.shift(),a===void 0)return o.join("");i=!i}}const yM=e=>e==="unset"||e==="undefined"||e==="none";function R1(e,t){const n={...Kc,...e},r={...x8,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(m=>{const v=[],g=m.hFlip,b=m.vFlip;let y,_=m.rotate;switch(g?b?_+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):b&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0),_<0&&(_-=4*Math.floor(_/4)),_%=4,_){case 1:y=o.height/2+o.top,v.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,v.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")")}_%2==1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),v.length&&(a=''+a+"")});const i=r.width,l=r.height,s=o.width,c=o.height;let u,d;i===null?(d=l===null?"1em":l==="auto"?c:l,u=rh(d,s/c)):(u=i==="auto"?s:i,d=l===null?rh(u,c/s):l==="auto"?c:l);const p={},f=(m,v)=>{yM(v)||(p[m]=v.toString())};return f("width",u),f("height",d),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+s.toString()+" "+c.toString(),{attributes:p,body:a}}const bM=/\sid="(\S+)"/g,_M="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let AM=0;function S8(e,t=_M){const n=[];let r;for(;r=bM.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(a=>{const i=typeof t=="function"?t(a):t+(AM++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),"")}const dl={local:!0,session:!0},C8={local:new Set,session:new Set};let oh=!1;const k8="iconify2",Zc="iconify",O8=Zc+"-count",T8=Zc+"-version",L8=36e5,wM=168;function ah(e,t){try{return e.getItem(t)}catch{}}function ih(e,t,n){try{return e.setItem(t,n),!0}catch{}}function D8(e,t){try{e.removeItem(t)}catch{}}function lh(e,t){return ih(e,O8,t.toString())}function sh(e){return parseInt(ah(e,O8))||0}let V1=typeof window>"u"?{}:window;function I8(e){const t=e+"Storage";try{if(V1&&V1[t]&&typeof V1[t].length=="number")return V1[t]}catch{}dl[e]=!1}function M8(e,t){const n=I8(e);if(!n)return;const r=ah(n,T8);if(r!==k8){if(r){const l=sh(n);for(let s=0;s{const s=Zc+l.toString(),c=ah(n,s);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}D8(n,s)}};let i=sh(n);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,lh(n,i)):C8[e].add(l))}function R8(){if(!oh){oh=!0;for(const e in dl)M8(e,t=>{const n=t.data,r=Wo(t.provider,n.prefix);if(!nh(r,n).length)return!1;const o=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,o):o,!0})}}function V8(e,t){switch(e){case"local":case"session":dl[e]=t;break;case"all":for(const n in dl)dl[n]=t}}const ch=Object.create(null);function P8(e,t){ch[e]=t}function uh(e){return ch[e]||ch[""]}function dh(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const P1=Object.create(null),N1=["https://api.simplesvg.com","https://api.unisvg.com"],ph=[];for(;N1.length>0;)N1.length===1||Math.random()>.5?ph.push(N1.shift()):ph.push(N1.pop());function N8(e,t){const n=dh(t);return n!==null&&(P1[e]=n,!0)}function F1(e){return P1[e]}P1[""]=dh({resources:["https://api.iconify.design"].concat(ph)});let $1=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();const EM={prepare:(e,t,n)=>{const r=[],o=function(s,c){const u=F1(s);if(!u)return 0;let d;if(u.maxURL){let p=0;u.resources.forEach(m=>{p=Math.max(p,m.length)});const f=c+".json?icons=";d=u.maxURL-p-u.path.length-f.length}else d=0;return d}(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return n.forEach((s,c)=>{l+=s.length+1,l>=o&&c>0&&(r.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=s.length),i.icons.push(s)}),r.push(i),r},send:(e,t,n)=>{if(!$1)return void n("abort",424);let r=function(a){if(typeof a=="string"){const i=F1(a);if(i)return i.path}return"/"}(t.provider);switch(t.type){case"icons":{const a=t.prefix,i=t.icons.join(",");r+=a+".json?"+new URLSearchParams({icons:i}).toString();break}case"custom":{const a=t.uri;r+=a.slice(0,1)==="/"?a.slice(1):a;break}default:return void n("abort",400)}let o=503;$1(e+r).then(a=>{const i=a.status;if(i===200)return o=501,a.json();setTimeout(()=>{n(function(l){return l===404}(i)?"abort":"next",i)})}).then(a=>{setTimeout(typeof a=="object"&&a!==null?()=>{n("success",a)}:()=>{a===404?n("abort",a):n("next",o)})}).catch(()=>{n("next",o)})}};function F8(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}let xM=0;var SM={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function CM(e,t,n,r){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let w=e.resources.slice(0);for(i=[];w.length>1;){const x=Math.floor(Math.random()*w.length);i.push(w[x]),w=w.slice(0,x).concat(w.slice(x+1))}i=i.concat(w)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let s,c="pending",u=0,d=null,p=[],f=[];function m(){d&&(clearTimeout(d),d=null)}function v(){c==="pending"&&(c="aborted"),m(),p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function g(w,x){x&&(f=[]),typeof w=="function"&&f.push(w)}function b(){c="failed",f.forEach(w=>{w(void 0,s)})}function y(){p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function _(){if(c!=="pending")return;m();const w=i.shift();if(w===void 0)return p.length?void(d=setTimeout(()=>{m(),c==="pending"&&(y(),b())},e.timeout)):void b();const x={status:"pending",resource:w,callback:(E,C)=>{(function(M,S,k){const D=S!=="success";switch(p=p.filter(A=>A!==M),c){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(S==="abort")return s=k,void b();if(D)return s=k,void(p.length||(i.length?_():b()));if(m(),y(),!e.random){const A=e.resources.indexOf(M.resource);A!==-1&&A!==e.index&&(e.index=A)}c="completed",f.forEach(A=>{A(k)})})(x,E,C)}};p.push(x),u++,d=setTimeout(_,e.rotate),n(w,t,x.callback)}return typeof r=="function"&&f.push(r),setTimeout(_),function(){return{startTime:l,payload:t,status:c,queriesSent:u,queriesPending:p.length,subscribe:g,abort:v}}}function $8(e){const t={...SM,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}return{query:function(a,i,l){const s=CM(t,a,i,(c,u)=>{r(),l&&l(c,u)});return n.push(s),s},find:function(a){return n.find(i=>a(i))||null},setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function z8(){}const fh=Object.create(null);function B8(e,t,n){let r,o;if(typeof e=="string"){const a=uh(e);if(!a)return n(void 0,424),z8;o=a.send;const i=function(l){if(!fh[l]){const s=F1(l);if(!s)return;const c={config:s,redundancy:$8(s)};fh[l]=c}return fh[l]}(e);i&&(r=i.redundancy)}else{const a=dh(e);if(a){r=$8(a);const i=uh(e.resources?e.resources[0]:"");i&&(o=i.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),z8)}function kM(e,t){function n(r){let o;if(!dl[r]||!(o=I8(r)))return;const a=C8[r];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=sh(o),!lh(o,i+1))return;const l={cached:Math.floor(Date.now()/L8),provider:e.provider,data:t};return ih(o,Zc+i.toString(),JSON.stringify(l))}oh||R8(),t.lastModified&&!function(r,o){const a=r.lastModifiedCached;if(a&&a>=o)return a===o;if(r.lastModifiedCached=o,a)for(const i in dl)M8(i,l=>{const s=l.data;return l.provider!==r.provider||s.prefix!==r.prefix||s.lastModified===o});return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function j8(){}function OM(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let r=!1;const o=t.provider,a=t.prefix;n.forEach(i=>{const l=i.icons,s=l.pending.length;l.pending=l.pending.filter(c=>{if(c.prefix!==a)return!0;const u=c.name;if(t.icons[u])l.loaded.push({provider:o,prefix:a,name:u});else{if(!t.missing.has(u))return r=!0,!0;l.missing.push({provider:o,prefix:a,name:u})}return!1}),l.pending.length!==s&&(r||F8([t],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}(e)}))}const TM=e=>{const t=Wo(e.provider,e.prefix).pendingIcons;return!(!t||!t.has(e.name))},hh=(e,t)=>{var n;const r=function(s){const c={loaded:[],missing:[],pending:[]},u=Object.create(null);s.sort((p,f)=>p.provider!==f.provider?p.provider.localeCompare(f.provider):p.prefix!==f.prefix?p.prefix.localeCompare(f.prefix):p.name.localeCompare(f.name));let d={provider:"",prefix:"",name:""};return s.forEach(p=>{if(d.name===p.name&&d.prefix===p.prefix&&d.provider===p.provider)return;d=p;const f=p.provider,m=p.prefix,v=p.name,g=u[f]||(u[f]=Object.create(null)),b=g[m]||(g[m]=Wo(f,m));let y;y=v in b.icons?c.loaded:m===""||b.missing.has(v)?c.missing:c.pending;const _={provider:f,prefix:m,name:v};y.push(_)}),c}(function(s,c=!0,u=!1){const d=[];return s.forEach(p=>{const f=typeof p=="string"?_s(p,c,u):p;f&&d.push(f)}),d}(e,!0,(typeof n=="boolean"&&(Xc=n),Xc)));if(!r.pending.length){let s=!0;return t&&setTimeout(()=>{s&&t(r.loaded,r.missing,r.pending,j8)}),()=>{s=!1}}const o=Object.create(null),a=[];let i,l;return r.pending.forEach(s=>{const{provider:c,prefix:u}=s;if(u===l&&c===i)return;i=c,l=u,a.push(Wo(c,u));const d=o[c]||(o[c]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(s=>{const{provider:c,prefix:u,name:d}=s,p=Wo(c,u),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(d)||(f.add(d),o[c][u].push(d))}),a.forEach(s=>{const{provider:c,prefix:u}=s;o[c][u].length&&function(d,p){d.iconsToLoad?d.iconsToLoad=d.iconsToLoad.concat(p).sort():d.iconsToLoad=p,d.iconsQueueFlag||(d.iconsQueueFlag=!0,setTimeout(()=>{d.iconsQueueFlag=!1;const{provider:f,prefix:m}=d,v=d.iconsToLoad;let g;delete d.iconsToLoad,v&&(g=uh(f))&&g.prepare(f,m,v).forEach(b=>{B8(f,b,y=>{if(typeof y!="object")b.icons.forEach(_=>{d.missing.add(_)});else try{const _=nh(d,y);if(!_.length)return;const w=d.pendingIcons;w&&_.forEach(x=>{w.delete(x)}),kM(d,y)}catch(_){console.error(_)}OM(d)})})}))}(s,o[c][u])}),t?function(s,c,u){const d=xM++,p=F8.bind(null,u,d);if(!c.pending.length)return p;const f={id:d,icons:c,callback:s,abort:p};return u.forEach(m=>{(m.loaderCallbacks||(m.loaderCallbacks=[])).push(f)}),p}(t,r,a):j8};function H8(e,t){const n={...e};for(const r in t){const o=t[r],a=typeof o;r in E8?(o===null||o&&(a==="string"||a==="number"))&&(n[r]=o):a===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const z1={...x8,inline:!1},mh="iconify",vh="iconify-inline",ri="iconifyData"+Date.now();let pl=[];function Qc(e){for(let t=0;t{delete t.pendingScan,tu&&tu(e)}))}function DM(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r0||o.type==="attributes"&&o.target[ri]!==void 0)return void(n.paused||G8(e))}}function q8(e,t){e.observer.instance.observe(t,LM)}function B1(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;n&&window&&(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver(DM.bind(null,e)),q8(e,n),t.paused||G8(e))}function W8(){eu().forEach(B1)}function K8(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function IM(e){const t=tu!==null;tu!==e&&(tu=e,t&&eu().forEach(K8)),t?W8():function(n){const r=document;r.readyState&&r.readyState!=="loading"?n():r.addEventListener("DOMContentLoaded",n)}(W8)}function gh(e){(e?[e]:eu()).forEach(t=>{if(!t.observer)return void(t.observer={paused:1});const n=t.observer;n.paused++,!(n.paused>1||!n.instance)&&n.instance.disconnect()})}function yh(e){(e?[e]:eu()).forEach(t=>{if(!t.observer)return void B1(t);const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const r=typeof t.node=="function"?t.node():t.node;if(!r)return;n.instance?q8(t,r):B1(t)}})}function Y8(e,t=!1){const n=U8(e,t);return B1(n),n}function X8(e){const t=Qc(e);t&&(K8(t),function(n){pl=pl.filter(r=>n!==r&&n!==(typeof r.node=="function"?r.node():r.node))}(e))}const MM=/[\s,]+/,RM=["width","height"],VM=["inline","hFlip","vFlip"];function PM(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&_s(t,!0);if(!n)return null;const r={...z1,inline:e.classList&&e.classList.contains(vh)};RM.forEach(l=>{const s=e.getAttribute("data-"+l);s&&(r[l]=s)});const o=e.getAttribute("data-rotate");typeof o=="string"&&(r.rotate=function(l,s=0){const c=l.replace(/^-?[0-9.]*/,"");function u(d){for(;d<0;)d+=4;return d%4}if(c===""){const d=parseInt(l);return isNaN(d)?0:u(d)}if(c!==l){let d=0;switch(c){case"%":d=25;break;case"deg":d=90}if(d){let p=parseFloat(l.slice(0,l.length-c.length));return isNaN(p)?0:(p/=d,p%1==0?u(p):0)}}return s}(o));const a=e.getAttribute("data-flip");typeof a=="string"&&function(l,s){s.split(MM).forEach(c=>{switch(c.trim()){case"horizontal":l.hFlip=!0;break;case"vertical":l.vFlip=!0}})}(r,a),VM.forEach(l=>{const s="data-"+l,c=function(u,d){return u===d||u==="true"||u!==""&&u!=="false"&&null}(e.getAttribute(s),s);typeof c=="boolean"&&(r[l]=c)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:r,mode:i}}const NM="svg."+mh+", i."+mh+", span."+mh+", i."+vh+", span."+vh;function J8(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}let nu;function FM(e){return nu===void 0&&function(){try{nu=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch{nu=null}}(),nu?nu.createHTML(e):e}function Z8(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function Q8(e,t,n,r){const o=e.classList;if(r){const i=r.classList;Array.from(i).forEach(l=>{o.add(l)})}const a=[];return t.forEach(i=>{o.contains(i)?n.has(i)&&a.push(i):(o.add(i),a.push(i))}),n.forEach(i=>{t.has(i)||o.remove(i)}),a}function e5(e,t,n){const r=e.style;(n||[]).forEach(a=>{r.removeProperty(a)});const o=[];for(const a in t)r.getPropertyValue(a)||(o.push(a),r.setProperty(a,t[a]));return o}function t5(e,t,n){let r;try{r=document.createElement("span")}catch{return e}const o=t.customisations,a=R1(n,o),i=e[ri],l=J8(S8(a.body),{"aria-hidden":"true",role:"img",...a.attributes});r.innerHTML=FM(l);const s=r.childNodes[0],c=e.attributes;for(let f=0;f{j1&&(j1=!1,As())}))}function As(e,t=!1){const n=Object.create(null);function r(o,a){const{provider:i,prefix:l,name:s}=o,c=Wo(i,l),u=c.icons[s];if(u)return{status:"loaded",icon:u};if(c.missing.has(s))return{status:"missing"};if(a&&!TM(o)){const d=n[i]||(n[i]=Object.create(null));(d[l]||(d[l]=new Set)).add(s)}return{status:"loading"}}(e?[e]:eu()).forEach(o=>{const a=typeof o.node=="function"?o.node():o.node;if(!a||!a.querySelectorAll)return;let i=!1,l=!1;function s(c,u,d){if(l||(l=!0,gh(o)),c.tagName.toUpperCase()!=="SVG"){const p=u.mode,f=p==="mask"||p!=="bg"&&(p==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof f=="boolean")return void function(m,v,g,b){const y=v.customisations,_=R1(g,y),w=_.attributes,x=m[ri],E=J8(_.body,{...w,width:g.width+"",height:g.height+""}),C=Q8(m,Z8(v.icon),new Set(x&&x.addedClasses)),M=function(A){return'url("'+function(T){return"data:image/svg+xml,"+function(P){return P.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}(T)}(A)+'")'}(E),S={"--svg":M,width:a5(w.width),height:a5(w.height),...$M,...b?bh:n5};y.inline&&(S["vertical-align"]="-0.125em");const k=e5(m,S,x&&x.addedStyles),D={...v,status:"loaded",addedClasses:C,addedStyles:k};m[ri]=D}(c,u,{...Kc,...d},f)}t5(c,u,d)}(function(c){const u=[];return c.querySelectorAll(NM).forEach(d=>{const p=d[ri]||d.tagName.toLowerCase()!=="svg"?PM(d):null;p&&u.push({node:d,props:p})}),u})(a).forEach(({node:c,props:u})=>{const d=c[ri];if(!d){const{status:f,icon:m}=r(u.icon,!0);return m?void s(c,u,m):(i=i||f==="loading",void(c[ri]={...u,status:f}))}let p;if(function(f,m){if(f.name!==m.name||f.mode!==m.mode)return!0;const v=f.customisations,g=m.customisations;for(const b in z1)if(v[b]!==g[b])return!0;return!1}(d,u)){if(p=r(u.icon,d.name!==u.name),!p.icon)return i=i||p.status==="loading",void Object.assign(d,{...u,status:p.status})}else{if(d.status!=="loading")return;if(p=r(u.icon,!1),!p.icon)return void(d.status=p.status)}s(c,u,p.icon)}),o.temporary&&!i?X8(a):t&&i?Y8(a,!0):l&&o.observer&&yh(o)});for(const o in n){const a=n[o];for(const i in a){const l=a[i];hh(Array.from(l).map(s=>({provider:o,prefix:i,name:s})),zM)}}}function i5(e,t,n=!1){const r=Jc(e);if(!r)return null;const o=_s(e),a=H8(z1,t||{}),i=t5(document.createElement("span"),{name:e,icon:o,customisations:a},r);return n?i.outerHTML:i}if(typeof document<"u"&&typeof window<"u"){(function(){if(document.documentElement)return U8(document.documentElement);pl.push({node:()=>document.documentElement})})();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!w8(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{IM(As),As()})}if(P8("",EM),typeof document<"u"&&typeof window<"u"){R8();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;N8(n,o)||console.error(r)}catch{console.error(r)}}}}const _h={_api:{getAPIConfig:F1,setAPIModule:P8,sendAPIQuery:B8,setFetch:function(e){$1=e},getFetch:function(){return $1},listAPIProviders:function(){return Object.keys(P1)}},addAPIProvider:N8,loadIcons:hh,loadIcon:e=>new Promise((t,n)=>{const r=typeof e=="string"?_s(e,!0):e;r?hh([r||e],o=>{if(o.length&&r){const a=Jc(r);if(a)return void t({...Kc,...a})}n(e)}):n(e)}),iconExists:function(e){return!!Jc(e)},getIcon:function(e){const t=Jc(e);return t?{...Kc,...t}:null},listIcons:function(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(M1)).forEach(r=>{(typeof r=="string"&&typeof t=="string"?[t]:Object.keys(M1[r]||{})).forEach(o=>{const a=Wo(r,o);n=n.concat(Object.keys(a.icons).map(i=>(r!==""?"@"+r+":":"")+o+":"+i))})}),n},addIcon:A8,addCollection:w8,replaceIDs:S8,calculateSize:rh,buildIcon:R1,getVersion:function(){return"3.1.1"},renderSVG:function(e,t){return i5(e,t,!1)},renderHTML:function(e,t){return i5(e,t,!0)},renderIcon:function(e,t){const n=Jc(e);return n?R1(n,H8(z1,t||{})):null},scan:function(e){e?function(t){const n=Qc(t);n?As(n):As({node:t,temporary:!0},!0)}(e):As()},observe:Y8,stopObserving:X8,pauseObserver:function(e){if(e){const t=Qc(e);t&&gh(t)}else gh()},resumeObserver:function(e){if(e){const t=Qc(e);t&&yh(t)}else yh()},enableCache:function(e,t){V8(e,t!==!1)},disableCache:function(e){V8(e,!0)}};try{self.Iconify===void 0&&(self.Iconify=_h)}catch{}const l5=_h.default||_h;JSON.parse('[{"prefix":"el","width":1200,"height":1200,"icons":{}},{"prefix":"ep","width":1024,"height":1024,"icons":{"arrow-down":{"body":""},"arrow-down-bold":{"body":""},"arrow-left":{"body":""},"arrow-right":{"body":""},"arrow-up":{"body":""},"arrow-up-bold":{"body":""},"avatar":{"body":""},"back":{"body":""},"basketball":{"body":""},"bell":{"body":""},"bell-filled":{"body":""},"calendar":{"body":""},"caret-bottom":{"body":""},"caret-top":{"body":""},"cellphone":{"body":""},"chat-line-round":{"body":""},"check":{"body":""},"checked":{"body":""},"circle-check":{"body":""},"circle-close-filled":{"body":""},"circle-plus":{"body":""},"circle-plus-filled":{"body":""},"close":{"body":""},"coin":{"body":""},"comment":{"body":""},"copy-document":{"body":""},"cpu":{"body":""},"d-arrow-left":{"body":""},"d-arrow-right":{"body":""},"delete":{"body":""},"discount":{"body":""},"document":{"body":""},"document-checked":{"body":""},"document-copy":{"body":""},"download":{"body":""},"edit":{"body":""},"expand":{"body":""},"fold":{"body":""},"folder-opened":{"body":""},"help-filled":{"body":""},"hide":{"body":""},"home-filled":{"body":""},"house":{"body":""},"info-filled":{"body":""},"iphone":{"body":""},"list":{"body":""},"location":{"body":""},"lock":{"body":""},"memo":{"body":""},"menu":{"body":""},"message":{"body":""},"microphone":{"body":""},"minus":{"body":""},"notification":{"body":""},"opportunity":{"body":""},"phone":{"body":""},"picture":{"body":""},"plus":{"body":""},"position":{"body":""},"promotion":{"body":""},"question-filled":{"body":""},"reading":{"body":""},"refresh":{"body":""},"refresh-left":{"body":""},"refresh-right":{"body":""},"remove":{"body":""},"scale-to-original":{"body":""},"search":{"body":""},"select":{"body":""},"service":{"body":""},"setting":{"body":""},"share":{"body":""},"sort":{"body":""},"star":{"body":""},"suitcase":{"body":""},"switch-button":{"body":""},"ticket":{"body":""},"tools":{"body":""},"upload":{"body":""},"upload-filled":{"body":""},"user":{"body":""},"user-filled":{"body":""},"video-pause":{"body":""},"video-play":{"body":""},"view":{"body":""},"wallet-filled":{"body":""},"warning":{"body":""},"warning-filled":{"body":""},"zoom-in":{"body":""},"zoom-out":{"body":""}}},{"prefix":"ion","width":512,"height":512,"icons":{"language-sharp":{"body":""}}},{"prefix":"il","width":750,"height":850,"icons":{}},{"prefix":"ps","width":512,"height":512,"icons":{}},{"prefix":"et","width":32,"height":32,"icons":{}},{"prefix":"ls","width":717,"height":717,"icons":{"2":{"body":"","width":481,"height":754},"4":{"body":"","width":487,"height":775},"a":{"body":"","width":563,"height":671},"b":{"body":"","width":563,"height":768},"c":{"body":"","width":507,"height":671},"d":{"body":"","width":562,"height":768},"e":{"body":"","width":559,"height":671},"f":{"body":"","width":255,"height":754},"h":{"body":"","width":466,"height":754},"i":{"body":"","width":82,"height":690},"l":{"body":"","width":72,"height":754},"m":{"body":"","width":860,"height":654},"n":{"body":"","width":466,"height":654},"o":{"body":"","width":560,"height":654},"p":{"body":"","width":563,"height":867},"q":{"body":"","width":562,"height":867},"r":{"body":"","width":287,"height":654},"s":{"body":"","width":326,"height":671},"t":{"body":"","width":255,"height":754},"u":{"body":"","width":466,"height":671},"v":{"body":"","width":497,"height":667},"x":{"body":"","width":537,"height":654},"y":{"body":"","width":496,"height":881}}},{"prefix":"system-uicons","width":21,"height":21,"icons":{"carousel":{"body":""},"contacts":{"body":""},"reset-alt":{"body":""}}},{"prefix":"clarity","width":36,"height":36,"icons":{"contract-line":{"body":""}}},{"prefix":"zmdi","width":432,"height":384,"icons":{"fullscreen":{"body":"","width":304},"fullscreen-exit":{"body":"","width":304}}},{"prefix":"fa","width":1536,"height":1536,"icons":{"align-left":{"body":"","width":1792,"height":1408},"birthday-cake":{"body":"","width":1792,"height":1792},"group":{"body":"","width":1920,"height":1792},"mars-double":{"body":"","width":1920,"height":1792},"newspaper-o":{"body":"","width":2048,"height":1408},"upload":{"body":"","width":1664,"height":1600},"user-plus":{"body":"","width":2048},"user-times":{"body":"","width":2048}}},{"prefix":"fe","width":24,"height":24,"icons":{}},{"prefix":"map","width":50,"height":50,"icons":{}},{"prefix":"ph","width":256,"height":256,"icons":{"article-medium":{"body":""},"function":{"body":""}}},{"prefix":"geo","width":100,"height":100,"icons":{}},{"prefix":"ic","width":24,"height":24,"icons":{"round-drag-indicator":{"body":""},"round-view-carousel":{"body":""}}},{"prefix":"akar-icons","width":24,"height":24,"icons":{"circle-plus":{"body":""},"github-fill":{"body":""}}},{"prefix":"logos","width":256,"height":256,"icons":{"angular-icon":{"body":"","height":271},"react":{"body":"","height":228},"vue":{"body":"","height":221},"webpack":{"body":"","height":290}}},{"prefix":"vscode-icons","width":32,"height":32,"icons":{"file-type-vite":{"body":""}}},{"prefix":"mdi","width":24,"height":24,"icons":{"account-group":{"body":""},"format-size":{"body":""},"calendar-time":{"body":""},"user-card-details":{"body":""}}},{"prefix":"emojione-monotone","width":64,"height":64,"icons":{"crescent-moon":{"body":""},"sun":{"body":""}}},{"prefix":"fa-solid","width":512,"height":512,"icons":{"award":{"body":"","width":384},"list":{"body":""},"money-check-alt":{"body":"","width":640},"project-diagram":{"body":"","width":640},"shopping-cart":{"body":"","width":576},"times-circle":{"body":""},"user":{"body":"","width":448},"users":{"body":"","width":640},"wallet":{"body":""},"yen-sign":{"body":"","width":384}}},{"prefix":"icon-park","width":48,"height":48,"icons":{"income":{"body":""},"income-one":{"body":""}}},{"prefix":"ri","width":24,"height":24,"icons":{"refund-2-line":{"body":""}}},{"prefix":"vaadin","icons":{"arrows-long-h":{"body":""},"arrows-long-v":{"body":""},"line-h":{"body":""},"money-withdraw":{"body":""},"padding":{"body":""}}},{"prefix":"ant-design","width":1024,"height":1024,"icons":{"align-center-outlined":{"body":""},"align-left-outlined":{"body":""},"alipay-circle-filled":{"body":""},"cloud-upload-outlined":{"body":""},"dingtalk-circle-filled":{"body":""},"github-filled":{"body":""},"reload-outlined":{"body":""},"rotate-left-outlined":{"body":""},"rotate-right-outlined":{"body":""},"scan-outlined":{"body":""},"upload-outlined":{"body":""},"wechat-filled":{"body":""},"zoom-in-outlined":{"body":""},"zoom-out-outlined":{"body":""}}},{"prefix":"bx","width":24,"height":24,"icons":{}},{"prefix":"bpmn","width":2048,"height":2048,"icons":{}},{"prefix":"icon-park-outline","width":48,"height":48,"icons":{"peoples":{"body":""},"transaction-order":{"body":""}}},{"prefix":"la","width":32,"height":32,"icons":{}},{"prefix":"uit","width":24,"height":24,"icons":{}},{"prefix":"mi","width":24,"height":24,"icons":{}},{"prefix":"gg","width":24,"height":24,"icons":{}},{"prefix":"tabler","width":24,"height":24,"icons":{"box-padding":{"body":""},"float-right":{"body":""},"hand-click":{"body":""},"input-search":{"body":""},"layout-navbar":{"body":""},"line-dashed":{"body":""},"line-dotted":{"body":""}}},{"prefix":"iconoir","width":24,"height":24,"icons":{"input-search":{"body":""}}},{"prefix":"fluent","width":20,"height":20,"icons":{"table-bottom-row-16-filled":{"body":"","width":16,"height":16},"text-column-one-24-filled":{"body":"","width":24,"height":24},"text-column-three-24-filled":{"body":"","width":24,"height":24},"text-column-two-24-filled":{"body":"","width":24,"height":24},"text-column-two-left-24-filled":{"body":"","width":24,"height":24}}},{"prefix":"entypo","width":20,"height":20,"icons":{"progress-empty":{"body":""}}},{"prefix":"bi","icons":{"columns":{"body":""},"grid-3x2-gap":{"body":""},"grid-3x3-gap":{"body":""}}},{"prefix":"carbon","width":32,"height":32,"icons":{"popup":{"body":""},"tree-view-alt":{"body":""}}},{"prefix":"fontisto","width":24,"height":24,"icons":{"email":{"body":""}}}]').forEach(e=>l5.addCollection(e));let Ah;Ah={},R=function(e,t,n){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(o=>{if((o=function(s){return"/"+s}(o))in Ah)return;Ah[o]=!0;const a=o.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(n)for(let s=r.length-1;s>=0;s--){const c=r[s];if(c.href===o&&(!a||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${i}`))return;const l=document.createElement("link");return l.rel=a?"stylesheet":"modulepreload",a||(l.as="script",l.crossOrigin=""),l.href=o,document.head.appendChild(l),a?new Promise((s,c)=>{l.addEventListener("load",s),l.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${o}`)))}):void 0})).then(()=>e()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})},G6=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t)))})},E6=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e},Gc=function(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n};var Nr={};const s5=typeof window<"u";let c5,u5;{const e=s5&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(c5=t=>{e.mark(t)},u5=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const BM=/\{([0-9a-zA-Z]+)\}/g,d5=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),jM=Object.assign;let p5;const HM=Object.prototype.hasOwnProperty,wh=Array.isArray,Eh=e=>typeof e=="function",ru=e=>e!==null&&typeof e=="object",xh=Object.prototype.toString,Sh=e=>xh.call(e),Ch=e=>{if(!ru(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function f5(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const h5={},H1=e=>!ru(e)||wh(e),UM=Object.freeze(Object.defineProperty({__proto__:null,assign:jM,createEmitter:function(){const e=new Map;return{events:e,on(t,n){const r=e.get(t);r&&r.push(n)||e.set(t,[n])},off(t,n){const r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map(r=>r(n)),(e.get("*")||[]).slice().map(r=>r(t,n))}}},deepCopy:function(e,t){if(H1(e)||H1(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(a=>{H1(r[a])||H1(o[a])?o[a]=r[a]:n.push({src:r[a],des:o[a]})})}},escapeHtml:function(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},format:function(e,...t){return t.length===1&&ru(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(BM,(n,r)=>t.hasOwnProperty(r)?t[r]:"")},friendlyJSONstringify:d5,generateCodeFrame:function(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const a=[];for(let i=0;i=t){for(let l=i-2;l<=i+2||n>o;l++){if(l<0||l>=r.length)continue;const s=l+1;a.push(`${s}${" ".repeat(3-String(s).length)}| ${r[l]}`);const c=r[l].length;if(l===i){const u=t-(o-c)+1,d=Math.max(1,n>o?c-u:n-t);a.push(" | "+" ".repeat(u)+"^".repeat(d))}else if(l>i){if(n>o){const u=Math.max(Math.min(n-o,c),1);a.push(" | "+"^".repeat(u))}o+=c+1}}break}return a.join(` `)},generateFormatCacheKey:(e,t,n)=>d5({l:e,k:t,s:n}),getGlobalThis:()=>p5||(p5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),hasOwn:function(e,t){return HM.call(e,t)},inBrowser:s5,incrementer:function(e){let t=e;return()=>++t},isArray:wh,isBoolean:e=>typeof e=="boolean",isDate:e=>Sh(e)==="[object Date]",isEmptyObject:e=>Ch(e)&&Object.keys(e).length===0,isFunction:Eh,isNumber:e=>typeof e=="number"&&isFinite(e),isObject:ru,isPlainObject:Ch,isPromise:e=>ru(e)&&Eh(e.then)&&Eh(e.catch),isRegExp:e=>Sh(e)==="[object RegExp]",isString:e=>typeof e=="string",isSymbol:e=>typeof e=="symbol",join:function(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")},makeSymbol:(e,t=!1)=>t?Symbol.for(e):Symbol(e),get mark(){return c5},get measure(){return u5},objectToString:xh,toDisplayString:e=>e==null?"":wh(e)||Ch(e)&&e.toString===xh?JSON.stringify(e,null,2):String(e),toTypeString:Sh,warn:f5,warnOnce:function(e){h5[e]||(h5[e]=!0,f5(e))}},Symbol.toStringTag,{value:"Module"})),GM=Gc(UM),fl=typeof window<"u";let Fr,hl;{const e=fl&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Fr=t=>{e.mark(t)},hl=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const qM=/\{([0-9a-zA-Z]+)\}/g;function kh(e,...t){return t.length===1&&xn(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(qM,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const WM=(e,t,n)=>KM({l:e,k:t,s:n}),KM=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),$r=e=>typeof e=="number"&&isFinite(e),YM=e=>y5(e)==="[object Date]",m5=e=>y5(e)==="[object RegExp]",Oh=e=>ln(e)&&Object.keys(e).length===0,oi=Object.assign;function v5(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Ko=Array.isArray,En=e=>typeof e=="function",gt=e=>typeof e=="string",fr=e=>typeof e=="boolean",xn=e=>e!==null&&typeof e=="object",XM=e=>xn(e)&&En(e.then)&&En(e.catch),g5=Object.prototype.toString,y5=e=>g5.call(e),ln=e=>{if(!xn(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function Th(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const b5=2;function ou(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _5={};function Lh(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ft={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,__EXTEND_POINT__:17},JM={[ft.EXPECTED_TOKEN]:"Expected token: '{0}'",[ft.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ft.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ft.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ft.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ft.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ft.EMPTY_PLACEHOLDER]:"Empty placeholder",[ft.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ft.INVALID_LINKED_FORMAT]:"Invalid linked format",[ft.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ft.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ft.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ft.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ft.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ft.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ws(e,t,n={}){const{domain:r,messages:o,args:a}=n,i=kh((o||JM)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function ZM(e){throw e}const QM=/<\/?[\w\s="/.':;#-\/]+>/,eR=e=>QM.test(e),ba=" ",tR="\r",hr=` `,nR=String.fromCharCode(8232),rR=String.fromCharCode(8233);function oR(e){const t=e;let n=0,r=1,o=1,a=0;const i=p=>t[p]===tR&&t[p+1]===hr,l=p=>t[p]===rR,s=p=>t[p]===nR,c=p=>i(p)||(f=>t[f]===hr)(p)||l(p)||s(p),u=p=>i(p)||l(p)||s(p)?hr:t[p];function d(){return a=0,c(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}return{index:()=>n,line:()=>r,column:()=>o,peekOffset:()=>a,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+a),next:d,peek:function(){return i(n+a)&&a++,a++,t[n+a]},reset:function(){n=0,r=1,o=1,a=0},resetPeek:function(p=0){a=p},skipToPeek:function(){const p=n+a;for(;p!==n;)d();a=0}}}const ai=void 0,aR=".",A5="'",iR="tokenizer";function lR(e,t={}){const n=t.location!==!1,r=oR(e),o=()=>r.index(),a=()=>{return O=r.line(),I=r.column(),$=r.index(),{line:O,column:I,offset:$};var O,I,$},i=a(),l=o(),s={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>s,{onError:u}=t;function d(O,I,$,...K){const q=c();if(I.column+=$,I.offset+=$,u){const G=ws(O,n?Lh(q.startLoc,I):null,{domain:iR,args:K});u(G)}}function p(O,I,$){O.endLoc=a(),O.currentType=I;const K={type:I};return n&&(K.loc=Lh(O.startLoc,O.endLoc)),$!=null&&(K.value=$),K}const f=O=>p(O,14);function m(O,I){return O.currentChar()===I?(O.next(),I):(d(ft.EXPECTED_TOKEN,a(),0,I),"")}function v(O){let I="";for(;O.currentPeek()===ba||O.currentPeek()===hr;)I+=O.currentPeek(),O.peek();return I}function g(O){const I=v(O);return O.skipToPeek(),I}function b(O){if(O===ai)return!1;const I=O.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function y(O,I){const{currentType:$}=I;if($!==2)return!1;v(O);const K=function(q){if(q===ai)return!1;const G=q.charCodeAt(0);return G>=48&&G<=57}(O.currentPeek()==="-"?O.peek():O.currentPeek());return O.resetPeek(),K}function _(O){v(O);const I=O.currentPeek()==="|";return O.resetPeek(),I}function w(O,I=!0){const $=(q=!1,G="",B=!1)=>{const Z=O.currentPeek();return Z==="{"?G!=="%"&&q:Z!=="@"&&Z?Z==="%"?(O.peek(),$(q,"%",!0)):Z==="|"?!(G!=="%"&&!B)||!(G===ba||G===hr):Z===ba?(O.peek(),$(!0,ba,B)):Z!==hr||(O.peek(),$(!0,hr,B)):G==="%"||q},K=$();return I&&O.resetPeek(),K}function x(O,I){const $=O.currentChar();return $===ai?ai:I($)?(O.next(),$):null}function E(O){return x(O,I=>{const $=I.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36})}function C(O){return x(O,I=>{const $=I.charCodeAt(0);return $>=48&&$<=57})}function M(O){return x(O,I=>{const $=I.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102})}function S(O){let I="",$="";for(;I=C(O);)$+=I;return $}function k(O){let I="";for(;;){const $=O.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%"){if(!w(O))break;I+=$,O.next()}else if($===ba||$===hr)if(w(O))I+=$,O.next();else{if(_(O))break;I+=$,O.next()}else I+=$,O.next()}return I}function D(O){const I=O.currentChar();switch(I){case"\\":case"'":return O.next(),`\\${I}`;case"u":return A(O,I,4);case"U":return A(O,I,6);default:return d(ft.UNKNOWN_ESCAPE_SEQUENCE,a(),0,I),""}}function A(O,I,$){m(O,I);let K="";for(let q=0;q<$;q++){const G=M(O);if(!G){d(ft.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${I}${K}${O.currentChar()}`);break}K+=G}return`\\${I}${K}`}function T(O){g(O);const I=m(O,"|");return g(O),I}function P(O,I){let $=null;switch(O.currentChar()){case"{":return I.braceNest>=1&&d(ft.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),O.next(),$=p(I,2,"{"),g(O),I.braceNest++,$;case"}":return I.braceNest>0&&I.currentType===2&&d(ft.EMPTY_PLACEHOLDER,a(),0),O.next(),$=p(I,3,"}"),I.braceNest--,I.braceNest>0&&g(O),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),$;case"@":return I.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),$=L(O,I)||f(I),I.braceNest=0,$;default:let K=!0,q=!0,G=!0;if(_(O))return I.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),$=p(I,1,T(O)),I.braceNest=0,I.inLinked=!1,$;if(I.braceNest>0&&(I.currentType===5||I.currentType===6||I.currentType===7))return d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),I.braceNest=0,V(O,I);if(K=function(B,Z){const{currentType:X}=Z;if(X!==2)return!1;v(B);const ie=b(B.currentPeek());return B.resetPeek(),ie}(O,I))return $=p(I,5,function(B){g(B);let Z="",X="";for(;Z=E(B);)X+=Z;return B.currentChar()===ai&&d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),X}(O)),g(O),$;if(q=y(O,I))return $=p(I,6,function(B){g(B);let Z="";return B.currentChar()==="-"?(B.next(),Z+=`-${S(B)}`):Z+=S(B),B.currentChar()===ai&&d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),Z}(O)),g(O),$;if(G=function(B,Z){const{currentType:X}=Z;if(X!==2)return!1;v(B);const ie=B.currentPeek()===A5;return B.resetPeek(),ie}(O,I))return $=p(I,7,function(B){g(B),m(B,"'");let Z="",X="";const ie=ue=>ue!==A5&&ue!==hr;for(;Z=x(B,ie);)X+=Z==="\\"?D(B):Z;const ve=B.currentChar();return ve===hr||ve===ai?(d(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),ve===hr&&(B.next(),m(B,"'")),X):(m(B,"'"),X)}(O)),g(O),$;if(!K&&!q&&!G)return $=p(I,13,function(B){g(B);let Z="",X="";const ie=ve=>ve!=="{"&&ve!=="}"&&ve!==ba&&ve!==hr;for(;Z=x(B,ie);)X+=Z;return X}(O)),d(ft.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,$.value),g(O),$}return $}function L(O,I){const{currentType:$}=I;let K=null;const q=O.currentChar();switch($!==8&&$!==9&&$!==12&&$!==10||q!==hr&&q!==ba||d(ft.INVALID_LINKED_FORMAT,a(),0),q){case"@":return O.next(),K=p(I,8,"@"),I.inLinked=!0,K;case".":return g(O),O.next(),p(I,9,".");case":":return g(O),O.next(),p(I,10,":");default:return _(O)?(K=p(I,1,T(O)),I.braceNest=0,I.inLinked=!1,K):function(G,B){const{currentType:Z}=B;if(Z!==8)return!1;v(G);const X=G.currentPeek()===".";return G.resetPeek(),X}(O,I)||function(G,B){const{currentType:Z}=B;if(Z!==8&&Z!==12)return!1;v(G);const X=G.currentPeek()===":";return G.resetPeek(),X}(O,I)?(g(O),L(O,I)):function(G,B){const{currentType:Z}=B;if(Z!==9)return!1;v(G);const X=b(G.currentPeek());return G.resetPeek(),X}(O,I)?(g(O),p(I,12,function(G){let B="",Z="";for(;B=E(G);)Z+=B;return Z}(O))):function(G,B){const{currentType:Z}=B;if(Z!==10)return!1;const X=()=>{const ve=G.currentPeek();return ve==="{"?b(G.peek()):!(ve==="@"||ve==="%"||ve==="|"||ve===":"||ve==="."||ve===ba||!ve)&&(ve===hr?(G.peek(),X()):b(ve))},ie=X();return G.resetPeek(),ie}(O,I)?(g(O),q==="{"?P(O,I)||K:p(I,11,function(G){const B=(Z=!1,X)=>{const ie=G.currentChar();return ie!=="{"&&ie!=="%"&&ie!=="@"&&ie!=="|"&&ie!=="("&&ie!==")"&&ie?ie===ba?X:ie===hr||ie===aR?(X+=ie,G.next(),B(Z,X)):(X+=ie,G.next(),B(!0,X)):X};return B(!1,"")}(O))):($===8&&d(ft.INVALID_LINKED_FORMAT,a(),0),I.braceNest=0,I.inLinked=!1,V(O,I))}}function V(O,I){let $={type:14};if(I.braceNest>0)return P(O,I)||f(I);if(I.inLinked)return L(O,I)||f(I);switch(O.currentChar()){case"{":return P(O,I)||f(I);case"}":return d(ft.UNBALANCED_CLOSING_BRACE,a(),0),O.next(),p(I,3,"}");case"@":return L(O,I)||f(I);default:if(_(O))return $=p(I,1,T(O)),I.braceNest=0,I.inLinked=!1,$;const{isModulo:K,hasSpace:q}=function(G){const B=v(G),Z=G.currentPeek()==="%"&&G.peek()==="{";return G.resetPeek(),{isModulo:Z,hasSpace:B.length>0}}(O);if(K)return q?p(I,0,k(O)):p(I,4,function(G){g(G);const B=G.currentChar();return B!=="%"&&d(ft.EXPECTED_TOKEN,a(),0,B),G.next(),"%"}(O));if(w(O))return p(I,0,k(O))}return $}return{nextToken:function(){const{currentType:O,offset:I,startLoc:$,endLoc:K}=s;return s.lastType=O,s.lastOffset=I,s.lastStartLoc=$,s.lastEndLoc=K,s.offset=o(),s.startLoc=a(),r.currentChar()===ai?p(s,14):V(r,s)},currentOffset:o,currentPosition:a,context:c}}const sR="parser",cR=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function uR(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function dR(e={}){const t=e.location!==!1,{onError:n}=e;function r(f,m,v,g,...b){const y=f.currentPosition();if(y.offset+=g,y.column+=g,n){const _=ws(m,t?Lh(v,y):null,{domain:sR,args:b});n(_)}}function o(f,m,v){const g={type:f};return t&&(g.start=m,g.end=m,g.loc={start:v,end:v}),g}function a(f,m,v,g){g&&(f.type=g),t&&(f.end=m,f.loc&&(f.loc.end=v))}function i(f,m){const v=f.context(),g=o(3,v.offset,v.startLoc);return g.value=m,a(g,f.currentOffset(),f.currentPosition()),g}function l(f,m){const v=f.context(),{lastOffset:g,lastStartLoc:b}=v,y=o(5,g,b);return y.index=parseInt(m,10),f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function s(f,m){const v=f.context(),{lastOffset:g,lastStartLoc:b}=v,y=o(4,g,b);return y.key=m,f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function c(f,m){const v=f.context(),{lastOffset:g,lastStartLoc:b}=v,y=o(9,g,b);return y.value=m.replace(cR,uR),f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function u(f){const m=f.context(),v=o(6,m.offset,m.startLoc);let g=f.nextToken();if(g.type===9){const b=function(y){const _=y.nextToken(),w=y.context(),{lastOffset:x,lastStartLoc:E}=w,C=o(8,x,E);return _.type!==12?(r(y,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),C.value="",a(C,x,E),{nextConsumeToken:_,node:C}):(_.value==null&&r(y,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Yo(_)),C.value=_.value||"",a(C,y.currentOffset(),y.currentPosition()),{node:C})}(f);v.modifier=b.node,g=b.nextConsumeToken||f.nextToken()}switch(g.type!==10&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),g=f.nextToken(),g.type===2&&(g=f.nextToken()),g.type){case 11:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=function(_,w){const x=_.context(),E=o(7,x.offset,x.startLoc);return E.value=w,a(E,_.currentOffset(),_.currentPosition()),E}(f,g.value||"");break;case 5:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=s(f,g.value||"");break;case 6:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=l(f,g.value||"");break;case 7:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=c(f,g.value||"");break;default:r(f,ft.UNEXPECTED_EMPTY_LINKED_KEY,m.lastStartLoc,0);const b=f.context(),y=o(7,b.offset,b.startLoc);return y.value="",a(y,b.offset,b.startLoc),v.key=y,a(v,b.offset,b.startLoc),{nextConsumeToken:g,node:v}}return a(v,f.currentOffset(),f.currentPosition()),{node:v}}function d(f){const m=f.context(),v=o(2,m.currentType===1?f.currentOffset():m.offset,m.currentType===1?m.endLoc:m.startLoc);v.items=[];let g=null;do{const b=g||f.nextToken();switch(g=null,b.type){case 0:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(i(f,b.value||""));break;case 6:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(l(f,b.value||""));break;case 5:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(s(f,b.value||""));break;case 7:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(c(f,b.value||""));break;case 8:const y=u(f);v.items.push(y.node),g=y.nextConsumeToken||null}}while(m.currentType!==14&&m.currentType!==1);return a(v,m.currentType===1?m.lastOffset:f.currentOffset(),m.currentType===1?m.lastEndLoc:f.currentPosition()),v}function p(f){const m=f.context(),{offset:v,startLoc:g}=m,b=d(f);return m.currentType===14?b:function(y,_,w,x){const E=y.context();let C=x.items.length===0;const M=o(1,_,w);M.cases=[],M.cases.push(x);do{const S=d(y);C||(C=S.items.length===0),M.cases.push(S)}while(E.currentType!==14);return C&&r(y,ft.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),a(M,y.currentOffset(),y.currentPosition()),M}(f,v,g,b)}return{parse:function(f){const m=lR(f,oi({},e)),v=m.context(),g=o(0,v.offset,v.startLoc);return t&&g.loc&&(g.loc.source=f),g.body=p(m),e.onCacheKey&&(g.cacheKey=e.onCacheKey(f)),v.currentType!==14&&r(m,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,f[v.offset]||""),a(g,m.currentOffset(),m.currentPosition()),g}}}function Yo(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function w5(e,t){for(let n=0;ni,helper:l=>(i.helpers.add(l),l)}}(e);n.helper("normalize"),e.body&&Dh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function E5(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;n1){r.push(`${a("plural")}([`),r.indent(i());const l=o.cases.length;for(let s=0;s{const n=gt(t.mode)?t.mode:"normal",r=gt(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,i=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],s=function(d,p){const{sourceMap:f,filename:m,breakLineCode:v,needIndent:g}=p,b=p.location!==!1,y={filename:m,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:v,needIndent:g,indentLevel:0};function _(x,E){y.code+=x}function w(x,E=!0){const C=E?v:"";_(g?C+" ".repeat(x):C)}return b&&d.loc&&(y.source=d.loc.source),{context:()=>y,push:_,indent:function(x=!0){const E=++y.indentLevel;x&&w(E)},deindent:function(x=!0){const E=--y.indentLevel;x&&w(E)},newline:function(){w(y.indentLevel)},helper:x=>`_${x}`,needIndent:()=>y.needIndent}}(e,{mode:n,filename:r,sourceMap:o,breakLineCode:a,needIndent:i});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(i),l.length>0&&(s.push(`const { ${Th(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),xs(s,e),s.deindent(i),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function vR(e,t={}){const n=oi({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null||n.optimize,i=dR(n).parse(e);return r?(a&&function(l){const s=l.body;s.type===2?E5(s):s.cases.forEach(c=>E5(c))}(i),o&&Es(i),{ast:i,code:""}):(pR(i,n),mR(i,n))}const ii=[];ii[0]={w:[0],i:[3,0],"[":[4],o:[7]},ii[1]={w:[1],".":[2],"[":[4],o:[7]},ii[2]={w:[2],i:[3,0],0:[3,0]},ii[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ii[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ii[5]={"'":[4,0],o:8,l:[5,0]},ii[6]={'"':[4,0],o:8,l:[6,0]};const gR=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yR(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 bR(e){const t=e.trim();return(e.charAt(0)!=="0"||!isNaN(parseInt(e)))&&(n=t,gR.test(n)?function(r){const o=r.charCodeAt(0);return o!==r.charCodeAt(r.length-1)||o!==34&&o!==39?r:r.slice(1,-1)}(t):"*"+t);var n}function x5(e){const t=[];let n,r,o,a,i,l,s,c=-1,u=0,d=0;const p=[];function f(){const m=e[c+1];if(u===5&&m==="'"||u===6&&m==='"')return c++,o="\\"+m,p[0](),!0}for(p[0]=()=>{r===void 0?r=o:r+=o},p[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},p[2]=()=>{p[0](),d++},p[3]=()=>{if(d>0)d--,u=4,p[0]();else{if(d=0,r===void 0||(r=bR(r),r===!1))return!1;p[1]()}};u!==null;)if(c++,n=e[c],n!=="\\"||!f()){if(a=yR(n),s=ii[u],i=s[a]||s.l||8,i===8||(u=i[0],i[1]!==void 0&&(l=p[i[1]],l&&(o=n,l()===!1))))return;if(u===7)return t}}const S5=new Map;function C5(e,t){return xn(e)?e[t]:null}const _R=e=>e,AR=e=>"",k5="text",wR=e=>e.length===0?"":Th(e),ER=e=>e==null?"":Ko(e)||ln(e)&&e.toString===g5?JSON.stringify(e,null,2):String(e);function O5(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function T5(e={}){const t=e.locale,n=function(d){const p=$r(d.pluralIndex)?d.pluralIndex:-1;return d.named&&($r(d.named.count)||$r(d.named.n))?$r(d.named.count)?d.named.count:$r(d.named.n)?d.named.n:p:p}(e),r=xn(e.pluralRules)&>(t)&&En(e.pluralRules[t])?e.pluralRules[t]:O5,o=xn(e.pluralRules)&>(t)&&En(e.pluralRules[t])?O5:void 0,a=e.list||[],i=e.named||{};$r(e.pluralIndex)&&function(d,p){p.count||(p.count=d),p.n||(p.n=d)}(n,i);function l(d){return(En(e.messages)?e.messages(d):!!xn(e.messages)&&e.messages[d])||(e.parent?e.parent.message(d):AR)}const s=ln(e.processor)&&En(e.processor.normalize)?e.processor.normalize:wR,c=ln(e.processor)&&En(e.processor.interpolate)?e.processor.interpolate:ER,u={list:d=>a[d],named:d=>i[d],plural:d=>d[r(n,d.length,o)],linked:(d,...p)=>{const[f,m]=p;let v="text",g="";p.length===1?xn(f)?(g=f.modifier||g,v=f.type||v):gt(f)&&(g=f||g):p.length===2&&(gt(f)&&(g=f||g),gt(m)&&(v=m||v));const b=l(d)(u),y=v==="vnode"&&Ko(b)&&g?b[0]:b;return g?(_=>e.modifiers?e.modifiers[_]:_R)(g)(y,v):y},message:l,type:ln(e.processor)&>(e.processor.type)?e.processor.type:k5,interpolate:c,normalize:s,values:oi({},a,i)};return u}let Ss=null;function L5(e,t,n){Ss&&Ss.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const D5=xR("function:translate");function xR(e){return t=>Ss&&Ss.emit(e,t)}const mr={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},SR={[mr.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[mr.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[mr.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[mr.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[mr.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[mr.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[mr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function li(e,...t){return kh(SR[e],...t)}const I5=ft.__EXTEND_POINT__,ml=function(e){let t=e;return()=>++t}(I5),Mn={INVALID_ARGUMENT:I5,INVALID_DATE_ARGUMENT:ml(),INVALID_ISO_DATE_ARGUMENT:ml(),NOT_SUPPORT_NON_STRING_MESSAGE:ml(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ml(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ml(),NOT_SUPPORT_LOCALE_TYPE:ml(),__EXTEND_POINT__:ml()};function ko(e){return ws(e,null,{messages:CR})}const CR={[Mn.INVALID_ARGUMENT]:"Invalid arguments",[Mn.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Mn.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Mn.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Mn.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Mn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Mn.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function U1(e,t){return t.locale!=null?Mh(t.locale):Mh(e.locale)}let Ih;function Mh(e){if(gt(e))return e;if(En(e)){if(e.resolvedOnce&&Ih!=null)return Ih;if(e.constructor.name==="Function"){const t=e();if(XM(t))throw ko(Mn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ih=t}throw ko(Mn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw ko(Mn.NOT_SUPPORT_LOCALE_TYPE)}function M5(e,t,n){return[...new Set([n,...Ko(t)?t:xn(t)?Object.keys(t):gt(t)?[t]:[n]])]}function R5(e,t,n){let r=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let N5,F5,$5,z5=null;const B5=()=>z5;let j5=null,H5=0;function q1(e,t){return e instanceof RegExp?e.test(t):e}function U5(e,t){return e instanceof RegExp?e.test(t):e}function W1(e,t,n,r,o){const{missing:a,onWarn:i}=e;{const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const l=a(e,n,t,o);return gt(l)?l:t}return U5(r,t)&&i(li(mr.NOT_FOUND_KEY,{key:t,locale:n})),t}function Rh(e){return t=>function(n,r){const o=r.b||r.body;if((o.t||o.type)===1){const a=o,i=a.c||a.cases;return n.plural(i.reduce((l,s)=>[...l,G5(n,s)],[]))}return G5(n,o)}(t,e)}function G5(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((o,a)=>[...o,Vh(e,a)],[]);return e.normalize(r)}}function Vh(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const l=t,s=l.m||l.modifier;return e.linked(Vh(e,l.k||l.key),s?Vh(e,s):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const TR="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function q5(e,t){t&&eR(e)&&ou(kh(TR,{source:e}))}const W5=e=>e;let vl=Object.create(null);const gl=e=>xn(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function K5(e,t={}){let n=!1;const r=t.onError||ZM;return t.onError=o=>{n=!0,r(o)},{...vR(e,t),detectError:n}}const Y5=()=>"",ao=e=>En(e);function X5(e,t,n,r,o,a){const{messages:i,onWarn:l,messageResolver:s,localeFallbacker:c}=e,u=c(e,r,n);let d,p={},f=null,m=n,v=null;const g="translate";for(let b=0;br;return p.locale=n,p.key=t,p}let s,c,u=null;fl&&(u=window.performance.now(),s="intlify-message-compilation-start",c="intlify-message-compilation-end",Fr&&Fr(s));const d=i(r,function(p,f,m,v,g,b){return{locale:f,key:m,warnHtmlMessage:g,onError:y=>{b&&b(y);{const _=function(C){if(gt(C))return C;if(C.loc&&C.loc.source)return C.loc.source}(v),w=`Message compilation error: ${y.message}`,x=y.location&&_&&function(C,M=0,S=C.length){const k=C.split(/\r?\n/);let D=0;const A=[];for(let T=0;T=M){for(let P=T-b5;P<=T+b5||S>D;P++){if(P<0||P>=k.length)continue;const L=P+1;A.push(`${L}${" ".repeat(3-String(L).length)}| ${k[P]}`);const V=k[P].length;if(P===T){const O=M-(D-V)+1,I=Math.max(1,S>D?V-O:S-M);A.push(" | "+" ".repeat(O)+"^".repeat(I))}else if(P>T){if(S>D){const O=Math.max(Math.min(S-D,V),1);A.push(" | "+"^".repeat(O))}D+=V+1}}break}return A.join(` `)}(_,y.location.start.offset,y.location.end.offset),E=p.__v_emitter;E&&_&&E.emit("compile-error",{message:_,error:y.message,start:y.location&&y.location.start.offset,end:y.location&&y.location.end.offset,groupId:`translate:${m}`}),console.error(x?`${w} ${x}`:w)}},onCacheKey:y=>WM(f,m,y)}}(e,n,o,r,l,a));if(fl){const p=window.performance.now(),f=e.__v_emitter;f&&u&&f.emit("message-compilation",{type:"message-compilation",message:r,time:p-u,groupId:`translate:${t}`}),s&&c&&Fr&&hl&&(Fr(c),hl("intlify message compilation",s,c))}return d.locale=n,d.key=t,d.source=r,d}function Z5(...e){const[t,n,r]=e,o={};if(!(gt(t)||$r(t)||ao(t)||gl(t)))throw ko(Mn.INVALID_ARGUMENT);const a=$r(t)?String(t):(ao(t),t);return $r(n)?o.plural=n:gt(n)?o.default=n:ln(n)&&!Oh(n)?o.named=n:Ko(n)&&(o.list=n),$r(r)?o.plural=r:gt(r)?o.default=r:ln(r)&&oi(o,r),[a,o]}const Q5=typeof Intl<"u",LR=Q5&&Intl.DateTimeFormat!==void 0,DR=Q5&&Intl.NumberFormat!==void 0,eb=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function tb(...e){const[t,n,r,o]=e,a={};let i,l={};if(gt(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw ko(Mn.INVALID_ISO_DATE_ARGUMENT);const c=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();i=new Date(c);try{i.toISOString()}catch{throw ko(Mn.INVALID_ISO_DATE_ARGUMENT)}}else if(YM(t)){if(isNaN(t.getTime()))throw ko(Mn.INVALID_DATE_ARGUMENT);i=t}else{if(!$r(t))throw ko(Mn.INVALID_ARGUMENT);i=t}return gt(n)?a.key=n:ln(n)&&Object.keys(n).forEach(s=>{eb.includes(s)?l[s]=n[s]:a[s]=n[s]}),gt(r)?a.locale=r:ln(r)&&(l=r),ln(o)&&(l=o),[a.key||"",i,a,l]}const nb=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function rb(...e){const[t,n,r,o]=e,a={};let i={};if(!$r(t))throw ko(Mn.INVALID_ARGUMENT);const l=t;return gt(n)?a.key=n:ln(n)&&Object.keys(n).forEach(s=>{nb.includes(s)?i[s]=n[s]:a[s]=n[s]}),gt(r)?a.locale=r:ln(r)&&(i=r),ln(o)&&(i=o),[a.key||"",l,a,i]}const IR=Object.freeze(Object.defineProperty({__proto__:null,CompileErrorCodes:ft,CoreErrorCodes:Mn,CoreWarnCodes:mr,DATETIME_FORMAT_OPTIONS_KEYS:eb,DEFAULT_LOCALE:G1,DEFAULT_MESSAGE_DATA_TYPE:k5,MISSING_RESOLVE_VALUE:"",NOT_REOSLVED:-1,NUMBER_FORMAT_OPTIONS_KEYS:nb,VERSION:V5,clearCompileCache:function(){vl=Object.create(null)},clearDateTimeFormat:function(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}},clearNumberFormat:function(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}},compile:function(e,t){if(gt(e)){const n=!fr(t.warnHtmlMessage)||t.warnHtmlMessage;q5(e,n);const r=(t.onCacheKey||W5)(e),o=vl[r];if(o)return o;const{ast:a,detectError:i}=K5(e,{...t,location:!0,jit:!0}),l=Rh(a);return i?l:vl[r]=l}{if(!gl(e))return ou(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;return n?vl[n]||(vl[n]=Rh(e)):Rh(e)}},compileToFunction:(e,t)=>{if(!gt(e))throw ko(Mn.NOT_SUPPORT_NON_STRING_MESSAGE);{q5(e,!fr(t.warnHtmlMessage)||t.warnHtmlMessage);const n=(t.onCacheKey||W5)(e),r=vl[n];if(r)return r;const{code:o,detectError:a}=K5(e,t),i=new Function(`return ${o}`)();return a?i:vl[n]=i}},createCompileError:ws,createCoreContext:function(e={}){const t=En(e.onWarn)?e.onWarn:ou,n=gt(e.version)?e.version:V5,r=gt(e.locale)||En(e.locale)?e.locale:G1,o=En(r)?G1:r,a=Ko(e.fallbackLocale)||ln(e.fallbackLocale)||gt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ln(e.messages)?e.messages:{[o]:{}},l=ln(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},s=ln(e.numberFormats)?e.numberFormats:{[o]:{}},c=oi({},e.modifiers||{},{upper:(P,L)=>L==="text"&>(P)?P.toUpperCase():L==="vnode"&&xn(P)&&"__v_isVNode"in P?P.children.toUpperCase():P,lower:(P,L)=>L==="text"&>(P)?P.toLowerCase():L==="vnode"&&xn(P)&&"__v_isVNode"in P?P.children.toLowerCase():P,capitalize:(P,L)=>L==="text"&>(P)?P5(P):L==="vnode"&&xn(P)&&"__v_isVNode"in P?P5(P.children):P}),u=e.pluralRules||{},d=En(e.missing)?e.missing:null,p=!fr(e.missingWarn)&&!m5(e.missingWarn)||e.missingWarn,f=!fr(e.fallbackWarn)&&!m5(e.fallbackWarn)||e.fallbackWarn,m=!!e.fallbackFormat,v=!!e.unresolving,g=En(e.postTranslation)?e.postTranslation:null,b=ln(e.processor)?e.processor:null,y=!fr(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter,w=En(e.messageCompiler)?e.messageCompiler:N5;var x;En(e.messageCompiler)&&(x=li(mr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER),_5[x]||(_5[x]=!0,ou(x)));const E=En(e.messageResolver)?e.messageResolver:F5||C5,C=En(e.localeFallbacker)?e.localeFallbacker:$5||M5,M=xn(e.fallbackContext)?e.fallbackContext:void 0,S=e,k=xn(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,D=xn(S.__numberFormatters)?S.__numberFormatters:new Map,A=xn(S.__meta)?S.__meta:{};H5++;const T={version:n,cid:H5,locale:r,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:d,missingWarn:p,fallbackWarn:f,fallbackFormat:m,unresolving:v,postTranslation:g,processor:b,warnHtmlMessage:y,escapeParameter:_,messageCompiler:w,messageResolver:E,localeFallbacker:C,fallbackContext:M,onWarn:t,__meta:A};return T.datetimeFormats=l,T.numberFormats=s,T.__datetimeFormatters=k,T.__numberFormatters=D,T.__v_emitter=S.__v_emitter!=null?S.__v_emitter:void 0,L5(T,n,A),T},createCoreError:ko,createMessageContext:T5,datetime:function(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e;if(!LR)return a(li(mr.CANNOT_FORMAT_DATE)),"";const[s,c,u,d]=tb(...t),p=fr(u.missingWarn)?u.missingWarn:e.missingWarn,f=fr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,v=U1(e,u),g=i(e,o,v);if(!gt(s)||s==="")return new Intl.DateTimeFormat(v,d).format(c);let b,y={},_=null,w=v,x=null;const E="datetime format";for(let S=0;Sj5,getLocale:U1,getWarnMessage:li,handleMissing:W1,initI18nDevTools:L5,isMessageAST:gl,isMessageFunction:ao,isTranslateFallbackWarn:q1,isTranslateMissingWarn:U5,number:function(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(!DR)return a(li(mr.CANNOT_FORMAT_NUMBER)),"";const[s,c,u,d]=rb(...t),p=fr(u.missingWarn)?u.missingWarn:e.missingWarn,f=fr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,v=U1(e,u),g=i(e,o,v);if(!gt(s)||s==="")return new Intl.NumberFormat(v,d).format(c);let b,y={},_=null,w=v,x=null;const E="number format";for(let S=0;S{z5=e},setDevToolsHook:function(e){Ss=e},setFallbackContext:e=>{j5=e},translate:function(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[s,c]=Z5(...t),u=fr(c.missingWarn)?c.missingWarn:e.missingWarn,d=fr(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=fr(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,m=gt(c.default)||fr(c.default)?fr(c.default)?a?s:()=>s:c.default:n?a?s:()=>s:"",v=n||m!=="",g=U1(e,c);p&&function(D){Ko(D.list)?D.list=D.list.map(A=>gt(A)?v5(A):A):xn(D.named)&&Object.keys(D.named).forEach(A=>{gt(D.named[A])&&(D.named[A]=v5(D.named[A]))})}(c);let[b,y,_]=f?[s,g,l[g]||{}]:X5(e,s,g,i,d,u),w=b,x=s;if(f||gt(w)||gl(w)||ao(w)||v&&(w=m,x=w),!(f||(gt(w)||gl(w)||ao(w))&>(y)))return o?-1:s;if(gt(w)&&e.messageCompiler==null)return ou(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`),s;let E=!1;const C=ao(w)?w:J5(e,s,y,w,x,()=>{E=!0});if(E)return w;const M=function(D,A,T,P){const{modifiers:L,pluralRules:V,messageResolver:O,fallbackLocale:I,fallbackWarn:$,missingWarn:K,fallbackContext:q}=D,G=Z=>{let X=O(T,Z);if(X==null&&q){const[,,ie]=X5(q,Z,A,I,$,K);X=O(ie,Z)}if(gt(X)||gl(X)){let ie=!1;const ve=J5(D,Z,A,X,Z,()=>{ie=!0});return ie?Y5:ve}return ao(X)?X:Y5},B={locale:A,modifiers:L,pluralRules:V,messages:G};return D.processor&&(B.processor=D.processor),P.list&&(B.list=P.list),P.named&&(B.named=P.named),$r(P.plural)&&(B.pluralIndex=P.plural),B}(e,y,_,c),S=function(D,A,T){let P,L,V=null;fl&&(V=window.performance.now(),P="intlify-message-evaluation-start",L="intlify-message-evaluation-end",Fr&&Fr(P));const O=A(T);if(fl){const I=window.performance.now(),$=D.__v_emitter;$&&V&&$.emit("message-evaluation",{type:"message-evaluation",value:O,time:I-V,groupId:`translate:${A.key}`}),P&&L&&Fr&&hl&&(Fr(L),hl("intlify message evaluation",P,L))}return O}(e,C,T5(M)),k=r?r(S,s):S;{const D={timestamp:Date.now(),key:gt(s)?s:ao(w)?w.key:"",locale:y||(ao(w)?w.locale:""),format:gt(w)?w:ao(w)?w.source:"",message:k};D.meta=oi({},e.__meta,B5()||{}),D5(D)}return k},translateDevTools:D5,updateFallbackLocale:function(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}},Symbol.toStringTag,{value:"Module"})),MR=Gc(IR);function zr(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}let Ut,yl,yt,Ph,bl,au,Wt,K1,ob,si,ci,iu,_a,ui,Nh,_l,Al,lu,Y1,Cs,ab,su,ib,Rn,lb,Vn,Xo,Jo,io,Aa,cu,ks,uu;Ut=Object.freeze({}),yl=Object.freeze([]),yt=()=>{},Ph=()=>!1,bl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),au=e=>e.startsWith("onUpdate:"),Wt=Object.assign,K1=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ob=Object.prototype.hasOwnProperty,st=(e,t)=>ob.call(e,t),Oe=Array.isArray,si=e=>_l(e)==="[object Map]",ci=e=>_l(e)==="[object Set]",iu=e=>_l(e)==="[object Date]",ze=e=>typeof e=="function",Ye=e=>typeof e=="string",_a=e=>typeof e=="symbol",rt=e=>e!==null&&typeof e=="object",ui=e=>(rt(e)||ze(e))&&ze(e.then)&&ze(e.catch),Nh=Object.prototype.toString,_l=e=>Nh.call(e),Al=e=>_l(e).slice(8,-1),lu=e=>_l(e)==="[object Object]",Y1=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cs=zr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ab=zr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),su=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ib=/-(\w)/g,Rn=su(e=>e.replace(ib,(t,n)=>n?n.toUpperCase():"")),lb=/\B([A-Z])/g,Vn=su(e=>e.replace(lb,"-$1").toLowerCase()),Xo=su(e=>e.charAt(0).toUpperCase()+e.slice(1)),Jo=su(e=>e?`on${Xo(e)}`:""),io=(e,t)=>!Object.is(e,t),Aa=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ks=e=>{const t=parseFloat(e);return isNaN(t)?e:t},uu=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let sb;const Fh=()=>sb||(sb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),RR=zr("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error");We=function(e){if(Oe(e)){const t={};for(let n=0;n{if(n){const r=n.split(PR);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}z=function(e){let t="";if(Ye(e))t=e;else if(Oe(e))for(let n=0;nwa(n,t))}let zh,J1;Pe=e=>Ye(e)?e:e==null?"":Oe(e)||rt(e)&&(e.toString===Nh||!ze(e.toString))?JSON.stringify(e,zh,2):String(e),zh=(e,t)=>t&&t.__v_isRef?zh(e,t.value):si(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],a)=>(n[J1(r,a)+" =>"]=o,n),{})}:ci(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>J1(n))}:_a(t)?J1(t):!rt(t)||Oe(t)||lu(t)?t:String(t),J1=(e,t="")=>{var n;return _a(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Z1(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Br,wl;class Bh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Br,!t&&Br&&(this.index=(Br.scopes||(Br.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Br;try{return Br=this,t()}finally{Br=n}}else Z1("cannot run an inactive effect scope.")}on(){Br=this}off(){Br=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),fi()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=di,n=wl;try{return di=!0,wl=this,this._runnings++,pb(this),this.fn()}finally{fb(this),this._runnings--,wl=n,di=t}}stop(){var t;this.active&&(pb(this),fb(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function GR(e){return e.value}function pb(e){e._trackId++,e._depsLength=0}function fb(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Q1=new WeakMap,El=Symbol("iterate"),qh=Symbol("Map key iterate");function er(e,t,n){if(di&&wl){let r=Q1.get(e);r||Q1.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=bb(()=>r.delete(n))),vb(wl,o,{target:e,type:t,key:n})}}function Zo(e,t,n,r,o,a){const i=Q1.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&Oe(e)){const s=Number(r);i.forEach((c,u)=>{(u==="length"||!_a(u)&&u>=s)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Oe(e)?Y1(n)&&l.push(i.get("length")):(l.push(i.get(El)),si(e)&&l.push(i.get(qh)));break;case"delete":Oe(e)||(l.push(i.get(El)),si(e)&&l.push(i.get(qh)));break;case"set":si(e)&&l.push(i.get(El))}Hh();for(const s of l)s&&gb(s,2,{target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:a});Uh()}const qR=zr("__proto__,__v_isRef,__isVue"),_b=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_a)),Ab=WR();function WR(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=it(this);for(let a=0,i=this.length;a{e[t]=function(...n){pi(),Hh();const r=it(this)[t].apply(this,n);return Uh(),fi(),r}}),e}function KR(e){const t=it(this);return er(t,"has",e),t.hasOwnProperty(e)}class wb{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,a=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return a;if(n==="__v_raw")return r===(o?a?Mb:Ib:a?Db:Lb).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Oe(t);if(!o){if(i&&st(Ab,n))return Reflect.get(Ab,n,r);if(n==="hasOwnProperty")return KR}const l=Reflect.get(t,n,r);return(_a(n)?_b.has(n):qR(n))?l:(o||er(t,"get",n),a?l:At(l)?i&&Y1(n)?l:l.value:rt(l)?o?ya(l):Mt(l):l)}}class Eb extends wb{constructor(t=!1){super(!1,t)}set(t,n,r,o){let a=t[n];if(!this._shallow){const s=Ea(a);if(fu(r)||Ea(r)||(a=it(a),r=it(r)),!Oe(t)&&At(a)&&!At(r))return!s&&(a.value=r,!0)}const i=Oe(t)&&Y1(n)?Number(n)e,ep=e=>Reflect.getPrototypeOf(e);function tp(e,t,n=!1,r=!1){const o=it(e=e.__v_raw),a=it(t);n||(io(t,a)&&er(o,"get",t),er(o,"get",a));const{has:i}=ep(o),l=r?Wh:n?Kh:mu;return i.call(o,t)?l(e.get(t)):i.call(o,a)?l(e.get(a)):void(e!==o&&e.get(t))}function np(e,t=!1){const n=this.__v_raw,r=it(n),o=it(e);return t||(io(e,o)&&er(r,"has",e),er(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function rp(e,t=!1){return e=e.__v_raw,!t&&er(it(e),"iterate",El),Reflect.get(e,"size",e)}function Sb(e){e=it(e);const t=it(this);return ep(t).has.call(t,e)||(t.add(e),Zo(t,"add",e,e)),this}function Cb(e,t){t=it(t);const n=it(this),{has:r,get:o}=ep(n);let a=r.call(n,e);a?Tb(n,r,e):(e=it(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?io(t,i)&&Zo(n,"set",e,t,i):Zo(n,"add",e,t),this}function kb(e){const t=it(this),{has:n,get:r}=ep(t);let o=n.call(t,e);o?Tb(t,n,e):(e=it(e),o=n.call(t,e));const a=r?r.call(t,e):void 0,i=t.delete(e);return o&&Zo(t,"delete",e,void 0,a),i}function Ob(){const e=it(this),t=e.size!==0,n=si(e)?new Map(e):new Set(e),r=e.clear();return t&&Zo(e,"clear",void 0,void 0,n),r}function op(e,t){return function(n,r){const o=this,a=o.__v_raw,i=it(a),l=t?Wh:e?Kh:mu;return!e&&er(i,"iterate",El),a.forEach((s,c)=>n.call(r,l(s),l(c),o))}}function ap(e,t,n){return function(...r){const o=this.__v_raw,a=it(o),i=si(a),l=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,c=o[e](...r),u=n?Wh:t?Kh:mu;return!t&&er(a,"iterate",s?qh:El),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:l?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function hi(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Xo(e)} operation ${n}failed: target is readonly.`,it(this))}return e!=="delete"&&(e==="clear"?void 0:this)}}function QR(){const e={get(o){return tp(this,o)},get size(){return rp(this)},has:np,add:Sb,set:Cb,delete:kb,clear:Ob,forEach:op(!1,!1)},t={get(o){return tp(this,o,!1,!0)},get size(){return rp(this)},has:np,add:Sb,set:Cb,delete:kb,clear:Ob,forEach:op(!1,!0)},n={get(o){return tp(this,o,!0)},get size(){return rp(this,!0)},has(o){return np.call(this,o,!0)},add:hi("add"),set:hi("set"),delete:hi("delete"),clear:hi("clear"),forEach:op(!0,!1)},r={get(o){return tp(this,o,!0,!0)},get size(){return rp(this,!0)},has(o){return np.call(this,o,!0)},add:hi("add"),set:hi("set"),delete:hi("delete"),clear:hi("clear"),forEach:op(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ap(o,!1,!1),n[o]=ap(o,!0,!1),t[o]=ap(o,!1,!0),r[o]=ap(o,!0,!0)}),[e,n,t,r]}const[eV,tV,nV,rV]=QR();function ip(e,t){const n=t?e?rV:nV:e?tV:eV;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(st(n,o)&&o in r?n:r,o,a)}const oV={get:ip(!1,!1)},aV={get:ip(!1,!0)},iV={get:ip(!0,!1)},lV={get:ip(!0,!0)};function Tb(e,t,n){const r=it(n);if(r!==n&&t.call(e,r)){const o=Al(e);console.warn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Lb=new WeakMap,Db=new WeakMap,Ib=new WeakMap,Mb=new WeakMap;Mt=function(e){return Ea(e)?e:sp(e,!1,YR,oV,Lb)};function lp(e){return sp(e,!1,JR,aV,Db)}ya=function(e){return sp(e,!0,XR,iV,Ib)};function xl(e){return sp(e,!0,ZR,lV,Mb)}function sp(e,t,n,r,o){if(!rt(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(c){switch(c){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Al(l));var l;if(i===0)return e;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function Oo(e){return Ea(e)?Oo(e.__v_raw):!(!e||!e.__v_isReactive)}function Ea(e){return!(!e||!e.__v_isReadonly)}function fu(e){return!(!e||!e.__v_isShallow)}function hu(e){return Oo(e)||Ea(e)}it=function(e){const t=e&&e.__v_raw;return t?it(t):e},bn=function(e){return cu(e,"__v_skip",!0),e};const mu=e=>rt(e)?Mt(e):e,Kh=e=>rt(e)?ya(e):e;class Rb{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Os(()=>t(this._value),()=>Ts(this,1),()=>this.dep&&yb(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=it(this);return t._cacheable&&!t.effect.dirty||io(t._value,t._value=t.effect.run())&&Ts(t,2),Yh(t),t.effect._dirtyLevel>=1&&Ts(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Vb(e,t,n=!1){let r,o;const a=ze(e);a?(r=e,o=()=>{console.warn("Write operation failed: computed value is readonly")}):(r=e.get,o=e.set);const i=new Rb(r,o,a||!o,n);return t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function Yh(e){di&&wl&&(e=it(e),vb(wl,e.dep||(e.dep=bb(()=>e.dep=void 0,e instanceof Rb?e:void 0)),{target:e,type:"get",key:"value"}))}function Ts(e,t=2,n){const r=(e=it(e)).dep;r&&gb(r,t,{target:e,type:"set",key:"value",newValue:n})}At=function(e){return!(!e||e.__v_isRef!==!0)},j=function(e){return Pb(e,!1)},yn=function(e){return Pb(e,!0)};function Pb(e,t){return At(e)?e:new sV(e,t)}class sV{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:it(t),this._value=n?t:mu(t)}get value(){return Yh(this),this._value}set value(t){const n=this.__v_isShallow||fu(t)||Ea(t);t=n?t:it(t),io(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mu(t),Ts(this,2,t))}}function Ls(e){Ts(e,2,e.value)}h=function(e){return At(e)?e.value:e};const cV={get:(e,t,n)=>h(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return At(o)&&!At(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Xh(e){return Oo(e)?e:new Proxy(e,cV)}class uV{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Yh(this),()=>Ts(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Jh(e){return new uV(e)}wn=function(e){hu(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=Oe(e)?new Array(e.length):{};for(const n in e)t[n]=Nb(e,n);return t};class dV{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return function(t,n){var r;return(r=Q1.get(t))==null?void 0:r.get(n)}(it(this._object),this._key)}}class pV{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}Ft=function(e,t,n){return At(e)?e:ze(e)?new pV(e):rt(e)&&arguments.length>1?Nb(e,t,n):j(e)};function Nb(e,t,n){const r=e[t];return At(r)?r:new dV(e,t,n)}const Sl=[];function vu(e){Sl.push(e)}function gu(){Sl.pop()}function Le(e,...t){pi();const n=Sl.length?Sl[Sl.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let a=Sl[Sl.length-1];if(!a)return[];const i=[];for(;a;){const l=i[0];l&&l.vnode===a?l.recurseCount++:i.push({vnode:a,recurseCount:0});const s=a.component&&a.component.parent;a=s&&s.vnode}return i}();if(r)Qo(r,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:a})=>`at <${Mp(n,a.type)}>`).join(` `),o]);else{const a=[`[Vue warn]: ${e}`,...t];o.length&&a.push(` `,...function(i){const l=[];return i.forEach((s,c)=>{l.push(...c===0?[]:[` `],...function({vnode:u,recurseCount:d}){const p=d>0?`... (${d} recursive calls)`:"",f=!!u.component&&u.component.parent==null,m=` at <${Mp(u.component,u.type,f)}`,v=">"+p;return u.props?[m,...fV(u.props),v]:[m+v]}(s))}),l}(o)),console.warn(...a)}fi()}function fV(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Fb(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Fb(e,t,n){return Ye(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:At(t)?(t=Fb(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ze(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function Zh(e,t){e!==void 0&&(typeof e!="number"?Le(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Le(`${t} is NaN - the duration expression might be incorrect.`))}const cp={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Qo(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){mi(a,t,n)}return o}function jr(e,t,n,r){if(ze(e)){const a=Qo(e,t,n,r);return a&&ui(a)&&a.catch(i=>{mi(i,t,n)}),a}const o=[];for(let a=0;a>>1,a=tr[o],i=Au(a);iAu(n)-Au(r));if(Ds.length=0,xa)return void xa.push(...t);for(xa=t,e=e||new Map,vi=0;vie.id==null?1/0:e.id,mV=(e,t)=>{const n=Au(e)-Au(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function jb(e){Qh=!1,yu=!0,e=e||new Map,tr.sort(mV);const t=n=>tm(e,n);try{for(ea=0;eahV){const r=t.ownerInstance,o=r&&Pu(r.type);return mi(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}e.set(t,n+1)}else e.set(t,1)}let gi=!1;const Is=new Set;Fh().__VUE_HMR_RUNTIME__={createRecord:nm(Hb),rerender:nm(function(e,t){const n=Cl.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,wu(r.type).render=t),r.renderCache=[],gi=!0,r.effect.dirty=!0,r.update(),gi=!1}))}),reload:nm(function(e,t){const n=Cl.get(e);if(!n)return;t=wu(t),Ub(n.initialDef,t);const r=[...n.instances];for(const o of r){const a=wu(o.type);Is.has(a)||(a!==n.initialDef&&Ub(a,t),Is.add(a)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(Is.add(a),o.ceReload(t.styles),Is.delete(a)):o.parent?(o.parent.effect.dirty=!0,bu(o.parent.update)):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}_u(()=>{for(const o of r)Is.delete(wu(o.type))})})};const Cl=new Map;function Hb(e,t){return!Cl.has(e)&&(Cl.set(e,{initialDef:wu(t),instances:new Set}),!0)}function wu(e){return Q_(e)?e.__vccOpts:e}function Ub(e,t){Wt(e,t);for(const n in e)n==="__file"||n in t||delete e[n]}function nm(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let To,Eu=[],rm=!1;function xu(e,...t){To?To.emit(e,...t):rm||Eu.push({event:e,args:t})}function om(e,t){var n,r;To=e,To?(To.enabled=!0,Eu.forEach(({event:o,args:a})=>To.emit(o,...a)),Eu=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{om(o,t)}),setTimeout(()=>{To||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,rm=!0,Eu=[])},3e3)):(rm=!0,Eu=[])}const am=im("component:added"),Gb=im("component:updated"),vV=im("component:removed"),gV=e=>{To&&typeof To.cleanupBuffer=="function"&&!To.cleanupBuffer(e)&&vV(e)};function im(e){return t=>{xu(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const yV=qb("perf:start"),bV=qb("perf:end");function qb(e){return(t,n,r)=>{xu(e,t.appContext.app,t.uid,t,n,r)}}function _V(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ut;{const{emitsOptions:u,propsOptions:[d]}=e;if(u)if(t in u){const p=u[t];ze(p)&&(p(...n)||Le(`Invalid event arguments: event validation failed for event "${t}".`))}else d&&Jo(t)in d||Le(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Jo(t)}" prop.`)}let o=n;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:p}=r[u]||Ut;p&&(o=n.map(f=>Ye(f)?f.trim():f)),d&&(o=n.map(ks))}(function(u,d,p){xu("component:emit",u.appContext.app,u,d,p)})(e,t,o);{const u=t.toLowerCase();u!==t&&r[Jo(u)]&&Le(`Event "${u}" is emitted in component ${Mp(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Vn(t)}" instead of "${t}".`)}let l,s=r[l=Jo(t)]||r[l=Jo(Rn(t))];!s&&a&&(s=r[l=Jo(Vn(t))]),s&&jr(s,e,6,o);const c=r[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,jr(c,e,6,o)}}function Wb(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const a=e.emits;let i={},l=!1;if(!ze(e)){const s=c=>{const u=Wb(c,t,!0);u&&(l=!0,Wt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return a||l?(Oe(a)?a.forEach(s=>i[s]=null):Wt(i,a),rt(e)&&r.set(e,i),i):(rt(e)&&r.set(e,null),null)}function dp(e,t){return!(!e||!bl(t))&&(t=t.slice(2).replace(/Once$/,""),st(e,t[0].toLowerCase()+t.slice(1))||st(e,Vn(t))||st(e,t))}let dn=null,pp=null;function Su(e){const t=dn;return dn=e,pp=e&&e.type.__scopeId||null,t}p8=function(e){pp=e},d8=function(){pp=null},pe=function(e,t=dn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Vm(-1);const a=Su(t);let i;try{i=e(...o)}finally{Su(a),r._d&&Vm(1)}return Gb(t),i};return r._n=!0,r._c=!0,r._d=!0,r};let lm=!1;function fp(){lm=!0}function hp(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[i],slots:l,attrs:s,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:m,inheritAttrs:v}=e;let g,b;const y=Su(e);lm=!1;try{if(4&n.shapeFlag){const x=o||r,E=f.__isScriptSetup?new Proxy(x,{get:(C,M,S)=>(Le(`Property '${String(M)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,M,S))}):x;g=kr(u.call(E,x,d,a,f,p,m)),b=s}else{const x=t;s===a&&fp(),g=kr(x.length>1?x(a,{get attrs(){return fp(),s},slots:l,emit:c}):x(a,null)),b=t.props?s:AV(s)}}catch(x){Ps.length=0,mi(x,e,1),g=te(nn)}let _,w=g;if(g.patchFlag>0&&2048&g.patchFlag&&([w,_]=Kb(g)),b&&v!==!1){const x=Object.keys(b),{shapeFlag:E}=w;if(x.length){if(7&E)i&&x.some(au)&&(b=wV(b,i)),w=Hr(w,b);else if(!lm&&w.type!==nn){const C=Object.keys(s),M=[],S=[];for(let k=0,D=C.length;k renders non-element root node that cannot be animated."),w.transition=n.transition),_?_(w):g=w,Su(y),g}const Kb=e=>{const t=e.children,n=e.dynamicChildren,r=mp(t,!1);if(!r)return[e,void 0];if(r.patchFlag>0&&2048&r.patchFlag)return Kb(r);const o=t.indexOf(r),a=n?n.indexOf(r):-1;return[kr(r),i=>{t[o]=i,n&&(a>-1?n[a]=i:i.patchFlag>0&&(e.dynamicChildren=[...n,i]))}]};function mp(e,t=!0){let n;for(let r=0;r0&&2048&n.patchFlag)return mp(n.children)}}return n}const AV=e=>{let t;for(const n in e)(n==="class"||n==="style"||bl(n))&&((t||(t={}))[n]=e[n]);return t},wV=(e,t)=>{const n={};for(const r in e)au(r)&&r.slice(9)in t||(n[r]=e[r]);return n},Yb=e=>7&e.shapeFlag||e.type===nn;function Xb(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let dm=0;const xV={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,a,i,l,s,c){if(e==null)(function(u,d,p,f,m,v,g,b,y){const{p:_,o:{createElement:w}}=y,x=w("div"),E=u.suspense=pm(u,m,f,d,x,p,v,g,b,y);_(null,E.pendingBranch=u.ssContent,x,null,f,E,v,g),E.deps>0?(Cu(u,"onPending"),Cu(u,"onFallback"),_(null,u.ssFallback,d,p,f,null,v,g),Ms(E,u.ssFallback)):E.resolve(!1,!0)})(t,n,r,o,a,i,l,s,c);else{if(a&&a.deps>0)return void(t.suspense=e.suspense);(function(u,d,p,f,m,v,g,b,{p:y,um:_,o:{createElement:w}}){const x=d.suspense=u.suspense;x.vnode=d,d.el=u.el;const E=d.ssContent,C=d.ssFallback,{activeBranch:M,pendingBranch:S,isInFallback:k,isHydrating:D}=x;if(S)x.pendingBranch=E,Do(E,S)?(y(S,E,x.hiddenContainer,null,m,x,v,g,b),x.deps<=0?x.resolve():k&&(D||(y(M,C,p,f,m,null,v,g,b),Ms(x,C)))):(x.pendingId=dm++,D?(x.isHydrating=!1,x.activeBranch=S):_(S,m,x),x.deps=0,x.effects.length=0,x.hiddenContainer=w("div"),k?(y(null,E,x.hiddenContainer,null,m,x,v,g,b),x.deps<=0?x.resolve():(y(M,C,p,f,m,null,v,g,b),Ms(x,C))):M&&Do(E,M)?(y(M,E,p,f,m,x,v,g,b),x.resolve(!0)):(y(null,E,x.hiddenContainer,null,m,x,v,g,b),x.deps<=0&&x.resolve()));else if(M&&Do(E,M))y(M,E,p,f,m,x,v,g,b),Ms(x,E);else if(Cu(d,"onPending"),x.pendingBranch=E,512&E.shapeFlag?x.pendingId=E.component.suspenseId:x.pendingId=dm++,y(null,E,x.hiddenContainer,null,m,x,v,g,b),x.deps<=0)x.resolve();else{const{timeout:A,pendingId:T}=x;A>0?setTimeout(()=>{x.pendingId===T&&x.fallback(C)},A):A===0&&x.fallback(C)}})(e,t,n,r,o,i,l,s,c)}},hydrate:function(e,t,n,r,o,a,i,l,s){const c=t.suspense=pm(t,r,n,e.parentNode,document.createElement("div"),null,o,a,i,l,!0),u=s(e,c.pendingBranch=t.ssContent,n,c,a,i);return c.deps===0&&c.resolve(!1,!0),u},create:pm,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=e_(r?n.default:n),e.ssFallback=r?e_(n.fallback):te(nn)}},SV=xV;function Cu(e,t){const n=e.props&&e.props[t];ze(n)&&n()}let Qb=!1;function pm(e,t,n,r,o,a,i,l,s,c,u=!1){Qb||(Qb=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:d,m:p,um:f,n:m,o:{parentNode:v,remove:g}}=c;let b;const y=function(E){var C;return((C=E.props)==null?void 0:C.suspensible)!=null&&E.props.suspensible!==!1}(e);y&&(t!=null&&t.pendingBranch)&&(b=t.pendingId,t.deps++);const _=e.props?uu(e.props.timeout):void 0;Zh(_,"Suspense timeout");const w=a,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:dm++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,C=!1){if(!E&&!x.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(x.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.");const{vnode:M,activeBranch:S,pendingBranch:k,pendingId:D,effects:A,parentComponent:T,container:P}=x;let L=!1;x.isHydrating?x.isHydrating=!1:E||(L=S&&k.transition&&k.transition.mode==="out-in",L&&(S.transition.afterLeave=()=>{D===x.pendingId&&(p(k,P,a===w?m(S):a,0),_u(A))}),S&&(v(S.el)!==x.hiddenContainer&&(a=m(S)),f(S,T,x,!0)),L||p(k,P,a,0)),Ms(x,k),x.pendingBranch=null,x.isInFallback=!1;let V=x.parent,O=!1;for(;V;){if(V.pendingBranch){V.effects.push(...A),O=!0;break}V=V.parent}O||L||_u(A),x.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps!==0||C||t.resolve()),Cu(M,"onResolve")},fallback(E){if(!x.pendingBranch)return;const{vnode:C,activeBranch:M,parentComponent:S,container:k,namespace:D}=x;Cu(C,"onFallback");const A=m(M),T=()=>{x.isInFallback&&(d(null,E,k,A,S,null,D,l,s),Ms(x,E))},P=E.transition&&E.transition.mode==="out-in";P&&(M.transition.afterLeave=T),x.isInFallback=!0,f(M,S,null,!0),P||T()},move(E,C,M){x.activeBranch&&p(x.activeBranch,E,C,M),x.container=E},next:()=>x.activeBranch&&m(x.activeBranch),registerDep(E,C){const M=!!x.pendingBranch;M&&x.deps++;const S=E.vnode.el;E.asyncDep.catch(k=>{mi(k,E,0)}).then(k=>{if(E.isUnmounted||x.isUnmounted||x.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:D}=E;vu(D),Bm(E,k,!1),S&&(D.el=S);const A=!S&&E.subTree.el;C(E,D,v(S||E.subTree.el),S?null:m(E.subTree),x,i,s),A&&g(A),sm(E,D.el),gu(),M&&--x.deps==0&&x.resolve()})},unmount(E,C){x.isUnmounted=!0,x.activeBranch&&f(x.activeBranch,n,E,C),x.pendingBranch&&f(x.pendingBranch,n,E,C)}};return x}function e_(e){let t;if(ze(e)){const n=Rl&&e._c;n&&(e._d=!1,F()),e=e(),n&&(e._d=!0,t=Cr,U_())}if(Oe(e)){const n=mp(e);!n&&e.filter(r=>r!==cm).length>0&&Le(" slots expect a single root node."),e=n}return e=kr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function t_(e,t){t&&t.pendingBranch?Oe(e)?t.effects.push(...e):t.effects.push(e):_u(e)}function Ms(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,sm(r,o))}const n_=Symbol.for("v-scx"),r_=()=>{{const e=Be(n_);return e||Le("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};no=function(e,t){return ku(e,null,t)};function o_(e,t){return ku(e,null,Wt({},t,{flush:"post"}))}function a_(e,t){return ku(e,null,Wt({},t,{flush:"sync"}))}const gp={};Ae=function(e,t,n){return ze(t)||Le("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ku(e,t,n)};function ku(e,t,{immediate:n,deep:r,flush:o,once:a,onTrack:i,onTrigger:l}=Ut){if(t&&a){const C=t;t=(...M)=>{C(...M),E()}}r!==void 0&&typeof r=="number"&&Le('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),t||(n!==void 0&&Le('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Le('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Le('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=C=>{Le("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=mn,u=C=>r===!0?C:kl(C,r===!1?1:void 0);let d,p,f=!1,m=!1;if(At(e)?(d=()=>e.value,f=fu(e)):Oo(e)?(d=()=>u(e),f=!0):Oe(e)?(m=!0,f=e.some(C=>Oo(C)||fu(C)),d=()=>e.map(C=>At(C)?C.value:Oo(C)?u(C):ze(C)?Qo(C,c,2):void s(C))):ze(e)?d=t?()=>Qo(e,c,2):()=>(p&&p(),jr(e,c,3,[g])):(d=yt,s(e)),t&&r){const C=d;d=()=>kl(C())}let v,g=C=>{p=w.onStop=()=>{Qo(C,c,4),p=w.onStop=void 0}};if(Vu){if(g=yt,t?n&&jr(t,c,3,[d(),m?[]:void 0,g]):d(),o!=="sync")return yt;{const C=r_();v=C.__watcherHandles||(C.__watcherHandles=[])}}let b=m?new Array(e.length).fill(gp):gp;const y=()=>{if(w.active&&w.dirty)if(t){const C=w.run();(r||f||(m?C.some((M,S)=>io(M,b[S])):io(C,b)))&&(p&&p(),jr(t,c,3,[C,b===gp?void 0:m&&b[0]===gp?[]:b,g]),b=C)}else w.run()};let _;y.allowRecurse=!!t,o==="sync"?_=y:o==="post"?_=()=>Gn(y,c&&c.suspense):(y.pre=!0,c&&(y.id=c.uid),_=()=>bu(y));const w=new Os(d,yt,_),x=du(),E=()=>{w.stop(),x&&K1(x.effects,w)};return w.onTrack=i,w.onTrigger=l,t?n?y():b=w.run():o==="post"?Gn(w.run.bind(w),c&&c.suspense):w.run(),v&&v.push(E),E}function CV(e,t,n){const r=this.proxy,o=Ye(e)?e.includes(".")?i_(r,e):()=>r[e]:e.bind(r,r);let a;ze(t)?a=t:(a=t.handler,n=t);const i=Vl(this),l=ku(o,a.bind(r),n);return i(),l}function i_(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o0){if(n>=t)return e;n++}if((r=r||new Set).has(e))return e;if(r.add(e),At(e))kl(e.value,t,n,r);else if(Oe(e))for(let o=0;o{kl(o,t,n,r)});else if(lu(e))for(const o in e)kl(e[o],t,n,r);return e}function l_(e){ab(e)&&Le("Do not use built-in directive ids as custom directive id: "+e)}nt=function(e,t){if(dn===null)return Le("withDirectives can only be used inside render functions."),e;const n=Ip(dn)||dn.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),un(()=>{e.isUnmounting=!0}),e}const lo=[Function,Array],hm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lo,onEnter:lo,onAfterEnter:lo,onEnterCancelled:lo,onBeforeLeave:lo,onLeave:lo,onAfterLeave:lo,onLeaveCancelled:lo,onBeforeAppear:lo,onAppear:lo,onAfterAppear:lo,onAppearCancelled:lo},kV={name:"BaseTransition",props:hm,setup(e,{slots:t}){const n=tt(),r=fm();let o;return()=>{const a=t.default&&bp(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){let v=!1;for(const g of a)if(g.type!==nn){if(v){Le(" can only be used on a single element or component. Use for lists.");break}i=g,v=!0}}const l=it(e),{mode:s}=l;if(s&&s!=="in-out"&&s!=="out-in"&&s!=="default"&&Le(`invalid mode: ${s}`),r.isLeaving)return mm(i);const c=u_(i);if(!c)return mm(i);const u=Rs(c,l,r,n);Ol(c,u);const d=n.subTree,p=d&&u_(d);let f=!1;const{getTransitionKey:m}=c.type;if(m){const v=m();o===void 0?o=v:v!==o&&(o=v,f=!0)}if(p&&p.type!==nn&&(!Do(c,p)||f)){const v=Rs(p,l,r,n);if(Ol(p,v),s==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},mm(i);s==="in-out"&&c.type!==nn&&(v.delayLeave=(g,b,y)=>{c_(r,p)[String(p.key)]=p,g[yi]=()=>{b(),g[yi]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},s_=kV;function c_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Rs(e,t,n,r){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:b,onAppearCancelled:y}=t,_=String(e.key),w=c_(n,e),x=(M,S)=>{M&&jr(M,r,9,S)},E=(M,S)=>{const k=S[1];x(M,S),Oe(M)?M.every(D=>D.length<=1)&&k():M.length<=1&&k()},C={mode:a,persisted:i,beforeEnter(M){let S=l;if(!n.isMounted){if(!o)return;S=v||l}M[yi]&&M[yi](!0);const k=w[_];k&&Do(e,k)&&k.el[yi]&&k.el[yi](),x(S,[M])},enter(M){let S=s,k=c,D=u;if(!n.isMounted){if(!o)return;S=g||s,k=b||c,D=y||u}let A=!1;const T=M[yp]=P=>{A||(A=!0,x(P?D:k,[M]),C.delayedLeave&&C.delayedLeave(),M[yp]=void 0)};S?E(S,[M,T]):T()},leave(M,S){const k=String(e.key);if(M[yp]&&M[yp](!0),n.isUnmounting)return S();x(d,[M]);let D=!1;const A=M[yi]=T=>{D||(D=!0,S(),x(T?m:f,[M]),M[yi]=void 0,w[k]===e&&delete w[k])};w[k]=e,p?E(p,[M,A]):A()},clone:M=>Rs(M,t,n,r)};return C}function mm(e){if(Ll(e))return(e=Hr(e)).children=null,e}function u_(e){return Ll(e)?e.component?e.component.subTree:e.children?e.children[0]:void 0:e}function Ol(e,t){6&e.shapeFlag&&e.component?Ol(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bp(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;aWt({name:e.name},t,{setup:e}))():e};const Tl=e=>!!e.type.__asyncLoader;F2=function(e){ze(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:a,suspensible:i=!0,onError:l}=e;let s,c=null,u=0;const d=()=>{let p;return c||(p=c=t().catch(f=>{if(f=f instanceof Error?f:new Error(String(f)),l)return new Promise((m,v)=>{l(f,()=>m((u++,c=null,d())),()=>v(f),u+1)});throw f}).then(f=>{if(p!==c&&c)return c;if(f||Le("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),f&&(f.__esModule||f[Symbol.toStringTag]==="Module")&&(f=f.default),f&&!rt(f)&&!ze(f))throw new Error(`Invalid async component load result: ${f}`);return s=f,f}))};return ce({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return s},setup(){const p=mn;if(s)return()=>vm(s,p);const f=b=>{c=null,mi(b,p,13,!r)};if(i&&p.suspense||Vu)return d().then(b=>()=>vm(b,p)).catch(b=>(f(b),()=>r?te(r,{error:b}):null));const m=j(!1),v=j(),g=j(!!o);return o&&setTimeout(()=>{g.value=!1},o),a!=null&&setTimeout(()=>{if(!m.value&&!v.value){const b=new Error(`Async component timed out after ${a}ms.`);f(b),v.value=b}},a),d().then(()=>{m.value=!0,p.parent&&Ll(p.parent.vnode)&&(p.parent.effect.dirty=!0,bu(p.parent.update))}).catch(b=>{f(b),v.value=b}),()=>m.value&&s?vm(s,p):v.value&&r?te(r,{error:v.value}):n&&!g.value?te(n):void 0}})};function vm(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,i=te(e,r,o);return i.ref=n,i.ce=a,delete t.vnode.ce,i}let Ll,d_;Ll=e=>e.type.__isKeepAlive,d_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=tt(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,a=new Set;let i=null;n.__v_cache=o;const l=n.suspense,{renderer:{p:s,m:c,um:u,o:{createElement:d}}}=r,p=d("div");function f(y){ym(y),u(y,n,l,!0)}function m(y){o.forEach((_,w)=>{const x=Pu(_.type);!x||y&&y(x)||v(w)})}function v(y){const _=o.get(y);i&&Do(_,i)?i&&ym(i):f(_),o.delete(y),a.delete(y)}r.activate=(y,_,w,x,E)=>{const C=y.component;c(y,_,w,0,l),s(C.vnode,y,_,w,C,l,x,y.slotScopeIds,E),Gn(()=>{C.isDeactivated=!1,C.a&&Aa(C.a);const M=y.props&&y.props.onVnodeMounted;M&&Or(M,C.parent,y)},l),am(C)},r.deactivate=y=>{const _=y.component;c(y,p,null,1,l),Gn(()=>{_.da&&Aa(_.da);const w=y.props&&y.props.onVnodeUnmounted;w&&Or(w,_.parent,y),_.isDeactivated=!0},l),am(_)},Ae(()=>[e.include,e.exclude],([y,_])=>{y&&m(w=>Ou(y,w)),_&&m(w=>!Ou(_,w))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&o.set(g,bm(n.subTree))};return ut(b),to(b),un(()=>{o.forEach(y=>{const{subTree:_,suspense:w}=n,x=bm(_);if(y.type!==x.type||y.key!==x.key)f(y);else{ym(x);const E=x.component.da;E&&Gn(E,w)}})}),()=>{if(g=null,!t.default)return null;const y=t.default(),_=y[0];if(y.length>1)return Le("KeepAlive should contain exactly one component child."),i=null,y;if(!(Zt(_)&&(4&_.shapeFlag||128&_.shapeFlag)))return i=null,_;let w=bm(_);const x=w.type,E=Pu(Tl(w)?w.type.__asyncResolved||{}:x),{include:C,exclude:M,max:S}=e;if(C&&(!E||!Ou(C,E))||M&&E&&Ou(M,E))return i=w,_;const k=w.key==null?x:w.key,D=o.get(k);return w.el&&(w=Hr(w),128&_.shapeFlag&&(_.ssContent=w)),g=k,D?(w.el=D.el,w.component=D.component,w.transition&&Ol(w,w.transition),w.shapeFlag|=512,a.delete(k),a.add(k)):(a.add(k),S&&a.size>parseInt(S,10)&&v(a.values().next().value)),w.shapeFlag|=256,i=w,Zb(_.type)?_:w}}},o8=d_;function Ou(e,t){return Oe(e)?e.some(n=>Ou(n,t)):Ye(e)?e.split(",").includes(t):_l(e)==="[object RegExp]"&&e.test(t)}E2=function(e,t){p_(e,"a",t)};function gm(e,t){p_(e,"da",t)}function p_(e,t,n=mn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(_p(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ll(o.parent.vnode)&&OV(r,t,n,o),o=o.parent}}function OV(e,t,n,r){const o=_p(t,e,r,!0);Co(()=>{K1(r[t],o)},n)}function ym(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function bm(e){return 128&e.shapeFlag?e.ssContent:e}function _p(e,t,n=mn,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;pi();const l=Vl(n),s=jr(t,n,e,i);return l(),fi(),s});return r?o.unshift(a):o.push(a),a}Le(`${Jo(cp[e].replace(/ hook$/,""))} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}let na,Tu,_m,Am,wm;na=e=>(t,n=mn)=>(!Vu||e==="sp")&&_p(e,(...r)=>t(...r),n),bs=na("bm"),ut=na("m"),Tu=na("bu"),to=na("u"),un=na("bum"),Co=na("um"),_m=na("sp"),Am=na("rtg"),wm=na("rtc");function f_(e,t=mn){_p("ec",e,t)}Tt=function(e,t,n,r){let o;const a=n&&n[r];if(Oe(e)||Ye(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,a&&a[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,s=i.length;l{const a=r.fn(...o);return a&&(a.key=r.key),a}:r.fn)}return e},Ve=function(e,t,n={},r,o){if(dn.isCE||dn.parent&&Tl(dn.parent)&&dn.parent.isCE)return t!=="default"&&(n.name=t),te("slot",n,r&&r());let a=e[t];a&&a.length>1&&(Le("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),a=()=>[]),a&&a._c&&(a._d=!1),F();const i=a&&h_(a(n)),l=be(Ue,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l};function h_(e){return e.some(t=>!Zt(t)||t.type!==nn&&!(t.type===Ue&&!h_(t.children)))?e:null}function m_(e,t){const n={};if(!rt(e))return Le("v-on with no argument expects an object value."),n;for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Jo(r)]=e[r];return n}const Em=e=>e?Y_(e)?Ip(e)||e.proxy:Em(e.parent):null,Dl=Wt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>xl(e.props),$attrs:e=>xl(e.attrs),$slots:e=>xl(e.slots),$refs:e=>xl(e.refs),$parent:e=>Em(e.parent),$root:e=>Em(e.root),$emit:e=>e.emit,$options:e=>km(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,bu(e.update)}),$nextTick:e=>e.n||(e.n=Ne.bind(e.proxy)),$watch:e=>CV.bind(e)}),xm=e=>e==="_"||e==="$",Sm=(e,t)=>e!==Ut&&!e.__isScriptSetup&&st(e,t),Ap={get({_:e},t){const{ctx:n,setupState:r,data:o,props:a,accessCache:i,type:l,appContext:s}=e;if(t==="__isVue")return!0;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(Sm(r,t))return i[t]=1,r[t];if(o!==Ut&&st(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&st(c,t))return i[t]=3,a[t];if(n!==Ut&&st(n,t))return i[t]=4,n[t];Cm&&(i[t]=0)}}const u=Dl[t];let d,p;return u?(t==="$attrs"?(er(e,"get",t),fp()):t==="$slots"&&er(e,"get",t),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==Ut&&st(n,t)?(i[t]=4,n[t]):(p=s.config.globalProperties,st(p,t)?p[t]:void(!dn||Ye(t)&&t.indexOf("__v")===0||(o!==Ut&&xm(t[0])&&st(o,t)?Le(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===dn&&Le(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return Sm(o,t)?(o[t]=n,!0):o.__isScriptSetup&&st(o,t)?(Le(`Cannot mutate