let wf,Af,eB,Ev,$r,Sv,Ue,kv,p_,f_,Cv,tB,P,le,Qe,Mt,F,Dt,_e,Ts,Nt,nB,rB,oB,dr,h_,m_,jd,g,zr,G,Mn,xf,Ef,v_,aB,dt,iB,lB,g_,sn,jo,Tv,We,sB,Re,Ne,qe,nn,cB,Zt,y_,jr,Os,bi,Ke,Ov,He,uB,Dv,Sf,kf,b_,dB,__,Hd,w_,ja,pB,A_,fB,hB,bo,mB,vB,Hc,Cf,Iv,at,Tf,et,ke,gB,yB,Qn,kt,bB,Lv,hl,x_,Xe,E_,Of,_o,S_,_B,ml,_i,wo,wB,Ds,k_,Mv,st,AB,xB,C_,EB,SB,Ha,nt,Df,T_,Uc,er,tr,qn,da,qc,kB,Gc,It,ht,Wc,CB,TB,xt,mn,Ud,O_,OB,DB,Ua,zn,nr,pt,Vv,D_,I_,IB,Lt,dn,Pv,Vt,Ho,Et,LB,pr,MB,VB,Hr,jn,PB,RB,qd,If,Kc,qa,ne,vl,io,ut,Rv,NB,fr,Sr,Gd,L_,Gn,gt,M_,FB,BB,$B,V_,P_,lo,zB,jB,HB,R_,N_,Ao,kr,Ur,hr,Is,rr,Ls,vn,Lf,qr,Mf,Nv,Uo,F_,Nn,B_,qt,Wd,wi,UB,qB,GB,$_,Ga,Fv,pa,WB,z_,Ms,Vf,Pf,KB,YB,j_,H_,XB,JB,ZB,Bv,QB,e$,J,t$,Vs,$v,zv,jv,Hv,Uv,qv,U_,n$,r$,o$,a$,i$,Kd,Cr,fa,gl,Rf,Yc,Ps,q_,G_,W_,K_,Y_,X_,J_,Z_,Q_,ha,kn,e9,Gv,l$,t9,Wv,s$,Kv,Yv,Nf,Yd,n9,r9,Xv,so,Ff,o9,a9,i9,Xd,Jd,Xc,c$,Jv,Zv,l9,s9,Qv,Bf,Rs,c9,u$,u9,d$,p$,d9,e3,f$,p9,f9,h$,m$,v$,g$,Zd,h9,t3,m9,y$,b$,_$,Ns,qo,ma,v9,Qd,w$,$f,g9,A$,n3,x$,E$,y9,S$,b9,_9,w9,A9,Fs,zf,x9,E9,r3,ft,E,ae,yl,o3,a3,S9,tt,Gr,H,k9,Gt,B,C9,Be,T9,Ft,he,we,Je,O9,wde=(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 I9=Object.freeze({left:0,top:0,width:16,height:16}),jf=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ep=Object.freeze({...I9,...jf}),i3=Object.freeze({...ep,body:"",hidden:!1});function L9(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 i3)r in jf?r in e&&!(r in n)&&(n[r]=jf[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function k$(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=L9(r[l]||o[l],a)}return i(t),n.forEach(i),L9(e,a)}function M9(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,k$(e,o,a)),n.push(o))}return n}const tp=/^[a-z0-9]+(-[a-z0-9]+)*$/,Jc=(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&&!Hf(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&&!Hf(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:a};return t&&!Hf(l,n)?null:l}return null},Hf=(e,t)=>!!e&&!(e.provider!==""&&!e.provider.match(tp)||!(t&&e.prefix===""||e.prefix.match(tp))||!e.name.match(tp)),C$={provider:"",aliases:{},not_found:{},...I9};function l3(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function V9(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!l3(e,C$))return null;const n=t.icons;for(const o in n){const a=n[o];if(!o.match(tp)||typeof a.body!="string"||!l3(a,i3))return null}const r=t.aliases||Object.create(null);for(const o in r){const a=r[o],i=a.parent;if(!o.match(tp)||typeof i!="string"||!n[i]&&!r[i]||!l3(a,i3))return null}return t}const Uf=Object.create(null);function Wa(e,t){const n=Uf[e]||(Uf[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 s3(e,t){return V9(t)?M9(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}let np=!1;function rp(e){const t=typeof e=="string"?Jc(e,!0,np):e;if(t){const n=Wa(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function P9(e,t){const n=Jc(e,!0,np);return n?function(r,o,a){try{if(typeof a.body=="string")return r.icons[o]={...a},!0}catch{}return!1}(Wa(n.provider,n.prefix),n.name,t):!1}function R9(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),np&&!t&&!e.prefix){let r=!1;return V9(e)&&(e.prefix="",M9(e,(o,a)=>{a&&P9(o,a)&&(r=!0)})),r}const n=e.prefix;return Hf({provider:t,prefix:n,name:"a"})?!!s3(Wa(t,n),e):!1}const N9=Object.freeze({width:null,height:null}),F9=Object.freeze({...N9,...jf}),T$=/(-?[0-9.]*[0-9]+[0-9.]*)/g,O$=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function c3(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(T$);if(r===null||!r.length)return e;const o=[];let a=r.shift(),i=O$.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 D$=e=>e==="unset"||e==="undefined"||e==="none";function qf(e,t){const n={...ep,...e},r={...F9,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(h=>{const m=[],v=h.hFlip,b=h.vFlip;let y,_=h.rotate;switch(v?b?_+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):b&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0),_<0&&(_-=4*Math.floor(_/4)),_%=4,_){case 1:y=o.height/2+o.top,m.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,m.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)),m.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=c3(d,s/c)):(u=i==="auto"?s:i,d=l===null?c3(u,c/s):l==="auto"?c:l);const p={},f=(h,m)=>{D$(m)||(p[h]=m.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 I$=/\sid="(\S+)"/g,L$="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let M$=0;function B9(e,t=L$){const n=[];let r;for(;r=I$.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+(M$++).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 Bs={local:!0,session:!0},$9={local:new Set,session:new Set};let u3=!1;const z9="iconify2",op="iconify",j9=op+"-count",H9=op+"-version",U9=36e5,V$=168;function d3(e,t){try{return e.getItem(t)}catch{}}function p3(e,t,n){try{return e.setItem(t,n),!0}catch{}}function q9(e,t){try{e.removeItem(t)}catch{}}function f3(e,t){return p3(e,j9,t.toString())}function h3(e){return parseInt(d3(e,j9))||0}let Gf=typeof window>"u"?{}:window;function G9(e){const t=e+"Storage";try{if(Gf&&Gf[t]&&typeof Gf[t].length=="number")return Gf[t]}catch{}Bs[e]=!1}function W9(e,t){const n=G9(e);if(!n)return;const r=d3(n,H9);if(r!==z9){if(r){const l=h3(n);for(let s=0;s{const s=op+l.toString(),c=d3(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{}q9(n,s)}};let i=h3(n);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,f3(n,i)):$9[e].add(l))}function K9(){if(!u3){u3=!0;for(const e in Bs)W9(e,t=>{const n=t.data,r=Wa(t.provider,n.prefix);if(!s3(r,n).length)return!1;const o=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,o):o,!0})}}function Y9(e,t){switch(e){case"local":case"session":Bs[e]=t;break;case"all":for(const n in Bs)Bs[n]=t}}const m3=Object.create(null);function X9(e,t){m3[e]=t}function v3(e){return m3[e]||m3[""]}function g3(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 Wf=Object.create(null),Kf=["https://api.simplesvg.com","https://api.unisvg.com"],y3=[];for(;Kf.length>0;)Kf.length===1||Math.random()>.5?y3.push(Kf.shift()):y3.push(Kf.pop());function J9(e,t){const n=g3(t);return n!==null&&(Wf[e]=n,!0)}function Yf(e){return Wf[e]}Wf[""]=g3({resources:["https://api.iconify.design"].concat(y3)});let Xf=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();const P$={prepare:(e,t,n)=>{const r=[],o=function(s,c){const u=Yf(s);if(!u)return 0;let d;if(u.maxURL){let p=0;u.resources.forEach(h=>{p=Math.max(p,h.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(!Xf)return void n("abort",424);let r=function(a){if(typeof a=="string"){const i=Yf(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;Xf(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 Z9(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}let R$=0;var N$={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function F$(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 h(){d&&(clearTimeout(d),d=null)}function m(){c==="pending"&&(c="aborted"),h(),p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function v(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;h();const w=i.shift();if(w===void 0)return p.length?void(d=setTimeout(()=>{h(),c==="pending"&&(y(),b())},e.timeout)):void b();const x={status:"pending",resource:w,callback:(A,O)=>{(function(C,k,T){const D=k!=="success";switch(p=p.filter(S=>S!==C),c){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(k==="abort")return s=T,void b();if(D)return s=T,void(p.length||(i.length?_():b()));if(h(),y(),!e.random){const S=e.resources.indexOf(C.resource);S!==-1&&S!==e.index&&(e.index=S)}c="completed",f.forEach(S=>{S(T)})})(x,A,O)}};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:v,abort:m}}}function Q9(e){const t={...N$,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}return{query:function(a,i,l){const s=F$(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 e7(){}const b3=Object.create(null);function t7(e,t,n){let r,o;if(typeof e=="string"){const a=v3(e);if(!a)return n(void 0,424),e7;o=a.send;const i=function(l){if(!b3[l]){const s=Yf(l);if(!s)return;const c={config:s,redundancy:Q9(s)};b3[l]=c}return b3[l]}(e);i&&(r=i.redundancy)}else{const a=g3(e);if(a){r=Q9(a);const i=v3(e.resources?e.resources[0]:"");i&&(o=i.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),e7)}function B$(e,t){function n(r){let o;if(!Bs[r]||!(o=G9(r)))return;const a=$9[r];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=h3(o),!f3(o,i+1))return;const l={cached:Math.floor(Date.now()/U9),provider:e.provider,data:t};return p3(o,op+i.toString(),JSON.stringify(l))}u3||K9(),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 Bs)W9(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 n7(){}function $$(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||Z9([t],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}(e)}))}const z$=e=>{const t=Wa(e.provider,e.prefix).pendingIcons;return!(!t||!t.has(e.name))},_3=(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,h=p.prefix,m=p.name,v=u[f]||(u[f]=Object.create(null)),b=v[h]||(v[h]=Wa(f,h));let y;y=m in b.icons?c.loaded:h===""||b.missing.has(m)?c.missing:c.pending;const _={provider:f,prefix:h,name:m};y.push(_)}),c}(function(s,c=!0,u=!1){const d=[];return s.forEach(p=>{const f=typeof p=="string"?Jc(p,c,u):p;f&&d.push(f)}),d}(e,!0,(typeof n=="boolean"&&(np=n),np)));if(!r.pending.length){let s=!0;return t&&setTimeout(()=>{s&&t(r.loaded,r.missing,r.pending,n7)}),()=>{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(Wa(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=Wa(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:h}=d,m=d.iconsToLoad;let v;delete d.iconsToLoad,m&&(v=v3(f))&&v.prepare(f,h,m).forEach(b=>{t7(f,b,y=>{if(typeof y!="object")b.icons.forEach(_=>{d.missing.add(_)});else try{const _=s3(d,y);if(!_.length)return;const w=d.pendingIcons;w&&_.forEach(x=>{w.delete(x)}),B$(d,y)}catch(_){console.error(_)}$$(d)})})}))}(s,o[c][u])}),t?function(s,c,u){const d=R$++,p=Z9.bind(null,u,d);if(!c.pending.length)return p;const f={id:d,icons:c,callback:s,abort:p};return u.forEach(h=>{(h.loaderCallbacks||(h.loaderCallbacks=[])).push(f)}),p}(t,r,a):n7};function r7(e,t){const n={...e};for(const r in t){const o=t[r],a=typeof o;r in N9?(o===null||o&&(a==="string"||a==="number"))&&(n[r]=o):a===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Jf={...F9,inline:!1},w3="iconify",A3="iconify-inline",bl="iconifyData"+Date.now();let $s=[];function ap(e){for(let t=0;t<$s.length;t++){const n=$s[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function o7(e,t=!1){let n=ap(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},$s.push(n),n)}function ip(){return $s}let lp=null;const j$={childList:!0,subtree:!0,attributes:!0};function a7(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,lp&&lp(e)}))}function H$(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r0||o.type==="attributes"&&o.target[bl]!==void 0)return void(n.paused||a7(e))}}function i7(e,t){e.observer.instance.observe(t,j$)}function Zf(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(H$.bind(null,e)),i7(e,n),t.paused||a7(e))}function l7(){ip().forEach(Zf)}function s7(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 U$(e){const t=lp!==null;lp!==e&&(lp=e,t&&ip().forEach(s7)),t?l7():function(n){const r=document;r.readyState&&r.readyState!=="loading"?n():r.addEventListener("DOMContentLoaded",n)}(l7)}function x3(e){(e?[e]:ip()).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 E3(e){(e?[e]:ip()).forEach(t=>{if(!t.observer)return void Zf(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?i7(t,r):Zf(t)}})}function c7(e,t=!1){const n=o7(e,t);return Zf(n),n}function u7(e){const t=ap(e);t&&(s7(t),function(n){$s=$s.filter(r=>n!==r&&n!==(typeof r.node=="function"?r.node():r.node))}(e))}const q$=/[\s,]+/,G$=["width","height"],W$=["inline","hFlip","vFlip"];function K$(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&Jc(t,!0);if(!n)return null;const r={...Jf,inline:e.classList&&e.classList.contains(A3)};G$.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(q$).forEach(c=>{switch(c.trim()){case"horizontal":l.hFlip=!0;break;case"vertical":l.vFlip=!0}})}(r,a),W$.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 Y$="svg."+w3+", i."+w3+", span."+w3+", i."+A3+", span."+A3;function d7(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'"}let sp;function X$(e){return sp===void 0&&function(){try{sp=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch{sp=null}}(),sp?sp.createHTML(e):e}function p7(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function f7(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 h7(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 m7(e,t,n){let r;try{r=document.createElement("span")}catch{return e}const o=t.customisations,a=qf(n,o),i=e[bl],l=d7(B9(a.body),{"aria-hidden":"true",role:"img",...a.attributes});r.innerHTML=X$(l);const s=r.childNodes[0],c=e.attributes;for(let f=0;f{Qf&&(Qf=!1,Zc())}))}function Zc(e,t=!1){const n=Object.create(null);function r(o,a){const{provider:i,prefix:l,name:s}=o,c=Wa(i,l),u=c.icons[s];if(u)return{status:"loaded",icon:u};if(c.missing.has(s))return{status:"missing"};if(a&&!z$(o)){const d=n[i]||(n[i]=Object.create(null));(d[l]||(d[l]=new Set)).add(s)}return{status:"loading"}}(e?[e]:ip()).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,x3(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(h,m,v,b){const y=m.customisations,_=qf(v,y),w=_.attributes,x=h[bl],A=d7(_.body,{...w,width:v.width+"",height:v.height+""}),O=f7(h,p7(m.icon),new Set(x&&x.addedClasses)),C=function(S){return'url("'+function(L){return"data:image/svg+xml,"+function(N){return N.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}(L)}(S)+'")'}(A),k={"--svg":C,width:b7(w.width),height:b7(w.height),...J$,...b?S3:v7};y.inline&&(k["vertical-align"]="-0.125em");const T=h7(h,k,x&&x.addedStyles),D={...m,status:"loaded",addedClasses:O,addedStyles:T};h[bl]=D}(c,u,{...ep,...d},f)}m7(c,u,d)}(function(c){const u=[];return c.querySelectorAll(Y$).forEach(d=>{const p=d[bl]||d.tagName.toLowerCase()!=="svg"?K$(d):null;p&&u.push({node:d,props:p})}),u})(a).forEach(({node:c,props:u})=>{const d=c[bl];if(!d){const{status:f,icon:h}=r(u.icon,!0);return h?void s(c,u,h):(i=i||f==="loading",void(c[bl]={...u,status:f}))}let p;if(function(f,h){if(f.name!==h.name||f.mode!==h.mode)return!0;const m=f.customisations,v=h.customisations;for(const b in Jf)if(m[b]!==v[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?u7(a):t&&i?c7(a,!0):l&&o.observer&&E3(o)});for(const o in n){const a=n[o];for(const i in a){const l=a[i];_3(Array.from(l).map(s=>({provider:o,prefix:i,name:s})),Z$)}}}function _7(e,t,n=!1){const r=rp(e);if(!r)return null;const o=Jc(e),a=r7(Jf,t||{}),i=m7(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 o7(document.documentElement);$s.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"||!R9(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{U$(Zc),Zc()})}if(X9("",P$),typeof document<"u"&&typeof window<"u"){K9();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;J9(n,o)||console.error(r)}catch{console.error(r)}}}}const k3={_api:{getAPIConfig:Yf,setAPIModule:X9,sendAPIQuery:t7,setFetch:function(e){Xf=e},getFetch:function(){return Xf},listAPIProviders:function(){return Object.keys(Wf)}},addAPIProvider:J9,loadIcons:_3,loadIcon:e=>new Promise((t,n)=>{const r=typeof e=="string"?Jc(e,!0):e;r?_3([r||e],o=>{if(o.length&&r){const a=rp(r);if(a)return void t({...ep,...a})}n(e)}):n(e)}),iconExists:function(e){return!!rp(e)},getIcon:function(e){const t=rp(e);return t?{...ep,...t}:null},listIcons:function(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(Uf)).forEach(r=>{(typeof r=="string"&&typeof t=="string"?[t]:Object.keys(Uf[r]||{})).forEach(o=>{const a=Wa(r,o);n=n.concat(Object.keys(a.icons).map(i=>(r!==""?"@"+r+":":"")+o+":"+i))})}),n},addIcon:P9,addCollection:R9,replaceIDs:B9,calculateSize:c3,buildIcon:qf,getVersion:function(){return"3.1.1"},renderSVG:function(e,t){return _7(e,t,!1)},renderHTML:function(e,t){return _7(e,t,!0)},renderIcon:function(e,t){const n=rp(e);return n?qf(n,r7(Jf,t||{})):null},scan:function(e){e?function(t){const n=ap(t);n?Zc(n):Zc({node:t,temporary:!0},!0)}(e):Zc()},observe:c7,stopObserving:u7,pauseObserver:function(e){if(e){const t=ap(e);t&&x3(t)}else x3()},resumeObserver:function(e){if(e){const t=ap(e);t&&E3(t)}else E3()},enableCache:function(e,t){Y9(e,t!==!1)},disableCache:function(e){Y9(e,!0)}};try{self.Iconify===void 0&&(self.Iconify=k3)}catch{}const w7=k3.default||k3;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":{"w3":{"body":"","width":464,"height":448}}},{"prefix":"et","width":32,"height":32,"icons":{"document":{"body":"","width":24}}},{"prefix":"map","width":50,"height":50,"icons":{}},{"prefix":"bx","width":24,"height":24,"icons":{}},{"prefix":"ri","width":24,"height":24,"icons":{"refund-2-line":{"body":""}}},{"prefix":"bpmn","width":2048,"height":2048,"icons":{}},{"prefix":"ic","width":24,"height":24,"icons":{"round-drag-indicator":{"body":""},"round-view-carousel":{"body":""}}},{"prefix":"ph","width":256,"height":256,"icons":{"article-medium":{"body":""},"function":{"body":""}}},{"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":"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},"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":"fe","width":24,"height":24,"icons":{}},{"prefix":"geo","width":100,"height":100,"icons":{}},{"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":"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":"la","width":32,"height":32,"icons":{}},{"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":"icon-park-outline","width":48,"height":48,"icons":{"peoples":{"body":""},"transaction-order":{"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":"mi","width":24,"height":24,"icons":{}},{"prefix":"gg","width":24,"height":24,"icons":{}},{"prefix":"uit","width":24,"height":24,"icons":{}},{"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":"vaadin","icons":{"arrows-long-h":{"body":""},"arrows-long-v":{"body":""},"line-h":{"body":""},"money-withdraw":{"body":""},"padding":{"body":""}}},{"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":"entypo","width":20,"height":20,"icons":{"progress-empty":{"body":""}}},{"prefix":"iconoir","width":24,"height":24,"icons":{"input-search":{"body":""}}},{"prefix":"icon-park","width":48,"height":48,"icons":{"income":{"body":""},"income-one":{"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=>w7.addCollection(e));let C3;C3={},F=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 C3)return;C3[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})},o9=(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)))})},V_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},lo=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e},Jd=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 xo={};const A7=typeof window<"u";let x7,E7;{const e=A7&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(x7=t=>{e.mark(t)},E7=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Q$=/\{([0-9a-zA-Z]+)\}/g,S7=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ez=Object.assign;let k7;const tz=Object.prototype.hasOwnProperty,T3=Array.isArray,O3=e=>typeof e=="function",cp=e=>e!==null&&typeof e=="object",D3=Object.prototype.toString,I3=e=>D3.call(e),L3=e=>{if(!cp(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function C7(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const T7={},e0=e=>!cp(e)||T3(e),nz=Object.freeze(Object.defineProperty({__proto__:null,assign:ez,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(e0(e)||e0(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=>{e0(r[a])||e0(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&&cp(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(Q$,(n,r)=>t.hasOwnProperty(r)?t[r]:"")},friendlyJSONstringify:S7,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)=>S7({l:e,k:t,s:n}),getGlobalThis:()=>k7||(k7=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),hasOwn:function(e,t){return tz.call(e,t)},inBrowser:A7,incrementer:function(e){let t=e;return()=>++t},isArray:T3,isBoolean:e=>typeof e=="boolean",isDate:e=>I3(e)==="[object Date]",isEmptyObject:e=>L3(e)&&Object.keys(e).length===0,isFunction:O3,isNumber:e=>typeof e=="number"&&isFinite(e),isObject:cp,isPlainObject:L3,isPromise:e=>cp(e)&&O3(e.then)&&O3(e.catch),isRegExp:e=>I3(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 x7},get measure(){return E7},objectToString:D3,toDisplayString:e=>e==null?"":T3(e)||L3(e)&&e.toString===D3?JSON.stringify(e,null,2):String(e),toTypeString:I3,warn:C7,warnOnce:function(e){T7[e]||(T7[e]=!0,C7(e))}},Symbol.toStringTag,{value:"Module"})),rz=Jd(nz),zs=typeof window<"u";let Eo,js;{const e=zs&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Eo=t=>{e.mark(t)},js=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const oz=/\{([0-9a-zA-Z]+)\}/g;function M3(e,...t){return t.length===1&&Kn(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(oz,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const az=(e,t,n)=>iz({l:e,k:t,s:n}),iz=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),So=e=>typeof e=="number"&&isFinite(e),lz=e=>L7(e)==="[object Date]",O7=e=>L7(e)==="[object RegExp]",V3=e=>Cn(e)&&Object.keys(e).length===0,_l=Object.assign;function D7(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Ka=Array.isArray,Wn=e=>typeof e=="function",Ct=e=>typeof e=="string",Wr=e=>typeof e=="boolean",Kn=e=>e!==null&&typeof e=="object",sz=e=>Kn(e)&&Wn(e.then)&&Wn(e.catch),I7=Object.prototype.toString,L7=e=>I7.call(e),Cn=e=>{if(!Kn(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function P3(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const M7=2;function up(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const V7={};function R3(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const _t={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},cz={[_t.EXPECTED_TOKEN]:"Expected token: '{0}'",[_t.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[_t.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[_t.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[_t.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[_t.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[_t.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[_t.EMPTY_PLACEHOLDER]:"Empty placeholder",[_t.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[_t.INVALID_LINKED_FORMAT]:"Invalid linked format",[_t.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[_t.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[_t.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[_t.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[_t.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[_t.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Qc(e,t,n={}){const{domain:r,messages:o,args:a}=n,i=M3((o||cz)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function uz(e){throw e}const dz=/<\/?[\w\s="/.':;#-\/]+>/,pz=e=>dz.test(e),Ai=" ",fz="\r",Kr=`
`,hz=String.fromCharCode(8232),mz=String.fromCharCode(8233);function vz(e){const t=e;let n=0,r=1,o=1,a=0;const i=p=>t[p]===fz&&t[p+1]===Kr,l=p=>t[p]===mz,s=p=>t[p]===hz,c=p=>i(p)||(f=>t[f]===Kr)(p)||l(p)||s(p),u=p=>i(p)||l(p)||s(p)?Kr: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 wl=void 0,gz=".",P7="'",yz="tokenizer";function bz(e,t={}){const n=t.location!==!1,r=vz(e),o=()=>r.index(),a=()=>function(I,R,U){return{line:I,column:R,offset:U}}(r.line(),r.column(),r.index()),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(I,R,U,...q){const j=c();if(R.column+=U,R.offset+=U,u){const $=Qc(I,n?R3(j.startLoc,R):null,{domain:yz,args:q});u($)}}function p(I,R,U){I.endLoc=a(),I.currentType=R;const q={type:R};return n&&(q.loc=R3(I.startLoc,I.endLoc)),U!=null&&(q.value=U),q}const f=I=>p(I,14);function h(I,R){return I.currentChar()===R?(I.next(),R):(d(_t.EXPECTED_TOKEN,a(),0,R),"")}function m(I){let R="";for(;I.currentPeek()===Ai||I.currentPeek()===Kr;)R+=I.currentPeek(),I.peek();return R}function v(I){const R=m(I);return I.skipToPeek(),R}function b(I){if(I===wl)return!1;const R=I.charCodeAt(0);return R>=97&&R<=122||R>=65&&R<=90||R===95}function y(I,R){const{currentType:U}=R;if(U!==2)return!1;m(I);const q=function(j){if(j===wl)return!1;const $=j.charCodeAt(0);return $>=48&&$<=57}(I.currentPeek()==="-"?I.peek():I.currentPeek());return I.resetPeek(),q}function _(I){m(I);const R=I.currentPeek()==="|";return I.resetPeek(),R}function w(I,R=!0){const U=(j=!1,$="",z=!1)=>{const W=I.currentPeek();return W==="{"?$!=="%"&&j:W!=="@"&&W?W==="%"?(I.peek(),U(j,"%",!0)):W==="|"?!($!=="%"&&!z)||!($===Ai||$===Kr):W===Ai?(I.peek(),U(!0,Ai,z)):W!==Kr||(I.peek(),U(!0,Kr,z)):$==="%"||j},q=U();return R&&I.resetPeek(),q}function x(I,R){const U=I.currentChar();return U===wl?wl:R(U)?(I.next(),U):null}function A(I){return x(I,R=>{const U=R.charCodeAt(0);return U>=97&&U<=122||U>=65&&U<=90||U>=48&&U<=57||U===95||U===36})}function O(I){return x(I,R=>{const U=R.charCodeAt(0);return U>=48&&U<=57})}function C(I){return x(I,R=>{const U=R.charCodeAt(0);return U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102})}function k(I){let R="",U="";for(;R=O(I);)U+=R;return U}function T(I){let R="";for(;;){const U=I.currentChar();if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U==="%"){if(!w(I))break;R+=U,I.next()}else if(U===Ai||U===Kr)if(w(I))R+=U,I.next();else{if(_(I))break;R+=U,I.next()}else R+=U,I.next()}return R}function D(I){const R=I.currentChar();switch(R){case"\\":case"'":return I.next(),`\\${R}`;case"u":return S(I,R,4);case"U":return S(I,R,6);default:return d(_t.UNKNOWN_ESCAPE_SEQUENCE,a(),0,R),""}}function S(I,R,U){h(I,R);let q="";for(let j=0;j=1&&d(_t.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),I.next(),U=p(R,2,"{"),v(I),R.braceNest++,U;case"}":return R.braceNest>0&&R.currentType===2&&d(_t.EMPTY_PLACEHOLDER,a(),0),I.next(),U=p(R,3,"}"),R.braceNest--,R.braceNest>0&&v(I),R.inLinked&&R.braceNest===0&&(R.inLinked=!1),U;case"@":return R.braceNest>0&&d(_t.UNTERMINATED_CLOSING_BRACE,a(),0),U=V(I,R)||f(R),R.braceNest=0,U;default:let q=!0,j=!0,$=!0;if(_(I))return R.braceNest>0&&d(_t.UNTERMINATED_CLOSING_BRACE,a(),0),U=p(R,1,L(I)),R.braceNest=0,R.inLinked=!1,U;if(R.braceNest>0&&(R.currentType===5||R.currentType===6||R.currentType===7))return d(_t.UNTERMINATED_CLOSING_BRACE,a(),0),R.braceNest=0,M(I,R);if(q=function(z,W){const{currentType:K}=W;if(K!==2)return!1;m(z);const re=b(z.currentPeek());return z.resetPeek(),re}(I,R))return U=p(R,5,function(z){v(z);let W="",K="";for(;W=A(z);)K+=W;return z.currentChar()===wl&&d(_t.UNTERMINATED_CLOSING_BRACE,a(),0),K}(I)),v(I),U;if(j=y(I,R))return U=p(R,6,function(z){v(z);let W="";return z.currentChar()==="-"?(z.next(),W+=`-${k(z)}`):W+=k(z),z.currentChar()===wl&&d(_t.UNTERMINATED_CLOSING_BRACE,a(),0),W}(I)),v(I),U;if($=function(z,W){const{currentType:K}=W;if(K!==2)return!1;m(z);const re=z.currentPeek()===P7;return z.resetPeek(),re}(I,R))return U=p(R,7,function(z){v(z),h(z,"'");let W="",K="";const re=ie=>ie!==P7&&ie!==Kr;for(;W=x(z,re);)K+=W==="\\"?D(z):W;const ce=z.currentChar();return ce===Kr||ce===wl?(d(_t.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),ce===Kr&&(z.next(),h(z,"'")),K):(h(z,"'"),K)}(I)),v(I),U;if(!q&&!j&&!$)return U=p(R,13,function(z){v(z);let W="",K="";const re=ce=>ce!=="{"&&ce!=="}"&&ce!==Ai&&ce!==Kr;for(;W=x(z,re);)K+=W;return K}(I)),d(_t.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,U.value),v(I),U}return U}function V(I,R){const{currentType:U}=R;let q=null;const j=I.currentChar();switch(U!==8&&U!==9&&U!==12&&U!==10||j!==Kr&&j!==Ai||d(_t.INVALID_LINKED_FORMAT,a(),0),j){case"@":return I.next(),q=p(R,8,"@"),R.inLinked=!0,q;case".":return v(I),I.next(),p(R,9,".");case":":return v(I),I.next(),p(R,10,":");default:return _(I)?(q=p(R,1,L(I)),R.braceNest=0,R.inLinked=!1,q):function($,z){const{currentType:W}=z;if(W!==8)return!1;m($);const K=$.currentPeek()===".";return $.resetPeek(),K}(I,R)||function($,z){const{currentType:W}=z;if(W!==8&&W!==12)return!1;m($);const K=$.currentPeek()===":";return $.resetPeek(),K}(I,R)?(v(I),V(I,R)):function($,z){const{currentType:W}=z;if(W!==9)return!1;m($);const K=b($.currentPeek());return $.resetPeek(),K}(I,R)?(v(I),p(R,12,function($){let z="",W="";for(;z=A($);)W+=z;return W}(I))):function($,z){const{currentType:W}=z;if(W!==10)return!1;const K=()=>{const ce=$.currentPeek();return ce==="{"?b($.peek()):!(ce==="@"||ce==="%"||ce==="|"||ce===":"||ce==="."||ce===Ai||!ce)&&(ce===Kr?($.peek(),K()):b(ce))},re=K();return $.resetPeek(),re}(I,R)?(v(I),j==="{"?N(I,R)||q:p(R,11,function($){const z=(W=!1,K)=>{const re=$.currentChar();return re!=="{"&&re!=="%"&&re!=="@"&&re!=="|"&&re!=="("&&re!==")"&&re?re===Ai?K:re===Kr||re===gz?(K+=re,$.next(),z(W,K)):(K+=re,$.next(),z(!0,K)):K};return z(!1,"")}(I))):(U===8&&d(_t.INVALID_LINKED_FORMAT,a(),0),R.braceNest=0,R.inLinked=!1,M(I,R))}}function M(I,R){let U={type:14};if(R.braceNest>0)return N(I,R)||f(R);if(R.inLinked)return V(I,R)||f(R);switch(I.currentChar()){case"{":return N(I,R)||f(R);case"}":return d(_t.UNBALANCED_CLOSING_BRACE,a(),0),I.next(),p(R,3,"}");case"@":return V(I,R)||f(R);default:if(_(I))return U=p(R,1,L(I)),R.braceNest=0,R.inLinked=!1,U;const{isModulo:q,hasSpace:j}=function($){const z=m($),W=$.currentPeek()==="%"&&$.peek()==="{";return $.resetPeek(),{isModulo:W,hasSpace:z.length>0}}(I);if(q)return j?p(R,0,T(I)):p(R,4,function($){v($);const z=$.currentChar();return z!=="%"&&d(_t.EXPECTED_TOKEN,a(),0,z),$.next(),"%"}(I));if(w(I))return p(R,0,T(I))}return U}return{nextToken:function(){const{currentType:I,offset:R,startLoc:U,endLoc:q}=s;return s.lastType=I,s.lastOffset=R,s.lastStartLoc=U,s.lastEndLoc=q,s.offset=o(),s.startLoc=a(),r.currentChar()===wl?p(s,14):M(r,s)},currentOffset:o,currentPosition:a,context:c}}const _z="parser",wz=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Az(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 xz(e={}){const t=e.location!==!1,{onError:n}=e;function r(f,h,m,v,...b){const y=f.currentPosition();if(y.offset+=v,y.column+=v,n){const _=Qc(h,t?R3(m,y):null,{domain:_z,args:b});n(_)}}function o(f,h,m){const v={type:f};return t&&(v.start=h,v.end=h,v.loc={start:m,end:m}),v}function a(f,h,m,v){v&&(f.type=v),t&&(f.end=h,f.loc&&(f.loc.end=m))}function i(f,h){const m=f.context(),v=o(3,m.offset,m.startLoc);return v.value=h,a(v,f.currentOffset(),f.currentPosition()),v}function l(f,h){const m=f.context(),{lastOffset:v,lastStartLoc:b}=m,y=o(5,v,b);return y.index=parseInt(h,10),f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function s(f,h){const m=f.context(),{lastOffset:v,lastStartLoc:b}=m,y=o(4,v,b);return y.key=h,f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function c(f,h){const m=f.context(),{lastOffset:v,lastStartLoc:b}=m,y=o(9,v,b);return y.value=h.replace(wz,Az),f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function u(f){const h=f.context(),m=o(6,h.offset,h.startLoc);let v=f.nextToken();if(v.type===9){const b=function(y){const _=y.nextToken(),w=y.context(),{lastOffset:x,lastStartLoc:A}=w,O=o(8,x,A);return _.type!==12?(r(y,_t.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),O.value="",a(O,x,A),{nextConsumeToken:_,node:O}):(_.value==null&&r(y,_t.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Ya(_)),O.value=_.value||"",a(O,y.currentOffset(),y.currentPosition()),{node:O})}(f);m.modifier=b.node,v=b.nextConsumeToken||f.nextToken()}switch(v.type!==10&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(v)),v=f.nextToken(),v.type===2&&(v=f.nextToken()),v.type){case 11:v.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(v)),m.key=function(_,w){const x=_.context(),A=o(7,x.offset,x.startLoc);return A.value=w,a(A,_.currentOffset(),_.currentPosition()),A}(f,v.value||"");break;case 5:v.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(v)),m.key=s(f,v.value||"");break;case 6:v.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(v)),m.key=l(f,v.value||"");break;case 7:v.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(v)),m.key=c(f,v.value||"");break;default:r(f,_t.UNEXPECTED_EMPTY_LINKED_KEY,h.lastStartLoc,0);const b=f.context(),y=o(7,b.offset,b.startLoc);return y.value="",a(y,b.offset,b.startLoc),m.key=y,a(m,b.offset,b.startLoc),{nextConsumeToken:v,node:m}}return a(m,f.currentOffset(),f.currentPosition()),{node:m}}function d(f){const h=f.context(),m=o(2,h.currentType===1?f.currentOffset():h.offset,h.currentType===1?h.endLoc:h.startLoc);m.items=[];let v=null;do{const b=v||f.nextToken();switch(v=null,b.type){case 0:b.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(b)),m.items.push(i(f,b.value||""));break;case 6:b.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(b)),m.items.push(l(f,b.value||""));break;case 5:b.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(b)),m.items.push(s(f,b.value||""));break;case 7:b.value==null&&r(f,_t.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ya(b)),m.items.push(c(f,b.value||""));break;case 8:const y=u(f);m.items.push(y.node),v=y.nextConsumeToken||null}}while(h.currentType!==14&&h.currentType!==1);return a(m,h.currentType===1?h.lastOffset:f.currentOffset(),h.currentType===1?h.lastEndLoc:f.currentPosition()),m}function p(f){const h=f.context(),{offset:m,startLoc:v}=h,b=d(f);return h.currentType===14?b:function(y,_,w,x){const A=y.context();let O=x.items.length===0;const C=o(1,_,w);C.cases=[],C.cases.push(x);do{const k=d(y);O||(O=k.items.length===0),C.cases.push(k)}while(A.currentType!==14);return O&&r(y,_t.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),a(C,y.currentOffset(),y.currentPosition()),C}(f,m,v,b)}return{parse:function(f){const h=bz(f,_l({},e)),m=h.context(),v=o(0,m.offset,m.startLoc);return t&&v.loc&&(v.loc.source=f),v.body=p(h),e.onCacheKey&&(v.cacheKey=e.onCacheKey(f)),m.currentType!==14&&r(h,_t.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,f[m.offset]||""),a(v,h.currentOffset(),h.currentPosition()),v}}}function Ya(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 R7(e,t){for(let n=0;ni,helper:l=>(i.helpers.add(l),l)}}(e);n.helper("normalize"),e.body&&N3(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function N7(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=Ct(t.mode)?t.mode:"normal",r=Ct(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:h,breakLineCode:m,needIndent:v}=p,b=p.location!==!1,y={filename:h,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:m,needIndent:v,indentLevel:0};function _(x,A){y.code+=x}function w(x,A=!0){const O=A?m:"";_(v?O+" ".repeat(x):O)}return b&&d.loc&&(y.source=d.loc.source),{context:()=>y,push:_,indent:function(x=!0){const A=++y.indentLevel;x&&w(A)},deindent:function(x=!0){const A=--y.indentLevel;x&&w(A)},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 { ${P3(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),tu(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 Tz(e,t={}){const n=_l({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null||n.optimize,i=xz(n).parse(e);return r?(a&&function(l){const s=l.body;s.type===2?N7(s):s.cases.forEach(c=>N7(c))}(i),o&&eu(i),{ast:i,code:""}):(Ez(i,n),Cz(i,n))}const Al=[];Al[0]={w:[0],i:[3,0],"[":[4],o:[7]},Al[1]={w:[1],".":[2],"[":[4],o:[7]},Al[2]={w:[2],i:[3,0],0:[3,0]},Al[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Al[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Al[5]={"'":[4,0],o:8,l:[5,0]},Al[6]={'"':[4,0],o:8,l:[6,0]};const Oz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Dz(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 Iz(e){const t=e.trim();return(e.charAt(0)!=="0"||!isNaN(parseInt(e)))&&(n=t,Oz.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 F7(e){const t=[];let n,r,o,a,i,l,s,c=-1,u=0,d=0;const p=[];function f(){const h=e[c+1];if(u===5&&h==="'"||u===6&&h==='"')return c++,o="\\"+h,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=Iz(r),r===!1))return!1;p[1]()}};u!==null;)if(c++,n=e[c],n!=="\\"||!f()){if(a=Dz(n),s=Al[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 B7=new Map;function $7(e,t){return Kn(e)?e[t]:null}const Lz=e=>e,Mz=e=>"",z7="text",Vz=e=>e.length===0?"":P3(e),Pz=e=>e==null?"":Ka(e)||Cn(e)&&e.toString===I7?JSON.stringify(e,null,2):String(e);function j7(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function H7(e={}){const t=e.locale,n=function(d){const p=So(d.pluralIndex)?d.pluralIndex:-1;return d.named&&(So(d.named.count)||So(d.named.n))?So(d.named.count)?d.named.count:So(d.named.n)?d.named.n:p:p}(e),r=Kn(e.pluralRules)&&Ct(t)&&Wn(e.pluralRules[t])?e.pluralRules[t]:j7,o=Kn(e.pluralRules)&&Ct(t)&&Wn(e.pluralRules[t])?j7:void 0,a=e.list||[],i=e.named||{};So(e.pluralIndex)&&function(d,p){p.count||(p.count=d),p.n||(p.n=d)}(n,i);function l(d){return(Wn(e.messages)?e.messages(d):!!Kn(e.messages)&&e.messages[d])||(e.parent?e.parent.message(d):Mz)}const s=Cn(e.processor)&&Wn(e.processor.normalize)?e.processor.normalize:Vz,c=Cn(e.processor)&&Wn(e.processor.interpolate)?e.processor.interpolate:Pz,u={list:d=>a[d],named:d=>i[d],plural:d=>d[r(n,d.length,o)],linked:(d,...p)=>{const[f,h]=p;let m="text",v="";p.length===1?Kn(f)?(v=f.modifier||v,m=f.type||m):Ct(f)&&(v=f||v):p.length===2&&(Ct(f)&&(v=f||v),Ct(h)&&(m=h||m));const b=l(d)(u),y=m==="vnode"&&Ka(b)&&v?b[0]:b;return v?(_=>e.modifiers?e.modifiers[_]:Lz)(v)(y,m):y},message:l,type:Cn(e.processor)&&Ct(e.processor.type)?e.processor.type:z7,interpolate:c,normalize:s,values:_l({},a,i)};return u}let nu=null;function U7(e,t,n){nu&&nu.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const q7=Rz("function:translate");function Rz(e){return t=>nu&&nu.emit(e,t)}const Yr={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},Nz={[Yr.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Yr.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Yr.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Yr.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Yr.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Yr.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Yr.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 xl(e,...t){return M3(Nz[e],...t)}const G7=_t.__EXTEND_POINT__,Hs=function(e){let t=e;return()=>++t}(G7),or={INVALID_ARGUMENT:G7,INVALID_DATE_ARGUMENT:Hs(),INVALID_ISO_DATE_ARGUMENT:Hs(),NOT_SUPPORT_NON_STRING_MESSAGE:Hs(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Hs(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Hs(),NOT_SUPPORT_LOCALE_TYPE:Hs(),__EXTEND_POINT__:Hs()};function va(e){return Qc(e,null,{messages:Fz})}const Fz={[or.INVALID_ARGUMENT]:"Invalid arguments",[or.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[or.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[or.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[or.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[or.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[or.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function t0(e,t){return t.locale!=null?B3(t.locale):B3(e.locale)}let F3;function B3(e){if(Ct(e))return e;if(Wn(e)){if(e.resolvedOnce&&F3!=null)return F3;if(e.constructor.name==="Function"){const t=e();if(sz(t))throw va(or.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return F3=t}throw va(or.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw va(or.NOT_SUPPORT_LOCALE_TYPE)}function W7(e,t,n){return[...new Set([n,...Ka(t)?t:Kn(t)?Object.keys(t):Ct(t)?[t]:[n]])]}function K7(e,t,n){let r=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let J7,Z7,Q7,ew=null;const tw=()=>ew;let nw=null,rw=0;function r0(e,t){return e instanceof RegExp?e.test(t):e}function ow(e,t){return e instanceof RegExp?e.test(t):e}function o0(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 Ct(l)?l:t}return ow(r,t)&&i(xl(Yr.NOT_FOUND_KEY,{key:t,locale:n})),t}function $3(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,aw(n,s)],[]))}return aw(n,o)}(t,e)}function aw(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,z3(e,a)],[]);return e.normalize(r)}}function z3(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(z3(e,l.k||l.key),s?z3(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 zz="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function iw(e,t){t&&pz(e)&&up(M3(zz,{source:e}))}const lw=e=>e;let Us=Object.create(null);const qs=e=>Kn(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function sw(e,t={}){let n=!1;const r=t.onError||uz;return t.onError=o=>{n=!0,r(o)},{...Tz(e,t),detectError:n}}const cw=()=>"",Go=e=>Wn(e);function uw(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,h=n,m=null;const v="translate";for(let b=0;br;return p.locale=n,p.key=t,p}let s,c,u=null;zs&&(u=window.performance.now(),s="intlify-message-compilation-start",c="intlify-message-compilation-end",Eo&&Eo(s));const d=i(r,function(p,f,h,m,v,b){return{locale:f,key:h,warnHtmlMessage:v,onError:y=>{b&&b(y);{const _=function(O){if(Ct(O))return O;if(O.loc&&O.loc.source)return O.loc.source}(m),w=`Message compilation error: ${y.message}`,x=y.location&&_&&function(O,C=0,k=O.length){const T=O.split(/\r?\n/);let D=0;const S=[];for(let L=0;L=C){for(let N=L-M7;N<=L+M7||k>D;N++){if(N<0||N>=T.length)continue;const V=N+1;S.push(`${V}${" ".repeat(3-String(V).length)}| ${T[N]}`);const M=T[N].length;if(N===L){const I=C-(D-M)+1,R=Math.max(1,k>D?M-I:k-C);S.push(" | "+" ".repeat(I)+"^".repeat(R))}else if(N>L){if(k>D){const I=Math.max(Math.min(k-D,M),1);S.push(" | "+"^".repeat(I))}D+=M+1}}break}return S.join(`
`)}(_,y.location.start.offset,y.location.end.offset),A=p.__v_emitter;A&&_&&A.emit("compile-error",{message:_,error:y.message,start:y.location&&y.location.start.offset,end:y.location&&y.location.end.offset,groupId:`translate:${h}`}),console.error(x?`${w}
${x}`:w)}},onCacheKey:y=>az(f,h,y)}}(e,n,o,r,l,a));if(zs){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&&Eo&&js&&(Eo(c),js("intlify message compilation",s,c))}return d.locale=n,d.key=t,d.source=r,d}function pw(...e){const[t,n,r]=e,o={};if(!(Ct(t)||So(t)||Go(t)||qs(t)))throw va(or.INVALID_ARGUMENT);const a=So(t)?String(t):(Go(t),t);return So(n)?o.plural=n:Ct(n)?o.default=n:Cn(n)&&!V3(n)?o.named=n:Ka(n)&&(o.list=n),So(r)?o.plural=r:Ct(r)?o.default=r:Cn(r)&&_l(o,r),[a,o]}const fw=typeof Intl<"u",jz=fw&&Intl.DateTimeFormat!==void 0,Hz=fw&&Intl.NumberFormat!==void 0,hw=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function mw(...e){const[t,n,r,o]=e,a={};let i,l={};if(Ct(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw va(or.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 va(or.INVALID_ISO_DATE_ARGUMENT)}}else if(lz(t)){if(isNaN(t.getTime()))throw va(or.INVALID_DATE_ARGUMENT);i=t}else{if(!So(t))throw va(or.INVALID_ARGUMENT);i=t}return Ct(n)?a.key=n:Cn(n)&&Object.keys(n).forEach(s=>{hw.includes(s)?l[s]=n[s]:a[s]=n[s]}),Ct(r)?a.locale=r:Cn(r)&&(l=r),Cn(o)&&(l=o),[a.key||"",i,a,l]}const vw=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function gw(...e){const[t,n,r,o]=e,a={};let i={};if(!So(t))throw va(or.INVALID_ARGUMENT);const l=t;return Ct(n)?a.key=n:Cn(n)&&Object.keys(n).forEach(s=>{vw.includes(s)?i[s]=n[s]:a[s]=n[s]}),Ct(r)?a.locale=r:Cn(r)&&(i=r),Cn(o)&&(i=o),[a.key||"",l,a,i]}const Uz=Object.freeze(Object.defineProperty({__proto__:null,CompileErrorCodes:_t,CoreErrorCodes:or,CoreWarnCodes:Yr,DATETIME_FORMAT_OPTIONS_KEYS:hw,DEFAULT_LOCALE:n0,DEFAULT_MESSAGE_DATA_TYPE:z7,MISSING_RESOLVE_VALUE:"",NOT_REOSLVED:-1,NUMBER_FORMAT_OPTIONS_KEYS:vw,VERSION:Y7,clearCompileCache:function(){Us=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(Ct(e)){const n=!Wr(t.warnHtmlMessage)||t.warnHtmlMessage;iw(e,n);const r=(t.onCacheKey||lw)(e),o=Us[r];if(o)return o;const{ast:a,detectError:i}=sw(e,{...t,location:!0,jit:!0}),l=$3(a);return i?l:Us[r]=l}{if(!qs(e))return up(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;return n?Us[n]||(Us[n]=$3(e)):$3(e)}},compileToFunction:(e,t)=>{if(!Ct(e))throw va(or.NOT_SUPPORT_NON_STRING_MESSAGE);{iw(e,!Wr(t.warnHtmlMessage)||t.warnHtmlMessage);const n=(t.onCacheKey||lw)(e),r=Us[n];if(r)return r;const{code:o,detectError:a}=sw(e,t),i=new Function(`return ${o}`)();return a?i:Us[n]=i}},createCompileError:Qc,createCoreContext:function(e={}){const t=Wn(e.onWarn)?e.onWarn:up,n=Ct(e.version)?e.version:Y7,r=Ct(e.locale)||Wn(e.locale)?e.locale:n0,o=Wn(r)?n0:r,a=Ka(e.fallbackLocale)||Cn(e.fallbackLocale)||Ct(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Cn(e.messages)?e.messages:{[o]:{}},l=Cn(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},s=Cn(e.numberFormats)?e.numberFormats:{[o]:{}},c=_l({},e.modifiers||{},{upper:(N,V)=>V==="text"&&Ct(N)?N.toUpperCase():V==="vnode"&&Kn(N)&&"__v_isVNode"in N?N.children.toUpperCase():N,lower:(N,V)=>V==="text"&&Ct(N)?N.toLowerCase():V==="vnode"&&Kn(N)&&"__v_isVNode"in N?N.children.toLowerCase():N,capitalize:(N,V)=>V==="text"&&Ct(N)?X7(N):V==="vnode"&&Kn(N)&&"__v_isVNode"in N?X7(N.children):N}),u=e.pluralRules||{},d=Wn(e.missing)?e.missing:null,p=!Wr(e.missingWarn)&&!O7(e.missingWarn)||e.missingWarn,f=!Wr(e.fallbackWarn)&&!O7(e.fallbackWarn)||e.fallbackWarn,h=!!e.fallbackFormat,m=!!e.unresolving,v=Wn(e.postTranslation)?e.postTranslation:null,b=Cn(e.processor)?e.processor:null,y=!Wr(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter,w=Wn(e.messageCompiler)?e.messageCompiler:J7;var x;Wn(e.messageCompiler)&&(x=xl(Yr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER),V7[x]||(V7[x]=!0,up(x)));const A=Wn(e.messageResolver)?e.messageResolver:Z7||$7,O=Wn(e.localeFallbacker)?e.localeFallbacker:Q7||W7,C=Kn(e.fallbackContext)?e.fallbackContext:void 0,k=e,T=Kn(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,D=Kn(k.__numberFormatters)?k.__numberFormatters:new Map,S=Kn(k.__meta)?k.__meta:{};rw++;const L={version:n,cid:rw,locale:r,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:d,missingWarn:p,fallbackWarn:f,fallbackFormat:h,unresolving:m,postTranslation:v,processor:b,warnHtmlMessage:y,escapeParameter:_,messageCompiler:w,messageResolver:A,localeFallbacker:O,fallbackContext:C,onWarn:t,__meta:S};return L.datetimeFormats=l,L.numberFormats=s,L.__datetimeFormatters=T,L.__numberFormatters=D,L.__v_emitter=k.__v_emitter!=null?k.__v_emitter:void 0,U7(L,n,S),L},createCoreError:va,createMessageContext:H7,datetime:function(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e;if(!jz)return a(xl(Yr.CANNOT_FORMAT_DATE)),"";const[s,c,u,d]=mw(...t),p=Wr(u.missingWarn)?u.missingWarn:e.missingWarn,f=Wr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=!!u.part,m=t0(e,u),v=i(e,o,m);if(!Ct(s)||s==="")return new Intl.DateTimeFormat(m,d).format(c);let b,y={},_=null,w=m,x=null;const A="datetime format";for(let k=0;knw,getLocale:t0,getWarnMessage:xl,handleMissing:o0,initI18nDevTools:U7,isMessageAST:qs,isMessageFunction:Go,isTranslateFallbackWarn:r0,isTranslateMissingWarn:ow,number:function(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(!Hz)return a(xl(Yr.CANNOT_FORMAT_NUMBER)),"";const[s,c,u,d]=gw(...t),p=Wr(u.missingWarn)?u.missingWarn:e.missingWarn,f=Wr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=!!u.part,m=t0(e,u),v=i(e,o,m);if(!Ct(s)||s==="")return new Intl.NumberFormat(m,d).format(c);let b,y={},_=null,w=m,x=null;const A="number format";for(let k=0;k{ew=e},setDevToolsHook:function(e){nu=e},setFallbackContext:e=>{nw=e},translate:function(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[s,c]=pw(...t),u=Wr(c.missingWarn)?c.missingWarn:e.missingWarn,d=Wr(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=Wr(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,h=Ct(c.default)||Wr(c.default)?Wr(c.default)?a?s:()=>s:c.default:n?a?s:()=>s:"",m=n||h!=="",v=t0(e,c);p&&function(D){Ka(D.list)?D.list=D.list.map(S=>Ct(S)?D7(S):S):Kn(D.named)&&Object.keys(D.named).forEach(S=>{Ct(D.named[S])&&(D.named[S]=D7(D.named[S]))})}(c);let[b,y,_]=f?[s,v,l[v]||{}]:uw(e,s,v,i,d,u),w=b,x=s;if(f||Ct(w)||qs(w)||Go(w)||m&&(w=h,x=w),!(f||(Ct(w)||qs(w)||Go(w))&&Ct(y)))return o?-1:s;if(Ct(w)&&e.messageCompiler==null)return up(`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 A=!1;const O=Go(w)?w:dw(e,s,y,w,x,()=>{A=!0});if(A)return w;const C=function(D,S,L,N){const{modifiers:V,pluralRules:M,messageResolver:I,fallbackLocale:R,fallbackWarn:U,missingWarn:q,fallbackContext:j}=D,$=W=>{let K=I(L,W);if(K==null&&j){const[,,re]=uw(j,W,S,R,U,q);K=I(re,W)}if(Ct(K)||qs(K)){let re=!1;const ce=dw(D,W,S,K,W,()=>{re=!0});return re?cw:ce}return Go(K)?K:cw},z={locale:S,modifiers:V,pluralRules:M,messages:$};return D.processor&&(z.processor=D.processor),N.list&&(z.list=N.list),N.named&&(z.named=N.named),So(N.plural)&&(z.pluralIndex=N.plural),z}(e,y,_,c),k=function(D,S,L){let N,V,M=null;zs&&(M=window.performance.now(),N="intlify-message-evaluation-start",V="intlify-message-evaluation-end",Eo&&Eo(N));const I=S(L);if(zs){const R=window.performance.now(),U=D.__v_emitter;U&&M&&U.emit("message-evaluation",{type:"message-evaluation",value:I,time:R-M,groupId:`translate:${S.key}`}),N&&V&&Eo&&js&&(Eo(V),js("intlify message evaluation",N,V))}return I}(e,O,H7(C)),T=r?r(k,s):k;{const D={timestamp:Date.now(),key:Ct(s)?s:Go(w)?w.key:"",locale:y||(Go(w)?w.locale:""),format:Ct(w)?w:Go(w)?w.source:"",message:T};D.meta=_l({},e.__meta,tw()||{}),q7(D)}return T},translateDevTools:q7,updateFallbackLocale:function(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}},Symbol.toStringTag,{value:"Module"})),qz=Jd(Uz);function ko(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const an=Object.freeze({}),ru=Object.freeze([]),mr=()=>{},Gz=()=>!1,ou=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a0=e=>e.startsWith("onUpdate:"),cn=Object.assign,j3=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Wz=Object.prototype.hasOwnProperty,$t=(e,t)=>Wz.call(e,t),lt=Array.isArray,Gs=e=>au(e)==="[object Map]",Ws=e=>au(e)==="[object Set]",yw=e=>au(e)==="[object Date]",mt=e=>typeof e=="function",pn=e=>typeof e=="string",El=e=>typeof e=="symbol",Wt=e=>e!==null&&typeof e=="object",i0=e=>(Wt(e)||mt(e))&&mt(e.then)&&mt(e.catch),bw=Object.prototype.toString,au=e=>bw.call(e),H3=e=>au(e).slice(8,-1),_w=e=>au(e)==="[object Object]",U3=e=>pn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,iu=ko(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kz=ko("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),l0=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yz=/-(\w)/g,Xr=l0(e=>e.replace(Yz,(t,n)=>n?n.toUpperCase():"")),Xz=/\B([A-Z])/g,Tr=l0(e=>e.replace(Xz,"-$1").toLowerCase()),Sl=l0(e=>e.charAt(0).toUpperCase()+e.slice(1)),xi=l0(e=>e?`on${Sl(e)}`:""),ga=(e,t)=>!Object.is(e,t),kl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},c0=e=>{const t=pn(e)?Number(e):NaN;return isNaN(t)?e:t};let ww;const q3=()=>ww||(ww=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Jz=ko("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");Xe=function(e){if(lt(e)){const t={};for(let n=0;n{if(n){const r=n.split(Qz);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}G=function(e){let t="";if(pn(e))t=e;else if(lt(e))for(let n=0;nCl(n,t))}let W3,d0;Be=e=>pn(e)?e:e==null?"":lt(e)||Wt(e)&&(e.toString===bw||!mt(e.toString))?JSON.stringify(e,W3,2):String(e),W3=(e,t)=>t&&t.__v_isRef?W3(e,t.value):Gs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],a)=>(n[d0(r,a)+" =>"]=o,n),{})}:Ws(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>d0(n))}:El(t)?d0(t):!Wt(t)||lt(t)||_w(t)?t:String(t),d0=(e,t="")=>{var n;return El(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Xa(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Co,Ks;class K3{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Co,!t&&Co&&(this.index=(Co.scopes||(Co.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Co;try{return Co=this,t()}finally{Co=n}}else Xa("cannot run an inactive effect scope.")}on(){Co=this}off(){Co=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Dl()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Tl,n=Ks;try{return Tl=!0,Ks=this,this._runnings++,Sw(this),this.fn()}finally{kw(this),this._runnings--,Ks=n,Tl=t}}stop(){var t;this.active&&(Sw(this),kw(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function sj(e){return e.value}function Sw(e){e._trackId++,e._depsLength=0}function kw(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},p0=new WeakMap,Ys=Symbol("iterate"),Q3=Symbol("Map key iterate");function Or(e,t,n){if(Tl&&Ks){let r=p0.get(e);r||p0.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Iw(()=>r.delete(n))),Ow(Ks,o,{target:e,type:t,key:n})}}function Ja(e,t,n,r,o,a){const i=p0.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&<(e)){const s=Number(r);i.forEach((c,u)=>{(u==="length"||!El(u)&&u>=s)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":lt(e)?U3(n)&&l.push(i.get("length")):(l.push(i.get(Ys)),Gs(e)&&l.push(i.get(Q3)));break;case"delete":lt(e)||(l.push(i.get(Ys)),Gs(e)&&l.push(i.get(Q3)));break;case"set":Gs(e)&&l.push(i.get(Ys))}X3();for(const s of l)s&&Dw(s,4,{target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:a});J3()}const cj=ko("__proto__,__v_isRef,__isVue"),Lw=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(El)),Mw=uj();function uj(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=pt(this);for(let a=0,i=this.length;a{e[t]=function(...n){Ol(),X3();const r=pt(this)[t].apply(this,n);return J3(),Dl(),r}}),e}function dj(e){const t=pt(this);return Or(t,"has",e),t.hasOwnProperty(e)}class Vw{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,a=this._isShallow;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?qw:Uw:a?Hw:jw).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=lt(t);if(!o){if(i&&$t(Mw,n))return Reflect.get(Mw,n,r);if(n==="hasOwnProperty")return dj}const l=Reflect.get(t,n,r);return(El(n)?Lw.has(n):cj(n))?l:(o||Or(t,"get",n),a?l:Dt(l)?i&&U3(n)?l:l.value:Wt(l)?o?wi(l):ft(l):l)}}class Pw extends Vw{constructor(t=!1){super(!1,t)}set(t,n,r,o){let a=t[n];if(!this._isShallow){const s=Ei(a);if(Ll(r)||Ei(r)||(a=pt(a),r=pt(r)),!lt(t)&&Dt(a)&&!Dt(r))return!s&&(a.value=r,!0)}const i=lt(t)&&U3(n)?Number(n)e,f0=e=>Reflect.getPrototypeOf(e);function h0(e,t,n=!1,r=!1){const o=pt(e=e.__v_raw),a=pt(t);n||(ga(t,a)&&Or(o,"get",t),Or(o,"get",a));const{has:i}=f0(o),l=r?eg:n?tg:mp;return i.call(o,t)?l(e.get(t)):i.call(o,a)?l(e.get(a)):void(e!==o&&e.get(t))}function m0(e,t=!1){const n=this.__v_raw,r=pt(n),o=pt(e);return t||(ga(e,o)&&Or(r,"has",e),Or(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function v0(e,t=!1){return e=e.__v_raw,!t&&Or(pt(e),"iterate",Ys),Reflect.get(e,"size",e)}function Nw(e){e=pt(e);const t=pt(this);return f0(t).has.call(t,e)||(t.add(e),Ja(t,"add",e,e)),this}function Fw(e,t){t=pt(t);const n=pt(this),{has:r,get:o}=f0(n);let a=r.call(n,e);a?zw(n,r,e):(e=pt(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?ga(t,i)&&Ja(n,"set",e,t,i):Ja(n,"add",e,t),this}function Bw(e){const t=pt(this),{has:n,get:r}=f0(t);let o=n.call(t,e);o?zw(t,n,e):(e=pt(e),o=n.call(t,e));const a=r?r.call(t,e):void 0,i=t.delete(e);return o&&Ja(t,"delete",e,void 0,a),i}function $w(){const e=pt(this),t=e.size!==0,n=Gs(e)?new Map(e):new Set(e),r=e.clear();return t&&Ja(e,"clear",void 0,void 0,n),r}function g0(e,t){return function(n,r){const o=this,a=o.__v_raw,i=pt(a),l=t?eg:e?tg:mp;return!e&&Or(i,"iterate",Ys),a.forEach((s,c)=>n.call(r,l(s),l(c),o))}}function y0(e,t,n){return function(...r){const o=this.__v_raw,a=pt(o),i=Gs(a),l=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,c=o[e](...r),u=n?eg:t?tg:mp;return!t&&Or(a,"iterate",s?Q3:Ys),{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 Il(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";Xa(`${Sl(e)} operation ${n}failed: target is readonly.`,pt(this))}return e!=="delete"&&(e==="clear"?void 0:this)}}function vj(){const e={get(o){return h0(this,o)},get size(){return v0(this)},has:m0,add:Nw,set:Fw,delete:Bw,clear:$w,forEach:g0(!1,!1)},t={get(o){return h0(this,o,!1,!0)},get size(){return v0(this)},has:m0,add:Nw,set:Fw,delete:Bw,clear:$w,forEach:g0(!1,!0)},n={get(o){return h0(this,o,!0)},get size(){return v0(this,!0)},has(o){return m0.call(this,o,!0)},add:Il("add"),set:Il("set"),delete:Il("delete"),clear:Il("clear"),forEach:g0(!0,!1)},r={get(o){return h0(this,o,!0,!0)},get size(){return v0(this,!0)},has(o){return m0.call(this,o,!0)},add:Il("add"),set:Il("set"),delete:Il("delete"),clear:Il("clear"),forEach:g0(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=y0(o,!1,!1),n[o]=y0(o,!0,!1),t[o]=y0(o,!1,!0),r[o]=y0(o,!0,!0)}),[e,n,t,r]}const[gj,yj,bj,_j]=vj();function b0(e,t){const n=t?e?_j:bj:e?yj:gj;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get($t(n,o)&&o in r?n:r,o,a)}const wj={get:b0(!1,!1)},Aj={get:b0(!1,!0)},xj={get:b0(!0,!1)},Ej={get:b0(!0,!0)};function zw(e,t,n){const r=pt(n);if(r!==n&&t.call(e,r)){const o=H3(e);Xa(`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 jw=new WeakMap,Hw=new WeakMap,Uw=new WeakMap,qw=new WeakMap;ft=function(e){return Ei(e)?e:w0(e,!1,pj,wj,jw)};function _0(e){return w0(e,!1,hj,Aj,Hw)}wi=function(e){return w0(e,!0,fj,xj,Uw)};function Xs(e){return w0(e,!0,mj,Ej,qw)}function w0(e,t,n,r,o){if(!Wt(e))return Xa(`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}}(H3(l));var l;if(i===0)return e;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function ya(e){return Ei(e)?ya(e.__v_raw):!(!e||!e.__v_isReactive)}function Ei(e){return!(!e||!e.__v_isReadonly)}function Ll(e){return!(!e||!e.__v_isShallow)}function hp(e){return ya(e)||Ei(e)}pt=function(e){const t=e&&e.__v_raw;return t?pt(t):e},jn=function(e){return Object.isExtensible(e)&&s0(e,"__v_skip",!0),e};const mp=e=>Wt(e)?ft(e):e,tg=e=>Wt(e)?wi(e):e;class Gw{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new lu(()=>t(this._value),()=>su(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=pt(this);return t._cacheable&&!t.effect.dirty||!ga(t._value,t._value=t.effect.run())||su(t,4),ng(t),t.effect._dirtyLevel>=2&&(this._warnRecursive&&Xa("Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free",`
getter: `,this.getter),su(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ww(e,t,n=!1){let r,o;const a=mt(e);a?(r=e,o=()=>{Xa("Write operation failed: computed value is readonly")}):(r=e.get,o=e.set);const i=new Gw(r,o,a||!o,n);return t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function ng(e){var t;Tl&&Ks&&(e=pt(e),Ow(Ks,(t=e.dep)!=null?t:e.dep=Iw(()=>e.dep=void 0,e instanceof Gw?e:void 0),{target:e,type:"get",key:"value"}))}function su(e,t=4,n){const r=(e=pt(e)).dep;r&&Dw(r,t,{target:e,type:"set",key:"value",newValue:n})}Dt=function(e){return!(!e||e.__v_isRef!==!0)},B=function(e){return Kw(e,!1)},zn=function(e){return Kw(e,!0)};function Kw(e,t){return Dt(e)?e:new Sj(e,t)}class Sj{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pt(t),this._value=n?t:mp(t)}get value(){return ng(this),this._value}set value(t){const n=this.__v_isShallow||Ll(t)||Ei(t);t=n?t:pt(t),ga(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mp(t),su(this,4,t))}}function cu(e){su(e,4,e.value)}g=function(e){return Dt(e)?e.value:e};const kj={get:(e,t,n)=>g(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Dt(o)&&!Dt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function rg(e){return ya(e)?e:new Proxy(e,kj)}class Cj{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ng(this),()=>su(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function og(e){return new Cj(e)}Gn=function(e){hp(e)||Xa("toRefs() expects a reactive object but received a plain one.");const t=lt(e)?new Array(e.length):{};for(const n in e)t[n]=Yw(e,n);return t};class Tj{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=p0.get(t))==null?void 0:r.get(n)}(pt(this._object),this._key)}}class Oj{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}Zt=function(e,t,n){return Dt(e)?e:mt(e)?new Oj(e):Wt(e)&&arguments.length>1?Yw(e,t,n):B(e)};function Yw(e,t,n){const r=e[t];return Dt(r)?r:new Tj(e,t,n)}const Js=[];function vp(e){Js.push(e)}function gp(){Js.pop()}function Me(e,...t){Ol();const n=Js.length?Js[Js.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let a=Js[Js.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)Za(r,n,11,[e+t.map(a=>{var i,l;return(l=(i=a.toString)==null?void 0:i.call(a))!=null?l:JSON.stringify(a)}).join(""),n&&n.proxy,o.map(({vnode:a})=>`at <${G0(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,h=` at <${G0(u.component,u.type,f)}`,m=">"+p;return u.props?[h,...Dj(u.props),m]:[h+m]}(s))}),l}(o)),console.warn(...a)}Dl()}function Dj(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Xw(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Xw(e,t,n){return pn(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Dt(t)?(t=Xw(e,pt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):mt(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=pt(t),n?t:[`${e}=`,t])}function ag(e,t){e!==void 0&&(typeof e!="number"?Me(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Me(`${t} is NaN - the duration expression might be incorrect.`))}const A0={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 Za(e,t,n,r){try{return r?e(...r):e()}catch(o){Ml(o,t,n)}}function To(e,t,n,r){if(mt(e)){const a=Za(e,t,n,r);return a&&i0(a)&&a.catch(i=>{Ml(i,t,n)}),a}const o=[];for(let a=0;a>>1,a=Dr[o],i=wp(a);iwp(n)-wp(r));if(uu.length=0,Si)return void Si.push(...t);for(Si=t,e=e||new Map,Vl=0;Vle.id==null?1/0:e.id,Lj=(e,t)=>{const n=wp(e)-wp(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function eA(e){ig=!1,yp=!0,e=e||new Map,Dr.sort(Lj);const t=n=>sg(e,n);try{for(Qa=0;QaIj){const r=t.ownerInstance,o=r&&Vp(r.type);return Ml(`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 Pl=!1;const du=new Set;q3().__VUE_HMR_RUNTIME__={createRecord:cg(tA),rerender:cg(function(e,t){const n=Zs.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Ap(r.type).render=t),r.renderCache=[],Pl=!0,r.effect.dirty=!0,r.update(),Pl=!1}))}),reload:cg(function(e,t){const n=Zs.get(e);if(!n)return;t=Ap(t),nA(n.initialDef,t);const r=[...n.instances];for(const o of r){const a=Ap(o.type);du.has(a)||(a!==n.initialDef&&nA(a,t),du.add(a)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(du.add(a),o.ceReload(t.styles),du.delete(a)):o.parent?(o.parent.effect.dirty=!0,bp(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.")}_p(()=>{for(const o of r)du.delete(Ap(o.type))})})};const Zs=new Map;function tA(e,t){return!Zs.has(e)&&(Zs.set(e,{initialDef:Ap(t),instances:new Set}),!0)}function Ap(e){return dx(e)?e.__vccOpts:e}function nA(e,t){cn(e,t);for(const n in e)n==="__file"||n in t||delete e[n]}function cg(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 ba,xp=[],ug=!1;function Ep(e,...t){ba?ba.emit(e,...t):ug||xp.push({event:e,args:t})}function dg(e,t){var n,r;ba=e,ba?(ba.enabled=!0,xp.forEach(({event:o,args:a})=>ba.emit(o,...a)),xp=[]):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=>{dg(o,t)}),setTimeout(()=>{ba||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ug=!0,xp=[])},3e3)):(ug=!0,xp=[])}const pg=fg("component:added"),rA=fg("component:updated"),Mj=fg("component:removed"),Vj=e=>{ba&&typeof ba.cleanupBuffer=="function"&&!ba.cleanupBuffer(e)&&Mj(e)};function fg(e){return t=>{Ep(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Pj=oA("perf:start"),Rj=oA("perf:end");function oA(e){return(t,n,r)=>{Ep(e,t.appContext.app,t.uid,t,n,r)}}function Nj(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||an;{const{emitsOptions:u,propsOptions:[d]}=e;if(u)if(t in u){const p=u[t];mt(p)&&(p(...n)||Me(`Invalid event arguments: event validation failed for event "${t}".`))}else d&&xi(t)in d||Me(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${xi(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]||an;p&&(o=n.map(f=>pn(f)?f.trim():f)),d&&(o=n.map(dp))}(function(u,d,p){Ep("component:emit",u.appContext.app,u,d,p)})(e,t,o);{const u=t.toLowerCase();u!==t&&r[xi(u)]&&Me(`Event "${u}" is emitted in component ${G0(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 "${Tr(t)}" instead of "${t}".`)}let l,s=r[l=xi(t)]||r[l=xi(Xr(t))];!s&&a&&(s=r[l=xi(Tr(t))]),s&&To(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,To(c,e,6,o)}}function aA(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(!mt(e)){const s=c=>{const u=aA(c,t,!0);u&&(l=!0,cn(i,u))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return a||l?(lt(a)?a.forEach(s=>i[s]=null):cn(i,a),Wt(e)&&r.set(e,i),i):(Wt(e)&&r.set(e,null),null)}function E0(e,t){return!(!e||!ou(t))&&(t=t.slice(2).replace(/Once$/,""),$t(e,t[0].toLowerCase()+t.slice(1))||$t(e,Tr(t))||$t(e,t))}let Ln=null,S0=null;function Sp(e){const t=Ln;return Ln=e,S0=e&&e.type.__scopeId||null,t}k9=function(e){S0=e},S9=function(){S0=null},he=function(e,t=Ln,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&zg(-1);const a=Sp(t);let i;try{i=e(...o)}finally{Sp(a),r._d&&zg(1)}return rA(t),i};return r._n=!0,r._c=!0,r._d=!0,r};let hg=!1;function k0(){hg=!0}function C0(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:h,inheritAttrs:m}=e;let v,b;const y=Sp(e);hg=!1;try{if(4&n.shapeFlag){const x=o||r,A=f.__isScriptSetup?new Proxy(x,{get:(O,C,k)=>(Me(`Property '${String(C)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(O,C,k))}):x;v=uo(u.call(A,x,d,a,f,p,h)),b=s}else{const x=t;s===a&&k0(),v=uo(x.length>1?x(a,{get attrs(){return k0(),s},slots:l,emit:c}):x(a,null)),b=t.props?s:Fj(s)}}catch(x){gu.length=0,Ml(x,e,1),v=E(gn)}let _,w=v;if(v.patchFlag>0&&2048&v.patchFlag&&([w,_]=iA(v)),b&&m!==!1){const x=Object.keys(b),{shapeFlag:A}=w;if(x.length){if(7&A)i&&x.some(a0)&&(b=Bj(b,i)),w=Oo(w,b);else if(!hg&&w.type!==gn){const O=Object.keys(s),C=[],k=[];for(let T=0,D=O.length;T renders non-element root node that cannot be animated."),w.transition=n.transition),_?_(w):v=w,Sp(y),v}const iA=e=>{const t=e.children,n=e.dynamicChildren,r=T0(t,!1);if(!r)return[e,void 0];if(r.patchFlag>0&&2048&r.patchFlag)return iA(r);const o=t.indexOf(r),a=n?n.indexOf(r):-1;return[uo(r),i=>{t[o]=i,n&&(a>-1?n[a]=i:i.patchFlag>0&&(e.dynamicChildren=[...n,i]))}]};function T0(e,t=!0){let n;for(let r=0;r0&&2048&n.patchFlag)return T0(n.children)}}return n}const Fj=e=>{let t;for(const n in e)(n==="class"||n==="style"||ou(n))&&((t||(t={}))[n]=e[n]);return t},Bj=(e,t)=>{const n={};for(const r in e)a0(r)&&r.slice(9)in t||(n[r]=e[r]);return n},lA=e=>7&e.shapeFlag||e.type===gn;function sA(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let yg=0;const zj={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,a,i,l,s,c){if(e==null)(function(u,d,p,f,h,m,v,b,y){const{p:_,o:{createElement:w}}=y,x=w("div"),A=u.suspense=bg(u,h,f,d,x,p,m,v,b,y);_(null,A.pendingBranch=u.ssContent,x,null,f,A,m,v),A.deps>0?(kp(u,"onPending"),kp(u,"onFallback"),_(null,u.ssFallback,d,p,f,null,m,v),pu(A,u.ssFallback)):A.resolve(!1,!0)})(t,n,r,o,a,i,l,s,c);else{if(a&&a.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);(function(u,d,p,f,h,m,v,b,{p:y,um:_,o:{createElement:w}}){const x=d.suspense=u.suspense;x.vnode=d,d.el=u.el;const A=d.ssContent,O=d.ssFallback,{activeBranch:C,pendingBranch:k,isInFallback:T,isHydrating:D}=x;if(k)x.pendingBranch=A,_a(A,k)?(y(k,A,x.hiddenContainer,null,h,x,m,v,b),x.deps<=0?x.resolve():T&&(D||(y(C,O,p,f,h,null,m,v,b),pu(x,O)))):(x.pendingId=yg++,D?(x.isHydrating=!1,x.activeBranch=k):_(k,h,x),x.deps=0,x.effects.length=0,x.hiddenContainer=w("div"),T?(y(null,A,x.hiddenContainer,null,h,x,m,v,b),x.deps<=0?x.resolve():(y(C,O,p,f,h,null,m,v,b),pu(x,O))):C&&_a(A,C)?(y(C,A,p,f,h,x,m,v,b),x.resolve(!0)):(y(null,A,x.hiddenContainer,null,h,x,m,v,b),x.deps<=0&&x.resolve()));else if(C&&_a(A,C))y(C,A,p,f,h,x,m,v,b),pu(x,A);else if(kp(d,"onPending"),x.pendingBranch=A,512&A.shapeFlag?x.pendingId=A.component.suspenseId:x.pendingId=yg++,y(null,A,x.hiddenContainer,null,h,x,m,v,b),x.deps<=0)x.resolve();else{const{timeout:S,pendingId:L}=x;S>0?setTimeout(()=>{x.pendingId===L&&x.fallback(O)},S):S===0&&x.fallback(O)}})(e,t,n,r,o,i,l,s,c)}},hydrate:function(e,t,n,r,o,a,i,l,s){const c=t.suspense=bg(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:bg,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=pA(r?n.default:n),e.ssFallback=r?pA(n.fallback):E(gn)}},jj=zj;function kp(e,t){const n=e.props&&e.props[t];mt(n)&&n()}let dA=!1;function bg(e,t,n,r,o,a,i,l,s,c,u=!1){dA||(dA=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:d,m:p,um:f,n:h,o:{parentNode:m,remove:v}}=c;let b;const y=function(A){var O;return((O=A.props)==null?void 0:O.suspensible)!=null&&A.props.suspensible!==!1}(e);y&&(t!=null&&t.pendingBranch)&&(b=t.pendingId,t.deps++);const _=e.props?c0(e.props.timeout):void 0;ag(_,"Suspense timeout");const w=a,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:yg++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,O=!1){if(!A&&!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:C,activeBranch:k,pendingBranch:T,pendingId:D,effects:S,parentComponent:L,container:N}=x;let V=!1;x.isHydrating?x.isHydrating=!1:A||(V=k&&T.transition&&T.transition.mode==="out-in",V&&(k.transition.afterLeave=()=>{D===x.pendingId&&(p(T,N,a===w?h(k):a,0),_p(S))}),k&&(m(k.el)!==x.hiddenContainer&&(a=h(k)),f(k,L,x,!0)),V||p(T,N,a,0)),pu(x,T),x.pendingBranch=null,x.isInFallback=!1;let M=x.parent,I=!1;for(;M;){if(M.pendingBranch){M.effects.push(...S),I=!0;break}M=M.parent}I||V||_p(S),x.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps!==0||O||t.resolve()),kp(C,"onResolve")},fallback(A){if(!x.pendingBranch)return;const{vnode:O,activeBranch:C,parentComponent:k,container:T,namespace:D}=x;kp(O,"onFallback");const S=h(C),L=()=>{x.isInFallback&&(d(null,A,T,S,k,null,D,l,s),pu(x,A))},N=A.transition&&A.transition.mode==="out-in";N&&(C.transition.afterLeave=L),x.isInFallback=!0,f(C,k,null,!0),N||L()},move(A,O,C){x.activeBranch&&p(x.activeBranch,A,O,C),x.container=A},next:()=>x.activeBranch&&h(x.activeBranch),registerDep(A,O){const C=!!x.pendingBranch;C&&x.deps++;const k=A.vnode.el;A.asyncDep.catch(T=>{Ml(T,A,0)}).then(T=>{if(A.isUnmounted||x.isUnmounted||x.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:D}=A;vp(D),Wg(A,T,!1),k&&(D.el=k);const S=!k&&A.subTree.el;O(A,D,m(k||A.subTree.el),k?null:h(A.subTree),x,i,s),S&&v(S),mg(A,D.el),gp(),C&&--x.deps==0&&x.resolve()})},unmount(A,O){x.isUnmounted=!0,x.activeBranch&&f(x.activeBranch,n,A,O),x.pendingBranch&&f(x.pendingBranch,n,A,O)}};return x}function pA(e){let t;if(mt(e)){const n=ic&&e._c;n&&(e._d=!1,H()),e=e(),n&&(e._d=!0,t=co,nx())}if(lt(e)){const n=T0(e);!n&&e.filter(r=>r!==vg).length>0&&Me(" slots expect a single root node."),e=n}return e=uo(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function fA(e,t){t&&t.pendingBranch?lt(e)?t.effects.push(...e):t.effects.push(e):_p(e)}function pu(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,mg(r,o))}const hA=Symbol.for("v-scx"),mA=()=>{{const e=He(hA);return e||Me("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};nr=function(e,t){return Cp(e,null,t)};function vA(e,t){return Cp(e,null,cn({},t,{flush:"post"}))}function gA(e,t){return Cp(e,null,cn({},t,{flush:"sync"}))}const D0={};le=function(e,t,n){return mt(t)||Me("`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."),Cp(e,t,n)};function Cp(e,t,{immediate:n,deep:r,flush:o,once:a,onTrack:i,onTrigger:l}=an){if(t&&a){const O=t;t=(...C)=>{O(...C),A()}}r!==void 0&&typeof r=="number"&&Me('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&&Me('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Me('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Me('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=O=>{Me("Invalid watch source: ",O,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=Fn,u=O=>r===!0?O:Qs(O,r===!1?1:void 0);let d,p,f=!1,h=!1;if(Dt(e)?(d=()=>e.value,f=Ll(e)):ya(e)?(d=()=>u(e),f=!0):lt(e)?(h=!0,f=e.some(O=>ya(O)||Ll(O)),d=()=>e.map(O=>Dt(O)?O.value:ya(O)?u(O):mt(O)?Za(O,c,2):void s(O))):mt(e)?d=t?()=>Za(e,c,2):()=>(p&&p(),To(e,c,3,[v])):(d=mr,s(e)),t&&r){const O=d;d=()=>Qs(O())}let m,v=O=>{p=w.onStop=()=>{Za(O,c,4),p=w.onStop=void 0}};if(Mp){if(v=mr,t?n&&To(t,c,3,[d(),h?[]:void 0,v]):d(),o!=="sync")return mr;{const O=mA();m=O.__watcherHandles||(O.__watcherHandles=[])}}let b=h?new Array(e.length).fill(D0):D0;const y=()=>{if(w.active&&w.dirty)if(t){const O=w.run();(r||f||(h?O.some((C,k)=>ga(C,b[k])):ga(O,b)))&&(p&&p(),To(t,c,3,[O,b===D0?void 0:h&&b[0]===D0?[]:b,v]),b=O)}else w.run()};let _;y.allowRecurse=!!t,o==="sync"?_=y:o==="post"?_=()=>vr(y,c&&c.suspense):(y.pre=!0,c&&(y.id=c.uid),_=()=>bp(y));const w=new lu(d,mr,_),x=pp(),A=()=>{w.stop(),x&&j3(x.effects,w)};return w.onTrack=i,w.onTrigger=l,t?n?y():b=w.run():o==="post"?vr(w.run.bind(w),c&&c.suspense):w.run(),m&&m.push(A),A}function Hj(e,t,n){const r=this.proxy,o=pn(e)?e.includes(".")?yA(r,e):()=>r[e]:e.bind(r,r);let a;mt(t)?a=t:(a=t.handler,n=t);const i=lc(this),l=Cp(o,a.bind(r),n);return i(),l}function yA(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),Dt(e))Qs(e.value,t,n,r);else if(lt(e))for(let o=0;o{Qs(o,t,n,r)});else if(_w(e))for(const o in e)Qs(e[o],t,n,r);return e}function bA(e){Kz(e)&&Me("Do not use built-in directive ids as custom directive id: "+e)}Je=function(e,t){if(Ln===null)return Me("withDirectives can only be used inside render functions."),e;const n=q0(Ln)||Ln.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),sn(()=>{e.isUnmounting=!0}),e}const Wo=[Function,Array],wg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wo,onEnter:Wo,onAfterEnter:Wo,onEnterCancelled:Wo,onBeforeLeave:Wo,onLeave:Wo,onAfterLeave:Wo,onLeaveCancelled:Wo,onBeforeAppear:Wo,onAppear:Wo,onAfterAppear:Wo,onAppearCancelled:Wo},Uj={name:"BaseTransition",props:wg,setup(e,{slots:t}){const n=et(),r=_g();return()=>{const o=t.default&&L0(t.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){let p=!1;for(const f of o)if(f.type!==gn){if(p){Me(" can only be used on a single element or component. Use for lists.");break}a=f,p=!0}}const i=pt(e),{mode:l}=i;if(l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&Me(`invalid mode: ${l}`),r.isLeaving)return Ag(a);const s=AA(a);if(!s)return Ag(a);const c=fu(s,i,r,n);ec(s,c);const u=n.subTree,d=u&&AA(u);if(d&&d.type!==gn&&!_a(s,d)){const p=fu(d,i,r,n);if(ec(d,p),l==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Ag(a);l==="in-out"&&s.type!==gn&&(p.delayLeave=(f,h,m)=>{wA(r,d)[String(d.key)]=d,f[Rl]=()=>{h(),f[Rl]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return a}}},_A=Uj;function wA(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 fu(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:h,onBeforeAppear:m,onAppear:v,onAfterAppear:b,onAppearCancelled:y}=t,_=String(e.key),w=wA(n,e),x=(C,k)=>{C&&To(C,r,9,k)},A=(C,k)=>{const T=k[1];x(C,k),lt(C)?C.every(D=>D.length<=1)&&T():C.length<=1&&T()},O={mode:a,persisted:i,beforeEnter(C){let k=l;if(!n.isMounted){if(!o)return;k=m||l}C[Rl]&&C[Rl](!0);const T=w[_];T&&_a(e,T)&&T.el[Rl]&&T.el[Rl](),x(k,[C])},enter(C){let k=s,T=c,D=u;if(!n.isMounted){if(!o)return;k=v||s,T=b||c,D=y||u}let S=!1;const L=C[I0]=N=>{S||(S=!0,x(N?D:T,[C]),O.delayedLeave&&O.delayedLeave(),C[I0]=void 0)};k?A(k,[C,L]):L()},leave(C,k){const T=String(e.key);if(C[I0]&&C[I0](!0),n.isUnmounting)return k();x(d,[C]);let D=!1;const S=C[Rl]=L=>{D||(D=!0,k(),x(L?h:f,[C]),C[Rl]=void 0,w[T]===e&&delete w[T])};w[T]=e,p?A(p,[C,S]):S()},clone:C=>fu(C,t,n,r)};return O}function Ag(e){if(nc(e))return(e=Oo(e)).children=null,e}function AA(e){return nc(e)?e.component?e.component.subTree:e.children?e.children[0]:void 0:e}function ec(e,t){6&e.shapeFlag&&e.component?ec(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 L0(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;acn({name:e.name},t,{setup:e}))():e};const tc=e=>!!e.type.__asyncLoader;Ov=function(e){mt(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((h,m)=>{l(f,()=>h((u++,c=null,d())),()=>m(f),u+1)});throw f}).then(f=>{if(p!==c&&c)return c;if(f||Me("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&&!Wt(f)&&!mt(f))throw new Error(`Invalid async component load result: ${f}`);return s=f,f}))};return J({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return s},setup(){const p=Fn;if(s)return()=>xg(s,p);const f=b=>{c=null,Ml(b,p,13,!r)};if(i&&p.suspense||Mp)return d().then(b=>()=>xg(b,p)).catch(b=>(f(b),()=>r?E(r,{error:b}):null));const h=B(!1),m=B(),v=B(!!o);return o&&setTimeout(()=>{v.value=!1},o),a!=null&&setTimeout(()=>{if(!h.value&&!m.value){const b=new Error(`Async component timed out after ${a}ms.`);f(b),m.value=b}},a),d().then(()=>{h.value=!0,p.parent&&nc(p.parent.vnode)&&(p.parent.effect.dirty=!0,bp(p.parent.update))}).catch(b=>{f(b),m.value=b}),()=>h.value&&s?xg(s,p):m.value&&r?E(r,{error:m.value}):n&&!v.value?E(n):void 0}})};function xg(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,i=E(e,r,o);return i.ref=n,i.ce=a,delete t.vnode.ce,i}let nc,xA;nc=e=>e.type.__isKeepAlive,xA={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=et(),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){Eg(y),u(y,n,l,!0)}function h(y){o.forEach((_,w)=>{const x=Vp(_.type);!x||y&&y(x)||m(w)})}function m(y){const _=o.get(y);i&&_a(_,i)?i&&Eg(i):f(_),o.delete(y),a.delete(y)}r.activate=(y,_,w,x,A)=>{const O=y.component;c(y,_,w,0,l),s(O.vnode,y,_,w,O,l,x,y.slotScopeIds,A),vr(()=>{O.isDeactivated=!1,O.a&&kl(O.a);const C=y.props&&y.props.onVnodeMounted;C&&po(C,O.parent,y)},l),pg(O)},r.deactivate=y=>{const _=y.component;c(y,p,null,1,l),vr(()=>{_.da&&kl(_.da);const w=y.props&&y.props.onVnodeUnmounted;w&&po(w,_.parent,y),_.isDeactivated=!0},l),pg(_)},le(()=>[e.include,e.exclude],([y,_])=>{y&&h(w=>Tp(y,w)),_&&h(w=>!Tp(_,w))},{flush:"post",deep:!0});let v=null;const b=()=>{v!=null&&o.set(v,Sg(n.subTree))};return tt(b),Ao(b),sn(()=>{o.forEach(y=>{const{subTree:_,suspense:w}=n,x=Sg(_);if(y.type!==x.type||y.key!==x.key)f(y);else{Eg(x);const A=x.component.da;A&&vr(A,w)}})}),()=>{if(v=null,!t.default)return null;const y=t.default(),_=y[0];if(y.length>1)return Me("KeepAlive should contain exactly one component child."),i=null,y;if(!(mn(_)&&(4&_.shapeFlag||128&_.shapeFlag)))return i=null,_;let w=Sg(_);const x=w.type,A=Vp(tc(w)?w.type.__asyncResolved||{}:x),{include:O,exclude:C,max:k}=e;if(O&&(!A||!Tp(O,A))||C&&A&&Tp(C,A))return i=w,_;const T=w.key==null?x:w.key,D=o.get(T);return w.el&&(w=Oo(w),128&_.shapeFlag&&(_.ssContent=w)),v=T,D?(w.el=D.el,w.component=D.component,w.transition&&ec(w,w.transition),w.shapeFlag|=512,a.delete(T),a.add(T)):(a.add(T),k&&a.size>parseInt(k,10)&&m(a.values().next().value)),w.shapeFlag|=256,i=w,uA(_.type)?_:w}}},y9=xA;function Tp(e,t){return lt(e)?e.some(n=>Tp(n,t)):pn(e)?e.split(",").includes(t):au(e)==="[object RegExp]"&&e.test(t)}jo=function(e,t){EA(e,"a",t)};function Ko(e,t){EA(e,"da",t)}function EA(e,t,n=Fn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(M0(t,r,n),n){let o=n.parent;for(;o&&o.parent;)nc(o.parent.vnode)&&qj(r,t,n,o),o=o.parent}}function qj(e,t,n,r){const o=M0(t,e,r,!0);Gr(()=>{j3(r[t],o)},n)}function Eg(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Sg(e){return 128&e.shapeFlag?e.ssContent:e}function M0(e,t,n=Fn,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ol();const l=lc(n),s=To(t,n,e,i);return l(),Dl(),s});return r?o.unshift(a):o.push(a),a}Me(`${xi(A0[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 ti,hu,kg,Cg,Tg;ti=e=>(t,n=Fn)=>(!Mp||e==="sp")&&M0(e,(...r)=>t(...r),n),Xc=ti("bm"),tt=ti("m"),hu=ti("bu"),Ao=ti("u"),sn=ti("bum"),Gr=ti("um"),kg=ti("sp"),Cg=ti("rtg"),Tg=ti("rtc");function SA(e,t=Fn){M0("ec",e,t)}Ft=function(e,t,n,r){let o;const a=n&&n[r];if(lt(e)||pn(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},Ne=function(e,t,n={},r,o){if(Ln.isCE||Ln.parent&&tc(Ln.parent)&&Ln.parent.isCE)return t!=="default"&&(n.name=t),E("slot",n,r&&r());let a=e[t];a&&a.length>1&&(Me("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),H();const i=a&&kA(a(n)),l=we(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 kA(e){return e.some(t=>!mn(t)||t.type!==gn&&!(t.type===Ue&&!kA(t.children)))?e:null}function CA(e,t){const n={};if(!Wt(e))return Me("v-on with no argument expects an object value."),n;for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:xi(r)]=e[r];return n}const Og=e=>e?lx(e)?q0(e)||e.proxy:Og(e.parent):null,rc=cn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Xs(e.props),$attrs:e=>Xs(e.attrs),$slots:e=>Xs(e.slots),$refs:e=>Xs(e.refs),$parent:e=>Og(e.parent),$root:e=>Og(e.root),$emit:e=>e.emit,$options:e=>Mg(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,bp(e.update)}),$nextTick:e=>e.n||(e.n=ke.bind(e.proxy)),$watch:e=>Hj.bind(e)}),Dg=e=>e==="_"||e==="$",Ig=(e,t)=>e!==an&&!e.__isScriptSetup&&$t(e,t),V0={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(Ig(r,t))return i[t]=1,r[t];if(o!==an&&$t(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&$t(c,t))return i[t]=3,a[t];if(n!==an&&$t(n,t))return i[t]=4,n[t];Lg&&(i[t]=0)}}const u=rc[t];let d,p;return u?(t==="$attrs"?(Or(e,"get",t),k0()):t==="$slots"&&Or(e,"get",t),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==an&&$t(n,t)?(i[t]=4,n[t]):(p=s.config.globalProperties,$t(p,t)?p[t]:void(!Ln||pn(t)&&t.indexOf("__v")===0||(o!==an&&Dg(t[0])&&$t(o,t)?Me(`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===Ln&&Me(`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 Ig(o,t)?(o[t]=n,!0):o.__isScriptSetup&&$t(o,t)?(Me(`Cannot mutate