@mokup/playground 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.css +1 -1
- package/dist/assets/playground.js +3 -3
- package/dist/mokup-sw.js +9 -1
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function Xr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Zt=[],it=()=>{},Dl=()=>!1,rr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qr=e=>e.startsWith("onUpdate:"),Le=Object.assign,Zr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Si=Object.prototype.hasOwnProperty,ne=(e,t)=>Si.call(e,t),V=Array.isArray,zt=e=>sr(e)==="[object Map]",$l=e=>sr(e)==="[object Set]",G=e=>typeof e=="function",ve=e=>typeof e=="string",At=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",Ul=e=>(ue(e)||G(e))&&G(e.then)&&G(e.catch),Wl=Object.prototype.toString,sr=e=>Wl.call(e),Li=e=>sr(e).slice(8,-1),Hl=e=>sr(e)==="[object Object]",zr=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=Xr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ii=/-\w/g,Rt=lr(e=>e.replace(Ii,t=>t.slice(1).toUpperCase())),wi=/\B([A-Z])/g,Yt=lr(e=>e.replace(wi,"-$1").toLowerCase()),jl=lr(e=>e.charAt(0).toUpperCase()+e.slice(1)),hr=lr(e=>e?`on${jl(e)}`:""),Pt=(e,t)=>!Object.is(e,t),mr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Vl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ci=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ps;const or=()=>Ps||(Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rn(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ve(r)?Ri(r):Rn(r);if(s)for(const l in s)t[l]=s[l]}return t}else if(ve(e)||ue(e))return e}const Oi=/;(?![^(]*\))/g,Pi=/:([^]+)/,Ni=/\/\*[^]*?\*\//g;function Ri(e){const t={};return e.replace(Ni,"").split(Oi).forEach(n=>{if(n){const r=n.split(Pi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ge(e){let t="";if(ve(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const r=ge(e[n]);r&&(t+=r+" ")}else if(ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ki="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ai=Xr(ki);function Kl(e){return!!e||e===""}const Bl=e=>!!(e&&e.__v_isRef===!0),X=e=>ve(e)?e:e==null?"":V(e)||ue(e)&&(e.toString===Wl||!G(e.toString))?Bl(e)?X(e.value):JSON.stringify(e,Gl,2):String(e),Gl=(e,t)=>Bl(t)?Gl(e,t.value):zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],l)=>(n[gr(r,l)+" =>"]=s,n),{})}:$l(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>gr(n))}:At(t)?gr(t):ue(t)&&!V(t)&&!Hl(t)?String(t):t,gr=(e,t="")=>{var n;return At(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Fe;class Yl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){++this._on===1&&(this.prevScope=Fe,Fe=this)}off(){this._on>0&&--this._on===0&&(Fe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Mi(e){return new Yl(e)}function Fi(){return Fe}let oe;const _r=new WeakSet;class Jl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Fe&&Fe.active&&Fe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_r.has(this)&&(_r.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ns(this),Ql(this);const t=oe,n=Ze;oe=this,Ze=!0;try{return this.fn()}finally{Zl(this),oe=t,Ze=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ns(t);this.deps=this.depsTail=void 0,Ns(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_r.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Or(this)&&this.run()}get dirty(){return Or(this)}}let ql=0,mn,gn;function Xl(e,t=!1){if(e.flags|=8,t){e.next=gn,gn=e;return}e.next=mn,mn=e}function es(){ql++}function ts(){if(--ql>0)return;if(gn){let t=gn;for(gn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;mn;){let t=mn;for(mn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ql(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zl(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ns(r),Di(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Or(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===En)||(e.globalVersion=En,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Or(e))))return;e.flags|=2;const t=e.dep,n=oe,r=Ze;oe=e,Ze=!0;try{Ql(e);const s=e.fn(e._value);(t.version===0||Pt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{oe=n,Ze=r,Zl(e),e.flags&=-3}}function ns(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)ns(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Di(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ze=!0;const eo=[];function _t(){eo.push(Ze),Ze=!1}function bt(){const e=eo.pop();Ze=e===void 0?!0:e}function Ns(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let En=0;class $i{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!oe||!Ze||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new $i(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,to(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=r)}return n}trigger(t){this.version++,En++,this.notify(t)}notify(t){es();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ts()}}}function to(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)to(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pr=new WeakMap,Kt=Symbol(""),Nr=Symbol(""),Tn=Symbol("");function Oe(e,t,n){if(Ze&&oe){let r=Pr.get(e);r||Pr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new rs),s.map=r,s.key=n),s.track()}}function ht(e,t,n,r,s,l){const o=Pr.get(e);if(!o){En++;return}const i=a=>{a&&a.trigger()};if(es(),t==="clear")o.forEach(i);else{const a=V(e),d=a&&zr(n);if(a&&n==="length"){const f=Number(r);o.forEach((h,_)=>{(_==="length"||_===Tn||!At(_)&&_>=f)&&i(h)})}else switch((n!==void 0||o.has(void 0))&&i(o.get(n)),d&&i(o.get(Tn)),t){case"add":a?d&&i(o.get("length")):(i(o.get(Kt)),zt(e)&&i(o.get(Nr)));break;case"delete":a||(i(o.get(Kt)),zt(e)&&i(o.get(Nr)));break;case"set":zt(e)&&i(o.get(Kt));break}}ts()}function qt(e){const t=te(e);return t===e?t:(Oe(t,"iterate",Tn),Ye(e)?t:t.map(ze))}function ir(e){return Oe(e=te(e),"iterate",Tn),e}function It(e,t){return yt(e)?rn(Bt(e)?ze(t):t):ze(t)}const Ui={__proto__:null,[Symbol.iterator](){return br(this,Symbol.iterator,e=>It(this,e))},concat(...e){return qt(this).concat(...e.map(t=>V(t)?qt(t):t))},entries(){return br(this,"entries",e=>(e[1]=It(this,e[1]),e))},every(e,t){return ft(this,"every",e,t,void 0,arguments)},filter(e,t){return ft(this,"filter",e,t,n=>n.map(r=>It(this,r)),arguments)},find(e,t){return ft(this,"find",e,t,n=>It(this,n),arguments)},findIndex(e,t){return ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ft(this,"findLast",e,t,n=>It(this,n),arguments)},findLastIndex(e,t){return ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return yr(this,"includes",e)},indexOf(...e){return yr(this,"indexOf",e)},join(e){return qt(this).join(e)},lastIndexOf(...e){return yr(this,"lastIndexOf",e)},map(e,t){return ft(this,"map",e,t,void 0,arguments)},pop(){return cn(this,"pop")},push(...e){return cn(this,"push",e)},reduce(e,...t){return Rs(this,"reduce",e,t)},reduceRight(e,...t){return Rs(this,"reduceRight",e,t)},shift(){return cn(this,"shift")},some(e,t){return ft(this,"some",e,t,void 0,arguments)},splice(...e){return cn(this,"splice",e)},toReversed(){return qt(this).toReversed()},toSorted(e){return qt(this).toSorted(e)},toSpliced(...e){return qt(this).toSpliced(...e)},unshift(...e){return cn(this,"unshift",e)},values(){return br(this,"values",e=>It(this,e))}};function br(e,t,n){const r=ir(e),s=r[t]();return r!==e&&!Ye(e)&&(s._next=s.next,s.next=()=>{const l=s._next();return l.done||(l.value=n(l.value)),l}),s}const Wi=Array.prototype;function ft(e,t,n,r,s,l){const o=ir(e),i=o!==e&&!Ye(e),a=o[t];if(a!==Wi[t]){const h=a.apply(e,l);return i?ze(h):h}let d=n;o!==e&&(i?d=function(h,_){return n.call(this,It(e,h),_,e)}:n.length>2&&(d=function(h,_){return n.call(this,h,_,e)}));const f=a.call(o,d,r);return i&&s?s(f):f}function Rs(e,t,n,r){const s=ir(e);let l=n;return s!==e&&(Ye(e)?n.length>3&&(l=function(o,i,a){return n.call(this,o,i,a,e)}):l=function(o,i,a){return n.call(this,o,It(e,i),a,e)}),s[t](l,...r)}function yr(e,t,n){const r=te(e);Oe(r,"iterate",Tn);const s=r[t](...n);return(s===-1||s===!1)&&is(n[0])?(n[0]=te(n[0]),r[t](...n)):s}function cn(e,t,n=[]){_t(),es();const r=te(e)[t].apply(e,n);return ts(),bt(),r}const Hi=Xr("__proto__,__v_isRef,__isVue"),no=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At));function ji(e){At(e)||(e=String(e));const t=te(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class ro{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(s?l?Zi:io:l?oo:lo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=V(t);if(!s){let a;if(o&&(a=Ui[n]))return a;if(n==="hasOwnProperty")return ji}const i=Reflect.get(t,n,_e(t)?t:r);if((At(n)?no.has(n):Hi(n))||(s||Oe(t,"get",n),l))return i;if(_e(i)){const a=o&&zr(n)?i:i.value;return s&&ue(a)?kr(a):a}return ue(i)?s?kr(i):ls(i):i}}class so extends ro{constructor(t=!1){super(!1,t)}set(t,n,r,s){let l=t[n];const o=V(t)&&zr(n);if(!this._isShallow){const d=yt(l);if(!Ye(r)&&!yt(r)&&(l=te(l),r=te(r)),!o&&_e(l)&&!_e(r))return d||(l.value=r),!0}const i=o?Number(n)<t.length:ne(t,n),a=Reflect.set(t,n,r,_e(t)?t:s);return t===te(s)&&(i?Pt(r,l)&&ht(t,"set",n,r):ht(t,"add",n,r)),a}deleteProperty(t,n){const r=ne(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&ht(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!At(n)||!no.has(n))&&Oe(t,"has",n),r}ownKeys(t){return Oe(t,"iterate",V(t)?"length":Kt),Reflect.ownKeys(t)}}class Vi extends ro{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ki=new so,Bi=new Vi,Gi=new so(!0);const Rr=e=>e,Dn=e=>Reflect.getPrototypeOf(e);function Yi(e,t,n){return function(...r){const s=this.__v_raw,l=te(s),o=zt(l),i=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=s[e](...r),f=n?Rr:t?rn:ze;return!t&&Oe(l,"iterate",a?Nr:Kt),Le(Object.create(d),{next(){const{value:h,done:_}=d.next();return _?{value:h,done:_}:{value:i?[f(h[0]),f(h[1])]:f(h),done:_}}})}}function $n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ji(e,t){const n={get(s){const l=this.__v_raw,o=te(l),i=te(s);e||(Pt(s,i)&&Oe(o,"get",s),Oe(o,"get",i));const{has:a}=Dn(o),d=t?Rr:e?rn:ze;if(a.call(o,s))return d(l.get(s));if(a.call(o,i))return d(l.get(i));l!==o&&l.get(s)},get size(){const s=this.__v_raw;return!e&&Oe(te(s),"iterate",Kt),s.size},has(s){const l=this.__v_raw,o=te(l),i=te(s);return e||(Pt(s,i)&&Oe(o,"has",s),Oe(o,"has",i)),s===i?l.has(s):l.has(s)||l.has(i)},forEach(s,l){const o=this,i=o.__v_raw,a=te(i),d=t?Rr:e?rn:ze;return!e&&Oe(a,"iterate",Kt),i.forEach((f,h)=>s.call(l,d(f),d(h),o))}};return Le(n,e?{add:$n("add"),set:$n("set"),delete:$n("delete"),clear:$n("clear")}:{add(s){!t&&!Ye(s)&&!yt(s)&&(s=te(s));const l=te(this);return Dn(l).has.call(l,s)||(l.add(s),ht(l,"add",s,s)),this},set(s,l){!t&&!Ye(l)&&!yt(l)&&(l=te(l));const o=te(this),{has:i,get:a}=Dn(o);let d=i.call(o,s);d||(s=te(s),d=i.call(o,s));const f=a.call(o,s);return o.set(s,l),d?Pt(l,f)&&ht(o,"set",s,l):ht(o,"add",s,l),this},delete(s){const l=te(this),{has:o,get:i}=Dn(l);let a=o.call(l,s);a||(s=te(s),a=o.call(l,s)),i&&i.call(l,s);const d=l.delete(s);return a&&ht(l,"delete",s,void 0),d},clear(){const s=te(this),l=s.size!==0,o=s.clear();return l&&ht(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Yi(s,e,t)}),n}function ss(e,t){const n=Ji(e,t);return(r,s,l)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ne(n,s)&&s in r?n:r,s,l)}const qi={get:ss(!1,!1)},Xi={get:ss(!1,!0)},Qi={get:ss(!0,!1)};const lo=new WeakMap,oo=new WeakMap,io=new WeakMap,Zi=new WeakMap;function zi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ea(e){return e.__v_skip||!Object.isExtensible(e)?0:zi(Li(e))}function ls(e){return yt(e)?e:os(e,!1,Ki,qi,lo)}function ta(e){return os(e,!1,Gi,Xi,oo)}function kr(e){return os(e,!0,Bi,Qi,io)}function os(e,t,n,r,s){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=ea(e);if(l===0)return e;const o=s.get(e);if(o)return o;const i=new Proxy(e,l===2?r:n);return s.set(e,i),i}function Bt(e){return yt(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Ye(e){return!!(e&&e.__v_isShallow)}function is(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function na(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Vl(e,"__v_skip",!0),e}const ze=e=>ue(e)?ls(e):e,rn=e=>ue(e)?kr(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function se(e){return ao(e,!1)}function ra(e){return ao(e,!0)}function ao(e,t){return _e(e)?e:new sa(e,t)}class sa{constructor(t,n){this.dep=new rs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ye(t)||yt(t);t=r?t:te(t),Pt(t,n)&&(this._rawValue=t,this._value=r?t:ze(t),this.dep.trigger())}}function H(e){return _e(e)?e.value:e}const la={get:(e,t,n)=>t==="__v_raw"?e:H(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function co(e){return Bt(e)?e:new Proxy(e,la)}class oa{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new rs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=En-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return Xl(this,!0),!0}get value(){const t=this.dep.track();return zl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ia(e,t,n=!1){let r,s;return G(e)?r=e:(r=e.get,s=e.set),new oa(r,s,n)}const Un={},Yn=new WeakMap;let jt;function aa(e,t=!1,n=jt){if(n){let r=Yn.get(n);r||Yn.set(n,r=[]),r.push(e)}}function ca(e,t,n=ie){const{immediate:r,deep:s,once:l,scheduler:o,augmentJob:i,call:a}=n,d=m=>s?m:Ye(m)||s===!1||s===0?Ot(m,1):Ot(m);let f,h,_,I,A=!1,N=!1;if(_e(e)?(h=()=>e.value,A=Ye(e)):Bt(e)?(h=()=>d(e),A=!0):V(e)?(N=!0,A=e.some(m=>Bt(m)||Ye(m)),h=()=>e.map(m=>{if(_e(m))return m.value;if(Bt(m))return d(m);if(G(m))return a?a(m,2):m()})):G(e)?t?h=a?()=>a(e,2):e:h=()=>{if(_){_t();try{_()}finally{bt()}}const m=jt;jt=f;try{return a?a(e,3,[I]):e(I)}finally{jt=m}}:h=it,t&&s){const m=h,C=s===!0?1/0:s;h=()=>Ot(m(),C)}const F=Fi(),v=()=>{f.stop(),F&&F.active&&Zr(F.effects,f)};if(l&&t){const m=t;t=(...C)=>{m(...C),v()}}let E=N?new Array(e.length).fill(Un):Un;const T=m=>{if(!(!(f.flags&1)||!f.dirty&&!m))if(t){const C=f.run();if(s||A||(N?C.some((M,k)=>Pt(M,E[k])):Pt(C,E))){_&&_();const M=jt;jt=f;try{const k=[C,E===Un?void 0:N&&E[0]===Un?[]:E,I];E=C,a?a(t,3,k):t(...k)}finally{jt=M}}}else f.run()};return i&&i(T),f=new Jl(h),f.scheduler=o?()=>o(T,!1):T,I=m=>aa(m,!1,f),_=f.onStop=()=>{const m=Yn.get(f);if(m){if(a)a(m,4);else for(const C of m)C();Yn.delete(f)}},t?r?T(!0):E=f.run():o?o(T.bind(null,!0),!0):f.run(),v.pause=f.pause.bind(f),v.resume=f.resume.bind(f),v.stop=v,v}function Ot(e,t=1/0,n){if(t<=0||!ue(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))Ot(e.value,t,n);else if(V(e))for(let r=0;r<e.length;r++)Ot(e[r],t,n);else if($l(e)||zt(e))e.forEach(r=>{Ot(r,t,n)});else if(Hl(e)){for(const r in e)Ot(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ot(e[r],t,n)}return e}function kn(e,t,n,r){try{return r?e(...r):e()}catch(s){ar(s,t,n)}}function ct(e,t,n,r){if(G(e)){const s=kn(e,t,n,r);return s&&Ul(s)&&s.catch(l=>{ar(l,t,n)}),s}if(V(e)){const s=[];for(let l=0;l<e.length;l++)s.push(ct(e[l],t,n,r));return s}}function ar(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ie;if(t){let i=t.parent;const a=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const f=i.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,a,d)===!1)return}i=i.parent}if(l){_t(),kn(l,null,10,[e,a,d]),bt();return}}ua(e,n,s,r,o)}function ua(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Re=[];let st=-1;const en=[];let wt=null,Xt=0;const uo=Promise.resolve();let Jn=null;function fa(e){const t=Jn||uo;return e?t.then(this?e.bind(this):e):t}function da(e){let t=st+1,n=Re.length;for(;t<n;){const r=t+n>>>1,s=Re[r],l=Sn(s);l<e||l===e&&s.flags&2?t=r+1:n=r}return t}function as(e){if(!(e.flags&1)){const t=Sn(e),n=Re[Re.length-1];!n||!(e.flags&2)&&t>=Sn(n)?Re.push(e):Re.splice(da(t),0,e),e.flags|=1,fo()}}function fo(){Jn||(Jn=uo.then(ho))}function pa(e){V(e)?en.push(...e):wt&&e.id===-1?wt.splice(Xt+1,0,e):e.flags&1||(en.push(e),e.flags|=1),fo()}function ks(e,t,n=st+1){for(;n<Re.length;n++){const r=Re[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Re.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function po(e){if(en.length){const t=[...new Set(en)].sort((n,r)=>Sn(n)-Sn(r));if(en.length=0,wt){wt.push(...t);return}for(wt=t,Xt=0;Xt<wt.length;Xt++){const n=wt[Xt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wt=null,Xt=0}}const Sn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ho(e){try{for(st=0;st<Re.length;st++){const t=Re[st];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),kn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;st<Re.length;st++){const t=Re[st];t&&(t.flags&=-2)}st=-1,Re.length=0,po(),Jn=null,(Re.length||en.length)&&ho()}}let ot=null,mo=null;function qn(e){const t=ot;return ot=e,mo=e&&e.type.__scopeId||null,t}function ha(e,t=ot,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Zn(-1);const l=qn(t);let o;try{o=e(...s)}finally{qn(l),r._d&&Zn(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Wt(e,t,n,r){const s=e.dirs,l=t&&t.dirs;for(let o=0;o<s.length;o++){const i=s[o];l&&(i.oldValue=l[o].value);let a=i.dir[r];a&&(_t(),ct(a,n,8,[e.el,i,e,t]),bt())}}function ma(e,t){if(Ae){let n=Ae.provides;const r=Ae.parent&&Ae.parent.provides;r===n&&(n=Ae.provides=Object.create(r)),n[e]=t}}function _n(e,t,n=!1){const r=Wo();if(r||tn){let s=tn?tn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&G(t)?t.call(r&&r.proxy):t}}const ga=Symbol.for("v-scx"),_a=()=>_n(ga);function Nt(e,t,n){return go(e,t,n)}function go(e,t,n=ie){const{immediate:r,deep:s,flush:l,once:o}=n,i=Le({},n),a=t&&r||!t&&l!=="post";let d;if(In){if(l==="sync"){const I=_a();d=I.__watcherHandles||(I.__watcherHandles=[])}else if(!a){const I=()=>{};return I.stop=it,I.resume=it,I.pause=it,I}}const f=Ae;i.call=(I,A,N)=>ct(I,f,A,N);let h=!1;l==="post"?i.scheduler=I=>{We(I,f&&f.suspense)}:l!=="sync"&&(h=!0,i.scheduler=(I,A)=>{A?I():as(I)}),i.augmentJob=I=>{t&&(I.flags|=4),h&&(I.flags|=2,f&&(I.id=f.uid,I.i=f))};const _=ca(e,t,i);return In&&(d?d.push(_):a&&_()),_}function ba(e,t,n){const r=this.proxy,s=ve(e)?e.includes(".")?_o(r,e):()=>r[e]:e.bind(r,r);let l;G(t)?l=t:(l=t.handler,n=t);const o=Fn(this),i=go(s,l.bind(r),n);return o(),i}function _o(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const ya=Symbol("_vte"),va=e=>e.__isTeleport,xa=Symbol("_leaveCb");function cs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,cs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function vt(e,t){return G(e)?Le({name:e.name},t,{setup:e}):e}function bo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Xn=new WeakMap;function bn(e,t,n,r,s=!1){if(V(e)){e.forEach((A,N)=>bn(A,t&&(V(t)?t[N]:t),n,r,s));return}if(yn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&bn(e,t,n,r.component.subTree);return}const l=r.shapeFlag&4?gs(r.component):r.el,o=s?null:l,{i,r:a}=e,d=t&&t.r,f=i.refs===ie?i.refs={}:i.refs,h=i.setupState,_=te(h),I=h===ie?Dl:A=>ne(_,A);if(d!=null&&d!==a){if(As(t),ve(d))f[d]=null,I(d)&&(h[d]=null);else if(_e(d)){d.value=null;const A=t;A.k&&(f[A.k]=null)}}if(G(a))kn(a,i,12,[o,f]);else{const A=ve(a),N=_e(a);if(A||N){const F=()=>{if(e.f){const v=A?I(a)?h[a]:f[a]:a.value;if(s)V(v)&&Zr(v,l);else if(V(v))v.includes(l)||v.push(l);else if(A)f[a]=[l],I(a)&&(h[a]=f[a]);else{const E=[l];a.value=E,e.k&&(f[e.k]=E)}}else A?(f[a]=o,I(a)&&(h[a]=o)):N&&(a.value=o,e.k&&(f[e.k]=o))};if(o){const v=()=>{F(),Xn.delete(e)};v.id=-1,Xn.set(e,v),We(v,n)}else As(e),F()}}}function As(e){const t=Xn.get(e);t&&(t.flags|=8,Xn.delete(e))}or().requestIdleCallback;or().cancelIdleCallback;const yn=e=>!!e.type.__asyncLoader,yo=e=>e.type.__isKeepAlive;function Ea(e,t){vo(e,"a",t)}function Ta(e,t){vo(e,"da",t)}function vo(e,t,n=Ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(cr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)yo(s.parent.vnode)&&Sa(r,t,n,s),s=s.parent}}function Sa(e,t,n,r){const s=cr(t,e,r,!0);fs(()=>{Zr(r[t],s)},n)}function cr(e,t,n=Ae,r=!1){if(n){const s=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{_t();const i=Fn(n),a=ct(t,n,e,o);return i(),bt(),a});return r?s.unshift(l):s.push(l),l}}const xt=e=>(t,n=Ae)=>{(!In||e==="sp")&&cr(e,(...r)=>t(...r),n)},La=xt("bm"),An=xt("m"),Ia=xt("bu"),wa=xt("u"),us=xt("bum"),fs=xt("um"),Ca=xt("sp"),Oa=xt("rtg"),Pa=xt("rtc");function Na(e,t=Ae){cr("ec",e,t)}const Ra=Symbol.for("v-ndc");function ds(e,t,n,r){let s;const l=n,o=V(e);if(o||ve(e)){const i=o&&Bt(e);let a=!1,d=!1;i&&(a=!Ye(e),d=yt(e),e=ir(e)),s=new Array(e.length);for(let f=0,h=e.length;f<h;f++)s[f]=t(a?d?rn(ze(e[f])):ze(e[f]):e[f],f,void 0,l)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,l)}else if(ue(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,l));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,d=i.length;a<d;a++){const f=i[a];s[a]=t(e[f],f,a,l)}}else s=[];return s}const Ar=e=>e?Ho(e)?gs(e):Ar(e.parent):null,vn=Le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ar(e.parent),$root:e=>Ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Eo(e),$forceUpdate:e=>e.f||(e.f=()=>{as(e.update)}),$nextTick:e=>e.n||(e.n=fa.bind(e.proxy)),$watch:e=>ba.bind(e)}),vr=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),ka={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:l,accessCache:o,type:i,appContext:a}=e;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return l[t]}else{if(vr(r,t))return o[t]=1,r[t];if(s!==ie&&ne(s,t))return o[t]=2,s[t];if(ne(l,t))return o[t]=3,l[t];if(n!==ie&&ne(n,t))return o[t]=4,n[t];Mr&&(o[t]=0)}}const d=vn[t];let f,h;if(d)return t==="$attrs"&&Oe(e.attrs,"get",""),d(e);if((f=i.__cssModules)&&(f=f[t]))return f;if(n!==ie&&ne(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,ne(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:l}=e;return vr(s,t)?(s[t]=n,!0):r!==ie&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:l,type:o}},i){let a;return!!(n[i]||e!==ie&&i[0]!=="$"&&ne(e,i)||vr(t,i)||ne(l,i)||ne(r,i)||ne(vn,i)||ne(s.config.globalProperties,i)||(a=o.__cssModules)&&a[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ms(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mr=!0;function Aa(e){const t=Eo(e),n=e.proxy,r=e.ctx;Mr=!1,t.beforeCreate&&Fs(t.beforeCreate,e,"bc");const{data:s,computed:l,methods:o,watch:i,provide:a,inject:d,created:f,beforeMount:h,mounted:_,beforeUpdate:I,updated:A,activated:N,deactivated:F,beforeDestroy:v,beforeUnmount:E,destroyed:T,unmounted:m,render:C,renderTracked:M,renderTriggered:k,errorCaptured:B,serverPrefetch:K,expose:fe,inheritAttrs:xe,components:re,directives:$e,filters:ut}=t;if(d&&Ma(d,r,null),o)for(const Q in o){const q=o[Q];G(q)&&(r[Q]=q.bind(n))}if(s){const Q=s.call(n,n);ue(Q)&&(e.data=ls(Q))}if(Mr=!0,l)for(const Q in l){const q=l[Q],be=G(q)?q.bind(n,n):G(q.get)?q.get.bind(n,n):it,Ve=!G(q)&&G(q.set)?q.set.bind(n):it,Me=Pe({get:be,set:Ve});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Me.value,set:Ie=>Me.value=Ie})}if(i)for(const Q in i)xo(i[Q],r,n,Q);if(a){const Q=G(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(q=>{ma(q,Q[q])})}f&&Fs(f,e,"c");function he(Q,q){V(q)?q.forEach(be=>Q(be.bind(n))):q&&Q(q.bind(n))}if(he(La,h),he(An,_),he(Ia,I),he(wa,A),he(Ea,N),he(Ta,F),he(Na,B),he(Pa,M),he(Oa,k),he(us,E),he(fs,m),he(Ca,K),V(fe))if(fe.length){const Q=e.exposed||(e.exposed={});fe.forEach(q=>{Object.defineProperty(Q,q,{get:()=>n[q],set:be=>n[q]=be,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===it&&(e.render=C),xe!=null&&(e.inheritAttrs=xe),re&&(e.components=re),$e&&(e.directives=$e),K&&bo(e)}function Ma(e,t,n=it){V(e)&&(e=Fr(e));for(const r in e){const s=e[r];let l;ue(s)?"default"in s?l=_n(s.from||r,s.default,!0):l=_n(s.from||r):l=_n(s),_e(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[r]=l}}function Fs(e,t,n){ct(V(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function xo(e,t,n,r){let s=r.includes(".")?_o(n,r):()=>n[r];if(ve(e)){const l=t[e];G(l)&&Nt(s,l)}else if(G(e))Nt(s,e.bind(n));else if(ue(e))if(V(e))e.forEach(l=>xo(l,t,n,r));else{const l=G(e.handler)?e.handler.bind(n):t[e.handler];G(l)&&Nt(s,l,e)}}function Eo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,i=l.get(t);let a;return i?a=i:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(d=>Qn(a,d,o,!0)),Qn(a,t,o)),ue(t)&&l.set(t,a),a}function Qn(e,t,n,r=!1){const{mixins:s,extends:l}=t;l&&Qn(e,l,n,!0),s&&s.forEach(o=>Qn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const i=Fa[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const Fa={data:Ds,props:$s,emits:$s,methods:pn,computed:pn,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:pn,directives:pn,watch:$a,provide:Ds,inject:Da};function Ds(e,t){return t?e?function(){return Le(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Da(e,t){return pn(Fr(e),Fr(t))}function Fr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ne(e,t){return e?[...new Set([].concat(e,t))]:t}function pn(e,t){return e?Le(Object.create(null),e,t):t}function $s(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:Le(Object.create(null),Ms(e),Ms(t??{})):t}function $a(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=Ne(e[r],t[r]);return n}function To(){return{app:null,config:{isNativeTag:Dl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ua=0;function Wa(e,t){return function(r,s=null){G(r)||(r=Le({},r)),s!=null&&!ue(s)&&(s=null);const l=To(),o=new WeakSet,i=[];let a=!1;const d=l.app={_uid:Ua++,_component:r,_props:s,_container:null,_context:l,_instance:null,version:_c,get config(){return l.config},set config(f){},use(f,...h){return o.has(f)||(f&&G(f.install)?(o.add(f),f.install(d,...h)):G(f)&&(o.add(f),f(d,...h))),d},mixin(f){return l.mixins.includes(f)||l.mixins.push(f),d},component(f,h){return h?(l.components[f]=h,d):l.components[f]},directive(f,h){return h?(l.directives[f]=h,d):l.directives[f]},mount(f,h,_){if(!a){const I=d._ceVNode||Se(r,s);return I.appContext=l,_===!0?_="svg":_===!1&&(_=void 0),e(I,f,_),a=!0,d._container=f,f.__vue_app__=d,gs(I.component)}},onUnmount(f){i.push(f)},unmount(){a&&(ct(i,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,h){return l.provides[f]=h,d},runWithContext(f){const h=tn;tn=d;try{return f()}finally{tn=h}}};return d}}let tn=null;const Ha=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rt(t)}Modifiers`]||e[`${Yt(t)}Modifiers`];function ja(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ie;let s=n;const l=t.startsWith("update:"),o=l&&Ha(r,t.slice(7));o&&(o.trim&&(s=n.map(f=>ve(f)?f.trim():f)),o.number&&(s=n.map(Ci)));let i,a=r[i=hr(t)]||r[i=hr(Rt(t))];!a&&l&&(a=r[i=hr(Yt(t))]),a&&ct(a,e,6,s);const d=r[i+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(d,e,6,s)}}const Va=new WeakMap;function So(e,t,n=!1){const r=n?Va:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const l=e.emits;let o={},i=!1;if(!G(e)){const a=d=>{const f=So(d,t,!0);f&&(i=!0,Le(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!i?(ue(e)&&r.set(e,null),null):(V(l)?l.forEach(a=>o[a]=null):Le(o,l),ue(e)&&r.set(e,o),o)}function ur(e,t){return!e||!rr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Yt(t))||ne(e,t))}function Us(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[l],slots:o,attrs:i,emit:a,render:d,renderCache:f,props:h,data:_,setupState:I,ctx:A,inheritAttrs:N}=e,F=qn(e);let v,E;try{if(n.shapeFlag&4){const m=s||r,C=m;v=lt(d.call(C,m,f,h,I,_,A)),E=i}else{const m=t;v=lt(m.length>1?m(h,{attrs:i,slots:o,emit:a}):m(h,null)),E=t.props?i:Ka(i)}}catch(m){xn.length=0,ar(m,e,1),v=Se(kt)}let T=v;if(E&&N!==!1){const m=Object.keys(E),{shapeFlag:C}=T;m.length&&C&7&&(l&&m.some(Qr)&&(E=Ba(E,l)),T=sn(T,E,!1,!0))}return n.dirs&&(T=sn(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&cs(T,n.transition),v=T,qn(F),v}const Ka=e=>{let t;for(const n in e)(n==="class"||n==="style"||rr(n))&&((t||(t={}))[n]=e[n]);return t},Ba=(e,t)=>{const n={};for(const r in e)(!Qr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ga(e,t,n){const{props:r,children:s,component:l}=e,{props:o,children:i,patchFlag:a}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Ws(r,o,d):!!o;if(a&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const _=f[h];if(o[_]!==r[_]&&!ur(d,_))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===o?!1:r?o?Ws(r,o,d):!0:!!o;return!1}function Ws(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const l=r[s];if(t[l]!==e[l]&&!ur(n,l))return!0}return!1}function Ya({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Lo={},Io=()=>Object.create(Lo),wo=e=>Object.getPrototypeOf(e)===Lo;function Ja(e,t,n,r=!1){const s={},l=Io();e.propsDefaults=Object.create(null),Co(e,t,s,l);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:ta(s):e.type.props?e.props=s:e.props=l,e.attrs=l}function qa(e,t,n,r){const{props:s,attrs:l,vnode:{patchFlag:o}}=e,i=te(s),[a]=e.propsOptions;let d=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let _=f[h];if(ur(e.emitsOptions,_))continue;const I=t[_];if(a)if(ne(l,_))I!==l[_]&&(l[_]=I,d=!0);else{const A=Rt(_);s[A]=Dr(a,i,A,I,e,!1)}else I!==l[_]&&(l[_]=I,d=!0)}}}else{Co(e,t,s,l)&&(d=!0);let f;for(const h in i)(!t||!ne(t,h)&&((f=Yt(h))===h||!ne(t,f)))&&(a?n&&(n[h]!==void 0||n[f]!==void 0)&&(s[h]=Dr(a,i,h,void 0,e,!0)):delete s[h]);if(l!==i)for(const h in l)(!t||!ne(t,h))&&(delete l[h],d=!0)}d&&ht(e.attrs,"set","")}function Co(e,t,n,r){const[s,l]=e.propsOptions;let o=!1,i;if(t)for(let a in t){if(hn(a))continue;const d=t[a];let f;s&&ne(s,f=Rt(a))?!l||!l.includes(f)?n[f]=d:(i||(i={}))[f]=d:ur(e.emitsOptions,a)||(!(a in r)||d!==r[a])&&(r[a]=d,o=!0)}if(l){const a=te(n),d=i||ie;for(let f=0;f<l.length;f++){const h=l[f];n[h]=Dr(s,a,h,d[h],e,!ne(d,h))}}return o}function Dr(e,t,n,r,s,l){const o=e[n];if(o!=null){const i=ne(o,"default");if(i&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&G(a)){const{propsDefaults:d}=s;if(n in d)r=d[n];else{const f=Fn(s);r=d[n]=a.call(null,t),f()}}else r=a;s.ce&&s.ce._setProp(n,r)}o[0]&&(l&&!i?r=!1:o[1]&&(r===""||r===Yt(n))&&(r=!0))}return r}const Xa=new WeakMap;function Oo(e,t,n=!1){const r=n?Xa:t.propsCache,s=r.get(e);if(s)return s;const l=e.props,o={},i=[];let a=!1;if(!G(e)){const f=h=>{a=!0;const[_,I]=Oo(h,t,!0);Le(o,_),I&&i.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!l&&!a)return ue(e)&&r.set(e,Zt),Zt;if(V(l))for(let f=0;f<l.length;f++){const h=Rt(l[f]);Hs(h)&&(o[h]=ie)}else if(l)for(const f in l){const h=Rt(f);if(Hs(h)){const _=l[f],I=o[h]=V(_)||G(_)?{type:_}:Le({},_),A=I.type;let N=!1,F=!0;if(V(A))for(let v=0;v<A.length;++v){const E=A[v],T=G(E)&&E.name;if(T==="Boolean"){N=!0;break}else T==="String"&&(F=!1)}else N=G(A)&&A.name==="Boolean";I[0]=N,I[1]=F,(N||ne(I,"default"))&&i.push(h)}}const d=[o,i];return ue(e)&&r.set(e,d),d}function Hs(e){return e[0]!=="$"&&!hn(e)}const ps=e=>e==="_"||e==="_ctx"||e==="$stable",hs=e=>V(e)?e.map(lt):[lt(e)],Qa=(e,t,n)=>{if(t._n)return t;const r=ha((...s)=>hs(t(...s)),n);return r._c=!1,r},Po=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ps(s))continue;const l=e[s];if(G(l))t[s]=Qa(s,l,r);else if(l!=null){const o=hs(l);t[s]=()=>o}}},No=(e,t)=>{const n=hs(t);e.slots.default=()=>n},Ro=(e,t,n)=>{for(const r in t)(n||!ps(r))&&(e[r]=t[r])},Za=(e,t,n)=>{const r=e.slots=Io();if(e.vnode.shapeFlag&32){const s=t._;s?(Ro(r,t,n),n&&Vl(r,"_",s,!0)):Po(t,r)}else t&&No(e,t)},za=(e,t,n)=>{const{vnode:r,slots:s}=e;let l=!0,o=ie;if(r.shapeFlag&32){const i=t._;i?n&&i===1?l=!1:Ro(s,t,n):(l=!t.$stable,Po(t,s)),o=t}else t&&(No(e,t),o={default:1});if(l)for(const i in s)!ps(i)&&o[i]==null&&delete s[i]},We=sc;function ec(e){return tc(e)}function tc(e,t){const n=or();n.__VUE__=!0;const{insert:r,remove:s,patchProp:l,createElement:o,createText:i,createComment:a,setText:d,setElementText:f,parentNode:h,nextSibling:_,setScopeId:I=it,insertStaticContent:A}=e,N=(p,g,L,R=null,O=null,w=null,c=void 0,u=null,b=!!g.dynamicChildren)=>{if(p===g)return;p&&!un(p,g)&&(R=Je(p),Ie(p,O,w,!0),p=null),g.patchFlag===-2&&(b=!1,g.dynamicChildren=null);const{type:x,ref:$,shapeFlag:P}=g;switch(x){case Mn:F(p,g,L,R);break;case kt:v(p,g,L,R);break;case Er:p==null&&E(g,L,R,c);break;case ke:re(p,g,L,R,O,w,c,u,b);break;default:P&1?C(p,g,L,R,O,w,c,u,b):P&6?$e(p,g,L,R,O,w,c,u,b):(P&64||P&128)&&x.process(p,g,L,R,O,w,c,u,b,Ke)}$!=null&&O?bn($,p&&p.ref,w,g||p,!g):$==null&&p&&p.ref!=null&&bn(p.ref,null,w,p,!0)},F=(p,g,L,R)=>{if(p==null)r(g.el=i(g.children),L,R);else{const O=g.el=p.el;g.children!==p.children&&d(O,g.children)}},v=(p,g,L,R)=>{p==null?r(g.el=a(g.children||""),L,R):g.el=p.el},E=(p,g,L,R)=>{[p.el,p.anchor]=A(p.children,g,L,R,p.el,p.anchor)},T=({el:p,anchor:g},L,R)=>{let O;for(;p&&p!==g;)O=_(p),r(p,L,R),p=O;r(g,L,R)},m=({el:p,anchor:g})=>{let L;for(;p&&p!==g;)L=_(p),s(p),p=L;s(g)},C=(p,g,L,R,O,w,c,u,b)=>{if(g.type==="svg"?c="svg":g.type==="math"&&(c="mathml"),p==null)M(g,L,R,O,w,c,u,b);else{const x=p.el&&p.el._isVueCE?p.el:null;try{x&&x._beginPatch(),K(p,g,O,w,c,u,b)}finally{x&&x._endPatch()}}},M=(p,g,L,R,O,w,c,u)=>{let b,x;const{props:$,shapeFlag:P,transition:y,dirs:S}=p;if(b=p.el=o(p.type,w,$&&$.is,$),P&8?f(b,p.children):P&16&&B(p.children,b,null,R,O,xr(p,w),c,u),S&&Wt(p,null,R,"created"),k(b,p,p.scopeId,c,R),$){for(const j in $)j!=="value"&&!hn(j)&&l(b,j,null,$[j],w,R);"value"in $&&l(b,"value",null,$.value,w),(x=$.onVnodeBeforeMount)&&tt(x,R,p)}S&&Wt(p,null,R,"beforeMount");const W=nc(O,y);W&&y.beforeEnter(b),r(b,g,L),((x=$&&$.onVnodeMounted)||W||S)&&We(()=>{x&&tt(x,R,p),W&&y.enter(b),S&&Wt(p,null,R,"mounted")},O)},k=(p,g,L,R,O)=>{if(L&&I(p,L),R)for(let w=0;w<R.length;w++)I(p,R[w]);if(O){let w=O.subTree;if(g===w||Fo(w.type)&&(w.ssContent===g||w.ssFallback===g)){const c=O.vnode;k(p,c,c.scopeId,c.slotScopeIds,O.parent)}}},B=(p,g,L,R,O,w,c,u,b=0)=>{for(let x=b;x<p.length;x++){const $=p[x]=u?Ct(p[x]):lt(p[x]);N(null,$,g,L,R,O,w,c,u)}},K=(p,g,L,R,O,w,c)=>{const u=g.el=p.el;let{patchFlag:b,dynamicChildren:x,dirs:$}=g;b|=p.patchFlag&16;const P=p.props||ie,y=g.props||ie;let S;if(L&&Ht(L,!1),(S=y.onVnodeBeforeUpdate)&&tt(S,L,g,p),$&&Wt(g,p,L,"beforeUpdate"),L&&Ht(L,!0),(P.innerHTML&&y.innerHTML==null||P.textContent&&y.textContent==null)&&f(u,""),x?fe(p.dynamicChildren,x,u,L,R,xr(g,O),w):c||q(p,g,u,null,L,R,xr(g,O),w,!1),b>0){if(b&16)xe(u,P,y,L,O);else if(b&2&&P.class!==y.class&&l(u,"class",null,y.class,O),b&4&&l(u,"style",P.style,y.style,O),b&8){const W=g.dynamicProps;for(let j=0;j<W.length;j++){const Y=W[j],Ee=P[Y],me=y[Y];(me!==Ee||Y==="value")&&l(u,Y,Ee,me,O,L)}}b&1&&p.children!==g.children&&f(u,g.children)}else!c&&x==null&&xe(u,P,y,L,O);((S=y.onVnodeUpdated)||$)&&We(()=>{S&&tt(S,L,g,p),$&&Wt(g,p,L,"updated")},R)},fe=(p,g,L,R,O,w,c)=>{for(let u=0;u<g.length;u++){const b=p[u],x=g[u],$=b.el&&(b.type===ke||!un(b,x)||b.shapeFlag&198)?h(b.el):L;N(b,x,$,null,R,O,w,c,!0)}},xe=(p,g,L,R,O)=>{if(g!==L){if(g!==ie)for(const w in g)!hn(w)&&!(w in L)&&l(p,w,g[w],null,O,R);for(const w in L){if(hn(w))continue;const c=L[w],u=g[w];c!==u&&w!=="value"&&l(p,w,u,c,O,R)}"value"in L&&l(p,"value",g.value,L.value,O)}},re=(p,g,L,R,O,w,c,u,b)=>{const x=g.el=p?p.el:i(""),$=g.anchor=p?p.anchor:i("");let{patchFlag:P,dynamicChildren:y,slotScopeIds:S}=g;S&&(u=u?u.concat(S):S),p==null?(r(x,L,R),r($,L,R),B(g.children||[],L,$,O,w,c,u,b)):P>0&&P&64&&y&&p.dynamicChildren&&p.dynamicChildren.length===y.length?(fe(p.dynamicChildren,y,L,O,w,c,u),(g.key!=null||O&&g===O.subTree)&&ko(p,g,!0)):q(p,g,L,$,O,w,c,u,b)},$e=(p,g,L,R,O,w,c,u,b)=>{g.slotScopeIds=u,p==null?g.shapeFlag&512?O.ctx.activate(g,L,R,c,b):ut(g,L,R,O,w,c,b):Tt(p,g,b)},ut=(p,g,L,R,O,w,c)=>{const u=p.component=fc(p,R,O);if(yo(p)&&(u.ctx.renderer=Ke),dc(u,!1,c),u.asyncDep){if(O&&O.registerDep(u,he,c),!p.el){const b=u.subTree=Se(kt);v(null,b,g,L),p.placeholder=b.el}}else he(u,p,g,L,O,w,c)},Tt=(p,g,L)=>{const R=g.component=p.component;if(Ga(p,g,L))if(R.asyncDep&&!R.asyncResolved){Q(R,g,L);return}else R.next=g,R.update();else g.el=p.el,R.vnode=g},he=(p,g,L,R,O,w,c)=>{const u=()=>{if(p.isMounted){let{next:P,bu:y,u:S,parent:W,vnode:j}=p;{const Xe=Ao(p);if(Xe){P&&(P.el=j.el,Q(p,P,c)),Xe.asyncDep.then(()=>{p.isUnmounted||u()});return}}let Y=P,Ee;Ht(p,!1),P?(P.el=j.el,Q(p,P,c)):P=j,y&&mr(y),(Ee=P.props&&P.props.onVnodeBeforeUpdate)&&tt(Ee,W,P,j),Ht(p,!0);const me=Us(p),Be=p.subTree;p.subTree=me,N(Be,me,h(Be.el),Je(Be),p,O,w),P.el=me.el,Y===null&&Ya(p,me.el),S&&We(S,O),(Ee=P.props&&P.props.onVnodeUpdated)&&We(()=>tt(Ee,W,P,j),O)}else{let P;const{el:y,props:S}=g,{bm:W,m:j,parent:Y,root:Ee,type:me}=p,Be=yn(g);Ht(p,!1),W&&mr(W),!Be&&(P=S&&S.onVnodeBeforeMount)&&tt(P,Y,g),Ht(p,!0);{Ee.ce&&Ee.ce._def.shadowRoot!==!1&&Ee.ce._injectChildStyle(me);const Xe=p.subTree=Us(p);N(null,Xe,L,R,p,O,w),g.el=Xe.el}if(j&&We(j,O),!Be&&(P=S&&S.onVnodeMounted)){const Xe=g;We(()=>tt(P,Y,Xe),O)}(g.shapeFlag&256||Y&&yn(Y.vnode)&&Y.vnode.shapeFlag&256)&&p.a&&We(p.a,O),p.isMounted=!0,g=L=R=null}};p.scope.on();const b=p.effect=new Jl(u);p.scope.off();const x=p.update=b.run.bind(b),$=p.job=b.runIfDirty.bind(b);$.i=p,$.id=p.uid,b.scheduler=()=>as($),Ht(p,!0),x()},Q=(p,g,L)=>{g.component=p;const R=p.vnode.props;p.vnode=g,p.next=null,qa(p,g.props,R,L),za(p,g.children,L),_t(),ks(p),bt()},q=(p,g,L,R,O,w,c,u,b=!1)=>{const x=p&&p.children,$=p?p.shapeFlag:0,P=g.children,{patchFlag:y,shapeFlag:S}=g;if(y>0){if(y&128){Ve(x,P,L,R,O,w,c,u,b);return}else if(y&256){be(x,P,L,R,O,w,c,u,b);return}}S&8?($&16&&we(x,O,w),P!==x&&f(L,P)):$&16?S&16?Ve(x,P,L,R,O,w,c,u,b):we(x,O,w,!0):($&8&&f(L,""),S&16&&B(P,L,R,O,w,c,u,b))},be=(p,g,L,R,O,w,c,u,b)=>{p=p||Zt,g=g||Zt;const x=p.length,$=g.length,P=Math.min(x,$);let y;for(y=0;y<P;y++){const S=g[y]=b?Ct(g[y]):lt(g[y]);N(p[y],S,L,null,O,w,c,u,b)}x>$?we(p,O,w,!0,!1,P):B(g,L,R,O,w,c,u,b,P)},Ve=(p,g,L,R,O,w,c,u,b)=>{let x=0;const $=g.length;let P=p.length-1,y=$-1;for(;x<=P&&x<=y;){const S=p[x],W=g[x]=b?Ct(g[x]):lt(g[x]);if(un(S,W))N(S,W,L,null,O,w,c,u,b);else break;x++}for(;x<=P&&x<=y;){const S=p[P],W=g[y]=b?Ct(g[y]):lt(g[y]);if(un(S,W))N(S,W,L,null,O,w,c,u,b);else break;P--,y--}if(x>P){if(x<=y){const S=y+1,W=S<$?g[S].el:R;for(;x<=y;)N(null,g[x]=b?Ct(g[x]):lt(g[x]),L,W,O,w,c,u,b),x++}}else if(x>y)for(;x<=P;)Ie(p[x],O,w,!0),x++;else{const S=x,W=x,j=new Map;for(x=W;x<=y;x++){const Ue=g[x]=b?Ct(g[x]):lt(g[x]);Ue.key!=null&&j.set(Ue.key,x)}let Y,Ee=0;const me=y-W+1;let Be=!1,Xe=0;const an=new Array(me);for(x=0;x<me;x++)an[x]=0;for(x=S;x<=P;x++){const Ue=p[x];if(Ee>=me){Ie(Ue,O,w,!0);continue}let et;if(Ue.key!=null)et=j.get(Ue.key);else for(Y=W;Y<=y;Y++)if(an[Y-W]===0&&un(Ue,g[Y])){et=Y;break}et===void 0?Ie(Ue,O,w,!0):(an[et-W]=x+1,et>=Xe?Xe=et:Be=!0,N(Ue,g[et],L,null,O,w,c,u,b),Ee++)}const ws=Be?rc(an):Zt;for(Y=ws.length-1,x=me-1;x>=0;x--){const Ue=W+x,et=g[Ue],Cs=g[Ue+1],Os=Ue+1<$?Cs.el||Mo(Cs):R;an[x]===0?N(null,et,L,Os,O,w,c,u,b):Be&&(Y<0||x!==ws[Y]?Me(et,L,Os,2):Y--)}}},Me=(p,g,L,R,O=null)=>{const{el:w,type:c,transition:u,children:b,shapeFlag:x}=p;if(x&6){Me(p.component.subTree,g,L,R);return}if(x&128){p.suspense.move(g,L,R);return}if(x&64){c.move(p,g,L,Ke);return}if(c===ke){r(w,g,L);for(let P=0;P<b.length;P++)Me(b[P],g,L,R);r(p.anchor,g,L);return}if(c===Er){T(p,g,L);return}if(R!==2&&x&1&&u)if(R===0)u.beforeEnter(w),r(w,g,L),We(()=>u.enter(w),O);else{const{leave:P,delayLeave:y,afterLeave:S}=u,W=()=>{p.ctx.isUnmounted?s(w):r(w,g,L)},j=()=>{w._isLeaving&&w[xa](!0),P(w,()=>{W(),S&&S()})};y?y(w,W,j):j()}else r(w,g,L)},Ie=(p,g,L,R=!1,O=!1)=>{const{type:w,props:c,ref:u,children:b,dynamicChildren:x,shapeFlag:$,patchFlag:P,dirs:y,cacheIndex:S}=p;if(P===-2&&(O=!1),u!=null&&(_t(),bn(u,null,L,p,!0),bt()),S!=null&&(g.renderCache[S]=void 0),$&256){g.ctx.deactivate(p);return}const W=$&1&&y,j=!yn(p);let Y;if(j&&(Y=c&&c.onVnodeBeforeUnmount)&&tt(Y,g,p),$&6)Jt(p.component,L,R);else{if($&128){p.suspense.unmount(L,R);return}W&&Wt(p,null,g,"beforeUnmount"),$&64?p.type.remove(p,g,L,Ke,R):x&&!x.hasOnce&&(w!==ke||P>0&&P&64)?we(x,g,L,!1,!0):(w===ke&&P&384||!O&&$&16)&&we(b,g,L),R&&St(p)}(j&&(Y=c&&c.onVnodeUnmounted)||W)&&We(()=>{Y&&tt(Y,g,p),W&&Wt(p,null,g,"unmounted")},L)},St=p=>{const{type:g,el:L,anchor:R,transition:O}=p;if(g===ke){$t(L,R);return}if(g===Er){m(p);return}const w=()=>{s(L),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(p.shapeFlag&1&&O&&!O.persisted){const{leave:c,delayLeave:u}=O,b=()=>c(L,w);u?u(p.el,w,b):b()}else w()},$t=(p,g)=>{let L;for(;p!==g;)L=_(p),s(p),p=L;s(g)},Jt=(p,g,L)=>{const{bum:R,scope:O,job:w,subTree:c,um:u,m:b,a:x}=p;js(b),js(x),R&&mr(R),O.stop(),w&&(w.flags|=8,Ie(c,p,g,L)),u&&We(u,g),We(()=>{p.isUnmounted=!0},g)},we=(p,g,L,R=!1,O=!1,w=0)=>{for(let c=w;c<p.length;c++)Ie(p[c],g,L,R,O)},Je=p=>{if(p.shapeFlag&6)return Je(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const g=_(p.anchor||p.el),L=g&&g[ya];return L?_(L):g};let qe=!1;const Lt=(p,g,L)=>{let R;p==null?g._vnode&&(Ie(g._vnode,null,null,!0),R=g._vnode.component):N(g._vnode||null,p,g,null,null,null,L),g._vnode=p,qe||(qe=!0,ks(R),po(),qe=!1)},Ke={p:N,um:Ie,m:Me,r:St,mt:ut,mc:B,pc:q,pbc:fe,n:Je,o:e};return{render:Lt,hydrate:void 0,createApp:Wa(Lt)}}function xr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ht({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ko(e,t,n=!1){const r=e.children,s=t.children;if(V(r)&&V(s))for(let l=0;l<r.length;l++){const o=r[l];let i=s[l];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[l]=Ct(s[l]),i.el=o.el),!n&&i.patchFlag!==-2&&ko(o,i)),i.type===Mn&&(i.patchFlag!==-1?i.el=o.el:i.__elIndex=l+(e.type===ke?1:0)),i.type===kt&&!i.el&&(i.el=o.el)}}function rc(e){const t=e.slice(),n=[0];let r,s,l,o,i;const a=e.length;for(r=0;r<a;r++){const d=e[r];if(d!==0){if(s=n[n.length-1],e[s]<d){t[r]=s,n.push(r);continue}for(l=0,o=n.length-1;l<o;)i=l+o>>1,e[n[i]]<d?l=i+1:o=i;d<e[n[l]]&&(l>0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function Ao(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ao(t)}function js(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Mo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Mo(t.subTree):null}const Fo=e=>e.__isSuspense;function sc(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):pa(e)}const ke=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),kt=Symbol.for("v-cmt"),Er=Symbol.for("v-stc"),xn=[];let He=null;function ce(e=!1){xn.push(He=e?null:[])}function lc(){xn.pop(),He=xn[xn.length-1]||null}let Ln=1;function Zn(e,t=!1){Ln+=e,e<0&&He&&t&&(He.hasOnce=!0)}function Do(e){return e.dynamicChildren=Ln>0?He||Zt:null,lc(),Ln>0&&He&&He.push(e),e}function de(e,t,n,r,s,l){return Do(D(e,t,n,r,s,l,!0))}function $o(e,t,n,r,s){return Do(Se(e,t,n,r,s,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function un(e,t){return e.type===t.type&&e.key===t.key}const Uo=({key:e})=>e??null,Vn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||_e(e)||G(e)?{i:ot,r:e,k:t,f:!!n}:e:null);function D(e,t=null,n=null,r=0,s=null,l=e===ke?0:1,o=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Uo(t),ref:t&&Vn(t),scopeId:mo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ot};return i?(ms(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=ve(n)?8:16),Ln>0&&!o&&He&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&He.push(a),a}const Se=oc;function oc(e,t=null,n=null,r=0,s=null,l=!1){if((!e||e===Ra)&&(e=kt),zn(e)){const i=sn(e,t,!0);return n&&ms(i,n),Ln>0&&!l&&He&&(i.shapeFlag&6?He[He.indexOf(e)]=i:He.push(i)),i.patchFlag=-2,i}if(gc(e)&&(e=e.__vccOpts),t){t=ic(t);let{class:i,style:a}=t;i&&!ve(i)&&(t.class=ge(i)),ue(a)&&(is(a)&&!V(a)&&(a=Le({},a)),t.style=Rn(a))}const o=ve(e)?1:Fo(e)?128:va(e)?64:ue(e)?4:G(e)?2:0;return D(e,t,n,r,s,o,l,!0)}function ic(e){return e?is(e)||wo(e)?Le({},e):e:null}function sn(e,t,n=!1,r=!1){const{props:s,ref:l,patchFlag:o,children:i,transition:a}=e,d=t?ac(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Uo(d),ref:t&&t.ref?n&&l?V(l)?l.concat(Vn(t)):[l,Vn(t)]:Vn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&cs(f,a.clone(f)),f}function Gt(e=" ",t=0){return Se(Mn,null,e,t)}function nn(e="",t=!1){return t?(ce(),$o(kt,null,e)):Se(kt,null,e)}function lt(e){return e==null||typeof e=="boolean"?Se(kt):V(e)?Se(ke,null,e.slice()):zn(e)?Ct(e):Se(Mn,null,String(e))}function Ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sn(e)}function ms(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ms(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!wo(t)?t._ctx=ot:s===3&&ot&&(ot.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:ot},n=32):(t=String(t),r&64?(n=16,t=[Gt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ac(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ge([t.class,r.class]));else if(s==="style")t.style=Rn([t.style,r.style]);else if(rr(s)){const l=t[s],o=r[s];o&&l!==o&&!(V(l)&&l.includes(o))&&(t[s]=l?[].concat(l,o):o)}else s!==""&&(t[s]=r[s])}return t}function tt(e,t,n,r=null){ct(e,t,7,[n,r])}const cc=To();let uc=0;function fc(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||cc,l={uid:uc++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Yl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oo(r,s),emitsOptions:So(r,s),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:r.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=ja.bind(null,l),e.ce&&e.ce(l),l}let Ae=null;const Wo=()=>Ae||ot;let er,$r;{const e=or(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),l=>{s.length>1?s.forEach(o=>o(l)):s[0](l)}};er=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),$r=t("__VUE_SSR_SETTERS__",n=>In=n)}const Fn=e=>{const t=Ae;return er(e),e.scope.on(),()=>{e.scope.off(),er(t)}},Vs=()=>{Ae&&Ae.scope.off(),er(null)};function Ho(e){return e.vnode.shapeFlag&4}let In=!1;function dc(e,t=!1,n=!1){t&&$r(t);const{props:r,children:s}=e.vnode,l=Ho(e);Ja(e,r,l,t),Za(e,s,n||t);const o=l?pc(e,t):void 0;return t&&$r(!1),o}function pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ka);const{setup:r}=n;if(r){_t();const s=e.setupContext=r.length>1?mc(e):null,l=Fn(e),o=kn(r,e,0,[e.props,s]),i=Ul(o);if(bt(),l(),(i||e.sp)&&!yn(e)&&bo(e),i){if(o.then(Vs,Vs),t)return o.then(a=>{Ks(e,a)}).catch(a=>{ar(a,e,0)});e.asyncDep=o}else Ks(e,o)}else jo(e)}function Ks(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=co(t)),jo(e)}function jo(e,t,n){const r=e.type;e.render||(e.render=r.render||it);{const s=Fn(e);_t();try{Aa(e)}finally{bt(),s()}}}const hc={get(e,t){return Oe(e,"get",""),e[t]}};function mc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hc),slots:e.slots,emit:e.emit,expose:t}}function gs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(co(na(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vn)return vn[n](e)},has(t,n){return n in t||n in vn}})):e.proxy}function gc(e){return G(e)&&"__vccOpts"in e}const Pe=(e,t)=>ia(e,t,In);function Vo(e,t,n){try{Zn(-1);const r=arguments.length;return r===2?ue(t)&&!V(t)?zn(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&zn(n)&&(n=[n]),Se(e,t,n))}finally{Zn(1)}}const _c="3.5.27";let Ur;const Bs=typeof window<"u"&&window.trustedTypes;if(Bs)try{Ur=Bs.createPolicy("vue",{createHTML:e=>e})}catch{}const Ko=Ur?e=>Ur.createHTML(e):e=>e,bc="http://www.w3.org/2000/svg",yc="http://www.w3.org/1998/Math/MathML",pt=typeof document<"u"?document:null,Gs=pt&&pt.createElement("template"),vc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?pt.createElementNS(bc,e):t==="mathml"?pt.createElementNS(yc,e):n?pt.createElement(e,{is:n}):pt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>pt.createTextNode(e),createComment:e=>pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,l){const o=n?n.previousSibling:t.lastChild;if(s&&(s===l||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===l||!(s=s.nextSibling)););else{Gs.innerHTML=Ko(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=Gs.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xc=Symbol("_vtc");function Ec(e,t,n){const r=e[xc];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ys=Symbol("_vod"),Tc=Symbol("_vsh"),Sc=Symbol(""),Lc=/(?:^|;)\s*display\s*:/;function Ic(e,t,n){const r=e.style,s=ve(n);let l=!1;if(n&&!s){if(t)if(ve(t))for(const o of t.split(";")){const i=o.slice(0,o.indexOf(":")).trim();n[i]==null&&Kn(r,i,"")}else for(const o in t)n[o]==null&&Kn(r,o,"");for(const o in n)o==="display"&&(l=!0),Kn(r,o,n[o])}else if(s){if(t!==n){const o=r[Sc];o&&(n+=";"+o),r.cssText=n,l=Lc.test(n)}}else t&&e.removeAttribute("style");Ys in e&&(e[Ys]=l?r.display:"",e[Tc]&&(r.display="none"))}const Js=/\s*!important$/;function Kn(e,t,n){if(V(n))n.forEach(r=>Kn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=wc(e,t);Js.test(n)?e.setProperty(Yt(r),n.replace(Js,""),"important"):e[r]=n}}const qs=["Webkit","Moz","ms"],Tr={};function wc(e,t){const n=Tr[t];if(n)return n;let r=Rt(t);if(r!=="filter"&&r in e)return Tr[t]=r;r=jl(r);for(let s=0;s<qs.length;s++){const l=qs[s]+r;if(l in e)return Tr[t]=l}return t}const Xs="http://www.w3.org/1999/xlink";function Qs(e,t,n,r,s,l=Ai(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Xs,t.slice(6,t.length)):e.setAttributeNS(Xs,t,n):n==null||l&&!Kl(n)?e.removeAttribute(t):e.setAttribute(t,l?"":At(n)?String(n):n)}function Zs(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ko(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const i=l==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Kl(n):n==null&&i==="string"?(n="",o=!0):i==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Cc(e,t,n,r){e.addEventListener(t,n,r)}function Oc(e,t,n,r){e.removeEventListener(t,n,r)}const zs=Symbol("_vei");function Pc(e,t,n,r,s=null){const l=e[zs]||(e[zs]={}),o=l[t];if(r&&o)o.value=r;else{const[i,a]=Nc(t);if(r){const d=l[t]=Ac(r,s);Cc(e,i,d,a)}else o&&(Oc(e,i,o,a),l[t]=void 0)}}const el=/(?:Once|Passive|Capture)$/;function Nc(e){let t;if(el.test(e)){t={};let r;for(;r=e.match(el);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let Sr=0;const Rc=Promise.resolve(),kc=()=>Sr||(Rc.then(()=>Sr=0),Sr=Date.now());function Ac(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ct(Mc(r,n.value),t,5,[r])};return n.value=e,n.attached=kc(),n}function Mc(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const tl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Fc=(e,t,n,r,s,l)=>{const o=s==="svg";t==="class"?Ec(e,r,o):t==="style"?Ic(e,n,r):rr(t)?Qr(t)||Pc(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Dc(e,t,r,o))?(Zs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qs(e,t,r,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ve(r))?Zs(e,Rt(t),r,l,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Qs(e,t,r,o))};function Dc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&tl(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return tl(t)&&ve(n)?!1:t in e}const $c=Le({patchProp:Fc},vc);let nl;function Uc(){return nl||(nl=ec($c))}const Wc=((...e)=>{const t=Uc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jc(r);if(!s)return;const l=t._component;!G(l)&&!l.render&&!l.template&&(l.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Hc(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t});function Hc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jc(e){return ve(e)?document.querySelector(e):e}function Vc(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const tr=typeof window<"u",Mt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Kc=(e,t,n)=>Bc({l:e,k:t,s:n}),Bc=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ye=e=>typeof e=="number"&&isFinite(e),Gc=e=>_s(e)==="[object Date]",ln=e=>_s(e)==="[object RegExp]",fr=e=>J(e)&&Object.keys(e).length===0,Te=Object.assign,Yc=Object.create,le=(e=null)=>Yc(e);let rl;const Vt=()=>rl||(rl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:le());function sl(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function ll(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Jc(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,l)=>`${s}="${ll(l)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,l)=>`${s}='${ll(l)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const qc=Object.prototype.hasOwnProperty;function Qe(e,t){return qc.call(e,t)}const pe=Array.isArray,ae=e=>typeof e=="function",U=e=>typeof e=="string",Z=e=>typeof e=="boolean",z=e=>e!==null&&typeof e=="object",Xc=e=>z(e)&&ae(e.then)&&ae(e.catch),Bo=Object.prototype.toString,_s=e=>Bo.call(e),J=e=>_s(e)==="[object Object]",Qc=e=>e==null?"":pe(e)||J(e)&&e.toString===Bo?JSON.stringify(e,null,2):String(e);function bs(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Wn=e=>!z(e)||pe(e);function Bn(e,t){if(Wn(e)||Wn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(l=>{l!=="__proto__"&&(z(r[l])&&!z(s[l])&&(s[l]=Array.isArray(r[l])?[]:le()),Wn(s[l])||Wn(r[l])?s[l]=r[l]:n.push({src:r[l],des:s[l]}))})}}function Zc(e,t,n){return{line:e,column:t,offset:n}}function Wr(e,t,n){return{start:e,end:t}}const ee={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},zc=17;function dr(e,t,n={}){const{domain:r,messages:s,args:l}=n,o=e,i=new SyntaxError(String(o));return i.code=e,t&&(i.location=t),i.domain=r,i}function eu(e){throw e}const nt=" ",tu="\r",Ce=`
|
|
2
|
-
`,nu="\u2028",ru="\u2029";function su(e){const t=e;let n=0,r=1,s=1,l=0;const o=k=>t[k]===tu&&t[k+1]===Ce,i=k=>t[k]===Ce,a=k=>t[k]===ru,d=k=>t[k]===nu,f=k=>o(k)||i(k)||a(k)||d(k),h=()=>n,_=()=>r,I=()=>s,A=()=>l,N=k=>o(k)||a(k)||d(k)?Ce:t[k],F=()=>N(n),v=()=>N(n+l);function E(){return l=0,f(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function T(){return o(n+l)&&l++,l++,t[n+l]}function m(){n=0,r=1,s=1,l=0}function C(k=0){l=k}function M(){const k=n+l;for(;k!==n;)E();l=0}return{index:h,line:_,column:I,peekOffset:A,charAt:N,currentChar:F,currentPeek:v,next:E,peek:T,reset:m,resetPeek:C,skipToPeek:M}}const dt=void 0,lu=".",ol="'",ou="tokenizer";function iu(e,t={}){const n=t.location!==!1,r=su(e),s=()=>r.index(),l=()=>Zc(r.line(),r.column(),r.index()),o=l(),i=s(),a={currentType:13,offset:i,startLoc:o,endLoc:o,lastType:13,lastOffset:i,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:f}=t;function h(c,u,b,...x){const $=d();if(u.column+=b,u.offset+=b,f){const P=n?Wr($.startLoc,u):null,y=dr(c,P,{domain:ou,args:x});f(y)}}function _(c,u,b){c.endLoc=l(),c.currentType=u;const x={type:u};return n&&(x.loc=Wr(c.startLoc,c.endLoc)),b!=null&&(x.value=b),x}const I=c=>_(c,13);function A(c,u){return c.currentChar()===u?(c.next(),u):(h(ee.EXPECTED_TOKEN,l(),0,u),"")}function N(c){let u="";for(;c.currentPeek()===nt||c.currentPeek()===Ce;)u+=c.currentPeek(),c.peek();return u}function F(c){const u=N(c);return c.skipToPeek(),u}function v(c){if(c===dt)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function E(c){if(c===dt)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function T(c,u){const{currentType:b}=u;if(b!==2)return!1;N(c);const x=v(c.currentPeek());return c.resetPeek(),x}function m(c,u){const{currentType:b}=u;if(b!==2)return!1;N(c);const x=c.currentPeek()==="-"?c.peek():c.currentPeek(),$=E(x);return c.resetPeek(),$}function C(c,u){const{currentType:b}=u;if(b!==2)return!1;N(c);const x=c.currentPeek()===ol;return c.resetPeek(),x}function M(c,u){const{currentType:b}=u;if(b!==7)return!1;N(c);const x=c.currentPeek()===".";return c.resetPeek(),x}function k(c,u){const{currentType:b}=u;if(b!==8)return!1;N(c);const x=v(c.currentPeek());return c.resetPeek(),x}function B(c,u){const{currentType:b}=u;if(!(b===7||b===11))return!1;N(c);const x=c.currentPeek()===":";return c.resetPeek(),x}function K(c,u){const{currentType:b}=u;if(b!==9)return!1;const x=()=>{const P=c.currentPeek();return P==="{"?v(c.peek()):P==="@"||P==="|"||P===":"||P==="."||P===nt||!P?!1:P===Ce?(c.peek(),x()):xe(c,!1)},$=x();return c.resetPeek(),$}function fe(c){N(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function xe(c,u=!0){const b=($=!1,P="")=>{const y=c.currentPeek();return y==="{"||y==="@"||!y?$:y==="|"?!(P===nt||P===Ce):y===nt?(c.peek(),b(!0,nt)):y===Ce?(c.peek(),b(!0,Ce)):!0},x=b();return u&&c.resetPeek(),x}function re(c,u){const b=c.currentChar();return b===dt?dt:u(b)?(c.next(),b):null}function $e(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36}function ut(c){return re(c,$e)}function Tt(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36||u===45}function he(c){return re(c,Tt)}function Q(c){const u=c.charCodeAt(0);return u>=48&&u<=57}function q(c){return re(c,Q)}function be(c){const u=c.charCodeAt(0);return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function Ve(c){return re(c,be)}function Me(c){let u="",b="";for(;u=q(c);)b+=u;return b}function Ie(c){let u="";for(;;){const b=c.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b===nt||b===Ce)if(xe(c))u+=b,c.next();else{if(fe(c))break;u+=b,c.next()}else u+=b,c.next()}return u}function St(c){F(c);let u="",b="";for(;u=he(c);)b+=u;const x=c.currentChar();if(x&&x!=="}"&&x!==dt&&x!==nt&&x!==Ce&&x!==" "){const $=Ke(c);return h(ee.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b+$),b+$}return c.currentChar()===dt&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b}function $t(c){F(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${Me(c)}`):u+=Me(c),c.currentChar()===dt&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),u}function Jt(c){return c!==ol&&c!==Ce}function we(c){F(c),A(c,"'");let u="",b="";for(;u=re(c,Jt);)u==="\\"?b+=Je(c):b+=u;const x=c.currentChar();return x===Ce||x===dt?(h(ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),x===Ce&&(c.next(),A(c,"'")),b):(A(c,"'"),b)}function Je(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return qe(c,u,4);case"U":return qe(c,u,6);default:return h(ee.UNKNOWN_ESCAPE_SEQUENCE,l(),0,u),""}}function qe(c,u,b){A(c,u);let x="";for(let $=0;$<b;$++){const P=Ve(c);if(!P){h(ee.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${u}${x}${c.currentChar()}`);break}x+=P}return`\\${u}${x}`}function Lt(c){return c!=="{"&&c!=="}"&&c!==nt&&c!==Ce}function Ke(c){F(c);let u="",b="";for(;u=re(c,Lt);)b+=u;return b}function Ut(c){let u="",b="";for(;u=ut(c);)b+=u;return b}function p(c){const u=b=>{const x=c.currentChar();return x==="{"||x==="@"||x==="|"||x==="("||x===")"||!x||x===nt?b:(b+=x,c.next(),u(b))};return u("")}function g(c){F(c);const u=A(c,"|");return F(c),u}function L(c,u){let b=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&h(ee.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),c.next(),b=_(u,2,"{"),F(c),u.braceNest++,b;case"}":return u.braceNest>0&&u.currentType===2&&h(ee.EMPTY_PLACEHOLDER,l(),0),c.next(),b=_(u,3,"}"),u.braceNest--,u.braceNest>0&&F(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),b;case"@":return u.braceNest>0&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b=R(c,u)||I(u),u.braceNest=0,b;default:{let $=!0,P=!0,y=!0;if(fe(c))return u.braceNest>0&&h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),b=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,b;if(u.braceNest>0&&(u.currentType===4||u.currentType===5||u.currentType===6))return h(ee.UNTERMINATED_CLOSING_BRACE,l(),0),u.braceNest=0,O(c,u);if($=T(c,u))return b=_(u,4,St(c)),F(c),b;if(P=m(c,u))return b=_(u,5,$t(c)),F(c),b;if(y=C(c,u))return b=_(u,6,we(c)),F(c),b;if(!$&&!P&&!y)return b=_(u,12,Ke(c)),h(ee.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b.value),F(c),b;break}}return b}function R(c,u){const{currentType:b}=u;let x=null;const $=c.currentChar();switch((b===7||b===8||b===11||b===9)&&($===Ce||$===nt)&&h(ee.INVALID_LINKED_FORMAT,l(),0),$){case"@":return c.next(),x=_(u,7,"@"),u.inLinked=!0,x;case".":return F(c),c.next(),_(u,8,".");case":":return F(c),c.next(),_(u,9,":");default:return fe(c)?(x=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,x):M(c,u)||B(c,u)?(F(c),R(c,u)):k(c,u)?(F(c),_(u,11,Ut(c))):K(c,u)?(F(c),$==="{"?L(c,u)||x:_(u,10,p(c))):(b===7&&h(ee.INVALID_LINKED_FORMAT,l(),0),u.braceNest=0,u.inLinked=!1,O(c,u))}}function O(c,u){let b={type:13};if(u.braceNest>0)return L(c,u)||I(u);if(u.inLinked)return R(c,u)||I(u);switch(c.currentChar()){case"{":return L(c,u)||I(u);case"}":return h(ee.UNBALANCED_CLOSING_BRACE,l(),0),c.next(),_(u,3,"}");case"@":return R(c,u)||I(u);default:{if(fe(c))return b=_(u,1,g(c)),u.braceNest=0,u.inLinked=!1,b;if(xe(c))return _(u,0,Ie(c));break}}return b}function w(){const{currentType:c,offset:u,startLoc:b,endLoc:x}=a;return a.lastType=c,a.lastOffset=u,a.lastStartLoc=b,a.lastEndLoc=x,a.offset=s(),a.startLoc=l(),r.currentChar()===dt?_(a,13):O(r,a)}return{nextToken:w,currentOffset:s,currentPosition:l,context:d}}const au="parser",cu=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function uu(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function fu(e={}){const t=e.location!==!1,{onError:n}=e;function r(v,E,T,m,...C){const M=v.currentPosition();if(M.offset+=m,M.column+=m,n){const k=t?Wr(T,M):null,B=dr(E,k,{domain:au,args:C});n(B)}}function s(v,E,T){const m={type:v};return t&&(m.start=E,m.end=E,m.loc={start:T,end:T}),m}function l(v,E,T,m){t&&(v.end=E,v.loc&&(v.loc.end=T))}function o(v,E){const T=v.context(),m=s(3,T.offset,T.startLoc);return m.value=E,l(m,v.currentOffset(),v.currentPosition()),m}function i(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(5,m,C);return M.index=parseInt(E,10),v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function a(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(4,m,C);return M.key=E,v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function d(v,E){const T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(9,m,C);return M.value=E.replace(cu,uu),v.nextToken(),l(M,v.currentOffset(),v.currentPosition()),M}function f(v){const E=v.nextToken(),T=v.context(),{lastOffset:m,lastStartLoc:C}=T,M=s(8,m,C);return E.type!==11?(r(v,ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),M.value="",l(M,m,C),{nextConsumeToken:E,node:M}):(E.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,rt(E)),M.value=E.value||"",l(M,v.currentOffset(),v.currentPosition()),{node:M})}function h(v,E){const T=v.context(),m=s(7,T.offset,T.startLoc);return m.value=E,l(m,v.currentOffset(),v.currentPosition()),m}function _(v){const E=v.context(),T=s(6,E.offset,E.startLoc);let m=v.nextToken();if(m.type===8){const C=f(v);T.modifier=C.node,m=C.nextConsumeToken||v.nextToken()}switch(m.type!==9&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),m=v.nextToken(),m.type===2&&(m=v.nextToken()),m.type){case 10:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=h(v,m.value||"");break;case 4:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=a(v,m.value||"");break;case 5:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=i(v,m.value||"");break;case 6:m.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(m)),T.key=d(v,m.value||"");break;default:{r(v,ee.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const C=v.context(),M=s(7,C.offset,C.startLoc);return M.value="",l(M,C.offset,C.startLoc),T.key=M,l(T,C.offset,C.startLoc),{nextConsumeToken:m,node:T}}}return l(T,v.currentOffset(),v.currentPosition()),{node:T}}function I(v){const E=v.context(),T=E.currentType===1?v.currentOffset():E.offset,m=E.currentType===1?E.endLoc:E.startLoc,C=s(2,T,m);C.items=[];let M=null;do{const K=M||v.nextToken();switch(M=null,K.type){case 0:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(o(v,K.value||""));break;case 5:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(i(v,K.value||""));break;case 4:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(a(v,K.value||""));break;case 6:K.value==null&&r(v,ee.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,rt(K)),C.items.push(d(v,K.value||""));break;case 7:{const fe=_(v);C.items.push(fe.node),M=fe.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const k=E.currentType===1?E.lastOffset:v.currentOffset(),B=E.currentType===1?E.lastEndLoc:v.currentPosition();return l(C,k,B),C}function A(v,E,T,m){const C=v.context();let M=m.items.length===0;const k=s(1,E,T);k.cases=[],k.cases.push(m);do{const B=I(v);M||(M=B.items.length===0),k.cases.push(B)}while(C.currentType!==13);return M&&r(v,ee.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),l(k,v.currentOffset(),v.currentPosition()),k}function N(v){const E=v.context(),{offset:T,startLoc:m}=E,C=I(v);return E.currentType===13?C:A(v,T,m,C)}function F(v){const E=iu(v,Te({},e)),T=E.context(),m=s(0,T.offset,T.startLoc);return t&&m.loc&&(m.loc.source=v),m.body=N(E),e.onCacheKey&&(m.cacheKey=e.onCacheKey(v)),T.currentType!==13&&r(E,ee.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,v[T.offset]||""),l(m,E.currentOffset(),E.currentPosition()),m}return{parse:F}}function rt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function du(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:l=>(n.helpers.add(l),l)}}function il(e,t){for(let n=0;n<e.length;n++)ys(e[n],t)}function ys(e,t){switch(e.type){case 1:il(e.cases,t),t.helper("plural");break;case 2:il(e.items,t);break;case 6:{ys(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function pu(e,t={}){const n=du(e);n.helper("normalize"),e.body&&ys(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function hu(e){const t=e.body;return t.type===2?al(t):t.cases.forEach(n=>al(n)),e}function al(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=bs(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Qt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Qt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Qt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Qt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Qt(t.key),t.k=t.key,delete t.key,t.modifier&&(Qt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function mu(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,l=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};l&&e.loc&&(o.source=e.loc.source);const i=()=>o;function a(N,F){o.code+=N}function d(N,F=!0){const v=F?r:"";a(s?v+" ".repeat(N):v)}function f(N=!0){const F=++o.indentLevel;N&&d(F)}function h(N=!0){const F=--o.indentLevel;N&&d(F)}function _(){d(o.indentLevel)}return{context:i,push:a,indent:f,deindent:h,newline:_,helper:N=>`_${N}`,needIndent:()=>o.needIndent}}function gu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),on(e,t.key),t.modifier?(e.push(", "),on(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function _u(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let l=0;l<s&&(on(e,t.items[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}function bu(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let l=0;l<s&&(on(e,t.cases[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}}function yu(e,t){t.body?on(e,t.body):e.push("null")}function on(e,t){const{helper:n}=e;switch(t.type){case 0:yu(e,t);break;case 1:bu(e,t);break;case 2:_u(e,t);break;case 6:gu(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const vu=(e,t={})=>{const n=U(t.mode)?t.mode:"normal",r=U(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
-
`,l=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],i=mu(e,{filename:r,breakLineCode:s,needIndent:l});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),o.length>0&&(i.push(`const { ${bs(o.map(f=>`${f}: _${f}`),", ")} } = ctx`),i.newline()),i.push("return "),on(i,e),i.deindent(l),i.push("}"),delete e.helpers;const{code:a,map:d}=i.context();return{ast:e,code:a,map:d?d.toJSON():void 0}};function xu(e,t={}){const n=Te({},t),r=!!n.jit,s=!!n.minify,l=n.optimize==null?!0:n.optimize,i=fu(n).parse(e);return r?(l&&hu(i),s&&Qt(i),{ast:i,code:""}):(pu(i,n),vu(i,n))}function Eu(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function at(e){return z(e)&&vs(e)===0&&(Qe(e,"b")||Qe(e,"body"))}const Go=["b","body"];function Tu(e){return Ft(e,Go)}const Yo=["c","cases"];function Su(e){return Ft(e,Yo,[])}const Jo=["s","static"];function Lu(e){return Ft(e,Jo)}const qo=["i","items"];function Iu(e){return Ft(e,qo,[])}const Xo=["t","type"];function vs(e){return Ft(e,Xo)}const Qo=["v","value"];function Hn(e,t){const n=Ft(e,Qo);if(n!=null)return n;throw wn(t)}const Zo=["m","modifier"];function wu(e){return Ft(e,Zo)}const zo=["k","key"];function Cu(e){const t=Ft(e,zo);if(t)return t;throw wn(6)}function Ft(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(Qe(e,s)&&e[s]!=null)return e[s]}return n}const ei=[...Go,...Yo,...Jo,...qo,...zo,...Zo,...Qo,...Xo];function wn(e){return new Error(`unhandled node type: ${e}`)}function Lr(e){return n=>Ou(n,e)}function Ou(e,t){const n=Tu(t);if(n==null)throw wn(0);if(vs(n)===1){const l=Su(n);return e.plural(l.reduce((o,i)=>[...o,cl(e,i)],[]))}else return cl(e,n)}function cl(e,t){const n=Lu(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Iu(t).reduce((s,l)=>[...s,Hr(e,l)],[]);return e.normalize(r)}}function Hr(e,t){const n=vs(t);switch(n){case 3:return Hn(t,n);case 9:return Hn(t,n);case 4:{const r=t;if(Qe(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Qe(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw wn(n)}case 5:{const r=t;if(Qe(r,"i")&&ye(r.i))return e.interpolate(e.list(r.i));if(Qe(r,"index")&&ye(r.index))return e.interpolate(e.list(r.index));throw wn(n)}case 6:{const r=t,s=wu(r),l=Cu(r);return e.linked(Hr(e,l),s?Hr(e,s):void 0,e.type)}case 7:return Hn(t,n);case 8:return Hn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Pu=e=>e;let jn=le();function Nu(e,t={}){let n=!1;const r=t.onError||eu;return t.onError=s=>{n=!0,r(s)},{...xu(e,t),detectError:n}}function Ru(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&U(e)){Z(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Pu)(e),s=jn[r];if(s)return s;const{ast:l,detectError:o}=Nu(e,{...t,location:!1,jit:!0}),i=Lr(l);return o?i:jn[r]=i}else{const n=e.cacheKey;if(n){const r=jn[n];return r||(jn[n]=Lr(e))}else return Lr(e)}}let Cn=null;function ku(e){Cn=e}function Au(e,t,n){Cn&&Cn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Mu=Fu("function:translate");function Fu(e){return t=>Cn&&Cn.emit(e,t)}const mt={INVALID_ARGUMENT:zc,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Du=24;function gt(e){return dr(e,null,void 0)}function xs(e,t){return t.locale!=null?ul(t.locale):ul(e.locale)}let Ir;function ul(e){if(U(e))return e;if(ae(e)){if(e.resolvedOnce&&Ir!=null)return Ir;if(e.constructor.name==="Function"){const t=e();if(Xc(t))throw gt(mt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ir=t}else throw gt(mt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw gt(mt.NOT_SUPPORT_LOCALE_TYPE)}function $u(e,t,n){return[...new Set([n,...pe(t)?t:z(t)?Object.keys(t):U(t)?[t]:[n]])]}function ti(e,t,n){const r=U(n)?n:On,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let l=s.__localeChainCache.get(r);if(!l){l=[];let o=[n];for(;pe(o);)o=fl(l,o,t);const i=pe(t)||!J(t)?t:t.default?t.default:null;o=U(i)?[i]:i,pe(o)&&fl(l,o,!1),s.__localeChainCache.set(r,l)}return l}function fl(e,t,n){let r=!0;for(let s=0;s<t.length&&Z(r);s++){const l=t[s];U(l)&&(r=Uu(e,t[s],n))}return r}function Uu(e,t,n){let r;const s=t.split("-");do{const l=s.join("-");r=Wu(e,l,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Wu(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(pe(n)||J(n))&&n[s]&&(r=n[s])}return r}const Dt=[];Dt[0]={w:[0],i:[3,0],"[":[4],o:[7]};Dt[1]={w:[1],".":[2],"[":[4],o:[7]};Dt[2]={w:[2],i:[3,0],0:[3,0]};Dt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Dt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Dt[5]={"'":[4,0],o:8,l:[5,0]};Dt[6]={'"':[4,0],o:8,l:[6,0]};const Hu=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ju(e){return Hu.test(e)}function Vu(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Ku(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 Bu(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ju(t)?Vu(t):"*"+t}function Gu(e){const t=[];let n=-1,r=0,s=0,l,o,i,a,d,f,h;const _=[];_[0]=()=>{o===void 0?o=i:o+=i},_[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},_[2]=()=>{_[0](),s++},_[3]=()=>{if(s>0)s--,r=4,_[0]();else{if(s=0,o===void 0||(o=Bu(o),o===!1))return!1;_[1]()}};function I(){const A=e[n+1];if(r===5&&A==="'"||r===6&&A==='"')return n++,i="\\"+A,_[0](),!0}for(;r!==null;)if(n++,l=e[n],!(l==="\\"&&I())){if(a=Ku(l),h=Dt[r],d=h[a]||h.l||8,d===8||(r=d[0],d[1]!==void 0&&(f=_[d[1]],f&&(i=l,f()===!1))))return;if(r===7)return t}}const dl=new Map;function Yu(e,t){return z(e)?e[t]:null}function Ju(e,t){if(!z(e))return null;let n=dl.get(t);if(n||(n=Gu(t),n&&dl.set(t,n)),!n)return null;const r=n.length;let s=e,l=0;for(;l<r;){const o=n[l];if(ei.includes(o)&&at(s))return null;const i=s[o];if(i===void 0||ae(s))return null;s=i,l++}return s}const qu="11.2.8",pr=-1,On="en-US",pl="",hl=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Xu(){return{upper:(e,t)=>t==="text"&&U(e)?e.toUpperCase():t==="vnode"&&z(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&U(e)?e.toLowerCase():t==="vnode"&&z(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&U(e)?hl(e):t==="vnode"&&z(e)&&"__v_isVNode"in e?hl(e.children):e}}let ni;function Qu(e){ni=e}let ri;function Zu(e){ri=e}let si;function zu(e){si=e}let li=null;const ef=e=>{li=e},tf=()=>li;let oi=null;const ml=e=>{oi=e},nf=()=>oi;let gl=0;function rf(e={}){const t=ae(e.onWarn)?e.onWarn:Vc,n=U(e.version)?e.version:qu,r=U(e.locale)||ae(e.locale)?e.locale:On,s=ae(r)?On:r,l=pe(e.fallbackLocale)||J(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=J(e.messages)?e.messages:wr(s),i=J(e.datetimeFormats)?e.datetimeFormats:wr(s),a=J(e.numberFormats)?e.numberFormats:wr(s),d=Te(le(),e.modifiers,Xu()),f=e.pluralRules||le(),h=ae(e.missing)?e.missing:null,_=Z(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,I=Z(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,N=!!e.unresolving,F=ae(e.postTranslation)?e.postTranslation:null,v=J(e.processor)?e.processor:null,E=Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter,m=ae(e.messageCompiler)?e.messageCompiler:ni,C=ae(e.messageResolver)?e.messageResolver:ri||Yu,M=ae(e.localeFallbacker)?e.localeFallbacker:si||$u,k=z(e.fallbackContext)?e.fallbackContext:void 0,B=e,K=z(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,fe=z(B.__numberFormatters)?B.__numberFormatters:new Map,xe=z(B.__meta)?B.__meta:{};gl++;const re={version:n,cid:gl,locale:r,fallbackLocale:l,messages:o,modifiers:d,pluralRules:f,missing:h,missingWarn:_,fallbackWarn:I,fallbackFormat:A,unresolving:N,postTranslation:F,processor:v,warnHtmlMessage:E,escapeParameter:T,messageCompiler:m,messageResolver:C,localeFallbacker:M,fallbackContext:k,onWarn:t,__meta:xe};return re.datetimeFormats=i,re.numberFormats=a,re.__datetimeFormatters=K,re.__numberFormatters=fe,__INTLIFY_PROD_DEVTOOLS__&&Au(re,n,xe),re}const wr=e=>({[e]:le()});function Es(e,t,n,r,s){const{missing:l,onWarn:o}=e;if(l!==null){const i=l(e,n,t,s);return U(i)?i:t}else return t}function fn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function sf(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function lf(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(sf(e,t[r]))return!0;return!1}function _l(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:i}=e,[a,d,f,h]=jr(...t),_=Z(f.missingWarn)?f.missingWarn:e.missingWarn;Z(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,A=xs(e,f),N=o(e,s,A);if(!U(a)||a==="")return new Intl.DateTimeFormat(A,h).format(d);let F={},v,E=null;const T="datetime format";for(let M=0;M<N.length&&(v=N[M],F=n[v]||{},E=F[a],!J(E));M++)Es(e,a,v,_,T);if(!J(E)||!U(v))return r?pr:a;let m=`${v}__${a}`;fr(h)||(m=`${m}__${JSON.stringify(h)}`);let C=i.get(m);return C||(C=new Intl.DateTimeFormat(v,Te({},E,h)),i.set(m,C)),I?C.formatToParts(d):C.format(d)}const ii=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function jr(...e){const[t,n,r,s]=e,l=le();let o=le(),i;if(U(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw gt(mt.INVALID_ISO_DATE_ARGUMENT);const d=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();i=new Date(d);try{i.toISOString()}catch{throw gt(mt.INVALID_ISO_DATE_ARGUMENT)}}else if(Gc(t)){if(isNaN(t.getTime()))throw gt(mt.INVALID_DATE_ARGUMENT);i=t}else if(ye(t))i=t;else throw gt(mt.INVALID_ARGUMENT);return U(n)?l.key=n:J(n)&&Object.keys(n).forEach(a=>{ii.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:J(r)&&(o=r),J(s)&&(o=s),[l.key||"",i,l,o]}function bl(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__datetimeFormatters.has(l)&&r.__datetimeFormatters.delete(l)}}function yl(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:i}=e,[a,d,f,h]=Vr(...t),_=Z(f.missingWarn)?f.missingWarn:e.missingWarn;Z(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,A=xs(e,f),N=o(e,s,A);if(!U(a)||a==="")return new Intl.NumberFormat(A,h).format(d);let F={},v,E=null;const T="number format";for(let M=0;M<N.length&&(v=N[M],F=n[v]||{},E=F[a],!J(E));M++)Es(e,a,v,_,T);if(!J(E)||!U(v))return r?pr:a;let m=`${v}__${a}`;fr(h)||(m=`${m}__${JSON.stringify(h)}`);let C=i.get(m);return C||(C=new Intl.NumberFormat(v,Te({},E,h)),i.set(m,C)),I?C.formatToParts(d):C.format(d)}const ai=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Vr(...e){const[t,n,r,s]=e,l=le();let o=le();if(!ye(t))throw gt(mt.INVALID_ARGUMENT);const i=t;return U(n)?l.key=n:J(n)&&Object.keys(n).forEach(a=>{ai.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:J(r)&&(o=r),J(s)&&(o=s),[l.key||"",i,l,o]}function vl(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__numberFormatters.has(l)&&r.__numberFormatters.delete(l)}}const of=e=>e,af=e=>"",cf="text",uf=e=>e.length===0?"":bs(e),ff=Qc;function xl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function df(e){const t=ye(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ye(e.named.count)||ye(e.named.n))?ye(e.named.count)?e.named.count:ye(e.named.n)?e.named.n:t:t}function pf(e,t){t.count||(t.count=e),t.n||(t.n=e)}function hf(e={}){const t=e.locale,n=df(e),r=z(e.pluralRules)&&U(t)&&ae(e.pluralRules[t])?e.pluralRules[t]:xl,s=z(e.pluralRules)&&U(t)&&ae(e.pluralRules[t])?xl:void 0,l=v=>v[r(n,v.length,s)],o=e.list||[],i=v=>o[v],a=e.named||le();ye(e.pluralIndex)&&pf(n,a);const d=v=>a[v];function f(v,E){const T=ae(e.messages)?e.messages(v,!!E):z(e.messages)?e.messages[v]:!1;return T||(e.parent?e.parent.message(v):af)}const h=v=>e.modifiers?e.modifiers[v]:of,_=J(e.processor)&&ae(e.processor.normalize)?e.processor.normalize:uf,I=J(e.processor)&&ae(e.processor.interpolate)?e.processor.interpolate:ff,A=J(e.processor)&&U(e.processor.type)?e.processor.type:cf,F={list:i,named:d,plural:l,linked:(v,...E)=>{const[T,m]=E;let C="text",M="";E.length===1?z(T)?(M=T.modifier||M,C=T.type||C):U(T)&&(M=T||M):E.length===2&&(U(T)&&(M=T||M),U(m)&&(C=m||C));const k=f(v,!0)(F),B=C==="vnode"&&pe(k)&&M?k[0]:k;return M?h(M)(B,C):B},message:f,type:A,interpolate:I,normalize:_,values:Te(le(),o,a)};return F}const El=()=>"",Ge=e=>ae(e);function Tl(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:l,fallbackLocale:o,messages:i}=e,[a,d]=Kr(...t),f=Z(d.missingWarn)?d.missingWarn:e.missingWarn,h=Z(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,_=Z(d.escapeParameter)?d.escapeParameter:e.escapeParameter,I=!!d.resolvedMessage,A=U(d.default)||Z(d.default)?Z(d.default)?l?a:()=>a:d.default:n?l?a:()=>a:null,N=n||A!=null&&(U(A)||ae(A)),F=xs(e,d);_&&mf(d);let[v,E,T]=I?[a,F,i[F]||le()]:ci(e,a,F,o,h,f),m=v,C=a;if(!I&&!(U(m)||at(m)||Ge(m))&&N&&(m=A,C=m),!I&&(!(U(m)||at(m)||Ge(m))||!U(E)))return s?pr:a;let M=!1;const k=()=>{M=!0},B=Ge(m)?m:ui(e,a,E,m,C,k);if(M)return m;const K=bf(e,E,T,d),fe=hf(K),xe=gf(e,B,fe);let re=r?r(xe,a):xe;if(_&&U(re)&&(re=Jc(re)),__INTLIFY_PROD_DEVTOOLS__){const $e={timestamp:Date.now(),key:U(a)?a:Ge(m)?m.key:"",locale:E||(Ge(m)?m.locale:""),format:U(m)?m:Ge(m)?m.source:"",message:re};$e.meta=Te({},e.__meta,tf()||{}),Mu($e)}return re}function mf(e){pe(e.list)?e.list=e.list.map(t=>U(t)?sl(t):t):z(e.named)&&Object.keys(e.named).forEach(t=>{U(e.named[t])&&(e.named[t]=sl(e.named[t]))})}function ci(e,t,n,r,s,l){const{messages:o,onWarn:i,messageResolver:a,localeFallbacker:d}=e,f=d(e,r,n);let h=le(),_,I=null;const A="translate";for(let N=0;N<f.length&&(_=f[N],h=o[_]||le(),(I=a(h,t))===null&&(I=h[t]),!(U(I)||at(I)||Ge(I)));N++)if(!lf(_,f)){const F=Es(e,t,_,l,A);F!==t&&(I=F)}return[I,_,h]}function ui(e,t,n,r,s,l){const{messageCompiler:o,warnHtmlMessage:i}=e;if(Ge(r)){const d=r;return d.locale=d.locale||n,d.key=d.key||t,d}if(o==null){const d=(()=>r);return d.locale=n,d.key=t,d}const a=o(r,_f(e,n,s,r,i,l));return a.locale=n,a.key=t,a.source=r,a}function gf(e,t,n){return t(n)}function Kr(...e){const[t,n,r]=e,s=le();if(!U(t)&&!ye(t)&&!Ge(t)&&!at(t))throw gt(mt.INVALID_ARGUMENT);const l=ye(t)?String(t):(Ge(t),t);return ye(n)?s.plural=n:U(n)?s.default=n:J(n)&&!fr(n)?s.named=n:pe(n)&&(s.list=n),ye(r)?s.plural=r:U(r)?s.default=r:J(r)&&Te(s,r),[l,s]}function _f(e,t,n,r,s,l){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw l&&l(o),o},onCacheKey:o=>Kc(t,n,o)}}function bf(e,t,n,r){const{modifiers:s,pluralRules:l,messageResolver:o,fallbackLocale:i,fallbackWarn:a,missingWarn:d,fallbackContext:f}=e,_={locale:t,modifiers:s,pluralRules:l,messages:(I,A)=>{let N=o(n,I);if(N==null&&(f||A)){const[,,F]=ci(f||e,I,t,i,a,d);N=o(F,I)}if(U(N)||at(N)){let F=!1;const E=ui(e,I,t,N,I,()=>{F=!0});return F?El:E}else return Ge(N)?N:El}};return e.processor&&(_.processor=e.processor),r.list&&(_.list=r.list),r.named&&(_.named=r.named),ye(r.plural)&&(_.pluralIndex=r.plural),_}Eu();const yf="11.2.8";function vf(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1)}const De={UNEXPECTED_RETURN_TYPE:Du,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function je(e,...t){return dr(e,null,void 0)}const Br=Mt("__translateVNode"),Gr=Mt("__datetimeParts"),Yr=Mt("__numberParts"),fi=Mt("__setPluralRules"),di=Mt("__injectWithOption"),Jr=Mt("__dispose");function Pn(e){if(!z(e)||at(e))return e;for(const t in e)if(Qe(e,t))if(!t.includes("."))z(e[t])&&Pn(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,l=!1;for(let o=0;o<r;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in s||(s[n[o]]=le()),!z(s[n[o]])){l=!0;break}s=s[n[o]]}if(l||(at(s)?ei.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!at(s)){const o=s[n[r]];z(o)&&Pn(o)}}return e}function Ts(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:l}=t,o=J(n)?n:pe(r)?le():{[e]:le()};if(pe(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:a,resource:d}=i;a?(o[a]=o[a]||le(),Bn(d,o[a])):Bn(d,o)}else U(i)&&Bn(JSON.parse(i),o)}),s==null&&l)for(const i in o)Qe(o,i)&&Pn(o[i]);return o}function pi(e){return e.type}function hi(e,t,n){let r=z(t.messages)?t.messages:le();"__i18nGlobal"in n&&(r=Ts(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(l=>{e.mergeLocaleMessage(l,r[l])});{if(z(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(z(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Sl(e){return Se(Mn,null,e,0)}function Nn(){return Wo()}const Ll="__INTLIFY_META__",Il=()=>[],xf=()=>!1;let wl=0;function Cl(e){return((t,n,r,s)=>e(n,r,Nn()||void 0,s))}const Ef=()=>{const e=Nn();let t=null;return e&&(t=pi(e)[Ll])?{[Ll]:t}:null};function Ss(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,l=tr?se:ra;let o=Z(e.inheritLocale)?e.inheritLocale:!0;const i=l(t&&o?t.locale.value:U(e.locale)?e.locale:On),a=l(t&&o?t.fallbackLocale.value:U(e.fallbackLocale)||pe(e.fallbackLocale)||J(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),d=l(Ts(i.value,e)),f=l(J(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),h=l(J(e.numberFormats)?e.numberFormats:{[i.value]:{}});let _=t?t.missingWarn:Z(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,I=t?t.fallbackWarn:Z(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,A=t?t.fallbackRoot:Z(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,F=ae(e.missing)?e.missing:null,v=ae(e.missing)?Cl(e.missing):null,E=ae(e.postTranslation)?e.postTranslation:null,T=t?t.warnHtmlMessage:Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const C=t?t.modifiers:J(e.modifiers)?e.modifiers:{};let M=e.pluralRules||t&&t.pluralRules,k;k=(()=>{r&&ml(null);const y={version:yf,locale:i.value,fallbackLocale:a.value,messages:d.value,modifiers:C,pluralRules:M,missing:v===null?void 0:v,missingWarn:_,fallbackWarn:I,fallbackFormat:N,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:T,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};y.datetimeFormats=f.value,y.numberFormats=h.value,y.__datetimeFormatters=J(k)?k.__datetimeFormatters:void 0,y.__numberFormatters=J(k)?k.__numberFormatters:void 0;const S=rf(y);return r&&ml(S),S})(),fn(k,i.value,a.value);function K(){return[i.value,a.value,d.value,f.value,h.value]}const fe=Pe({get:()=>i.value,set:y=>{k.locale=y,i.value=y}}),xe=Pe({get:()=>a.value,set:y=>{k.fallbackLocale=y,a.value=y,fn(k,i.value,y)}}),re=Pe(()=>d.value),$e=Pe(()=>f.value),ut=Pe(()=>h.value);function Tt(){return ae(E)?E:null}function he(y){E=y,k.postTranslation=y}function Q(){return F}function q(y){y!==null&&(v=Cl(y)),F=y,k.missing=v}const be=(y,S,W,j,Y,Ee)=>{K();let me;try{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=t?nf():void 0),me=y(k)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=void 0)}if(W!=="translate exists"&&ye(me)&&me===pr||W==="translate exists"&&!me){const[Be,Xe]=S();return t&&A?j(t):Y(Be)}else{if(Ee(me))return me;throw je(De.UNEXPECTED_RETURN_TYPE)}};function Ve(...y){return be(S=>Reflect.apply(Tl,null,[S,...y]),()=>Kr(...y),"translate",S=>Reflect.apply(S.t,S,[...y]),S=>S,S=>U(S))}function Me(...y){const[S,W,j]=y;if(j&&!z(j))throw je(De.INVALID_ARGUMENT);return Ve(S,W,Te({resolvedMessage:!0},j||{}))}function Ie(...y){return be(S=>Reflect.apply(_l,null,[S,...y]),()=>jr(...y),"datetime format",S=>Reflect.apply(S.d,S,[...y]),()=>pl,S=>U(S)||pe(S))}function St(...y){return be(S=>Reflect.apply(yl,null,[S,...y]),()=>Vr(...y),"number format",S=>Reflect.apply(S.n,S,[...y]),()=>pl,S=>U(S)||pe(S))}function $t(y){return y.map(S=>U(S)||ye(S)||Z(S)?Sl(String(S)):S)}const we={normalize:$t,interpolate:y=>y,type:"vnode"};function Je(...y){return be(S=>{let W;const j=S;try{j.processor=we,W=Reflect.apply(Tl,null,[j,...y])}finally{j.processor=null}return W},()=>Kr(...y),"translate",S=>S[Br](...y),S=>[Sl(S)],S=>pe(S))}function qe(...y){return be(S=>Reflect.apply(yl,null,[S,...y]),()=>Vr(...y),"number format",S=>S[Yr](...y),Il,S=>U(S)||pe(S))}function Lt(...y){return be(S=>Reflect.apply(_l,null,[S,...y]),()=>jr(...y),"datetime format",S=>S[Gr](...y),Il,S=>U(S)||pe(S))}function Ke(y){M=y,k.pluralRules=M}function Ut(y,S){return be(()=>{if(!y)return!1;const W=U(S)?S:i.value,j=L(W),Y=k.messageResolver(j,y);return at(Y)||Ge(Y)||U(Y)},()=>[y],"translate exists",W=>Reflect.apply(W.te,W,[y,S]),xf,W=>Z(W))}function p(y){let S=null;const W=ti(k,a.value,i.value);for(let j=0;j<W.length;j++){const Y=d.value[W[j]]||{},Ee=k.messageResolver(Y,y);if(Ee!=null){S=Ee;break}}return S}function g(y){const S=p(y);return S??(t?t.tm(y)||{}:{})}function L(y){return d.value[y]||{}}function R(y,S){if(s){const W={[y]:S};for(const j in W)Qe(W,j)&&Pn(W[j]);S=W[y]}d.value[y]=S,k.messages=d.value}function O(y,S){d.value[y]=d.value[y]||{};const W={[y]:S};if(s)for(const j in W)Qe(W,j)&&Pn(W[j]);S=W[y],Bn(S,d.value[y]),k.messages=d.value}function w(y){return f.value[y]||{}}function c(y,S){f.value[y]=S,k.datetimeFormats=f.value,bl(k,y,S)}function u(y,S){f.value[y]=Te(f.value[y]||{},S),k.datetimeFormats=f.value,bl(k,y,S)}function b(y){return h.value[y]||{}}function x(y,S){h.value[y]=S,k.numberFormats=h.value,vl(k,y,S)}function $(y,S){h.value[y]=Te(h.value[y]||{},S),k.numberFormats=h.value,vl(k,y,S)}wl++,t&&tr&&(Nt(t.locale,y=>{o&&(i.value=y,k.locale=y,fn(k,i.value,a.value))}),Nt(t.fallbackLocale,y=>{o&&(a.value=y,k.fallbackLocale=y,fn(k,i.value,a.value))}));const P={id:wl,locale:fe,fallbackLocale:xe,get inheritLocale(){return o},set inheritLocale(y){o=y,y&&t&&(i.value=t.locale.value,a.value=t.fallbackLocale.value,fn(k,i.value,a.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:re,get modifiers(){return C},get pluralRules(){return M||{}},get isGlobal(){return r},get missingWarn(){return _},set missingWarn(y){_=y,k.missingWarn=_},get fallbackWarn(){return I},set fallbackWarn(y){I=y,k.fallbackWarn=I},get fallbackRoot(){return A},set fallbackRoot(y){A=y},get fallbackFormat(){return N},set fallbackFormat(y){N=y,k.fallbackFormat=N},get warnHtmlMessage(){return T},set warnHtmlMessage(y){T=y,k.warnHtmlMessage=y},get escapeParameter(){return m},set escapeParameter(y){m=y,k.escapeParameter=y},t:Ve,getLocaleMessage:L,setLocaleMessage:R,mergeLocaleMessage:O,getPostTranslationHandler:Tt,setPostTranslationHandler:he,getMissingHandler:Q,setMissingHandler:q,[fi]:Ke};return P.datetimeFormats=$e,P.numberFormats=ut,P.rt=Me,P.te=Ut,P.tm=g,P.d=Ie,P.n=St,P.getDateTimeFormat=w,P.setDateTimeFormat=c,P.mergeDateTimeFormat=u,P.getNumberFormat=b,P.setNumberFormat=x,P.mergeNumberFormat=$,P[di]=n,P[Br]=Je,P[Gr]=Lt,P[Yr]=qe,P}function Tf(e){const t=U(e.locale)?e.locale:On,n=U(e.fallbackLocale)||pe(e.fallbackLocale)||J(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ae(e.missing)?e.missing:void 0,s=Z(e.silentTranslationWarn)||ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Z(e.silentFallbackWarn)||ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=Z(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,a=J(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,f=ae(e.postTranslation)?e.postTranslation:void 0,h=U(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,_=!!e.escapeParameterHtml,I=Z(e.sync)?e.sync:!0;let A=e.messages;if(J(e.sharedMessages)){const C=e.sharedMessages;A=Object.keys(C).reduce((k,B)=>{const K=k[B]||(k[B]={});return Te(K,C[B]),k},A||{})}const{__i18n:N,__root:F,__injectWithOption:v}=e,E=e.datetimeFormats,T=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:A,flatJson:m,datetimeFormats:E,numberFormats:T,missing:r,missingWarn:s,fallbackWarn:l,fallbackRoot:o,fallbackFormat:i,modifiers:a,pluralRules:d,postTranslation:f,warnHtmlMessage:h,escapeParameter:_,messageResolver:e.messageResolver,inheritLocale:I,__i18n:N,__root:F,__injectWithOption:v}}function qr(e={}){const t=Ss(Tf(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return Z(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=Z(s)?!s:s},get silentFallbackWarn(){return Z(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=Z(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},te(s,l){return t.te(s,l)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,l){t.setLocaleMessage(s,l)},mergeLocaleMessage(s,l){t.mergeLocaleMessage(s,l)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,l){t.setDateTimeFormat(s,l)},mergeDateTimeFormat(s,l){t.mergeDateTimeFormat(s,l)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,l){t.setNumberFormat(s,l)},mergeNumberFormat(s,l){t.mergeNumberFormat(s,l)}};return r.__extender=n,r}function Sf(e,t,n){return{beforeCreate(){const r=Nn();if(!r)throw je(De.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const l=s.i18n;if(s.__i18n&&(l.__i18n=s.__i18n),l.__root=t,this===this.$root)this.$i18n=Ol(e,l);else{l.__injectWithOption=!0,l.__extender=n.__vueI18nExtend,this.$i18n=qr(l);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Ol(e,s);else{this.$i18n=qr({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&hi(t,s,s),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,o)=>this.$i18n.te(l,o),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Nn();if(!r)throw je(De.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Ol(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[fi](t.pluralizationRules||e.pluralizationRules);const n=Ts(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Ls={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Lf({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===ke?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},le())}function mi(){return ke}const If=vt({name:"i18n-t",props:Te({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ye(e)||!isNaN(e)}},Ls),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Et({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(n).filter(h=>h[0]!=="_"),o=le();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=U(e.plural)?+e.plural:e.plural);const i=Lf(t,l),a=s[Br](e.keypath,i,o),d=Te(le(),r),f=U(e.tag)||z(e.tag)?e.tag:mi();return Vo(f,d,a)}}}),Pl=If;function wf(e){return pe(e)&&!U(e[0])}function gi(e,t,n,r){const{slots:s,attrs:l}=t;return()=>{const o={part:!0};let i=le();e.locale&&(o.locale=e.locale),U(e.format)?o.key=e.format:z(e.format)&&(U(e.format.key)&&(o.key=e.format.key),i=Object.keys(e.format).reduce((_,I)=>n.includes(I)?Te(le(),_,{[I]:e.format[I]}):_,le()));const a=r(e.value,o,i);let d=[o.key];pe(a)?d=a.map((_,I)=>{const A=s[_.type],N=A?A({[_.type]:_.value,index:I,parts:a}):[_.value];return wf(N)&&(N[0].key=`${_.type}-${I}`),N}):U(a)&&(d=[a]);const f=Te(le(),l),h=U(e.tag)||z(e.tag)?e.tag:mi();return Vo(h,f,d)}}const Cf=vt({name:"i18n-n",props:Te({value:{type:Number,required:!0},format:{type:[String,Object]}},Ls),setup(e,t){const n=e.i18n||Et({useScope:e.scope,__useComponent:!0});return gi(e,t,ai,(...r)=>n[Yr](...r))}}),Nl=Cf;function Of(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Pf(e){const t=o=>{const{instance:i,value:a}=o;if(!i||!i.$)throw je(De.UNEXPECTED_ERROR);const d=Of(e,i.$),f=Rl(a);return[Reflect.apply(d.t,d,[...kl(f)]),d]};return{created:(o,i)=>{const[a,d]=t(i);tr&&e.global===d&&(o.__i18nWatcher=Nt(d.locale,()=>{i.instance&&i.instance.$forceUpdate()})),o.__composer=d,o.textContent=a},unmounted:o=>{tr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:i})=>{if(o.__composer){const a=o.__composer,d=Rl(i);o.textContent=Reflect.apply(a.t,a,[...kl(d)])}},getSSRProps:o=>{const[i]=t(o);return{textContent:i}}}}function Rl(e){if(U(e))return{path:e};if(J(e)){if(!("path"in e))throw je(De.REQUIRED_VALUE,"path");return e}else throw je(De.INVALID_VALUE)}function kl(e){const{path:t,locale:n,args:r,choice:s,plural:l}=e,o={},i=r||{};return U(n)&&(o.locale=n),ye(s)&&(o.plural=s),ye(l)&&(o.plural=l),[t,i,o]}function Nf(e,t,...n){const r=J(n[0])?n[0]:{};(!Z(r.globalInstall)||r.globalInstall)&&([Pl.name,"I18nT"].forEach(l=>e.component(l,Pl)),[Nl.name,"I18nN"].forEach(l=>e.component(l,Nl)),[Ml.name,"I18nD"].forEach(l=>e.component(l,Ml))),e.directive("t",Pf(t))}const Rf=Mt("global-vue-i18n");function kf(e={}){const t=__VUE_I18N_LEGACY_API__&&Z(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Z(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,l]=Af(e,t),o=Mt("");function i(h){return r.get(h)||null}function a(h,_){r.set(h,_)}function d(h){r.delete(h)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,..._){if(h.__VUE_I18N_SYMBOL__=o,h.provide(h.__VUE_I18N_SYMBOL__,f),J(_[0])){const N=_[0];f.__composerExtend=N.__composerExtend,f.__vueI18nExtend=N.__vueI18nExtend}let I=null;!t&&n&&(I=jf(h,f.global)),__VUE_I18N_FULL_INSTALL__&&Nf(h,f,..._),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Sf(l,l.__composer,f));const A=h.unmount;h.unmount=()=>{I&&I(),f.dispose(),A()}},get global(){return l},dispose(){s.stop()},__instances:r,__getInstance:i,__setInstance:a,__deleteInstance:d};return f}function Et(e={}){const t=Nn();if(t==null)throw je(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw je(De.NOT_INSTALLED);const n=Mf(t),r=Df(n),s=pi(t),l=Ff(e,s);if(l==="global")return hi(r,e,s),r;if(l==="parent"){let a=$f(n,t,e.__useComponent);return a==null&&(a=r),a}const o=n;let i=o.__getInstance(t);if(i==null){const a=Te({},e);"__i18n"in s&&(a.__i18n=s.__i18n),r&&(a.__root=r),i=Ss(a),o.__composerExtend&&(i[Jr]=o.__composerExtend(i)),Wf(o,t,i),o.__setInstance(t,i)}return i}function Af(e,t){const n=Mi(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>qr(e)):n.run(()=>Ss(e));if(r==null)throw je(De.UNEXPECTED_ERROR);return[n,r]}function Mf(e){const t=_n(e.isCE?Rf:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw je(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}function Ff(e,t){return fr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Df(e){return e.mode==="composition"?e.global:e.global.__composer}function $f(e,t,n=!1){let r=null;const s=t.root;let l=Uf(t,n);for(;l!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const i=o.__getInstance(l);i!=null&&(r=i.__composer,n&&r&&!r[di]&&(r=null))}if(r!=null||s===l)break;l=l.parent}return r}function Uf(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Wf(e,t,n){An(()=>{},t),fs(()=>{const r=n;e.__deleteInstance(t);const s=r[Jr];s&&(s(),delete r[Jr])},t)}const Hf=["locale","fallbackLocale","availableLocales"],Al=["t","rt","d","n","tm","te"];function jf(e,t){const n=Object.create(null);return Hf.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l)throw je(De.UNEXPECTED_ERROR);const o=_e(l.value)?{get(){return l.value.value},set(i){l.value.value=i}}:{get(){return l.get&&l.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,Al.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l||!l.value)throw je(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,l)}),()=>{delete e.config.globalProperties.$i18n,Al.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const Vf=vt({name:"i18n-d",props:Te({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ls),setup(e,t){const n=e.i18n||Et({useScope:e.scope,__useComponent:!0});return gi(e,t,ii,(...r)=>n[Gr](...r))}}),Ml=Vf;vf();Qu(Ru);Zu(Ju);zu(ti);if(__INTLIFY_PROD_DEVTOOLS__){const e=Vt();e.__INTLIFY__=!0,ku(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Kf=["value","placeholder"],Bf=["value"],Gf=vt({__name:"PlaygroundFilters",props:{search:{},basePath:{},showBase:{type:Boolean,default:!0},compact:{type:Boolean,default:!1}},emits:["update:search"],setup(e,{emit:t}){const n=e,r=t;function s(o){const i=o.target;r("update:search",i?.value??"")}const{t:l}=Et();return(o,i)=>(ce(),de("section",{class:ge(["grid",n.compact?"gap-2":"gap-3"])},[D("label",{class:ge(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[Gt(X(H(l)("filters.search"))+" ",1),D("input",{value:e.search,type:"search",class:ge(["rounded-lg border outline-none transition border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"]),placeholder:H(l)("filters.searchPlaceholder"),"data-testid":"playground-search",onInput:s},null,42,Kf)],2),n.showBase?(ce(),de("label",{key:0,class:ge(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[Gt(X(H(l)("filters.base"))+" ",1),D("input",{value:e.basePath,readonly:"",class:ge(["rounded-lg border border-pg-border bg-pg-surface-strong text-pg-text",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"])},null,10,Bf)],2)):nn("",!0)],2))}}),Yf={class:"flex flex-wrap items-center gap-2"},Jf=["onClick"],qf=vt({__name:"PlaygroundTabs",props:{groups:{},activeGroup:{}},emits:["select"],setup(e,{emit:t}){const n=t,{t:r}=Et();return(s,l)=>(ce(),de("section",Yf,[D("button",{class:ge(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup==="all"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:l[0]||(l[0]=o=>n("select","all"))},X(H(r)("tabs.overview")),3),(ce(!0),de(ke,null,ds(e.groups,o=>(ce(),de("button",{key:o.key,class:ge(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup===o.key?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:i=>n("select",o.key)},X(o.label),11,Jf))),128))]))}}),Xf={class:"flex min-h-0 flex-col gap-4"},Qf={key:0,class:"flex h-full flex-col items-center justify-center gap-3 rounded-3xl border p-6 text-center shadow-xl border-pg-border bg-pg-surface-card text-pg-text-muted"},Zf={class:"text-xl font-display text-pg-text-strong"},zf={class:"text-sm"},ed={key:1,class:"flex min-h-0 h-full flex-col gap-4"},td={class:"rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},nd={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},rd={class:"truncate text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},sd={class:"flex flex-wrap items-center gap-3 px-4 py-3"},ld=["value"],od={class:"flex flex-wrap items-center gap-2 border-t px-4 py-3 text-[0.6rem] uppercase tracking-[0.2em] border-pg-border text-pg-text-muted"},id={class:"rounded-full px-2 py-0.5 text-[0.55rem] bg-pg-chip text-pg-chip-text"},ad={key:0,class:"flex flex-wrap gap-2 border-t px-4 py-3 text-xs border-pg-border text-pg-text-soft"},cd={class:"grid gap-3 border-t p-4 border-pg-border lg:grid-cols-2"},ud={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},fd=["value","placeholder"],dd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},pd=["value","placeholder"],hd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted lg:col-span-2"},md=["value","placeholder"],gd={class:"flex min-h-[220px] flex-1 flex-col rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},_d={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},bd={class:"flex items-center gap-3 text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},yd={class:"flex-1 min-h-0 overflow-auto rounded-b-2xl p-4 text-xs bg-pg-surface-strong text-pg-text","data-testid":"playground-response"},vd='{ "q": "alpha", "page": 1 }',xd='{ "x-mokup": "playground" }',Ed='{ "name": "Ada" }',Td=vt({__name:"RouteDetail",props:{selected:{},queryText:{},headersText:{},bodyText:{},responseText:{},responseStatus:{},responseTime:{}},emits:["update:queryText","update:headersText","update:bodyText","run"],setup(e,{emit:t}){const n=t,{t:r}=Et(),s=l=>`method-${l.toLowerCase()}`;return(l,o)=>(ce(),de("section",Xf,[e.selected?(ce(),de("div",ed,[D("section",td,[D("div",nd,[D("span",null,X(H(r)("detail.requestLabel")),1),D("span",rd,X(e.selected.file),1)]),D("div",sd,[D("span",{class:ge(["rounded-full px-3 py-1 text-[0.6rem] uppercase tracking-[0.2em]",s(e.selected.method)])},X(e.selected.method),3),D("input",{value:e.selected.url,readonly:"",class:"min-w-[220px] flex-1 rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text"},null,8,ld),D("button",{class:"rounded-full px-4 py-2 text-[0.65rem] uppercase tracking-[0.3em] shadow-sm transition hover:-translate-y-0.5 bg-pg-accent text-pg-on-accent","data-testid":"playground-run",onClick:o[0]||(o[0]=i=>n("run"))},X(H(r)("detail.run")),1)]),D("div",od,[D("span",null,X(H(r)("detail.middlewares")),1),D("span",id,X(e.selected.middlewareCount??0),1)]),e.selected.middlewares&&e.selected.middlewares.length>0?(ce(),de("div",ad,[(ce(!0),de(ke,null,ds(e.selected.middlewares,i=>(ce(),de("span",{key:i,class:"rounded-full border px-3 py-1 text-[0.6rem] border-pg-border bg-pg-surface-strong"},X(i),1))),128))])):nn("",!0),D("div",cd,[D("label",ud,[Gt(X(H(r)("detail.query"))+" ",1),D("textarea",{value:e.queryText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.queryPlaceholder",{json:vd}),onInput:o[1]||(o[1]=i=>n("update:queryText",i.target?.value??""))},null,40,fd)]),D("label",dd,[Gt(X(H(r)("detail.headers"))+" ",1),D("textarea",{value:e.headersText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.headersPlaceholder",{json:xd}),onInput:o[2]||(o[2]=i=>n("update:headersText",i.target?.value??""))},null,40,pd)]),D("label",hd,[Gt(X(H(r)("detail.body"))+" ",1),D("textarea",{value:e.bodyText,rows:"6",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:H(r)("detail.bodyPlaceholder",{json:Ed}),onInput:o[3]||(o[3]=i=>n("update:bodyText",i.target?.value??""))},null,40,md)])])]),D("section",gd,[D("div",_d,[D("span",null,X(H(r)("detail.responseLabel")),1),D("span",bd,[D("span",null,X(e.responseStatus),1),D("span",null,X(e.responseTime),1)])]),D("pre",yd,X(e.responseText),1)])])):(ce(),de("div",Qf,[D("p",Zf,X(H(r)("detail.selectTitle")),1),D("p",zf,X(H(r)("detail.selectHint")),1)]))]))}});function Sd(e){const t=e.endsWith("/")&&e!=="/"?e.slice(0,-1):e;return t==="/"?"":t.endsWith("/index.html")?t.slice(0,-11):t}function nr(e){return e.replace(/\\/g,"/")}const Ld={class:"flex flex-col gap-1","data-testid":"playground-tree"},Id=["title","onClick"],wd=["aria-label","onClick"],Cd=vt({__name:"RouteTree",props:{rows:{},workspaceRoot:{}},emits:["toggle","select"],setup(e,{emit:t}){const n=e,r=t,s=f=>`method-${f.toLowerCase()}`;function l(){return(n.workspaceRoot??"").trim().length>0}function o(f){return f.startsWith("/")||/^[a-z]:\//i.test(f)}function i(f){if(!l())return null;const h=nr(f.file||"").trim();if(!h)return null;if(o(h))return h;const _=nr((n.workspaceRoot??"").trim());if(!_)return null;const I=_.replace(/\/$/,""),A=h.replace(/^\/+/,"");return`${I}/${A}`}function a(f){const h=i(f);if(!h)return;const _=`vscode://file/${encodeURI(h)}`;window.location.href=_}function d(f){if(f.kind==="folder"){r("toggle",f.id);return}r("select",f)}return(f,h)=>(ce(),de("div",Ld,[(ce(!0),de(ke,null,ds(e.rows,_=>(ce(),de("div",{key:_.id,class:ge(["group flex items-center gap-2 rounded-lg border border-transparent px-2 py-1 text-left transition text-pg-text hover:bg-pg-hover",_.selected?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm":""]),"data-testid":"playground-tree-row"},[D("button",{class:"flex min-w-0 flex-1 items-center gap-2 text-left",type:"button",title:_.title,onClick:I=>d(_)},[D("div",{class:"flex items-center gap-2",style:Rn({paddingLeft:`${_.depth*12}px`})},[D("span",{class:ge(["flex h-3.5 w-3.5 items-center justify-center",_.selected?"text-pg-on-accent-soft":"text-pg-text-muted"])},[_.kind==="folder"?(ce(),de("span",{key:0,class:ge([_.expanded?"i-[carbon--chevron-down]":"i-[carbon--chevron-right]","h-3.5 w-3.5"]),"aria-hidden":"true"},null,2)):nn("",!0)],2),_.kind==="route"&&_.route?(ce(),de("span",{key:0,class:ge(["rounded-full px-1.5 py-0.5 text-[0.5rem] uppercase tracking-[0.2em]",s(_.route.method)])},X(_.route.method),3)):nn("",!0),D("span",{class:ge(["text-[0.78rem]",_.kind==="folder"?"font-semibold":"font-medium"])},X(_.label),3)],4)],8,Id),_.kind==="route"&&_.route&&i(_.route)?(ce(),de("button",{key:0,class:ge(["flex h-6 w-6 items-center justify-center rounded-md transition text-pg-text-muted hover:bg-pg-hover-strong hover:text-pg-text-soft",_.selected?"text-pg-on-accent-soft":""]),type:"button","aria-label":`Open ${_.route.file} in VS Code`,onClick:I=>a(_.route)},[...h[0]||(h[0]=[D("span",{class:"i-[carbon--launch] h-3.5 w-3.5","aria-hidden":"true"},null,-1)])],10,wd)):nn("",!0)],2))),128))]))}}),Od={class:"flex items-center gap-2"},Pd=vt({__name:"TreeModeToggle",props:{treeMode:{}},emits:["update:treeMode"],setup(e,{emit:t}){const n=t;function r(l){n("update:treeMode",l)}const{t:s}=Et();return(l,o)=>(ce(),de("div",Od,[D("button",{class:ge(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="file"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[0]||(o[0]=i=>r("file"))},[o[2]||(o[2]=D("span",{class:"i-[carbon--document] h-4 w-4","aria-hidden":"true"},null,-1)),D("span",null,X(H(s)("tree.file")),1)],2),D("button",{class:ge(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="route"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[1]||(o[1]=i=>r("route"))},[o[3]||(o[3]=D("span",{class:"i-[carbon--link] h-4 w-4","aria-hidden":"true"},null,-1)),D("span",null,X(H(s)("tree.route")),1)],2)]))}});function Cr(e){const t=e.trim();if(!t)return{value:void 0};try{return{value:JSON.parse(t)}}catch(n){return{error:n instanceof Error?n.message:"Invalid JSON"}}}function Nd(e,t){for(const[n,r]of Object.entries(t))typeof r>"u"||(Array.isArray(r)?r.forEach(s=>e.searchParams.append(n,String(s))):e.searchParams.set(n,String(r)))}let dn=null;function Rd(e){return[e.active?.scriptURL,e.waiting?.scriptURL,e.installing?.scriptURL].filter(n=>typeof n=="string").some(n=>{try{return new URL(n).pathname.includes("mokup-sw")}catch{return n.includes("mokup-sw")}})}async function kd(e=2e3){if(!(typeof window>"u"||!("serviceWorker"in navigator))&&!navigator.serviceWorker.controller){if(dn){await dn;return}dn=(async()=>{let t=null;try{t=await navigator.serviceWorker.getRegistration()}catch{t=null}if(!t||!Rd(t)||navigator.serviceWorker.controller)return;let n=null;const r=new Promise(o=>{const i=()=>o();n=i,navigator.serviceWorker.addEventListener("controllerchange",i)}),s=navigator.serviceWorker.ready.then(()=>{}).catch(()=>{}),l=new Promise(o=>{window.setTimeout(o,e)});await Promise.race([r,s,l]),n&&navigator.serviceWorker.removeEventListener("controllerchange",n)})(),await dn,navigator.serviceWorker.controller||(dn=null)}}function Ad(e){const{t}=Et(),n=se(""),r=se(""),s=se(""),l=se(t("response.empty")),o=se(t("response.idle")),i=se("");function a(){l.value=t("response.empty"),o.value=t("response.idle"),i.value=""}async function d(){if(!e.value)return;const f=Cr(n.value);if(f.error){l.value=t("errors.queryJson",{message:f.error});return}const h=Cr(r.value);if(h.error){l.value=t("errors.headersJson",{message:h.error});return}const _=Cr(s.value);if(_.error){l.value=t("errors.bodyJson",{message:_.error});return}const I=new URL(e.value.url,window.location.origin);f.value&&Nd(I,f.value);const A={};if(h.value)for(const[E,T]of Object.entries(h.value))typeof T>"u"||(A[E]=Array.isArray(T)?T.join(","):String(T));const N={method:e.value.method,headers:A},F=e.value.method.toUpperCase();_.value&&F!=="GET"&&F!=="HEAD"&&(N.body=JSON.stringify(_.value),A["Content-Type"]||(A["Content-Type"]="application/json")),o.value=t("response.loading"),i.value="",l.value=t("response.waiting"),await kd();const v=performance.now();try{const E=await fetch(I.toString(),N),T=Math.round(performance.now()-v);i.value=`${T}ms`,o.value=`${E.status} ${E.statusText}`;const m=E.headers.get("content-type")??"",C=await E.text();if(m.includes("application/json"))try{l.value=JSON.stringify(JSON.parse(C),null,2)}catch{l.value=C}else l.value=C||t("response.emptyPayload")}catch(E){o.value=t("response.error"),l.value=E instanceof Error?E.message:String(E)}}return Nt(e,()=>{a()}),{queryText:n,headersText:r,bodyText:s,responseText:l,responseStatus:o,responseTime:i,resetResponse:a,runRequest:d}}function Md(){const e=se([]),t=se([]),n=se(null),r=se([]),s=se("all"),l=se(!1),o=se(""),i=se(""),a=se(""),d=se(""),f=Pe(()=>i.value.trim().toLowerCase()),h=Pe(()=>t.value.length),_=Pe(()=>`${a.value||""}/routes`),I=m=>`${m.method} ${m.url}`;function A(){return s.value==="all"?e.value:e.value.filter(m=>m.groupKey===s.value)}function N(){const m=f.value,C=A();t.value=m?C.filter(M=>`${M.method} ${M.url} ${M.file}`.toLowerCase().includes(m)):[...C]}function F(m){s.value=m,N(),!(n.value&&t.value.some(M=>I(M)===I(n.value)))&&(n.value=t.value[0]??null)}function v(m){n.value=m}function E(m){a.value=Sd(m)}async function T(){l.value=!0,o.value="";const m=n.value?I(n.value):"",C=s.value;try{const M=await fetch(_.value);if(!M.ok)throw new Error(`Failed to load routes: ${M.status}`);const k=await M.json();if(e.value=k.routes??[],r.value=k.groups??[],d.value=k.root??"",C!=="all"&&(r.value.some(K=>K.key===C)||(s.value="all")),N(),m){const B=t.value.find(K=>I(K)===m);n.value=B??t.value[0]??null}else n.value=t.value[0]??null}catch(M){o.value=M instanceof Error?M.message:String(M)}finally{l.value=!1}}return Nt(i,()=>{N()}),{routes:e,filtered:t,selected:n,groups:r,activeGroup:s,loading:l,error:o,search:i,basePath:a,workspaceRoot:d,searchTerm:f,routeCount:h,routeKey:I,loadRoutes:T,setActiveGroup:F,selectRoute:v,setBasePath:E}}const _i="mokup.playground.theme";function bi(){try{const e=localStorage.getItem(_i);if(e==="system"||e==="light"||e==="dark")return e}catch{}return null}function Fd(e){try{localStorage.setItem(_i,e)}catch{}}function Dd(e){return e==="system"?"light":e==="light"?"dark":"system"}function yi(e,t){return e==="dark"?"dark":e==="light"?"light":t?"dark":"light"}function Gn(e,t){const n=yi(e,t);return document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,n}function $d(){const e=bi()??"system",t=window.matchMedia("(prefers-color-scheme: dark)").matches;return Gn(e,t),e}function Ud(){const e=se("system"),t=se(!1);let n=null;const r=Pe(()=>yi(e.value,t.value)),s=()=>{n&&(t.value=n.matches,e.value==="system"&&Gn(e.value,t.value))};function l(i){e.value=i,Fd(i),Gn(i,t.value)}function o(){l(Dd(e.value))}return An(()=>{n=window.matchMedia("(prefers-color-scheme: dark)"),t.value=n.matches,e.value=bi()??"system",Gn(e.value,t.value),n.addEventListener("change",s)}),us(()=>{n?.removeEventListener("change",s),n=null}),{themeMode:e,effectiveTheme:r,setThemeMode:l,cycleThemeMode:o}}function Wd(e,t){if(t==="file")return nr(e.file).split("/").filter(Boolean);const n=nr(e.url),r=n.startsWith("/")?n.slice(1):n;return r?r.split("/").filter(Boolean):[]}function vi(e,t){const n={id:`${t}:root`,label:"",kind:"folder",path:"",children:[]};for(const r of e){const s=Wd(r,t);if(s.length===0){const i=`${t}:route:${r.method} ${r.url}|${r.file}`;n.children.push({id:i,label:"/",kind:"route",path:"/",route:r,children:[]});continue}let l=n;const o=s.length;for(let i=0;i<o;i+=1){const a=s[i];if(i===o-1){const _=`${t}:route:${r.method} ${r.url}|${r.file}`;l.children.push({id:_,label:a,kind:"route",path:s.join("/"),route:r,children:[]});continue}l.map||(l.map=new Map);const f=s.slice(0,i+1).join("/");let h=l.map.get(f);h||(h={id:`${t}:folder:${f}`,label:a,kind:"folder",path:f,children:[]},l.map.set(f,h),l.children.push(h)),l=h}}return n}function Is(e){e.children.sort((t,n)=>{if(t.kind!==n.kind)return t.kind==="folder"?-1:1;const r=t.label.localeCompare(n.label);return r!==0?r:t.route&&n.route?t.route.method.localeCompare(n.route.method):0});for(const t of e.children)t.kind==="folder"&&Is(t)}function xi(e,t){for(const n of e.children)n.kind==="folder"&&(t.push(n.id),xi(n,t))}function Hd(e,t){const n=vi(e,t);Is(n);const r=[];return xi(n,r),r}function Ei(e,t,n,r,s,l,o){for(const i of e.children){const a=i.kind==="folder"?i.path:n==="file"?i.route?.file:i.route?.url,d=i.kind==="folder"?s(i.id):void 0;r.push({id:i.id,label:i.label,kind:i.kind,depth:t,title:a,expanded:d,selected:i.route?o(i.route)===l:!1,route:i.route}),i.kind==="folder"&&d&&Ei(i,t+1,n,r,s,l,o)}}function jd(e){const t=[];return Ei(e.root,0,e.mode,t,e.isExpanded,e.selectedKey,e.getRouteKey),t}function Vd(e){const t=se("file"),n=se(new Set),r=se(new Set),s=se(!1),l=se(!1);function o(){return"mokup.playground.treeMode"}function i(T){return`mokup.playground.treeExpanded.${T}`}function a(T){try{const m=localStorage.getItem(i(T));if(!m)return{set:new Set,hasValue:!1};const C=JSON.parse(m);return Array.isArray(C)?{set:new Set(C.filter(M=>typeof M=="string")),hasValue:!0}:{set:new Set,hasValue:!1}}catch{return{set:new Set,hasValue:!1}}}function d(T,m){try{localStorage.setItem(i(T),JSON.stringify([...m]))}catch{}}function f(T){try{localStorage.setItem(o(),T)}catch{}}function h(){return t.value==="file"?n.value:r.value}function _(T,m){T==="file"?n.value=m:r.value=m}function I(T){return T==="file"?s.value:l.value}function A(T,m){T==="file"?s.value=m:l.value=m}function N(T){return e.searchTerm.value||!I(t.value)?!0:h().has(T)}function F(T){const m=t.value;if(!I(m)){const M=new Set(Hd(e.routes.value,m));_(m,M),A(m,!0)}const C=new Set(h());C.has(T)?C.delete(T):C.add(T),_(m,C),A(m,!0),d(m,C)}function v(T){t.value=T,f(T)}const E=Pe(()=>{const T=t.value,m=vi(e.routes.value,T);return Is(m),jd({root:m,mode:T,isExpanded:N,selectedKey:e.selectedKey.value,getRouteKey:e.getRouteKey})});return An(()=>{try{const T=localStorage.getItem(o());(T==="file"||T==="route")&&(t.value=T);const m=a("file");n.value=m.set,s.value=m.hasValue;const C=a("route");r.value=C.set,l.value=C.hasValue}catch{}}),{treeMode:t,treeRows:E,toggleExpanded:F,setTreeMode:v}}const Ti="mokup.playground.locale",Kd={"en-US":{header:{title:"Mock Playground",subtitle:"Inspect mock endpoints, craft requests, and validate responses without leaving the dev server.",refresh:"Refresh",routes:"{count} routes",languageToggle:"Language",themeToggle:"Theme"},controls:{more:"More"},theme:{system:"System",light:"Light",dark:"Dark"},filters:{search:"Search",base:"Base",searchPlaceholder:"Filter by method, path, or file"},tabs:{overview:"Overview"},tree:{file:"File",route:"Route"},states:{loadingRoutes:"Loading routes...",emptyRoutes:"No routes matched."},detail:{selectTitle:"Select a route",selectHint:"Choose a route on the left to run a request.",requestLabel:"Request",responseLabel:"Response",run:"Run",query:"Query (JSON)",headers:"Headers (JSON)",body:"Body (JSON)",middlewares:"Middlewares",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"Idle",empty:"No response yet.",waiting:"Waiting for response...",loading:"Loading...",error:"Error",emptyPayload:"[empty response]"},errors:{queryJson:"Query JSON error: {message}",headersJson:"Headers JSON error: {message}",bodyJson:"Body JSON error: {message}"}},"zh-CN":{header:{title:"接口调试台",subtitle:"查看 Mock 接口、构造请求并验证响应,无需离开开发服务器。",refresh:"刷新",routes:"{count} 条接口",languageToggle:"语言",themeToggle:"主题"},controls:{more:"更多"},theme:{system:"跟随系统",light:"亮色",dark:"暗色"},filters:{search:"搜索",base:"基路径",searchPlaceholder:"按方法、路径或文件过滤"},tabs:{overview:"总览"},tree:{file:"文件",route:"路由"},states:{loadingRoutes:"正在加载接口...",emptyRoutes:"没有匹配的接口。"},detail:{selectTitle:"请选择接口",selectHint:"从左侧选择一个接口开始调试。",requestLabel:"请求",responseLabel:"响应",run:"发送",query:"查询参数 (JSON)",headers:"请求头 (JSON)",body:"请求体 (JSON)",middlewares:"中间件",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"空闲",empty:"暂无响应。",waiting:"等待响应...",loading:"请求中...",error:"错误",emptyPayload:"[空响应]"},errors:{queryJson:"查询 JSON 错误:{message}",headersJson:"请求头 JSON 错误:{message}",bodyJson:"请求体 JSON 错误:{message}"}}};function Bd(){try{const e=localStorage.getItem(Ti);if(e==="en-US"||e==="zh-CN")return e}catch{}return null}function Gd(e){try{localStorage.setItem(Ti,e)}catch{}}const Yd=kf({legacy:!1,locale:Bd()??"en-US",fallbackLocale:"en-US",messages:Kd}),Jd={class:"h-screen overflow-hidden pg-app-bg","data-testid":"playground-app"},qd={class:"flex h-full w-full flex-col"},Xd={class:"flex min-h-0 flex-1 flex-col overflow-hidden"},Qd={class:"flex flex-1 flex-col overflow-hidden bg-pg-surface-shell"},Zd={class:"flex min-h-0 w-full max-w-none flex-col gap-3 overflow-hidden border-b p-3 border-pg-border lg:w-[var(--left-width)] lg:min-w-[240px] lg:max-w-[560px] lg:flex-none lg:border-b-0 lg:border-r"},zd={class:"relative"},ep={class:"flex items-end gap-2"},tp=["aria-expanded"],np={class:"grid gap-3"},rp={class:"flex flex-col gap-1 text-[0.55rem] uppercase tracking-[0.25em] text-pg-text-muted"},sp=["value"],lp={class:"flex-1 min-h-0 overflow-auto"},op={key:0,class:"rounded-2xl border px-4 py-3 text-sm border-pg-danger-border bg-pg-danger-bg text-pg-danger-text"},ip={key:1,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},ap={key:2,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},cp={class:"relative hidden w-4 flex-none items-center justify-center lg:flex"},up={class:"flex min-h-0 flex-1 flex-col overflow-hidden p-4 lg:p-6"},fp={class:"flex flex-none flex-wrap items-center justify-between gap-2 rounded-2xl border px-3 py-2 text-[0.55rem] uppercase tracking-[0.25em] shadow-sm border-pg-border bg-pg-surface-card text-pg-text-soft"},dp={class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] border-pg-border bg-pg-surface-strong text-pg-text-soft"},pp={class:"flex flex-wrap items-center gap-2"},hp=["title"],mp=["title"],gp={class:"mt-3 flex-1 min-h-0 overflow-auto"},Fl="mokup:playground:split-width",_p=240,bp=560,yp=vt({__name:"App",setup(e){const{filtered:t,selected:n,groups:r,activeGroup:s,loading:l,error:o,search:i,basePath:a,workspaceRoot:d,searchTerm:f,routeCount:h,routeKey:_,loadRoutes:I,setActiveGroup:A,selectRoute:N,setBasePath:F}=Md(),{queryText:v,headersText:E,bodyText:T,responseText:m,responseStatus:C,responseTime:M,runRequest:k}=Ad(n),{locale:B,t:K}=Et(),{themeMode:fe,effectiveTheme:xe,cycleThemeMode:re}=Ud(),$e=Pe(()=>n.value?_(n.value):""),ut=Pe(()=>xe.value==="dark"?"i-[carbon--moon]":"i-[carbon--sun]"),Tt=Pe(()=>K(`theme.${fe.value}`)),he=Pe(()=>B.value==="zh-CN"?"中文":"EN"),Q=se(320),q=se(!1);let be=0,Ve=0;const Me=Pe(()=>({"--left-width":`${Q.value}px`})),{treeMode:Ie,treeRows:St,toggleExpanded:$t,setTreeMode:Jt}=Vd({routes:t,selectedKey:$e,searchTerm:f,getRouteKey:_}),we=se(!1),Je=se(null),qe=se(null);function Lt(){const w=B.value==="en-US"?"zh-CN":"en-US";B.value=w,Gd(w)}function Ke(w){w.route&&N(w.route)}function Ut(w){return Math.min(bp,Math.max(_p,w))}function p(w){if(!q.value)return;const c=w.clientX-be;Q.value=Ut(Ve+c)}function g(){q.value&&(q.value=!1,window.removeEventListener("pointermove",p),window.removeEventListener("pointerup",g),localStorage.setItem(Fl,String(Q.value)))}function L(w){w.button===0&&(w.preventDefault(),q.value=!0,be=w.clientX,Ve=Q.value,window.addEventListener("pointermove",p),window.addEventListener("pointerup",g))}function R(){we.value=!we.value}function O(w){if(!we.value)return;const c=w.target;c&&(qe.value?.contains(c)||Je.value?.contains(c)||(we.value=!1))}return An(()=>{F(window.location.pathname);const w=Number(localStorage.getItem(Fl));Number.isFinite(w)&&w>0&&(Q.value=Ut(w)),document.addEventListener("pointerdown",O),window.__MOKUP_PLAYGROUND__={reloadRoutes:()=>{I().catch(()=>{})}},I().catch(()=>{})}),us(()=>{g(),document.removeEventListener("pointerdown",O)}),(w,c)=>(ce(),de("div",Jd,[D("div",qd,[D("main",Xd,[D("div",Qd,[D("div",{class:ge(["flex min-h-0 flex-1 flex-col lg:flex-row",q.value?"select-none":""]),style:Rn(Me.value)},[D("aside",Zd,[D("div",zd,[D("div",ep,[Se(Gf,{search:H(i),"onUpdate:search":c[0]||(c[0]=u=>_e(i)?i.value=u:null),"base-path":H(a)||"/","show-base":!1,compact:!0,class:"flex-1"},null,8,["search","base-path"]),D("button",{ref_key:"moreButtonRef",ref:Je,class:"flex h-9 items-center gap-2 rounded-full border px-3 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",type:"button","aria-expanded":we.value,"aria-haspopup":"true","aria-controls":"playground-more-panel",onClick:R},[c[6]||(c[6]=D("span",{class:"i-[carbon--settings-adjust] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("controls.more")),1)],8,tp)]),we.value?(ce(),de("div",{key:0,id:"playground-more-panel",ref_key:"morePanelRef",ref:qe,class:"absolute left-0 right-0 z-30 mt-2 rounded-2xl border p-3 shadow-xl border-pg-border bg-pg-surface-panel"},[D("div",np,[D("label",rp,[Gt(X(H(K)("filters.base"))+" ",1),D("input",{value:H(a)||"/",readonly:"",class:"rounded-lg border px-2.5 py-1.5 text-[0.8rem] border-pg-border bg-pg-surface-strong text-pg-text"},null,8,sp)]),Se(qf,{groups:H(r),"active-group":H(s),onSelect:H(A)},null,8,["groups","active-group","onSelect"]),Se(Pd,{"tree-mode":H(Ie),"onUpdate:treeMode":H(Jt)},null,8,["tree-mode","onUpdate:treeMode"])])],512)):nn("",!0)]),D("div",lp,[H(o)?(ce(),de("div",op,X(H(o)),1)):H(l)?(ce(),de("div",ip,X(H(K)("states.loadingRoutes")),1)):H(t).length?(ce(),$o(Cd,{key:3,rows:H(St),"workspace-root":H(d),onToggle:H($t),onSelect:Ke},null,8,["rows","workspace-root","onToggle"])):(ce(),de("div",ap,X(H(K)("states.emptyRoutes")),1))])]),D("div",cp,[c[8]||(c[8]=D("div",{class:"h-full w-px bg-pg-divider"},null,-1)),D("button",{class:"group absolute flex h-10 w-10 cursor-col-resize items-center justify-center rounded-full border shadow-sm transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-muted hover:text-pg-text-soft",type:"button","aria-label":"Resize panels",onPointerdown:L},[...c[7]||(c[7]=[D("span",{class:"i-[carbon--drag-horizontal] h-5 w-5","aria-hidden":"true"},null,-1)])],32)]),D("section",up,[D("div",fp,[D("span",dp,[c[9]||(c[9]=D("span",{class:"i-[carbon--map] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("header.routes",{count:H(h)})),1)]),D("div",pp,[D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:H(K)("header.languageToggle"),onClick:Lt},[c[10]||(c[10]=D("span",{class:"i-[carbon--language] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(he.value),1)],8,hp),D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:H(K)("header.themeToggle"),onClick:c[1]||(c[1]=(...u)=>H(re)&&H(re)(...u))},[D("span",{class:ge([ut.value,"h-3.5 w-3.5"]),"aria-hidden":"true"},null,2),D("span",null,X(Tt.value),1)],8,mp),D("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",onClick:c[2]||(c[2]=(...u)=>H(I)&&H(I)(...u))},[c[11]||(c[11]=D("span",{class:"i-[carbon--rotate] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),D("span",null,X(H(K)("header.refresh")),1)])])]),D("div",gp,[Se(Td,{queryText:H(v),"onUpdate:queryText":c[3]||(c[3]=u=>_e(v)?v.value=u:null),headersText:H(E),"onUpdate:headersText":c[4]||(c[4]=u=>_e(E)?E.value=u:null),bodyText:H(T),"onUpdate:bodyText":c[5]||(c[5]=u=>_e(T)?T.value=u:null),selected:H(n),"response-text":H(m),"response-status":H(C),"response-time":H(M),onRun:H(k)},null,8,["queryText","headersText","bodyText","selected","response-text","response-status","response-time","onRun"])])])],6)])])])]))}});$d();Wc(yp).use(Yd).mount("#app");
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function zr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const be={},zt=[],dt=()=>{},Wl=()=>!1,rr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),es=e=>e.startsWith("onUpdate:"),Ae=Object.assign,ts=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wi=Object.prototype.hasOwnProperty,pe=(e,t)=>wi.call(e,t),q=Array.isArray,en=e=>sr(e)==="[object Map]",Hl=e=>sr(e)==="[object Set]",X=e=>typeof e=="function",Re=e=>typeof e=="string",Dt=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",jl=e=>(ve(e)||X(e))&&X(e.then)&&X(e.catch),Vl=Object.prototype.toString,sr=e=>Vl.call(e),Ii=e=>sr(e).slice(8,-1),Kl=e=>sr(e)==="[object Object]",ns=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pn=zr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ci=/-\w/g,Mt=lr(e=>e.replace(Ci,t=>t.slice(1).toUpperCase())),Oi=/\B([A-Z])/g,Jt=lr(e=>e.replace(Oi,"-$1").toLowerCase()),Bl=lr(e=>e.charAt(0).toUpperCase()+e.slice(1)),mr=lr(e=>e?`on${Bl(e)}`:""),At=(e,t)=>!Object.is(e,t),_r=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Gl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ri=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ps;const or=()=>Ps||(Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Re(r)?Ai(r):Nn(r);if(s)for(const l in s)t[l]=s[l]}return t}else if(Re(e)||ve(e))return e}const Ni=/;(?![^(]*\))/g,Pi=/:([^]+)/,ki=/\/\*[^]*?\*\//g;function Ai(e){const t={};return e.replace(ki,"").split(Ni).forEach(n=>{if(n){const r=n.split(Pi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Se(e){let t="";if(Re(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const r=Se(e[n]);r&&(t+=r+" ")}else if(ve(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Mi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fi=zr(Mi);function Yl(e){return!!e||e===""}const Jl=e=>!!(e&&e.__v_isRef===!0),J=e=>Re(e)?e:e==null?"":q(e)||ve(e)&&(e.toString===Vl||!X(e.toString))?Jl(e)?J(e.value):JSON.stringify(e,ql,2):String(e),ql=(e,t)=>Jl(t)?ql(e,t.value):en(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],l)=>(n[br(r,l)+" =>"]=s,n),{})}:Hl(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>br(n))}:Dt(t)?br(t):ve(t)&&!q(t)&&!Kl(t)?String(t):t,br=(e,t="")=>{var n;return Dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let je;class Xl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=je,!t&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=je;try{return je=this,t()}finally{je=n}}}on(){++this._on===1&&(this.prevScope=je,je=this)}off(){this._on>0&&--this._on===0&&(je=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Di(e){return new Xl(e)}function $i(){return je}let _e;const yr=new WeakSet;class Ql{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,je&&je.active&&je.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,yr.has(this)&&(yr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||zl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ks(this),eo(this);const t=_e,n=tt;_e=this,tt=!0;try{return this.fn()}finally{to(this),_e=t,tt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ls(t);this.deps=this.depsTail=void 0,ks(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?yr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Nr(this)&&this.run()}get dirty(){return Nr(this)}}let Zl=0,gn,hn;function zl(e,t=!1){if(e.flags|=8,t){e.next=hn,hn=e;return}e.next=gn,gn=e}function rs(){Zl++}function ss(){if(--Zl>0)return;if(hn){let t=hn;for(hn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;gn;){let t=gn;for(gn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function eo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function to(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ls(r),Ui(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Nr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(no(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function no(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xn)||(e.globalVersion=xn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Nr(e))))return;e.flags|=2;const t=e.dep,n=_e,r=tt;_e=e,tt=!0;try{eo(e);const s=e.fn(e._value);(t.version===0||At(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{_e=n,tt=r,to(e),e.flags&=-3}}function ls(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)ls(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ui(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tt=!0;const ro=[];function Tt(){ro.push(tt),tt=!1}function St(){const e=ro.pop();tt=e===void 0?!0:e}function ks(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_e;_e=void 0;try{t()}finally{_e=n}}}let xn=0;class Wi{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class os{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!_e||!tt||_e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_e)n=this.activeLink=new Wi(_e,this),_e.deps?(n.prevDep=_e.depsTail,_e.depsTail.nextDep=n,_e.depsTail=n):_e.deps=_e.depsTail=n,so(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=_e.depsTail,n.nextDep=void 0,_e.depsTail.nextDep=n,_e.depsTail=n,_e.deps===n&&(_e.deps=r)}return n}trigger(t){this.version++,xn++,this.notify(t)}notify(t){rs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ss()}}}function so(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)so(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pr=new WeakMap,Gt=Symbol(""),kr=Symbol(""),En=Symbol("");function Fe(e,t,n){if(tt&&_e){let r=Pr.get(e);r||Pr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new os),s.map=r,s.key=n),s.track()}}function bt(e,t,n,r,s,l){const o=Pr.get(e);if(!o){xn++;return}const i=a=>{a&&a.trigger()};if(rs(),t==="clear")o.forEach(i);else{const a=q(e),d=a&&ns(n);if(a&&n==="length"){const f=Number(r);o.forEach((g,v)=>{(v==="length"||v===En||!Dt(v)&&v>=f)&&i(g)})}else switch((n!==void 0||o.has(void 0))&&i(o.get(n)),d&&i(o.get(En)),t){case"add":a?d&&i(o.get("length")):(i(o.get(Gt)),en(e)&&i(o.get(kr)));break;case"delete":a||(i(o.get(Gt)),en(e)&&i(o.get(kr)));break;case"set":en(e)&&i(o.get(Gt));break}}ss()}function Xt(e){const t=de(e);return t===e?t:(Fe(t,"iterate",En),Qe(e)?t:t.map(nt))}function ir(e){return Fe(e=de(e),"iterate",En),e}function Ot(e,t){return Lt(e)?rn(Yt(e)?nt(t):t):nt(t)}const Hi={__proto__:null,[Symbol.iterator](){return vr(this,Symbol.iterator,e=>Ot(this,e))},concat(...e){return Xt(this).concat(...e.map(t=>q(t)?Xt(t):t))},entries(){return vr(this,"entries",e=>(e[1]=Ot(this,e[1]),e))},every(e,t){return ht(this,"every",e,t,void 0,arguments)},filter(e,t){return ht(this,"filter",e,t,n=>n.map(r=>Ot(this,r)),arguments)},find(e,t){return ht(this,"find",e,t,n=>Ot(this,n),arguments)},findIndex(e,t){return ht(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ht(this,"findLast",e,t,n=>Ot(this,n),arguments)},findLastIndex(e,t){return ht(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ht(this,"forEach",e,t,void 0,arguments)},includes(...e){return xr(this,"includes",e)},indexOf(...e){return xr(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return xr(this,"lastIndexOf",e)},map(e,t){return ht(this,"map",e,t,void 0,arguments)},pop(){return cn(this,"pop")},push(...e){return cn(this,"push",e)},reduce(e,...t){return As(this,"reduce",e,t)},reduceRight(e,...t){return As(this,"reduceRight",e,t)},shift(){return cn(this,"shift")},some(e,t){return ht(this,"some",e,t,void 0,arguments)},splice(...e){return cn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return cn(this,"unshift",e)},values(){return vr(this,"values",e=>Ot(this,e))}};function vr(e,t,n){const r=ir(e),s=r[t]();return r!==e&&!Qe(e)&&(s._next=s.next,s.next=()=>{const l=s._next();return l.done||(l.value=n(l.value)),l}),s}const ji=Array.prototype;function ht(e,t,n,r,s,l){const o=ir(e),i=o!==e&&!Qe(e),a=o[t];if(a!==ji[t]){const g=a.apply(e,l);return i?nt(g):g}let d=n;o!==e&&(i?d=function(g,v){return n.call(this,Ot(e,g),v,e)}:n.length>2&&(d=function(g,v){return n.call(this,g,v,e)}));const f=a.call(o,d,r);return i&&s?s(f):f}function As(e,t,n,r){const s=ir(e);let l=n;return s!==e&&(Qe(e)?n.length>3&&(l=function(o,i,a){return n.call(this,o,i,a,e)}):l=function(o,i,a){return n.call(this,o,Ot(e,i),a,e)}),s[t](l,...r)}function xr(e,t,n){const r=de(e);Fe(r,"iterate",En);const s=r[t](...n);return(s===-1||s===!1)&&us(n[0])?(n[0]=de(n[0]),r[t](...n)):s}function cn(e,t,n=[]){Tt(),rs();const r=de(e)[t].apply(e,n);return ss(),St(),r}const Vi=zr("__proto__,__v_isRef,__isVue"),lo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dt));function Ki(e){Dt(e)||(e=String(e));const t=de(this);return Fe(t,"has",e),t.hasOwnProperty(e)}class oo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(s?l?ea:uo:l?co:ao).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=q(t);if(!s){let a;if(o&&(a=Hi[n]))return a;if(n==="hasOwnProperty")return Ki}const i=Reflect.get(t,n,Ce(t)?t:r);if((Dt(n)?lo.has(n):Vi(n))||(s||Fe(t,"get",n),l))return i;if(Ce(i)){const a=o&&ns(n)?i:i.value;return s&&ve(a)?Mr(a):a}return ve(i)?s?Mr(i):as(i):i}}class io extends oo{constructor(t=!1){super(!1,t)}set(t,n,r,s){let l=t[n];const o=q(t)&&ns(n);if(!this._isShallow){const d=Lt(l);if(!Qe(r)&&!Lt(r)&&(l=de(l),r=de(r)),!o&&Ce(l)&&!Ce(r))return d||(l.value=r),!0}const i=o?Number(n)<t.length:pe(t,n),a=Reflect.set(t,n,r,Ce(t)?t:s);return t===de(s)&&(i?At(r,l)&&bt(t,"set",n,r):bt(t,"add",n,r)),a}deleteProperty(t,n){const r=pe(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&bt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Dt(n)||!lo.has(n))&&Fe(t,"has",n),r}ownKeys(t){return Fe(t,"iterate",q(t)?"length":Gt),Reflect.ownKeys(t)}}class Bi extends oo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Gi=new io,Yi=new Bi,Ji=new io(!0);const Ar=e=>e,Fn=e=>Reflect.getPrototypeOf(e);function qi(e,t,n){return function(...r){const s=this.__v_raw,l=de(s),o=en(l),i=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=s[e](...r),f=n?Ar:t?rn:nt;return!t&&Fe(l,"iterate",a?kr:Gt),Ae(Object.create(d),{next(){const{value:g,done:v}=d.next();return v?{value:g,done:v}:{value:i?[f(g[0]),f(g[1])]:f(g),done:v}}})}}function Dn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xi(e,t){const n={get(s){const l=this.__v_raw,o=de(l),i=de(s);e||(At(s,i)&&Fe(o,"get",s),Fe(o,"get",i));const{has:a}=Fn(o),d=t?Ar:e?rn:nt;if(a.call(o,s))return d(l.get(s));if(a.call(o,i))return d(l.get(i));l!==o&&l.get(s)},get size(){const s=this.__v_raw;return!e&&Fe(de(s),"iterate",Gt),s.size},has(s){const l=this.__v_raw,o=de(l),i=de(s);return e||(At(s,i)&&Fe(o,"has",s),Fe(o,"has",i)),s===i?l.has(s):l.has(s)||l.has(i)},forEach(s,l){const o=this,i=o.__v_raw,a=de(i),d=t?Ar:e?rn:nt;return!e&&Fe(a,"iterate",Gt),i.forEach((f,g)=>s.call(l,d(f),d(g),o))}};return Ae(n,e?{add:Dn("add"),set:Dn("set"),delete:Dn("delete"),clear:Dn("clear")}:{add(s){!t&&!Qe(s)&&!Lt(s)&&(s=de(s));const l=de(this);return Fn(l).has.call(l,s)||(l.add(s),bt(l,"add",s,s)),this},set(s,l){!t&&!Qe(l)&&!Lt(l)&&(l=de(l));const o=de(this),{has:i,get:a}=Fn(o);let d=i.call(o,s);d||(s=de(s),d=i.call(o,s));const f=a.call(o,s);return o.set(s,l),d?At(l,f)&&bt(o,"set",s,l):bt(o,"add",s,l),this},delete(s){const l=de(this),{has:o,get:i}=Fn(l);let a=o.call(l,s);a||(s=de(s),a=o.call(l,s)),i&&i.call(l,s);const d=l.delete(s);return a&&bt(l,"delete",s,void 0),d},clear(){const s=de(this),l=s.size!==0,o=s.clear();return l&&bt(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=qi(s,e,t)}),n}function is(e,t){const n=Xi(e,t);return(r,s,l)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(pe(n,s)&&s in r?n:r,s,l)}const Qi={get:is(!1,!1)},Zi={get:is(!1,!0)},zi={get:is(!0,!1)};const ao=new WeakMap,co=new WeakMap,uo=new WeakMap,ea=new WeakMap;function ta(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function na(e){return e.__v_skip||!Object.isExtensible(e)?0:ta(Ii(e))}function as(e){return Lt(e)?e:cs(e,!1,Gi,Qi,ao)}function ra(e){return cs(e,!1,Ji,Zi,co)}function Mr(e){return cs(e,!0,Yi,zi,uo)}function cs(e,t,n,r,s){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=na(e);if(l===0)return e;const o=s.get(e);if(o)return o;const i=new Proxy(e,l===2?r:n);return s.set(e,i),i}function Yt(e){return Lt(e)?Yt(e.__v_raw):!!(e&&e.__v_isReactive)}function Lt(e){return!!(e&&e.__v_isReadonly)}function Qe(e){return!!(e&&e.__v_isShallow)}function us(e){return e?!!e.__v_raw:!1}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function sa(e){return!pe(e,"__v_skip")&&Object.isExtensible(e)&&Gl(e,"__v_skip",!0),e}const nt=e=>ve(e)?as(e):e,rn=e=>ve(e)?Mr(e):e;function Ce(e){return e?e.__v_isRef===!0:!1}function ee(e){return fo(e,!1)}function la(e){return fo(e,!0)}function fo(e,t){return Ce(e)?e:new oa(e,t)}class oa{constructor(t,n){this.dep=new os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:de(t),this._value=n?t:nt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Qe(t)||Lt(t);t=r?t:de(t),At(t,n)&&(this._rawValue=t,this._value=r?t:nt(t),this.dep.trigger())}}function W(e){return Ce(e)?e.value:e}const ia={get:(e,t,n)=>t==="__v_raw"?e:W(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ce(s)&&!Ce(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function po(e){return Yt(e)?e:new Proxy(e,ia)}class aa{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return zl(this,!0),!0}get value(){const t=this.dep.track();return no(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ca(e,t,n=!1){let r,s;return X(e)?r=e:(r=e.get,s=e.set),new aa(r,s,n)}const $n={},Yn=new WeakMap;let Kt;function ua(e,t=!1,n=Kt){if(n){let r=Yn.get(n);r||Yn.set(n,r=[]),r.push(e)}}function fa(e,t,n=be){const{immediate:r,deep:s,once:l,scheduler:o,augmentJob:i,call:a}=n,d=m=>s?m:Qe(m)||s===!1||s===0?Pt(m,1):Pt(m);let f,g,v,E,A=!1,C=!1;if(Ce(e)?(g=()=>e.value,A=Qe(e)):Yt(e)?(g=()=>d(e),A=!0):q(e)?(C=!0,A=e.some(m=>Yt(m)||Qe(m)),g=()=>e.map(m=>{if(Ce(m))return m.value;if(Yt(m))return d(m);if(X(m))return a?a(m,2):m()})):X(e)?t?g=a?()=>a(e,2):e:g=()=>{if(v){Tt();try{v()}finally{St()}}const m=Kt;Kt=f;try{return a?a(e,3,[E]):e(E)}finally{Kt=m}}:g=dt,t&&s){const m=g,N=s===!0?1/0:s;g=()=>Pt(m(),N)}const D=$i(),y=()=>{f.stop(),D&&D.active&&ts(D.effects,f)};if(l&&t){const m=t;t=(...N)=>{m(...N),y()}}let w=C?new Array(e.length).fill($n):$n;const S=m=>{if(!(!(f.flags&1)||!f.dirty&&!m))if(t){const N=f.run();if(s||A||(C?N.some((F,I)=>At(F,w[I])):At(N,w))){v&&v();const F=Kt;Kt=f;try{const I=[N,w===$n?void 0:C&&w[0]===$n?[]:w,E];w=N,a?a(t,3,I):t(...I)}finally{Kt=F}}}else f.run()};return i&&i(S),f=new Ql(g),f.scheduler=o?()=>o(S,!1):S,E=m=>ua(m,!1,f),v=f.onStop=()=>{const m=Yn.get(f);if(m){if(a)a(m,4);else for(const N of m)N();Yn.delete(f)}},t?r?S(!0):w=f.run():o?o(S.bind(null,!0),!0):f.run(),y.pause=f.pause.bind(f),y.resume=f.resume.bind(f),y.stop=y,y}function Pt(e,t=1/0,n){if(t<=0||!ve(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ce(e))Pt(e.value,t,n);else if(q(e))for(let r=0;r<e.length;r++)Pt(e[r],t,n);else if(Hl(e)||en(e))e.forEach(r=>{Pt(r,t,n)});else if(Kl(e)){for(const r in e)Pt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Pt(e[r],t,n)}return e}function Pn(e,t,n,r){try{return r?e(...r):e()}catch(s){ar(s,t,n)}}function gt(e,t,n,r){if(X(e)){const s=Pn(e,t,n,r);return s&&jl(s)&&s.catch(l=>{ar(l,t,n)}),s}if(q(e)){const s=[];for(let l=0;l<e.length;l++)s.push(gt(e[l],t,n,r));return s}}function ar(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||be;if(t){let i=t.parent;const a=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const f=i.ec;if(f){for(let g=0;g<f.length;g++)if(f[g](e,a,d)===!1)return}i=i.parent}if(l){Tt(),Pn(l,null,10,[e,a,d]),St();return}}da(e,n,s,r,o)}function da(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const $e=[];let ct=-1;const tn=[];let Rt=null,Qt=0;const go=Promise.resolve();let Jn=null;function pa(e){const t=Jn||go;return e?t.then(this?e.bind(this):e):t}function ga(e){let t=ct+1,n=$e.length;for(;t<n;){const r=t+n>>>1,s=$e[r],l=Tn(s);l<e||l===e&&s.flags&2?t=r+1:n=r}return t}function fs(e){if(!(e.flags&1)){const t=Tn(e),n=$e[$e.length-1];!n||!(e.flags&2)&&t>=Tn(n)?$e.push(e):$e.splice(ga(t),0,e),e.flags|=1,ho()}}function ho(){Jn||(Jn=go.then(_o))}function ha(e){q(e)?tn.push(...e):Rt&&e.id===-1?Rt.splice(Qt+1,0,e):e.flags&1||(tn.push(e),e.flags|=1),ho()}function Ms(e,t,n=ct+1){for(;n<$e.length;n++){const r=$e[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;$e.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function mo(e){if(tn.length){const t=[...new Set(tn)].sort((n,r)=>Tn(n)-Tn(r));if(tn.length=0,Rt){Rt.push(...t);return}for(Rt=t,Qt=0;Qt<Rt.length;Qt++){const n=Rt[Qt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Rt=null,Qt=0}}const Tn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _o(e){try{for(ct=0;ct<$e.length;ct++){const t=$e[ct];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Pn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ct<$e.length;ct++){const t=$e[ct];t&&(t.flags&=-2)}ct=-1,$e.length=0,mo(),Jn=null,($e.length||tn.length)&&_o()}}let ft=null,bo=null;function qn(e){const t=ft;return ft=e,bo=e&&e.type.__scopeId||null,t}function ma(e,t=ft,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Zn(-1);const l=qn(t);let o;try{o=e(...s)}finally{qn(l),r._d&&Zn(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function jt(e,t,n,r){const s=e.dirs,l=t&&t.dirs;for(let o=0;o<s.length;o++){const i=s[o];l&&(i.oldValue=l[o].value);let a=i.dir[r];a&&(Tt(),gt(a,n,8,[e.el,i,e,t]),St())}}function _a(e,t){if(Ue){let n=Ue.provides;const r=Ue.parent&&Ue.parent.provides;r===n&&(n=Ue.provides=Object.create(r)),n[e]=t}}function mn(e,t,n=!1){const r=_s();if(r||nn){let s=nn?nn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&X(t)?t.call(r&&r.proxy):t}}const ba=Symbol.for("v-scx"),ya=()=>mn(ba);function Et(e,t,n){return yo(e,t,n)}function yo(e,t,n=be){const{immediate:r,deep:s,flush:l,once:o}=n,i=Ae({},n),a=t&&r||!t&&l!=="post";let d;if(Ln){if(l==="sync"){const E=ya();d=E.__watcherHandles||(E.__watcherHandles=[])}else if(!a){const E=()=>{};return E.stop=dt,E.resume=dt,E.pause=dt,E}}const f=Ue;i.call=(E,A,C)=>gt(E,f,A,C);let g=!1;l==="post"?i.scheduler=E=>{Ge(E,f&&f.suspense)}:l!=="sync"&&(g=!0,i.scheduler=(E,A)=>{A?E():fs(E)}),i.augmentJob=E=>{t&&(E.flags|=4),g&&(E.flags|=2,f&&(E.id=f.uid,E.i=f))};const v=fa(e,t,i);return Ln&&(d?d.push(v):a&&v()),v}function va(e,t,n){const r=this.proxy,s=Re(e)?e.includes(".")?vo(r,e):()=>r[e]:e.bind(r,r);let l;X(t)?l=t:(l=t.handler,n=t);const o=Mn(this),i=yo(s,l.bind(r),n);return o(),i}function vo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const xa=Symbol("_vte"),Ea=e=>e.__isTeleport,Ta=Symbol("_leaveCb");function ds(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ds(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wt(e,t){return X(e)?Ae({name:e.name},t,{setup:e}):e}function xo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Xn=new WeakMap;function _n(e,t,n,r,s=!1){if(q(e)){e.forEach((A,C)=>_n(A,t&&(q(t)?t[C]:t),n,r,s));return}if(bn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&_n(e,t,n,r.component.subTree);return}const l=r.shapeFlag&4?bs(r.component):r.el,o=s?null:l,{i,r:a}=e,d=t&&t.r,f=i.refs===be?i.refs={}:i.refs,g=i.setupState,v=de(g),E=g===be?Wl:A=>pe(v,A);if(d!=null&&d!==a){if(Fs(t),Re(d))f[d]=null,E(d)&&(g[d]=null);else if(Ce(d)){d.value=null;const A=t;A.k&&(f[A.k]=null)}}if(X(a))Pn(a,i,12,[o,f]);else{const A=Re(a),C=Ce(a);if(A||C){const D=()=>{if(e.f){const y=A?E(a)?g[a]:f[a]:a.value;if(s)q(y)&&ts(y,l);else if(q(y))y.includes(l)||y.push(l);else if(A)f[a]=[l],E(a)&&(g[a]=f[a]);else{const w=[l];a.value=w,e.k&&(f[e.k]=w)}}else A?(f[a]=o,E(a)&&(g[a]=o)):C&&(a.value=o,e.k&&(f[e.k]=o))};if(o){const y=()=>{D(),Xn.delete(e)};y.id=-1,Xn.set(e,y),Ge(y,n)}else Fs(e),D()}}}function Fs(e){const t=Xn.get(e);t&&(t.flags|=8,Xn.delete(e))}or().requestIdleCallback;or().cancelIdleCallback;const bn=e=>!!e.type.__asyncLoader,Eo=e=>e.type.__isKeepAlive;function Sa(e,t){To(e,"a",t)}function La(e,t){To(e,"da",t)}function To(e,t,n=Ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(cr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Eo(s.parent.vnode)&&wa(r,t,n,s),s=s.parent}}function wa(e,t,n,r){const s=cr(t,e,r,!0);ps(()=>{ts(r[t],s)},n)}function cr(e,t,n=Ue,r=!1){if(n){const s=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{Tt();const i=Mn(n),a=gt(t,n,e,o);return i(),St(),a});return r?s.unshift(l):s.push(l),l}}const It=e=>(t,n=Ue)=>{(!Ln||e==="sp")&&cr(e,(...r)=>t(...r),n)},Ia=It("bm"),kn=It("m"),Ca=It("bu"),Oa=It("u"),ur=It("bum"),ps=It("um"),Ra=It("sp"),Na=It("rtg"),Pa=It("rtc");function ka(e,t=Ue){cr("ec",e,t)}const Aa=Symbol.for("v-ndc");function fr(e,t,n,r){let s;const l=n,o=q(e);if(o||Re(e)){const i=o&&Yt(e);let a=!1,d=!1;i&&(a=!Qe(e),d=Lt(e),e=ir(e)),s=new Array(e.length);for(let f=0,g=e.length;f<g;f++)s[f]=t(a?d?rn(nt(e[f])):nt(e[f]):e[f],f,void 0,l)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,l)}else if(ve(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,l));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,d=i.length;a<d;a++){const f=i[a];s[a]=t(e[f],f,a,l)}}else s=[];return s}const Fr=e=>e?jo(e)?bs(e):Fr(e.parent):null,yn=Ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fr(e.parent),$root:e=>Fr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Lo(e),$forceUpdate:e=>e.f||(e.f=()=>{fs(e.update)}),$nextTick:e=>e.n||(e.n=pa.bind(e.proxy)),$watch:e=>va.bind(e)}),Er=(e,t)=>e!==be&&!e.__isScriptSetup&&pe(e,t),Ma={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:l,accessCache:o,type:i,appContext:a}=e;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return l[t]}else{if(Er(r,t))return o[t]=1,r[t];if(s!==be&&pe(s,t))return o[t]=2,s[t];if(pe(l,t))return o[t]=3,l[t];if(n!==be&&pe(n,t))return o[t]=4,n[t];Dr&&(o[t]=0)}}const d=yn[t];let f,g;if(d)return t==="$attrs"&&Fe(e.attrs,"get",""),d(e);if((f=i.__cssModules)&&(f=f[t]))return f;if(n!==be&&pe(n,t))return o[t]=4,n[t];if(g=a.config.globalProperties,pe(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:l}=e;return Er(s,t)?(s[t]=n,!0):r!==be&&pe(r,t)?(r[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:l,type:o}},i){let a;return!!(n[i]||e!==be&&i[0]!=="$"&&pe(e,i)||Er(t,i)||pe(l,i)||pe(r,i)||pe(yn,i)||pe(s.config.globalProperties,i)||(a=o.__cssModules)&&a[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ds(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Dr=!0;function Fa(e){const t=Lo(e),n=e.proxy,r=e.ctx;Dr=!1,t.beforeCreate&&$s(t.beforeCreate,e,"bc");const{data:s,computed:l,methods:o,watch:i,provide:a,inject:d,created:f,beforeMount:g,mounted:v,beforeUpdate:E,updated:A,activated:C,deactivated:D,beforeDestroy:y,beforeUnmount:w,destroyed:S,unmounted:m,render:N,renderTracked:F,renderTriggered:I,errorCaptured:V,serverPrefetch:G,expose:ie,inheritAttrs:xe,components:j,directives:z,filters:ge}=t;if(d&&Da(d,r,null),o)for(const se in o){const ne=o[se];X(ne)&&(r[se]=ne.bind(n))}if(s){const se=s.call(n,n);ve(se)&&(e.data=as(se))}if(Dr=!0,l)for(const se in l){const ne=l[se],Le=X(ne)?ne.bind(n,n):X(ne.get)?ne.get.bind(n,n):dt,We=!X(ne)&&X(ne.set)?ne.set.bind(n):dt,ae=Ee({get:Le,set:We});Object.defineProperty(r,se,{enumerable:!0,configurable:!0,get:()=>ae.value,set:Te=>ae.value=Te})}if(i)for(const se in i)So(i[se],r,n,se);if(a){const se=X(a)?a.call(n):a;Reflect.ownKeys(se).forEach(ne=>{_a(ne,se[ne])})}f&&$s(f,e,"c");function he(se,ne){q(ne)?ne.forEach(Le=>se(Le.bind(n))):ne&&se(ne.bind(n))}if(he(Ia,g),he(kn,v),he(Ca,E),he(Oa,A),he(Sa,C),he(La,D),he(ka,V),he(Pa,F),he(Na,I),he(ur,w),he(ps,m),he(Ra,G),q(ie))if(ie.length){const se=e.exposed||(e.exposed={});ie.forEach(ne=>{Object.defineProperty(se,ne,{get:()=>n[ne],set:Le=>n[ne]=Le,enumerable:!0})})}else e.exposed||(e.exposed={});N&&e.render===dt&&(e.render=N),xe!=null&&(e.inheritAttrs=xe),j&&(e.components=j),z&&(e.directives=z),G&&xo(e)}function Da(e,t,n=dt){q(e)&&(e=$r(e));for(const r in e){const s=e[r];let l;ve(s)?"default"in s?l=mn(s.from||r,s.default,!0):l=mn(s.from||r):l=mn(s),Ce(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[r]=l}}function $s(e,t,n){gt(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function So(e,t,n,r){let s=r.includes(".")?vo(n,r):()=>n[r];if(Re(e)){const l=t[e];X(l)&&Et(s,l)}else if(X(e))Et(s,e.bind(n));else if(ve(e))if(q(e))e.forEach(l=>So(l,t,n,r));else{const l=X(e.handler)?e.handler.bind(n):t[e.handler];X(l)&&Et(s,l,e)}}function Lo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,i=l.get(t);let a;return i?a=i:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(d=>Qn(a,d,o,!0)),Qn(a,t,o)),ve(t)&&l.set(t,a),a}function Qn(e,t,n,r=!1){const{mixins:s,extends:l}=t;l&&Qn(e,l,n,!0),s&&s.forEach(o=>Qn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const i=$a[o]||n&&n[o];e[o]=i?i(e[o],t[o]):t[o]}return e}const $a={data:Us,props:Ws,emits:Ws,methods:dn,computed:dn,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:dn,directives:dn,watch:Wa,provide:Us,inject:Ua};function Us(e,t){return t?e?function(){return Ae(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Ua(e,t){return dn($r(e),$r(t))}function $r(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function De(e,t){return e?[...new Set([].concat(e,t))]:t}function dn(e,t){return e?Ae(Object.create(null),e,t):t}function Ws(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Ae(Object.create(null),Ds(e),Ds(t??{})):t}function Wa(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const r in t)n[r]=De(e[r],t[r]);return n}function wo(){return{app:null,config:{isNativeTag:Wl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ha=0;function ja(e,t){return function(r,s=null){X(r)||(r=Ae({},r)),s!=null&&!ve(s)&&(s=null);const l=wo(),o=new WeakSet,i=[];let a=!1;const d=l.app={_uid:Ha++,_component:r,_props:s,_container:null,_context:l,_instance:null,version:yc,get config(){return l.config},set config(f){},use(f,...g){return o.has(f)||(f&&X(f.install)?(o.add(f),f.install(d,...g)):X(f)&&(o.add(f),f(d,...g))),d},mixin(f){return l.mixins.includes(f)||l.mixins.push(f),d},component(f,g){return g?(l.components[f]=g,d):l.components[f]},directive(f,g){return g?(l.directives[f]=g,d):l.directives[f]},mount(f,g,v){if(!a){const E=d._ceVNode||ke(r,s);return E.appContext=l,v===!0?v="svg":v===!1&&(v=void 0),e(E,f,v),a=!0,d._container=f,f.__vue_app__=d,bs(E.component)}},onUnmount(f){i.push(f)},unmount(){a&&(gt(i,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,g){return l.provides[f]=g,d},runWithContext(f){const g=nn;nn=d;try{return f()}finally{nn=g}}};return d}}let nn=null;const Va=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Mt(t)}Modifiers`]||e[`${Jt(t)}Modifiers`];function Ka(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||be;let s=n;const l=t.startsWith("update:"),o=l&&Va(r,t.slice(7));o&&(o.trim&&(s=n.map(f=>Re(f)?f.trim():f)),o.number&&(s=n.map(Ri)));let i,a=r[i=mr(t)]||r[i=mr(Mt(t))];!a&&l&&(a=r[i=mr(Jt(t))]),a&>(a,e,6,s);const d=r[i+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,gt(d,e,6,s)}}const Ba=new WeakMap;function Io(e,t,n=!1){const r=n?Ba:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const l=e.emits;let o={},i=!1;if(!X(e)){const a=d=>{const f=Io(d,t,!0);f&&(i=!0,Ae(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!i?(ve(e)&&r.set(e,null),null):(q(l)?l.forEach(a=>o[a]=null):Ae(o,l),ve(e)&&r.set(e,o),o)}function dr(e,t){return!e||!rr(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Jt(t))||pe(e,t))}function Hs(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[l],slots:o,attrs:i,emit:a,render:d,renderCache:f,props:g,data:v,setupState:E,ctx:A,inheritAttrs:C}=e,D=qn(e);let y,w;try{if(n.shapeFlag&4){const m=s||r,N=m;y=ut(d.call(N,m,f,g,E,v,A)),w=i}else{const m=t;y=ut(m.length>1?m(g,{attrs:i,slots:o,emit:a}):m(g,null)),w=t.props?i:Ga(i)}}catch(m){vn.length=0,ar(m,e,1),y=ke(Ft)}let S=y;if(w&&C!==!1){const m=Object.keys(w),{shapeFlag:N}=S;m.length&&N&7&&(l&&m.some(es)&&(w=Ya(w,l)),S=sn(S,w,!1,!0))}return n.dirs&&(S=sn(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&ds(S,n.transition),y=S,qn(D),y}const Ga=e=>{let t;for(const n in e)(n==="class"||n==="style"||rr(n))&&((t||(t={}))[n]=e[n]);return t},Ya=(e,t)=>{const n={};for(const r in e)(!es(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ja(e,t,n){const{props:r,children:s,component:l}=e,{props:o,children:i,patchFlag:a}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?js(r,o,d):!!o;if(a&8){const f=t.dynamicProps;for(let g=0;g<f.length;g++){const v=f[g];if(o[v]!==r[v]&&!dr(d,v))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===o?!1:r?o?js(r,o,d):!0:!!o;return!1}function js(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const l=r[s];if(t[l]!==e[l]&&!dr(n,l))return!0}return!1}function qa({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Co={},Oo=()=>Object.create(Co),Ro=e=>Object.getPrototypeOf(e)===Co;function Xa(e,t,n,r=!1){const s={},l=Oo();e.propsDefaults=Object.create(null),No(e,t,s,l);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:ra(s):e.type.props?e.props=s:e.props=l,e.attrs=l}function Qa(e,t,n,r){const{props:s,attrs:l,vnode:{patchFlag:o}}=e,i=de(s),[a]=e.propsOptions;let d=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let g=0;g<f.length;g++){let v=f[g];if(dr(e.emitsOptions,v))continue;const E=t[v];if(a)if(pe(l,v))E!==l[v]&&(l[v]=E,d=!0);else{const A=Mt(v);s[A]=Ur(a,i,A,E,e,!1)}else E!==l[v]&&(l[v]=E,d=!0)}}}else{No(e,t,s,l)&&(d=!0);let f;for(const g in i)(!t||!pe(t,g)&&((f=Jt(g))===g||!pe(t,f)))&&(a?n&&(n[g]!==void 0||n[f]!==void 0)&&(s[g]=Ur(a,i,g,void 0,e,!0)):delete s[g]);if(l!==i)for(const g in l)(!t||!pe(t,g))&&(delete l[g],d=!0)}d&&bt(e.attrs,"set","")}function No(e,t,n,r){const[s,l]=e.propsOptions;let o=!1,i;if(t)for(let a in t){if(pn(a))continue;const d=t[a];let f;s&&pe(s,f=Mt(a))?!l||!l.includes(f)?n[f]=d:(i||(i={}))[f]=d:dr(e.emitsOptions,a)||(!(a in r)||d!==r[a])&&(r[a]=d,o=!0)}if(l){const a=de(n),d=i||be;for(let f=0;f<l.length;f++){const g=l[f];n[g]=Ur(s,a,g,d[g],e,!pe(d,g))}}return o}function Ur(e,t,n,r,s,l){const o=e[n];if(o!=null){const i=pe(o,"default");if(i&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&X(a)){const{propsDefaults:d}=s;if(n in d)r=d[n];else{const f=Mn(s);r=d[n]=a.call(null,t),f()}}else r=a;s.ce&&s.ce._setProp(n,r)}o[0]&&(l&&!i?r=!1:o[1]&&(r===""||r===Jt(n))&&(r=!0))}return r}const Za=new WeakMap;function Po(e,t,n=!1){const r=n?Za:t.propsCache,s=r.get(e);if(s)return s;const l=e.props,o={},i=[];let a=!1;if(!X(e)){const f=g=>{a=!0;const[v,E]=Po(g,t,!0);Ae(o,v),E&&i.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!l&&!a)return ve(e)&&r.set(e,zt),zt;if(q(l))for(let f=0;f<l.length;f++){const g=Mt(l[f]);Vs(g)&&(o[g]=be)}else if(l)for(const f in l){const g=Mt(f);if(Vs(g)){const v=l[f],E=o[g]=q(v)||X(v)?{type:v}:Ae({},v),A=E.type;let C=!1,D=!0;if(q(A))for(let y=0;y<A.length;++y){const w=A[y],S=X(w)&&w.name;if(S==="Boolean"){C=!0;break}else S==="String"&&(D=!1)}else C=X(A)&&A.name==="Boolean";E[0]=C,E[1]=D,(C||pe(E,"default"))&&i.push(g)}}const d=[o,i];return ve(e)&&r.set(e,d),d}function Vs(e){return e[0]!=="$"&&!pn(e)}const gs=e=>e==="_"||e==="_ctx"||e==="$stable",hs=e=>q(e)?e.map(ut):[ut(e)],za=(e,t,n)=>{if(t._n)return t;const r=ma((...s)=>hs(t(...s)),n);return r._c=!1,r},ko=(e,t,n)=>{const r=e._ctx;for(const s in e){if(gs(s))continue;const l=e[s];if(X(l))t[s]=za(s,l,r);else if(l!=null){const o=hs(l);t[s]=()=>o}}},Ao=(e,t)=>{const n=hs(t);e.slots.default=()=>n},Mo=(e,t,n)=>{for(const r in t)(n||!gs(r))&&(e[r]=t[r])},ec=(e,t,n)=>{const r=e.slots=Oo();if(e.vnode.shapeFlag&32){const s=t._;s?(Mo(r,t,n),n&&Gl(r,"_",s,!0)):ko(t,r)}else t&&Ao(e,t)},tc=(e,t,n)=>{const{vnode:r,slots:s}=e;let l=!0,o=be;if(r.shapeFlag&32){const i=t._;i?n&&i===1?l=!1:Mo(s,t,n):(l=!t.$stable,ko(t,s)),o=t}else t&&(Ao(e,t),o={default:1});if(l)for(const i in s)!gs(i)&&o[i]==null&&delete s[i]},Ge=oc;function nc(e){return rc(e)}function rc(e,t){const n=or();n.__VUE__=!0;const{insert:r,remove:s,patchProp:l,createElement:o,createText:i,createComment:a,setText:d,setElementText:f,parentNode:g,nextSibling:v,setScopeId:E=dt,insertStaticContent:A}=e,C=(p,h,L,k=null,P=null,R=null,c=void 0,u=null,b=!!h.dynamicChildren)=>{if(p===h)return;p&&!un(p,h)&&(k=st(p),Te(p,P,R,!0),p=null),h.patchFlag===-2&&(b=!1,h.dynamicChildren=null);const{type:x,ref:$,shapeFlag:O}=h;switch(x){case An:D(p,h,L,k);break;case Ft:y(p,h,L,k);break;case Sr:p==null&&w(h,L,k,c);break;case Pe:j(p,h,L,k,P,R,c,u,b);break;default:O&1?N(p,h,L,k,P,R,c,u,b):O&6?z(p,h,L,k,P,R,c,u,b):(O&64||O&128)&&x.process(p,h,L,k,P,R,c,u,b,Ke)}$!=null&&P?_n($,p&&p.ref,R,h||p,!h):$==null&&p&&p.ref!=null&&_n(p.ref,null,R,p,!0)},D=(p,h,L,k)=>{if(p==null)r(h.el=i(h.children),L,k);else{const P=h.el=p.el;h.children!==p.children&&d(P,h.children)}},y=(p,h,L,k)=>{p==null?r(h.el=a(h.children||""),L,k):h.el=p.el},w=(p,h,L,k)=>{[p.el,p.anchor]=A(p.children,h,L,k,p.el,p.anchor)},S=({el:p,anchor:h},L,k)=>{let P;for(;p&&p!==h;)P=v(p),r(p,L,k),p=P;r(h,L,k)},m=({el:p,anchor:h})=>{let L;for(;p&&p!==h;)L=v(p),s(p),p=L;s(h)},N=(p,h,L,k,P,R,c,u,b)=>{if(h.type==="svg"?c="svg":h.type==="math"&&(c="mathml"),p==null)F(h,L,k,P,R,c,u,b);else{const x=p.el&&p.el._isVueCE?p.el:null;try{x&&x._beginPatch(),G(p,h,P,R,c,u,b)}finally{x&&x._endPatch()}}},F=(p,h,L,k,P,R,c,u)=>{let b,x;const{props:$,shapeFlag:O,transition:_,dirs:T}=p;if(b=p.el=o(p.type,R,$&&$.is,$),O&8?f(b,p.children):O&16&&V(p.children,b,null,k,P,Tr(p,R),c,u),T&&jt(p,null,k,"created"),I(b,p,p.scopeId,c,k),$){for(const K in $)K!=="value"&&!pn(K)&&l(b,K,null,$[K],R,k);"value"in $&&l(b,"value",null,$.value,R),(x=$.onVnodeBeforeMount)&&ot(x,k,p)}T&&jt(p,null,k,"beforeMount");const H=sc(P,_);H&&_.beforeEnter(b),r(b,h,L),((x=$&&$.onVnodeMounted)||H||T)&&Ge(()=>{x&&ot(x,k,p),H&&_.enter(b),T&&jt(p,null,k,"mounted")},P)},I=(p,h,L,k,P)=>{if(L&&E(p,L),k)for(let R=0;R<k.length;R++)E(p,k[R]);if(P){let R=P.subTree;if(h===R||Uo(R.type)&&(R.ssContent===h||R.ssFallback===h)){const c=P.vnode;I(p,c,c.scopeId,c.slotScopeIds,P.parent)}}},V=(p,h,L,k,P,R,c,u,b=0)=>{for(let x=b;x<p.length;x++){const $=p[x]=u?Nt(p[x]):ut(p[x]);C(null,$,h,L,k,P,R,c,u)}},G=(p,h,L,k,P,R,c)=>{const u=h.el=p.el;let{patchFlag:b,dynamicChildren:x,dirs:$}=h;b|=p.patchFlag&16;const O=p.props||be,_=h.props||be;let T;if(L&&Vt(L,!1),(T=_.onVnodeBeforeUpdate)&&ot(T,L,h,p),$&&jt(h,p,L,"beforeUpdate"),L&&Vt(L,!0),(O.innerHTML&&_.innerHTML==null||O.textContent&&_.textContent==null)&&f(u,""),x?ie(p.dynamicChildren,x,u,L,k,Tr(h,P),R):c||ne(p,h,u,null,L,k,Tr(h,P),R,!1),b>0){if(b&16)xe(u,O,_,L,P);else if(b&2&&O.class!==_.class&&l(u,"class",null,_.class,P),b&4&&l(u,"style",O.style,_.style,P),b&8){const H=h.dynamicProps;for(let K=0;K<H.length;K++){const Q=H[K],we=O[Q],Y=_[Q];(Y!==we||Q==="value")&&l(u,Q,we,Y,P,L)}}b&1&&p.children!==h.children&&f(u,h.children)}else!c&&x==null&&xe(u,O,_,L,P);((T=_.onVnodeUpdated)||$)&&Ge(()=>{T&&ot(T,L,h,p),$&&jt(h,p,L,"updated")},k)},ie=(p,h,L,k,P,R,c)=>{for(let u=0;u<h.length;u++){const b=p[u],x=h[u],$=b.el&&(b.type===Pe||!un(b,x)||b.shapeFlag&198)?g(b.el):L;C(b,x,$,null,k,P,R,c,!0)}},xe=(p,h,L,k,P)=>{if(h!==L){if(h!==be)for(const R in h)!pn(R)&&!(R in L)&&l(p,R,h[R],null,P,k);for(const R in L){if(pn(R))continue;const c=L[R],u=h[R];c!==u&&R!=="value"&&l(p,R,u,c,P,k)}"value"in L&&l(p,"value",h.value,L.value,P)}},j=(p,h,L,k,P,R,c,u,b)=>{const x=h.el=p?p.el:i(""),$=h.anchor=p?p.anchor:i("");let{patchFlag:O,dynamicChildren:_,slotScopeIds:T}=h;T&&(u=u?u.concat(T):T),p==null?(r(x,L,k),r($,L,k),V(h.children||[],L,$,P,R,c,u,b)):O>0&&O&64&&_&&p.dynamicChildren&&p.dynamicChildren.length===_.length?(ie(p.dynamicChildren,_,L,P,R,c,u),(h.key!=null||P&&h===P.subTree)&&Fo(p,h,!0)):ne(p,h,L,$,P,R,c,u,b)},z=(p,h,L,k,P,R,c,u,b)=>{h.slotScopeIds=u,p==null?h.shapeFlag&512?P.ctx.activate(h,L,k,c,b):ge(h,L,k,P,R,c,b):ue(p,h,b)},ge=(p,h,L,k,P,R,c)=>{const u=p.component=pc(p,k,P);if(Eo(p)&&(u.ctx.renderer=Ke),gc(u,!1,c),u.asyncDep){if(P&&P.registerDep(u,he,c),!p.el){const b=u.subTree=ke(Ft);y(null,b,h,L),p.placeholder=b.el}}else he(u,p,h,L,P,R,c)},ue=(p,h,L)=>{const k=h.component=p.component;if(Ja(p,h,L))if(k.asyncDep&&!k.asyncResolved){se(k,h,L);return}else k.next=h,k.update();else h.el=p.el,k.vnode=h},he=(p,h,L,k,P,R,c)=>{const u=()=>{if(p.isMounted){let{next:O,bu:_,u:T,parent:H,vnode:K}=p;{const Z=Do(p);if(Z){O&&(O.el=K.el,se(p,O,c)),Z.asyncDep.then(()=>{p.isUnmounted||u()});return}}let Q=O,we;Vt(p,!1),O?(O.el=K.el,se(p,O,c)):O=K,_&&_r(_),(we=O.props&&O.props.onVnodeBeforeUpdate)&&ot(we,H,O,K),Vt(p,!0);const Y=Hs(p),B=p.subTree;p.subTree=Y,C(B,Y,g(B.el),st(B),p,P,R),O.el=Y.el,Q===null&&qa(p,Y.el),T&&Ge(T,P),(we=O.props&&O.props.onVnodeUpdated)&&Ge(()=>ot(we,H,O,K),P)}else{let O;const{el:_,props:T}=h,{bm:H,m:K,parent:Q,root:we,type:Y}=p,B=bn(h);Vt(p,!1),H&&_r(H),!B&&(O=T&&T.onVnodeBeforeMount)&&ot(O,Q,h),Vt(p,!0);{we.ce&&we.ce._def.shadowRoot!==!1&&we.ce._injectChildStyle(Y);const Z=p.subTree=Hs(p);C(null,Z,L,k,p,P,R),h.el=Z.el}if(K&&Ge(K,P),!B&&(O=T&&T.onVnodeMounted)){const Z=h;Ge(()=>ot(O,Q,Z),P)}(h.shapeFlag&256||Q&&bn(Q.vnode)&&Q.vnode.shapeFlag&256)&&p.a&&Ge(p.a,P),p.isMounted=!0,h=L=k=null}};p.scope.on();const b=p.effect=new Ql(u);p.scope.off();const x=p.update=b.run.bind(b),$=p.job=b.runIfDirty.bind(b);$.i=p,$.id=p.uid,b.scheduler=()=>fs($),Vt(p,!0),x()},se=(p,h,L)=>{h.component=p;const k=p.vnode.props;p.vnode=h,p.next=null,Qa(p,h.props,k,L),tc(p,h.children,L),Tt(),Ms(p),St()},ne=(p,h,L,k,P,R,c,u,b=!1)=>{const x=p&&p.children,$=p?p.shapeFlag:0,O=h.children,{patchFlag:_,shapeFlag:T}=h;if(_>0){if(_&128){We(x,O,L,k,P,R,c,u,b);return}else if(_&256){Le(x,O,L,k,P,R,c,u,b);return}}T&8?($&16&&ze(x,P,R),O!==x&&f(L,O)):$&16?T&16?We(x,O,L,k,P,R,c,u,b):ze(x,P,R,!0):($&8&&f(L,""),T&16&&V(O,L,k,P,R,c,u,b))},Le=(p,h,L,k,P,R,c,u,b)=>{p=p||zt,h=h||zt;const x=p.length,$=h.length,O=Math.min(x,$);let _;for(_=0;_<O;_++){const T=h[_]=b?Nt(h[_]):ut(h[_]);C(p[_],T,L,null,P,R,c,u,b)}x>$?ze(p,P,R,!0,!1,O):V(h,L,k,P,R,c,u,b,O)},We=(p,h,L,k,P,R,c,u,b)=>{let x=0;const $=h.length;let O=p.length-1,_=$-1;for(;x<=O&&x<=_;){const T=p[x],H=h[x]=b?Nt(h[x]):ut(h[x]);if(un(T,H))C(T,H,L,null,P,R,c,u,b);else break;x++}for(;x<=O&&x<=_;){const T=p[O],H=h[_]=b?Nt(h[_]):ut(h[_]);if(un(T,H))C(T,H,L,null,P,R,c,u,b);else break;O--,_--}if(x>O){if(x<=_){const T=_+1,H=T<$?h[T].el:k;for(;x<=_;)C(null,h[x]=b?Nt(h[x]):ut(h[x]),L,H,P,R,c,u,b),x++}}else if(x>_)for(;x<=O;)Te(p[x],P,R,!0),x++;else{const T=x,H=x,K=new Map;for(x=H;x<=_;x++){const Be=h[x]=b?Nt(h[x]):ut(h[x]);Be.key!=null&&K.set(Be.key,x)}let Q,we=0;const Y=_-H+1;let B=!1,Z=0;const an=new Array(Y);for(x=0;x<Y;x++)an[x]=0;for(x=T;x<=O;x++){const Be=p[x];if(we>=Y){Te(Be,P,R,!0);continue}let lt;if(Be.key!=null)lt=K.get(Be.key);else for(Q=H;Q<=_;Q++)if(an[Q-H]===0&&un(Be,h[Q])){lt=Q;break}lt===void 0?Te(Be,P,R,!0):(an[lt-H]=x+1,lt>=Z?Z=lt:B=!0,C(Be,h[lt],L,null,P,R,c,u,b),we++)}const Os=B?lc(an):zt;for(Q=Os.length-1,x=Y-1;x>=0;x--){const Be=H+x,lt=h[Be],Rs=h[Be+1],Ns=Be+1<$?Rs.el||$o(Rs):k;an[x]===0?C(null,lt,L,Ns,P,R,c,u,b):B&&(Q<0||x!==Os[Q]?ae(lt,L,Ns,2):Q--)}}},ae=(p,h,L,k,P=null)=>{const{el:R,type:c,transition:u,children:b,shapeFlag:x}=p;if(x&6){ae(p.component.subTree,h,L,k);return}if(x&128){p.suspense.move(h,L,k);return}if(x&64){c.move(p,h,L,Ke);return}if(c===Pe){r(R,h,L);for(let O=0;O<b.length;O++)ae(b[O],h,L,k);r(p.anchor,h,L);return}if(c===Sr){S(p,h,L);return}if(k!==2&&x&1&&u)if(k===0)u.beforeEnter(R),r(R,h,L),Ge(()=>u.enter(R),P);else{const{leave:O,delayLeave:_,afterLeave:T}=u,H=()=>{p.ctx.isUnmounted?s(R):r(R,h,L)},K=()=>{R._isLeaving&&R[Ta](!0),O(R,()=>{H(),T&&T()})};_?_(R,H,K):K()}else r(R,h,L)},Te=(p,h,L,k=!1,P=!1)=>{const{type:R,props:c,ref:u,children:b,dynamicChildren:x,shapeFlag:$,patchFlag:O,dirs:_,cacheIndex:T}=p;if(O===-2&&(P=!1),u!=null&&(Tt(),_n(u,null,L,p,!0),St()),T!=null&&(h.renderCache[T]=void 0),$&256){h.ctx.deactivate(p);return}const H=$&1&&_,K=!bn(p);let Q;if(K&&(Q=c&&c.onVnodeBeforeUnmount)&&ot(Q,h,p),$&6)qt(p.component,L,k);else{if($&128){p.suspense.unmount(L,k);return}H&&jt(p,null,h,"beforeUnmount"),$&64?p.type.remove(p,h,L,Ke,k):x&&!x.hasOnce&&(R!==Pe||O>0&&O&64)?ze(x,h,L,!1,!0):(R===Pe&&O&384||!P&&$&16)&&ze(b,h,L),k&&rt(p)}(K&&(Q=c&&c.onVnodeUnmounted)||H)&&Ge(()=>{Q&&ot(Q,h,p),H&&jt(p,null,h,"unmounted")},L)},rt=p=>{const{type:h,el:L,anchor:k,transition:P}=p;if(h===Pe){Ze(L,k);return}if(h===Sr){m(p);return}const R=()=>{s(L),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(p.shapeFlag&1&&P&&!P.persisted){const{leave:c,delayLeave:u}=P,b=()=>c(L,R);u?u(p.el,R,b):b()}else R()},Ze=(p,h)=>{let L;for(;p!==h;)L=v(p),s(p),p=L;s(h)},qt=(p,h,L)=>{const{bum:k,scope:P,job:R,subTree:c,um:u,m:b,a:x}=p;Ks(b),Ks(x),k&&_r(k),P.stop(),R&&(R.flags|=8,Te(c,p,h,L)),u&&Ge(u,h),Ge(()=>{p.isUnmounted=!0},h)},ze=(p,h,L,k=!1,P=!1,R=0)=>{for(let c=R;c<p.length;c++)Te(p[c],h,L,k,P)},st=p=>{if(p.shapeFlag&6)return st(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=v(p.anchor||p.el),L=h&&h[xa];return L?v(L):h};let He=!1;const qe=(p,h,L)=>{let k;p==null?h._vnode&&(Te(h._vnode,null,null,!0),k=h._vnode.component):C(h._vnode||null,p,h,null,null,null,L),h._vnode=p,He||(He=!0,Ms(k),mo(),He=!1)},Ke={p:C,um:Te,m:ae,r:rt,mt:ge,mc:V,pc:ne,pbc:ie,n:st,o:e};return{render:qe,hydrate:void 0,createApp:ja(qe)}}function Tr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function sc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Fo(e,t,n=!1){const r=e.children,s=t.children;if(q(r)&&q(s))for(let l=0;l<r.length;l++){const o=r[l];let i=s[l];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[l]=Nt(s[l]),i.el=o.el),!n&&i.patchFlag!==-2&&Fo(o,i)),i.type===An&&(i.patchFlag!==-1?i.el=o.el:i.__elIndex=l+(e.type===Pe?1:0)),i.type===Ft&&!i.el&&(i.el=o.el)}}function lc(e){const t=e.slice(),n=[0];let r,s,l,o,i;const a=e.length;for(r=0;r<a;r++){const d=e[r];if(d!==0){if(s=n[n.length-1],e[s]<d){t[r]=s,n.push(r);continue}for(l=0,o=n.length-1;l<o;)i=l+o>>1,e[n[i]]<d?l=i+1:o=i;d<e[n[l]]&&(l>0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function Do(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Do(t)}function Ks(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function $o(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?$o(t.subTree):null}const Uo=e=>e.__isSuspense;function oc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):ha(e)}const Pe=Symbol.for("v-fgt"),An=Symbol.for("v-txt"),Ft=Symbol.for("v-cmt"),Sr=Symbol.for("v-stc"),vn=[];let Ye=null;function re(e=!1){vn.push(Ye=e?null:[])}function ic(){vn.pop(),Ye=vn[vn.length-1]||null}let Sn=1;function Zn(e,t=!1){Sn+=e,e<0&&Ye&&t&&(Ye.hasOnce=!0)}function Wo(e){return e.dynamicChildren=Sn>0?Ye||zt:null,ic(),Sn>0&&Ye&&Ye.push(e),e}function le(e,t,n,r,s,l){return Wo(M(e,t,n,r,s,l,!0))}function Wr(e,t,n,r,s){return Wo(ke(e,t,n,r,s,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function un(e,t){return e.type===t.type&&e.key===t.key}const Ho=({key:e})=>e??null,Vn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Ce(e)||X(e)?{i:ft,r:e,k:t,f:!!n}:e:null);function M(e,t=null,n=null,r=0,s=null,l=e===Pe?0:1,o=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ho(t),ref:t&&Vn(t),scopeId:bo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ft};return i?(ms(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=Re(n)?8:16),Sn>0&&!o&&Ye&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&Ye.push(a),a}const ke=ac;function ac(e,t=null,n=null,r=0,s=null,l=!1){if((!e||e===Aa)&&(e=Ft),zn(e)){const i=sn(e,t,!0);return n&&ms(i,n),Sn>0&&!l&&Ye&&(i.shapeFlag&6?Ye[Ye.indexOf(e)]=i:Ye.push(i)),i.patchFlag=-2,i}if(bc(e)&&(e=e.__vccOpts),t){t=cc(t);let{class:i,style:a}=t;i&&!Re(i)&&(t.class=Se(i)),ve(a)&&(us(a)&&!q(a)&&(a=Ae({},a)),t.style=Nn(a))}const o=Re(e)?1:Uo(e)?128:Ea(e)?64:ve(e)?4:X(e)?2:0;return M(e,t,n,r,s,o,l,!0)}function cc(e){return e?us(e)||Ro(e)?Ae({},e):e:null}function sn(e,t,n=!1,r=!1){const{props:s,ref:l,patchFlag:o,children:i,transition:a}=e,d=t?uc(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ho(d),ref:t&&t.ref?n&&l?q(l)?l.concat(Vn(t)):[l,Vn(t)]:Vn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&ds(f,a.clone(f)),f}function kt(e=" ",t=0){return ke(An,null,e,t)}function yt(e="",t=!1){return t?(re(),Wr(Ft,null,e)):ke(Ft,null,e)}function ut(e){return e==null||typeof e=="boolean"?ke(Ft):q(e)?ke(Pe,null,e.slice()):zn(e)?Nt(e):ke(An,null,String(e))}function Nt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sn(e)}function ms(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ms(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Ro(t)?t._ctx=ft:s===3&&ft&&(ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:ft},n=32):(t=String(t),r&64?(n=16,t=[kt(t)]):n=8);e.children=t,e.shapeFlag|=n}function uc(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Se([t.class,r.class]));else if(s==="style")t.style=Nn([t.style,r.style]);else if(rr(s)){const l=t[s],o=r[s];o&&l!==o&&!(q(l)&&l.includes(o))&&(t[s]=l?[].concat(l,o):o)}else s!==""&&(t[s]=r[s])}return t}function ot(e,t,n,r=null){gt(e,t,7,[n,r])}const fc=wo();let dc=0;function pc(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||fc,l={uid:dc++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Xl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Po(r,s),emitsOptions:Io(r,s),emit:null,emitted:null,propsDefaults:be,inheritAttrs:r.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Ka.bind(null,l),e.ce&&e.ce(l),l}let Ue=null;const _s=()=>Ue||ft;let er,Hr;{const e=or(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),l=>{s.length>1?s.forEach(o=>o(l)):s[0](l)}};er=t("__VUE_INSTANCE_SETTERS__",n=>Ue=n),Hr=t("__VUE_SSR_SETTERS__",n=>Ln=n)}const Mn=e=>{const t=Ue;return er(e),e.scope.on(),()=>{e.scope.off(),er(t)}},Bs=()=>{Ue&&Ue.scope.off(),er(null)};function jo(e){return e.vnode.shapeFlag&4}let Ln=!1;function gc(e,t=!1,n=!1){t&&Hr(t);const{props:r,children:s}=e.vnode,l=jo(e);Xa(e,r,l,t),ec(e,s,n||t);const o=l?hc(e,t):void 0;return t&&Hr(!1),o}function hc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ma);const{setup:r}=n;if(r){Tt();const s=e.setupContext=r.length>1?_c(e):null,l=Mn(e),o=Pn(r,e,0,[e.props,s]),i=jl(o);if(St(),l(),(i||e.sp)&&!bn(e)&&xo(e),i){if(o.then(Bs,Bs),t)return o.then(a=>{Gs(e,a)}).catch(a=>{ar(a,e,0)});e.asyncDep=o}else Gs(e,o)}else Vo(e)}function Gs(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=po(t)),Vo(e)}function Vo(e,t,n){const r=e.type;e.render||(e.render=r.render||dt);{const s=Mn(e);Tt();try{Fa(e)}finally{St(),s()}}}const mc={get(e,t){return Fe(e,"get",""),e[t]}};function _c(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,mc),slots:e.slots,emit:e.emit,expose:t}}function bs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(po(sa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yn)return yn[n](e)},has(t,n){return n in t||n in yn}})):e.proxy}function bc(e){return X(e)&&"__vccOpts"in e}const Ee=(e,t)=>ca(e,t,Ln);function Ko(e,t,n){try{Zn(-1);const r=arguments.length;return r===2?ve(t)&&!q(t)?zn(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&zn(n)&&(n=[n]),ke(e,t,n))}finally{Zn(1)}}const yc="3.5.27";let jr;const Ys=typeof window<"u"&&window.trustedTypes;if(Ys)try{jr=Ys.createPolicy("vue",{createHTML:e=>e})}catch{}const Bo=jr?e=>jr.createHTML(e):e=>e,vc="http://www.w3.org/2000/svg",xc="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,Js=_t&&_t.createElement("template"),Ec={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?_t.createElementNS(vc,e):t==="mathml"?_t.createElementNS(xc,e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,l){const o=n?n.previousSibling:t.lastChild;if(s&&(s===l||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===l||!(s=s.nextSibling)););else{Js.innerHTML=Bo(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=Js.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tc=Symbol("_vtc");function Sc(e,t,n){const r=e[Tc];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qs=Symbol("_vod"),Lc=Symbol("_vsh"),wc=Symbol(""),Ic=/(?:^|;)\s*display\s*:/;function Cc(e,t,n){const r=e.style,s=Re(n);let l=!1;if(n&&!s){if(t)if(Re(t))for(const o of t.split(";")){const i=o.slice(0,o.indexOf(":")).trim();n[i]==null&&Kn(r,i,"")}else for(const o in t)n[o]==null&&Kn(r,o,"");for(const o in n)o==="display"&&(l=!0),Kn(r,o,n[o])}else if(s){if(t!==n){const o=r[wc];o&&(n+=";"+o),r.cssText=n,l=Ic.test(n)}}else t&&e.removeAttribute("style");qs in e&&(e[qs]=l?r.display:"",e[Lc]&&(r.display="none"))}const Xs=/\s*!important$/;function Kn(e,t,n){if(q(n))n.forEach(r=>Kn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Oc(e,t);Xs.test(n)?e.setProperty(Jt(r),n.replace(Xs,""),"important"):e[r]=n}}const Qs=["Webkit","Moz","ms"],Lr={};function Oc(e,t){const n=Lr[t];if(n)return n;let r=Mt(t);if(r!=="filter"&&r in e)return Lr[t]=r;r=Bl(r);for(let s=0;s<Qs.length;s++){const l=Qs[s]+r;if(l in e)return Lr[t]=l}return t}const Zs="http://www.w3.org/1999/xlink";function zs(e,t,n,r,s,l=Fi(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Zs,t.slice(6,t.length)):e.setAttributeNS(Zs,t,n):n==null||l&&!Yl(n)?e.removeAttribute(t):e.setAttribute(t,l?"":Dt(n)?String(n):n)}function el(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Bo(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const i=l==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Yl(n):n==null&&i==="string"?(n="",o=!0):i==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Rc(e,t,n,r){e.addEventListener(t,n,r)}function Nc(e,t,n,r){e.removeEventListener(t,n,r)}const tl=Symbol("_vei");function Pc(e,t,n,r,s=null){const l=e[tl]||(e[tl]={}),o=l[t];if(r&&o)o.value=r;else{const[i,a]=kc(t);if(r){const d=l[t]=Fc(r,s);Rc(e,i,d,a)}else o&&(Nc(e,i,o,a),l[t]=void 0)}}const nl=/(?:Once|Passive|Capture)$/;function kc(e){let t;if(nl.test(e)){t={};let r;for(;r=e.match(nl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Jt(e.slice(2)),t]}let wr=0;const Ac=Promise.resolve(),Mc=()=>wr||(Ac.then(()=>wr=0),wr=Date.now());function Fc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gt(Dc(r,n.value),t,5,[r])};return n.value=e,n.attached=Mc(),n}function Dc(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const rl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,$c=(e,t,n,r,s,l)=>{const o=s==="svg";t==="class"?Sc(e,r,o):t==="style"?Cc(e,n,r):rr(t)?es(t)||Pc(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Uc(e,t,r,o))?(el(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zs(e,t,r,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Re(r))?el(e,Mt(t),r,l,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),zs(e,t,r,o))};function Uc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&rl(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return rl(t)&&Re(n)?!1:t in e}const Wc=Ae({patchProp:$c},Ec);let sl;function Hc(){return sl||(sl=nc(Wc))}const jc=((...e)=>{const t=Hc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Kc(r);if(!s)return;const l=t._component;!X(l)&&!l.render&&!l.template&&(l.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Vc(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t});function Vc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Kc(e){return Re(e)?document.querySelector(e):e}function Bc(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const tr=typeof window<"u",$t=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Gc=(e,t,n)=>Yc({l:e,k:t,s:n}),Yc=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Oe=e=>typeof e=="number"&&isFinite(e),Jc=e=>ys(e)==="[object Date]",ln=e=>ys(e)==="[object RegExp]",pr=e=>te(e)&&Object.keys(e).length===0,Ne=Object.assign,qc=Object.create,me=(e=null)=>qc(e);let ll;const Bt=()=>ll||(ll=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:me());function ol(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function il(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Xc(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,l)=>`${s}="${il(l)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,l)=>`${s}='${il(l)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const Qc=Object.prototype.hasOwnProperty;function et(e,t){return Qc.call(e,t)}const Ie=Array.isArray,ye=e=>typeof e=="function",U=e=>typeof e=="string",oe=e=>typeof e=="boolean",ce=e=>e!==null&&typeof e=="object",Zc=e=>ce(e)&&ye(e.then)&&ye(e.catch),Go=Object.prototype.toString,ys=e=>Go.call(e),te=e=>ys(e)==="[object Object]",zc=e=>e==null?"":Ie(e)||te(e)&&e.toString===Go?JSON.stringify(e,null,2):String(e);function vs(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Un=e=>!ce(e)||Ie(e);function Bn(e,t){if(Un(e)||Un(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(l=>{l!=="__proto__"&&(ce(r[l])&&!ce(s[l])&&(s[l]=Array.isArray(r[l])?[]:me()),Un(s[l])||Un(r[l])?s[l]=r[l]:n.push({src:r[l],des:s[l]}))})}}function eu(e,t,n){return{line:e,column:t,offset:n}}function Vr(e,t,n){return{start:e,end:t}}const fe={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},tu=17;function gr(e,t,n={}){const{domain:r,messages:s,args:l}=n,o=e,i=new SyntaxError(String(o));return i.code=e,t&&(i.location=t),i.domain=r,i}function nu(e){throw e}const it=" ",ru="\r",Me=`
|
|
2
|
+
`,su="\u2028",lu="\u2029";function ou(e){const t=e;let n=0,r=1,s=1,l=0;const o=I=>t[I]===ru&&t[I+1]===Me,i=I=>t[I]===Me,a=I=>t[I]===lu,d=I=>t[I]===su,f=I=>o(I)||i(I)||a(I)||d(I),g=()=>n,v=()=>r,E=()=>s,A=()=>l,C=I=>o(I)||a(I)||d(I)?Me:t[I],D=()=>C(n),y=()=>C(n+l);function w(){return l=0,f(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function S(){return o(n+l)&&l++,l++,t[n+l]}function m(){n=0,r=1,s=1,l=0}function N(I=0){l=I}function F(){const I=n+l;for(;I!==n;)w();l=0}return{index:g,line:v,column:E,peekOffset:A,charAt:C,currentChar:D,currentPeek:y,next:w,peek:S,reset:m,resetPeek:N,skipToPeek:F}}const mt=void 0,iu=".",al="'",au="tokenizer";function cu(e,t={}){const n=t.location!==!1,r=ou(e),s=()=>r.index(),l=()=>eu(r.line(),r.column(),r.index()),o=l(),i=s(),a={currentType:13,offset:i,startLoc:o,endLoc:o,lastType:13,lastOffset:i,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:f}=t;function g(c,u,b,...x){const $=d();if(u.column+=b,u.offset+=b,f){const O=n?Vr($.startLoc,u):null,_=gr(c,O,{domain:au,args:x});f(_)}}function v(c,u,b){c.endLoc=l(),c.currentType=u;const x={type:u};return n&&(x.loc=Vr(c.startLoc,c.endLoc)),b!=null&&(x.value=b),x}const E=c=>v(c,13);function A(c,u){return c.currentChar()===u?(c.next(),u):(g(fe.EXPECTED_TOKEN,l(),0,u),"")}function C(c){let u="";for(;c.currentPeek()===it||c.currentPeek()===Me;)u+=c.currentPeek(),c.peek();return u}function D(c){const u=C(c);return c.skipToPeek(),u}function y(c){if(c===mt)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function w(c){if(c===mt)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function S(c,u){const{currentType:b}=u;if(b!==2)return!1;C(c);const x=y(c.currentPeek());return c.resetPeek(),x}function m(c,u){const{currentType:b}=u;if(b!==2)return!1;C(c);const x=c.currentPeek()==="-"?c.peek():c.currentPeek(),$=w(x);return c.resetPeek(),$}function N(c,u){const{currentType:b}=u;if(b!==2)return!1;C(c);const x=c.currentPeek()===al;return c.resetPeek(),x}function F(c,u){const{currentType:b}=u;if(b!==7)return!1;C(c);const x=c.currentPeek()===".";return c.resetPeek(),x}function I(c,u){const{currentType:b}=u;if(b!==8)return!1;C(c);const x=y(c.currentPeek());return c.resetPeek(),x}function V(c,u){const{currentType:b}=u;if(!(b===7||b===11))return!1;C(c);const x=c.currentPeek()===":";return c.resetPeek(),x}function G(c,u){const{currentType:b}=u;if(b!==9)return!1;const x=()=>{const O=c.currentPeek();return O==="{"?y(c.peek()):O==="@"||O==="|"||O===":"||O==="."||O===it||!O?!1:O===Me?(c.peek(),x()):xe(c,!1)},$=x();return c.resetPeek(),$}function ie(c){C(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function xe(c,u=!0){const b=($=!1,O="")=>{const _=c.currentPeek();return _==="{"||_==="@"||!_?$:_==="|"?!(O===it||O===Me):_===it?(c.peek(),b(!0,it)):_===Me?(c.peek(),b(!0,Me)):!0},x=b();return u&&c.resetPeek(),x}function j(c,u){const b=c.currentChar();return b===mt?mt:u(b)?(c.next(),b):null}function z(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36}function ge(c){return j(c,z)}function ue(c){const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36||u===45}function he(c){return j(c,ue)}function se(c){const u=c.charCodeAt(0);return u>=48&&u<=57}function ne(c){return j(c,se)}function Le(c){const u=c.charCodeAt(0);return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function We(c){return j(c,Le)}function ae(c){let u="",b="";for(;u=ne(c);)b+=u;return b}function Te(c){let u="";for(;;){const b=c.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b===it||b===Me)if(xe(c))u+=b,c.next();else{if(ie(c))break;u+=b,c.next()}else u+=b,c.next()}return u}function rt(c){D(c);let u="",b="";for(;u=he(c);)b+=u;const x=c.currentChar();if(x&&x!=="}"&&x!==mt&&x!==it&&x!==Me&&x!==" "){const $=Ke(c);return g(fe.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b+$),b+$}return c.currentChar()===mt&&g(fe.UNTERMINATED_CLOSING_BRACE,l(),0),b}function Ze(c){D(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${ae(c)}`):u+=ae(c),c.currentChar()===mt&&g(fe.UNTERMINATED_CLOSING_BRACE,l(),0),u}function qt(c){return c!==al&&c!==Me}function ze(c){D(c),A(c,"'");let u="",b="";for(;u=j(c,qt);)u==="\\"?b+=st(c):b+=u;const x=c.currentChar();return x===Me||x===mt?(g(fe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),x===Me&&(c.next(),A(c,"'")),b):(A(c,"'"),b)}function st(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return He(c,u,4);case"U":return He(c,u,6);default:return g(fe.UNKNOWN_ESCAPE_SEQUENCE,l(),0,u),""}}function He(c,u,b){A(c,u);let x="";for(let $=0;$<b;$++){const O=We(c);if(!O){g(fe.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${u}${x}${c.currentChar()}`);break}x+=O}return`\\${u}${x}`}function qe(c){return c!=="{"&&c!=="}"&&c!==it&&c!==Me}function Ke(c){D(c);let u="",b="";for(;u=j(c,qe);)b+=u;return b}function Ht(c){let u="",b="";for(;u=ge(c);)b+=u;return b}function p(c){const u=b=>{const x=c.currentChar();return x==="{"||x==="@"||x==="|"||x==="("||x===")"||!x||x===it?b:(b+=x,c.next(),u(b))};return u("")}function h(c){D(c);const u=A(c,"|");return D(c),u}function L(c,u){let b=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&g(fe.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),c.next(),b=v(u,2,"{"),D(c),u.braceNest++,b;case"}":return u.braceNest>0&&u.currentType===2&&g(fe.EMPTY_PLACEHOLDER,l(),0),c.next(),b=v(u,3,"}"),u.braceNest--,u.braceNest>0&&D(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),b;case"@":return u.braceNest>0&&g(fe.UNTERMINATED_CLOSING_BRACE,l(),0),b=k(c,u)||E(u),u.braceNest=0,b;default:{let $=!0,O=!0,_=!0;if(ie(c))return u.braceNest>0&&g(fe.UNTERMINATED_CLOSING_BRACE,l(),0),b=v(u,1,h(c)),u.braceNest=0,u.inLinked=!1,b;if(u.braceNest>0&&(u.currentType===4||u.currentType===5||u.currentType===6))return g(fe.UNTERMINATED_CLOSING_BRACE,l(),0),u.braceNest=0,P(c,u);if($=S(c,u))return b=v(u,4,rt(c)),D(c),b;if(O=m(c,u))return b=v(u,5,Ze(c)),D(c),b;if(_=N(c,u))return b=v(u,6,ze(c)),D(c),b;if(!$&&!O&&!_)return b=v(u,12,Ke(c)),g(fe.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,b.value),D(c),b;break}}return b}function k(c,u){const{currentType:b}=u;let x=null;const $=c.currentChar();switch((b===7||b===8||b===11||b===9)&&($===Me||$===it)&&g(fe.INVALID_LINKED_FORMAT,l(),0),$){case"@":return c.next(),x=v(u,7,"@"),u.inLinked=!0,x;case".":return D(c),c.next(),v(u,8,".");case":":return D(c),c.next(),v(u,9,":");default:return ie(c)?(x=v(u,1,h(c)),u.braceNest=0,u.inLinked=!1,x):F(c,u)||V(c,u)?(D(c),k(c,u)):I(c,u)?(D(c),v(u,11,Ht(c))):G(c,u)?(D(c),$==="{"?L(c,u)||x:v(u,10,p(c))):(b===7&&g(fe.INVALID_LINKED_FORMAT,l(),0),u.braceNest=0,u.inLinked=!1,P(c,u))}}function P(c,u){let b={type:13};if(u.braceNest>0)return L(c,u)||E(u);if(u.inLinked)return k(c,u)||E(u);switch(c.currentChar()){case"{":return L(c,u)||E(u);case"}":return g(fe.UNBALANCED_CLOSING_BRACE,l(),0),c.next(),v(u,3,"}");case"@":return k(c,u)||E(u);default:{if(ie(c))return b=v(u,1,h(c)),u.braceNest=0,u.inLinked=!1,b;if(xe(c))return v(u,0,Te(c));break}}return b}function R(){const{currentType:c,offset:u,startLoc:b,endLoc:x}=a;return a.lastType=c,a.lastOffset=u,a.lastStartLoc=b,a.lastEndLoc=x,a.offset=s(),a.startLoc=l(),r.currentChar()===mt?v(a,13):P(r,a)}return{nextToken:R,currentOffset:s,currentPosition:l,context:d}}const uu="parser",fu=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function du(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function pu(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,w,S,m,...N){const F=y.currentPosition();if(F.offset+=m,F.column+=m,n){const I=t?Vr(S,F):null,V=gr(w,I,{domain:uu,args:N});n(V)}}function s(y,w,S){const m={type:y};return t&&(m.start=w,m.end=w,m.loc={start:S,end:S}),m}function l(y,w,S,m){t&&(y.end=w,y.loc&&(y.loc.end=S))}function o(y,w){const S=y.context(),m=s(3,S.offset,S.startLoc);return m.value=w,l(m,y.currentOffset(),y.currentPosition()),m}function i(y,w){const S=y.context(),{lastOffset:m,lastStartLoc:N}=S,F=s(5,m,N);return F.index=parseInt(w,10),y.nextToken(),l(F,y.currentOffset(),y.currentPosition()),F}function a(y,w){const S=y.context(),{lastOffset:m,lastStartLoc:N}=S,F=s(4,m,N);return F.key=w,y.nextToken(),l(F,y.currentOffset(),y.currentPosition()),F}function d(y,w){const S=y.context(),{lastOffset:m,lastStartLoc:N}=S,F=s(9,m,N);return F.value=w.replace(fu,du),y.nextToken(),l(F,y.currentOffset(),y.currentPosition()),F}function f(y){const w=y.nextToken(),S=y.context(),{lastOffset:m,lastStartLoc:N}=S,F=s(8,m,N);return w.type!==11?(r(y,fe.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),F.value="",l(F,m,N),{nextConsumeToken:w,node:F}):(w.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,at(w)),F.value=w.value||"",l(F,y.currentOffset(),y.currentPosition()),{node:F})}function g(y,w){const S=y.context(),m=s(7,S.offset,S.startLoc);return m.value=w,l(m,y.currentOffset(),y.currentPosition()),m}function v(y){const w=y.context(),S=s(6,w.offset,w.startLoc);let m=y.nextToken();if(m.type===8){const N=f(y);S.modifier=N.node,m=N.nextConsumeToken||y.nextToken()}switch(m.type!==9&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(m)),m=y.nextToken(),m.type===2&&(m=y.nextToken()),m.type){case 10:m.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(m)),S.key=g(y,m.value||"");break;case 4:m.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(m)),S.key=a(y,m.value||"");break;case 5:m.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(m)),S.key=i(y,m.value||"");break;case 6:m.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(m)),S.key=d(y,m.value||"");break;default:{r(y,fe.UNEXPECTED_EMPTY_LINKED_KEY,w.lastStartLoc,0);const N=y.context(),F=s(7,N.offset,N.startLoc);return F.value="",l(F,N.offset,N.startLoc),S.key=F,l(S,N.offset,N.startLoc),{nextConsumeToken:m,node:S}}}return l(S,y.currentOffset(),y.currentPosition()),{node:S}}function E(y){const w=y.context(),S=w.currentType===1?y.currentOffset():w.offset,m=w.currentType===1?w.endLoc:w.startLoc,N=s(2,S,m);N.items=[];let F=null;do{const G=F||y.nextToken();switch(F=null,G.type){case 0:G.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(G)),N.items.push(o(y,G.value||""));break;case 5:G.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(G)),N.items.push(i(y,G.value||""));break;case 4:G.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(G)),N.items.push(a(y,G.value||""));break;case 6:G.value==null&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,at(G)),N.items.push(d(y,G.value||""));break;case 7:{const ie=v(y);N.items.push(ie.node),F=ie.nextConsumeToken||null;break}}}while(w.currentType!==13&&w.currentType!==1);const I=w.currentType===1?w.lastOffset:y.currentOffset(),V=w.currentType===1?w.lastEndLoc:y.currentPosition();return l(N,I,V),N}function A(y,w,S,m){const N=y.context();let F=m.items.length===0;const I=s(1,w,S);I.cases=[],I.cases.push(m);do{const V=E(y);F||(F=V.items.length===0),I.cases.push(V)}while(N.currentType!==13);return F&&r(y,fe.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),l(I,y.currentOffset(),y.currentPosition()),I}function C(y){const w=y.context(),{offset:S,startLoc:m}=w,N=E(y);return w.currentType===13?N:A(y,S,m,N)}function D(y){const w=cu(y,Ne({},e)),S=w.context(),m=s(0,S.offset,S.startLoc);return t&&m.loc&&(m.loc.source=y),m.body=C(w),e.onCacheKey&&(m.cacheKey=e.onCacheKey(y)),S.currentType!==13&&r(w,fe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,y[S.offset]||""),l(m,w.currentOffset(),w.currentPosition()),m}return{parse:D}}function at(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function gu(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:l=>(n.helpers.add(l),l)}}function cl(e,t){for(let n=0;n<e.length;n++)xs(e[n],t)}function xs(e,t){switch(e.type){case 1:cl(e.cases,t),t.helper("plural");break;case 2:cl(e.items,t);break;case 6:{xs(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function hu(e,t={}){const n=gu(e);n.helper("normalize"),e.body&&xs(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function mu(e){const t=e.body;return t.type===2?ul(t):t.cases.forEach(n=>ul(n)),e}function ul(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=vs(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Zt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Zt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Zt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Zt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Zt(t.key),t.k=t.key,delete t.key,t.modifier&&(Zt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function _u(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,l=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};l&&e.loc&&(o.source=e.loc.source);const i=()=>o;function a(C,D){o.code+=C}function d(C,D=!0){const y=D?r:"";a(s?y+" ".repeat(C):y)}function f(C=!0){const D=++o.indentLevel;C&&d(D)}function g(C=!0){const D=--o.indentLevel;C&&d(D)}function v(){d(o.indentLevel)}return{context:i,push:a,indent:f,deindent:g,newline:v,helper:C=>`_${C}`,needIndent:()=>o.needIndent}}function bu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),on(e,t.key),t.modifier?(e.push(", "),on(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function yu(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let l=0;l<s&&(on(e,t.items[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}function vu(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let l=0;l<s&&(on(e,t.cases[l]),l!==s-1);l++)e.push(", ");e.deindent(r()),e.push("])")}}function xu(e,t){t.body?on(e,t.body):e.push("null")}function on(e,t){const{helper:n}=e;switch(t.type){case 0:xu(e,t);break;case 1:vu(e,t);break;case 2:yu(e,t);break;case 6:bu(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Eu=(e,t={})=>{const n=U(t.mode)?t.mode:"normal",r=U(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
+
`,l=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],i=_u(e,{filename:r,breakLineCode:s,needIndent:l});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),o.length>0&&(i.push(`const { ${vs(o.map(f=>`${f}: _${f}`),", ")} } = ctx`),i.newline()),i.push("return "),on(i,e),i.deindent(l),i.push("}"),delete e.helpers;const{code:a,map:d}=i.context();return{ast:e,code:a,map:d?d.toJSON():void 0}};function Tu(e,t={}){const n=Ne({},t),r=!!n.jit,s=!!n.minify,l=n.optimize==null?!0:n.optimize,i=pu(n).parse(e);return r?(l&&mu(i),s&&Zt(i),{ast:i,code:""}):(hu(i,n),Eu(i,n))}function Su(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Bt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Bt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function pt(e){return ce(e)&&Es(e)===0&&(et(e,"b")||et(e,"body"))}const Yo=["b","body"];function Lu(e){return Ut(e,Yo)}const Jo=["c","cases"];function wu(e){return Ut(e,Jo,[])}const qo=["s","static"];function Iu(e){return Ut(e,qo)}const Xo=["i","items"];function Cu(e){return Ut(e,Xo,[])}const Qo=["t","type"];function Es(e){return Ut(e,Qo)}const Zo=["v","value"];function Wn(e,t){const n=Ut(e,Zo);if(n!=null)return n;throw wn(t)}const zo=["m","modifier"];function Ou(e){return Ut(e,zo)}const ei=["k","key"];function Ru(e){const t=Ut(e,ei);if(t)return t;throw wn(6)}function Ut(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(et(e,s)&&e[s]!=null)return e[s]}return n}const ti=[...Yo,...Jo,...qo,...Xo,...ei,...zo,...Zo,...Qo];function wn(e){return new Error(`unhandled node type: ${e}`)}function Ir(e){return n=>Nu(n,e)}function Nu(e,t){const n=Lu(t);if(n==null)throw wn(0);if(Es(n)===1){const l=wu(n);return e.plural(l.reduce((o,i)=>[...o,fl(e,i)],[]))}else return fl(e,n)}function fl(e,t){const n=Iu(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Cu(t).reduce((s,l)=>[...s,Kr(e,l)],[]);return e.normalize(r)}}function Kr(e,t){const n=Es(t);switch(n){case 3:return Wn(t,n);case 9:return Wn(t,n);case 4:{const r=t;if(et(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(et(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw wn(n)}case 5:{const r=t;if(et(r,"i")&&Oe(r.i))return e.interpolate(e.list(r.i));if(et(r,"index")&&Oe(r.index))return e.interpolate(e.list(r.index));throw wn(n)}case 6:{const r=t,s=Ou(r),l=Ru(r);return e.linked(Kr(e,l),s?Kr(e,s):void 0,e.type)}case 7:return Wn(t,n);case 8:return Wn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Pu=e=>e;let Hn=me();function ku(e,t={}){let n=!1;const r=t.onError||nu;return t.onError=s=>{n=!0,r(s)},{...Tu(e,t),detectError:n}}function Au(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&U(e)){oe(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Pu)(e),s=Hn[r];if(s)return s;const{ast:l,detectError:o}=ku(e,{...t,location:!1,jit:!0}),i=Ir(l);return o?i:Hn[r]=i}else{const n=e.cacheKey;if(n){const r=Hn[n];return r||(Hn[n]=Ir(e))}else return Ir(e)}}let In=null;function Mu(e){In=e}function Fu(e,t,n){In&&In.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Du=$u("function:translate");function $u(e){return t=>In&&In.emit(e,t)}const vt={INVALID_ARGUMENT:tu,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Uu=24;function xt(e){return gr(e,null,void 0)}function Ts(e,t){return t.locale!=null?dl(t.locale):dl(e.locale)}let Cr;function dl(e){if(U(e))return e;if(ye(e)){if(e.resolvedOnce&&Cr!=null)return Cr;if(e.constructor.name==="Function"){const t=e();if(Zc(t))throw xt(vt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Cr=t}else throw xt(vt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw xt(vt.NOT_SUPPORT_LOCALE_TYPE)}function Wu(e,t,n){return[...new Set([n,...Ie(t)?t:ce(t)?Object.keys(t):U(t)?[t]:[n]])]}function ni(e,t,n){const r=U(n)?n:Cn,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let l=s.__localeChainCache.get(r);if(!l){l=[];let o=[n];for(;Ie(o);)o=pl(l,o,t);const i=Ie(t)||!te(t)?t:t.default?t.default:null;o=U(i)?[i]:i,Ie(o)&&pl(l,o,!1),s.__localeChainCache.set(r,l)}return l}function pl(e,t,n){let r=!0;for(let s=0;s<t.length&&oe(r);s++){const l=t[s];U(l)&&(r=Hu(e,t[s],n))}return r}function Hu(e,t,n){let r;const s=t.split("-");do{const l=s.join("-");r=ju(e,l,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function ju(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Ie(n)||te(n))&&n[s]&&(r=n[s])}return r}const Wt=[];Wt[0]={w:[0],i:[3,0],"[":[4],o:[7]};Wt[1]={w:[1],".":[2],"[":[4],o:[7]};Wt[2]={w:[2],i:[3,0],0:[3,0]};Wt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Wt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Wt[5]={"'":[4,0],o:8,l:[5,0]};Wt[6]={'"':[4,0],o:8,l:[6,0]};const Vu=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ku(e){return Vu.test(e)}function Bu(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Gu(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 Yu(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ku(t)?Bu(t):"*"+t}function Ju(e){const t=[];let n=-1,r=0,s=0,l,o,i,a,d,f,g;const v=[];v[0]=()=>{o===void 0?o=i:o+=i},v[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},v[2]=()=>{v[0](),s++},v[3]=()=>{if(s>0)s--,r=4,v[0]();else{if(s=0,o===void 0||(o=Yu(o),o===!1))return!1;v[1]()}};function E(){const A=e[n+1];if(r===5&&A==="'"||r===6&&A==='"')return n++,i="\\"+A,v[0](),!0}for(;r!==null;)if(n++,l=e[n],!(l==="\\"&&E())){if(a=Gu(l),g=Wt[r],d=g[a]||g.l||8,d===8||(r=d[0],d[1]!==void 0&&(f=v[d[1]],f&&(i=l,f()===!1))))return;if(r===7)return t}}const gl=new Map;function qu(e,t){return ce(e)?e[t]:null}function Xu(e,t){if(!ce(e))return null;let n=gl.get(t);if(n||(n=Ju(t),n&&gl.set(t,n)),!n)return null;const r=n.length;let s=e,l=0;for(;l<r;){const o=n[l];if(ti.includes(o)&&pt(s))return null;const i=s[o];if(i===void 0||ye(s))return null;s=i,l++}return s}const Qu="11.2.8",hr=-1,Cn="en-US",hl="",ml=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Zu(){return{upper:(e,t)=>t==="text"&&U(e)?e.toUpperCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&U(e)?e.toLowerCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&U(e)?ml(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?ml(e.children):e}}let ri;function zu(e){ri=e}let si;function ef(e){si=e}let li;function tf(e){li=e}let oi=null;const nf=e=>{oi=e},rf=()=>oi;let ii=null;const _l=e=>{ii=e},sf=()=>ii;let bl=0;function lf(e={}){const t=ye(e.onWarn)?e.onWarn:Bc,n=U(e.version)?e.version:Qu,r=U(e.locale)||ye(e.locale)?e.locale:Cn,s=ye(r)?Cn:r,l=Ie(e.fallbackLocale)||te(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=te(e.messages)?e.messages:Or(s),i=te(e.datetimeFormats)?e.datetimeFormats:Or(s),a=te(e.numberFormats)?e.numberFormats:Or(s),d=Ne(me(),e.modifiers,Zu()),f=e.pluralRules||me(),g=ye(e.missing)?e.missing:null,v=oe(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,E=oe(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,C=!!e.unresolving,D=ye(e.postTranslation)?e.postTranslation:null,y=te(e.processor)?e.processor:null,w=oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,m=ye(e.messageCompiler)?e.messageCompiler:ri,N=ye(e.messageResolver)?e.messageResolver:si||qu,F=ye(e.localeFallbacker)?e.localeFallbacker:li||Wu,I=ce(e.fallbackContext)?e.fallbackContext:void 0,V=e,G=ce(V.__datetimeFormatters)?V.__datetimeFormatters:new Map,ie=ce(V.__numberFormatters)?V.__numberFormatters:new Map,xe=ce(V.__meta)?V.__meta:{};bl++;const j={version:n,cid:bl,locale:r,fallbackLocale:l,messages:o,modifiers:d,pluralRules:f,missing:g,missingWarn:v,fallbackWarn:E,fallbackFormat:A,unresolving:C,postTranslation:D,processor:y,warnHtmlMessage:w,escapeParameter:S,messageCompiler:m,messageResolver:N,localeFallbacker:F,fallbackContext:I,onWarn:t,__meta:xe};return j.datetimeFormats=i,j.numberFormats=a,j.__datetimeFormatters=G,j.__numberFormatters=ie,__INTLIFY_PROD_DEVTOOLS__&&Fu(j,n,xe),j}const Or=e=>({[e]:me()});function Ss(e,t,n,r,s){const{missing:l,onWarn:o}=e;if(l!==null){const i=l(e,n,t,s);return U(i)?i:t}else return t}function fn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function of(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function af(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(of(e,t[r]))return!0;return!1}function yl(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:i}=e,[a,d,f,g]=Br(...t),v=oe(f.missingWarn)?f.missingWarn:e.missingWarn;oe(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const E=!!f.part,A=Ts(e,f),C=o(e,s,A);if(!U(a)||a==="")return new Intl.DateTimeFormat(A,g).format(d);let D={},y,w=null;const S="datetime format";for(let F=0;F<C.length&&(y=C[F],D=n[y]||{},w=D[a],!te(w));F++)Ss(e,a,y,v,S);if(!te(w)||!U(y))return r?hr:a;let m=`${y}__${a}`;pr(g)||(m=`${m}__${JSON.stringify(g)}`);let N=i.get(m);return N||(N=new Intl.DateTimeFormat(y,Ne({},w,g)),i.set(m,N)),E?N.formatToParts(d):N.format(d)}const ai=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Br(...e){const[t,n,r,s]=e,l=me();let o=me(),i;if(U(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw xt(vt.INVALID_ISO_DATE_ARGUMENT);const d=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();i=new Date(d);try{i.toISOString()}catch{throw xt(vt.INVALID_ISO_DATE_ARGUMENT)}}else if(Jc(t)){if(isNaN(t.getTime()))throw xt(vt.INVALID_DATE_ARGUMENT);i=t}else if(Oe(t))i=t;else throw xt(vt.INVALID_ARGUMENT);return U(n)?l.key=n:te(n)&&Object.keys(n).forEach(a=>{ai.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:te(r)&&(o=r),te(s)&&(o=s),[l.key||"",i,l,o]}function vl(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__datetimeFormatters.has(l)&&r.__datetimeFormatters.delete(l)}}function xl(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:i}=e,[a,d,f,g]=Gr(...t),v=oe(f.missingWarn)?f.missingWarn:e.missingWarn;oe(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const E=!!f.part,A=Ts(e,f),C=o(e,s,A);if(!U(a)||a==="")return new Intl.NumberFormat(A,g).format(d);let D={},y,w=null;const S="number format";for(let F=0;F<C.length&&(y=C[F],D=n[y]||{},w=D[a],!te(w));F++)Ss(e,a,y,v,S);if(!te(w)||!U(y))return r?hr:a;let m=`${y}__${a}`;pr(g)||(m=`${m}__${JSON.stringify(g)}`);let N=i.get(m);return N||(N=new Intl.NumberFormat(y,Ne({},w,g)),i.set(m,N)),E?N.formatToParts(d):N.format(d)}const ci=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Gr(...e){const[t,n,r,s]=e,l=me();let o=me();if(!Oe(t))throw xt(vt.INVALID_ARGUMENT);const i=t;return U(n)?l.key=n:te(n)&&Object.keys(n).forEach(a=>{ci.includes(a)?o[a]=n[a]:l[a]=n[a]}),U(r)?l.locale=r:te(r)&&(o=r),te(s)&&(o=s),[l.key||"",i,l,o]}function El(e,t,n){const r=e;for(const s in n){const l=`${t}__${s}`;r.__numberFormatters.has(l)&&r.__numberFormatters.delete(l)}}const cf=e=>e,uf=e=>"",ff="text",df=e=>e.length===0?"":vs(e),pf=zc;function Tl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function gf(e){const t=Oe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Oe(e.named.count)||Oe(e.named.n))?Oe(e.named.count)?e.named.count:Oe(e.named.n)?e.named.n:t:t}function hf(e,t){t.count||(t.count=e),t.n||(t.n=e)}function mf(e={}){const t=e.locale,n=gf(e),r=ce(e.pluralRules)&&U(t)&&ye(e.pluralRules[t])?e.pluralRules[t]:Tl,s=ce(e.pluralRules)&&U(t)&&ye(e.pluralRules[t])?Tl:void 0,l=y=>y[r(n,y.length,s)],o=e.list||[],i=y=>o[y],a=e.named||me();Oe(e.pluralIndex)&&hf(n,a);const d=y=>a[y];function f(y,w){const S=ye(e.messages)?e.messages(y,!!w):ce(e.messages)?e.messages[y]:!1;return S||(e.parent?e.parent.message(y):uf)}const g=y=>e.modifiers?e.modifiers[y]:cf,v=te(e.processor)&&ye(e.processor.normalize)?e.processor.normalize:df,E=te(e.processor)&&ye(e.processor.interpolate)?e.processor.interpolate:pf,A=te(e.processor)&&U(e.processor.type)?e.processor.type:ff,D={list:i,named:d,plural:l,linked:(y,...w)=>{const[S,m]=w;let N="text",F="";w.length===1?ce(S)?(F=S.modifier||F,N=S.type||N):U(S)&&(F=S||F):w.length===2&&(U(S)&&(F=S||F),U(m)&&(N=m||N));const I=f(y,!0)(D),V=N==="vnode"&&Ie(I)&&F?I[0]:I;return F?g(F)(V,N):V},message:f,type:A,interpolate:E,normalize:v,values:Ne(me(),o,a)};return D}const Sl=()=>"",Xe=e=>ye(e);function Ll(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:l,fallbackLocale:o,messages:i}=e,[a,d]=Yr(...t),f=oe(d.missingWarn)?d.missingWarn:e.missingWarn,g=oe(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,v=oe(d.escapeParameter)?d.escapeParameter:e.escapeParameter,E=!!d.resolvedMessage,A=U(d.default)||oe(d.default)?oe(d.default)?l?a:()=>a:d.default:n?l?a:()=>a:null,C=n||A!=null&&(U(A)||ye(A)),D=Ts(e,d);v&&_f(d);let[y,w,S]=E?[a,D,i[D]||me()]:ui(e,a,D,o,g,f),m=y,N=a;if(!E&&!(U(m)||pt(m)||Xe(m))&&C&&(m=A,N=m),!E&&(!(U(m)||pt(m)||Xe(m))||!U(w)))return s?hr:a;let F=!1;const I=()=>{F=!0},V=Xe(m)?m:fi(e,a,w,m,N,I);if(F)return m;const G=vf(e,w,S,d),ie=mf(G),xe=bf(e,V,ie);let j=r?r(xe,a):xe;if(v&&U(j)&&(j=Xc(j)),__INTLIFY_PROD_DEVTOOLS__){const z={timestamp:Date.now(),key:U(a)?a:Xe(m)?m.key:"",locale:w||(Xe(m)?m.locale:""),format:U(m)?m:Xe(m)?m.source:"",message:j};z.meta=Ne({},e.__meta,rf()||{}),Du(z)}return j}function _f(e){Ie(e.list)?e.list=e.list.map(t=>U(t)?ol(t):t):ce(e.named)&&Object.keys(e.named).forEach(t=>{U(e.named[t])&&(e.named[t]=ol(e.named[t]))})}function ui(e,t,n,r,s,l){const{messages:o,onWarn:i,messageResolver:a,localeFallbacker:d}=e,f=d(e,r,n);let g=me(),v,E=null;const A="translate";for(let C=0;C<f.length&&(v=f[C],g=o[v]||me(),(E=a(g,t))===null&&(E=g[t]),!(U(E)||pt(E)||Xe(E)));C++)if(!af(v,f)){const D=Ss(e,t,v,l,A);D!==t&&(E=D)}return[E,v,g]}function fi(e,t,n,r,s,l){const{messageCompiler:o,warnHtmlMessage:i}=e;if(Xe(r)){const d=r;return d.locale=d.locale||n,d.key=d.key||t,d}if(o==null){const d=(()=>r);return d.locale=n,d.key=t,d}const a=o(r,yf(e,n,s,r,i,l));return a.locale=n,a.key=t,a.source=r,a}function bf(e,t,n){return t(n)}function Yr(...e){const[t,n,r]=e,s=me();if(!U(t)&&!Oe(t)&&!Xe(t)&&!pt(t))throw xt(vt.INVALID_ARGUMENT);const l=Oe(t)?String(t):(Xe(t),t);return Oe(n)?s.plural=n:U(n)?s.default=n:te(n)&&!pr(n)?s.named=n:Ie(n)&&(s.list=n),Oe(r)?s.plural=r:U(r)?s.default=r:te(r)&&Ne(s,r),[l,s]}function yf(e,t,n,r,s,l){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw l&&l(o),o},onCacheKey:o=>Gc(t,n,o)}}function vf(e,t,n,r){const{modifiers:s,pluralRules:l,messageResolver:o,fallbackLocale:i,fallbackWarn:a,missingWarn:d,fallbackContext:f}=e,v={locale:t,modifiers:s,pluralRules:l,messages:(E,A)=>{let C=o(n,E);if(C==null&&(f||A)){const[,,D]=ui(f||e,E,t,i,a,d);C=o(D,E)}if(U(C)||pt(C)){let D=!1;const w=fi(e,E,t,C,E,()=>{D=!0});return D?Sl:w}else return Xe(C)?C:Sl}};return e.processor&&(v.processor=e.processor),r.list&&(v.list=r.list),r.named&&(v.named=r.named),Oe(r.plural)&&(v.pluralIndex=r.plural),v}Su();const xf="11.2.8";function Ef(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Bt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Bt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Bt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Bt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ve={UNEXPECTED_RETURN_TYPE:Uu,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Je(e,...t){return gr(e,null,void 0)}const Jr=$t("__translateVNode"),qr=$t("__datetimeParts"),Xr=$t("__numberParts"),di=$t("__setPluralRules"),pi=$t("__injectWithOption"),Qr=$t("__dispose");function On(e){if(!ce(e)||pt(e))return e;for(const t in e)if(et(e,t))if(!t.includes("."))ce(e[t])&&On(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,l=!1;for(let o=0;o<r;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in s||(s[n[o]]=me()),!ce(s[n[o]])){l=!0;break}s=s[n[o]]}if(l||(pt(s)?ti.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!pt(s)){const o=s[n[r]];ce(o)&&On(o)}}return e}function Ls(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:l}=t,o=te(n)?n:Ie(r)?me():{[e]:me()};if(Ie(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:a,resource:d}=i;a?(o[a]=o[a]||me(),Bn(d,o[a])):Bn(d,o)}else U(i)&&Bn(JSON.parse(i),o)}),s==null&&l)for(const i in o)et(o,i)&&On(o[i]);return o}function gi(e){return e.type}function hi(e,t,n){let r=ce(t.messages)?t.messages:me();"__i18nGlobal"in n&&(r=Ls(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(l=>{e.mergeLocaleMessage(l,r[l])});{if(ce(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(ce(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function wl(e){return ke(An,null,e,0)}function Rn(){return _s()}const Il="__INTLIFY_META__",Cl=()=>[],Tf=()=>!1;let Ol=0;function Rl(e){return((t,n,r,s)=>e(n,r,Rn()||void 0,s))}const Sf=()=>{const e=Rn();let t=null;return e&&(t=gi(e)[Il])?{[Il]:t}:null};function ws(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,l=tr?ee:la;let o=oe(e.inheritLocale)?e.inheritLocale:!0;const i=l(t&&o?t.locale.value:U(e.locale)?e.locale:Cn),a=l(t&&o?t.fallbackLocale.value:U(e.fallbackLocale)||Ie(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),d=l(Ls(i.value,e)),f=l(te(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),g=l(te(e.numberFormats)?e.numberFormats:{[i.value]:{}});let v=t?t.missingWarn:oe(e.missingWarn)||ln(e.missingWarn)?e.missingWarn:!0,E=t?t.fallbackWarn:oe(e.fallbackWarn)||ln(e.fallbackWarn)?e.fallbackWarn:!0,A=t?t.fallbackRoot:oe(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,D=ye(e.missing)?e.missing:null,y=ye(e.missing)?Rl(e.missing):null,w=ye(e.postTranslation)?e.postTranslation:null,S=t?t.warnHtmlMessage:oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const N=t?t.modifiers:te(e.modifiers)?e.modifiers:{};let F=e.pluralRules||t&&t.pluralRules,I;I=(()=>{r&&_l(null);const _={version:xf,locale:i.value,fallbackLocale:a.value,messages:d.value,modifiers:N,pluralRules:F,missing:y===null?void 0:y,missingWarn:v,fallbackWarn:E,fallbackFormat:C,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:S,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};_.datetimeFormats=f.value,_.numberFormats=g.value,_.__datetimeFormatters=te(I)?I.__datetimeFormatters:void 0,_.__numberFormatters=te(I)?I.__numberFormatters:void 0;const T=lf(_);return r&&_l(T),T})(),fn(I,i.value,a.value);function G(){return[i.value,a.value,d.value,f.value,g.value]}const ie=Ee({get:()=>i.value,set:_=>{I.locale=_,i.value=_}}),xe=Ee({get:()=>a.value,set:_=>{I.fallbackLocale=_,a.value=_,fn(I,i.value,_)}}),j=Ee(()=>d.value),z=Ee(()=>f.value),ge=Ee(()=>g.value);function ue(){return ye(w)?w:null}function he(_){w=_,I.postTranslation=_}function se(){return D}function ne(_){_!==null&&(y=Rl(_)),D=_,I.missing=y}const Le=(_,T,H,K,Q,we)=>{G();let Y;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=t?sf():void 0),Y=_(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(H!=="translate exists"&&Oe(Y)&&Y===hr||H==="translate exists"&&!Y){const[B,Z]=T();return t&&A?K(t):Q(B)}else{if(we(Y))return Y;throw Je(Ve.UNEXPECTED_RETURN_TYPE)}};function We(..._){return Le(T=>Reflect.apply(Ll,null,[T,..._]),()=>Yr(..._),"translate",T=>Reflect.apply(T.t,T,[..._]),T=>T,T=>U(T))}function ae(..._){const[T,H,K]=_;if(K&&!ce(K))throw Je(Ve.INVALID_ARGUMENT);return We(T,H,Ne({resolvedMessage:!0},K||{}))}function Te(..._){return Le(T=>Reflect.apply(yl,null,[T,..._]),()=>Br(..._),"datetime format",T=>Reflect.apply(T.d,T,[..._]),()=>hl,T=>U(T)||Ie(T))}function rt(..._){return Le(T=>Reflect.apply(xl,null,[T,..._]),()=>Gr(..._),"number format",T=>Reflect.apply(T.n,T,[..._]),()=>hl,T=>U(T)||Ie(T))}function Ze(_){return _.map(T=>U(T)||Oe(T)||oe(T)?wl(String(T)):T)}const ze={normalize:Ze,interpolate:_=>_,type:"vnode"};function st(..._){return Le(T=>{let H;const K=T;try{K.processor=ze,H=Reflect.apply(Ll,null,[K,..._])}finally{K.processor=null}return H},()=>Yr(..._),"translate",T=>T[Jr](..._),T=>[wl(T)],T=>Ie(T))}function He(..._){return Le(T=>Reflect.apply(xl,null,[T,..._]),()=>Gr(..._),"number format",T=>T[Xr](..._),Cl,T=>U(T)||Ie(T))}function qe(..._){return Le(T=>Reflect.apply(yl,null,[T,..._]),()=>Br(..._),"datetime format",T=>T[qr](..._),Cl,T=>U(T)||Ie(T))}function Ke(_){F=_,I.pluralRules=F}function Ht(_,T){return Le(()=>{if(!_)return!1;const H=U(T)?T:i.value,K=L(H),Q=I.messageResolver(K,_);return pt(Q)||Xe(Q)||U(Q)},()=>[_],"translate exists",H=>Reflect.apply(H.te,H,[_,T]),Tf,H=>oe(H))}function p(_){let T=null;const H=ni(I,a.value,i.value);for(let K=0;K<H.length;K++){const Q=d.value[H[K]]||{},we=I.messageResolver(Q,_);if(we!=null){T=we;break}}return T}function h(_){const T=p(_);return T??(t?t.tm(_)||{}:{})}function L(_){return d.value[_]||{}}function k(_,T){if(s){const H={[_]:T};for(const K in H)et(H,K)&&On(H[K]);T=H[_]}d.value[_]=T,I.messages=d.value}function P(_,T){d.value[_]=d.value[_]||{};const H={[_]:T};if(s)for(const K in H)et(H,K)&&On(H[K]);T=H[_],Bn(T,d.value[_]),I.messages=d.value}function R(_){return f.value[_]||{}}function c(_,T){f.value[_]=T,I.datetimeFormats=f.value,vl(I,_,T)}function u(_,T){f.value[_]=Ne(f.value[_]||{},T),I.datetimeFormats=f.value,vl(I,_,T)}function b(_){return g.value[_]||{}}function x(_,T){g.value[_]=T,I.numberFormats=g.value,El(I,_,T)}function $(_,T){g.value[_]=Ne(g.value[_]||{},T),I.numberFormats=g.value,El(I,_,T)}Ol++,t&&tr&&(Et(t.locale,_=>{o&&(i.value=_,I.locale=_,fn(I,i.value,a.value))}),Et(t.fallbackLocale,_=>{o&&(a.value=_,I.fallbackLocale=_,fn(I,i.value,a.value))}));const O={id:Ol,locale:ie,fallbackLocale:xe,get inheritLocale(){return o},set inheritLocale(_){o=_,_&&t&&(i.value=t.locale.value,a.value=t.fallbackLocale.value,fn(I,i.value,a.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:j,get modifiers(){return N},get pluralRules(){return F||{}},get isGlobal(){return r},get missingWarn(){return v},set missingWarn(_){v=_,I.missingWarn=v},get fallbackWarn(){return E},set fallbackWarn(_){E=_,I.fallbackWarn=E},get fallbackRoot(){return A},set fallbackRoot(_){A=_},get fallbackFormat(){return C},set fallbackFormat(_){C=_,I.fallbackFormat=C},get warnHtmlMessage(){return S},set warnHtmlMessage(_){S=_,I.warnHtmlMessage=_},get escapeParameter(){return m},set escapeParameter(_){m=_,I.escapeParameter=_},t:We,getLocaleMessage:L,setLocaleMessage:k,mergeLocaleMessage:P,getPostTranslationHandler:ue,setPostTranslationHandler:he,getMissingHandler:se,setMissingHandler:ne,[di]:Ke};return O.datetimeFormats=z,O.numberFormats=ge,O.rt=ae,O.te=Ht,O.tm=h,O.d=Te,O.n=rt,O.getDateTimeFormat=R,O.setDateTimeFormat=c,O.mergeDateTimeFormat=u,O.getNumberFormat=b,O.setNumberFormat=x,O.mergeNumberFormat=$,O[pi]=n,O[Jr]=st,O[qr]=qe,O[Xr]=He,O}function Lf(e){const t=U(e.locale)?e.locale:Cn,n=U(e.fallbackLocale)||Ie(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ye(e.missing)?e.missing:void 0,s=oe(e.silentTranslationWarn)||ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=oe(e.silentFallbackWarn)||ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=oe(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,a=te(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,f=ye(e.postTranslation)?e.postTranslation:void 0,g=U(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,v=!!e.escapeParameterHtml,E=oe(e.sync)?e.sync:!0;let A=e.messages;if(te(e.sharedMessages)){const N=e.sharedMessages;A=Object.keys(N).reduce((I,V)=>{const G=I[V]||(I[V]={});return Ne(G,N[V]),I},A||{})}const{__i18n:C,__root:D,__injectWithOption:y}=e,w=e.datetimeFormats,S=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:A,flatJson:m,datetimeFormats:w,numberFormats:S,missing:r,missingWarn:s,fallbackWarn:l,fallbackRoot:o,fallbackFormat:i,modifiers:a,pluralRules:d,postTranslation:f,warnHtmlMessage:g,escapeParameter:v,messageResolver:e.messageResolver,inheritLocale:E,__i18n:C,__root:D,__injectWithOption:y}}function Zr(e={}){const t=ws(Lf(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return oe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=oe(s)?!s:s},get silentFallbackWarn(){return oe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=oe(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},te(s,l){return t.te(s,l)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,l){t.setLocaleMessage(s,l)},mergeLocaleMessage(s,l){t.mergeLocaleMessage(s,l)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,l){t.setDateTimeFormat(s,l)},mergeDateTimeFormat(s,l){t.mergeDateTimeFormat(s,l)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,l){t.setNumberFormat(s,l)},mergeNumberFormat(s,l){t.mergeNumberFormat(s,l)}};return r.__extender=n,r}function wf(e,t,n){return{beforeCreate(){const r=Rn();if(!r)throw Je(Ve.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const l=s.i18n;if(s.__i18n&&(l.__i18n=s.__i18n),l.__root=t,this===this.$root)this.$i18n=Nl(e,l);else{l.__injectWithOption=!0,l.__extender=n.__vueI18nExtend,this.$i18n=Zr(l);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Nl(e,s);else{this.$i18n=Zr({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&hi(t,s,s),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,o)=>this.$i18n.te(l,o),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Rn();if(!r)throw Je(Ve.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Nl(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[di](t.pluralizationRules||e.pluralizationRules);const n=Ls(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Is={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function If({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Pe?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},me())}function mi(){return Pe}const Cf=wt({name:"i18n-t",props:Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Oe(e)||!isNaN(e)}},Is),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Ct({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(n).filter(g=>g[0]!=="_"),o=me();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=U(e.plural)?+e.plural:e.plural);const i=If(t,l),a=s[Jr](e.keypath,i,o),d=Ne(me(),r),f=U(e.tag)||ce(e.tag)?e.tag:mi();return Ko(f,d,a)}}}),Pl=Cf;function Of(e){return Ie(e)&&!U(e[0])}function _i(e,t,n,r){const{slots:s,attrs:l}=t;return()=>{const o={part:!0};let i=me();e.locale&&(o.locale=e.locale),U(e.format)?o.key=e.format:ce(e.format)&&(U(e.format.key)&&(o.key=e.format.key),i=Object.keys(e.format).reduce((v,E)=>n.includes(E)?Ne(me(),v,{[E]:e.format[E]}):v,me()));const a=r(e.value,o,i);let d=[o.key];Ie(a)?d=a.map((v,E)=>{const A=s[v.type],C=A?A({[v.type]:v.value,index:E,parts:a}):[v.value];return Of(C)&&(C[0].key=`${v.type}-${E}`),C}):U(a)&&(d=[a]);const f=Ne(me(),l),g=U(e.tag)||ce(e.tag)?e.tag:mi();return Ko(g,f,d)}}const Rf=wt({name:"i18n-n",props:Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},Is),setup(e,t){const n=e.i18n||Ct({useScope:e.scope,__useComponent:!0});return _i(e,t,ci,(...r)=>n[Xr](...r))}}),kl=Rf;function Nf(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Pf(e){const t=o=>{const{instance:i,value:a}=o;if(!i||!i.$)throw Je(Ve.UNEXPECTED_ERROR);const d=Nf(e,i.$),f=Al(a);return[Reflect.apply(d.t,d,[...Ml(f)]),d]};return{created:(o,i)=>{const[a,d]=t(i);tr&&e.global===d&&(o.__i18nWatcher=Et(d.locale,()=>{i.instance&&i.instance.$forceUpdate()})),o.__composer=d,o.textContent=a},unmounted:o=>{tr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:i})=>{if(o.__composer){const a=o.__composer,d=Al(i);o.textContent=Reflect.apply(a.t,a,[...Ml(d)])}},getSSRProps:o=>{const[i]=t(o);return{textContent:i}}}}function Al(e){if(U(e))return{path:e};if(te(e)){if(!("path"in e))throw Je(Ve.REQUIRED_VALUE,"path");return e}else throw Je(Ve.INVALID_VALUE)}function Ml(e){const{path:t,locale:n,args:r,choice:s,plural:l}=e,o={},i=r||{};return U(n)&&(o.locale=n),Oe(s)&&(o.plural=s),Oe(l)&&(o.plural=l),[t,i,o]}function kf(e,t,...n){const r=te(n[0])?n[0]:{};(!oe(r.globalInstall)||r.globalInstall)&&([Pl.name,"I18nT"].forEach(l=>e.component(l,Pl)),[kl.name,"I18nN"].forEach(l=>e.component(l,kl)),[Dl.name,"I18nD"].forEach(l=>e.component(l,Dl))),e.directive("t",Pf(t))}const Af=$t("global-vue-i18n");function Mf(e={}){const t=__VUE_I18N_LEGACY_API__&&oe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=oe(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,l]=Ff(e,t),o=$t("");function i(g){return r.get(g)||null}function a(g,v){r.set(g,v)}function d(g){r.delete(g)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(g,...v){if(g.__VUE_I18N_SYMBOL__=o,g.provide(g.__VUE_I18N_SYMBOL__,f),te(v[0])){const C=v[0];f.__composerExtend=C.__composerExtend,f.__vueI18nExtend=C.__vueI18nExtend}let E=null;!t&&n&&(E=Kf(g,f.global)),__VUE_I18N_FULL_INSTALL__&&kf(g,f,...v),__VUE_I18N_LEGACY_API__&&t&&g.mixin(wf(l,l.__composer,f));const A=g.unmount;g.unmount=()=>{E&&E(),f.dispose(),A()}},get global(){return l},dispose(){s.stop()},__instances:r,__getInstance:i,__setInstance:a,__deleteInstance:d};return f}function Ct(e={}){const t=Rn();if(t==null)throw Je(Ve.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Je(Ve.NOT_INSTALLED);const n=Df(t),r=Uf(n),s=gi(t),l=$f(e,s);if(l==="global")return hi(r,e,s),r;if(l==="parent"){let a=Wf(n,t,e.__useComponent);return a==null&&(a=r),a}const o=n;let i=o.__getInstance(t);if(i==null){const a=Ne({},e);"__i18n"in s&&(a.__i18n=s.__i18n),r&&(a.__root=r),i=ws(a),o.__composerExtend&&(i[Qr]=o.__composerExtend(i)),jf(o,t,i),o.__setInstance(t,i)}return i}function Ff(e,t){const n=Di(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Zr(e)):n.run(()=>ws(e));if(r==null)throw Je(Ve.UNEXPECTED_ERROR);return[n,r]}function Df(e){const t=mn(e.isCE?Af:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Je(e.isCE?Ve.NOT_INSTALLED_WITH_PROVIDE:Ve.UNEXPECTED_ERROR);return t}function $f(e,t){return pr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Uf(e){return e.mode==="composition"?e.global:e.global.__composer}function Wf(e,t,n=!1){let r=null;const s=t.root;let l=Hf(t,n);for(;l!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const i=o.__getInstance(l);i!=null&&(r=i.__composer,n&&r&&!r[pi]&&(r=null))}if(r!=null||s===l)break;l=l.parent}return r}function Hf(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function jf(e,t,n){kn(()=>{},t),ps(()=>{const r=n;e.__deleteInstance(t);const s=r[Qr];s&&(s(),delete r[Qr])},t)}const Vf=["locale","fallbackLocale","availableLocales"],Fl=["t","rt","d","n","tm","te"];function Kf(e,t){const n=Object.create(null);return Vf.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l)throw Je(Ve.UNEXPECTED_ERROR);const o=Ce(l.value)?{get(){return l.value.value},set(i){l.value.value=i}}:{get(){return l.get&&l.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,Fl.forEach(s=>{const l=Object.getOwnPropertyDescriptor(t,s);if(!l||!l.value)throw Je(Ve.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,l)}),()=>{delete e.config.globalProperties.$i18n,Fl.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const Bf=wt({name:"i18n-d",props:Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Is),setup(e,t){const n=e.i18n||Ct({useScope:e.scope,__useComponent:!0});return _i(e,t,ai,(...r)=>n[qr](...r))}}),Dl=Bf;Ef();zu(Au);ef(Xu);tf(ni);if(__INTLIFY_PROD_DEVTOOLS__){const e=Bt();e.__INTLIFY__=!0,Mu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Gf=["value","placeholder"],Yf=["value"],Jf=wt({__name:"PlaygroundFilters",props:{search:{},basePath:{},showBase:{type:Boolean,default:!0},compact:{type:Boolean,default:!1}},emits:["update:search"],setup(e,{emit:t}){const n=e,r=t;function s(o){const i=o.target;r("update:search",i?.value??"")}const{t:l}=Ct();return(o,i)=>(re(),le("section",{class:Se(["grid",n.compact?"gap-2":"gap-3"])},[M("label",{class:Se(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[kt(J(W(l)("filters.search"))+" ",1),M("input",{value:e.search,type:"search",class:Se(["rounded-lg border outline-none transition border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"]),placeholder:W(l)("filters.searchPlaceholder"),"data-testid":"playground-search",onInput:s},null,42,Gf)],2),n.showBase?(re(),le("label",{key:0,class:Se(["flex flex-col uppercase text-pg-text-muted",n.compact?"gap-1 text-[0.55rem] tracking-[0.25em]":"gap-1.5 text-[0.65rem] tracking-[0.2em]"])},[kt(J(W(l)("filters.base"))+" ",1),M("input",{value:e.basePath,readonly:"",class:Se(["rounded-lg border border-pg-border bg-pg-surface-strong text-pg-text",n.compact?"px-2.5 py-1.5 text-[0.8rem]":"px-3 py-2 text-sm"])},null,10,Yf)],2)):yt("",!0)],2))}}),qf={class:"flex flex-wrap items-center gap-2"},Xf=["onClick"],Qf=wt({__name:"PlaygroundTabs",props:{groups:{},activeGroup:{}},emits:["select"],setup(e,{emit:t}){const n=t,{t:r}=Ct();return(s,l)=>(re(),le("section",qf,[M("button",{class:Se(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup==="all"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:l[0]||(l[0]=o=>n("select","all"))},J(W(r)("tabs.overview")),3),(re(!0),le(Pe,null,fr(e.groups,o=>(re(),le("button",{key:o.key,class:Se(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.activeGroup===o.key?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:i=>n("select",o.key)},J(o.label),11,Xf))),128))]))}}),Zf={class:"flex min-h-0 flex-col gap-4"},zf={key:0,class:"flex h-full flex-col items-center justify-center gap-3 rounded-3xl border p-6 text-center shadow-xl border-pg-border bg-pg-surface-card text-pg-text-muted"},ed={class:"text-xl font-display text-pg-text-strong"},td={class:"text-sm"},nd={key:1,class:"flex min-h-0 h-full flex-col gap-4"},rd={class:"rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},sd={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},ld={class:"truncate text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},od={class:"flex flex-wrap items-center gap-3 px-4 py-3"},id=["value"],ad=["disabled","aria-busy"],cd={key:0,class:"i-[carbon--circle-dash] h-3.5 w-3.5 animate-spin","aria-hidden":"true"},ud={class:"flex flex-wrap items-center gap-2 border-t px-4 py-3 text-[0.6rem] uppercase tracking-[0.2em] border-pg-border text-pg-text-muted"},fd={class:"rounded-full px-2 py-0.5 text-[0.55rem] bg-pg-chip text-pg-chip-text"},dd={key:0,class:"flex flex-wrap gap-2 border-t px-4 py-3 text-xs border-pg-border text-pg-text-soft"},pd={class:"grid gap-3 border-t p-4 border-pg-border lg:grid-cols-2"},gd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},hd=["value","placeholder"],md={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},_d=["value","placeholder"],bd={class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted lg:col-span-2"},yd=["value","placeholder"],vd={class:"flex min-h-[220px] flex-1 flex-col rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},xd={class:"flex items-center justify-between border-b px-4 py-3 text-[0.65rem] uppercase tracking-[0.3em] border-pg-border text-pg-text-muted"},Ed={class:"flex items-center gap-3 text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},Td={class:"flex-1 min-h-0 overflow-auto rounded-b-2xl p-4 text-xs bg-pg-surface-strong text-pg-text","data-testid":"playground-response"},Sd='{ "q": "alpha", "page": 1 }',Ld='{ "x-mokup": "playground" }',wd='{ "name": "Ada" }',Id=wt({__name:"RouteDetail",props:{selected:{},queryText:{},headersText:{},bodyText:{},responseText:{},responseStatus:{},responseTime:{},isSwRegistering:{type:Boolean}},emits:["update:queryText","update:headersText","update:bodyText","run"],setup(e,{emit:t}){const n=t,{t:r}=Ct(),s=l=>`method-${l.toLowerCase()}`;return(l,o)=>(re(),le("section",Zf,[e.selected?(re(),le("div",nd,[M("section",rd,[M("div",sd,[M("span",null,J(W(r)("detail.requestLabel")),1),M("span",ld,J(e.selected.file),1)]),M("div",od,[M("span",{class:Se(["rounded-full px-3 py-1 text-[0.6rem] uppercase tracking-[0.2em]",s(e.selected.method)])},J(e.selected.method),3),M("input",{value:e.selected.url,readonly:"",class:"min-w-[220px] flex-1 rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text"},null,8,id),M("button",{class:"flex items-center gap-2 rounded-full px-4 py-2 text-[0.65rem] uppercase tracking-[0.3em] shadow-sm transition hover:-translate-y-0.5 disabled:cursor-not-allowed disabled:opacity-70 disabled:hover:translate-y-0 bg-pg-accent text-pg-on-accent","data-testid":"playground-run",disabled:e.isSwRegistering,"aria-busy":e.isSwRegistering,onClick:o[0]||(o[0]=i=>n("run"))},[e.isSwRegistering?(re(),le("span",cd)):yt("",!0),kt(" "+J(W(r)("detail.run")),1)],8,ad)]),M("div",ud,[M("span",null,J(W(r)("detail.middlewares")),1),M("span",fd,J(e.selected.middlewareCount??0),1)]),e.selected.middlewares&&e.selected.middlewares.length>0?(re(),le("div",dd,[(re(!0),le(Pe,null,fr(e.selected.middlewares,i=>(re(),le("span",{key:i,class:"rounded-full border px-3 py-1 text-[0.6rem] border-pg-border bg-pg-surface-strong"},J(i),1))),128))])):yt("",!0),M("div",pd,[M("label",gd,[kt(J(W(r)("detail.query"))+" ",1),M("textarea",{value:e.queryText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:W(r)("detail.queryPlaceholder",{json:Sd}),onInput:o[1]||(o[1]=i=>n("update:queryText",i.target?.value??""))},null,40,hd)]),M("label",md,[kt(J(W(r)("detail.headers"))+" ",1),M("textarea",{value:e.headersText,rows:"4",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:W(r)("detail.headersPlaceholder",{json:Ld}),onInput:o[2]||(o[2]=i=>n("update:headersText",i.target?.value??""))},null,40,_d)]),M("label",bd,[kt(J(W(r)("detail.body"))+" ",1),M("textarea",{value:e.bodyText,rows:"6",class:"rounded-lg border px-3 py-2 text-sm outline-none border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",placeholder:W(r)("detail.bodyPlaceholder",{json:wd}),onInput:o[3]||(o[3]=i=>n("update:bodyText",i.target?.value??""))},null,40,yd)])])]),M("section",vd,[M("div",xd,[M("span",null,J(W(r)("detail.responseLabel")),1),M("span",Ed,[M("span",null,J(e.responseStatus),1),M("span",null,J(e.responseTime),1)])]),M("pre",Td,J(e.responseText),1)])])):(re(),le("div",zf,[M("p",ed,J(W(r)("detail.selectTitle")),1),M("p",td,J(W(r)("detail.selectHint")),1)]))]))}});function Cd(e){const t=e.endsWith("/")&&e!=="/"?e.slice(0,-1):e;return t==="/"?"":t.endsWith("/index.html")?t.slice(0,-11):t}function nr(e){return e.replace(/\\/g,"/")}const Od={class:"flex flex-col gap-1","data-testid":"playground-tree"},Rd=["title","onClick"],Nd={key:0,class:"ml-auto rounded-full px-2 py-0.5 text-[0.55rem] bg-pg-chip text-pg-chip-text"},Pd=["aria-label","onClick"],kd=wt({__name:"RouteTree",props:{rows:{},workspaceRoot:{},getRouteCount:{type:Function}},emits:["toggle","select"],setup(e,{emit:t}){const n=e,r=t,s=g=>`method-${g.toLowerCase()}`;function l(){return(n.workspaceRoot??"").trim().length>0}function o(g){return g.startsWith("/")||/^[a-z]:\//i.test(g)}function i(g){if(!l())return null;const v=nr(g.file||"").trim();if(!v)return null;if(o(v))return v;const E=nr((n.workspaceRoot??"").trim());if(!E)return null;const A=E.replace(/\/$/,""),C=v.replace(/^\/+/,"");return`${A}/${C}`}function a(g){const v=i(g);if(!v)return;const E=`vscode://file/${encodeURI(v)}`;window.location.href=E}function d(g){if(g.kind==="folder"){r("toggle",g.id);return}r("select",g)}function f(g){return n.getRouteCount?n.getRouteCount(g):0}return(g,v)=>(re(),le("div",Od,[(re(!0),le(Pe,null,fr(e.rows,E=>(re(),le("div",{key:E.id,class:Se(["group flex items-center gap-2 rounded-lg border border-transparent px-2 py-1 text-left transition text-pg-text hover:bg-pg-hover",E.selected?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm":""]),"data-testid":"playground-tree-row"},[M("button",{class:"flex min-w-0 flex-1 items-center gap-2 text-left",type:"button",title:E.title,onClick:A=>d(E)},[M("div",{class:"flex items-center gap-2",style:Nn({paddingLeft:`${E.depth*12}px`})},[M("span",{class:Se(["flex h-3.5 w-3.5 items-center justify-center",E.selected?"text-pg-on-accent-soft":"text-pg-text-muted"])},[E.kind==="folder"?(re(),le("span",{key:0,class:Se([E.expanded?"i-[carbon--chevron-down]":"i-[carbon--chevron-right]","h-3.5 w-3.5"]),"aria-hidden":"true"},null,2)):yt("",!0)],2),E.kind==="route"&&E.route?(re(),le("span",{key:0,class:Se(["rounded-full px-1.5 py-0.5 text-[0.5rem] uppercase tracking-[0.2em]",s(E.route.method)])},J(E.route.method),3)):yt("",!0),M("span",{class:Se(["text-[0.78rem]",E.kind==="folder"?"font-semibold":"font-medium"])},J(E.label),3)],4),E.kind==="route"&&E.route&&f(E.route)>0?(re(),le("span",Nd,J(f(E.route)),1)):yt("",!0)],8,Rd),E.kind==="route"&&E.route&&i(E.route)?(re(),le("button",{key:0,class:Se(["flex h-6 w-6 items-center justify-center rounded-md transition text-pg-text-muted hover:bg-pg-hover-strong hover:text-pg-text-soft",E.selected?"text-pg-on-accent-soft":""]),type:"button","aria-label":`Open ${E.route.file} in VS Code`,onClick:A=>a(E.route)},[...v[0]||(v[0]=[M("span",{class:"i-[carbon--launch] h-3.5 w-3.5","aria-hidden":"true"},null,-1)])],10,Pd)):yt("",!0)],2))),128))]))}}),Ad={class:"flex items-center gap-2"},Md=wt({__name:"TreeModeToggle",props:{treeMode:{}},emits:["update:treeMode"],setup(e,{emit:t}){const n=t;function r(l){n("update:treeMode",l)}const{t:s}=Ct();return(l,o)=>(re(),le("div",Ad,[M("button",{class:Se(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="file"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[0]||(o[0]=i=>r("file"))},[o[2]||(o[2]=M("span",{class:"i-[carbon--document] h-4 w-4","aria-hidden":"true"},null,-1)),M("span",null,J(W(s)("tree.file")),1)],2),M("button",{class:Se(["flex items-center gap-2 rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",e.treeMode==="route"?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:o[1]||(o[1]=i=>r("route"))},[o[3]||(o[3]=M("span",{class:"i-[carbon--link] h-4 w-4","aria-hidden":"true"},null,-1)),M("span",null,J(W(s)("tree.route")),1)],2)]))}});function Rr(e){const t=e.trim();if(!t)return{value:void 0};try{return{value:JSON.parse(t)}}catch(n){return{error:n instanceof Error?n.message:"Invalid JSON"}}}function Fd(e,t){for(const[n,r]of Object.entries(t))typeof r>"u"||(Array.isArray(r)?r.forEach(s=>e.searchParams.append(n,String(s))):e.searchParams.set(n,String(r)))}let jn=null;function bi(e){try{return new URL(e).pathname.includes("mokup-sw")}catch{return e.includes("mokup-sw")}}function $l(e){return[e.active?.scriptURL,e.waiting?.scriptURL,e.installing?.scriptURL].filter(n=>typeof n=="string").some(n=>bi(n))}function Dd(e){return!!e&&bi(e.scriptURL)}async function $d(){if(typeof window>"u"||!("serviceWorker"in navigator))return null;try{const e=await navigator.serviceWorker.getRegistration();if(e&&$l(e))return e}catch{}try{return(await navigator.serviceWorker.getRegistrations()).find($l)??null}catch{return null}}function Ud(e,t={}){const{t:n}=Ct(),r=ee(""),s=ee(""),l=ee(""),o=ee(n("response.empty")),i=ee(n("response.idle")),a=ee(""),d=ee(!1),f=ee(!1),g=Ee(()=>d.value&&!f.value),v=ee({}),E=Ee(()=>Object.values(v.value).reduce((j,z)=>j+z,0)),A=ee(!1),C=ee(null),D=ee("");function y(j){return`${j.method} ${j.url}`}function w(j){return v.value[y(j)]??0}function S(j){const z=j.trim();if(!z)return"";const ge=z.startsWith("/")?z:`/${z}`,ue=ge.endsWith("/")?ge.slice(0,-1):ge,he=new URL(`${ue}/ws`,window.location.origin);return he.protocol=he.protocol==="https:"?"wss:":"ws:",he.toString()}function m(j){v.value={...j.perRoute}}function N(j){v.value[j.routeKey]=(v.value[j.routeKey]??0)+1}function F(j){if(typeof j.data=="string")try{const z=JSON.parse(j.data);if(z.type==="snapshot"&&z.perRoute){m(z);return}z.type==="increment"&&typeof z.routeKey=="string"&&N(z)}catch{}}function I(){C.value&&(C.value.close(),C.value=null),D.value="",A.value=!1}function V(j){if(typeof window>"u")return;const z=S(j);if(!(!z||D.value===z)){I(),D.value=z;try{const ge=new WebSocket(z);C.value=ge,ge.addEventListener("open",()=>{A.value=!0}),ge.addEventListener("message",F),ge.addEventListener("close",()=>{C.value===ge&&I()}),ge.addEventListener("error",()=>{C.value===ge&&I()})}catch{I()}}}async function G(){if(f.value)return!0;if(typeof window>"u"||!("serviceWorker"in navigator))return!1;const j=navigator.serviceWorker.controller;if(Dd(j))return d.value=!0,f.value=!0,!0;if(!d.value){if(!await $d())return!1;d.value=!0}return jn||(jn=navigator.serviceWorker.ready.then(()=>{f.value=!0}).catch(()=>{jn=null})),await jn,f.value}typeof window<"u"&&"serviceWorker"in navigator&&G().catch(()=>{}),t.basePath&&Et(t.basePath,j=>{j&&V(j)},{immediate:!0}),_s()&&ur(()=>{I()});function ie(){o.value=n("response.empty"),i.value=n("response.idle"),a.value=""}async function xe(){if(!e.value)return;const j=y(e.value),z=Rr(r.value);if(z.error){o.value=n("errors.queryJson",{message:z.error});return}const ge=Rr(s.value);if(ge.error){o.value=n("errors.headersJson",{message:ge.error});return}const ue=Rr(l.value);if(ue.error){o.value=n("errors.bodyJson",{message:ue.error});return}const he=new URL(e.value.url,window.location.origin);z.value&&Fd(he,z.value);const se={};if(ge.value)for(const[ae,Te]of Object.entries(ge.value))typeof Te>"u"||(se[ae]=Array.isArray(Te)?Te.join(","):String(Te));const ne={method:e.value.method,headers:se},Le=e.value.method.toUpperCase();ue.value&&Le!=="GET"&&Le!=="HEAD"&&(ne.body=JSON.stringify(ue.value),se["Content-Type"]||(se["Content-Type"]="application/json")),i.value=n("response.loading"),a.value="",o.value=n("response.waiting"),await G();const We=performance.now();try{const ae=await fetch(he.toString(),ne);A.value||(v.value[j]=(v.value[j]??0)+1);const Te=Math.round(performance.now()-We);a.value=`${Te}ms`,i.value=`${ae.status} ${ae.statusText}`;const rt=ae.headers.get("content-type")??"",Ze=await ae.text();if(rt.includes("application/json"))try{o.value=JSON.stringify(JSON.parse(Ze),null,2)}catch{o.value=Ze}else o.value=Ze||n("response.emptyPayload")}catch(ae){i.value=n("response.error"),o.value=ae instanceof Error?ae.message:String(ae)}}return Et(e,()=>{ie()}),{queryText:r,headersText:s,bodyText:l,responseText:o,responseStatus:i,responseTime:a,resetResponse:ie,runRequest:xe,isSwRegistering:g,routeCounts:v,totalCount:E,getRouteCount:w}}function Wd(){const e=ee([]),t=ee([]),n=ee([]),r=ee(null),s=ee([]),l=ee("all"),o=ee(!1),i=ee(""),a=ee(""),d=ee(""),f=ee(""),g=Ee(()=>a.value.trim().toLowerCase()),v=Ee(()=>n.value.length),E=Ee(()=>t.value.length),A=Ee(()=>`${d.value||""}/routes`),C=I=>`${I.method} ${I.url}`;function D(){return l.value==="all"?e.value:e.value.filter(I=>I.groupKey===l.value)}function y(){const I=g.value,V=D();n.value=I?V.filter(G=>`${G.method} ${G.url} ${G.file}`.toLowerCase().includes(I)):[...V]}const w=Ee(()=>{const I=g.value;return I?t.value.filter(V=>`${V.method??""} ${V.url??""} ${V.file} ${V.reason}`.toLowerCase().includes(I)):[...t.value]});function S(I){l.value=I,y(),!(r.value&&n.value.some(G=>C(G)===C(r.value)))&&(r.value=n.value[0]??null)}function m(I){r.value=I}function N(I){d.value=Cd(I)}async function F(){o.value=!0,i.value="";const I=r.value?C(r.value):"",V=l.value;try{const G=await fetch(A.value);if(!G.ok)throw new Error(`Failed to load routes: ${G.status}`);const ie=await G.json();if(e.value=ie.routes??[],t.value=ie.disabled??[],s.value=ie.groups??[],f.value=ie.root??"",V!=="all"&&(s.value.some(j=>j.key===V)||(l.value="all")),y(),I){const xe=n.value.find(j=>C(j)===I);r.value=xe??n.value[0]??null}else r.value=n.value[0]??null}catch(G){i.value=G instanceof Error?G.message:String(G)}finally{o.value=!1}}return Et(a,()=>{y()}),{routes:e,disabledRoutes:t,disabledFiltered:w,filtered:n,selected:r,groups:s,activeGroup:l,loading:o,error:i,search:a,basePath:d,workspaceRoot:f,searchTerm:g,routeCount:v,disabledCount:E,routeKey:C,loadRoutes:F,setActiveGroup:S,selectRoute:m,setBasePath:N}}const yi="mokup.playground.theme";function vi(){try{const e=localStorage.getItem(yi);if(e==="system"||e==="light"||e==="dark")return e}catch{}return null}function Hd(e){try{localStorage.setItem(yi,e)}catch{}}function jd(e){return e==="system"?"light":e==="light"?"dark":"system"}function xi(e,t){return e==="dark"?"dark":e==="light"?"light":t?"dark":"light"}function Gn(e,t){const n=xi(e,t);return document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,n}function Vd(){const e=vi()??"system",t=window.matchMedia("(prefers-color-scheme: dark)").matches;return Gn(e,t),e}function Kd(){const e=ee("system"),t=ee(!1);let n=null;const r=Ee(()=>xi(e.value,t.value)),s=()=>{n&&(t.value=n.matches,e.value==="system"&&Gn(e.value,t.value))};function l(i){e.value=i,Hd(i),Gn(i,t.value)}function o(){l(jd(e.value))}return kn(()=>{n=window.matchMedia("(prefers-color-scheme: dark)"),t.value=n.matches,e.value=vi()??"system",Gn(e.value,t.value),n.addEventListener("change",s)}),ur(()=>{n?.removeEventListener("change",s),n=null}),{themeMode:e,effectiveTheme:r,setThemeMode:l,cycleThemeMode:o}}function Bd(e,t){if(t==="file")return nr(e.file).split("/").filter(Boolean);const n=nr(e.url),r=n.startsWith("/")?n.slice(1):n;return r?r.split("/").filter(Boolean):[]}function Ei(e,t){const n={id:`${t}:root`,label:"",kind:"folder",path:"",children:[]};for(const r of e){const s=Bd(r,t);if(s.length===0){const i=`${t}:route:${r.method} ${r.url}|${r.file}`;n.children.push({id:i,label:"/",kind:"route",path:"/",route:r,children:[]});continue}let l=n;const o=s.length;for(let i=0;i<o;i+=1){const a=s[i];if(i===o-1){const v=`${t}:route:${r.method} ${r.url}|${r.file}`;l.children.push({id:v,label:a,kind:"route",path:s.join("/"),route:r,children:[]});continue}l.map||(l.map=new Map);const f=s.slice(0,i+1).join("/");let g=l.map.get(f);g||(g={id:`${t}:folder:${f}`,label:a,kind:"folder",path:f,children:[]},l.map.set(f,g),l.children.push(g)),l=g}}return n}function Cs(e){e.children.sort((t,n)=>{if(t.kind!==n.kind)return t.kind==="folder"?-1:1;const r=t.label.localeCompare(n.label);return r!==0?r:t.route&&n.route?t.route.method.localeCompare(n.route.method):0});for(const t of e.children)t.kind==="folder"&&Cs(t)}function Ti(e,t){for(const n of e.children)n.kind==="folder"&&(t.push(n.id),Ti(n,t))}function Gd(e,t){const n=Ei(e,t);Cs(n);const r=[];return Ti(n,r),r}function Si(e,t,n,r,s,l,o){for(const i of e.children){const a=i.kind==="folder"?i.path:n==="file"?i.route?.file:i.route?.url,d=i.kind==="folder"?s(i.id):void 0;r.push({id:i.id,label:i.label,kind:i.kind,depth:t,title:a,expanded:d,selected:i.route?o(i.route)===l:!1,route:i.route}),i.kind==="folder"&&d&&Si(i,t+1,n,r,s,l,o)}}function Yd(e){const t=[];return Si(e.root,0,e.mode,t,e.isExpanded,e.selectedKey,e.getRouteKey),t}function Jd(e){const t=ee("file"),n=ee(new Set),r=ee(new Set),s=ee(!1),l=ee(!1);function o(){return"mokup.playground.treeMode"}function i(S){return`mokup.playground.treeExpanded.${S}`}function a(S){try{const m=localStorage.getItem(i(S));if(!m)return{set:new Set,hasValue:!1};const N=JSON.parse(m);return Array.isArray(N)?{set:new Set(N.filter(F=>typeof F=="string")),hasValue:!0}:{set:new Set,hasValue:!1}}catch{return{set:new Set,hasValue:!1}}}function d(S,m){try{localStorage.setItem(i(S),JSON.stringify([...m]))}catch{}}function f(S){try{localStorage.setItem(o(),S)}catch{}}function g(){return t.value==="file"?n.value:r.value}function v(S,m){S==="file"?n.value=m:r.value=m}function E(S){return S==="file"?s.value:l.value}function A(S,m){S==="file"?s.value=m:l.value=m}function C(S){return e.searchTerm.value||!E(t.value)?!0:g().has(S)}function D(S){const m=t.value;if(!E(m)){const F=new Set(Gd(e.routes.value,m));v(m,F),A(m,!0)}const N=new Set(g());N.has(S)?N.delete(S):N.add(S),v(m,N),A(m,!0),d(m,N)}function y(S){t.value=S,f(S)}const w=Ee(()=>{const S=t.value,m=Ei(e.routes.value,S);return Cs(m),Yd({root:m,mode:S,isExpanded:C,selectedKey:e.selectedKey.value,getRouteKey:e.getRouteKey})});return kn(()=>{try{const S=localStorage.getItem(o());(S==="file"||S==="route")&&(t.value=S);const m=a("file");n.value=m.set,s.value=m.hasValue;const N=a("route");r.value=N.set,l.value=N.hasValue}catch{}}),{treeMode:t,treeRows:w,toggleExpanded:D,setTreeMode:y}}const Li="mokup.playground.locale",qd={"en-US":{header:{title:"Mock Playground",subtitle:"Inspect mock endpoints, craft requests, and validate responses without leaving the dev server.",refresh:"Refresh",routes:"{count} routes",calls:"{count} calls",languageToggle:"Language",themeToggle:"Theme"},controls:{more:"More"},theme:{system:"System",light:"Light",dark:"Dark"},filters:{search:"Search",base:"Base",searchPlaceholder:"Filter by method, path, or file"},disabled:{active:"Active ({count})",disabled:"Disabled ({count})",reason:{disabled:"Disabled","disabled-dir":"Disabled (dir)","ignore-prefix":"Ignore prefix",include:"Include filter",exclude:"Exclude filter",unknown:"Unknown"}},tabs:{overview:"Overview"},tree:{file:"File",route:"Route"},states:{loadingRoutes:"Loading routes...",emptyRoutes:"No routes matched.",emptyDisabledRoutes:"No disabled routes matched.",disabledTitle:"Disabled routes",disabledHint:"Disabled routes are not executable."},detail:{selectTitle:"Select a route",selectHint:"Choose a route on the left to run a request.",requestLabel:"Request",responseLabel:"Response",run:"Run",query:"Query (JSON)",headers:"Headers (JSON)",body:"Body (JSON)",middlewares:"Middlewares",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"Idle",empty:"No response yet.",waiting:"Waiting for response...",loading:"Loading...",error:"Error",emptyPayload:"[empty response]"},errors:{queryJson:"Query JSON error: {message}",headersJson:"Headers JSON error: {message}",bodyJson:"Body JSON error: {message}"}},"zh-CN":{header:{title:"接口调试台",subtitle:"查看 Mock 接口、构造请求并验证响应,无需离开开发服务器。",refresh:"刷新",routes:"{count} 条接口",calls:"已调用 {count} 次",languageToggle:"语言",themeToggle:"主题"},controls:{more:"更多"},theme:{system:"跟随系统",light:"亮色",dark:"暗色"},filters:{search:"搜索",base:"基路径",searchPlaceholder:"按方法、路径或文件过滤"},disabled:{active:"启用 ({count})",disabled:"忽略 ({count})",reason:{disabled:"已禁用","disabled-dir":"目录禁用","ignore-prefix":"前缀忽略",include:"未命中包含",exclude:"命中排除",unknown:"未知"}},tabs:{overview:"总览"},tree:{file:"文件",route:"路由"},states:{loadingRoutes:"正在加载接口...",emptyRoutes:"没有匹配的接口。",emptyDisabledRoutes:"没有匹配的忽略接口。",disabledTitle:"忽略/禁用接口",disabledHint:"忽略列表中的接口无法调试。"},detail:{selectTitle:"请选择接口",selectHint:"从左侧选择一个接口开始调试。",requestLabel:"请求",responseLabel:"响应",run:"发送",query:"查询参数 (JSON)",headers:"请求头 (JSON)",body:"请求体 (JSON)",middlewares:"中间件",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholder:"{json}"},response:{idle:"空闲",empty:"暂无响应。",waiting:"等待响应...",loading:"请求中...",error:"错误",emptyPayload:"[空响应]"},errors:{queryJson:"查询 JSON 错误:{message}",headersJson:"请求头 JSON 错误:{message}",bodyJson:"请求体 JSON 错误:{message}"}}};function Xd(){try{const e=localStorage.getItem(Li);if(e==="en-US"||e==="zh-CN")return e}catch{}return null}function Qd(e){try{localStorage.setItem(Li,e)}catch{}}const Zd=Mf({legacy:!1,locale:Xd()??"en-US",fallbackLocale:"en-US",messages:qd}),zd={class:"h-screen overflow-hidden pg-app-bg","data-testid":"playground-app"},ep={class:"flex h-full w-full flex-col"},tp={class:"flex min-h-0 flex-1 flex-col overflow-hidden"},np={class:"flex flex-1 flex-col overflow-hidden bg-pg-surface-shell"},rp={class:"flex min-h-0 w-full max-w-none flex-col gap-3 overflow-hidden border-b p-3 border-pg-border lg:w-[var(--left-width)] lg:min-w-[240px] lg:max-w-[560px] lg:flex-none lg:border-b-0 lg:border-r"},sp={class:"relative"},lp={class:"flex items-end gap-2"},op=["aria-expanded"],ip={class:"mt-2 flex flex-wrap items-center gap-2"},ap={class:"grid gap-3"},cp={class:"flex flex-col gap-1 text-[0.55rem] uppercase tracking-[0.25em] text-pg-text-muted"},up=["value"],fp={class:"flex-1 min-h-0 overflow-auto"},dp={key:0,class:"rounded-2xl border px-4 py-3 text-sm border-pg-danger-border bg-pg-danger-bg text-pg-danger-text"},pp={key:1,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},gp={key:0,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},hp={key:1,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},mp={key:2,class:"flex flex-col gap-2"},_p={class:"flex flex-wrap items-center justify-between gap-2"},bp={class:"flex flex-col gap-1"},yp={class:"text-[0.7rem] uppercase tracking-[0.18em] text-pg-text-muted"},vp={key:0,class:"text-[0.75rem] text-pg-text-subtle"},xp={class:"rounded-full border px-3 py-1 text-[0.55rem] uppercase tracking-[0.2em] border-pg-border bg-pg-surface-strong text-pg-text-soft"},Ep={class:"relative hidden w-4 flex-none items-center justify-center lg:flex"},Tp={class:"flex min-h-0 flex-1 flex-col overflow-hidden p-4 lg:p-6"},Sp={class:"flex flex-none flex-wrap items-center justify-between gap-2 rounded-2xl border px-3 py-2 text-[0.55rem] uppercase tracking-[0.25em] shadow-sm border-pg-border bg-pg-surface-card text-pg-text-soft"},Lp={class:"flex flex-wrap items-center gap-2"},wp={class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] border-pg-border bg-pg-surface-strong text-pg-text-soft"},Ip={class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] border-pg-border bg-pg-surface-strong text-pg-text-soft"},Cp={class:"flex flex-wrap items-center gap-2"},Op=["title"],Rp=["title"],Np={class:"mt-3 flex-1 min-h-0 overflow-auto"},Pp={key:1,class:"flex h-full flex-col items-center justify-center gap-3 rounded-3xl border p-6 text-center shadow-xl border-pg-border bg-pg-surface-card text-pg-text-muted"},kp={class:"text-xl font-display text-pg-text-strong"},Ap={class:"text-sm"},Ul="mokup:playground:split-width",Mp=240,Fp=560,Dp=wt({__name:"App",setup(e){const{routes:t,filtered:n,disabledRoutes:r,disabledFiltered:s,selected:l,groups:o,activeGroup:i,loading:a,error:d,search:f,basePath:g,workspaceRoot:v,searchTerm:E,routeCount:A,routeKey:C,loadRoutes:D,setActiveGroup:y,selectRoute:w,setBasePath:S}=Wd(),{queryText:m,headersText:N,bodyText:F,responseText:I,responseStatus:V,responseTime:G,runRequest:ie,isSwRegistering:xe,totalCount:j,getRouteCount:z}=Ud(l,{basePath:g}),{locale:ge,t:ue}=Ct(),{themeMode:he,effectiveTheme:se,cycleThemeMode:ne}=Kd(),Le=Ee(()=>l.value?C(l.value):""),We=ee("active"),ae=Ee(()=>We.value==="disabled"),Te=Ee(()=>t.value.length),rt=Ee(()=>r.value.length),Ze=Ee(()=>ae.value?s.value.length:A.value),qt=Ee(()=>se.value==="dark"?"i-[carbon--moon]":"i-[carbon--sun]"),ze=Ee(()=>ue(`theme.${he.value}`)),st=Ee(()=>ge.value==="zh-CN"?"中文":"EN"),He=ee(320),qe=ee(!1);let Ke=0,Ht=0;const p=Ee(()=>({"--left-width":`${He.value}px`})),{treeMode:h,treeRows:L,toggleExpanded:k,setTreeMode:P}=Jd({routes:n,selectedKey:Le,searchTerm:E,getRouteKey:C}),R=ee(!1),c=ee(null),u=ee(null);function b(){const Y=ge.value==="en-US"?"zh-CN":"en-US";ge.value=Y,Qd(Y)}function x(Y){Y.route&&w(Y.route)}function $(Y){We.value=Y,Y==="disabled"&&w(null)}function O(Y){return Math.min(Fp,Math.max(Mp,Y))}function _(Y){if(!qe.value)return;const B=Y.clientX-Ke;He.value=O(Ht+B)}function T(){qe.value&&(qe.value=!1,window.removeEventListener("pointermove",_),window.removeEventListener("pointerup",T),localStorage.setItem(Ul,String(He.value)))}function H(Y){Y.button===0&&(Y.preventDefault(),qe.value=!0,Ke=Y.clientX,Ht=He.value,window.addEventListener("pointermove",_),window.addEventListener("pointerup",T))}function K(){R.value=!R.value}function Q(Y){return ue(`disabled.reason.${Y??"unknown"}`)}function we(Y){if(!R.value)return;const B=Y.target;B&&(u.value?.contains(B)||c.value?.contains(B)||(R.value=!1))}return kn(()=>{S(window.location.pathname);const Y=Number(localStorage.getItem(Ul));Number.isFinite(Y)&&Y>0&&(He.value=O(Y)),document.addEventListener("pointerdown",we),window.__MOKUP_PLAYGROUND__={reloadRoutes:()=>{D().catch(()=>{})}},D().catch(()=>{})}),ur(()=>{T(),document.removeEventListener("pointerdown",we)}),(Y,B)=>(re(),le("div",zd,[M("div",ep,[M("main",tp,[M("div",np,[M("div",{class:Se(["flex min-h-0 flex-1 flex-col lg:flex-row",qe.value?"select-none":""]),style:Nn(p.value)},[M("aside",rp,[M("div",sp,[M("div",lp,[ke(Jf,{search:W(f),"onUpdate:search":B[0]||(B[0]=Z=>Ce(f)?f.value=Z:null),"base-path":W(g)||"/","show-base":!1,compact:!0,class:"flex-1"},null,8,["search","base-path"]),M("button",{ref_key:"moreButtonRef",ref:c,class:"flex h-9 items-center gap-2 rounded-full border px-3 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",type:"button","aria-expanded":R.value,"aria-haspopup":"true","aria-controls":"playground-more-panel",onClick:K},[B[8]||(B[8]=M("span",{class:"i-[carbon--settings-adjust] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),M("span",null,J(W(ue)("controls.more")),1)],8,op)]),M("div",ip,[M("button",{class:Se(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",ae.value?"":"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring"]),onClick:B[1]||(B[1]=Z=>$("active"))},J(W(ue)("disabled.active",{count:Te.value})),3),M("button",{class:Se(["rounded-full border px-3 py-1.5 text-[0.6rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",ae.value?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring":""]),onClick:B[2]||(B[2]=Z=>$("disabled"))},J(W(ue)("disabled.disabled",{count:rt.value})),3)]),R.value?(re(),le("div",{key:0,id:"playground-more-panel",ref_key:"morePanelRef",ref:u,class:"absolute left-0 right-0 z-30 mt-2 rounded-2xl border p-3 shadow-xl border-pg-border bg-pg-surface-panel"},[M("div",ap,[M("label",cp,[kt(J(W(ue)("filters.base"))+" ",1),M("input",{value:W(g)||"/",readonly:"",class:"rounded-lg border px-2.5 py-1.5 text-[0.8rem] border-pg-border bg-pg-surface-strong text-pg-text"},null,8,up)]),ke(Qf,{groups:W(o),"active-group":W(i),onSelect:W(y)},null,8,["groups","active-group","onSelect"]),ke(Md,{"tree-mode":W(h),"onUpdate:treeMode":W(P)},null,8,["tree-mode","onUpdate:treeMode"])])],512)):yt("",!0)]),M("div",fp,[W(d)?(re(),le("div",dp,J(W(d)),1)):W(a)?(re(),le("div",pp,J(W(ue)("states.loadingRoutes")),1)):(re(),le(Pe,{key:2},[ae.value&&!W(s).length?(re(),le("div",gp,J(W(ue)("states.emptyDisabledRoutes")),1)):!ae.value&&!W(n).length?(re(),le("div",hp,J(W(ue)("states.emptyRoutes")),1)):ae.value?(re(),le("div",mp,[(re(!0),le(Pe,null,fr(W(s),Z=>(re(),le("div",{key:`${Z.file}-${Z.reason}-${Z.method??""}-${Z.url??""}`,class:"rounded-2xl border px-4 py-3 text-xs border-pg-border bg-pg-surface-soft text-pg-text-soft"},[M("div",_p,[M("div",bp,[M("span",yp,J(Z.method&&Z.url?`${Z.method} ${Z.url}`:Z.file),1),Z.method&&Z.url?(re(),le("span",vp,J(Z.file),1)):yt("",!0)]),M("span",xp,J(Q(Z.reason)),1)])]))),128))])):(re(),Wr(kd,{key:3,rows:W(L),"workspace-root":W(v),"get-route-count":W(z),onToggle:W(k),onSelect:x},null,8,["rows","workspace-root","get-route-count","onToggle"]))],64))])]),M("div",Ep,[B[10]||(B[10]=M("div",{class:"h-full w-px bg-pg-divider"},null,-1)),M("button",{class:"group absolute flex h-10 w-10 cursor-col-resize items-center justify-center rounded-full border shadow-sm transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-muted hover:text-pg-text-soft",type:"button","aria-label":"Resize panels",onPointerdown:H},[...B[9]||(B[9]=[M("span",{class:"i-[carbon--drag-horizontal] h-5 w-5","aria-hidden":"true"},null,-1)])],32)]),M("section",Tp,[M("div",Sp,[M("div",Lp,[M("span",wp,[B[11]||(B[11]=M("span",{class:"i-[carbon--map] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),M("span",null,J(W(ue)("header.routes",{count:Ze.value})),1)]),M("span",Ip,[B[12]||(B[12]=M("span",{class:"i-[carbon--activity] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),M("span",null,J(W(ue)("header.calls",{count:W(j)})),1)])]),M("div",Cp,[M("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:W(ue)("header.languageToggle"),onClick:b},[B[13]||(B[13]=M("span",{class:"i-[carbon--language] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),M("span",null,J(st.value),1)],8,Op),M("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",title:W(ue)("header.themeToggle"),onClick:B[3]||(B[3]=(...Z)=>W(ne)&&W(ne)(...Z))},[M("span",{class:Se([qt.value,"h-3.5 w-3.5"]),"aria-hidden":"true"},null,2),M("span",null,J(ze.value),1)],8,Rp),M("button",{class:"flex items-center gap-2 rounded-full border px-2.5 py-1 text-[0.55rem] uppercase tracking-[0.25em] transition hover:-translate-y-0.5 border-pg-border bg-pg-surface-strong text-pg-text-soft",onClick:B[4]||(B[4]=(...Z)=>W(D)&&W(D)(...Z))},[B[14]||(B[14]=M("span",{class:"i-[carbon--rotate] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),M("span",null,J(W(ue)("header.refresh")),1)])])]),M("div",Np,[ae.value?(re(),le("div",Pp,[M("p",kp,J(W(ue)("states.disabledTitle")),1),M("p",Ap,J(W(ue)("states.disabledHint")),1)])):(re(),Wr(Id,{key:0,queryText:W(m),"onUpdate:queryText":B[5]||(B[5]=Z=>Ce(m)?m.value=Z:null),headersText:W(N),"onUpdate:headersText":B[6]||(B[6]=Z=>Ce(N)?N.value=Z:null),bodyText:W(F),"onUpdate:bodyText":B[7]||(B[7]=Z=>Ce(F)?F.value=Z:null),selected:W(l),"response-text":W(I),"response-status":W(V),"response-time":W(G),"is-sw-registering":W(xe),onRun:W(ie)},null,8,["queryText","headersText","bodyText","selected","response-text","response-status","response-time","is-sw-registering","onRun"]))])])],6)])])])]))}});Vd();jc(Dp).use(Zd).mount("#app");
|