@mokup/playground 0.0.8 → 0.0.9
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.
|
@@ -1,3 +1,5 @@
|
|
|
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");
|
|
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 o of s)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Ks(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},hn=[],St=()=>{},Dl=()=>!1,Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zs=e=>e.startsWith("onUpdate:"),Be=Object.assign,qs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gi=Object.prototype.hasOwnProperty,Ce=(e,t)=>Gi.call(e,t),oe=Array.isArray,gn=e=>jr(e)==="[object Map]",Ul=e=>jr(e)==="[object Set]",fe=e=>typeof e=="function",Ve=e=>typeof e=="string",jt=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",Vl=e=>(Ae(e)||fe(e))&&fe(e.then)&&fe(e.catch),Wl=Object.prototype.toString,jr=e=>Wl.call(e),Bi=e=>jr(e).slice(8,-1),jl=e=>jr(e)==="[object Object]",Hr=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fn=Ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ki=/-\w/g,Yt=Gr(e=>e.replace(Ki,t=>t.slice(1).toUpperCase())),zi=/\B([A-Z])/g,cn=Gr(e=>e.replace(zi,"-$1").toLowerCase()),Hl=Gr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ns=Gr(e=>e?`on${Hl(e)}`:""),qt=(e,t)=>!Object.is(e,t),rs=(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})},qi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ko;const Br=()=>ko||(ko=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rr(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ve(r)?Qi(r):rr(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ve(e)||Ae(e))return e}const Yi=/;(?![^(]*\))/g,Ji=/:([^]+)/,Xi=/\/\*[^]*?\*\//g;function Qi(e){const t={};return e.replace(Xi,"").split(Yi).forEach(n=>{if(n){const r=n.split(Ji);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function at(e){let t="";if(Ve(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const r=at(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Zi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ec=Ks(Zi);function Bl(e){return!!e||e===""}const Kl=e=>!!(e&&e.__v_isRef===!0),Q=e=>Ve(e)?e:e==null?"":oe(e)||Ae(e)&&(e.toString===Wl||!fe(e.toString))?Kl(e)?Q(e.value):JSON.stringify(e,zl,2):String(e),zl=(e,t)=>Kl(t)?zl(e,t.value):gn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ss(r,o)+" =>"]=s,n),{})}:Ul(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ss(n))}:jt(t)?ss(t):Ae(t)&&!oe(t)&&!jl(t)?String(t):t,ss=(e,t="")=>{var n;return jt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let tt;class ql{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.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=tt;try{return tt=this,t()}finally{tt=n}}}on(){++this._on===1&&(this.prevScope=tt,tt=this)}off(){this._on>0&&--this._on===0&&(tt=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 tc(e){return new ql(e)}function nc(){return tt}let Pe;const os=new WeakSet;class Yl{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,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,os.has(this)&&(os.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,Eo(this),Ql(this);const t=Pe,n=gt;Pe=this,gt=!0;try{return this.fn()}finally{Zl(this),Pe=t,gt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Xs(t);this.deps=this.depsTail=void 0,Eo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?os.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xs(this)&&this.run()}get dirty(){return xs(this)}}let Jl=0,$n,Dn;function Xl(e,t=!1){if(e.flags|=8,t){e.next=Dn,Dn=e;return}e.next=$n,$n=e}function Ys(){Jl++}function Js(){if(--Jl>0)return;if(Dn){let t=Dn;for(Dn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$n;){let t=$n;for($n=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),Xs(r),rc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ea(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ea(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Hn)||(e.globalVersion=Hn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xs(e))))return;e.flags|=2;const t=e.dep,n=Pe,r=gt;Pe=e,gt=!0;try{Ql(e);const s=e.fn(e._value);(t.version===0||qt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Pe=n,gt=r,Zl(e),e.flags&=-3}}function Xs(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 o=n.computed.deps;o;o=o.nextDep)Xs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function rc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let gt=!0;const ta=[];function Dt(){ta.push(gt),gt=!1}function Ut(){const e=ta.pop();gt=e===void 0?!0:e}function Eo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Pe;Pe=void 0;try{t()}finally{Pe=n}}}let Hn=0;class sc{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 Qs{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(!Pe||!gt||Pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Pe)n=this.activeLink=new sc(Pe,this),Pe.deps?(n.prevDep=Pe.depsTail,Pe.depsTail.nextDep=n,Pe.depsTail=n):Pe.deps=Pe.depsTail=n,na(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=Pe.depsTail,n.nextDep=void 0,Pe.depsTail.nextDep=n,Pe.depsTail=n,Pe.deps===n&&(Pe.deps=r)}return n}trigger(t){this.version++,Hn++,this.notify(t)}notify(t){Ys();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Js()}}}function na(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)na(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ir=new WeakMap,ln=Symbol(""),ws=Symbol(""),Gn=Symbol("");function Ye(e,t,n){if(gt&&Pe){let r=Ir.get(e);r||Ir.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Qs),s.map=r,s.key=n),s.track()}}function Nt(e,t,n,r,s,o){const l=Ir.get(e);if(!l){Hn++;return}const a=i=>{i&&i.trigger()};if(Ys(),t==="clear")l.forEach(a);else{const i=oe(e),c=i&&Hr(n);if(i&&n==="length"){const u=Number(r);l.forEach((p,g)=>{(g==="length"||g===Gn||!jt(g)&&g>=u)&&a(p)})}else switch((n!==void 0||l.has(void 0))&&a(l.get(n)),c&&a(l.get(Gn)),t){case"add":i?c&&a(l.get("length")):(a(l.get(ln)),gn(e)&&a(l.get(ws)));break;case"delete":i||(a(l.get(ln)),gn(e)&&a(l.get(ws)));break;case"set":gn(e)&&a(l.get(ln));break}}Js()}function oc(e,t){const n=Ir.get(e);return n&&n.get(t)}function fn(e){const t=we(e);return t===e?t:(Ye(t,"iterate",Gn),ct(e)?t:t.map(_t))}function Kr(e){return Ye(e=we(e),"iterate",Gn),e}function Bt(e,t){return Vt(e)?vn(an(e)?_t(t):t):_t(t)}const lc={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,e=>Bt(this,e))},concat(...e){return fn(this).concat(...e.map(t=>oe(t)?fn(t):t))},entries(){return ls(this,"entries",e=>(e[1]=Bt(this,e[1]),e))},every(e,t){return It(this,"every",e,t,void 0,arguments)},filter(e,t){return It(this,"filter",e,t,n=>n.map(r=>Bt(this,r)),arguments)},find(e,t){return It(this,"find",e,t,n=>Bt(this,n),arguments)},findIndex(e,t){return It(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return It(this,"findLast",e,t,n=>Bt(this,n),arguments)},findLastIndex(e,t){return It(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return It(this,"forEach",e,t,void 0,arguments)},includes(...e){return as(this,"includes",e)},indexOf(...e){return as(this,"indexOf",e)},join(e){return fn(this).join(e)},lastIndexOf(...e){return as(this,"lastIndexOf",e)},map(e,t){return It(this,"map",e,t,void 0,arguments)},pop(){return In(this,"pop")},push(...e){return In(this,"push",e)},reduce(e,...t){return So(this,"reduce",e,t)},reduceRight(e,...t){return So(this,"reduceRight",e,t)},shift(){return In(this,"shift")},some(e,t){return It(this,"some",e,t,void 0,arguments)},splice(...e){return In(this,"splice",e)},toReversed(){return fn(this).toReversed()},toSorted(e){return fn(this).toSorted(e)},toSpliced(...e){return fn(this).toSpliced(...e)},unshift(...e){return In(this,"unshift",e)},values(){return ls(this,"values",e=>Bt(this,e))}};function ls(e,t,n){const r=Kr(e),s=r[t]();return r!==e&&!ct(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const ac=Array.prototype;function It(e,t,n,r,s,o){const l=Kr(e),a=l!==e&&!ct(e),i=l[t];if(i!==ac[t]){const p=i.apply(e,o);return a?_t(p):p}let c=n;l!==e&&(a?c=function(p,g){return n.call(this,Bt(e,p),g,e)}:n.length>2&&(c=function(p,g){return n.call(this,p,g,e)}));const u=i.call(l,c,r);return a&&s?s(u):u}function So(e,t,n,r){const s=Kr(e);let o=n;return s!==e&&(ct(e)?n.length>3&&(o=function(l,a,i){return n.call(this,l,a,i,e)}):o=function(l,a,i){return n.call(this,l,Bt(e,a),i,e)}),s[t](o,...r)}function as(e,t,n){const r=we(e);Ye(r,"iterate",Gn);const s=r[t](...n);return(s===-1||s===!1)&&zr(n[0])?(n[0]=we(n[0]),r[t](...n)):s}function In(e,t,n=[]){Dt(),Ys();const r=we(e)[t].apply(e,n);return Js(),Ut(),r}const ic=Ks("__proto__,__v_isRef,__isVue"),ra=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jt));function cc(e){jt(e)||(e=String(e));const t=we(this);return Ye(t,"has",e),t.hasOwnProperty(e)}class sa{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,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?yc:ia:o?aa:la).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=oe(t);if(!s){let i;if(l&&(i=lc[n]))return i;if(n==="hasOwnProperty")return cc}const a=Reflect.get(t,n,Ne(t)?t:r);if((jt(n)?ra.has(n):ic(n))||(s||Ye(t,"get",n),o))return a;if(Ne(a)){const i=l&&Hr(n)?a:a.value;return s&&Ae(i)?ks(i):i}return Ae(a)?s?ks(a):eo(a):a}}class oa extends sa{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const l=oe(t)&&Hr(n);if(!this._isShallow){const c=Vt(o);if(!ct(r)&&!Vt(r)&&(o=we(o),r=we(r)),!l&&Ne(o)&&!Ne(r))return c||(o.value=r),!0}const a=l?Number(n)<t.length:Ce(t,n),i=Reflect.set(t,n,r,Ne(t)?t:s);return t===we(s)&&(a?qt(r,o)&&Nt(t,"set",n,r):Nt(t,"add",n,r)),i}deleteProperty(t,n){const r=Ce(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Nt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!jt(n)||!ra.has(n))&&Ye(t,"has",n),r}ownKeys(t){return Ye(t,"iterate",oe(t)?"length":ln),Reflect.ownKeys(t)}}class uc extends sa{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const fc=new oa,dc=new uc,pc=new oa(!0);const Ts=e=>e,fr=e=>Reflect.getPrototypeOf(e);function mc(e,t,n){return function(...r){const s=this.__v_raw,o=we(s),l=gn(o),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=s[e](...r),u=n?Ts:t?vn:_t;return!t&&Ye(o,"iterate",i?ws:ln),Be(Object.create(c),{next(){const{value:p,done:g}=c.next();return g?{value:p,done:g}:{value:a?[u(p[0]),u(p[1])]:u(p),done:g}}})}}function dr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function hc(e,t){const n={get(s){const o=this.__v_raw,l=we(o),a=we(s);e||(qt(s,a)&&Ye(l,"get",s),Ye(l,"get",a));const{has:i}=fr(l),c=t?Ts:e?vn:_t;if(i.call(l,s))return c(o.get(s));if(i.call(l,a))return c(o.get(a));o!==l&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ye(we(s),"iterate",ln),s.size},has(s){const o=this.__v_raw,l=we(o),a=we(s);return e||(qt(s,a)&&Ye(l,"has",s),Ye(l,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const l=this,a=l.__v_raw,i=we(a),c=t?Ts:e?vn:_t;return!e&&Ye(i,"iterate",ln),a.forEach((u,p)=>s.call(o,c(u),c(p),l))}};return Be(n,e?{add:dr("add"),set:dr("set"),delete:dr("delete"),clear:dr("clear")}:{add(s){!t&&!ct(s)&&!Vt(s)&&(s=we(s));const o=we(this);return fr(o).has.call(o,s)||(o.add(s),Nt(o,"add",s,s)),this},set(s,o){!t&&!ct(o)&&!Vt(o)&&(o=we(o));const l=we(this),{has:a,get:i}=fr(l);let c=a.call(l,s);c||(s=we(s),c=a.call(l,s));const u=i.call(l,s);return l.set(s,o),c?qt(o,u)&&Nt(l,"set",s,o):Nt(l,"add",s,o),this},delete(s){const o=we(this),{has:l,get:a}=fr(o);let i=l.call(o,s);i||(s=we(s),i=l.call(o,s)),a&&a.call(o,s);const c=o.delete(s);return i&&Nt(o,"delete",s,void 0),c},clear(){const s=we(this),o=s.size!==0,l=s.clear();return o&&Nt(s,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=mc(s,e,t)}),n}function Zs(e,t){const n=hc(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ce(n,s)&&s in r?n:r,s,o)}const gc={get:Zs(!1,!1)},bc={get:Zs(!1,!0)},_c={get:Zs(!0,!1)};const la=new WeakMap,aa=new WeakMap,ia=new WeakMap,yc=new WeakMap;function vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xc(e){return e.__v_skip||!Object.isExtensible(e)?0:vc(Bi(e))}function eo(e){return Vt(e)?e:to(e,!1,fc,gc,la)}function wc(e){return to(e,!1,pc,bc,aa)}function ks(e){return to(e,!0,dc,_c,ia)}function to(e,t,n,r,s){if(!Ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=xc(e);if(o===0)return e;const l=s.get(e);if(l)return l;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function an(e){return Vt(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function ct(e){return!!(e&&e.__v_isShallow)}function zr(e){return e?!!e.__v_raw:!1}function we(e){const t=e&&e.__v_raw;return t?we(t):e}function Tc(e){return!Ce(e,"__v_skip")&&Object.isExtensible(e)&&Gl(e,"__v_skip",!0),e}const _t=e=>Ae(e)?eo(e):e,vn=e=>Ae(e)?ks(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function ce(e){return ca(e,!1)}function kc(e){return ca(e,!0)}function ca(e,t){return Ne(e)?e:new Ec(e,t)}class Ec{constructor(t,n){this.dep=new Qs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:we(t),this._value=n?t:_t(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ct(t)||Vt(t);t=r?t:we(t),qt(t,n)&&(this._rawValue=t,this._value=r?t:_t(t),this.dep.trigger())}}function W(e){return Ne(e)?e.value:e}const Sc={get:(e,t,n)=>t==="__v_raw"?e:W(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ne(s)&&!Ne(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ua(e){return an(e)?e:new Proxy(e,Sc)}function Cc(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=Ic(e,n);return t}class Rc{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=we(t);let s=!0,o=t;if(!oe(t)||!Hr(String(n)))do s=!zr(o)||ct(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=W(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ne(this._raw[this._key])){const n=this._object[this._key];if(Ne(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return oc(this._raw,this._key)}}function Ic(e,t,n){return new Rc(e,t,n)}class Lc{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Qs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Hn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Pe!==this)return Xl(this,!0),!0}get value(){const t=this.dep.track();return ea(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Pc(e,t,n=!1){let r,s;return fe(e)?r=e:(r=e.get,s=e.set),new Lc(r,s,n)}const pr={},Lr=new WeakMap;let rn;function Oc(e,t=!1,n=rn){if(n){let r=Lr.get(n);r||Lr.set(n,r=[]),r.push(e)}}function Ac(e,t,n=Le){const{immediate:r,deep:s,once:o,scheduler:l,augmentJob:a,call:i}=n,c=h=>s?h:ct(h)||s===!1||s===0?Mt(h,1):Mt(h);let u,p,g,b,S=!1,T=!1;if(Ne(e)?(p=()=>e.value,S=ct(e)):an(e)?(p=()=>c(e),S=!0):oe(e)?(T=!0,S=e.some(h=>an(h)||ct(h)),p=()=>e.map(h=>{if(Ne(h))return h.value;if(an(h))return c(h);if(fe(h))return i?i(h,2):h()})):fe(e)?t?p=i?()=>i(e,2):e:p=()=>{if(g){Dt();try{g()}finally{Ut()}}const h=rn;rn=u;try{return i?i(e,3,[b]):e(b)}finally{rn=h}}:p=St,t&&s){const h=p,E=s===!0?1/0:s;p=()=>Mt(h(),E)}const O=nc(),_=()=>{u.stop(),O&&O.active&&qs(O.effects,u)};if(o&&t){const h=t;t=(...E)=>{h(...E),_()}}let C=T?new Array(e.length).fill(pr):pr;const k=h=>{if(!(!(u.flags&1)||!u.dirty&&!h))if(t){const E=u.run();if(s||S||(T?E.some((R,L)=>qt(R,C[L])):qt(E,C))){g&&g();const R=rn;rn=u;try{const L=[E,C===pr?void 0:T&&C[0]===pr?[]:C,b];C=E,i?i(t,3,L):t(...L)}finally{rn=R}}}else u.run()};return a&&a(k),u=new Yl(p),u.scheduler=l?()=>l(k,!1):k,b=h=>Oc(h,!1,u),g=u.onStop=()=>{const h=Lr.get(u);if(h){if(i)i(h,4);else for(const E of h)E();Lr.delete(u)}},t?r?k(!0):C=u.run():l?l(k.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function Mt(e,t=1/0,n){if(t<=0||!Ae(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ne(e))Mt(e.value,t,n);else if(oe(e))for(let r=0;r<e.length;r++)Mt(e[r],t,n);else if(Ul(e)||gn(e))e.forEach(r=>{Mt(r,t,n)});else if(jl(e)){for(const r in e)Mt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Mt(e[r],t,n)}return e}function sr(e,t,n,r){try{return r?e(...r):e()}catch(s){qr(s,t,n)}}function Rt(e,t,n,r){if(fe(e)){const s=sr(e,t,n,r);return s&&Vl(s)&&s.catch(o=>{qr(o,t,n)}),s}if(oe(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Rt(e[o],t,n,r));return s}}function qr(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||Le;if(t){let a=t.parent;const i=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let p=0;p<u.length;p++)if(u[p](e,i,c)===!1)return}a=a.parent}if(o){Dt(),sr(o,null,10,[e,i,c]),Ut();return}}Nc(e,n,s,r,l)}function Nc(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Qe=[];let kt=-1;const bn=[];let Kt=null,pn=0;const fa=Promise.resolve();let Pr=null;function Mc(e){const t=Pr||fa;return e?t.then(this?e.bind(this):e):t}function Fc(e){let t=kt+1,n=Qe.length;for(;t<n;){const r=t+n>>>1,s=Qe[r],o=Bn(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function no(e){if(!(e.flags&1)){const t=Bn(e),n=Qe[Qe.length-1];!n||!(e.flags&2)&&t>=Bn(n)?Qe.push(e):Qe.splice(Fc(t),0,e),e.flags|=1,da()}}function da(){Pr||(Pr=fa.then(ma))}function $c(e){oe(e)?bn.push(...e):Kt&&e.id===-1?Kt.splice(pn+1,0,e):e.flags&1||(bn.push(e),e.flags|=1),da()}function Co(e,t,n=kt+1){for(;n<Qe.length;n++){const r=Qe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function pa(e){if(bn.length){const t=[...new Set(bn)].sort((n,r)=>Bn(n)-Bn(r));if(bn.length=0,Kt){Kt.push(...t);return}for(Kt=t,pn=0;pn<Kt.length;pn++){const n=Kt[pn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Kt=null,pn=0}}const Bn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ma(e){try{for(kt=0;kt<Qe.length;kt++){const t=Qe[kt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),sr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;kt<Qe.length;kt++){const t=Qe[kt];t&&(t.flags&=-2)}kt=-1,Qe.length=0,pa(),Pr=null,(Qe.length||bn.length)&&ma()}}let Je=null,ha=null;function Or(e){const t=Je;return Je=e,ha=e&&e.type.__scopeId||null,t}function Ie(e,t=Je,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Mr(-1);const o=Or(t);let l;try{l=e(...s)}finally{Or(o),r._d&&Mr(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function mr(e,t){if(Je===null)return e;const n=Qr(Je),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,l,a,i=Le]=t[s];o&&(fe(o)&&(o={mounted:o,updated:o}),o.deep&&Mt(l),r.push({dir:o,instance:n,value:l,oldValue:void 0,arg:a,modifiers:i}))}return e}function en(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let l=0;l<s.length;l++){const a=s[l];o&&(a.oldValue=o[l].value);let i=a.dir[r];i&&(Dt(),Rt(i,n,8,[e.el,a,e,t]),Ut())}}function Dc(e,t){if(Ze){let n=Ze.provides;const r=Ze.parent&&Ze.parent.provides;r===n&&(n=Ze.provides=Object.create(r)),n[e]=t}}function Un(e,t,n=!1){const r=Xr();if(r||yn){let s=yn?yn._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&&fe(t)?t.call(r&&r.proxy):t}}const Uc=Symbol.for("v-scx"),Vc=()=>Un(Uc);function bt(e,t,n){return ga(e,t,n)}function ga(e,t,n=Le){const{immediate:r,deep:s,flush:o,once:l}=n,a=Be({},n),i=t&&r||!t&&o!=="post";let c;if(Yn){if(o==="sync"){const b=Vc();c=b.__watcherHandles||(b.__watcherHandles=[])}else if(!i){const b=()=>{};return b.stop=St,b.resume=St,b.pause=St,b}}const u=Ze;a.call=(b,S,T)=>Rt(b,u,S,T);let p=!1;o==="post"?a.scheduler=b=>{lt(b,u&&u.suspense)}:o!=="sync"&&(p=!0,a.scheduler=(b,S)=>{S?b():no(b)}),a.augmentJob=b=>{t&&(b.flags|=4),p&&(b.flags|=2,u&&(b.id=u.uid,b.i=u))};const g=Ac(e,t,a);return Yn&&(c?c.push(g):i&&g()),g}function Wc(e,t,n){const r=this.proxy,s=Ve(e)?e.includes(".")?ba(r,e):()=>r[e]:e.bind(r,r);let o;fe(t)?o=t:(o=t.handler,n=t);const l=ir(this),a=ga(s,o.bind(r),n);return l(),a}function ba(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 jc=Symbol("_vte"),Hc=e=>e.__isTeleport,Gc=Symbol("_leaveCb");function ro(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ro(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 Ke(e,t){return fe(e)?Be({name:e.name},t,{setup:e}):e}function _a(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ar=new WeakMap;function Vn(e,t,n,r,s=!1){if(oe(e)){e.forEach((S,T)=>Vn(S,t&&(oe(t)?t[T]:t),n,r,s));return}if(_n(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Vn(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Qr(r.component):r.el,l=s?null:o,{i:a,r:i}=e,c=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,p=a.setupState,g=we(p),b=p===Le?Dl:S=>Ce(g,S);if(c!=null&&c!==i){if(Ro(t),Ve(c))u[c]=null,b(c)&&(p[c]=null);else if(Ne(c)){c.value=null;const S=t;S.k&&(u[S.k]=null)}}if(fe(i))sr(i,a,12,[l,u]);else{const S=Ve(i),T=Ne(i);if(S||T){const O=()=>{if(e.f){const _=S?b(i)?p[i]:u[i]:i.value;if(s)oe(_)&&qs(_,o);else if(oe(_))_.includes(o)||_.push(o);else if(S)u[i]=[o],b(i)&&(p[i]=u[i]);else{const C=[o];i.value=C,e.k&&(u[e.k]=C)}}else S?(u[i]=l,b(i)&&(p[i]=l)):T&&(i.value=l,e.k&&(u[e.k]=l))};if(l){const _=()=>{O(),Ar.delete(e)};_.id=-1,Ar.set(e,_),lt(_,n)}else Ro(e),O()}}}function Ro(e){const t=Ar.get(e);t&&(t.flags|=8,Ar.delete(e))}Br().requestIdleCallback;Br().cancelIdleCallback;const _n=e=>!!e.type.__asyncLoader,ya=e=>e.type.__isKeepAlive;function Bc(e,t){va(e,"a",t)}function Kc(e,t){va(e,"da",t)}function va(e,t,n=Ze){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Yr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ya(s.parent.vnode)&&zc(r,t,n,s),s=s.parent}}function zc(e,t,n,r){const s=Yr(t,e,r,!0);so(()=>{qs(r[t],s)},n)}function Yr(e,t,n=Ze,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{Dt();const a=ir(n),i=Rt(t,n,e,l);return a(),Ut(),i});return r?s.unshift(o):s.push(o),o}}const Ht=e=>(t,n=Ze)=>{(!Yn||e==="sp")&&Yr(e,(...r)=>t(...r),n)},qc=Ht("bm"),En=Ht("m"),Yc=Ht("bu"),Jc=Ht("u"),or=Ht("bum"),so=Ht("um"),Xc=Ht("sp"),Qc=Ht("rtg"),Zc=Ht("rtc");function eu(e,t=Ze){Yr("ec",e,t)}const tu=Symbol.for("v-ndc");function Kn(e,t,n,r){let s;const o=n,l=oe(e);if(l||Ve(e)){const a=l&&an(e);let i=!1,c=!1;a&&(i=!ct(e),c=Vt(e),e=Kr(e)),s=new Array(e.length);for(let u=0,p=e.length;u<p;u++)s[u]=t(i?c?vn(_t(e[u])):_t(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(Ae(e))if(e[Symbol.iterator])s=Array.from(e,(a,i)=>t(a,i,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let i=0,c=a.length;i<c;i++){const u=a[i];s[i]=t(e[u],u,i,o)}}else s=[];return s}function oo(e,t,n={},r,s){if(Je.ce||Je.parent&&_n(Je.parent)&&Je.parent.ce){const c=Object.keys(n).length>0;return ee(),Jt($e,null,[X("slot",n,r)],c?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),ee();const l=o&&xa(o(n)),a=n.key||l&&l.key,i=Jt($e,{key:(a&&!jt(a)?a:`_${t}`)+(!l&&r?"_fb":"")},l||[],l&&e._===1?64:-2);return i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function xa(e){return e.some(t=>qn(t)?!(t.type===Wt||t.type===$e&&!xa(t.children)):!0)?e:null}const Es=e=>e?Va(e)?Qr(e):Es(e.parent):null,Wn=Be(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=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ta(e),$forceUpdate:e=>e.f||(e.f=()=>{no(e.update)}),$nextTick:e=>e.n||(e.n=Mc.bind(e.proxy)),$watch:e=>Wc.bind(e)}),is=(e,t)=>e!==Le&&!e.__isScriptSetup&&Ce(e,t),nu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:l,type:a,appContext:i}=e;if(t[0]!=="$"){const g=l[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(is(r,t))return l[t]=1,r[t];if(s!==Le&&Ce(s,t))return l[t]=2,s[t];if(Ce(o,t))return l[t]=3,o[t];if(n!==Le&&Ce(n,t))return l[t]=4,n[t];Ss&&(l[t]=0)}}const c=Wn[t];let u,p;if(c)return t==="$attrs"&&Ye(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Le&&Ce(n,t))return l[t]=4,n[t];if(p=i.config.globalProperties,Ce(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return is(s,t)?(s[t]=n,!0):r!==Le&&Ce(r,t)?(r[t]=n,!0):Ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:l}},a){let i;return!!(n[a]||e!==Le&&a[0]!=="$"&&Ce(e,a)||is(t,a)||Ce(o,a)||Ce(r,a)||Ce(Wn,a)||Ce(s.config.globalProperties,a)||(i=l.__cssModules)&&i[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function lr(){return ru().attrs}function ru(e){const t=Xr();return t.setupContext||(t.setupContext=ja(t))}function Io(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ss=!0;function su(e){const t=Ta(e),n=e.proxy,r=e.ctx;Ss=!1,t.beforeCreate&&Lo(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:p,mounted:g,beforeUpdate:b,updated:S,activated:T,deactivated:O,beforeDestroy:_,beforeUnmount:C,destroyed:k,unmounted:h,render:E,renderTracked:R,renderTriggered:L,errorCaptured:D,serverPrefetch:J,expose:ge,inheritAttrs:ke,components:se,directives:De,filters:le}=t;if(c&&ou(c,r,null),l)for(const z in l){const F=l[z];fe(F)&&(r[z]=F.bind(n))}if(s){const z=s.call(n,n);Ae(z)&&(e.data=eo(z))}if(Ss=!0,o)for(const z in o){const F=o[z],j=fe(F)?F.bind(n,n):fe(F.get)?F.get.bind(n,n):St,Y=!fe(F)&&fe(F.set)?F.set.bind(n):St,Z=ne({get:j,set:Y});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>Z.value,set:ie=>Z.value=ie})}if(a)for(const z in a)wa(a[z],r,n,z);if(i){const z=fe(i)?i.call(n):i;Reflect.ownKeys(z).forEach(F=>{Dc(F,z[F])})}u&&Lo(u,e,"c");function K(z,F){oe(F)?F.forEach(j=>z(j.bind(n))):F&&z(F.bind(n))}if(K(qc,p),K(En,g),K(Yc,b),K(Jc,S),K(Bc,T),K(Kc,O),K(eu,D),K(Zc,R),K(Qc,L),K(or,C),K(so,h),K(Xc,J),oe(ge))if(ge.length){const z=e.exposed||(e.exposed={});ge.forEach(F=>{Object.defineProperty(z,F,{get:()=>n[F],set:j=>n[F]=j,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===St&&(e.render=E),ke!=null&&(e.inheritAttrs=ke),se&&(e.components=se),De&&(e.directives=De),J&&_a(e)}function ou(e,t,n=St){oe(e)&&(e=Cs(e));for(const r in e){const s=e[r];let o;Ae(s)?"default"in s?o=Un(s.from||r,s.default,!0):o=Un(s.from||r):o=Un(s),Ne(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function Lo(e,t,n){Rt(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wa(e,t,n,r){let s=r.includes(".")?ba(n,r):()=>n[r];if(Ve(e)){const o=t[e];fe(o)&&bt(s,o)}else if(fe(e))bt(s,e.bind(n));else if(Ae(e))if(oe(e))e.forEach(o=>wa(o,t,n,r));else{const o=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(o)&&bt(s,o,e)}}function Ta(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,a=o.get(t);let i;return a?i=a:!s.length&&!n&&!r?i=t:(i={},s.length&&s.forEach(c=>Nr(i,c,l,!0)),Nr(i,t,l)),Ae(t)&&o.set(t,i),i}function Nr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Nr(e,o,n,!0),s&&s.forEach(l=>Nr(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const a=lu[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const lu={data:Po,props:Oo,emits:Oo,methods:Nn,computed:Nn,beforeCreate:Xe,created:Xe,beforeMount:Xe,mounted:Xe,beforeUpdate:Xe,updated:Xe,beforeDestroy:Xe,beforeUnmount:Xe,destroyed:Xe,unmounted:Xe,activated:Xe,deactivated:Xe,errorCaptured:Xe,serverPrefetch:Xe,components:Nn,directives:Nn,watch:iu,provide:Po,inject:au};function Po(e,t){return t?e?function(){return Be(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function au(e,t){return Nn(Cs(e),Cs(t))}function Cs(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Xe(e,t){return e?[...new Set([].concat(e,t))]:t}function Nn(e,t){return e?Be(Object.create(null),e,t):t}function Oo(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:Be(Object.create(null),Io(e),Io(t??{})):t}function iu(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const r in t)n[r]=Xe(e[r],t[r]);return n}function ka(){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 cu=0;function uu(e,t){return function(r,s=null){fe(r)||(r=Be({},r)),s!=null&&!Ae(s)&&(s=null);const o=ka(),l=new WeakSet,a=[];let i=!1;const c=o.app={_uid:cu++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Uu,get config(){return o.config},set config(u){},use(u,...p){return l.has(u)||(u&&fe(u.install)?(l.add(u),u.install(c,...p)):fe(u)&&(l.add(u),u(c,...p))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,p){return p?(o.components[u]=p,c):o.components[u]},directive(u,p){return p?(o.directives[u]=p,c):o.directives[u]},mount(u,p,g){if(!i){const b=c._ceVNode||X(r,s);return b.appContext=o,g===!0?g="svg":g===!1&&(g=void 0),e(b,u,g),i=!0,c._container=u,u.__vue_app__=c,Qr(b.component)}},onUnmount(u){a.push(u)},unmount(){i&&(Rt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,p){return o.provides[u]=p,c},runWithContext(u){const p=yn;yn=c;try{return u()}finally{yn=p}}};return c}}let yn=null;const fu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Yt(t)}Modifiers`]||e[`${cn(t)}Modifiers`];function du(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let s=n;const o=t.startsWith("update:"),l=o&&fu(r,t.slice(7));l&&(l.trim&&(s=n.map(u=>Ve(u)?u.trim():u)),l.number&&(s=n.map(qi)));let a,i=r[a=ns(t)]||r[a=ns(Yt(t))];!i&&o&&(i=r[a=ns(cn(t))]),i&&Rt(i,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Rt(c,e,6,s)}}const pu=new WeakMap;function Ea(e,t,n=!1){const r=n?pu:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let l={},a=!1;if(!fe(e)){const i=c=>{const u=Ea(c,t,!0);u&&(a=!0,Be(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!o&&!a?(Ae(e)&&r.set(e,null),null):(oe(o)?o.forEach(i=>l[i]=null):Be(l,o),Ae(e)&&r.set(e,l),l)}function Jr(e,t){return!e||!Wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ce(e,t[0].toLowerCase()+t.slice(1))||Ce(e,cn(t))||Ce(e,t))}function Ao(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:l,attrs:a,emit:i,render:c,renderCache:u,props:p,data:g,setupState:b,ctx:S,inheritAttrs:T}=e,O=Or(e);let _,C;try{if(n.shapeFlag&4){const h=s||r,E=h;_=Et(c.call(E,h,u,p,b,g,S)),C=a}else{const h=t;_=Et(h.length>1?h(p,{attrs:a,slots:l,emit:i}):h(p,null)),C=t.props?a:mu(a)}}catch(h){jn.length=0,qr(h,e,1),_=X(Wt)}let k=_;if(C&&T!==!1){const h=Object.keys(C),{shapeFlag:E}=k;h.length&&E&7&&(o&&h.some(zs)&&(C=hu(C,o)),k=xn(k,C,!1,!0))}return n.dirs&&(k=xn(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&ro(k,n.transition),_=k,Or(O),_}const mu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wr(n))&&((t||(t={}))[n]=e[n]);return t},hu=(e,t)=>{const n={};for(const r in e)(!zs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function gu(e,t,n){const{props:r,children:s,component:o}=e,{props:l,children:a,patchFlag:i}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?No(r,l,c):!!l;if(i&8){const u=t.dynamicProps;for(let p=0;p<u.length;p++){const g=u[p];if(l[g]!==r[g]&&!Jr(c,g))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===l?!1:r?l?No(r,l,c):!0:!!l;return!1}function No(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 o=r[s];if(t[o]!==e[o]&&!Jr(n,o))return!0}return!1}function bu({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 Sa={},Ca=()=>Object.create(Sa),Ra=e=>Object.getPrototypeOf(e)===Sa;function _u(e,t,n,r=!1){const s={},o=Ca();e.propsDefaults=Object.create(null),Ia(e,t,s,o);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=r?s:wc(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function yu(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:l}}=e,a=we(s),[i]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let p=0;p<u.length;p++){let g=u[p];if(Jr(e.emitsOptions,g))continue;const b=t[g];if(i)if(Ce(o,g))b!==o[g]&&(o[g]=b,c=!0);else{const S=Yt(g);s[S]=Rs(i,a,S,b,e,!1)}else b!==o[g]&&(o[g]=b,c=!0)}}}else{Ia(e,t,s,o)&&(c=!0);let u;for(const p in a)(!t||!Ce(t,p)&&((u=cn(p))===p||!Ce(t,u)))&&(i?n&&(n[p]!==void 0||n[u]!==void 0)&&(s[p]=Rs(i,a,p,void 0,e,!0)):delete s[p]);if(o!==a)for(const p in o)(!t||!Ce(t,p))&&(delete o[p],c=!0)}c&&Nt(e.attrs,"set","")}function Ia(e,t,n,r){const[s,o]=e.propsOptions;let l=!1,a;if(t)for(let i in t){if(Fn(i))continue;const c=t[i];let u;s&&Ce(s,u=Yt(i))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Jr(e.emitsOptions,i)||(!(i in r)||c!==r[i])&&(r[i]=c,l=!0)}if(o){const i=we(n),c=a||Le;for(let u=0;u<o.length;u++){const p=o[u];n[p]=Rs(s,i,p,c[p],e,!Ce(c,p))}}return l}function Rs(e,t,n,r,s,o){const l=e[n];if(l!=null){const a=Ce(l,"default");if(a&&r===void 0){const i=l.default;if(l.type!==Function&&!l.skipFactory&&fe(i)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const u=ir(s);r=c[n]=i.call(null,t),u()}}else r=i;s.ce&&s.ce._setProp(n,r)}l[0]&&(o&&!a?r=!1:l[1]&&(r===""||r===cn(n))&&(r=!0))}return r}const vu=new WeakMap;function La(e,t,n=!1){const r=n?vu:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,l={},a=[];let i=!1;if(!fe(e)){const u=p=>{i=!0;const[g,b]=La(p,t,!0);Be(l,g),b&&a.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!i)return Ae(e)&&r.set(e,hn),hn;if(oe(o))for(let u=0;u<o.length;u++){const p=Yt(o[u]);Mo(p)&&(l[p]=Le)}else if(o)for(const u in o){const p=Yt(u);if(Mo(p)){const g=o[u],b=l[p]=oe(g)||fe(g)?{type:g}:Be({},g),S=b.type;let T=!1,O=!0;if(oe(S))for(let _=0;_<S.length;++_){const C=S[_],k=fe(C)&&C.name;if(k==="Boolean"){T=!0;break}else k==="String"&&(O=!1)}else T=fe(S)&&S.name==="Boolean";b[0]=T,b[1]=O,(T||Ce(b,"default"))&&a.push(p)}}const c=[l,a];return Ae(e)&&r.set(e,c),c}function Mo(e){return e[0]!=="$"&&!Fn(e)}const lo=e=>e==="_"||e==="_ctx"||e==="$stable",ao=e=>oe(e)?e.map(Et):[Et(e)],xu=(e,t,n)=>{if(t._n)return t;const r=Ie((...s)=>ao(t(...s)),n);return r._c=!1,r},Pa=(e,t,n)=>{const r=e._ctx;for(const s in e){if(lo(s))continue;const o=e[s];if(fe(o))t[s]=xu(s,o,r);else if(o!=null){const l=ao(o);t[s]=()=>l}}},Oa=(e,t)=>{const n=ao(t);e.slots.default=()=>n},Aa=(e,t,n)=>{for(const r in t)(n||!lo(r))&&(e[r]=t[r])},wu=(e,t,n)=>{const r=e.slots=Ca();if(e.vnode.shapeFlag&32){const s=t._;s?(Aa(r,t,n),n&&Gl(r,"_",s,!0)):Pa(t,r)}else t&&Oa(e,t)},Tu=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,l=Le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Aa(s,t,n):(o=!t.$stable,Pa(t,s)),l=t}else t&&(Oa(e,t),l={default:1});if(o)for(const a in s)!lo(a)&&l[a]==null&&delete s[a]},lt=Ru;function ku(e){return Eu(e)}function Eu(e,t){const n=Br();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:l,createText:a,createComment:i,setText:c,setElementText:u,parentNode:p,nextSibling:g,setScopeId:b=St,insertStaticContent:S}=e,T=(m,v,P,$=null,A=null,M=null,f=void 0,d=null,y=!!v.dynamicChildren)=>{if(m===v)return;m&&!Ln(m,v)&&($=_e(m),ie(m,A,M,!0),m=null),v.patchFlag===-2&&(y=!1,v.dynamicChildren=null);const{type:w,ref:V,shapeFlag:N}=v;switch(w){case ar:O(m,v,P,$);break;case Wt:_(m,v,P,$);break;case us:m==null&&C(v,P,$,f);break;case $e:se(m,v,P,$,A,M,f,d,y);break;default:N&1?E(m,v,P,$,A,M,f,d,y):N&6?De(m,v,P,$,A,M,f,d,y):(N&64||N&128)&&w.process(m,v,P,$,A,M,f,d,y,de)}V!=null&&A?Vn(V,m&&m.ref,M,v||m,!v):V==null&&m&&m.ref!=null&&Vn(m.ref,null,M,m,!0)},O=(m,v,P,$)=>{if(m==null)r(v.el=a(v.children),P,$);else{const A=v.el=m.el;v.children!==m.children&&c(A,v.children)}},_=(m,v,P,$)=>{m==null?r(v.el=i(v.children||""),P,$):v.el=m.el},C=(m,v,P,$)=>{[m.el,m.anchor]=S(m.children,v,P,$,m.el,m.anchor)},k=({el:m,anchor:v},P,$)=>{let A;for(;m&&m!==v;)A=g(m),r(m,P,$),m=A;r(v,P,$)},h=({el:m,anchor:v})=>{let P;for(;m&&m!==v;)P=g(m),s(m),m=P;s(v)},E=(m,v,P,$,A,M,f,d,y)=>{if(v.type==="svg"?f="svg":v.type==="math"&&(f="mathml"),m==null)R(v,P,$,A,M,f,d,y);else{const w=m.el&&m.el._isVueCE?m.el:null;try{w&&w._beginPatch(),J(m,v,A,M,f,d,y)}finally{w&&w._endPatch()}}},R=(m,v,P,$,A,M,f,d)=>{let y,w;const{props:V,shapeFlag:N,transition:x,dirs:I}=m;if(y=m.el=l(m.type,M,V&&V.is,V),N&8?u(y,m.children):N&16&&D(m.children,y,null,$,A,cs(m,M),f,d),I&&en(m,null,$,"created"),L(y,m,m.scopeId,f,$),V){for(const te in V)te!=="value"&&!Fn(te)&&o(y,te,null,V[te],M,$);"value"in V&&o(y,"value",null,V.value,M),(w=V.onVnodeBeforeMount)&&xt(w,$,m)}I&&en(m,null,$,"beforeMount");const q=Su(A,x);q&&x.beforeEnter(y),r(y,v,P),((w=V&&V.onVnodeMounted)||q||I)&<(()=>{w&&xt(w,$,m),q&&x.enter(y),I&&en(m,null,$,"mounted")},A)},L=(m,v,P,$,A)=>{if(P&&b(m,P),$)for(let M=0;M<$.length;M++)b(m,$[M]);if(A){let M=A.subTree;if(v===M||$a(M.type)&&(M.ssContent===v||M.ssFallback===v)){const f=A.vnode;L(m,f,f.scopeId,f.slotScopeIds,A.parent)}}},D=(m,v,P,$,A,M,f,d,y=0)=>{for(let w=y;w<m.length;w++){const V=m[w]=d?zt(m[w]):Et(m[w]);T(null,V,v,P,$,A,M,f,d)}},J=(m,v,P,$,A,M,f)=>{const d=v.el=m.el;let{patchFlag:y,dynamicChildren:w,dirs:V}=v;y|=m.patchFlag&16;const N=m.props||Le,x=v.props||Le;let I;if(P&&tn(P,!1),(I=x.onVnodeBeforeUpdate)&&xt(I,P,v,m),V&&en(v,m,P,"beforeUpdate"),P&&tn(P,!0),(N.innerHTML&&x.innerHTML==null||N.textContent&&x.textContent==null)&&u(d,""),w?ge(m.dynamicChildren,w,d,P,$,cs(v,A),M):f||F(m,v,d,null,P,$,cs(v,A),M,!1),y>0){if(y&16)ke(d,N,x,P,A);else if(y&2&&N.class!==x.class&&o(d,"class",null,x.class,A),y&4&&o(d,"style",N.style,x.style,A),y&8){const q=v.dynamicProps;for(let te=0;te<q.length;te++){const me=q[te],We=N[me],Fe=x[me];(Fe!==We||me==="value")&&o(d,me,We,Fe,A,P)}}y&1&&m.children!==v.children&&u(d,v.children)}else!f&&w==null&&ke(d,N,x,P,A);((I=x.onVnodeUpdated)||V)&<(()=>{I&&xt(I,P,v,m),V&&en(v,m,P,"updated")},$)},ge=(m,v,P,$,A,M,f)=>{for(let d=0;d<v.length;d++){const y=m[d],w=v[d],V=y.el&&(y.type===$e||!Ln(y,w)||y.shapeFlag&198)?p(y.el):P;T(y,w,V,null,$,A,M,f,!0)}},ke=(m,v,P,$,A)=>{if(v!==P){if(v!==Le)for(const M in v)!Fn(M)&&!(M in P)&&o(m,M,v[M],null,A,$);for(const M in P){if(Fn(M))continue;const f=P[M],d=v[M];f!==d&&M!=="value"&&o(m,M,d,f,A,$)}"value"in P&&o(m,"value",v.value,P.value,A)}},se=(m,v,P,$,A,M,f,d,y)=>{const w=v.el=m?m.el:a(""),V=v.anchor=m?m.anchor:a("");let{patchFlag:N,dynamicChildren:x,slotScopeIds:I}=v;I&&(d=d?d.concat(I):I),m==null?(r(w,P,$),r(V,P,$),D(v.children||[],P,V,A,M,f,d,y)):N>0&&N&64&&x&&m.dynamicChildren&&m.dynamicChildren.length===x.length?(ge(m.dynamicChildren,x,P,A,M,f,d),(v.key!=null||A&&v===A.subTree)&&Na(m,v,!0)):F(m,v,P,V,A,M,f,d,y)},De=(m,v,P,$,A,M,f,d,y)=>{v.slotScopeIds=d,m==null?v.shapeFlag&512?A.ctx.activate(v,P,$,f,y):le(v,P,$,A,M,f,y):ae(m,v,y)},le=(m,v,P,$,A,M,f)=>{const d=m.component=Nu(m,$,A);if(ya(m)&&(d.ctx.renderer=de),Mu(d,!1,f),d.asyncDep){if(A&&A.registerDep(d,K,f),!m.el){const y=d.subTree=X(Wt);_(null,y,v,P),m.placeholder=y.el}}else K(d,m,v,P,A,M,f)},ae=(m,v,P)=>{const $=v.component=m.component;if(gu(m,v,P))if($.asyncDep&&!$.asyncResolved){z($,v,P);return}else $.next=v,$.update();else v.el=m.el,$.vnode=v},K=(m,v,P,$,A,M,f)=>{const d=()=>{if(m.isMounted){let{next:N,bu:x,u:I,parent:q,vnode:te}=m;{const pt=Ma(m);if(pt){N&&(N.el=te.el,z(m,N,f)),pt.asyncDep.then(()=>{m.isUnmounted||d()});return}}let me=N,We;tn(m,!1),N?(N.el=te.el,z(m,N,f)):N=te,x&&rs(x),(We=N.props&&N.props.onVnodeBeforeUpdate)&&xt(We,q,N,te),tn(m,!0);const Fe=Ao(m),ft=m.subTree;m.subTree=Fe,T(ft,Fe,p(ft.el),_e(ft),m,A,M),N.el=Fe.el,me===null&&bu(m,Fe.el),I&<(I,A),(We=N.props&&N.props.onVnodeUpdated)&<(()=>xt(We,q,N,te),A)}else{let N;const{el:x,props:I}=v,{bm:q,m:te,parent:me,root:We,type:Fe}=m,ft=_n(v);tn(m,!1),q&&rs(q),!ft&&(N=I&&I.onVnodeBeforeMount)&&xt(N,me,v),tn(m,!0);{We.ce&&We.ce._def.shadowRoot!==!1&&We.ce._injectChildStyle(Fe);const pt=m.subTree=Ao(m);T(null,pt,P,$,m,A,M),v.el=pt.el}if(te&<(te,A),!ft&&(N=I&&I.onVnodeMounted)){const pt=v;lt(()=>xt(N,me,pt),A)}(v.shapeFlag&256||me&&_n(me.vnode)&&me.vnode.shapeFlag&256)&&m.a&<(m.a,A),m.isMounted=!0,v=P=$=null}};m.scope.on();const y=m.effect=new Yl(d);m.scope.off();const w=m.update=y.run.bind(y),V=m.job=y.runIfDirty.bind(y);V.i=m,V.id=m.uid,y.scheduler=()=>no(V),tn(m,!0),w()},z=(m,v,P)=>{v.component=m;const $=m.vnode.props;m.vnode=v,m.next=null,yu(m,v.props,$,P),Tu(m,v.children,P),Dt(),Co(m),Ut()},F=(m,v,P,$,A,M,f,d,y=!1)=>{const w=m&&m.children,V=m?m.shapeFlag:0,N=v.children,{patchFlag:x,shapeFlag:I}=v;if(x>0){if(x&128){Y(w,N,P,$,A,M,f,d,y);return}else if(x&256){j(w,N,P,$,A,M,f,d,y);return}}I&8?(V&16&&Ee(w,A,M),N!==w&&u(P,N)):V&16?I&16?Y(w,N,P,$,A,M,f,d,y):Ee(w,A,M,!0):(V&8&&u(P,""),I&16&&D(N,P,$,A,M,f,d,y))},j=(m,v,P,$,A,M,f,d,y)=>{m=m||hn,v=v||hn;const w=m.length,V=v.length,N=Math.min(w,V);let x;for(x=0;x<N;x++){const I=v[x]=y?zt(v[x]):Et(v[x]);T(m[x],I,P,null,A,M,f,d,y)}w>V?Ee(m,A,M,!0,!1,N):D(v,P,$,A,M,f,d,y,N)},Y=(m,v,P,$,A,M,f,d,y)=>{let w=0;const V=v.length;let N=m.length-1,x=V-1;for(;w<=N&&w<=x;){const I=m[w],q=v[w]=y?zt(v[w]):Et(v[w]);if(Ln(I,q))T(I,q,P,null,A,M,f,d,y);else break;w++}for(;w<=N&&w<=x;){const I=m[N],q=v[x]=y?zt(v[x]):Et(v[x]);if(Ln(I,q))T(I,q,P,null,A,M,f,d,y);else break;N--,x--}if(w>N){if(w<=x){const I=x+1,q=I<V?v[I].el:$;for(;w<=x;)T(null,v[w]=y?zt(v[w]):Et(v[w]),P,q,A,M,f,d,y),w++}}else if(w>x)for(;w<=N;)ie(m[w],A,M,!0),w++;else{const I=w,q=w,te=new Map;for(w=q;w<=x;w++){const ot=v[w]=y?zt(v[w]):Et(v[w]);ot.key!=null&&te.set(ot.key,w)}let me,We=0;const Fe=x-q+1;let ft=!1,pt=0;const Rn=new Array(Fe);for(w=0;w<Fe;w++)Rn[w]=0;for(w=I;w<=N;w++){const ot=m[w];if(We>=Fe){ie(ot,A,M,!0);continue}let vt;if(ot.key!=null)vt=te.get(ot.key);else for(me=q;me<=x;me++)if(Rn[me-q]===0&&Ln(ot,v[me])){vt=me;break}vt===void 0?ie(ot,A,M,!0):(Rn[vt-q]=w+1,vt>=pt?pt=vt:ft=!0,T(ot,v[vt],P,null,A,M,f,d,y),We++)}const xo=ft?Cu(Rn):hn;for(me=xo.length-1,w=Fe-1;w>=0;w--){const ot=q+w,vt=v[ot],wo=v[ot+1],To=ot+1<V?wo.el||Fa(wo):$;Rn[w]===0?T(null,vt,P,To,A,M,f,d,y):ft&&(me<0||w!==xo[me]?Z(vt,P,To,2):me--)}}},Z=(m,v,P,$,A=null)=>{const{el:M,type:f,transition:d,children:y,shapeFlag:w}=m;if(w&6){Z(m.component.subTree,v,P,$);return}if(w&128){m.suspense.move(v,P,$);return}if(w&64){f.move(m,v,P,de);return}if(f===$e){r(M,v,P);for(let N=0;N<y.length;N++)Z(y[N],v,P,$);r(m.anchor,v,P);return}if(f===us){k(m,v,P);return}if($!==2&&w&1&&d)if($===0)d.beforeEnter(M),r(M,v,P),lt(()=>d.enter(M),A);else{const{leave:N,delayLeave:x,afterLeave:I}=d,q=()=>{m.ctx.isUnmounted?s(M):r(M,v,P)},te=()=>{M._isLeaving&&M[Gc](!0),N(M,()=>{q(),I&&I()})};x?x(M,q,te):te()}else r(M,v,P)},ie=(m,v,P,$=!1,A=!1)=>{const{type:M,props:f,ref:d,children:y,dynamicChildren:w,shapeFlag:V,patchFlag:N,dirs:x,cacheIndex:I}=m;if(N===-2&&(A=!1),d!=null&&(Dt(),Vn(d,null,P,m,!0),Ut()),I!=null&&(v.renderCache[I]=void 0),V&256){v.ctx.deactivate(m);return}const q=V&1&&x,te=!_n(m);let me;if(te&&(me=f&&f.onVnodeBeforeUnmount)&&xt(me,v,m),V&6)be(m.component,P,$);else{if(V&128){m.suspense.unmount(P,$);return}q&&en(m,null,v,"beforeUnmount"),V&64?m.type.remove(m,v,P,de,$):w&&!w.hasOnce&&(M!==$e||N>0&&N&64)?Ee(w,v,P,!1,!0):(M===$e&&N&384||!A&&V&16)&&Ee(y,v,P),$&&re(m)}(te&&(me=f&&f.onVnodeUnmounted)||q)&<(()=>{me&&xt(me,v,m),q&&en(m,null,v,"unmounted")},P)},re=m=>{const{type:v,el:P,anchor:$,transition:A}=m;if(v===$e){ve(P,$);return}if(v===us){h(m);return}const M=()=>{s(P),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(m.shapeFlag&1&&A&&!A.persisted){const{leave:f,delayLeave:d}=A,y=()=>f(P,M);d?d(m.el,M,y):y()}else M()},ve=(m,v)=>{let P;for(;m!==v;)P=g(m),s(m),m=P;s(v)},be=(m,v,P)=>{const{bum:$,scope:A,job:M,subTree:f,um:d,m:y,a:w}=m;Fo(y),Fo(w),$&&rs($),A.stop(),M&&(M.flags|=8,ie(f,m,v,P)),d&<(d,v),lt(()=>{m.isUnmounted=!0},v)},Ee=(m,v,P,$=!1,A=!1,M=0)=>{for(let f=M;f<m.length;f++)ie(m[f],v,P,$,A)},_e=m=>{if(m.shapeFlag&6)return _e(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const v=g(m.anchor||m.el),P=v&&v[jc];return P?g(P):v};let ze=!1;const xe=(m,v,P)=>{let $;m==null?v._vnode&&(ie(v._vnode,null,null,!0),$=v._vnode.component):T(v._vnode||null,m,v,null,null,null,P),v._vnode=m,ze||(ze=!0,Co($),pa(),ze=!1)},de={p:T,um:ie,m:Z,r:re,mt:le,mc:D,pc:F,pbc:ge,n:_e,o:e};return{render:xe,hydrate:void 0,createApp:uu(xe)}}function cs({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 tn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Su(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Na(e,t,n=!1){const r=e.children,s=t.children;if(oe(r)&&oe(s))for(let o=0;o<r.length;o++){const l=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=zt(s[o]),a.el=l.el),!n&&a.patchFlag!==-2&&Na(l,a)),a.type===ar&&(a.patchFlag!==-1?a.el=l.el:a.__elIndex=o+(e.type===$e?1:0)),a.type===Wt&&!a.el&&(a.el=l.el)}}function Cu(e){const t=e.slice(),n=[0];let r,s,o,l,a;const i=e.length;for(r=0;r<i;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,l=n.length-1;o<l;)a=o+l>>1,e[n[a]]<c?o=a+1:l=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function Ma(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ma(t)}function Fo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Fa(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Fa(t.subTree):null}const $a=e=>e.__isSuspense;function Ru(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):$c(e)}const $e=Symbol.for("v-fgt"),ar=Symbol.for("v-txt"),Wt=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),jn=[];let it=null;function ee(e=!1){jn.push(it=e?null:[])}function Iu(){jn.pop(),it=jn[jn.length-1]||null}let zn=1;function Mr(e,t=!1){zn+=e,e<0&&it&&t&&(it.hasOnce=!0)}function Da(e){return e.dynamicChildren=zn>0?it||hn:null,Iu(),zn>0&&it&&it.push(e),e}function ue(e,t,n,r,s,o){return Da(U(e,t,n,r,s,o,!0))}function Jt(e,t,n,r,s){return Da(X(e,t,n,r,s,!0))}function qn(e){return e?e.__v_isVNode===!0:!1}function Ln(e,t){return e.type===t.type&&e.key===t.key}const Ua=({key:e})=>e??null,Er=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Ne(e)||fe(e)?{i:Je,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,r=0,s=null,o=e===$e?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ua(t),ref:t&&Er(t),scopeId:ha,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Je};return a?(io(i,n),o&128&&e.normalize(i)):n&&(i.shapeFlag|=Ve(n)?8:16),zn>0&&!l&&it&&(i.patchFlag>0||o&6)&&i.patchFlag!==32&&it.push(i),i}const X=Lu;function Lu(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===tu)&&(e=Wt),qn(e)){const a=xn(e,t,!0);return n&&io(a,n),zn>0&&!o&&it&&(a.shapeFlag&6?it[it.indexOf(e)]=a:it.push(a)),a.patchFlag=-2,a}if(Du(e)&&(e=e.__vccOpts),t){t=Pu(t);let{class:a,style:i}=t;a&&!Ve(a)&&(t.class=at(a)),Ae(i)&&(zr(i)&&!oe(i)&&(i=Be({},i)),t.style=rr(i))}const l=Ve(e)?1:$a(e)?128:Hc(e)?64:Ae(e)?4:fe(e)?2:0;return U(e,t,n,r,s,l,o,!0)}function Pu(e){return e?zr(e)||Ra(e)?Be({},e):e:null}function xn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:l,children:a,transition:i}=e,c=t?un(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ua(c),ref:t&&t.ref?n&&o?oe(o)?o.concat(Er(t)):[o,Er(t)]:Er(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&xn(e.ssContent),ssFallback:e.ssFallback&&xn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&r&&ro(u,i.clone(u)),u}function nt(e=" ",t=0){return X(ar,null,e,t)}function mt(e="",t=!1){return t?(ee(),Jt(Wt,null,e)):X(Wt,null,e)}function Et(e){return e==null||typeof e=="boolean"?X(Wt):oe(e)?X($e,null,e.slice()):qn(e)?zt(e):X(ar,null,String(e))}function zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:xn(e)}function io(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),io(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Ra(t)?t._ctx=Je:s===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else fe(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),r&64?(n=16,t=[nt(t)]):n=8);e.children=t,e.shapeFlag|=n}function un(...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=at([t.class,r.class]));else if(s==="style")t.style=rr([t.style,r.style]);else if(Wr(s)){const o=t[s],l=r[s];l&&o!==l&&!(oe(o)&&o.includes(l))&&(t[s]=o?[].concat(o,l):l)}else s!==""&&(t[s]=r[s])}return t}function xt(e,t,n,r=null){Rt(e,t,7,[n,r])}const Ou=ka();let Au=0;function Nu(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Ou,o={uid:Au++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ql(!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:La(r,s),emitsOptions:Ea(r,s),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:r.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=du.bind(null,o),e.ce&&e.ce(o),o}let Ze=null;const Xr=()=>Ze||Je;let Fr,Is;{const e=Br(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(l=>l(o)):s[0](o)}};Fr=t("__VUE_INSTANCE_SETTERS__",n=>Ze=n),Is=t("__VUE_SSR_SETTERS__",n=>Yn=n)}const ir=e=>{const t=Ze;return Fr(e),e.scope.on(),()=>{e.scope.off(),Fr(t)}},$o=()=>{Ze&&Ze.scope.off(),Fr(null)};function Va(e){return e.vnode.shapeFlag&4}let Yn=!1;function Mu(e,t=!1,n=!1){t&&Is(t);const{props:r,children:s}=e.vnode,o=Va(e);_u(e,r,o,t),wu(e,s,n||t);const l=o?Fu(e,t):void 0;return t&&Is(!1),l}function Fu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nu);const{setup:r}=n;if(r){Dt();const s=e.setupContext=r.length>1?ja(e):null,o=ir(e),l=sr(r,e,0,[e.props,s]),a=Vl(l);if(Ut(),o(),(a||e.sp)&&!_n(e)&&_a(e),a){if(l.then($o,$o),t)return l.then(i=>{Do(e,i)}).catch(i=>{qr(i,e,0)});e.asyncDep=l}else Do(e,l)}else Wa(e)}function Do(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ae(t)&&(e.setupState=ua(t)),Wa(e)}function Wa(e,t,n){const r=e.type;e.render||(e.render=r.render||St);{const s=ir(e);Dt();try{su(e)}finally{Ut(),s()}}}const $u={get(e,t){return Ye(e,"get",""),e[t]}};function ja(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,$u),slots:e.slots,emit:e.emit,expose:t}}function Qr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ua(Tc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wn)return Wn[n](e)},has(t,n){return n in t||n in Wn}})):e.proxy}function Du(e){return fe(e)&&"__vccOpts"in e}const ne=(e,t)=>Pc(e,t,Yn);function Ha(e,t,n){try{Mr(-1);const r=arguments.length;return r===2?Ae(t)&&!oe(t)?qn(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&qn(n)&&(n=[n]),X(e,t,n))}finally{Mr(1)}}const Uu="3.5.27";let Ls;const Uo=typeof window<"u"&&window.trustedTypes;if(Uo)try{Ls=Uo.createPolicy("vue",{createHTML:e=>e})}catch{}const Ga=Ls?e=>Ls.createHTML(e):e=>e,Vu="http://www.w3.org/2000/svg",Wu="http://www.w3.org/1998/Math/MathML",Ot=typeof document<"u"?document:null,Vo=Ot&&Ot.createElement("template"),ju={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"?Ot.createElementNS(Vu,e):t==="mathml"?Ot.createElementNS(Wu,e):n?Ot.createElement(e,{is:n}):Ot.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ot.createTextNode(e),createComment:e=>Ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const l=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Vo.innerHTML=Ga(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Vo.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Hu=Symbol("_vtc");function Gu(e,t,n){const r=e[Hu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $r=Symbol("_vod"),Ba=Symbol("_vsh"),hr={name:"show",beforeMount(e,{value:t},{transition:n}){e[$r]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Pn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Pn(e,!0),r.enter(e)):r.leave(e,()=>{Pn(e,!1)}):Pn(e,t))},beforeUnmount(e,{value:t}){Pn(e,t)}};function Pn(e,t){e.style.display=t?e[$r]:"none",e[Ba]=!t}const Bu=Symbol(""),Ku=/(?:^|;)\s*display\s*:/;function zu(e,t,n){const r=e.style,s=Ve(n);let o=!1;if(n&&!s){if(t)if(Ve(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Sr(r,a,"")}else for(const l in t)n[l]==null&&Sr(r,l,"");for(const l in n)l==="display"&&(o=!0),Sr(r,l,n[l])}else if(s){if(t!==n){const l=r[Bu];l&&(n+=";"+l),r.cssText=n,o=Ku.test(n)}}else t&&e.removeAttribute("style");$r in e&&(e[$r]=o?r.display:"",e[Ba]&&(r.display="none"))}const Wo=/\s*!important$/;function Sr(e,t,n){if(oe(n))n.forEach(r=>Sr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=qu(e,t);Wo.test(n)?e.setProperty(cn(r),n.replace(Wo,""),"important"):e[r]=n}}const jo=["Webkit","Moz","ms"],fs={};function qu(e,t){const n=fs[t];if(n)return n;let r=Yt(t);if(r!=="filter"&&r in e)return fs[t]=r;r=Hl(r);for(let s=0;s<jo.length;s++){const o=jo[s]+r;if(o in e)return fs[t]=o}return t}const Ho="http://www.w3.org/1999/xlink";function Go(e,t,n,r,s,o=ec(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ho,t.slice(6,t.length)):e.setAttributeNS(Ho,t,n):n==null||o&&!Bl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":jt(n)?String(n):n)}function Bo(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ga(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,i=n==null?e.type==="checkbox"?"on":"":String(n);(a!==i||!("_value"in e))&&(e.value=i),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Bl(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(s||t)}function Yu(e,t,n,r){e.addEventListener(t,n,r)}function Ju(e,t,n,r){e.removeEventListener(t,n,r)}const Ko=Symbol("_vei");function Xu(e,t,n,r,s=null){const o=e[Ko]||(e[Ko]={}),l=o[t];if(r&&l)l.value=r;else{const[a,i]=Qu(t);if(r){const c=o[t]=tf(r,s);Yu(e,a,c,i)}else l&&(Ju(e,a,l,i),o[t]=void 0)}}const zo=/(?:Once|Passive|Capture)$/;function Qu(e){let t;if(zo.test(e)){t={};let r;for(;r=e.match(zo);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):cn(e.slice(2)),t]}let ds=0;const Zu=Promise.resolve(),ef=()=>ds||(Zu.then(()=>ds=0),ds=Date.now());function tf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Rt(nf(r,n.value),t,5,[r])};return n.value=e,n.attached=ef(),n}function nf(e,t){if(oe(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 qo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,rf=(e,t,n,r,s,o)=>{const l=s==="svg";t==="class"?Gu(e,r,l):t==="style"?zu(e,n,r):Wr(t)?zs(t)||Xu(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sf(e,t,r,l))?(Bo(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Go(e,t,r,l,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ve(r))?Bo(e,Yt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Go(e,t,r,l))};function sf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&qo(t)&&fe(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 qo(t)&&Ve(n)?!1:t in e}const of=Be({patchProp:rf},ju);let Yo;function lf(){return Yo||(Yo=ku(of))}const af=((...e)=>{const t=lf().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=uf(r);if(!s)return;const o=t._component;!fe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const l=n(s,!1,cf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t});function cf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function uf(e){return Ve(e)?document.querySelector(e):e}function ff(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Dr=typeof window<"u",Xt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),df=(e,t,n)=>pf({l:e,k:t,s:n}),pf=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ue=e=>typeof e=="number"&&isFinite(e),mf=e=>co(e)==="[object Date]",wn=e=>co(e)==="[object RegExp]",Zr=e=>he(e)&&Object.keys(e).length===0,He=Object.assign,hf=Object.create,Re=(e=null)=>hf(e);let Jo;const sn=()=>Jo||(Jo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Re());function Xo(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Qo(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function gf(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,o)=>`${s}="${Qo(o)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,o)=>`${s}='${Qo(o)}'`),/\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 bf=Object.prototype.hasOwnProperty;function ht(e,t){return bf.call(e,t)}const Me=Array.isArray,Oe=e=>typeof e=="function",H=e=>typeof e=="string",ye=e=>typeof e=="boolean",Te=e=>e!==null&&typeof e=="object",_f=e=>Te(e)&&Oe(e.then)&&Oe(e.catch),Ka=Object.prototype.toString,co=e=>Ka.call(e),he=e=>co(e)==="[object Object]",yf=e=>e==null?"":Me(e)||he(e)&&e.toString===Ka?JSON.stringify(e,null,2):String(e);function uo(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const gr=e=>!Te(e)||Me(e);function Cr(e,t){if(gr(e)||gr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(Te(r[o])&&!Te(s[o])&&(s[o]=Array.isArray(r[o])?[]:Re()),gr(s[o])||gr(r[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]}))})}}function vf(e,t,n){return{line:e,column:t,offset:n}}function Ps(e,t,n){return{start:e,end:t}}const Se={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},xf=17;function es(e,t,n={}){const{domain:r,messages:s,args:o}=n,l=e,a=new SyntaxError(String(l));return a.code=e,t&&(a.location=t),a.domain=r,a}function wf(e){throw e}const wt=" ",Tf="\r",qe=`
|
|
2
|
+
`,kf="\u2028",Ef="\u2029";function Sf(e){const t=e;let n=0,r=1,s=1,o=0;const l=L=>t[L]===Tf&&t[L+1]===qe,a=L=>t[L]===qe,i=L=>t[L]===Ef,c=L=>t[L]===kf,u=L=>l(L)||a(L)||i(L)||c(L),p=()=>n,g=()=>r,b=()=>s,S=()=>o,T=L=>l(L)||i(L)||c(L)?qe:t[L],O=()=>T(n),_=()=>T(n+o);function C(){return o=0,u(n)&&(r++,s=0),l(n)&&n++,n++,s++,t[n]}function k(){return l(n+o)&&o++,o++,t[n+o]}function h(){n=0,r=1,s=1,o=0}function E(L=0){o=L}function R(){const L=n+o;for(;L!==n;)C();o=0}return{index:p,line:g,column:b,peekOffset:S,charAt:T,currentChar:O,currentPeek:_,next:C,peek:k,reset:h,resetPeek:E,skipToPeek:R}}const Lt=void 0,Cf=".",Zo="'",Rf="tokenizer";function If(e,t={}){const n=t.location!==!1,r=Sf(e),s=()=>r.index(),o=()=>vf(r.line(),r.column(),r.index()),l=o(),a=s(),i={currentType:13,offset:a,startLoc:l,endLoc:l,lastType:13,lastOffset:a,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},c=()=>i,{onError:u}=t;function p(f,d,y,...w){const V=c();if(d.column+=y,d.offset+=y,u){const N=n?Ps(V.startLoc,d):null,x=es(f,N,{domain:Rf,args:w});u(x)}}function g(f,d,y){f.endLoc=o(),f.currentType=d;const w={type:d};return n&&(w.loc=Ps(f.startLoc,f.endLoc)),y!=null&&(w.value=y),w}const b=f=>g(f,13);function S(f,d){return f.currentChar()===d?(f.next(),d):(p(Se.EXPECTED_TOKEN,o(),0,d),"")}function T(f){let d="";for(;f.currentPeek()===wt||f.currentPeek()===qe;)d+=f.currentPeek(),f.peek();return d}function O(f){const d=T(f);return f.skipToPeek(),d}function _(f){if(f===Lt)return!1;const d=f.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function C(f){if(f===Lt)return!1;const d=f.charCodeAt(0);return d>=48&&d<=57}function k(f,d){const{currentType:y}=d;if(y!==2)return!1;T(f);const w=_(f.currentPeek());return f.resetPeek(),w}function h(f,d){const{currentType:y}=d;if(y!==2)return!1;T(f);const w=f.currentPeek()==="-"?f.peek():f.currentPeek(),V=C(w);return f.resetPeek(),V}function E(f,d){const{currentType:y}=d;if(y!==2)return!1;T(f);const w=f.currentPeek()===Zo;return f.resetPeek(),w}function R(f,d){const{currentType:y}=d;if(y!==7)return!1;T(f);const w=f.currentPeek()===".";return f.resetPeek(),w}function L(f,d){const{currentType:y}=d;if(y!==8)return!1;T(f);const w=_(f.currentPeek());return f.resetPeek(),w}function D(f,d){const{currentType:y}=d;if(!(y===7||y===11))return!1;T(f);const w=f.currentPeek()===":";return f.resetPeek(),w}function J(f,d){const{currentType:y}=d;if(y!==9)return!1;const w=()=>{const N=f.currentPeek();return N==="{"?_(f.peek()):N==="@"||N==="|"||N===":"||N==="."||N===wt||!N?!1:N===qe?(f.peek(),w()):ke(f,!1)},V=w();return f.resetPeek(),V}function ge(f){T(f);const d=f.currentPeek()==="|";return f.resetPeek(),d}function ke(f,d=!0){const y=(V=!1,N="")=>{const x=f.currentPeek();return x==="{"||x==="@"||!x?V:x==="|"?!(N===wt||N===qe):x===wt?(f.peek(),y(!0,wt)):x===qe?(f.peek(),y(!0,qe)):!0},w=y();return d&&f.resetPeek(),w}function se(f,d){const y=f.currentChar();return y===Lt?Lt:d(y)?(f.next(),y):null}function De(f){const d=f.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function le(f){return se(f,De)}function ae(f){const d=f.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function K(f){return se(f,ae)}function z(f){const d=f.charCodeAt(0);return d>=48&&d<=57}function F(f){return se(f,z)}function j(f){const d=f.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function Y(f){return se(f,j)}function Z(f){let d="",y="";for(;d=F(f);)y+=d;return y}function ie(f){let d="";for(;;){const y=f.currentChar();if(y==="{"||y==="}"||y==="@"||y==="|"||!y)break;if(y===wt||y===qe)if(ke(f))d+=y,f.next();else{if(ge(f))break;d+=y,f.next()}else d+=y,f.next()}return d}function re(f){O(f);let d="",y="";for(;d=K(f);)y+=d;const w=f.currentChar();if(w&&w!=="}"&&w!==Lt&&w!==wt&&w!==qe&&w!==" "){const V=de(f);return p(Se.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,y+V),y+V}return f.currentChar()===Lt&&p(Se.UNTERMINATED_CLOSING_BRACE,o(),0),y}function ve(f){O(f);let d="";return f.currentChar()==="-"?(f.next(),d+=`-${Z(f)}`):d+=Z(f),f.currentChar()===Lt&&p(Se.UNTERMINATED_CLOSING_BRACE,o(),0),d}function be(f){return f!==Zo&&f!==qe}function Ee(f){O(f),S(f,"'");let d="",y="";for(;d=se(f,be);)d==="\\"?y+=_e(f):y+=d;const w=f.currentChar();return w===qe||w===Lt?(p(Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),w===qe&&(f.next(),S(f,"'")),y):(S(f,"'"),y)}function _e(f){const d=f.currentChar();switch(d){case"\\":case"'":return f.next(),`\\${d}`;case"u":return ze(f,d,4);case"U":return ze(f,d,6);default:return p(Se.UNKNOWN_ESCAPE_SEQUENCE,o(),0,d),""}}function ze(f,d,y){S(f,d);let w="";for(let V=0;V<y;V++){const N=Y(f);if(!N){p(Se.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${d}${w}${f.currentChar()}`);break}w+=N}return`\\${d}${w}`}function xe(f){return f!=="{"&&f!=="}"&&f!==wt&&f!==qe}function de(f){O(f);let d="",y="";for(;d=se(f,xe);)y+=d;return y}function Ge(f){let d="",y="";for(;d=le(f);)y+=d;return y}function m(f){const d=y=>{const w=f.currentChar();return w==="{"||w==="@"||w==="|"||w==="("||w===")"||!w||w===wt?y:(y+=w,f.next(),d(y))};return d("")}function v(f){O(f);const d=S(f,"|");return O(f),d}function P(f,d){let y=null;switch(f.currentChar()){case"{":return d.braceNest>=1&&p(Se.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),f.next(),y=g(d,2,"{"),O(f),d.braceNest++,y;case"}":return d.braceNest>0&&d.currentType===2&&p(Se.EMPTY_PLACEHOLDER,o(),0),f.next(),y=g(d,3,"}"),d.braceNest--,d.braceNest>0&&O(f),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),y;case"@":return d.braceNest>0&&p(Se.UNTERMINATED_CLOSING_BRACE,o(),0),y=$(f,d)||b(d),d.braceNest=0,y;default:{let V=!0,N=!0,x=!0;if(ge(f))return d.braceNest>0&&p(Se.UNTERMINATED_CLOSING_BRACE,o(),0),y=g(d,1,v(f)),d.braceNest=0,d.inLinked=!1,y;if(d.braceNest>0&&(d.currentType===4||d.currentType===5||d.currentType===6))return p(Se.UNTERMINATED_CLOSING_BRACE,o(),0),d.braceNest=0,A(f,d);if(V=k(f,d))return y=g(d,4,re(f)),O(f),y;if(N=h(f,d))return y=g(d,5,ve(f)),O(f),y;if(x=E(f,d))return y=g(d,6,Ee(f)),O(f),y;if(!V&&!N&&!x)return y=g(d,12,de(f)),p(Se.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,y.value),O(f),y;break}}return y}function $(f,d){const{currentType:y}=d;let w=null;const V=f.currentChar();switch((y===7||y===8||y===11||y===9)&&(V===qe||V===wt)&&p(Se.INVALID_LINKED_FORMAT,o(),0),V){case"@":return f.next(),w=g(d,7,"@"),d.inLinked=!0,w;case".":return O(f),f.next(),g(d,8,".");case":":return O(f),f.next(),g(d,9,":");default:return ge(f)?(w=g(d,1,v(f)),d.braceNest=0,d.inLinked=!1,w):R(f,d)||D(f,d)?(O(f),$(f,d)):L(f,d)?(O(f),g(d,11,Ge(f))):J(f,d)?(O(f),V==="{"?P(f,d)||w:g(d,10,m(f))):(y===7&&p(Se.INVALID_LINKED_FORMAT,o(),0),d.braceNest=0,d.inLinked=!1,A(f,d))}}function A(f,d){let y={type:13};if(d.braceNest>0)return P(f,d)||b(d);if(d.inLinked)return $(f,d)||b(d);switch(f.currentChar()){case"{":return P(f,d)||b(d);case"}":return p(Se.UNBALANCED_CLOSING_BRACE,o(),0),f.next(),g(d,3,"}");case"@":return $(f,d)||b(d);default:{if(ge(f))return y=g(d,1,v(f)),d.braceNest=0,d.inLinked=!1,y;if(ke(f))return g(d,0,ie(f));break}}return y}function M(){const{currentType:f,offset:d,startLoc:y,endLoc:w}=i;return i.lastType=f,i.lastOffset=d,i.lastStartLoc=y,i.lastEndLoc=w,i.offset=s(),i.startLoc=o(),r.currentChar()===Lt?g(i,13):A(r,i)}return{nextToken:M,currentOffset:s,currentPosition:o,context:c}}const Lf="parser",Pf=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Of(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 Af(e={}){const t=e.location!==!1,{onError:n}=e;function r(_,C,k,h,...E){const R=_.currentPosition();if(R.offset+=h,R.column+=h,n){const L=t?Ps(k,R):null,D=es(C,L,{domain:Lf,args:E});n(D)}}function s(_,C,k){const h={type:_};return t&&(h.start=C,h.end=C,h.loc={start:k,end:k}),h}function o(_,C,k,h){t&&(_.end=C,_.loc&&(_.loc.end=k))}function l(_,C){const k=_.context(),h=s(3,k.offset,k.startLoc);return h.value=C,o(h,_.currentOffset(),_.currentPosition()),h}function a(_,C){const k=_.context(),{lastOffset:h,lastStartLoc:E}=k,R=s(5,h,E);return R.index=parseInt(C,10),_.nextToken(),o(R,_.currentOffset(),_.currentPosition()),R}function i(_,C){const k=_.context(),{lastOffset:h,lastStartLoc:E}=k,R=s(4,h,E);return R.key=C,_.nextToken(),o(R,_.currentOffset(),_.currentPosition()),R}function c(_,C){const k=_.context(),{lastOffset:h,lastStartLoc:E}=k,R=s(9,h,E);return R.value=C.replace(Pf,Of),_.nextToken(),o(R,_.currentOffset(),_.currentPosition()),R}function u(_){const C=_.nextToken(),k=_.context(),{lastOffset:h,lastStartLoc:E}=k,R=s(8,h,E);return C.type!==11?(r(_,Se.UNEXPECTED_EMPTY_LINKED_MODIFIER,k.lastStartLoc,0),R.value="",o(R,h,E),{nextConsumeToken:C,node:R}):(C.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Tt(C)),R.value=C.value||"",o(R,_.currentOffset(),_.currentPosition()),{node:R})}function p(_,C){const k=_.context(),h=s(7,k.offset,k.startLoc);return h.value=C,o(h,_.currentOffset(),_.currentPosition()),h}function g(_){const C=_.context(),k=s(6,C.offset,C.startLoc);let h=_.nextToken();if(h.type===8){const E=u(_);k.modifier=E.node,h=E.nextConsumeToken||_.nextToken()}switch(h.type!==9&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(h)),h=_.nextToken(),h.type===2&&(h=_.nextToken()),h.type){case 10:h.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(h)),k.key=p(_,h.value||"");break;case 4:h.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(h)),k.key=i(_,h.value||"");break;case 5:h.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(h)),k.key=a(_,h.value||"");break;case 6:h.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(h)),k.key=c(_,h.value||"");break;default:{r(_,Se.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const E=_.context(),R=s(7,E.offset,E.startLoc);return R.value="",o(R,E.offset,E.startLoc),k.key=R,o(k,E.offset,E.startLoc),{nextConsumeToken:h,node:k}}}return o(k,_.currentOffset(),_.currentPosition()),{node:k}}function b(_){const C=_.context(),k=C.currentType===1?_.currentOffset():C.offset,h=C.currentType===1?C.endLoc:C.startLoc,E=s(2,k,h);E.items=[];let R=null;do{const J=R||_.nextToken();switch(R=null,J.type){case 0:J.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(J)),E.items.push(l(_,J.value||""));break;case 5:J.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(J)),E.items.push(a(_,J.value||""));break;case 4:J.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(J)),E.items.push(i(_,J.value||""));break;case 6:J.value==null&&r(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Tt(J)),E.items.push(c(_,J.value||""));break;case 7:{const ge=g(_);E.items.push(ge.node),R=ge.nextConsumeToken||null;break}}}while(C.currentType!==13&&C.currentType!==1);const L=C.currentType===1?C.lastOffset:_.currentOffset(),D=C.currentType===1?C.lastEndLoc:_.currentPosition();return o(E,L,D),E}function S(_,C,k,h){const E=_.context();let R=h.items.length===0;const L=s(1,C,k);L.cases=[],L.cases.push(h);do{const D=b(_);R||(R=D.items.length===0),L.cases.push(D)}while(E.currentType!==13);return R&&r(_,Se.MUST_HAVE_MESSAGES_IN_PLURAL,k,0),o(L,_.currentOffset(),_.currentPosition()),L}function T(_){const C=_.context(),{offset:k,startLoc:h}=C,E=b(_);return C.currentType===13?E:S(_,k,h,E)}function O(_){const C=If(_,He({},e)),k=C.context(),h=s(0,k.offset,k.startLoc);return t&&h.loc&&(h.loc.source=_),h.body=T(C),e.onCacheKey&&(h.cacheKey=e.onCacheKey(_)),k.currentType!==13&&r(C,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,_[k.offset]||""),o(h,C.currentOffset(),C.currentPosition()),h}return{parse:O}}function Tt(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 Nf(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function el(e,t){for(let n=0;n<e.length;n++)fo(e[n],t)}function fo(e,t){switch(e.type){case 1:el(e.cases,t),t.helper("plural");break;case 2:el(e.items,t);break;case 6:{fo(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 Mf(e,t={}){const n=Nf(e);n.helper("normalize"),e.body&&fo(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ff(e){const t=e.body;return t.type===2?tl(t):t.cases.forEach(n=>tl(n)),e}function tl(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=uo(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 mn(e){switch(e.t=e.type,e.type){case 0:{const t=e;mn(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++)mn(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++)mn(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;mn(t.key),t.k=t.key,delete t.key,t.modifier&&(mn(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 $f(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,o=t.location!==!1,l={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};o&&e.loc&&(l.source=e.loc.source);const a=()=>l;function i(T,O){l.code+=T}function c(T,O=!0){const _=O?r:"";i(s?_+" ".repeat(T):_)}function u(T=!0){const O=++l.indentLevel;T&&c(O)}function p(T=!0){const O=--l.indentLevel;T&&c(O)}function g(){c(l.indentLevel)}return{context:a,push:i,indent:u,deindent:p,newline:g,helper:T=>`_${T}`,needIndent:()=>l.needIndent}}function Df(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Tn(e,t.key),t.modifier?(e.push(", "),Tn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Uf(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(Tn(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function Vf(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(Tn(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Wf(e,t){t.body?Tn(e,t.body):e.push("null")}function Tn(e,t){const{helper:n}=e;switch(t.type){case 0:Wf(e,t);break;case 1:Vf(e,t);break;case 2:Uf(e,t);break;case 6:Df(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 jf=(e,t={})=>{const n=H(t.mode)?t.mode:"normal",r=H(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
+
`,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],a=$f(e,{filename:r,breakLineCode:s,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),l.length>0&&(a.push(`const { ${uo(l.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),Tn(a,e),a.deindent(o),a.push("}"),delete e.helpers;const{code:i,map:c}=a.context();return{ast:e,code:i,map:c?c.toJSON():void 0}};function Hf(e,t={}){const n=He({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=Af(n).parse(e);return r?(o&&Ff(a),s&&mn(a),{ast:a,code:""}):(Mf(a,n),jf(a,n))}function Gf(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(sn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Ct(e){return Te(e)&&po(e)===0&&(ht(e,"b")||ht(e,"body"))}const za=["b","body"];function Bf(e){return Qt(e,za)}const qa=["c","cases"];function Kf(e){return Qt(e,qa,[])}const Ya=["s","static"];function zf(e){return Qt(e,Ya)}const Ja=["i","items"];function qf(e){return Qt(e,Ja,[])}const Xa=["t","type"];function po(e){return Qt(e,Xa)}const Qa=["v","value"];function br(e,t){const n=Qt(e,Qa);if(n!=null)return n;throw Jn(t)}const Za=["m","modifier"];function Yf(e){return Qt(e,Za)}const ei=["k","key"];function Jf(e){const t=Qt(e,ei);if(t)return t;throw Jn(6)}function Qt(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(ht(e,s)&&e[s]!=null)return e[s]}return n}const ti=[...za,...qa,...Ya,...Ja,...ei,...Za,...Qa,...Xa];function Jn(e){return new Error(`unhandled node type: ${e}`)}function ps(e){return n=>Xf(n,e)}function Xf(e,t){const n=Bf(t);if(n==null)throw Jn(0);if(po(n)===1){const o=Kf(n);return e.plural(o.reduce((l,a)=>[...l,nl(e,a)],[]))}else return nl(e,n)}function nl(e,t){const n=zf(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=qf(t).reduce((s,o)=>[...s,Os(e,o)],[]);return e.normalize(r)}}function Os(e,t){const n=po(t);switch(n){case 3:return br(t,n);case 9:return br(t,n);case 4:{const r=t;if(ht(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(ht(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Jn(n)}case 5:{const r=t;if(ht(r,"i")&&Ue(r.i))return e.interpolate(e.list(r.i));if(ht(r,"index")&&Ue(r.index))return e.interpolate(e.list(r.index));throw Jn(n)}case 6:{const r=t,s=Yf(r),o=Jf(r);return e.linked(Os(e,o),s?Os(e,s):void 0,e.type)}case 7:return br(t,n);case 8:return br(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Qf=e=>e;let _r=Re();function Zf(e,t={}){let n=!1;const r=t.onError||wf;return t.onError=s=>{n=!0,r(s)},{...Hf(e,t),detectError:n}}function ed(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&H(e)){ye(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Qf)(e),s=_r[r];if(s)return s;const{ast:o,detectError:l}=Zf(e,{...t,location:!1,jit:!0}),a=ps(o);return l?a:_r[r]=a}else{const n=e.cacheKey;if(n){const r=_r[n];return r||(_r[n]=ps(e))}else return ps(e)}}let Xn=null;function td(e){Xn=e}function nd(e,t,n){Xn&&Xn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const rd=sd("function:translate");function sd(e){return t=>Xn&&Xn.emit(e,t)}const Ft={INVALID_ARGUMENT:xf,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},od=24;function $t(e){return es(e,null,void 0)}function mo(e,t){return t.locale!=null?rl(t.locale):rl(e.locale)}let ms;function rl(e){if(H(e))return e;if(Oe(e)){if(e.resolvedOnce&&ms!=null)return ms;if(e.constructor.name==="Function"){const t=e();if(_f(t))throw $t(Ft.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ms=t}else throw $t(Ft.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $t(Ft.NOT_SUPPORT_LOCALE_TYPE)}function ld(e,t,n){return[...new Set([n,...Me(t)?t:Te(t)?Object.keys(t):H(t)?[t]:[n]])]}function ni(e,t,n){const r=H(n)?n:Qn,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let l=[n];for(;Me(l);)l=sl(o,l,t);const a=Me(t)||!he(t)?t:t.default?t.default:null;l=H(a)?[a]:a,Me(l)&&sl(o,l,!1),s.__localeChainCache.set(r,o)}return o}function sl(e,t,n){let r=!0;for(let s=0;s<t.length&&ye(r);s++){const o=t[s];H(o)&&(r=ad(e,t[s],n))}return r}function ad(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=id(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function id(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),(Me(n)||he(n))&&n[s]&&(r=n[s])}return r}const Zt=[];Zt[0]={w:[0],i:[3,0],"[":[4],o:[7]};Zt[1]={w:[1],".":[2],"[":[4],o:[7]};Zt[2]={w:[2],i:[3,0],0:[3,0]};Zt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Zt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Zt[5]={"'":[4,0],o:8,l:[5,0]};Zt[6]={'"':[4,0],o:8,l:[6,0]};const cd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ud(e){return cd.test(e)}function fd(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 dd(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 pd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ud(t)?fd(t):"*"+t}function md(e){const t=[];let n=-1,r=0,s=0,o,l,a,i,c,u,p;const g=[];g[0]=()=>{l===void 0?l=a:l+=a},g[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},g[2]=()=>{g[0](),s++},g[3]=()=>{if(s>0)s--,r=4,g[0]();else{if(s=0,l===void 0||(l=pd(l),l===!1))return!1;g[1]()}};function b(){const S=e[n+1];if(r===5&&S==="'"||r===6&&S==='"')return n++,a="\\"+S,g[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&b())){if(i=dd(o),p=Zt[r],c=p[i]||p.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=g[c[1]],u&&(a=o,u()===!1))))return;if(r===7)return t}}const ol=new Map;function hd(e,t){return Te(e)?e[t]:null}function gd(e,t){if(!Te(e))return null;let n=ol.get(t);if(n||(n=md(t),n&&ol.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const l=n[o];if(ti.includes(l)&&Ct(s))return null;const a=s[l];if(a===void 0||Oe(s))return null;s=a,o++}return s}const bd="11.2.8",ts=-1,Qn="en-US",ll="",al=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function _d(){return{upper:(e,t)=>t==="text"&&H(e)?e.toUpperCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&H(e)?e.toLowerCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&H(e)?al(e):t==="vnode"&&Te(e)&&"__v_isVNode"in e?al(e.children):e}}let ri;function yd(e){ri=e}let si;function vd(e){si=e}let oi;function xd(e){oi=e}let li=null;const wd=e=>{li=e},Td=()=>li;let ai=null;const il=e=>{ai=e},kd=()=>ai;let cl=0;function Ed(e={}){const t=Oe(e.onWarn)?e.onWarn:ff,n=H(e.version)?e.version:bd,r=H(e.locale)||Oe(e.locale)?e.locale:Qn,s=Oe(r)?Qn:r,o=Me(e.fallbackLocale)||he(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,l=he(e.messages)?e.messages:hs(s),a=he(e.datetimeFormats)?e.datetimeFormats:hs(s),i=he(e.numberFormats)?e.numberFormats:hs(s),c=He(Re(),e.modifiers,_d()),u=e.pluralRules||Re(),p=Oe(e.missing)?e.missing:null,g=ye(e.missingWarn)||wn(e.missingWarn)?e.missingWarn:!0,b=ye(e.fallbackWarn)||wn(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,T=!!e.unresolving,O=Oe(e.postTranslation)?e.postTranslation:null,_=he(e.processor)?e.processor:null,C=ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter,h=Oe(e.messageCompiler)?e.messageCompiler:ri,E=Oe(e.messageResolver)?e.messageResolver:si||hd,R=Oe(e.localeFallbacker)?e.localeFallbacker:oi||ld,L=Te(e.fallbackContext)?e.fallbackContext:void 0,D=e,J=Te(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,ge=Te(D.__numberFormatters)?D.__numberFormatters:new Map,ke=Te(D.__meta)?D.__meta:{};cl++;const se={version:n,cid:cl,locale:r,fallbackLocale:o,messages:l,modifiers:c,pluralRules:u,missing:p,missingWarn:g,fallbackWarn:b,fallbackFormat:S,unresolving:T,postTranslation:O,processor:_,warnHtmlMessage:C,escapeParameter:k,messageCompiler:h,messageResolver:E,localeFallbacker:R,fallbackContext:L,onWarn:t,__meta:ke};return se.datetimeFormats=a,se.numberFormats=i,se.__datetimeFormatters=J,se.__numberFormatters=ge,__INTLIFY_PROD_DEVTOOLS__&&nd(se,n,ke),se}const hs=e=>({[e]:Re()});function ho(e,t,n,r,s){const{missing:o,onWarn:l}=e;if(o!==null){const a=o(e,n,t,s);return H(a)?a:t}else return t}function On(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Sd(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Cd(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Sd(e,t[r]))return!0;return!1}function ul(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:l}=e,{__datetimeFormatters:a}=e,[i,c,u,p]=As(...t),g=ye(u.missingWarn)?u.missingWarn:e.missingWarn;ye(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const b=!!u.part,S=mo(e,u),T=l(e,s,S);if(!H(i)||i==="")return new Intl.DateTimeFormat(S,p).format(c);let O={},_,C=null;const k="datetime format";for(let R=0;R<T.length&&(_=T[R],O=n[_]||{},C=O[i],!he(C));R++)ho(e,i,_,g,k);if(!he(C)||!H(_))return r?ts:i;let h=`${_}__${i}`;Zr(p)||(h=`${h}__${JSON.stringify(p)}`);let E=a.get(h);return E||(E=new Intl.DateTimeFormat(_,He({},C,p)),a.set(h,E)),b?E.formatToParts(c):E.format(c)}const ii=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function As(...e){const[t,n,r,s]=e,o=Re();let l=Re(),a;if(H(t)){const i=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!i)throw $t(Ft.INVALID_ISO_DATE_ARGUMENT);const c=i[3]?i[3].trim().startsWith("T")?`${i[1].trim()}${i[3].trim()}`:`${i[1].trim()}T${i[3].trim()}`:i[1].trim();a=new Date(c);try{a.toISOString()}catch{throw $t(Ft.INVALID_ISO_DATE_ARGUMENT)}}else if(mf(t)){if(isNaN(t.getTime()))throw $t(Ft.INVALID_DATE_ARGUMENT);a=t}else if(Ue(t))a=t;else throw $t(Ft.INVALID_ARGUMENT);return H(n)?o.key=n:he(n)&&Object.keys(n).forEach(i=>{ii.includes(i)?l[i]=n[i]:o[i]=n[i]}),H(r)?o.locale=r:he(r)&&(l=r),he(s)&&(l=s),[o.key||"",a,o,l]}function fl(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function dl(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:l}=e,{__numberFormatters:a}=e,[i,c,u,p]=Ns(...t),g=ye(u.missingWarn)?u.missingWarn:e.missingWarn;ye(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const b=!!u.part,S=mo(e,u),T=l(e,s,S);if(!H(i)||i==="")return new Intl.NumberFormat(S,p).format(c);let O={},_,C=null;const k="number format";for(let R=0;R<T.length&&(_=T[R],O=n[_]||{},C=O[i],!he(C));R++)ho(e,i,_,g,k);if(!he(C)||!H(_))return r?ts:i;let h=`${_}__${i}`;Zr(p)||(h=`${h}__${JSON.stringify(p)}`);let E=a.get(h);return E||(E=new Intl.NumberFormat(_,He({},C,p)),a.set(h,E)),b?E.formatToParts(c):E.format(c)}const ci=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ns(...e){const[t,n,r,s]=e,o=Re();let l=Re();if(!Ue(t))throw $t(Ft.INVALID_ARGUMENT);const a=t;return H(n)?o.key=n:he(n)&&Object.keys(n).forEach(i=>{ci.includes(i)?l[i]=n[i]:o[i]=n[i]}),H(r)?o.locale=r:he(r)&&(l=r),he(s)&&(l=s),[o.key||"",a,o,l]}function pl(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const Rd=e=>e,Id=e=>"",Ld="text",Pd=e=>e.length===0?"":uo(e),Od=yf;function ml(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ad(e){const t=Ue(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ue(e.named.count)||Ue(e.named.n))?Ue(e.named.count)?e.named.count:Ue(e.named.n)?e.named.n:t:t}function Nd(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Md(e={}){const t=e.locale,n=Ad(e),r=Te(e.pluralRules)&&H(t)&&Oe(e.pluralRules[t])?e.pluralRules[t]:ml,s=Te(e.pluralRules)&&H(t)&&Oe(e.pluralRules[t])?ml:void 0,o=_=>_[r(n,_.length,s)],l=e.list||[],a=_=>l[_],i=e.named||Re();Ue(e.pluralIndex)&&Nd(n,i);const c=_=>i[_];function u(_,C){const k=Oe(e.messages)?e.messages(_,!!C):Te(e.messages)?e.messages[_]:!1;return k||(e.parent?e.parent.message(_):Id)}const p=_=>e.modifiers?e.modifiers[_]:Rd,g=he(e.processor)&&Oe(e.processor.normalize)?e.processor.normalize:Pd,b=he(e.processor)&&Oe(e.processor.interpolate)?e.processor.interpolate:Od,S=he(e.processor)&&H(e.processor.type)?e.processor.type:Ld,O={list:a,named:c,plural:o,linked:(_,...C)=>{const[k,h]=C;let E="text",R="";C.length===1?Te(k)?(R=k.modifier||R,E=k.type||E):H(k)&&(R=k||R):C.length===2&&(H(k)&&(R=k||R),H(h)&&(E=h||E));const L=u(_,!0)(O),D=E==="vnode"&&Me(L)&&R?L[0]:L;return R?p(R)(D,E):D},message:u,type:S,interpolate:b,normalize:g,values:He(Re(),l,i)};return O}const hl=()=>"",dt=e=>Oe(e);function gl(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:l,messages:a}=e,[i,c]=Ms(...t),u=ye(c.missingWarn)?c.missingWarn:e.missingWarn,p=ye(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,g=ye(c.escapeParameter)?c.escapeParameter:e.escapeParameter,b=!!c.resolvedMessage,S=H(c.default)||ye(c.default)?ye(c.default)?o?i:()=>i:c.default:n?o?i:()=>i:null,T=n||S!=null&&(H(S)||Oe(S)),O=mo(e,c);g&&Fd(c);let[_,C,k]=b?[i,O,a[O]||Re()]:ui(e,i,O,l,p,u),h=_,E=i;if(!b&&!(H(h)||Ct(h)||dt(h))&&T&&(h=S,E=h),!b&&(!(H(h)||Ct(h)||dt(h))||!H(C)))return s?ts:i;let R=!1;const L=()=>{R=!0},D=dt(h)?h:fi(e,i,C,h,E,L);if(R)return h;const J=Ud(e,C,k,c),ge=Md(J),ke=$d(e,D,ge);let se=r?r(ke,i):ke;if(g&&H(se)&&(se=gf(se)),__INTLIFY_PROD_DEVTOOLS__){const De={timestamp:Date.now(),key:H(i)?i:dt(h)?h.key:"",locale:C||(dt(h)?h.locale:""),format:H(h)?h:dt(h)?h.source:"",message:se};De.meta=He({},e.__meta,Td()||{}),rd(De)}return se}function Fd(e){Me(e.list)?e.list=e.list.map(t=>H(t)?Xo(t):t):Te(e.named)&&Object.keys(e.named).forEach(t=>{H(e.named[t])&&(e.named[t]=Xo(e.named[t]))})}function ui(e,t,n,r,s,o){const{messages:l,onWarn:a,messageResolver:i,localeFallbacker:c}=e,u=c(e,r,n);let p=Re(),g,b=null;const S="translate";for(let T=0;T<u.length&&(g=u[T],p=l[g]||Re(),(b=i(p,t))===null&&(b=p[t]),!(H(b)||Ct(b)||dt(b)));T++)if(!Cd(g,u)){const O=ho(e,t,g,o,S);O!==t&&(b=O)}return[b,g,p]}function fi(e,t,n,r,s,o){const{messageCompiler:l,warnHtmlMessage:a}=e;if(dt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(l==null){const c=(()=>r);return c.locale=n,c.key=t,c}const i=l(r,Dd(e,n,s,r,a,o));return i.locale=n,i.key=t,i.source=r,i}function $d(e,t,n){return t(n)}function Ms(...e){const[t,n,r]=e,s=Re();if(!H(t)&&!Ue(t)&&!dt(t)&&!Ct(t))throw $t(Ft.INVALID_ARGUMENT);const o=Ue(t)?String(t):(dt(t),t);return Ue(n)?s.plural=n:H(n)?s.default=n:he(n)&&!Zr(n)?s.named=n:Me(n)&&(s.list=n),Ue(r)?s.plural=r:H(r)?s.default=r:he(r)&&He(s,r),[o,s]}function Dd(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:l=>{throw o&&o(l),l},onCacheKey:l=>df(t,n,l)}}function Ud(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:l,fallbackLocale:a,fallbackWarn:i,missingWarn:c,fallbackContext:u}=e,g={locale:t,modifiers:s,pluralRules:o,messages:(b,S)=>{let T=l(n,b);if(T==null&&(u||S)){const[,,O]=ui(u||e,b,t,a,i,c);T=l(O,b)}if(H(T)||Ct(T)){let O=!1;const C=fi(e,b,t,T,b,()=>{O=!0});return O?hl:C}else return dt(T)?T:hl}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),Ue(r.plural)&&(g.pluralIndex=r.plural),g}Gf();const Vd="11.2.8";function Wd(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(sn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(sn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(sn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sn().__INTLIFY_PROD_DEVTOOLS__=!1)}const st={UNEXPECTED_RETURN_TYPE:od,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 ut(e,...t){return es(e,null,void 0)}const Fs=Xt("__translateVNode"),$s=Xt("__datetimeParts"),Ds=Xt("__numberParts"),di=Xt("__setPluralRules"),pi=Xt("__injectWithOption"),Us=Xt("__dispose");function Zn(e){if(!Te(e)||Ct(e))return e;for(const t in e)if(ht(e,t))if(!t.includes("."))Te(e[t])&&Zn(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let l=0;l<r;l++){if(n[l]==="__proto__")throw new Error(`unsafe key: ${n[l]}`);if(n[l]in s||(s[n[l]]=Re()),!Te(s[n[l]])){o=!0;break}s=s[n[l]]}if(o||(Ct(s)?ti.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!Ct(s)){const l=s[n[r]];Te(l)&&Zn(l)}}return e}function go(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,l=he(n)?n:Me(r)?Re():{[e]:Re()};if(Me(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:i,resource:c}=a;i?(l[i]=l[i]||Re(),Cr(c,l[i])):Cr(c,l)}else H(a)&&Cr(JSON.parse(a),l)}),s==null&&o)for(const a in l)ht(l,a)&&Zn(l[a]);return l}function mi(e){return e.type}function hi(e,t,n){let r=Te(t.messages)?t.messages:Re();"__i18nGlobal"in n&&(r=go(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Te(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(Te(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function bl(e){return X(ar,null,e,0)}function er(){return Xr()}const _l="__INTLIFY_META__",yl=()=>[],jd=()=>!1;let vl=0;function xl(e){return((t,n,r,s)=>e(n,r,er()||void 0,s))}const Hd=()=>{const e=er();let t=null;return e&&(t=mi(e)[_l])?{[_l]:t}:null};function bo(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,o=Dr?ce:kc;let l=ye(e.inheritLocale)?e.inheritLocale:!0;const a=o(t&&l?t.locale.value:H(e.locale)?e.locale:Qn),i=o(t&&l?t.fallbackLocale.value:H(e.fallbackLocale)||Me(e.fallbackLocale)||he(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=o(go(a.value,e)),u=o(he(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),p=o(he(e.numberFormats)?e.numberFormats:{[a.value]:{}});let g=t?t.missingWarn:ye(e.missingWarn)||wn(e.missingWarn)?e.missingWarn:!0,b=t?t.fallbackWarn:ye(e.fallbackWarn)||wn(e.fallbackWarn)?e.fallbackWarn:!0,S=t?t.fallbackRoot:ye(e.fallbackRoot)?e.fallbackRoot:!0,T=!!e.fallbackFormat,O=Oe(e.missing)?e.missing:null,_=Oe(e.missing)?xl(e.missing):null,C=Oe(e.postTranslation)?e.postTranslation:null,k=t?t.warnHtmlMessage:ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter;const E=t?t.modifiers:he(e.modifiers)?e.modifiers:{};let R=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&il(null);const x={version:Vd,locale:a.value,fallbackLocale:i.value,messages:c.value,modifiers:E,pluralRules:R,missing:_===null?void 0:_,missingWarn:g,fallbackWarn:b,fallbackFormat:T,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:k,escapeParameter:h,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};x.datetimeFormats=u.value,x.numberFormats=p.value,x.__datetimeFormatters=he(L)?L.__datetimeFormatters:void 0,x.__numberFormatters=he(L)?L.__numberFormatters:void 0;const I=Ed(x);return r&&il(I),I})(),On(L,a.value,i.value);function J(){return[a.value,i.value,c.value,u.value,p.value]}const ge=ne({get:()=>a.value,set:x=>{L.locale=x,a.value=x}}),ke=ne({get:()=>i.value,set:x=>{L.fallbackLocale=x,i.value=x,On(L,a.value,x)}}),se=ne(()=>c.value),De=ne(()=>u.value),le=ne(()=>p.value);function ae(){return Oe(C)?C:null}function K(x){C=x,L.postTranslation=x}function z(){return O}function F(x){x!==null&&(_=xl(x)),O=x,L.missing=_}const j=(x,I,q,te,me,We)=>{J();let Fe;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?kd():void 0),Fe=x(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(q!=="translate exists"&&Ue(Fe)&&Fe===ts||q==="translate exists"&&!Fe){const[ft,pt]=I();return t&&S?te(t):me(ft)}else{if(We(Fe))return Fe;throw ut(st.UNEXPECTED_RETURN_TYPE)}};function Y(...x){return j(I=>Reflect.apply(gl,null,[I,...x]),()=>Ms(...x),"translate",I=>Reflect.apply(I.t,I,[...x]),I=>I,I=>H(I))}function Z(...x){const[I,q,te]=x;if(te&&!Te(te))throw ut(st.INVALID_ARGUMENT);return Y(I,q,He({resolvedMessage:!0},te||{}))}function ie(...x){return j(I=>Reflect.apply(ul,null,[I,...x]),()=>As(...x),"datetime format",I=>Reflect.apply(I.d,I,[...x]),()=>ll,I=>H(I)||Me(I))}function re(...x){return j(I=>Reflect.apply(dl,null,[I,...x]),()=>Ns(...x),"number format",I=>Reflect.apply(I.n,I,[...x]),()=>ll,I=>H(I)||Me(I))}function ve(x){return x.map(I=>H(I)||Ue(I)||ye(I)?bl(String(I)):I)}const Ee={normalize:ve,interpolate:x=>x,type:"vnode"};function _e(...x){return j(I=>{let q;const te=I;try{te.processor=Ee,q=Reflect.apply(gl,null,[te,...x])}finally{te.processor=null}return q},()=>Ms(...x),"translate",I=>I[Fs](...x),I=>[bl(I)],I=>Me(I))}function ze(...x){return j(I=>Reflect.apply(dl,null,[I,...x]),()=>Ns(...x),"number format",I=>I[Ds](...x),yl,I=>H(I)||Me(I))}function xe(...x){return j(I=>Reflect.apply(ul,null,[I,...x]),()=>As(...x),"datetime format",I=>I[$s](...x),yl,I=>H(I)||Me(I))}function de(x){R=x,L.pluralRules=R}function Ge(x,I){return j(()=>{if(!x)return!1;const q=H(I)?I:a.value,te=P(q),me=L.messageResolver(te,x);return Ct(me)||dt(me)||H(me)},()=>[x],"translate exists",q=>Reflect.apply(q.te,q,[x,I]),jd,q=>ye(q))}function m(x){let I=null;const q=ni(L,i.value,a.value);for(let te=0;te<q.length;te++){const me=c.value[q[te]]||{},We=L.messageResolver(me,x);if(We!=null){I=We;break}}return I}function v(x){const I=m(x);return I??(t?t.tm(x)||{}:{})}function P(x){return c.value[x]||{}}function $(x,I){if(s){const q={[x]:I};for(const te in q)ht(q,te)&&Zn(q[te]);I=q[x]}c.value[x]=I,L.messages=c.value}function A(x,I){c.value[x]=c.value[x]||{};const q={[x]:I};if(s)for(const te in q)ht(q,te)&&Zn(q[te]);I=q[x],Cr(I,c.value[x]),L.messages=c.value}function M(x){return u.value[x]||{}}function f(x,I){u.value[x]=I,L.datetimeFormats=u.value,fl(L,x,I)}function d(x,I){u.value[x]=He(u.value[x]||{},I),L.datetimeFormats=u.value,fl(L,x,I)}function y(x){return p.value[x]||{}}function w(x,I){p.value[x]=I,L.numberFormats=p.value,pl(L,x,I)}function V(x,I){p.value[x]=He(p.value[x]||{},I),L.numberFormats=p.value,pl(L,x,I)}vl++,t&&Dr&&(bt(t.locale,x=>{l&&(a.value=x,L.locale=x,On(L,a.value,i.value))}),bt(t.fallbackLocale,x=>{l&&(i.value=x,L.fallbackLocale=x,On(L,a.value,i.value))}));const N={id:vl,locale:ge,fallbackLocale:ke,get inheritLocale(){return l},set inheritLocale(x){l=x,x&&t&&(a.value=t.locale.value,i.value=t.fallbackLocale.value,On(L,a.value,i.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:se,get modifiers(){return E},get pluralRules(){return R||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(x){g=x,L.missingWarn=g},get fallbackWarn(){return b},set fallbackWarn(x){b=x,L.fallbackWarn=b},get fallbackRoot(){return S},set fallbackRoot(x){S=x},get fallbackFormat(){return T},set fallbackFormat(x){T=x,L.fallbackFormat=T},get warnHtmlMessage(){return k},set warnHtmlMessage(x){k=x,L.warnHtmlMessage=x},get escapeParameter(){return h},set escapeParameter(x){h=x,L.escapeParameter=x},t:Y,getLocaleMessage:P,setLocaleMessage:$,mergeLocaleMessage:A,getPostTranslationHandler:ae,setPostTranslationHandler:K,getMissingHandler:z,setMissingHandler:F,[di]:de};return N.datetimeFormats=De,N.numberFormats=le,N.rt=Z,N.te=Ge,N.tm=v,N.d=ie,N.n=re,N.getDateTimeFormat=M,N.setDateTimeFormat=f,N.mergeDateTimeFormat=d,N.getNumberFormat=y,N.setNumberFormat=w,N.mergeNumberFormat=V,N[pi]=n,N[Fs]=_e,N[$s]=xe,N[Ds]=ze,N}function Gd(e){const t=H(e.locale)?e.locale:Qn,n=H(e.fallbackLocale)||Me(e.fallbackLocale)||he(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Oe(e.missing)?e.missing:void 0,s=ye(e.silentTranslationWarn)||wn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=ye(e.silentFallbackWarn)||wn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=ye(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,i=he(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Oe(e.postTranslation)?e.postTranslation:void 0,p=H(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,b=ye(e.sync)?e.sync:!0;let S=e.messages;if(he(e.sharedMessages)){const E=e.sharedMessages;S=Object.keys(E).reduce((L,D)=>{const J=L[D]||(L[D]={});return He(J,E[D]),L},S||{})}const{__i18n:T,__root:O,__injectWithOption:_}=e,C=e.datetimeFormats,k=e.numberFormats,h=e.flatJson;return{locale:t,fallbackLocale:n,messages:S,flatJson:h,datetimeFormats:C,numberFormats:k,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:l,fallbackFormat:a,modifiers:i,pluralRules:c,postTranslation:u,warnHtmlMessage:p,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:b,__i18n:T,__root:O,__injectWithOption:_}}function Vs(e={}){const t=bo(Gd(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 ye(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=ye(s)?!s:s},get silentFallbackWarn(){return ye(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=ye(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,o){return t.te(s,o)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,o){t.setLocaleMessage(s,o)},mergeLocaleMessage(s,o){t.mergeLocaleMessage(s,o)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,o){t.setDateTimeFormat(s,o)},mergeDateTimeFormat(s,o){t.mergeDateTimeFormat(s,o)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,o){t.setNumberFormat(s,o)},mergeNumberFormat(s,o){t.mergeNumberFormat(s,o)}};return r.__extender=n,r}function Bd(e,t,n){return{beforeCreate(){const r=er();if(!r)throw ut(st.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const o=s.i18n;if(s.__i18n&&(o.__i18n=s.__i18n),o.__root=t,this===this.$root)this.$i18n=wl(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=Vs(o);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=wl(e,s);else{this.$i18n=Vs({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&hi(t,s,s),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$te=(o,l)=>this.$i18n.te(o,l),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=er();if(!r)throw ut(st.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 wl(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=go(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 _o={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Kd({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===$e?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},Re())}function gi(){return $e}const zd=Ke({name:"i18n-t",props:He({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ue(e)||!isNaN(e)}},_o),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||yt({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(p=>p[0]!=="_"),l=Re();e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=H(e.plural)?+e.plural:e.plural);const a=Kd(t,o),i=s[Fs](e.keypath,a,l),c=He(Re(),r),u=H(e.tag)||Te(e.tag)?e.tag:gi();return Ha(u,c,i)}}}),Tl=zd;function qd(e){return Me(e)&&!H(e[0])}function bi(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const l={part:!0};let a=Re();e.locale&&(l.locale=e.locale),H(e.format)?l.key=e.format:Te(e.format)&&(H(e.format.key)&&(l.key=e.format.key),a=Object.keys(e.format).reduce((g,b)=>n.includes(b)?He(Re(),g,{[b]:e.format[b]}):g,Re()));const i=r(e.value,l,a);let c=[l.key];Me(i)?c=i.map((g,b)=>{const S=s[g.type],T=S?S({[g.type]:g.value,index:b,parts:i}):[g.value];return qd(T)&&(T[0].key=`${g.type}-${b}`),T}):H(i)&&(c=[i]);const u=He(Re(),o),p=H(e.tag)||Te(e.tag)?e.tag:gi();return Ha(p,u,c)}}const Yd=Ke({name:"i18n-n",props:He({value:{type:Number,required:!0},format:{type:[String,Object]}},_o),setup(e,t){const n=e.i18n||yt({useScope:e.scope,__useComponent:!0});return bi(e,t,ci,(...r)=>n[Ds](...r))}}),kl=Yd;function Jd(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 Xd(e){const t=l=>{const{instance:a,value:i}=l;if(!a||!a.$)throw ut(st.UNEXPECTED_ERROR);const c=Jd(e,a.$),u=El(i);return[Reflect.apply(c.t,c,[...Sl(u)]),c]};return{created:(l,a)=>{const[i,c]=t(a);Dr&&e.global===c&&(l.__i18nWatcher=bt(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),l.__composer=c,l.textContent=i},unmounted:l=>{Dr&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:a})=>{if(l.__composer){const i=l.__composer,c=El(a);l.textContent=Reflect.apply(i.t,i,[...Sl(c)])}},getSSRProps:l=>{const[a]=t(l);return{textContent:a}}}}function El(e){if(H(e))return{path:e};if(he(e)){if(!("path"in e))throw ut(st.REQUIRED_VALUE,"path");return e}else throw ut(st.INVALID_VALUE)}function Sl(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,l={},a=r||{};return H(n)&&(l.locale=n),Ue(s)&&(l.plural=s),Ue(o)&&(l.plural=o),[t,a,l]}function Qd(e,t,...n){const r=he(n[0])?n[0]:{};(!ye(r.globalInstall)||r.globalInstall)&&([Tl.name,"I18nT"].forEach(o=>e.component(o,Tl)),[kl.name,"I18nN"].forEach(o=>e.component(o,kl)),[Rl.name,"I18nD"].forEach(o=>e.component(o,Rl))),e.directive("t",Xd(t))}const Zd=Xt("global-vue-i18n");function ep(e={}){const t=__VUE_I18N_LEGACY_API__&&ye(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ye(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,o]=tp(e,t),l=Xt("");function a(p){return r.get(p)||null}function i(p,g){r.set(p,g)}function c(p){r.delete(p)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(p,...g){if(p.__VUE_I18N_SYMBOL__=l,p.provide(p.__VUE_I18N_SYMBOL__,u),he(g[0])){const T=g[0];u.__composerExtend=T.__composerExtend,u.__vueI18nExtend=T.__vueI18nExtend}let b=null;!t&&n&&(b=cp(p,u.global)),__VUE_I18N_FULL_INSTALL__&&Qd(p,u,...g),__VUE_I18N_LEGACY_API__&&t&&p.mixin(Bd(o,o.__composer,u));const S=p.unmount;p.unmount=()=>{b&&b(),u.dispose(),S()}},get global(){return o},dispose(){s.stop()},__instances:r,__getInstance:a,__setInstance:i,__deleteInstance:c};return u}function yt(e={}){const t=er();if(t==null)throw ut(st.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ut(st.NOT_INSTALLED);const n=np(t),r=sp(n),s=mi(t),o=rp(e,s);if(o==="global")return hi(r,e,s),r;if(o==="parent"){let i=op(n,t,e.__useComponent);return i==null&&(i=r),i}const l=n;let a=l.__getInstance(t);if(a==null){const i=He({},e);"__i18n"in s&&(i.__i18n=s.__i18n),r&&(i.__root=r),a=bo(i),l.__composerExtend&&(a[Us]=l.__composerExtend(a)),ap(l,t,a),l.__setInstance(t,a)}return a}function tp(e,t){const n=tc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Vs(e)):n.run(()=>bo(e));if(r==null)throw ut(st.UNEXPECTED_ERROR);return[n,r]}function np(e){const t=Un(e.isCE?Zd:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ut(e.isCE?st.NOT_INSTALLED_WITH_PROVIDE:st.UNEXPECTED_ERROR);return t}function rp(e,t){return Zr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function sp(e){return e.mode==="composition"?e.global:e.global.__composer}function op(e,t,n=!1){let r=null;const s=t.root;let o=lp(t,n);for(;o!=null;){const l=e;if(e.mode==="composition")r=l.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const a=l.__getInstance(o);a!=null&&(r=a.__composer,n&&r&&!r[pi]&&(r=null))}if(r!=null||s===o)break;o=o.parent}return r}function lp(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function ap(e,t,n){En(()=>{},t),so(()=>{const r=n;e.__deleteInstance(t);const s=r[Us];s&&(s(),delete r[Us])},t)}const ip=["locale","fallbackLocale","availableLocales"],Cl=["t","rt","d","n","tm","te"];function cp(e,t){const n=Object.create(null);return ip.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw ut(st.UNEXPECTED_ERROR);const l=Ne(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,Cl.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw ut(st.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,Cl.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const up=Ke({name:"i18n-d",props:He({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},_o),setup(e,t){const n=e.i18n||yt({useScope:e.scope,__useComponent:!0});return bi(e,t,ii,(...r)=>n[$s](...r))}}),Rl=up;Wd();yd(ed);vd(gd);xd(ni);if(__INTLIFY_PROD_DEVTOOLS__){const e=sn();e.__INTLIFY__=!0,td(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var fp=/\s+/g,dp=e=>typeof e!="string"||!e?e:e.replace(fp," ").trim(),Ur=(...e)=>{const t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let o=0,l=r.length;o<l;o++)n(r[o]);return}const s=typeof r;if(s==="string"||s==="number"||s==="bigint"){if(s==="number"&&r!==r)return;t.push(String(r))}else if(s==="object"){const o=Object.keys(r);for(let l=0,a=o.length;l<a;l++){const i=o[l];r[i]&&t.push(i)}}};for(let r=0,s=e.length;r<s;r++){const o=e[r];o!=null&&n(o)}return t.length>0?dp(t.join(" ")):void 0},Il=e=>e===!1?"false":e===!0?"true":e===0?"0":e,et=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},pp=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let s=0;s<n.length;s++){const o=n[s];if(!r.includes(o)||e[o]!==t[o])return!1}return!0},mp=(e,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in e?e[n]=Ur(e[n],r):e[n]=r}return e},_i=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)?_i(r,t):r&&t.push(r)}},yi=(...e)=>{const t=[];_i(e,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},Ws=(e,t)=>{const n={};for(const r in e){const s=e[r];if(r in t){const o=t[r];Array.isArray(s)||Array.isArray(o)?n[r]=yi(o,s):typeof s=="object"&&typeof o=="object"&&s&&o?n[r]=Ws(s,o):n[r]=o+" "+s}else n[r]=s}for(const r in t)r in e||(n[r]=t[r]);return n},hp={twMerge:!0,twMergeConfig:{}};function gp(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){e=null,t={},n=!1}}}var At=gp(),bp=e=>{const t=(r,s)=>{const{extend:o=null,slots:l={},variants:a={},compoundVariants:i=[],compoundSlots:c=[],defaultVariants:u={}}=r,p={...hp,...s},g=o?.base?Ur(o.base,r?.base):r?.base,b=o?.variants&&!et(o.variants)?Ws(a,o.variants):a,S=o?.defaultVariants&&!et(o.defaultVariants)?{...o.defaultVariants,...u}:u;!et(p.twMergeConfig)&&!pp(p.twMergeConfig,At.cachedTwMergeConfig)&&(At.didTwMergeConfigChange=!0,At.cachedTwMergeConfig=p.twMergeConfig);const T=et(o?.slots),O=et(l)?{}:{base:Ur(r?.base,T&&o?.base),...l},_=T?O:mp({...o?.slots},et(O)?{base:r?.base}:O),C=et(o?.compoundVariants)?i:yi(o?.compoundVariants,i),k=E=>{if(et(b)&&et(l)&&T)return e(g,E?.class,E?.className)(p);if(C&&!Array.isArray(C))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof C}`);if(c&&!Array.isArray(c))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof c}`);const R=(le,ae=b,K=null,z=null)=>{const F=ae[le];if(!F||et(F))return null;const j=z?.[le]??E?.[le];if(j===null)return null;const Y=Il(j);if(typeof Y=="object")return null;const Z=S?.[le],ie=Y??Il(Z);return F[ie||"false"]},L=()=>{if(!b)return null;const le=Object.keys(b),ae=[];for(let K=0;K<le.length;K++){const z=R(le[K],b);z&&ae.push(z)}return ae},D=(le,ae)=>{if(!b||typeof b!="object")return null;const K=[];for(const z in b){const F=R(z,b,le,ae),j=le==="base"&&typeof F=="string"?F:F&&F[le];j&&K.push(j)}return K},J={};for(const le in E){const ae=E[le];ae!==void 0&&(J[le]=ae)}const ge=(le,ae)=>{const K=typeof E?.[le]=="object"?{[le]:E[le]?.initial}:{};return{...S,...J,...K,...ae}},ke=(le=[],ae)=>{const K=[],z=le.length;for(let F=0;F<z;F++){const{class:j,className:Y,...Z}=le[F];let ie=!0;const re=ge(null,ae);for(const ve in Z){const be=Z[ve],Ee=re[ve];if(Array.isArray(be)){if(!be.includes(Ee)){ie=!1;break}}else{if((be==null||be===!1)&&(Ee==null||Ee===!1))continue;if(Ee!==be){ie=!1;break}}}ie&&(j&&K.push(j),Y&&K.push(Y))}return K},se=le=>{const ae=ke(C,le);if(!Array.isArray(ae))return ae;const K={},z=e;for(let F=0;F<ae.length;F++){const j=ae[F];if(typeof j=="string")K.base=z(K.base,j)(p);else if(typeof j=="object")for(const Y in j)K[Y]=z(K[Y],j[Y])(p)}return K},De=le=>{if(c.length<1)return null;const ae={},K=ge(null,le);for(let z=0;z<c.length;z++){const{slots:F=[],class:j,className:Y,...Z}=c[z];if(!et(Z)){let ie=!0;for(const re in Z){const ve=K[re],be=Z[re];if(ve===void 0||(Array.isArray(be)?!be.includes(ve):be!==ve)){ie=!1;break}}if(!ie)continue}for(let ie=0;ie<F.length;ie++){const re=F[ie];ae[re]||(ae[re]=[]),ae[re].push([j,Y])}}return ae};if(!et(l)||!T){const le={};if(typeof _=="object"&&!et(_)){const ae=e;for(const K in _)le[K]=z=>{const F=se(z),j=De(z);return ae(_[K],D(K,z),F?F[K]:void 0,j?j[K]:void 0,z?.class,z?.className)(p)}}return le}return e(g,L(),ke(C),E?.class,E?.className)(p)},h=()=>{if(!(!b||typeof b!="object"))return Object.keys(b)};return k.variantKeys=h(),k.extend=o,k.base=g,k.slots=_,k.variants=b,k.defaultVariants=S,k.compoundSlots=c,k.compoundVariants=C,k};return{tv:t,createTV:r=>(s,o)=>t(s,o?Ws(r,o):r)}};const _p=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},yp=(e,t)=>({classGroupId:e,validator:t}),vi=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Vr="-",Ll=[],vp="arbitrary..",xp=e=>{const t=Tp(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return wp(l);const a=l.split(Vr),i=a[0]===""&&a.length>1?1:0;return xi(a,i,t)},getConflictingClassGroupIds:(l,a)=>{if(a){const i=r[l],c=n[l];return i?c?_p(c,i):i:c||Ll}return n[l]||Ll}}},xi=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],o=n.nextPart.get(s);if(o){const c=xi(e,t+1,o);if(c)return c}const l=n.validators;if(l===null)return;const a=t===0?e.join(Vr):e.slice(t).join(Vr),i=l.length;for(let c=0;c<i;c++){const u=l[c];if(u.validator(a))return u.classGroupId}},wp=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?vp+r:void 0})(),Tp=e=>{const{theme:t,classGroups:n}=e;return kp(n,t)},kp=(e,t)=>{const n=vi();for(const r in e){const s=e[r];yo(s,n,r,t)}return n},yo=(e,t,n,r)=>{const s=e.length;for(let o=0;o<s;o++){const l=e[o];Ep(l,t,n,r)}},Ep=(e,t,n,r)=>{if(typeof e=="string"){Sp(e,t,n);return}if(typeof e=="function"){Cp(e,t,n,r);return}Rp(e,t,n,r)},Sp=(e,t,n)=>{const r=e===""?t:wi(t,e);r.classGroupId=n},Cp=(e,t,n,r)=>{if(Ip(e)){yo(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(yp(n,e))},Rp=(e,t,n,r)=>{const s=Object.entries(e),o=s.length;for(let l=0;l<o;l++){const[a,i]=s[l];yo(i,wi(t,a),n,r)}},wi=(e,t)=>{let n=e;const r=t.split(Vr),s=r.length;for(let o=0;o<s;o++){const l=r[o];let a=n.nextPart.get(l);a||(a=vi(),n.nextPart.set(l,a)),n=a}return n},Ip=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Lp=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const s=(o,l)=>{n[o]=l,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(o){let l=n[o];if(l!==void 0)return l;if((l=r[o])!==void 0)return s(o,l),l},set(o,l){o in n?n[o]=l:s(o,l)}}},js="!",Pl=":",Pp=[],Ol=(e,t,n,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),Op=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=s=>{const o=[];let l=0,a=0,i=0,c;const u=s.length;for(let T=0;T<u;T++){const O=s[T];if(l===0&&a===0){if(O===Pl){o.push(s.slice(i,T)),i=T+1;continue}if(O==="/"){c=T;continue}}O==="["?l++:O==="]"?l--:O==="("?a++:O===")"&&a--}const p=o.length===0?s:s.slice(i);let g=p,b=!1;p.endsWith(js)?(g=p.slice(0,-1),b=!0):p.startsWith(js)&&(g=p.slice(1),b=!0);const S=c&&c>i?c-i:void 0;return Ol(o,b,g,S)};if(t){const s=t+Pl,o=r;r=l=>l.startsWith(s)?o(l.slice(s.length)):Ol(Pp,!1,l,void 0,!0)}if(n){const s=r;r=o=>n({className:o,parseClassName:s})}return r},Ap=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let o=0;o<n.length;o++){const l=n[o],a=l[0]==="[",i=t.has(l);a||i?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(l)):s.push(l)}return s.length>0&&(s.sort(),r.push(...s)),r}},Np=e=>({cache:Lp(e.cacheSize),parseClassName:Op(e),sortModifiers:Ap(e),...xp(e)}),Mp=/\s+/,Fp=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:o}=t,l=[],a=e.trim().split(Mp);let i="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{isExternal:p,modifiers:g,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:T}=n(u);if(p){i=u+(i.length>0?" "+i:i);continue}let O=!!T,_=r(O?S.substring(0,T):S);if(!_){if(!O){i=u+(i.length>0?" "+i:i);continue}if(_=r(S),!_){i=u+(i.length>0?" "+i:i);continue}O=!1}const C=g.length===0?"":g.length===1?g[0]:o(g).join(":"),k=b?C+js:C,h=k+_;if(l.indexOf(h)>-1)continue;l.push(h);const E=s(_,O);for(let R=0;R<E.length;++R){const L=E[R];l.push(k+L)}i=u+(i.length>0?" "+i:i)}return i},$p=(...e)=>{let t=0,n,r,s="";for(;t<e.length;)(n=e[t++])&&(r=Ti(n))&&(s&&(s+=" "),s+=r);return s},Ti=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ti(e[r]))&&(n&&(n+=" "),n+=t);return n},Hs=(e,...t)=>{let n,r,s,o;const l=i=>{const c=t.reduce((u,p)=>p(u),e());return n=Np(c),r=n.cache.get,s=n.cache.set,o=a,a(i)},a=i=>{const c=r(i);if(c)return c;const u=Fp(i,n);return s(i,u),u};return o=l,(...i)=>o($p(...i))},Dp=[],je=e=>{const t=n=>n[e]||Dp;return t.isThemeGetter=!0,t},ki=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ei=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Up=/^\d+\/\d+$/,Vp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wp=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,jp=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Hp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Gp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dn=e=>Up.test(e),pe=e=>!!e&&!Number.isNaN(Number(e)),Gt=e=>!!e&&Number.isInteger(Number(e)),gs=e=>e.endsWith("%")&&pe(e.slice(0,-1)),Pt=e=>Vp.test(e),Bp=()=>!0,Kp=e=>Wp.test(e)&&!jp.test(e),Si=()=>!1,zp=e=>Hp.test(e),qp=e=>Gp.test(e),Yp=e=>!G(e)&&!B(e),Jp=e=>Sn(e,Ii,Si),G=e=>ki.test(e),nn=e=>Sn(e,Li,Kp),bs=e=>Sn(e,tm,pe),Al=e=>Sn(e,Ci,Si),Xp=e=>Sn(e,Ri,qp),yr=e=>Sn(e,Pi,zp),B=e=>Ei.test(e),An=e=>Cn(e,Li),Qp=e=>Cn(e,nm),Nl=e=>Cn(e,Ci),Zp=e=>Cn(e,Ii),em=e=>Cn(e,Ri),vr=e=>Cn(e,Pi,!0),Sn=(e,t,n)=>{const r=ki.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Cn=(e,t,n=!1)=>{const r=Ei.exec(e);return r?r[1]?t(r[1]):n:!1},Ci=e=>e==="position"||e==="percentage",Ri=e=>e==="image"||e==="url",Ii=e=>e==="length"||e==="size"||e==="bg-size",Li=e=>e==="length",tm=e=>e==="number",nm=e=>e==="family-name",Pi=e=>e==="shadow",Gs=()=>{const e=je("color"),t=je("font"),n=je("text"),r=je("font-weight"),s=je("tracking"),o=je("leading"),l=je("breakpoint"),a=je("container"),i=je("spacing"),c=je("radius"),u=je("shadow"),p=je("inset-shadow"),g=je("text-shadow"),b=je("drop-shadow"),S=je("blur"),T=je("perspective"),O=je("aspect"),_=je("ease"),C=je("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],h=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...h(),B,G],R=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto","contain","none"],D=()=>[B,G,i],J=()=>[dn,"full","auto",...D()],ge=()=>[Gt,"none","subgrid",B,G],ke=()=>["auto",{span:["full",Gt,B,G]},Gt,B,G],se=()=>[Gt,"auto",B,G],De=()=>["auto","min","max","fr",B,G],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],K=()=>["auto",...D()],z=()=>[dn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],F=()=>[e,B,G],j=()=>[...h(),Nl,Al,{position:[B,G]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Z=()=>["auto","cover","contain",Zp,Jp,{size:[B,G]}],ie=()=>[gs,An,nn],re=()=>["","none","full",c,B,G],ve=()=>["",pe,An,nn],be=()=>["solid","dashed","dotted","double"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>[pe,gs,Nl,Al],ze=()=>["","none",S,B,G],xe=()=>["none",pe,B,G],de=()=>["none",pe,B,G],Ge=()=>[pe,B,G],m=()=>[dn,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Pt],breakpoint:[Pt],color:[Bp],container:[Pt],"drop-shadow":[Pt],ease:["in","out","in-out"],font:[Yp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Pt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Pt],shadow:[Pt],spacing:["px",pe],text:[Pt],"text-shadow":[Pt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dn,G,B,O]}],container:["container"],columns:[{columns:[pe,G,B,a]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:J()}],"inset-x":[{"inset-x":J()}],"inset-y":[{"inset-y":J()}],start:[{start:J()}],end:[{end:J()}],top:[{top:J()}],right:[{right:J()}],bottom:[{bottom:J()}],left:[{left:J()}],visibility:["visible","invisible","collapse"],z:[{z:[Gt,"auto",B,G]}],basis:[{basis:[dn,"full","auto",a,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[pe,dn,"auto","initial","none",G]}],grow:[{grow:["",pe,B,G]}],shrink:[{shrink:["",pe,B,G]}],order:[{order:[Gt,"first","last","none",B,G]}],"grid-cols":[{"grid-cols":ge()}],"col-start-end":[{col:ke()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":ge()}],"row-start-end":[{row:ke()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":De()}],"auto-rows":[{"auto-rows":De()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:K()}],mx:[{mx:K()}],my:[{my:K()}],ms:[{ms:K()}],me:[{me:K()}],mt:[{mt:K()}],mr:[{mr:K()}],mb:[{mb:K()}],ml:[{ml:K()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],w:[{w:[a,"screen",...z()]}],"min-w":[{"min-w":[a,"screen","none",...z()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[l]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",n,An,nn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,B,bs]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",gs,G]}],"font-family":[{font:[Qp,G,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,B,G]}],"line-clamp":[{"line-clamp":[pe,"none",B,bs]}],leading:[{leading:[o,...D()]}],"list-image":[{"list-image":["none",B,G]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",B,G]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...be(),"wavy"]}],"text-decoration-thickness":[{decoration:[pe,"from-font","auto",B,nn]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[pe,"auto",B,G]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B,G]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",B,G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:Z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Gt,B,G],radial:["",B,G],conic:[Gt,B,G]},em,Xp]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:re()}],"rounded-s":[{"rounded-s":re()}],"rounded-e":[{"rounded-e":re()}],"rounded-t":[{"rounded-t":re()}],"rounded-r":[{"rounded-r":re()}],"rounded-b":[{"rounded-b":re()}],"rounded-l":[{"rounded-l":re()}],"rounded-ss":[{"rounded-ss":re()}],"rounded-se":[{"rounded-se":re()}],"rounded-ee":[{"rounded-ee":re()}],"rounded-es":[{"rounded-es":re()}],"rounded-tl":[{"rounded-tl":re()}],"rounded-tr":[{"rounded-tr":re()}],"rounded-br":[{"rounded-br":re()}],"rounded-bl":[{"rounded-bl":re()}],"border-w":[{border:ve()}],"border-w-x":[{"border-x":ve()}],"border-w-y":[{"border-y":ve()}],"border-w-s":[{"border-s":ve()}],"border-w-e":[{"border-e":ve()}],"border-w-t":[{"border-t":ve()}],"border-w-r":[{"border-r":ve()}],"border-w-b":[{"border-b":ve()}],"border-w-l":[{"border-l":ve()}],"divide-x":[{"divide-x":ve()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ve()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...be(),"hidden","none"]}],"divide-style":[{divide:[...be(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...be(),"none","hidden"]}],"outline-offset":[{"outline-offset":[pe,B,G]}],"outline-w":[{outline:["",pe,An,nn]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",u,vr,yr]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",p,vr,yr]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[pe,nn]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":ve()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",g,vr,yr]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[pe,B,G]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ee()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[pe]}],"mask-image-linear-from-pos":[{"mask-linear-from":_e()}],"mask-image-linear-to-pos":[{"mask-linear-to":_e()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":_e()}],"mask-image-t-to-pos":[{"mask-t-to":_e()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":_e()}],"mask-image-r-to-pos":[{"mask-r-to":_e()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":_e()}],"mask-image-b-to-pos":[{"mask-b-to":_e()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":_e()}],"mask-image-l-to-pos":[{"mask-l-to":_e()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":_e()}],"mask-image-x-to-pos":[{"mask-x-to":_e()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":_e()}],"mask-image-y-to-pos":[{"mask-y-to":_e()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[B,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":_e()}],"mask-image-radial-to-pos":[{"mask-radial-to":_e()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":h()}],"mask-image-conic-pos":[{"mask-conic":[pe]}],"mask-image-conic-from-pos":[{"mask-conic-from":_e()}],"mask-image-conic-to-pos":[{"mask-conic-to":_e()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:Z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",B,G]}],filter:[{filter:["","none",B,G]}],blur:[{blur:ze()}],brightness:[{brightness:[pe,B,G]}],contrast:[{contrast:[pe,B,G]}],"drop-shadow":[{"drop-shadow":["","none",b,vr,yr]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",pe,B,G]}],"hue-rotate":[{"hue-rotate":[pe,B,G]}],invert:[{invert:["",pe,B,G]}],saturate:[{saturate:[pe,B,G]}],sepia:[{sepia:["",pe,B,G]}],"backdrop-filter":[{"backdrop-filter":["","none",B,G]}],"backdrop-blur":[{"backdrop-blur":ze()}],"backdrop-brightness":[{"backdrop-brightness":[pe,B,G]}],"backdrop-contrast":[{"backdrop-contrast":[pe,B,G]}],"backdrop-grayscale":[{"backdrop-grayscale":["",pe,B,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[pe,B,G]}],"backdrop-invert":[{"backdrop-invert":["",pe,B,G]}],"backdrop-opacity":[{"backdrop-opacity":[pe,B,G]}],"backdrop-saturate":[{"backdrop-saturate":[pe,B,G]}],"backdrop-sepia":[{"backdrop-sepia":["",pe,B,G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",B,G]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[pe,"initial",B,G]}],ease:[{ease:["linear","initial",_,B,G]}],delay:[{delay:[pe,B,G]}],animate:[{animate:["none",C,B,G]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,B,G]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":["scale-3d"],skew:[{skew:Ge()}],"skew-x":[{"skew-x":Ge()}],"skew-y":[{"skew-y":Ge()}],transform:[{transform:[B,G,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:m()}],"translate-x":[{"translate-x":m()}],"translate-y":[{"translate-y":m()}],"translate-z":[{"translate-z":m()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",B,G]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",B,G]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[pe,An,nn,bs]}],stroke:[{stroke:["none",...F()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},rm=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:s={},override:o={}})=>(Mn(e,"cacheSize",t),Mn(e,"prefix",n),Mn(e,"experimentalParseClassName",r),xr(e.theme,o.theme),xr(e.classGroups,o.classGroups),xr(e.conflictingClassGroups,o.conflictingClassGroups),xr(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Mn(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),wr(e.theme,s.theme),wr(e.classGroups,s.classGroups),wr(e.conflictingClassGroups,s.conflictingClassGroups),wr(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),Oi(e,s,"orderSensitiveModifiers"),e),Mn=(e,t,n)=>{n!==void 0&&(e[t]=n)},xr=(e,t)=>{if(t)for(const n in t)Mn(e,n,t[n])},wr=(e,t)=>{if(t)for(const n in t)Oi(e,t,n)},Oi=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},sm=(e,...t)=>typeof e=="function"?Hs(Gs,e,...t):Hs(()=>rm(Gs(),e),...t),om=Hs(Gs);var lm=e=>et(e)?om:sm({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),Ai=(e,t)=>{const n=Ur(e);return!n||!(t?.twMerge??!0)?n:((!At.cachedTwMerge||At.didTwMergeConfigChange)&&(At.didTwMergeConfigChange=!1,At.cachedTwMerge=lm(At.cachedTwMergeConfig)),At.cachedTwMerge(n)||void 0)},am=(...e)=>Ai(e,{}),im=(...e)=>t=>Ai(e,t),{tv:cr}=bp(im);function ur(...e){return am(...e)}const cm=["type"],rt=Ke({__name:"UiChipButton",props:{active:{type:Boolean,default:!1},tone:{default:"strong"},size:{default:"md"},type:{default:"button"}},setup(e,{expose:t}){const n=e,r=cr({base:"inline-flex items-center gap-2 rounded-full border uppercase tracking-[0.25em] transition hover:-translate-y-0.5",variants:{size:{xs:"px-2.5 py-1 text-[0.55rem]",sm:"px-3 py-1 text-[0.55rem]",md:"px-3 py-1.5 text-[0.6rem]",lg:"px-3 py-1.5 text-[0.65rem]"},tone:{strong:"border-pg-border bg-pg-surface-strong text-pg-text-soft",card:"border-pg-border bg-pg-surface-card text-pg-text-soft"},active:{true:"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm ring-1 ring-pg-accent-ring"}},defaultVariants:{size:"md",tone:"strong"}}),s=lr(),o=ne(()=>ur(r({size:n.size,tone:n.tone,active:n.active}),s.class)),l=ne(()=>{const{class:c,style:u,...p}=s;return p}),a=ne(()=>s.style),i=ce(null);return t({el:i}),(c,u)=>(ee(),ue("button",un({ref_key:"buttonRef",ref:i},l.value,{type:n.type,class:o.value,style:a.value}),[oo(c.$slots,"default")],16,cm))}}),on=Ke({__name:"UiField",props:{label:{},dense:{type:Boolean,default:!1}},setup(e){const t=e,n=cr({base:"flex flex-col uppercase text-pg-text-muted",variants:{dense:{true:"gap-1 text-[0.55rem] tracking-[0.25em]",false:"gap-1.5 text-[0.65rem] tracking-[0.2em]"}},defaultVariants:{dense:!1}}),r=lr(),s=ne(()=>ur(n({dense:t.dense}),r.class)),o=ne(()=>{const{class:a,style:i,...c}=r;return c}),l=ne(()=>r.style);return(a,i)=>(ee(),ue("label",un(o.value,{class:s.value,style:l.value}),[U("span",null,Q(t.label),1),oo(a.$slots,"default")],16))}}),tr=Ke({__name:"UiPill",props:{tone:{default:"strong"},size:{default:"md"},caps:{type:Boolean,default:!0},tracking:{default:"wide"}},setup(e){const t=e,n=cr({base:"inline-flex items-center gap-2 rounded-full",variants:{size:{xxs:"px-2 py-0.5 text-[0.55rem]",xs:"px-2.5 py-1 text-[0.55rem]",sm:"px-3 py-1 text-[0.55rem]",md:"px-3 py-1.5 text-[0.6rem]",lg:"px-3 py-1.5 text-[0.65rem]"},tone:{strong:"border border-pg-border bg-pg-surface-strong text-pg-text-soft",card:"border border-pg-border bg-pg-surface-card text-pg-text-soft",chip:"bg-pg-chip text-pg-chip-text"},caps:{true:"uppercase",false:""},tracking:{wide:"tracking-[0.25em]",tight:"tracking-[0.2em]",none:""}},defaultVariants:{size:"md",tone:"strong",caps:!0,tracking:"wide"}}),r=lr(),s=ne(()=>{const a=t.caps?t.tracking:"none";return ur(n({size:t.size,tone:t.tone,caps:t.caps,tracking:a}),r.class)}),o=ne(()=>{const{class:a,style:i,...c}=r;return c}),l=ne(()=>r.style);return(a,i)=>(ee(),ue("span",un(o.value,{class:s.value,style:l.value}),[oo(a.$slots,"default")],16))}}),_s=Ke({__name:"UiTextarea",props:{dense:{type:Boolean,default:!1}},setup(e){const t=e,n=cr({base:"rounded-lg border outline-none transition border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",variants:{dense:{true:"px-2.5 py-1.5 text-[0.8rem]",false:"px-3 py-2 text-sm"}},defaultVariants:{dense:!1}}),r=lr(),s=ne(()=>ur(n({dense:t.dense}),r.class)),o=ne(()=>{const{class:a,style:i,...c}=r;return c}),l=ne(()=>r.style);return(a,i)=>(ee(),ue("textarea",un(o.value,{class:s.value,style:l.value}),null,16))}}),nr=Ke({__name:"UiTextInput",props:{dense:{type:Boolean,default:!1}},setup(e){const t=e,n=cr({base:"rounded-lg border outline-none transition border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",variants:{dense:{true:"px-2.5 py-1.5 text-[0.8rem]",false:"px-3 py-2 text-sm"}},defaultVariants:{dense:!1}}),r=lr(),s=ne(()=>ur(n({dense:t.dense}),r.class)),o=ne(()=>{const{class:a,style:i,...c}=r;return c}),l=ne(()=>r.style);return(a,i)=>(ee(),ue("input",un(o.value,{class:s.value,style:l.value}),null,16))}}),um={class:"flex min-h-0 flex-col gap-4"},fm={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"},dm={class:"text-xl font-display text-pg-text-strong"},pm={class:"text-sm"},mm={key:1,class:"flex min-h-0 h-full flex-col gap-4"},hm={class:"rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},gm={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"},bm={class:"truncate text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},_m={class:"flex flex-wrap items-center gap-3 px-4 py-3"},ym=["disabled","aria-busy"],vm={key:0,class:"i-[carbon--circle-dash] h-3.5 w-3.5 animate-spin","aria-hidden":"true"},xm={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"},wm={key:0,class:"flex flex-wrap gap-2 border-t px-4 py-3 text-xs border-pg-border text-pg-text-soft"},Tm=["href","title"],km={class:"border-t p-4 border-pg-border"},Em={class:"flex flex-wrap gap-2"},Sm={class:"mt-4"},Cm={key:0,class:"rounded-xl border px-4 py-3 text-sm border-pg-border bg-pg-surface-strong text-pg-text-muted"},Rm={key:1,class:"grid gap-3 lg:grid-cols-2"},Im={class:"flex items-center gap-2 text-[0.55rem] uppercase tracking-[0.2em] text-pg-text-muted"},Lm={class:"rounded-full border px-2 py-0.5 text-[0.5rem] uppercase tracking-[0.2em] border-pg-border bg-pg-surface-strong text-pg-text-soft"},Pm={class:"relative"},Om=["value"],Am={value:"json"},Nm={value:"text"},Mm={value:"form"},Fm={value:"multipart"},$m={value:"base64"},Dm={class:"flex min-h-[220px] flex-1 flex-col rounded-2xl border shadow-sm border-pg-border bg-pg-surface-card"},Um={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"},Vm={class:"flex items-center gap-3 text-[0.65rem] normal-case tracking-normal text-pg-text-subtle"},Wm={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"},jm='{ "q": "alpha", "page": 1 }',Hm='{ "x-mokup": "playground" }',Gm='{ "name": "Ada" }',Bm=`title=alpha
|
|
4
|
+
count=3`,Km=`title=alpha
|
|
5
|
+
status=active`,zm="SGVsbG8gd29ybGQ=",qm=Ke({__name:"RouteDetail",props:{selected:{},requestUrl:{},workspaceRoot:{},routeParams:{},paramValues:{},queryText:{},headersText:{},bodyText:{},bodyType:{},responseText:{},responseStatus:{},responseTime:{},isSwRegistering:{type:Boolean}},emits:["update:queryText","update:headersText","update:bodyText","update:bodyType","update:param-value","run"],setup(e,{emit:t}){const n=e,r=t,{t:s}=yt(),{bodyType:o}=Cc(n),l=b=>`method-${b.toLowerCase()}`;function a(b){return b.kind==="param"?s("detail.paramPlaceholder"):s("detail.paramPlaceholderCatchall")}function i(b){const S=b.replace(/\\/g,"/");return/^[a-z]:\//i.test(S)?`vscode://file/${encodeURI(S)}`:S.startsWith("/")?`vscode://file${encodeURI(S)}`:`vscode://file/${encodeURI(S)}`}function c(b){const S=b.trim();if(!S)return"";const T=S.replace(/\\/g,"/");if(/^[a-z]:\//i.test(T)||T.startsWith("/"))return i(T);const O=n.workspaceRoot?.trim();if(!O)return"";const _=O.replace(/\\/g,"/").replace(/\/+$/,""),C=T.replace(/^\/+/,"");return i(`${_}/${C}`)}const u=ce("query");function p(){return n.routeParams.length>0?"params":"query"}bt(()=>n.selected?.url??"",()=>{u.value=p()},{immediate:!0}),bt(()=>n.routeParams.length,(b,S)=>{if(!n.selected){u.value="query";return}b>0&&S===0&&u.value==="query"&&(u.value="params"),b===0&&u.value==="params"&&(u.value="query")});function g(){switch(n.bodyType){case"text":return s("detail.bodyPlaceholderText");case"form":return s("detail.bodyPlaceholderForm",{sample:Bm});case"multipart":return s("detail.bodyPlaceholderMultipart",{sample:Km});case"base64":return s("detail.bodyPlaceholderBase64",{sample:zm});default:return s("detail.bodyPlaceholderJson",{json:Gm})}}return(b,S)=>(ee(),ue("section",um,[e.selected?(ee(),ue("div",mm,[U("section",hm,[U("div",gm,[U("span",null,Q(W(s)("detail.requestLabel")),1),U("span",bm,Q(e.selected.file),1)]),U("div",_m,[U("span",{class:at(["rounded-full px-3 py-1 text-[0.6rem] uppercase tracking-[0.2em]",l(e.selected.method)])},Q(e.selected.method),3),X(nr,{value:e.requestUrl,readonly:"",class:"min-w-[220px] flex-1"},null,8,["value"]),U("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:S[0]||(S[0]=T=>r("run"))},[e.isSwRegistering?(ee(),ue("span",vm)):mt("",!0),nt(" "+Q(W(s)("detail.run")),1)],8,ym)]),U("div",xm,[U("span",null,Q(W(s)("detail.middlewares")),1),X(tr,{tone:"chip",size:"xxs",caps:!1},{default:Ie(()=>[nt(Q(e.selected.middlewareCount??0),1)]),_:1})]),e.selected.middlewares&&e.selected.middlewares.length>0?(ee(),ue("div",wm,[(ee(!0),ue($e,null,Kn(e.selected.middlewares,T=>(ee(),ue("span",{key:T,class:"inline-flex items-center gap-2 rounded-full border px-3 py-1 text-[0.6rem] border-pg-border bg-pg-surface-strong"},[nt(Q(T)+" ",1),c(T)?(ee(),ue("a",{key:0,href:c(T),class:"text-pg-text-soft transition hover:text-pg-text",title:W(s)("detail.openInVscode")},[...S[9]||(S[9]=[U("span",{class:"i-[carbon--launch] h-3.5 w-3.5","aria-hidden":"true"},null,-1)])],8,Tm)):mt("",!0)]))),128))])):mt("",!0),U("div",km,[U("div",Em,[X(rt,{size:"md",active:u.value==="params",onClick:S[1]||(S[1]=T=>u.value="params")},{default:Ie(()=>[nt(Q(W(s)("detail.params")),1)]),_:1},8,["active"]),X(rt,{size:"md",active:u.value==="query",onClick:S[2]||(S[2]=T=>u.value="query")},{default:Ie(()=>[nt(Q(W(s)("detail.query")),1)]),_:1},8,["active"]),X(rt,{size:"md",active:u.value==="headers",onClick:S[3]||(S[3]=T=>u.value="headers")},{default:Ie(()=>[nt(Q(W(s)("detail.headers")),1)]),_:1},8,["active"]),X(rt,{size:"md",active:u.value==="body",onClick:S[4]||(S[4]=T=>u.value="body")},{default:Ie(()=>[nt(Q(W(s)("detail.body")),1)]),_:1},8,["active"])]),U("div",Sm,[mr(U("div",null,[e.routeParams.length===0?(ee(),ue("div",Cm,Q(W(s)("detail.emptyParams")),1)):(ee(),ue("div",Rm,[(ee(!0),ue($e,null,Kn(e.routeParams,T=>(ee(),ue("label",{key:T.id,class:"flex flex-col gap-1.5 text-[0.65rem] uppercase tracking-[0.2em] text-pg-text-muted"},[U("span",Im,[U("span",null,Q(T.name),1),U("span",Lm,Q(T.token),1)]),X(nr,{value:e.paramValues[T.name]??"",placeholder:a(T),onInput:O=>r("update:param-value",T.name,O.target?.value??"")},null,8,["value","placeholder","onInput"])]))),128))]))],512),[[hr,u.value==="params"]]),mr(U("div",null,[X(on,{label:W(s)("detail.query")},{default:Ie(()=>[X(_s,{value:e.queryText,rows:"4",placeholder:W(s)("detail.queryPlaceholder",{json:jm}),onInput:S[5]||(S[5]=T=>r("update:queryText",T.target?.value??""))},null,8,["value","placeholder"])]),_:1},8,["label"])],512),[[hr,u.value==="query"]]),mr(U("div",null,[X(on,{label:W(s)("detail.headers")},{default:Ie(()=>[X(_s,{value:e.headersText,rows:"4",placeholder:W(s)("detail.headersPlaceholder",{json:Hm}),onInput:S[6]||(S[6]=T=>r("update:headersText",T.target?.value??""))},null,8,["value","placeholder"])]),_:1},8,["label"])],512),[[hr,u.value==="headers"]]),mr(U("div",null,[X(on,{label:W(s)("detail.bodyType")},{default:Ie(()=>[U("div",Pm,[U("select",{class:"w-full appearance-none rounded-lg border px-3 py-2 text-[0.7rem] uppercase tracking-[0.2em] outline-none transition border-pg-border bg-pg-surface-strong text-pg-text focus:border-pg-accent",value:W(o),onChange:S[7]||(S[7]=T=>r("update:bodyType",T.target?.value))},[U("option",Am,Q(W(s)("detail.bodyTypeJson")),1),U("option",Nm,Q(W(s)("detail.bodyTypeText")),1),U("option",Mm,Q(W(s)("detail.bodyTypeForm")),1),U("option",Fm,Q(W(s)("detail.bodyTypeMultipart")),1),U("option",$m,Q(W(s)("detail.bodyTypeBase64")),1)],40,Om),S[10]||(S[10]=U("span",{class:"pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-pg-text-muted","aria-hidden":"true"},[U("span",{class:"i-[carbon--chevron-down] block h-4 w-4"})],-1))])]),_:1},8,["label"]),X(on,{label:W(s)("detail.body")},{default:Ie(()=>[X(_s,{value:e.bodyText,rows:"6",placeholder:g(),onInput:S[8]||(S[8]=T=>r("update:bodyText",T.target?.value??""))},null,8,["value","placeholder"])]),_:1},8,["label"])],512),[[hr,u.value==="body"]])])])]),U("section",Dm,[U("div",Um,[U("span",null,Q(W(s)("detail.responseLabel")),1),U("span",Vm,[U("span",null,Q(e.responseStatus),1),U("span",null,Q(e.responseTime),1)])]),U("pre",Wm,Q(e.responseText),1)])])):(ee(),ue("div",fm,[U("p",dm,Q(W(s)("detail.selectTitle")),1),U("p",pm,Q(W(s)("detail.selectHint")),1)]))]))}}),Ym={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"},Jm={class:"text-xl font-display text-pg-text-strong"},Xm={class:"text-sm"},Qm=Ke({__name:"PlaygroundContent",props:{selected:{},requestUrl:{},workspaceRoot:{},routeParams:{},paramValues:{},queryText:{},headersText:{},bodyText:{},responseText:{},responseStatus:{},responseTime:{},isSwRegistering:{type:Boolean},isDisabledMode:{type:Boolean}},emits:["update:queryText","update:headersText","update:bodyText","update:param-value","run"],setup(e,{emit:t}){const n=e,r=t,{t:s}=yt(),o=ne({get:()=>n.queryText,set:p=>r("update:queryText",p)}),l=ne({get:()=>n.headersText,set:p=>r("update:headersText",p)}),a=ne({get:()=>n.bodyText,set:p=>r("update:bodyText",p)}),i=ne(()=>n.workspaceRoot??"");function c(p,g){r("update:param-value",p,g)}function u(){r("run")}return(p,g)=>n.isDisabledMode?(ee(),ue("div",Ym,[U("p",Jm,Q(W(s)("states.disabledTitle")),1),U("p",Xm,Q(W(s)("states.disabledHint")),1)])):(ee(),Jt(qm,{key:0,queryText:o.value,"onUpdate:queryText":g[0]||(g[0]=b=>o.value=b),headersText:l.value,"onUpdate:headersText":g[1]||(g[1]=b=>l.value=b),bodyText:a.value,"onUpdate:bodyText":g[2]||(g[2]=b=>a.value=b),selected:n.selected,"request-url":n.requestUrl,"workspace-root":i.value,"response-text":n.responseText,"response-status":n.responseStatus,"response-time":n.responseTime,"is-sw-registering":n.isSwRegistering,"route-params":n.routeParams,"param-values":n.paramValues,"onUpdate:paramValue":c,onRun:u},null,8,["queryText","headersText","bodyText","selected","request-url","workspace-root","response-text","response-status","response-time","is-sw-registering","route-params","param-values"]))}}),Ni="mokup.playground.theme";function Mi(){try{const e=localStorage.getItem(Ni);if(e==="system"||e==="light"||e==="dark")return e}catch{}return null}function Zm(e){try{localStorage.setItem(Ni,e)}catch{}}function eh(e){return e==="system"?"light":e==="light"?"dark":"system"}function Fi(e,t){return e==="dark"?"dark":e==="light"?"light":t?"dark":"light"}function Rr(e,t){const n=Fi(e,t);return document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,n}function th(){const e=Mi()??"system",t=window.matchMedia("(prefers-color-scheme: dark)").matches;return Rr(e,t),e}function nh(){const e=ce("system"),t=ce(!1);let n=null;const r=ne(()=>Fi(e.value,t.value)),s=()=>{n&&(t.value=n.matches,e.value==="system"&&Rr(e.value,t.value))};function o(a){e.value=a,Zm(a),Rr(a,t.value)}function l(){o(eh(e.value))}return En(()=>{n=window.matchMedia("(prefers-color-scheme: dark)"),t.value=n.matches,e.value=Mi()??"system",Rr(e.value,t.value),n.addEventListener("change",s)}),or(()=>{n?.removeEventListener("change",s),n=null}),{themeMode:e,effectiveTheme:r,setThemeMode:o,cycleThemeMode:l}}const $i="mokup.playground.locale",rh={"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",params:"Params",emptyParams:"No params for this route.",query:"Query (JSON)",headers:"Headers (JSON)",body:"Body",bodyType:"Body type",bodyTypeJson:"JSON",bodyTypeText:"Text",bodyTypeForm:"Form",bodyTypeMultipart:"Multipart",bodyTypeBase64:"Base64",middlewares:"Middlewares",openInVscode:"Open in VSCode",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholderJson:"{json}",bodyPlaceholderText:"raw text",bodyPlaceholderForm:"{sample}",bodyPlaceholderMultipart:"{sample}",bodyPlaceholderBase64:"{sample}",paramPlaceholder:"value",paramPlaceholderCatchall:"path/segments"},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}",bodyBase64:"Body base64 error: {message}",routeParams:"Missing route params: {params}"}},"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:"发送",params:"路径参数",emptyParams:"该接口没有路径参数。",query:"查询参数 (JSON)",headers:"请求头 (JSON)",body:"请求体",bodyType:"请求体类型",bodyTypeJson:"JSON",bodyTypeText:"文本",bodyTypeForm:"表单",bodyTypeMultipart:"多段表单",bodyTypeBase64:"Base64",middlewares:"中间件",openInVscode:"在 VSCode 中打开",queryPlaceholder:"{json}",headersPlaceholder:"{json}",bodyPlaceholderJson:"{json}",bodyPlaceholderText:"原始文本",bodyPlaceholderForm:"{sample}",bodyPlaceholderMultipart:"{sample}",bodyPlaceholderBase64:"{sample}",paramPlaceholder:"填写值",paramPlaceholderCatchall:"路径片段"},response:{idle:"空闲",empty:"暂无响应。",waiting:"等待响应...",loading:"请求中...",error:"错误",emptyPayload:"[空响应]"},errors:{queryJson:"查询 JSON 错误:{message}",headersJson:"请求头 JSON 错误:{message}",bodyJson:"请求体 JSON 错误:{message}",bodyBase64:"请求体 Base64 错误:{message}",routeParams:"缺少路径参数:{params}"}}};function sh(){try{const e=localStorage.getItem($i);if(e==="en-US"||e==="zh-CN")return e}catch{}return null}function oh(e){try{localStorage.setItem($i,e)}catch{}}const lh=ep({legacy:!1,locale:sh()??"en-US",fallbackLocale:"en-US",messages:rh}),ah={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"},ih={class:"flex flex-wrap items-center gap-2"},ch={class:"flex flex-wrap items-center gap-2"},uh=Ke({__name:"PlaygroundHeader",props:{visibleCount:{},totalCount:{}},emits:["refresh"],setup(e,{emit:t}){const n=t,{locale:r,t:s}=yt(),{themeMode:o,effectiveTheme:l,cycleThemeMode:a}=nh(),i=ne(()=>l.value==="dark"?"i-[carbon--moon]":"i-[carbon--sun]"),c=ne(()=>s(`theme.${o.value}`)),u=ne(()=>r.value==="zh-CN"?"中文":"EN");function p(){const b=r.value==="en-US"?"zh-CN":"en-US";r.value=b,oh(b)}function g(){n("refresh")}return(b,S)=>(ee(),ue("div",ah,[U("div",ih,[X(tr,{tone:"strong",size:"xs"},{default:Ie(()=>[S[0]||(S[0]=U("span",{class:"i-[carbon--map] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),U("span",null,Q(W(s)("header.routes",{count:e.visibleCount})),1)]),_:1}),X(tr,{tone:"strong",size:"xs"},{default:Ie(()=>[S[1]||(S[1]=U("span",{class:"i-[carbon--activity] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),U("span",null,Q(W(s)("header.calls",{count:e.totalCount})),1)]),_:1})]),U("div",ch,[X(rt,{size:"xs",title:W(s)("header.languageToggle"),onClick:p},{default:Ie(()=>[S[2]||(S[2]=U("span",{class:"i-[carbon--language] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),U("span",null,Q(u.value),1)]),_:1},8,["title"]),X(rt,{size:"xs",title:W(s)("header.themeToggle"),onClick:W(a)},{default:Ie(()=>[U("span",{class:at([i.value,"h-3.5 w-3.5"]),"aria-hidden":"true"},null,2),U("span",null,Q(c.value),1)]),_:1},8,["title","onClick"]),X(rt,{size:"xs",onClick:g},{default:Ie(()=>[S[3]||(S[3]=U("span",{class:"i-[carbon--rotate] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),U("span",null,Q(W(s)("header.refresh")),1)]),_:1})])]))}});function fh(e){const t=e.endsWith("/")&&e!=="/"?e.slice(0,-1):e;return t==="/"?"":t.endsWith("/index.html")?t.slice(0,-11):t}function kn(e){return e.replace(/\\/g,"/")}const dh=Ke({__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(l){const a=l.target;r("update:search",a?.value??"")}const{t:o}=yt();return(l,a)=>(ee(),ue("section",{class:at(["grid",n.compact?"gap-2":"gap-3"])},[X(on,{label:W(o)("filters.search"),dense:n.compact},{default:Ie(()=>[X(nr,{value:e.search,type:"search",dense:n.compact,placeholder:W(o)("filters.searchPlaceholder"),"data-testid":"playground-search",onInput:s},null,8,["value","dense","placeholder"])]),_:1},8,["label","dense"]),n.showBase?(ee(),Jt(on,{key:0,label:W(o)("filters.base"),dense:n.compact},{default:Ie(()=>[X(nr,{value:e.basePath,readonly:"",dense:n.compact},null,8,["value","dense"])]),_:1},8,["label","dense"])):mt("",!0)],2))}}),ph={class:"flex flex-wrap items-center gap-2"},mh=Ke({__name:"PlaygroundTabs",props:{groups:{},activeGroup:{}},emits:["select"],setup(e,{emit:t}){const n=t,{t:r}=yt();return(s,o)=>(ee(),ue("section",ph,[X(rt,{size:"md",active:e.activeGroup==="all",onClick:o[0]||(o[0]=l=>n("select","all"))},{default:Ie(()=>[nt(Q(W(r)("tabs.overview")),1)]),_:1},8,["active"]),(ee(!0),ue($e,null,Kn(e.groups,l=>(ee(),Jt(rt,{key:l.key,size:"md",active:e.activeGroup===l.key,onClick:a=>n("select",l.key)},{default:Ie(()=>[nt(Q(l.label),1)]),_:2},1032,["active","onClick"]))),128))]))}}),hh={class:"flex flex-col gap-1","data-testid":"playground-tree"},gh=["title","onClick"],bh=["aria-label","onClick"],_h=Ke({__name:"RouteTree",props:{rows:{},workspaceRoot:{},getRouteCount:{type:Function}},emits:["toggle","select"],setup(e,{emit:t}){const n=e,r=t,s=p=>`method-${p.toLowerCase()}`;function o(){return(n.workspaceRoot??"").trim().length>0}function l(p){return p.startsWith("/")||/^[a-z]:\//i.test(p)}function a(p){if(!o())return null;const g=kn(p.file||"").trim();if(!g)return null;if(l(g))return g;const b=kn((n.workspaceRoot??"").trim());if(!b)return null;const S=b.replace(/\/$/,""),T=g.replace(/^\/+/,"");return`${S}/${T}`}function i(p){const g=a(p);if(!g)return;const b=`vscode://file/${encodeURI(g)}`;window.location.href=b}function c(p){if(p.kind==="folder"){r("toggle",p.id);return}r("select",p)}function u(p){return n.getRouteCount?n.getRouteCount(p):0}return(p,g)=>(ee(),ue("div",hh,[(ee(!0),ue($e,null,Kn(e.rows,b=>(ee(),ue("div",{key:b.id,class:at(["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",b.selected?"bg-pg-accent text-pg-on-accent border-pg-accent shadow-sm":""]),"data-testid":"playground-tree-row"},[U("button",{class:"flex min-w-0 flex-1 items-center gap-2 text-left",type:"button",title:b.title,onClick:S=>c(b)},[U("div",{class:"flex items-center gap-2",style:rr({paddingLeft:`${b.depth*12}px`})},[U("span",{class:at(["flex h-3.5 w-3.5 items-center justify-center",b.selected?"text-pg-on-accent-soft":"text-pg-text-muted"])},[b.kind==="folder"?(ee(),ue("span",{key:0,class:at([b.expanded?"i-[carbon--chevron-down]":"i-[carbon--chevron-right]","h-3.5 w-3.5"]),"aria-hidden":"true"},null,2)):mt("",!0)],2),b.kind==="route"&&b.route?(ee(),ue("span",{key:0,class:at(["rounded-full px-1.5 py-0.5 text-[0.5rem] uppercase tracking-[0.2em]",s(b.route.method)])},Q(b.route.method),3)):mt("",!0),U("span",{class:at(["text-[0.78rem]",b.kind==="folder"?"font-semibold":"font-medium"])},Q(b.label),3)],4),b.kind==="route"&&b.route&&u(b.route)>0?(ee(),Jt(tr,{key:0,tone:"chip",size:"xxs",caps:!1,class:"ml-auto"},{default:Ie(()=>[nt(Q(u(b.route)),1)]),_:2},1024)):mt("",!0)],8,gh),b.kind==="route"&&b.route&&a(b.route)?(ee(),ue("button",{key:0,class:at(["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",b.selected?"text-pg-on-accent-soft":""]),type:"button","aria-label":`Open ${b.route.file} in VS Code`,onClick:S=>i(b.route)},[...g[0]||(g[0]=[U("span",{class:"i-[carbon--launch] h-3.5 w-3.5","aria-hidden":"true"},null,-1)])],10,bh)):mt("",!0)],2))),128))]))}}),yh={class:"flex items-center gap-2"},vh=Ke({__name:"TreeModeToggle",props:{treeMode:{}},emits:["update:treeMode"],setup(e,{emit:t}){const n=t;function r(o){n("update:treeMode",o)}const{t:s}=yt();return(o,l)=>(ee(),ue("div",yh,[X(rt,{size:"sm",active:e.treeMode==="file",onClick:l[0]||(l[0]=a=>r("file"))},{default:Ie(()=>[l[2]||(l[2]=U("span",{class:"i-[carbon--document] h-4 w-4","aria-hidden":"true"},null,-1)),U("span",null,Q(W(s)("tree.file")),1)]),_:1},8,["active"]),X(rt,{size:"sm",active:e.treeMode==="route",onClick:l[1]||(l[1]=a=>r("route"))},{default:Ie(()=>[l[3]||(l[3]=U("span",{class:"i-[carbon--link] h-4 w-4","aria-hidden":"true"},null,-1)),U("span",null,Q(W(s)("tree.route")),1)]),_:1},8,["active"])]))}}),xh={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"},wh={class:"relative"},Th={class:"flex items-end gap-2"},kh={class:"mt-2 flex flex-wrap items-center gap-2"},Eh={class:"grid gap-3"},Sh={class:"flex-1 min-h-0 overflow-auto"},Ch={key:0,class:"rounded-2xl border px-4 py-3 text-sm border-pg-danger-border bg-pg-danger-bg text-pg-danger-text"},Rh={key:1,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},Ih={key:0,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},Lh={key:1,class:"rounded-2xl border px-4 py-6 text-sm border-pg-border bg-pg-surface-soft text-pg-text-muted"},Ph={key:2,class:"flex flex-col gap-2"},Oh={class:"flex flex-wrap items-center justify-between gap-2"},Ah={class:"flex flex-col gap-1"},Nh={class:"text-[0.7rem] uppercase tracking-[0.18em] text-pg-text-muted"},Mh={key:0,class:"text-[0.75rem] text-pg-text-subtle"},Fh={class:"flex items-center gap-2"},$h=["aria-label","title","onClick"],Dh=Ke({__name:"PlaygroundSidebar",props:{search:{},basePath:{},groups:{},activeGroup:{},treeMode:{},isDisabledMode:{type:Boolean},activeTotal:{},disabledTotal:{},error:{},loading:{type:Boolean},filtered:{},disabledFiltered:{},treeRows:{},workspaceRoot:{},getRouteCount:{type:Function}},emits:["update:search","select-group","set-route-mode","update:treeMode","toggle","select-route"],setup(e,{emit:t}){const n=e,r=t,{t:s}=yt(),o=ne({get:()=>n.search,set:h=>r("update:search",h)}),l=ne(()=>n.basePath||"/"),a=ne(()=>{const h={rows:n.treeRows};return n.workspaceRoot&&n.workspaceRoot.trim()&&(h.workspaceRoot=n.workspaceRoot),n.getRouteCount&&(h.getRouteCount=n.getRouteCount),h}),i=ce(!1),c=ce(null),u=ce(null);function p(){i.value=!i.value}function g(h){return s(`disabled.reason.${h??"unknown"}`)}function b(h){return h?h.toLowerCase():""}function S(){return(n.workspaceRoot??"").trim().length>0}function T(h){return h.startsWith("/")||/^[a-z]:\//i.test(h)}function O(h){if(!S())return null;const E=kn(h||"").trim();if(!E)return null;if(T(E))return E;const R=kn((n.workspaceRoot??"").trim()).replace(/\/$/,"");if(!R)return null;const L=E.replace(/^\/+/,"");return`${R}/${L}`}function _(h){const E=O(h);if(!E)return;const R=`vscode://file/${encodeURI(E)}`;window.location.href=R}function C(h){h.route&&r("select-route",h.route)}function k(h){if(!i.value)return;const E=h.target;if(!E)return;const R=c.value?.$el;u.value?.contains(E)||R?.contains(E)||(i.value=!1)}return En(()=>{document.addEventListener("pointerdown",k)}),or(()=>{document.removeEventListener("pointerdown",k)}),(h,E)=>(ee(),ue("aside",xh,[U("div",wh,[U("div",Th,[X(dh,{search:o.value,"onUpdate:search":E[0]||(E[0]=R=>o.value=R),"base-path":l.value,"show-base":!1,compact:!0,class:"flex-1"},null,8,["search","base-path"]),X(rt,{ref_key:"moreButtonRef",ref:c,size:"sm",class:"h-9","aria-expanded":i.value,"aria-haspopup":"true","aria-controls":"playground-more-panel",onClick:p},{default:Ie(()=>[E[6]||(E[6]=U("span",{class:"i-[carbon--settings-adjust] h-3.5 w-3.5","aria-hidden":"true"},null,-1)),U("span",null,Q(W(s)("controls.more")),1)]),_:1},8,["aria-expanded"])]),U("div",kh,[X(rt,{size:"md",active:!n.isDisabledMode,onClick:E[1]||(E[1]=R=>r("set-route-mode","active"))},{default:Ie(()=>[nt(Q(W(s)("disabled.active",{count:n.activeTotal})),1)]),_:1},8,["active"]),X(rt,{size:"md",active:n.isDisabledMode,onClick:E[2]||(E[2]=R=>r("set-route-mode","disabled"))},{default:Ie(()=>[nt(Q(W(s)("disabled.disabled",{count:n.disabledTotal})),1)]),_:1},8,["active"])]),i.value?(ee(),ue("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"},[U("div",Eh,[X(on,{label:W(s)("filters.base"),dense:""},{default:Ie(()=>[X(nr,{value:l.value,readonly:"",dense:""},null,8,["value"])]),_:1},8,["label"]),X(mh,{groups:n.groups,"active-group":n.activeGroup,onSelect:E[3]||(E[3]=R=>r("select-group",R))},null,8,["groups","active-group"]),X(vh,{"tree-mode":n.treeMode,"onUpdate:treeMode":E[4]||(E[4]=R=>r("update:treeMode",R))},null,8,["tree-mode"])])],512)):mt("",!0)]),U("div",Sh,[n.error?(ee(),ue("div",Ch,Q(n.error),1)):n.loading?(ee(),ue("div",Rh,Q(W(s)("states.loadingRoutes")),1)):(ee(),ue($e,{key:2},[n.isDisabledMode&&!n.disabledFiltered.length?(ee(),ue("div",Ih,Q(W(s)("states.emptyDisabledRoutes")),1)):!n.isDisabledMode&&!n.filtered.length?(ee(),ue("div",Lh,Q(W(s)("states.emptyRoutes")),1)):n.isDisabledMode?(ee(),ue("div",Ph,[(ee(!0),ue($e,null,Kn(n.disabledFiltered,R=>(ee(),ue("div",{key:`${R.file}-${R.reason}-${R.method??""}-${R.url??""}`,class:"rounded-2xl border px-4 py-3 text-xs border-pg-border bg-pg-surface-soft text-pg-text-soft"},[U("div",Oh,[U("div",Ah,[U("span",Nh,Q(R.method&&R.url?`${R.method} ${b(R.url)}`:b(R.url)||R.file),1),R.method&&R.url?(ee(),ue("span",Mh,Q(R.file),1)):mt("",!0)]),U("div",Fh,[X(tr,{tone:"strong",size:"sm",tracking:"tight"},{default:Ie(()=>[nt(Q(g(R.reason)),1)]),_:2},1024),O(R.file)?(ee(),ue("button",{key:0,class:"flex h-7 w-7 items-center justify-center rounded-md transition text-pg-text-muted hover:bg-pg-hover-strong hover:text-pg-text-soft",type:"button","aria-label":`Open ${R.file} in VS Code`,title:W(s)("detail.openInVscode"),onClick:L=>_(R.file)},[...E[7]||(E[7]=[U("span",{class:"i-[carbon--launch] h-3.5 w-3.5","aria-hidden":"true"},null,-1)])],8,$h)):mt("",!0)])])]))),128))])):(ee(),Jt(_h,un({key:3},a.value,{onToggle:E[5]||(E[5]=R=>r("toggle",R)),onSelect:C}),null,16))],64))])]))}});new Set(".\\+*[^]$()");const ys=/^[\w-]+$/,Uh=/^\[([^\]/]+)\]$/,Vh=/^\[\.\.\.([^\]/]+)\]$/,Wh=/^\[\[\.\.\.([^\]/]+)\]\]$/,jh=/^\([^)]+\)$/;function Hh(e){switch(e.type){case"static":return 4;case"param":return 3;case"catchall":return 2;case"optional-catchall":return 1;default:return 0}}function Gh(e){return e.map(Hh)}function Di(e){const n=(e.split("?")[0]??"").split("#")[0]??"";let r=n.startsWith("/")?n:`/${n}`;return r.length>1&&r.endsWith("/")&&(r=r.slice(0,-1)),r}function Bh(e){return Di(e).split("/").filter(Boolean)}function vs(e){const t=[],n=[],r=Di(e),s=Bh(r),o=[],l=new Set;for(let a=0;a<s.length;a+=1){const i=s[a];if(!i)continue;if(jh.test(i)){t.push(`Route groups are not supported: ${i}`);continue}const c=i.match(Wh);if(c){const g=c[1];if(!g){t.push(`Invalid optional catch-all param name "${i}"`);continue}if(!ys.test(g)){t.push(`Invalid optional catch-all param name "${g}"`);continue}if(a!==s.length-1){t.push(`Optional catch-all "${i}" must be the last segment`);continue}l.has(g)&&n.push(`Duplicate param name "${g}"`),l.add(g),o.push({type:"optional-catchall",name:g});continue}const u=i.match(Vh);if(u){const g=u[1];if(!g){t.push(`Invalid catch-all param name "${i}"`);continue}if(!ys.test(g)){t.push(`Invalid catch-all param name "${g}"`);continue}if(a!==s.length-1){t.push(`Catch-all "${i}" must be the last segment`);continue}l.has(g)&&n.push(`Duplicate param name "${g}"`),l.add(g),o.push({type:"catchall",name:g});continue}const p=i.match(Uh);if(p){const g=p[1];if(!g){t.push(`Invalid param name "${i}"`);continue}if(!ys.test(g)){t.push(`Invalid param name "${g}"`);continue}l.has(g)&&n.push(`Duplicate param name "${g}"`),l.add(g),o.push({type:"param",name:g});continue}if(i.includes("[")||i.includes("]")||i.includes("(")||i.includes(")")){t.push(`Invalid route segment "${i}"`);continue}o.push({type:"static",value:i})}return{template:r,tokens:o,score:Gh(o),errors:t,warnings:n}}function Tr(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 Kh(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 kr=null;function Ui(e){try{return new URL(e).pathname.includes("mokup-sw")}catch{return e.includes("mokup-sw")}}function Ml(e){return[e.active?.scriptURL,e.waiting?.scriptURL,e.installing?.scriptURL].filter(n=>typeof n=="string").some(n=>Ui(n))}function zh(e){return!!e&&Ui(e.scriptURL)}async function qh(){if(typeof window>"u"||!("serviceWorker"in navigator))return null;try{const e=await navigator.serviceWorker.getRegistration();if(e&&Ml(e))return e}catch{}try{return(await navigator.serviceWorker.getRegistrations()).find(Ml)??null}catch{return null}}function Bs(e,t){return e==="catchall"?`[...${t}]`:e==="optional-catchall"?`[[...${t}]]`:`[${t}]`}function Yh(e){const t=[],n=new Set;for(const r of e){if(r.type==="static"||n.has(r.name))continue;n.add(r.name);const s=r.type;t.push({id:`${s}:${r.name}`,name:r.name,kind:s,token:Bs(s,r.name),required:s!=="optional-catchall"})}return t}function Vi(e){const t=e.trim().replace(/^\/+|\/+$/g,"");return t?t.split("/").filter(Boolean):[]}function Jh(e){const t=new URLSearchParams;for(const[r,s]of Object.entries(e))typeof s>"u"||(Array.isArray(s)?s.forEach(o=>t.append(r,String(o))):t.set(r,String(s)));const n=t.toString();return n?`?${n}`:""}function Xh(e,t){const n=[],r=new Set;for(const o of e){if(o.type==="static"){n.push(o.value);continue}const l=t[o.name]?.trim()??"";if(!l){o.type!=="optional-catchall"&&r.add(o.name);continue}if(o.type==="param"){n.push(encodeURIComponent(l));continue}const a=Vi(l).map(encodeURIComponent);if(a.length===0){o.type!=="optional-catchall"&&r.add(o.name);continue}n.push(...a)}return{path:n.length>0?`/${n.join("/")}`:"/",missing:[...r]}}function Qh(e,t){const n=[];for(const r of e){if(r.type==="static"){n.push(r.value);continue}const s=t[r.name]?.trim()??"";if(!s){r.type!=="optional-catchall"&&n.push(Bs(r.type,r.name));continue}if(r.type==="param"){n.push(encodeURIComponent(s));continue}const o=Vi(s).map(encodeURIComponent);if(o.length===0){r.type!=="optional-catchall"&&n.push(Bs(r.type,r.name));continue}n.push(...o)}return n.length>0?`/${n.join("/")}`:"/"}function Fl(e){const t=e.trim();if(!t)return[];const n=t.split(/[&\n]/),r=[];for(const s of n){const o=s.trim();if(!o)continue;const[l,...a]=o.split("="),i=(l??"").trim();if(!i)continue;const c=a.join("=").trim();r.push([i,c])}return r}function Zh(e){const t=e.trim();if(!t)return{value:void 0};const r=(t.startsWith("data:")?t.split("base64,").pop()??"":t).replace(/\s+/g,"");try{const s=atob(r),o=new Uint8Array(s.length);for(let l=0;l<s.length;l+=1)o[l]=s.charCodeAt(l);return{value:o}}catch(s){return{error:s instanceof Error?s.message:"Invalid base64"}}}function eg(e,t={}){const{t:n}=yt(),r=ce(""),s=ce(""),o=ce(""),l=ce("json"),a=ce(n("response.empty")),i=ce(n("response.idle")),c=ce(""),u=ce(!1),p=ce(!1),g=ne(()=>u.value&&!p.value),b=ce({}),S=ne(()=>Object.values(b.value).reduce((j,Y)=>j+Y,0)),T=ce(!1),O=ce(null),_=ce(""),C=ce([]),k=ce([]),h=ce({}),E=ne(()=>{if(!e.value)return"";const j=C.value.length>0?C.value:vs(e.value.url).tokens,Y=Qh(j,h.value),Z=Tr(r.value);return Z.error||!Z.value?Y:`${Y}${Jh(Z.value)}`});function R(j){return`${j.method} ${j.url}`}function L(j){return b.value[R(j)]??0}function D(j){const Y=j.trim();if(!Y)return"";const Z=Y.startsWith("/")?Y:`/${Y}`,ie=Z.endsWith("/")?Z.slice(0,-1):Z,re=new URL(`${ie}/ws`,window.location.origin);return re.protocol=re.protocol==="https:"?"wss:":"ws:",re.toString()}function J(j){b.value={...j.perRoute}}function ge(j){b.value[j.routeKey]=(b.value[j.routeKey]??0)+1}function ke(j){if(typeof j.data=="string")try{const Y=JSON.parse(j.data);if(Y.type==="snapshot"&&Y.perRoute){J(Y);return}Y.type==="increment"&&typeof Y.routeKey=="string"&&ge(Y)}catch{}}function se(){O.value&&(O.value.close(),O.value=null),_.value="",T.value=!1}function De(j){if(typeof window>"u")return;const Y=D(j);if(!(!Y||_.value===Y)){se(),_.value=Y;try{const Z=new WebSocket(Y);O.value=Z,Z.addEventListener("open",()=>{T.value=!0}),Z.addEventListener("message",ke),Z.addEventListener("close",()=>{O.value===Z&&se()}),Z.addEventListener("error",()=>{O.value===Z&&se()})}catch{se()}}}function le(j,Y){h.value={...h.value,[j]:Y}}function ae(j){if(!j){C.value=[],k.value=[],h.value={};return}const Y=vs(j.url);C.value=Y.tokens;const Z=Yh(Y.tokens),ie={};for(const re of Z)ie[re.name]=h.value[re.name]??"";k.value=Z,h.value=ie}async function K(){if(p.value)return!0;if(typeof window>"u"||!("serviceWorker"in navigator))return!1;const j=navigator.serviceWorker.controller;if(zh(j))return u.value=!0,p.value=!0,!0;if(!u.value){if(!await qh())return!1;u.value=!0}return kr||(kr=navigator.serviceWorker.ready.then(()=>{p.value=!0}).catch(()=>{kr=null})),await kr,p.value}typeof window<"u"&&"serviceWorker"in navigator&&K().catch(()=>{}),t.basePath&&bt(t.basePath,j=>{j&&De(j)},{immediate:!0}),Xr()&&or(()=>{se()});function z(){a.value=n("response.empty"),i.value=n("response.idle"),c.value=""}async function F(){if(!e.value)return;const j=C.value.length>0?C.value:vs(e.value.url).tokens,Y=Xh(j,h.value);if(Y.missing.length>0){a.value=n("errors.routeParams",{params:Y.missing.join(", ")});return}const Z=R(e.value),ie=Tr(r.value);if(ie.error){a.value=n("errors.queryJson",{message:ie.error});return}const re=Tr(s.value);if(re.error){a.value=n("errors.headersJson",{message:re.error});return}const ve=new URL(Y.path,window.location.origin);ie.value&&Kh(ve,ie.value);const be={};if(re.value)for(const[xe,de]of Object.entries(re.value))typeof de>"u"||(be[xe]=Array.isArray(de)?de.join(","):String(de));const Ee={method:e.value.method,headers:be},_e=e.value.method.toUpperCase();if(_e!=="GET"&&_e!=="HEAD"){const xe=o.value;if(l.value==="json"){const de=Tr(xe);if(de.error){a.value=n("errors.bodyJson",{message:de.error});return}de.value&&(Ee.body=JSON.stringify(de.value),be["Content-Type"]||(be["Content-Type"]="application/json"))}else if(l.value==="text")xe.trim()&&(Ee.body=xe,be["Content-Type"]||(be["Content-Type"]="text/plain; charset=utf-8"));else if(l.value==="form"){const de=Fl(xe);if(de.length>0){const Ge=new URLSearchParams;for(const[m,v]of de)Ge.append(m,v);Ee.body=Ge.toString(),be["Content-Type"]||(be["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8")}}else if(l.value==="multipart"){const de=Fl(xe);if(de.length>0){const Ge=new FormData;for(const[m,v]of de)Ge.append(m,v);Ee.body=Ge}}else if(l.value==="base64"){const de=Zh(xe);if(de.error){a.value=n("errors.bodyBase64",{message:de.error});return}de.value&&(Ee.body=de.value,be["Content-Type"]||(be["Content-Type"]="application/octet-stream"))}}i.value=n("response.loading"),c.value="",a.value=n("response.waiting"),await K();const ze=performance.now();try{const xe=await fetch(ve.toString(),Ee);T.value||(b.value[Z]=(b.value[Z]??0)+1);const de=Math.round(performance.now()-ze);c.value=`${de}ms`,i.value=`${xe.status} ${xe.statusText}`;const Ge=xe.headers.get("content-type")??"",m=await xe.text();if(Ge.includes("application/json"))try{a.value=JSON.stringify(JSON.parse(m),null,2)}catch{a.value=m}else a.value=m||n("response.emptyPayload")}catch(xe){i.value=n("response.error"),a.value=xe instanceof Error?xe.message:String(xe)}}return bt(e,()=>{z(),ae(e.value)}),{queryText:r,headersText:s,bodyText:o,bodyType:l,responseText:a,responseStatus:i,responseTime:c,resetResponse:z,runRequest:F,isSwRegistering:g,routeParams:k,paramValues:h,setParamValue:le,requestUrl:E,routeCounts:b,totalCount:S,getRouteCount:L}}function tg(){const e=ce([]),t=ce([]),n=ce([]),r=ce(null),s=ce([]),o=ce("all"),l=ce(!1),a=ce(""),i=ce(""),c=ce(""),u=ce(""),p=ne(()=>i.value.trim().toLowerCase()),g=ne(()=>n.value.length),b=ne(()=>t.value.length),S=ne(()=>`${c.value||""}/routes`),T=L=>`${L.method} ${L.url}`;function O(){return o.value==="all"?e.value:e.value.filter(L=>L.groupKey===o.value)}function _(){const L=p.value,D=O();n.value=L?D.filter(J=>`${J.method} ${J.url} ${J.file}`.toLowerCase().includes(L)):[...D]}const C=ne(()=>{const L=p.value;return L?t.value.filter(D=>`${D.method??""} ${D.url??""} ${D.file} ${D.reason}`.toLowerCase().includes(L)):[...t.value]});function k(L){o.value=L,_(),!(r.value&&n.value.some(J=>T(J)===T(r.value)))&&(r.value=n.value[0]??null)}function h(L){r.value=L}function E(L){c.value=fh(L)}async function R(){l.value=!0,a.value="";const L=r.value?T(r.value):"",D=o.value;try{const J=await fetch(S.value);if(!J.ok)throw new Error(`Failed to load routes: ${J.status}`);const ge=await J.json();if(e.value=ge.routes??[],t.value=ge.disabled??[],s.value=ge.groups??[],u.value=ge.root??"",D!=="all"&&(s.value.some(se=>se.key===D)||(o.value="all")),_(),L){const ke=n.value.find(se=>T(se)===L);r.value=ke??n.value[0]??null}else r.value=n.value[0]??null}catch(J){a.value=J instanceof Error?J.message:String(J)}finally{l.value=!1}}return bt(i,()=>{_()}),{routes:e,disabledRoutes:t,disabledFiltered:C,filtered:n,selected:r,groups:s,activeGroup:o,loading:l,error:a,search:i,basePath:c,workspaceRoot:u,searchTerm:p,routeCount:g,disabledCount:b,routeKey:T,loadRoutes:R,setActiveGroup:k,selectRoute:h,setBasePath:E}}function ng(e,t){if(t==="file")return kn(e.file).split("/").filter(Boolean);const n=kn(e.url),r=n.startsWith("/")?n.slice(1):n;return r?r.split("/").filter(Boolean):[]}function Wi(e,t){const n={id:`${t}:root`,label:"",kind:"folder",path:"",children:[]};for(const r of e){const s=ng(r,t);if(s.length===0){const a=`${t}:route:${r.method} ${r.url}|${r.file}`;n.children.push({id:a,label:"/",kind:"route",path:"/",route:r,children:[]});continue}let o=n;const l=s.length;for(let a=0;a<l;a+=1){const i=s[a];if(a===l-1){const g=`${t}:route:${r.method} ${r.url}|${r.file}`;o.children.push({id:g,label:i,kind:"route",path:s.join("/"),route:r,children:[]});continue}o.map||(o.map=new Map);const u=s.slice(0,a+1).join("/");let p=o.map.get(u);p||(p={id:`${t}:folder:${u}`,label:i,kind:"folder",path:u,children:[]},o.map.set(u,p),o.children.push(p)),o=p}}return n}function vo(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"&&vo(t)}function ji(e,t){for(const n of e.children)n.kind==="folder"&&(t.push(n.id),ji(n,t))}function rg(e,t){const n=Wi(e,t);vo(n);const r=[];return ji(n,r),r}function Hi(e,t,n,r,s,o,l){for(const a of e.children){const i=a.kind==="folder"?a.path:n==="file"?a.route?.file:a.route?.url,c=a.kind==="folder"?s(a.id):void 0;r.push({id:a.id,label:a.label,kind:a.kind,depth:t,title:i,expanded:c,selected:a.route?l(a.route)===o:!1,route:a.route}),a.kind==="folder"&&c&&Hi(a,t+1,n,r,s,o,l)}}function sg(e){const t=[];return Hi(e.root,0,e.mode,t,e.isExpanded,e.selectedKey,e.getRouteKey),t}function og(e){const t=ce("file"),n=ce(new Set),r=ce(new Set),s=ce(!1),o=ce(!1);function l(){return"mokup.playground.treeMode"}function a(k){return`mokup.playground.treeExpanded.${k}`}function i(k){try{const h=localStorage.getItem(a(k));if(!h)return{set:new Set,hasValue:!1};const E=JSON.parse(h);return Array.isArray(E)?{set:new Set(E.filter(R=>typeof R=="string")),hasValue:!0}:{set:new Set,hasValue:!1}}catch{return{set:new Set,hasValue:!1}}}function c(k,h){try{localStorage.setItem(a(k),JSON.stringify([...h]))}catch{}}function u(k){try{localStorage.setItem(l(),k)}catch{}}function p(){return t.value==="file"?n.value:r.value}function g(k,h){k==="file"?n.value=h:r.value=h}function b(k){return k==="file"?s.value:o.value}function S(k,h){k==="file"?s.value=h:o.value=h}function T(k){return e.searchTerm.value||!b(t.value)?!0:p().has(k)}function O(k){const h=t.value;if(!b(h)){const R=new Set(rg(e.routes.value,h));g(h,R),S(h,!0)}const E=new Set(p());E.has(k)?E.delete(k):E.add(k),g(h,E),S(h,!0),c(h,E)}function _(k){t.value=k,u(k)}const C=ne(()=>{const k=t.value,h=Wi(e.routes.value,k);return vo(h),sg({root:h,mode:k,isExpanded:T,selectedKey:e.selectedKey.value,getRouteKey:e.getRouteKey})});return En(()=>{try{const k=localStorage.getItem(l());(k==="file"||k==="route")&&(t.value=k);const h=i("file");n.value=h.set,s.value=h.hasValue;const E=i("route");r.value=E.set,o.value=E.hasValue}catch{}}),{treeMode:t,treeRows:C,toggleExpanded:O,setTreeMode:_}}const lg={class:"h-screen overflow-hidden pg-app-bg","data-testid":"playground-app"},ag={class:"flex h-full w-full flex-col"},ig={class:"flex min-h-0 flex-1 flex-col overflow-hidden"},cg={class:"flex flex-1 flex-col overflow-hidden bg-pg-surface-shell"},ug={class:"relative hidden w-4 flex-none items-center justify-center lg:flex"},fg={class:"flex min-h-0 flex-1 flex-col overflow-hidden p-4 lg:p-6"},dg={class:"mt-3 flex-1 min-h-0 overflow-auto"},$l="mokup:playground:split-width",pg=240,mg=560,hg=Ke({__name:"App",setup(e){const{routes:t,filtered:n,disabledRoutes:r,disabledFiltered:s,selected:o,groups:l,activeGroup:a,loading:i,error:c,search:u,basePath:p,workspaceRoot:g,searchTerm:b,routeCount:S,routeKey:T,loadRoutes:O,setActiveGroup:_,selectRoute:C,setBasePath:k}=tg(),{queryText:h,headersText:E,bodyText:R,bodyType:L,responseText:D,responseStatus:J,responseTime:ge,runRequest:ke,isSwRegistering:se,routeParams:De,paramValues:le,setParamValue:ae,requestUrl:K,totalCount:z,getRouteCount:F}=eg(o,{basePath:p}),j=ne(()=>o.value?T(o.value):""),Y=ce("active"),Z=ne(()=>Y.value==="disabled"),ie=ne(()=>t.value.length),re=ne(()=>r.value.length),ve=ne(()=>Z.value?s.value.length:S.value),be=ce(320),Ee=ce(!1);let _e=0,ze=0;const xe=ne(()=>({"--left-width":`${be.value}px`})),{treeMode:de,treeRows:Ge,toggleExpanded:m,setTreeMode:v}=og({routes:n,selectedKey:j,searchTerm:b,getRouteKey:T});function P(y){Y.value=y,y==="disabled"&&C(null)}function $(y){return Math.min(mg,Math.max(pg,y))}function A(y){if(!Ee.value)return;const w=y.clientX-_e;be.value=$(ze+w)}function M(){Ee.value&&(Ee.value=!1,window.removeEventListener("pointermove",A),window.removeEventListener("pointerup",M),localStorage.setItem($l,String(be.value)))}function f(y){y.button===0&&(y.preventDefault(),Ee.value=!0,_e=y.clientX,ze=be.value,window.addEventListener("pointermove",A),window.addEventListener("pointerup",M))}function d(){O().catch(()=>{})}return En(()=>{k(window.location.pathname);const y=Number(localStorage.getItem($l));Number.isFinite(y)&&y>0&&(be.value=$(y)),window.__MOKUP_PLAYGROUND__={reloadRoutes:d},d()}),or(()=>{M()}),(y,w)=>(ee(),ue("div",lg,[U("div",ag,[U("main",ig,[U("div",cg,[U("div",{class:at(["flex min-h-0 flex-1 flex-col lg:flex-row",Ee.value?"select-none":""]),style:rr(xe.value)},[X(Dh,{search:W(u),"onUpdate:search":w[0]||(w[0]=V=>Ne(u)?u.value=V:null),"base-path":W(p),groups:W(l),"active-group":W(a),"tree-mode":W(de),"is-disabled-mode":Z.value,"active-total":ie.value,"disabled-total":re.value,error:W(c),loading:W(i),filtered:W(n),"disabled-filtered":W(s),"tree-rows":W(Ge),"workspace-root":W(g),"get-route-count":W(F),onSelectGroup:W(_),onSetRouteMode:P,onToggle:W(m),onSelectRoute:W(C),"onUpdate:treeMode":W(v)},null,8,["search","base-path","groups","active-group","tree-mode","is-disabled-mode","active-total","disabled-total","error","loading","filtered","disabled-filtered","tree-rows","workspace-root","get-route-count","onSelectGroup","onToggle","onSelectRoute","onUpdate:treeMode"]),U("div",ug,[w[6]||(w[6]=U("div",{class:"h-full w-px bg-pg-divider"},null,-1)),U("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:f},[...w[5]||(w[5]=[U("span",{class:"i-[carbon--drag-horizontal] h-5 w-5","aria-hidden":"true"},null,-1)])],32)]),U("section",fg,[X(uh,{"visible-count":ve.value,"total-count":W(z),onRefresh:d},null,8,["visible-count","total-count"]),U("div",dg,[X(Qm,{queryText:W(h),"onUpdate:queryText":w[1]||(w[1]=V=>Ne(h)?h.value=V:null),headersText:W(E),"onUpdate:headersText":w[2]||(w[2]=V=>Ne(E)?E.value=V:null),bodyText:W(R),"onUpdate:bodyText":w[3]||(w[3]=V=>Ne(R)?R.value=V:null),bodyType:W(L),"onUpdate:bodyType":w[4]||(w[4]=V=>Ne(L)?L.value=V:null),selected:W(o),"request-url":W(K),"workspace-root":W(g),"response-text":W(D),"response-status":W(J),"response-time":W(ge),"is-sw-registering":W(se),"route-params":W(De),"param-values":W(le),"is-disabled-mode":Z.value,"onUpdate:paramValue":W(ae),onRun:W(ke)},null,8,["queryText","headersText","bodyText","bodyType","selected","request-url","workspace-root","response-text","response-status","response-time","is-sw-registering","route-params","param-values","is-disabled-mode","onUpdate:paramValue","onRun"])])])],6)])])])]))}});th();af(hg).use(lh).mount("#app");
|