const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-sU0pwRT9.js","assets/is-plan-event-enabled-DeNtQvA5.js","assets/index-B-5n3K6b.js"])))=>i.map(i=>d[i]); /** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function fn(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const at={},Wo=[],vr=()=>{},el=()=>!1,Za=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),E_=e=>e.startsWith("onUpdate:"),ot=Object.assign,A_=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},j4=Object.prototype.hasOwnProperty,bt=(e,t)=>j4.call(e,t),Ce=Array.isArray,Go=e=>Ru(e)==="[object Map]",Ya=e=>Ru(e)==="[object Set]",Z0=e=>Ru(e)==="[object Date]",z4=e=>Ru(e)==="[object RegExp]",Be=e=>typeof e=="function",We=e=>typeof e=="string",Qr=e=>typeof e=="symbol",Et=e=>e!==null&&typeof e=="object",C_=e=>(Et(e)||Be(e))&&Be(e.then)&&Be(e.catch),h2=Object.prototype.toString,Ru=e=>h2.call(e),W4=e=>Ru(e).slice(8,-1),Uh=e=>Ru(e)==="[object Object]",T_=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pi=fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),G4=fn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Hh=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},K4=/-(\w)/g,Nt=Hh(e=>e.replace(K4,(t,r)=>r?r.toUpperCase():"")),Z4=/\B([A-Z])/g,Kr=Hh(e=>e.replace(Z4,"-$1").toLowerCase()),Ja=Hh(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ko=Hh(e=>e?`on${Ja(e)}`:""),xr=(e,t)=>!Object.is(e,t),Zo=(e,...t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Lp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fp=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let Y0;const Vh=()=>Y0||(Y0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Y4(e,t){return e+JSON.stringify(t,(r,n)=>typeof n=="function"?n.toString():n)}const J4="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Q4=fn(J4);function Fr(e){if(Ce(e)){const t={};for(let r=0;r{if(r){const n=r.split(eO);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ze(e){let t="";if(We(e))t=e;else if(Ce(e))for(let r=0;rNi(r,t))}const _2=e=>!!(e&&e.__v_isRef===!0),D=e=>We(e)?e:e==null?"":Ce(e)||Et(e)&&(e.toString===h2||!Be(e.toString))?_2(e)?D(e.value):JSON.stringify(e,y2,2):String(e),y2=(e,t)=>_2(t)?y2(e,t.value):Go(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,s],i)=>(r[qm(n,i)+" =>"]=s,r),{})}:Ya(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>qm(r))}:Qr(t)?qm(t):Et(t)&&!Ce(t)&&!Uh(t)?String(t):t,qm=(e,t="")=>{var r;return Qr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let $r;class I_{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=$r,!t&&$r&&(this.index=($r.scopes||($r.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t0)return;if(ul){let t=ul;for(ul=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;ol;){let t=ol;for(ol=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function w2(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function k2(e){let t,r=e.depsTail,n=r;for(;n;){const s=n.prevDep;n.version===-1?(n===r&&(r=s),R_(n),hO(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=r}function Dg(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(E2(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function E2(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Il))return;e.globalVersion=Il;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Dg(e)){e.flags&=-3;return}const r=Rt,n=zn;Rt=e,zn=!0;try{w2(e);const s=e.fn(e._value);(t.version===0||xr(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Rt=r,zn=n,k2(e),e.flags&=-3}}function R_(e,t=!1){const{dep:r,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)R_(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function hO(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function mO(e,t){e.effect instanceof Tl&&(e=e.effect.fn);const r=new Tl(e);t&&ot(r,t);try{r.run()}catch(s){throw r.stop(),s}const n=r.run.bind(r);return n.effect=r,n}function gO(e){e.effect.stop()}let zn=!0;const A2=[];function ji(){A2.push(zn),zn=!1}function zi(){const e=A2.pop();zn=e===void 0?!0:e}function J0(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=Rt;Rt=void 0;try{t()}finally{Rt=r}}}let Il=0;class vO{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class zh{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}track(t){if(!Rt||!zn||Rt===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Rt)r=this.activeLink=new vO(Rt,this),Rt.deps?(r.prevDep=Rt.depsTail,Rt.depsTail.nextDep=r,Rt.depsTail=r):Rt.deps=Rt.depsTail=r,C2(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=Rt.depsTail,r.nextDep=void 0,Rt.depsTail.nextDep=r,Rt.depsTail=r,Rt.deps===r&&(Rt.deps=n)}return r}trigger(t){this.version++,Il++,this.notify(t)}notify(t){P_();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{O_()}}}function C2(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)C2(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Bp=new WeakMap,Ca=Symbol(""),Lg=Symbol(""),Pl=Symbol("");function Sr(e,t,r){if(zn&&Rt){let n=Bp.get(e);n||Bp.set(e,n=new Map);let s=n.get(r);s||(n.set(r,s=new zh),s.map=n,s.key=r),s.track()}}function Ls(e,t,r,n,s,i){const a=Bp.get(e);if(!a){Il++;return}const o=u=>{u&&u.trigger()};if(P_(),t==="clear")a.forEach(o);else{const u=Ce(e),l=u&&T_(r);if(u&&r==="length"){const c=Number(n);a.forEach((d,p)=>{(p==="length"||p===Pl||!Qr(p)&&p>=c)&&o(d)})}else switch((r!==void 0||a.has(void 0))&&o(a.get(r)),l&&o(a.get(Pl)),t){case"add":u?l&&o(a.get("length")):(o(a.get(Ca)),Go(e)&&o(a.get(Lg)));break;case"delete":u||(o(a.get(Ca)),Go(e)&&o(a.get(Lg)));break;case"set":Go(e)&&o(a.get(Ca));break}}O_()}function _O(e,t){const r=Bp.get(e);return r&&r.get(t)}function po(e){const t=Qe(e);return t===e?t:(Sr(t,"iterate",Pl),on(e)?t:t.map(wr))}function Wh(e){return Sr(e=Qe(e),"iterate",Pl),e}const yO={__proto__:null,[Symbol.iterator](){return zm(this,Symbol.iterator,wr)},concat(...e){return po(this).concat(...e.map(t=>Ce(t)?po(t):t))},entries(){return zm(this,"entries",e=>(e[1]=wr(e[1]),e))},every(e,t){return Ts(this,"every",e,t,void 0,arguments)},filter(e,t){return Ts(this,"filter",e,t,r=>r.map(wr),arguments)},find(e,t){return Ts(this,"find",e,t,wr,arguments)},findIndex(e,t){return Ts(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ts(this,"findLast",e,t,wr,arguments)},findLastIndex(e,t){return Ts(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ts(this,"forEach",e,t,void 0,arguments)},includes(...e){return Wm(this,"includes",e)},indexOf(...e){return Wm(this,"indexOf",e)},join(e){return po(this).join(e)},lastIndexOf(...e){return Wm(this,"lastIndexOf",e)},map(e,t){return Ts(this,"map",e,t,void 0,arguments)},pop(){return Uu(this,"pop")},push(...e){return Uu(this,"push",e)},reduce(e,...t){return Q0(this,"reduce",e,t)},reduceRight(e,...t){return Q0(this,"reduceRight",e,t)},shift(){return Uu(this,"shift")},some(e,t){return Ts(this,"some",e,t,void 0,arguments)},splice(...e){return Uu(this,"splice",e)},toReversed(){return po(this).toReversed()},toSorted(e){return po(this).toSorted(e)},toSpliced(...e){return po(this).toSpliced(...e)},unshift(...e){return Uu(this,"unshift",e)},values(){return zm(this,"values",wr)}};function zm(e,t,r){const n=Wh(e),s=n[t]();return n!==e&&!on(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=r(i.value)),i}),s}const bO=Array.prototype;function Ts(e,t,r,n,s,i){const a=Wh(e),o=a!==e&&!on(e),u=a[t];if(u!==bO[t]){const d=u.apply(e,i);return o?wr(d):d}let l=r;a!==e&&(o?l=function(d,p){return r.call(this,wr(d),p,e)}:r.length>2&&(l=function(d,p){return r.call(this,d,p,e)}));const c=u.call(a,l,n);return o&&s?s(c):c}function Q0(e,t,r,n){const s=Wh(e);let i=r;return s!==e&&(on(e)?r.length>3&&(i=function(a,o,u){return r.call(this,a,o,u,e)}):i=function(a,o,u){return r.call(this,a,wr(o),u,e)}),s[t](i,...n)}function Wm(e,t,r){const n=Qe(e);Sr(n,"iterate",Pl);const s=n[t](...r);return(s===-1||s===!1)&&Zh(r[0])?(r[0]=Qe(r[0]),n[t](...r)):s}function Uu(e,t,r=[]){ji(),P_();const n=Qe(e)[t].apply(e,r);return O_(),zi(),n}const SO=fn("__proto__,__v_isRef,__isVue"),T2=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qr));function wO(e){Qr(e)||(e=String(e));const t=Qe(this);return Sr(t,"has",e),t.hasOwnProperty(e)}class I2{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(s?i?x2:M2:i?$2:R2).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=Ce(t);if(!s){let u;if(a&&(u=yO[r]))return u;if(r==="hasOwnProperty")return wO}const o=Reflect.get(t,r,yt(t)?t:n);return(Qr(r)?T2.has(r):SO(r))||(s||Sr(t,"get",r),i)?o:yt(o)?a&&T_(r)?o:o.value:Et(o)?s?Sc(o):Wi(o):o}}class P2 extends I2{constructor(t=!1){super(!1,t)}set(t,r,n,s){let i=t[r];if(!this._isShallow){const u=Di(i);if(!on(n)&&!Di(n)&&(i=Qe(i),n=Qe(n)),!Ce(t)&&yt(i)&&!yt(n))return u?!1:(i.value=n,!0)}const a=Ce(t)&&T_(r)?Number(r)e,zc=e=>Reflect.getPrototypeOf(e);function TO(e,t,r){return function(...n){const s=this.__v_raw,i=Qe(s),a=Go(i),o=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,l=s[e](...n),c=r?Fg:t?Bg:wr;return!t&&Sr(i,"iterate",u?Lg:Ca),{next(){const{value:d,done:p}=l.next();return p?{value:d,done:p}:{value:o?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Wc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function IO(e,t){const r={get(s){const i=this.__v_raw,a=Qe(i),o=Qe(s);e||(xr(s,o)&&Sr(a,"get",s),Sr(a,"get",o));const{has:u}=zc(a),l=t?Fg:e?Bg:wr;if(u.call(a,s))return l(i.get(s));if(u.call(a,o))return l(i.get(o));i!==a&&i.get(s)},get size(){const s=this.__v_raw;return!e&&Sr(Qe(s),"iterate",Ca),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,a=Qe(i),o=Qe(s);return e||(xr(s,o)&&Sr(a,"has",s),Sr(a,"has",o)),s===o?i.has(s):i.has(s)||i.has(o)},forEach(s,i){const a=this,o=a.__v_raw,u=Qe(o),l=t?Fg:e?Bg:wr;return!e&&Sr(u,"iterate",Ca),o.forEach((c,d)=>s.call(i,l(c),l(d),a))}};return ot(r,e?{add:Wc("add"),set:Wc("set"),delete:Wc("delete"),clear:Wc("clear")}:{add(s){!t&&!on(s)&&!Di(s)&&(s=Qe(s));const i=Qe(this);return zc(i).has.call(i,s)||(i.add(s),Ls(i,"add",s,s)),this},set(s,i){!t&&!on(i)&&!Di(i)&&(i=Qe(i));const a=Qe(this),{has:o,get:u}=zc(a);let l=o.call(a,s);l||(s=Qe(s),l=o.call(a,s));const c=u.call(a,s);return a.set(s,i),l?xr(i,c)&&Ls(a,"set",s,i):Ls(a,"add",s,i),this},delete(s){const i=Qe(this),{has:a,get:o}=zc(i);let u=a.call(i,s);u||(s=Qe(s),u=a.call(i,s)),o&&o.call(i,s);const l=i.delete(s);return u&&Ls(i,"delete",s,void 0),l},clear(){const s=Qe(this),i=s.size!==0,a=s.clear();return i&&Ls(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=TO(s,e,t)}),r}function Gh(e,t){const r=IO(e,t);return(n,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(bt(r,s)&&s in n?r:n,s,i)}const PO={get:Gh(!1,!1)},OO={get:Gh(!1,!0)},RO={get:Gh(!0,!1)},$O={get:Gh(!0,!0)},R2=new WeakMap,$2=new WeakMap,M2=new WeakMap,x2=new WeakMap;function MO(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xO(e){return e.__v_skip||!Object.isExtensible(e)?0:MO(W4(e))}function Wi(e){return Di(e)?e:Kh(e,!1,kO,PO,R2)}function bc(e){return Kh(e,!1,AO,OO,$2)}function Sc(e){return Kh(e,!0,EO,RO,M2)}function NO(e){return Kh(e,!0,CO,$O,x2)}function Kh(e,t,r,n,s){if(!Et(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const a=xO(e);if(a===0)return e;const o=new Proxy(e,a===2?n:r);return s.set(e,o),o}function Wn(e){return Di(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function Di(e){return!!(e&&e.__v_isReadonly)}function on(e){return!!(e&&e.__v_isShallow)}function Zh(e){return e?!!e.__v_raw:!1}function Qe(e){const t=e&&e.__v_raw;return t?Qe(t):e}function Yh(e){return!bt(e,"__v_skip")&&Object.isExtensible(e)&&m2(e,"__v_skip",!0),e}const wr=e=>Et(e)?Wi(e):e,Bg=e=>Et(e)?Sc(e):e;function yt(e){return e?e.__v_isRef===!0:!1}function G(e){return N2(e,!1)}function Mu(e){return N2(e,!0)}function N2(e,t){return yt(e)?e:new DO(e,t)}class DO{constructor(t,r){this.dep=new zh,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:Qe(t),this._value=r?t:wr(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||on(t)||Di(t);t=n?t:Qe(t),xr(t,r)&&(this._rawValue=t,this._value=n?t:wr(t),this.dep.trigger())}}function LO(e){e.dep&&e.dep.trigger()}function N(e){return yt(e)?e.value:e}function FO(e){return Be(e)?e():N(e)}const BO={get:(e,t,r)=>t==="__v_raw"?e:N(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const s=e[t];return yt(s)&&!yt(r)?(s.value=r,!0):Reflect.set(e,t,r,n)}};function $_(e){return Wn(e)?e:new Proxy(e,BO)}class UO{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new zh,{get:n,set:s}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function M_(e){return new UO(e)}function Es(e){const t=Ce(e)?new Array(e.length):{};for(const r in e)t[r]=D2(e,r);return t}class HO{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return _O(Qe(this._object),this._key)}}class VO{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function x_(e,t,r){return yt(e)?e:Be(e)?new VO(e):Et(e)&&arguments.length>1?D2(e,t,r):G(e)}function D2(e,t,r){const n=e[t];return yt(n)?n:new HO(e,t,r)}class qO{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new zh(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Il-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Rt!==this)return S2(this,!0),!0}get value(){const t=this.dep.track();return E2(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function jO(e,t,r=!1){let n,s;return Be(e)?n=e:(n=e.get,s=e.set),new qO(n,s,r)}const zO={GET:"get",HAS:"has",ITERATE:"iterate"},WO={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Gc={},Up=new WeakMap;let _i;function GO(){return _i}function L2(e,t=!1,r=_i){if(r){let n=Up.get(r);n||Up.set(r,n=[]),n.push(e)}}function KO(e,t,r=at){const{immediate:n,deep:s,once:i,scheduler:a,augmentJob:o,call:u}=r,l=f=>s?f:on(f)||s===!1||s===0?Fs(f,1):Fs(f);let c,d,p,g,v=!1,_=!1;if(yt(e)?(d=()=>e.value,v=on(e)):Wn(e)?(d=()=>l(e),v=!0):Ce(e)?(_=!0,v=e.some(f=>Wn(f)||on(f)),d=()=>e.map(f=>{if(yt(f))return f.value;if(Wn(f))return l(f);if(Be(f))return u?u(f,2):f()})):Be(e)?t?d=u?()=>u(e,2):e:d=()=>{if(p){ji();try{p()}finally{zi()}}const f=_i;_i=c;try{return u?u(e,3,[g]):e(g)}finally{_i=f}}:d=vr,t&&s){const f=d,h=s===!0?1/0:s;d=()=>Fs(f(),h)}const w=yc(),S=()=>{c.stop(),w&&w.active&&A_(w.effects,c)};if(i&&t){const f=t;t=(...h)=>{f(...h),S()}}let b=_?new Array(e.length).fill(Gc):Gc;const y=f=>{if(!(!(c.flags&1)||!c.dirty&&!f))if(t){const h=c.run();if(s||v||(_?h.some((m,k)=>xr(m,b[k])):xr(h,b))){p&&p();const m=_i;_i=c;try{const k=[h,b===Gc?void 0:_&&b[0]===Gc?[]:b,g];u?u(t,3,k):t(...k),b=h}finally{_i=m}}}else c.run()};return o&&o(y),c=new Tl(d),c.scheduler=a?()=>a(y,!1):y,g=f=>L2(f,!1,c),p=c.onStop=()=>{const f=Up.get(c);if(f){if(u)u(f,4);else for(const h of f)h();Up.delete(c)}},t?n?y(!0):b=c.run():a?a(y.bind(null,!0),!0):c.run(),S.pause=c.pause.bind(c),S.resume=c.resume.bind(c),S.stop=S,S}function Fs(e,t=1/0,r){if(t<=0||!Et(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,yt(e))Fs(e.value,t,r);else if(Ce(e))for(let n=0;n{Fs(n,t,r)});else if(Uh(e)){for(const n in e)Fs(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Fs(e[n],t,r)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const F2=[];function ZO(e){F2.push(e)}function YO(){F2.pop()}function JO(e,t){}const QO={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},XO={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function xu(e,t,r,n){try{return n?e(...n):e()}catch(s){Qa(s,t,r)}}function Tn(e,t,r,n){if(Be(e)){const s=xu(e,t,r,n);return s&&C_(s)&&s.catch(i=>{Qa(i,t,r)}),s}if(Ce(e)){const s=[];for(let i=0;i>>1,s=Nr[n],i=Rl(s);i=Rl(r)?Nr.push(e):Nr.splice(tR(t),0,e),e.flags|=1,U2()}}function U2(){Hp||(Hp=B2.then(H2))}function Ol(e){Ce(e)?Yo.push(...e):yi&&e.id===-1?yi.splice(xo+1,0,e):e.flags&1||(Yo.push(e),e.flags|=1),U2()}function X0(e,t,r=ss+1){for(;rRl(r)-Rl(n));if(Yo.length=0,yi){yi.push(...t);return}for(yi=t,xo=0;xoe.id==null?e.flags&2?-1:1/0:e.id;function H2(e){try{for(ss=0;ssNo.emit(s,...i)),Kc=[]):typeof window<"u"&&window.HTMLElement&&!((n=(r=window.navigator)==null?void 0:r.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{V2(i,t)}),setTimeout(()=>{No||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Kc=[])},3e3)):Kc=[]}let or=null,Jh=null;function $l(e){const t=or;return or=e,Jh=e&&e.type.__scopeId||null,t}function rR(e){Jh=e}function nR(){Jh=null}const sR=e=>V;function V(e,t=or,r){if(!t||e._n)return e;const n=(...s)=>{n._d&&Gg(-1);const i=$l(t);let a;try{a=e(...s)}finally{$l(i),n._d&&Gg(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function In(e,t){if(or===null)return e;const r=Tc(or),n=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,ll=e=>e&&(e.disabled||e.disabled===""),e1=e=>e&&(e.defer||e.defer===""),t1=e=>typeof SVGElement<"u"&&e instanceof SVGElement,r1=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ug=(e,t)=>{const r=e&&e.to;return We(r)?t?t(r):null:r},z2={name:"Teleport",__isTeleport:!0,process(e,t,r,n,s,i,a,o,u,l){const{mc:c,pc:d,pbc:p,o:{insert:g,querySelector:v,createText:_,createComment:w}}=l,S=ll(t.props);let{shapeFlag:b,children:y,dynamicChildren:f}=t;if(e==null){const h=t.el=_(""),m=t.anchor=_("");g(h,r,n),g(m,r,n);const k=(C,A)=>{b&16&&(s&&s.isCE&&(s.ce._teleportTarget=C),c(y,C,A,s,i,a,o,u))},E=()=>{const C=t.target=Ug(t.props,v),A=G2(C,t,_,g);C&&(a!=="svg"&&t1(C)?a="svg":a!=="mathml"&&r1(C)&&(a="mathml"),S||(k(C,A),gp(t,!1)))};S&&(k(r,m),gp(t,!0)),e1(t.props)?nr(()=>{E(),t.el.__isMounted=!0},i):E()}else{if(e1(t.props)&&!e.el.__isMounted){nr(()=>{z2.process(e,t,r,n,s,i,a,o,u,l),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const h=t.anchor=e.anchor,m=t.target=e.target,k=t.targetAnchor=e.targetAnchor,E=ll(e.props),C=E?r:m,A=E?h:k;if(a==="svg"||t1(m)?a="svg":(a==="mathml"||r1(m))&&(a="mathml"),f?(p(e.dynamicChildren,f,C,s,i,a,o),K_(e,t,!0)):u||d(e,t,C,A,s,i,a,o,!1),S)E?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zc(t,r,h,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const T=t.target=Ug(t.props,v);T&&Zc(t,T,null,l,0)}else E&&Zc(t,m,k,l,1);gp(t,S)}},remove(e,t,r,{um:n,o:{remove:s}},i){const{shapeFlag:a,children:o,anchor:u,targetStart:l,targetAnchor:c,target:d,props:p}=e;if(d&&(s(l),s(c)),i&&s(u),a&16){const g=i||!ll(p);for(let v=0;v{e.isMounted=!0}),Nu(()=>{e.isUnmounting=!0}),e}const vn=[Function,Array],L_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vn,onEnter:vn,onAfterEnter:vn,onEnterCancelled:vn,onBeforeLeave:vn,onLeave:vn,onAfterLeave:vn,onLeaveCancelled:vn,onBeforeAppear:vn,onAppear:vn,onAfterAppear:vn,onAppearCancelled:vn},K2=e=>{const t=e.subTree;return t.component?K2(t.component):t},aR={name:"BaseTransition",props:L_,setup(e,{slots:t}){const r=Jt(),n=D_();return()=>{const s=t.default&&Qh(t.default(),!0);if(!s||!s.length)return;const i=Z2(s),a=Qe(e),{mode:o}=a;if(n.isLeaving)return Gm(i);const u=n1(i);if(!u)return Gm(i);let l=au(u,a,n,r,d=>l=d);u.type!==Zt&&Zs(u,l);let c=r.subTree&&n1(r.subTree);if(c&&c.type!==Zt&&!Bn(u,c)&&K2(r).type!==Zt){let d=au(c,a,n,r);if(Zs(c,d),o==="out-in"&&u.type!==Zt)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete d.afterLeave,c=void 0},Gm(i);o==="in-out"&&u.type!==Zt?d.delayLeave=(p,g,v)=>{const _=J2(n,c);_[String(c.key)]=c,p[bi]=()=>{g(),p[bi]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{v(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Z2(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==Zt){t=r;break}}return t}const Y2=aR;function J2(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function au(e,t,r,n,s){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:g,onAfterLeave:v,onLeaveCancelled:_,onBeforeAppear:w,onAppear:S,onAfterAppear:b,onAppearCancelled:y}=t,f=String(e.key),h=J2(r,e),m=(C,A)=>{C&&Tn(C,n,9,A)},k=(C,A)=>{const T=A[1];m(C,A),Ce(C)?C.every(x=>x.length<=1)&&T():C.length<=1&&T()},E={mode:a,persisted:o,beforeEnter(C){let A=u;if(!r.isMounted)if(i)A=w||u;else return;C[bi]&&C[bi](!0);const T=h[f];T&&Bn(e,T)&&T.el[bi]&&T.el[bi](),m(A,[C])},enter(C){let A=l,T=c,x=d;if(!r.isMounted)if(i)A=S||l,T=b||c,x=y||d;else return;let O=!1;const H=C[Yc]=j=>{O||(O=!0,j?m(x,[C]):m(T,[C]),E.delayedLeave&&E.delayedLeave(),C[Yc]=void 0)};A?k(A,[C,H]):H()},leave(C,A){const T=String(e.key);if(C[Yc]&&C[Yc](!0),r.isUnmounting)return A();m(p,[C]);let x=!1;const O=C[bi]=H=>{x||(x=!0,A(),H?m(_,[C]):m(v,[C]),C[bi]=void 0,h[T]===e&&delete h[T])};h[T]=e,g?k(g,[C,O]):O()},clone(C){const A=au(C,t,r,n,s);return s&&s(A),A}};return E}function Gm(e){if(wc(e))return e=Jn(e),e.children=null,e}function n1(e){if(!wc(e))return j2(e.type)&&e.children?Z2(e.children):e;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&Be(r.default))return r.default()}}function Zs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Zs(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 Qh(e,t=!1,r){let n=[],s=0;for(let i=0;i1)for(let i=0;ir.value,set:i=>r.value=i})}return r}function Ml(e,t,r,n,s=!1){if(Ce(e)){e.forEach((v,_)=>Ml(v,t&&(Ce(t)?t[_]:t),r,n,s));return}if(Oi(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ml(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Tc(n.component):n.el,a=s?null:i,{i:o,r:u}=e,l=t&&t.r,c=o.refs===at?o.refs={}:o.refs,d=o.setupState,p=Qe(d),g=d===at?()=>!1:v=>bt(p,v);if(l!=null&&l!==u&&(We(l)?(c[l]=null,g(l)&&(d[l]=null)):yt(l)&&(l.value=null)),Be(u))xu(u,o,12,[a,c]);else{const v=We(u),_=yt(u);if(v||_){const w=()=>{if(e.f){const S=v?g(u)?d[u]:c[u]:u.value;s?Ce(S)&&A_(S,i):Ce(S)?S.includes(i)||S.push(i):v?(c[u]=[i],g(u)&&(d[u]=c[u])):(u.value=[i],e.k&&(c[e.k]=u.value))}else v?(c[u]=a,g(u)&&(d[u]=a)):_&&(u.value=a,e.k&&(c[e.k]=a))};a?(w.id=-1,nr(w,r)):w()}}}let s1=!1;const ho=()=>{s1||(console.error("Hydration completed but contains mismatches."),s1=!0)},uR=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",lR=e=>e.namespaceURI.includes("MathML"),Jc=e=>{if(e.nodeType===1){if(uR(e))return"svg";if(lR(e))return"mathml"}},Uo=e=>e.nodeType===8;function cR(e){const{mt:t,p:r,o:{patchProp:n,createText:s,nextSibling:i,parentNode:a,remove:o,insert:u,createComment:l}}=e,c=(y,f)=>{if(!f.hasChildNodes()){r(null,y,f),Vp(),f._vnode=y;return}d(f.firstChild,y,null,null,null),Vp(),f._vnode=y},d=(y,f,h,m,k,E=!1)=>{E=E||!!f.dynamicChildren;const C=Uo(y)&&y.data==="[",A=()=>_(y,f,h,m,k,C),{type:T,ref:x,shapeFlag:O,patchFlag:H}=f;let j=y.nodeType;f.el=y,H===-2&&(E=!1,f.dynamicChildren=null);let I=null;switch(T){case hs:j!==3?f.children===""?(u(f.el=s(""),a(y),y),I=y):I=A():(y.data!==f.children&&(ho(),y.data=f.children),I=i(y));break;case Zt:b(y)?(I=i(y),S(f.el=y.content.firstChild,y,h)):j!==8||C?I=A():I=i(y);break;case Ia:if(C&&(y=i(y),j=y.nodeType),j===1||j===3){I=y;const J=!f.children.length;for(let z=0;z{E=E||!!f.dynamicChildren;const{type:C,props:A,patchFlag:T,shapeFlag:x,dirs:O,transition:H}=f,j=C==="input"||C==="option";if(j||T!==-1){O&&is(f,null,h,"created");let I=!1;if(b(y)){I=SE(null,H)&&h&&h.vnode.props&&h.vnode.props.appear;const z=y.content.firstChild;I&&H.beforeEnter(z),S(z,y,h),f.el=y=z}if(x&16&&!(A&&(A.innerHTML||A.textContent))){let z=g(y.firstChild,f,y,h,m,k,E);for(;z;){Qc(y,1)||ho();const de=z;z=z.nextSibling,o(de)}}else if(x&8){let z=f.children;z[0]===` `&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(z=z.slice(1)),y.textContent!==z&&(Qc(y,0)||ho(),y.textContent=f.children)}if(A){if(j||!E||T&48){const z=y.tagName.includes("-");for(const de in A)(j&&(de.endsWith("value")||de==="indeterminate")||Za(de)&&!Pi(de)||de[0]==="."||z)&&n(y,de,null,A[de],void 0,h)}else if(A.onClick)n(y,"onClick",null,A.onClick,void 0,h);else if(T&4&&Wn(A.style))for(const z in A.style)A.style[z]}let J;(J=A&&A.onVnodeBeforeMount)&&zr(J,h,f),O&&is(f,null,h,"beforeMount"),((J=A&&A.onVnodeMounted)||O||I)&&OE(()=>{J&&zr(J,h,f),I&&H.enter(y),O&&is(f,null,h,"mounted")},m)}return y.nextSibling},g=(y,f,h,m,k,E,C)=>{C=C||!!f.dynamicChildren;const A=f.children,T=A.length;for(let x=0;x{const{slotScopeIds:C}=f;C&&(k=k?k.concat(C):C);const A=a(y),T=g(i(y),f,A,h,m,k,E);return T&&Uo(T)&&T.data==="]"?i(f.anchor=T):(ho(),u(f.anchor=l("]"),A,T),T)},_=(y,f,h,m,k,E)=>{if(Qc(y.parentElement,1)||ho(),f.el=null,E){const T=w(y);for(;;){const x=i(y);if(x&&x!==T)o(x);else break}}const C=i(y),A=a(y);return o(y),r(null,f,A,C,h,m,Jc(A),k),h&&(h.vnode.el=f.el,rm(h,f.el)),C},w=(y,f="[",h="]")=>{let m=0;for(;y;)if(y=i(y),y&&Uo(y)&&(y.data===f&&m++,y.data===h)){if(m===0)return i(y);m--}return y},S=(y,f,h)=>{const m=f.parentNode;m&&m.replaceChild(y,f);let k=h;for(;k;)k.vnode.el===f&&(k.vnode.el=k.subTree.el=y),k=k.parent},b=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[c,d]}const i1="data-allow-mismatch",dR={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Qc(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(i1);)e=e.parentElement;const r=e&&e.getAttribute(i1);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:r.split(",").includes(dR[t])}}const fR=Vh().requestIdleCallback||(e=>setTimeout(e,1)),pR=Vh().cancelIdleCallback||(e=>clearTimeout(e)),hR=(e=1e4)=>t=>{const r=fR(t,{timeout:e});return()=>pR(r)};function mR(e){const{top:t,left:r,bottom:n,right:s}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return(t>0&&t0&&n0&&r0&&s(t,r)=>{const n=new IntersectionObserver(s=>{for(const i of s)if(i.isIntersecting){n.disconnect(),t();break}},e);return r(s=>{if(s instanceof Element){if(mR(s))return t(),n.disconnect(),!1;n.observe(s)}}),()=>n.disconnect()},vR=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},_R=(e=[])=>(t,r)=>{We(e)&&(e=[e]);let n=!1;const s=a=>{n||(n=!0,i(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},i=()=>{r(a=>{for(const o of e)a.removeEventListener(o,s)})};return r(a=>{for(const o of e)a.addEventListener(o,s,{once:!0})}),i};function yR(e,t){if(Uo(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Uo(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const Oi=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function bR(e){Be(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:s=200,hydrate:i,timeout:a,suspensible:o=!0,onError:u}=e;let l=null,c,d=0;const p=()=>(d++,l=null,g()),g=()=>{let v;return l||(v=l=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),u)return new Promise((w,S)=>{u(_,()=>w(p()),()=>S(_),d+1)});throw _}).then(_=>v!==l&&l?l:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return pe({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(v,_,w){const S=i?()=>{const b=i(w,y=>yR(v,y));b&&(_.bum||(_.bum=[])).push(b)}:w;c?S():g().then(()=>!_.isUnmounted&&S())},get __asyncResolved(){return c},setup(){const v=ar;if(F_(v),c)return()=>Km(c,v);const _=y=>{l=null,Qa(y,v,13,!n)};if(o&&v.suspense||ou)return g().then(y=>()=>Km(y,v)).catch(y=>(_(y),()=>n?F(n,{error:y}):null));const w=G(!1),S=G(),b=G(!!s);return s&&setTimeout(()=>{b.value=!1},s),a!=null&&setTimeout(()=>{if(!w.value&&!S.value){const y=new Error(`Async component timed out after ${a}ms.`);_(y),S.value=y}},a),g().then(()=>{w.value=!0,v.parent&&wc(v.parent.vnode)&&v.parent.update()}).catch(y=>{_(y),S.value=y}),()=>{if(w.value&&c)return Km(c,v);if(S.value&&n)return F(n,{error:S.value});if(r&&!b.value)return F(r)}}})}function Km(e,t){const{ref:r,props:n,children:s,ce:i}=t.vnode,a=F(e,n,s);return a.ref=r,a.ce=i,delete t.vnode.ce,a}const wc=e=>e.type.__isKeepAlive,SR={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=Jt(),n=r.ctx;if(!n.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const s=new Map,i=new Set;let a=null;const o=r.suspense,{renderer:{p:u,m:l,um:c,o:{createElement:d}}}=n,p=d("div");n.activate=(b,y,f,h,m)=>{const k=b.component;l(b,y,f,0,o),u(k.vnode,b,y,f,k,o,h,b.slotScopeIds,m),nr(()=>{k.isDeactivated=!1,k.a&&Zo(k.a);const E=b.props&&b.props.onVnodeMounted;E&&zr(E,k.parent,b)},o)},n.deactivate=b=>{const y=b.component;jp(y.m),jp(y.a),l(b,p,null,1,o),nr(()=>{y.da&&Zo(y.da);const f=b.props&&b.props.onVnodeUnmounted;f&&zr(f,y.parent,b),y.isDeactivated=!0},o)};function g(b){Zm(b),c(b,r,o,!0)}function v(b){s.forEach((y,f)=>{const h=Qg(y.type);h&&!b(h)&&_(f)})}function _(b){const y=s.get(b);y&&(!a||!Bn(y,a))?g(y):a&&Zm(a),s.delete(b),i.delete(b)}Se(()=>[e.include,e.exclude],([b,y])=>{b&&v(f=>tl(b,f)),y&&v(f=>!tl(y,f))},{flush:"post",deep:!0});let w=null;const S=()=>{w!=null&&(zp(r.subTree.type)?nr(()=>{s.set(w,Xc(r.subTree))},r.subTree.suspense):s.set(w,Xc(r.subTree)))};return lt(S),em(S),Nu(()=>{s.forEach(b=>{const{subTree:y,suspense:f}=r,h=Xc(y);if(b.type===h.type&&b.key===h.key){Zm(h);const m=h.component.da;m&&nr(m,f);return}g(b)})}),()=>{if(w=null,!t.default)return a=null;const b=t.default(),y=b[0];if(b.length>1)return a=null,b;if(!Ys(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return a=null,y;let f=Xc(y);if(f.type===Zt)return a=null,f;const h=f.type,m=Qg(Oi(f)?f.type.__asyncResolved||{}:h),{include:k,exclude:E,max:C}=e;if(k&&(!m||!tl(k,m))||E&&m&&tl(E,m))return f.shapeFlag&=-257,a=f,y;const A=f.key==null?h:f.key,T=s.get(A);return f.el&&(f=Jn(f),y.shapeFlag&128&&(y.ssContent=f)),w=A,T?(f.el=T.el,f.component=T.component,f.transition&&Zs(f,f.transition),f.shapeFlag|=512,i.delete(A),i.add(A)):(i.add(A),C&&i.size>parseInt(C,10)&&_(i.values().next().value)),f.shapeFlag|=256,a=f,zp(y.type)?y:f}}},wR=SR;function tl(e,t){return Ce(e)?e.some(r=>tl(r,t)):We(e)?e.split(",").includes(t):z4(e)?(e.lastIndex=0,e.test(t)):!1}function B_(e,t){X2(e,"a",t)}function U_(e,t){X2(e,"da",t)}function X2(e,t,r=ar){const n=e.__wdc||(e.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Xh(t,n,r),r){let s=r.parent;for(;s&&s.parent;)wc(s.parent.vnode)&&kR(n,t,r,s),s=s.parent}}function kR(e,t,r,n){const s=Xh(t,e,n,!0);Tr(()=>{A_(n[t],s)},r)}function Zm(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Xc(e){return e.shapeFlag&128?e.ssContent:e}function Xh(e,t,r=ar,n=!1){if(r){const s=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{ji();const o=Da(r),u=Tn(t,r,e,a);return o(),zi(),u});return n?s.unshift(i):s.push(i),i}}const ti=e=>(t,r=ar)=>{(!ou||e==="sp")&&Xh(e,(...n)=>t(...n),r)},eE=ti("bm"),lt=ti("m"),H_=ti("bu"),em=ti("u"),Nu=ti("bum"),Tr=ti("um"),tE=ti("sp"),rE=ti("rtg"),nE=ti("rtc");function sE(e,t=ar){Xh("ec",e,t)}const V_="components",ER="directives";function kc(e,t){return q_(V_,e,!0,t)||e}const iE=Symbol.for("v-ndc");function Gi(e){return We(e)?q_(V_,e,!1)||e:e||iE}function AR(e){return q_(ER,e)}function q_(e,t,r=!0,n=!1){const s=or||ar;if(s){const i=s.type;if(e===V_){const o=Qg(i,!1);if(o&&(o===t||o===Nt(t)||o===Ja(Nt(t))))return i}const a=a1(s[e]||i[e],t)||a1(s.appContext[e],t);return!a&&n?i:a}}function a1(e,t){return e&&(e[t]||e[Nt(t)]||e[Ja(Nt(t))])}function Ue(e,t,r,n){let s;const i=r&&r[n],a=Ce(e);if(a||We(e)){const o=a&&Wn(e);let u=!1;o&&(u=!on(e),e=Wh(e)),s=new Array(e.length);for(let l=0,c=e.length;lt(o,u,void 0,i&&i[u]));else{const o=Object.keys(e);s=new Array(o.length);for(let u=0,l=o.length;u{const i=n.fn(...s);return i&&(i.key=n.key),i}:n.fn)}return e}function st(e,t,r={},n,s){if(or.ce||or.parent&&Oi(or.parent)&&or.parent.ce)return t!=="default"&&(r.name=t),P(),re(he,null,[F("slot",r,n&&n())],64);let i=e[t];i&&i._c&&(i._d=!1),P();const a=i&&j_(i(r)),o=r.key||a&&a.key,u=re(he,{key:(o&&!Qr(o)?o:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&e._===1?64:-2);return!s&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function j_(e){return e.some(t=>Ys(t)?!(t.type===Zt||t.type===he&&!j_(t.children)):!0)?e:null}function CR(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:Ko(n)]=e[n];return r}const Hg=e=>e?DE(e)?Tc(e):Hg(e.parent):null,cl=ot(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=>Hg(e.parent),$root:e=>Hg(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>z_(e),$forceUpdate:e=>e.f||(e.f=()=>{N_(e.update)}),$nextTick:e=>e.n||(e.n=pr.bind(e.proxy)),$watch:e=>t$.bind(e)}),Ym=(e,t)=>e!==at&&!e.__isScriptSetup&&bt(e,t),Vg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:s,props:i,accessCache:a,type:o,appContext:u}=e;let l;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return s[t];case 4:return r[t];case 3:return i[t]}else{if(Ym(n,t))return a[t]=1,n[t];if(s!==at&&bt(s,t))return a[t]=2,s[t];if((l=e.propsOptions[0])&&bt(l,t))return a[t]=3,i[t];if(r!==at&&bt(r,t))return a[t]=4,r[t];qg&&(a[t]=0)}}const c=cl[t];let d,p;if(c)return t==="$attrs"&&Sr(e.attrs,"get",""),c(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(r!==at&&bt(r,t))return a[t]=4,r[t];if(p=u.config.globalProperties,bt(p,t))return p[t]},set({_:e},t,r){const{data:n,setupState:s,ctx:i}=e;return Ym(s,t)?(s[t]=r,!0):n!==at&&bt(n,t)?(n[t]=r,!0):bt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:s,propsOptions:i}},a){let o;return!!r[a]||e!==at&&bt(e,a)||Ym(t,a)||(o=i[0])&&bt(o,a)||bt(n,a)||bt(cl,a)||bt(s.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:bt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},TR=ot({},Vg,{get(e,t){if(t!==Symbol.unscopables)return Vg.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Q4(t)}});function IR(){return null}function PR(){return null}function OR(e){}function RR(e){}function $R(){return null}function MR(){}function xR(e,t){return null}function Ec(){return aE().slots}function NR(){return aE().attrs}function aE(){const e=Jt();return e.setupContext||(e.setupContext=UE(e))}function xl(e){return Ce(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function DR(e,t){const r=xl(e);for(const n in t){if(n.startsWith("__skip"))continue;let s=r[n];s?Ce(s)||Be(s)?s=r[n]={type:s,default:t[n]}:s.default=t[n]:s===null&&(s=r[n]={default:t[n]}),s&&t[`__skip_${n}`]&&(s.skipFactory=!0)}return r}function LR(e,t){return!e||!t?e||t:Ce(e)&&Ce(t)?e.concat(t):ot({},xl(e),xl(t))}function FR(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function BR(e){const t=Jt();let r=e();return Zg(),C_(r)&&(r=r.catch(n=>{throw Da(t),n})),[r,()=>Da(t)]}let qg=!0;function UR(e){const t=z_(e),r=e.proxy,n=e.ctx;qg=!1,t.beforeCreate&&o1(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:o,provide:u,inject:l,created:c,beforeMount:d,mounted:p,beforeUpdate:g,updated:v,activated:_,deactivated:w,beforeDestroy:S,beforeUnmount:b,destroyed:y,unmounted:f,render:h,renderTracked:m,renderTriggered:k,errorCaptured:E,serverPrefetch:C,expose:A,inheritAttrs:T,components:x,directives:O,filters:H}=t;if(l&&HR(l,n,null),a)for(const J in a){const z=a[J];Be(z)&&(n[J]=z.bind(r))}if(s){const J=s.call(r,r);Et(J)&&(e.data=Wi(J))}if(qg=!0,i)for(const J in i){const z=i[J],de=Be(z)?z.bind(r,r):Be(z.get)?z.get.bind(r,r):vr,q=!Be(z)&&Be(z.set)?z.set.bind(r):vr,ie=se({get:de,set:q});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>ie.value,set:ne=>ie.value=ne})}if(o)for(const J in o)oE(o[J],n,r,J);if(u){const J=Be(u)?u.call(r):u;Reflect.ownKeys(J).forEach(z=>{lr(z,J[z])})}c&&o1(c,e,"c");function I(J,z){Ce(z)?z.forEach(de=>J(de.bind(r))):z&&J(z.bind(r))}if(I(eE,d),I(lt,p),I(H_,g),I(em,v),I(B_,_),I(U_,w),I(sE,E),I(nE,m),I(rE,k),I(Nu,b),I(Tr,f),I(tE,C),Ce(A))if(A.length){const J=e.exposed||(e.exposed={});A.forEach(z=>{Object.defineProperty(J,z,{get:()=>r[z],set:de=>r[z]=de})})}else e.exposed||(e.exposed={});h&&e.render===vr&&(e.render=h),T!=null&&(e.inheritAttrs=T),x&&(e.components=x),O&&(e.directives=O),C&&F_(e)}function HR(e,t,r=vr){Ce(e)&&(e=jg(e));for(const n in e){const s=e[n];let i;Et(s)?"default"in s?i=it(s.from||n,s.default,!0):i=it(s.from||n):i=it(s),yt(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function o1(e,t,r){Tn(Ce(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function oE(e,t,r,n){let s=n.includes(".")?CE(r,n):()=>r[n];if(We(e)){const i=t[e];Be(i)&&Se(s,i)}else if(Be(e))Se(s,e.bind(r));else if(Et(e))if(Ce(e))e.forEach(i=>oE(i,t,r,n));else{const i=Be(e.handler)?e.handler.bind(r):t[e.handler];Be(i)&&Se(s,i,e)}}function z_(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,o=i.get(t);let u;return o?u=o:!s.length&&!r&&!n?u=t:(u={},s.length&&s.forEach(l=>qp(u,l,a,!0)),qp(u,t,a)),Et(t)&&i.set(t,u),u}function qp(e,t,r,n=!1){const{mixins:s,extends:i}=t;i&&qp(e,i,r,!0),s&&s.forEach(a=>qp(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const o=VR[a]||r&&r[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const VR={data:u1,props:l1,emits:l1,methods:rl,computed:rl,beforeCreate:Or,created:Or,beforeMount:Or,mounted:Or,beforeUpdate:Or,updated:Or,beforeDestroy:Or,beforeUnmount:Or,destroyed:Or,unmounted:Or,activated:Or,deactivated:Or,errorCaptured:Or,serverPrefetch:Or,components:rl,directives:rl,watch:jR,provide:u1,inject:qR};function u1(e,t){return t?e?function(){return ot(Be(e)?e.call(this,this):e,Be(t)?t.call(this,this):t)}:t:e}function qR(e,t){return rl(jg(e),jg(t))}function jg(e){if(Ce(e)){const t={};for(let r=0;r1)return r&&Be(t)?t.call(n&&n.proxy):t}}function W_(){return!!(ar||or||Ta)}const lE={},cE=()=>Object.create(lE),dE=e=>Object.getPrototypeOf(e)===lE;function GR(e,t,r,n=!1){const s={},i=cE();e.propsDefaults=Object.create(null),fE(e,t,s,i);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);r?e.props=n?s:bc(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function KR(e,t,r,n){const{props:s,attrs:i,vnode:{patchFlag:a}}=e,o=Qe(s),[u]=e.propsOptions;let l=!1;if((n||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d{u=!0;const[p,g]=pE(d,t,!0);ot(a,p),g&&o.push(...g)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!u)return Et(e)&&n.set(e,Wo),Wo;if(Ce(i))for(let c=0;ce[0]==="_"||e==="$stable",G_=e=>Ce(e)?e.map(Wr):[Wr(e)],YR=(e,t,r)=>{if(t._n)return t;const n=V((...s)=>G_(t(...s)),r);return n._c=!1,n},mE=(e,t,r)=>{const n=e._ctx;for(const s in e){if(hE(s))continue;const i=e[s];if(Be(i))t[s]=YR(s,i,n);else if(i!=null){const a=G_(i);t[s]=()=>a}}},gE=(e,t)=>{const r=G_(t);e.slots.default=()=>r},vE=(e,t,r)=>{for(const n in t)(r||n!=="_")&&(e[n]=t[n])},JR=(e,t,r)=>{const n=e.slots=cE();if(e.vnode.shapeFlag&32){const s=t._;s?(vE(n,t,r),r&&m2(n,"_",s,!0)):mE(t,n)}else t&&gE(e,t)},QR=(e,t,r)=>{const{vnode:n,slots:s}=e;let i=!0,a=at;if(n.shapeFlag&32){const o=t._;o?r&&o===1?i=!1:vE(s,t,r):(i=!t.$stable,mE(t,s)),a=t}else t&&(gE(e,t),a={default:1});if(i)for(const o in s)!hE(o)&&a[o]==null&&delete s[o]},nr=OE;function _E(e){return bE(e)}function yE(e){return bE(e,cR)}function bE(e,t){const r=Vh();r.__VUE__=!0;const{insert:n,remove:s,patchProp:i,createElement:a,createText:o,createComment:u,setText:l,setElementText:c,parentNode:d,nextSibling:p,setScopeId:g=vr,insertStaticContent:v}=e,_=(L,B,ee,R=null,M=null,U=null,K=void 0,Q=null,Y=!!B.dynamicChildren)=>{if(L===B)return;L&&!Bn(L,B)&&(R=oe(L),ne(L,M,U,!0),L=null),B.patchFlag===-2&&(Y=!1,B.dynamicChildren=null);const{type:te,ref:ce,shapeFlag:ue}=B;switch(te){case hs:w(L,B,ee,R);break;case Zt:S(L,B,ee,R);break;case Ia:L==null&&b(B,ee,R,K);break;case he:x(L,B,ee,R,M,U,K,Q,Y);break;default:ue&1?h(L,B,ee,R,M,U,K,Q,Y):ue&6?O(L,B,ee,R,M,U,K,Q,Y):(ue&64||ue&128)&&te.process(L,B,ee,R,M,U,K,Q,Y,Ee)}ce!=null&&M&&Ml(ce,L&&L.ref,U,B||L,!B)},w=(L,B,ee,R)=>{if(L==null)n(B.el=o(B.children),ee,R);else{const M=B.el=L.el;B.children!==L.children&&l(M,B.children)}},S=(L,B,ee,R)=>{L==null?n(B.el=u(B.children||""),ee,R):B.el=L.el},b=(L,B,ee,R)=>{[L.el,L.anchor]=v(L.children,B,ee,R,L.el,L.anchor)},y=({el:L,anchor:B},ee,R)=>{let M;for(;L&&L!==B;)M=p(L),n(L,ee,R),L=M;n(B,ee,R)},f=({el:L,anchor:B})=>{let ee;for(;L&&L!==B;)ee=p(L),s(L),L=ee;s(B)},h=(L,B,ee,R,M,U,K,Q,Y)=>{B.type==="svg"?K="svg":B.type==="math"&&(K="mathml"),L==null?m(B,ee,R,M,U,K,Q,Y):C(L,B,M,U,K,Q,Y)},m=(L,B,ee,R,M,U,K,Q)=>{let Y,te;const{props:ce,shapeFlag:ue,transition:Z,dirs:ae}=L;if(Y=L.el=a(L.type,U,ce&&ce.is,ce),ue&8?c(Y,L.children):ue&16&&E(L.children,Y,null,R,M,Jm(L,U),K,Q),ae&&is(L,null,R,"created"),k(Y,L,L.scopeId,K,R),ce){for(const Oe in ce)Oe!=="value"&&!Pi(Oe)&&i(Y,Oe,null,ce[Oe],U,R);"value"in ce&&i(Y,"value",null,ce.value,U),(te=ce.onVnodeBeforeMount)&&zr(te,R,L)}ae&&is(L,null,R,"beforeMount");const we=SE(M,Z);we&&Z.beforeEnter(Y),n(Y,B,ee),((te=ce&&ce.onVnodeMounted)||we||ae)&&nr(()=>{te&&zr(te,R,L),we&&Z.enter(Y),ae&&is(L,null,R,"mounted")},M)},k=(L,B,ee,R,M)=>{if(ee&&g(L,ee),R)for(let U=0;U{for(let te=Y;te{const Q=B.el=L.el;let{patchFlag:Y,dynamicChildren:te,dirs:ce}=B;Y|=L.patchFlag&16;const ue=L.props||at,Z=B.props||at;let ae;if(ee&&ra(ee,!1),(ae=Z.onVnodeBeforeUpdate)&&zr(ae,ee,B,L),ce&&is(B,L,ee,"beforeUpdate"),ee&&ra(ee,!0),(ue.innerHTML&&Z.innerHTML==null||ue.textContent&&Z.textContent==null)&&c(Q,""),te?A(L.dynamicChildren,te,Q,ee,R,Jm(B,M),U):K||z(L,B,Q,null,ee,R,Jm(B,M),U,!1),Y>0){if(Y&16)T(Q,ue,Z,ee,M);else if(Y&2&&ue.class!==Z.class&&i(Q,"class",null,Z.class,M),Y&4&&i(Q,"style",ue.style,Z.style,M),Y&8){const we=B.dynamicProps;for(let Oe=0;Oe{ae&&zr(ae,ee,B,L),ce&&is(B,L,ee,"updated")},R)},A=(L,B,ee,R,M,U,K)=>{for(let Q=0;Q{if(B!==ee){if(B!==at)for(const U in B)!Pi(U)&&!(U in ee)&&i(L,U,B[U],null,M,R);for(const U in ee){if(Pi(U))continue;const K=ee[U],Q=B[U];K!==Q&&U!=="value"&&i(L,U,Q,K,M,R)}"value"in ee&&i(L,"value",B.value,ee.value,M)}},x=(L,B,ee,R,M,U,K,Q,Y)=>{const te=B.el=L?L.el:o(""),ce=B.anchor=L?L.anchor:o("");let{patchFlag:ue,dynamicChildren:Z,slotScopeIds:ae}=B;ae&&(Q=Q?Q.concat(ae):ae),L==null?(n(te,ee,R),n(ce,ee,R),E(B.children||[],ee,ce,M,U,K,Q,Y)):ue>0&&ue&64&&Z&&L.dynamicChildren?(A(L.dynamicChildren,Z,ee,M,U,K,Q),(B.key!=null||M&&B===M.subTree)&&K_(L,B,!0)):z(L,B,ee,ce,M,U,K,Q,Y)},O=(L,B,ee,R,M,U,K,Q,Y)=>{B.slotScopeIds=Q,L==null?B.shapeFlag&512?M.ctx.activate(B,ee,R,K,Y):H(B,ee,R,M,U,K,Y):j(L,B,Y)},H=(L,B,ee,R,M,U,K)=>{const Q=L.component=NE(L,R,M);if(wc(L)&&(Q.ctx.renderer=Ee),LE(Q,!1,K),Q.asyncDep){if(M&&M.registerDep(Q,I,K),!L.el){const Y=Q.subTree=F(Zt);S(null,Y,B,ee)}}else I(Q,L,B,ee,M,U,K)},j=(L,B,ee)=>{const R=B.component=L.component;if(o$(L,B,ee))if(R.asyncDep&&!R.asyncResolved){J(R,B,ee);return}else R.next=B,R.update();else B.el=L.el,R.vnode=B},I=(L,B,ee,R,M,U,K)=>{const Q=()=>{if(L.isMounted){let{next:ue,bu:Z,u:ae,parent:we,vnode:Oe}=L;{const tr=wE(L);if(tr){ue&&(ue.el=Oe.el,J(L,ue,K)),tr.asyncDep.then(()=>{L.isUnmounted||Q()});return}}let Ge=ue,Ut;ra(L,!1),ue?(ue.el=Oe.el,J(L,ue,K)):ue=Oe,Z&&Zo(Z),(Ut=ue.props&&ue.props.onVnodeBeforeUpdate)&&zr(Ut,we,ue,Oe),ra(L,!0);const vt=_p(L),Qt=L.subTree;L.subTree=vt,_(Qt,vt,d(Qt.el),oe(Qt),L,M,U),ue.el=vt.el,Ge===null&&rm(L,vt.el),ae&&nr(ae,M),(Ut=ue.props&&ue.props.onVnodeUpdated)&&nr(()=>zr(Ut,we,ue,Oe),M)}else{let ue;const{el:Z,props:ae}=B,{bm:we,m:Oe,parent:Ge,root:Ut,type:vt}=L,Qt=Oi(B);if(ra(L,!1),we&&Zo(we),!Qt&&(ue=ae&&ae.onVnodeBeforeMount)&&zr(ue,Ge,B),ra(L,!0),Z&&je){const tr=()=>{L.subTree=_p(L),je(Z,L.subTree,L,M,null)};Qt&&vt.__asyncHydrate?vt.__asyncHydrate(Z,L,tr):tr()}else{Ut.ce&&Ut.ce._injectChildStyle(vt);const tr=L.subTree=_p(L);_(null,tr,ee,R,L,M,U),B.el=tr.el}if(Oe&&nr(Oe,M),!Qt&&(ue=ae&&ae.onVnodeMounted)){const tr=B;nr(()=>zr(ue,Ge,tr),M)}(B.shapeFlag&256||Ge&&Oi(Ge.vnode)&&Ge.vnode.shapeFlag&256)&&L.a&&nr(L.a,M),L.isMounted=!0,B=ee=R=null}};L.scope.on();const Y=L.effect=new Tl(Q);L.scope.off();const te=L.update=Y.run.bind(Y),ce=L.job=Y.runIfDirty.bind(Y);ce.i=L,ce.id=L.uid,Y.scheduler=()=>N_(ce),ra(L,!0),te()},J=(L,B,ee)=>{B.component=L;const R=L.vnode.props;L.vnode=B,L.next=null,KR(L,B.props,R,ee),QR(L,B.children,ee),ji(),X0(L),zi()},z=(L,B,ee,R,M,U,K,Q,Y=!1)=>{const te=L&&L.children,ce=L?L.shapeFlag:0,ue=B.children,{patchFlag:Z,shapeFlag:ae}=B;if(Z>0){if(Z&128){q(te,ue,ee,R,M,U,K,Q,Y);return}else if(Z&256){de(te,ue,ee,R,M,U,K,Q,Y);return}}ae&8?(ce&16&&He(te,M,U),ue!==te&&c(ee,ue)):ce&16?ae&16?q(te,ue,ee,R,M,U,K,Q,Y):He(te,M,U,!0):(ce&8&&c(ee,""),ae&16&&E(ue,ee,R,M,U,K,Q,Y))},de=(L,B,ee,R,M,U,K,Q,Y)=>{L=L||Wo,B=B||Wo;const te=L.length,ce=B.length,ue=Math.min(te,ce);let Z;for(Z=0;Zce?He(L,M,U,!0,!1,ue):E(B,ee,R,M,U,K,Q,Y,ue)},q=(L,B,ee,R,M,U,K,Q,Y)=>{let te=0;const ce=B.length;let ue=L.length-1,Z=ce-1;for(;te<=ue&&te<=Z;){const ae=L[te],we=B[te]=Y?Si(B[te]):Wr(B[te]);if(Bn(ae,we))_(ae,we,ee,null,M,U,K,Q,Y);else break;te++}for(;te<=ue&&te<=Z;){const ae=L[ue],we=B[Z]=Y?Si(B[Z]):Wr(B[Z]);if(Bn(ae,we))_(ae,we,ee,null,M,U,K,Q,Y);else break;ue--,Z--}if(te>ue){if(te<=Z){const ae=Z+1,we=aeZ)for(;te<=ue;)ne(L[te],M,U,!0),te++;else{const ae=te,we=te,Oe=new Map;for(te=we;te<=Z;te++){const Pr=B[te]=Y?Si(B[te]):Wr(B[te]);Pr.key!=null&&Oe.set(Pr.key,te)}let Ge,Ut=0;const vt=Z-we+1;let Qt=!1,tr=0;const ta=new Array(vt);for(te=0;te=vt){ne(Pr,M,U,!0);continue}let mn;if(Pr.key!=null)mn=Oe.get(Pr.key);else for(Ge=we;Ge<=Z;Ge++)if(ta[Ge-we]===0&&Bn(Pr,B[Ge])){mn=Ge;break}mn===void 0?ne(Pr,M,U,!0):(ta[mn-we]=te+1,mn>=tr?tr=mn:Qt=!0,_(Pr,B[mn],ee,null,M,U,K,Q,Y),Ut++)}const Fu=Qt?XR(ta):Wo;for(Ge=Fu.length-1,te=vt-1;te>=0;te--){const Pr=we+te,mn=B[Pr],qc=Pr+1{const{el:U,type:K,transition:Q,children:Y,shapeFlag:te}=L;if(te&6){ie(L.component.subTree,B,ee,R);return}if(te&128){L.suspense.move(B,ee,R);return}if(te&64){K.move(L,B,ee,Ee);return}if(K===he){n(U,B,ee);for(let ue=0;ueQ.enter(U),M);else{const{leave:ue,delayLeave:Z,afterLeave:ae}=Q,we=()=>n(U,B,ee),Oe=()=>{ue(U,()=>{we(),ae&&ae()})};Z?Z(U,we,Oe):Oe()}else n(U,B,ee)},ne=(L,B,ee,R=!1,M=!1)=>{const{type:U,props:K,ref:Q,children:Y,dynamicChildren:te,shapeFlag:ce,patchFlag:ue,dirs:Z,cacheIndex:ae}=L;if(ue===-2&&(M=!1),Q!=null&&Ml(Q,null,ee,L,!0),ae!=null&&(B.renderCache[ae]=void 0),ce&256){B.ctx.deactivate(L);return}const we=ce&1&&Z,Oe=!Oi(L);let Ge;if(Oe&&(Ge=K&&K.onVnodeBeforeUnmount)&&zr(Ge,B,L),ce&6)$e(L.component,ee,R);else{if(ce&128){L.suspense.unmount(ee,R);return}we&&is(L,null,B,"beforeUnmount"),ce&64?L.type.remove(L,B,ee,Ee,R):te&&!te.hasOnce&&(U!==he||ue>0&&ue&64)?He(te,B,ee,!1,!0):(U===he&&ue&384||!M&&ce&16)&&He(Y,B,ee),R&&ye(L)}(Oe&&(Ge=K&&K.onVnodeUnmounted)||we)&&nr(()=>{Ge&&zr(Ge,B,L),we&&is(L,null,B,"unmounted")},ee)},ye=L=>{const{type:B,el:ee,anchor:R,transition:M}=L;if(B===he){Te(ee,R);return}if(B===Ia){f(L);return}const U=()=>{s(ee),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(L.shapeFlag&1&&M&&!M.persisted){const{leave:K,delayLeave:Q}=M,Y=()=>K(ee,U);Q?Q(L.el,U,Y):Y()}else U()},Te=(L,B)=>{let ee;for(;L!==B;)ee=p(L),s(L),L=ee;s(B)},$e=(L,B,ee)=>{const{bum:R,scope:M,job:U,subTree:K,um:Q,m:Y,a:te}=L;jp(Y),jp(te),R&&Zo(R),M.stop(),U&&(U.flags|=8,ne(K,L,B,ee)),Q&&nr(Q,B),nr(()=>{L.isUnmounted=!0},B),B&&B.pendingBranch&&!B.isUnmounted&&L.asyncDep&&!L.asyncResolved&&L.suspenseId===B.pendingId&&(B.deps--,B.deps===0&&B.resolve())},He=(L,B,ee,R=!1,M=!1,U=0)=>{for(let K=U;K{if(L.shapeFlag&6)return oe(L.component.subTree);if(L.shapeFlag&128)return L.suspense.next();const B=p(L.anchor||L.el),ee=B&&B[q2];return ee?p(ee):B};let fe=!1;const ge=(L,B,ee)=>{L==null?B._vnode&&ne(B._vnode,null,null,!0):_(B._vnode||null,L,B,null,null,null,ee),B._vnode=L,fe||(fe=!0,X0(),Vp(),fe=!1)},Ee={p:_,um:ne,m:ie,r:ye,mt:H,mc:E,pc:z,pbc:A,n:oe,o:e};let Fe,je;return t&&([Fe,je]=t(Ee)),{render:ge,hydrate:Fe,createApp:WR(ge,Fe)}}function Jm({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function ra({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function SE(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function K_(e,t,r=!1){const n=e.children,s=t.children;if(Ce(n)&&Ce(s))for(let i=0;i>1,e[r[o]]0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,a=r[i-1];i-- >0;)r[i]=a,a=t[a];return r}function wE(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wE(t)}function jp(e){if(e)for(let t=0;tit(kE);function Hr(e,t){return Ac(e,null,t)}function e$(e,t){return Ac(e,null,{flush:"post"})}function AE(e,t){return Ac(e,null,{flush:"sync"})}function Se(e,t,r){return Ac(e,t,r)}function Ac(e,t,r=at){const{immediate:n,deep:s,flush:i,once:a}=r,o=ot({},r),u=t&&n||!t&&i!=="post";let l;if(ou){if(i==="sync"){const g=EE();l=g.__watcherHandles||(g.__watcherHandles=[])}else if(!u){const g=()=>{};return g.stop=vr,g.resume=vr,g.pause=vr,g}}const c=ar;o.call=(g,v,_)=>Tn(g,c,v,_);let d=!1;i==="post"?o.scheduler=g=>{nr(g,c&&c.suspense)}:i!=="sync"&&(d=!0,o.scheduler=(g,v)=>{v?g():N_(g)}),o.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const p=KO(e,t,o);return ou&&(l?l.push(p):u&&p()),p}function t$(e,t,r){const n=this.proxy,s=We(e)?e.includes(".")?CE(n,e):()=>n[e]:e.bind(n,n);let i;Be(t)?i=t:(i=t.handler,r=t);const a=Da(this),o=Ac(s,i.bind(n),r);return a(),o}function CE(e,t){const r=t.split(".");return()=>{let n=e;for(let s=0;s{let c,d=at,p;return AE(()=>{const g=e[s];xr(c,g)&&(c=g,l())}),{get(){return u(),r.get?r.get(c):c},set(g){const v=r.set?r.set(g):g;if(!xr(v,c)&&!(d!==at&&xr(g,d)))return;const _=n.vnode.props;_&&(t in _||s in _||i in _)&&(`onUpdate:${t}`in _||`onUpdate:${s}`in _||`onUpdate:${i}`in _)||(c=g,l()),n.emit(`update:${t}`,v),xr(g,v)&&xr(g,d)&&!xr(v,p)&&l(),d=g,p=v}}});return o[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?a||at:o,done:!1}:{done:!0}}}},o}const TE=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Nt(t)}Modifiers`]||e[`${Kr(t)}Modifiers`];function n$(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||at;let s=r;const i=t.startsWith("update:"),a=i&&TE(n,t.slice(7));a&&(a.trim&&(s=r.map(c=>We(c)?c.trim():c)),a.number&&(s=r.map(Lp)));let o,u=n[o=Ko(t)]||n[o=Ko(Nt(t))];!u&&i&&(u=n[o=Ko(Kr(t))]),u&&Tn(u,e,6,s);const l=n[o+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Tn(l,e,6,s)}}function IE(e,t,r=!1){const n=t.emitsCache,s=n.get(e);if(s!==void 0)return s;const i=e.emits;let a={},o=!1;if(!Be(e)){const u=l=>{const c=IE(l,t,!0);c&&(o=!0,ot(a,c))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!o?(Et(e)&&n.set(e,null),null):(Ce(i)?i.forEach(u=>a[u]=null):ot(a,i),Et(e)&&n.set(e,a),a)}function tm(e,t){return!e||!Za(t)?!1:(t=t.slice(2).replace(/Once$/,""),bt(e,t[0].toLowerCase()+t.slice(1))||bt(e,Kr(t))||bt(e,t))}function _p(e){const{type:t,vnode:r,proxy:n,withProxy:s,propsOptions:[i],slots:a,attrs:o,emit:u,render:l,renderCache:c,props:d,data:p,setupState:g,ctx:v,inheritAttrs:_}=e,w=$l(e);let S,b;try{if(r.shapeFlag&4){const f=s||n,h=f;S=Wr(l.call(h,f,c,d,g,p,v)),b=o}else{const f=t;S=Wr(f.length>1?f(d,{attrs:o,slots:a,emit:u}):f(d,null)),b=t.props?o:i$(o)}}catch(f){dl.length=0,Qa(f,e,1),S=F(Zt)}let y=S;if(b&&_!==!1){const f=Object.keys(b),{shapeFlag:h}=y;f.length&&h&7&&(i&&f.some(E_)&&(b=a$(b,i)),y=Jn(y,b,!1,!0))}return r.dirs&&(y=Jn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&Zs(y,r.transition),S=y,$l(w),S}function s$(e,t=!0){let r;for(let n=0;n{let t;for(const r in e)(r==="class"||r==="style"||Za(r))&&((t||(t={}))[r]=e[r]);return t},a$=(e,t)=>{const r={};for(const n in e)(!E_(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function o$(e,t,r){const{props:n,children:s,component:i}=e,{props:a,children:o,patchFlag:u}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?d1(n,a,l):!!a;if(u&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;let Wg=0;const u$={name:"Suspense",__isSuspense:!0,process(e,t,r,n,s,i,a,o,u,l){if(e==null)c$(t,r,n,s,i,a,o,u,l);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}d$(e,t,r,n,s,a,o,u,l)}},hydrate:f$,normalize:p$},l$=u$;function Nl(e,t){const r=e.props&&e.props[t];Be(r)&&r()}function c$(e,t,r,n,s,i,a,o,u){const{p:l,o:{createElement:c}}=u,d=c("div"),p=e.suspense=PE(e,s,n,t,d,r,i,a,o,u);l(null,p.pendingBranch=e.ssContent,d,null,n,p,i,a),p.deps>0?(Nl(e,"onPending"),Nl(e,"onFallback"),l(null,e.ssFallback,t,r,n,null,i,a),Jo(p,e.ssFallback)):p.resolve(!1,!0)}function d$(e,t,r,n,s,i,a,o,{p:u,um:l,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,g=t.ssFallback,{activeBranch:v,pendingBranch:_,isInFallback:w,isHydrating:S}=d;if(_)d.pendingBranch=p,Bn(p,_)?(u(_,p,d.hiddenContainer,null,s,d,i,a,o),d.deps<=0?d.resolve():w&&(S||(u(v,g,r,n,s,null,i,a,o),Jo(d,g)))):(d.pendingId=Wg++,S?(d.isHydrating=!1,d.activeBranch=_):l(_,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),w?(u(null,p,d.hiddenContainer,null,s,d,i,a,o),d.deps<=0?d.resolve():(u(v,g,r,n,s,null,i,a,o),Jo(d,g))):v&&Bn(p,v)?(u(v,p,r,n,s,d,i,a,o),d.resolve(!0)):(u(null,p,d.hiddenContainer,null,s,d,i,a,o),d.deps<=0&&d.resolve()));else if(v&&Bn(p,v))u(v,p,r,n,s,d,i,a,o),Jo(d,p);else if(Nl(t,"onPending"),d.pendingBranch=p,p.shapeFlag&512?d.pendingId=p.component.suspenseId:d.pendingId=Wg++,u(null,p,d.hiddenContainer,null,s,d,i,a,o),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:y}=d;b>0?setTimeout(()=>{d.pendingId===y&&d.fallback(g)},b):b===0&&d.fallback(g)}}function PE(e,t,r,n,s,i,a,o,u,l,c=!1){const{p:d,m:p,um:g,n:v,o:{parentNode:_,remove:w}}=l;let S;const b=h$(e);b&&t&&t.pendingBranch&&(S=t.pendingId,t.deps++);const y=e.props?Fp(e.props.timeout):void 0,f=i,h={vnode:e,parent:t,parentComponent:r,namespace:a,container:n,hiddenContainer:s,deps:0,pendingId:Wg++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(m=!1,k=!1){const{vnode:E,activeBranch:C,pendingBranch:A,pendingId:T,effects:x,parentComponent:O,container:H}=h;let j=!1;h.isHydrating?h.isHydrating=!1:m||(j=C&&A.transition&&A.transition.mode==="out-in",j&&(C.transition.afterLeave=()=>{T===h.pendingId&&(p(A,H,i===f?v(C):i,0),Ol(x))}),C&&(_(C.el)===H&&(i=v(C)),g(C,O,h,!0)),j||p(A,H,i,0)),Jo(h,A),h.pendingBranch=null,h.isInFallback=!1;let I=h.parent,J=!1;for(;I;){if(I.pendingBranch){I.effects.push(...x),J=!0;break}I=I.parent}!J&&!j&&Ol(x),h.effects=[],b&&t&&t.pendingBranch&&S===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Nl(E,"onResolve")},fallback(m){if(!h.pendingBranch)return;const{vnode:k,activeBranch:E,parentComponent:C,container:A,namespace:T}=h;Nl(k,"onFallback");const x=v(E),O=()=>{h.isInFallback&&(d(null,m,A,x,C,null,T,o,u),Jo(h,m))},H=m.transition&&m.transition.mode==="out-in";H&&(E.transition.afterLeave=O),h.isInFallback=!0,g(E,C,null,!0),H||O()},move(m,k,E){h.activeBranch&&p(h.activeBranch,m,k,E),h.container=m},next(){return h.activeBranch&&v(h.activeBranch)},registerDep(m,k,E){const C=!!h.pendingBranch;C&&h.deps++;const A=m.vnode.el;m.asyncDep.catch(T=>{Qa(T,m,0)}).then(T=>{if(m.isUnmounted||h.isUnmounted||h.pendingId!==m.suspenseId)return;m.asyncResolved=!0;const{vnode:x}=m;Yg(m,T,!1),A&&(x.el=A);const O=!A&&m.subTree.el;k(m,x,_(A||m.subTree.el),A?null:v(m.subTree),h,a,E),O&&w(O),rm(m,x.el),C&&--h.deps===0&&h.resolve()})},unmount(m,k){h.isUnmounted=!0,h.activeBranch&&g(h.activeBranch,r,m,k),h.pendingBranch&&g(h.pendingBranch,r,m,k)}};return h}function f$(e,t,r,n,s,i,a,o,u){const l=t.suspense=PE(t,n,r,e.parentNode,document.createElement("div"),null,s,i,a,o,!0),c=u(e,l.pendingBranch=t.ssContent,r,l,i,a);return l.deps===0&&l.resolve(!1,!0),c}function p$(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=f1(n?r.default:r),e.ssFallback=n?f1(r.fallback):F(Zt)}function f1(e){let t;if(Be(e)){const r=Na&&e._c;r&&(e._d=!1,P()),e=e(),r&&(e._d=!0,t=Er,RE())}return Ce(e)&&(e=s$(e)),e=Wr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function OE(e,t){t&&t.pendingBranch?Ce(e)?t.effects.push(...e):t.effects.push(e):Ol(e)}function Jo(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;r.el=s,n&&n.subTree===r&&(n.vnode.el=s,rm(n,s))}function h$(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const he=Symbol.for("v-fgt"),hs=Symbol.for("v-txt"),Zt=Symbol.for("v-cmt"),Ia=Symbol.for("v-stc"),dl=[];let Er=null;function P(e=!1){dl.push(Er=e?null:[])}function RE(){dl.pop(),Er=dl[dl.length-1]||null}let Na=1;function Gg(e,t=!1){Na+=e,e<0&&Er&&t&&(Er.hasOnce=!0)}function $E(e){return e.dynamicChildren=Na>0?Er||Wo:null,RE(),Na>0&&Er&&Er.push(e),e}function W(e,t,r,n,s,i){return $E($(e,t,r,n,s,i,!0))}function re(e,t,r,n,s){return $E(F(e,t,r,n,s,!0))}function Ys(e){return e?e.__v_isVNode===!0:!1}function Bn(e,t){return e.type===t.type&&e.key===t.key}function m$(e){}const ME=({key:e})=>e??null,yp=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||yt(e)||Be(e)?{i:or,r:e,k:t,f:!!r}:e:null);function $(e,t=null,r=null,n=0,s=null,i=e===he?0:1,a=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ME(t),ref:t&&yp(t),scopeId:Jh,slotScopeIds:null,children:r,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:i,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:or};return o?(Z_(u,r),i&128&&e.normalize(u)):r&&(u.shapeFlag|=We(r)?8:16),Na>0&&!a&&Er&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Er.push(u),u}const F=g$;function g$(e,t=null,r=null,n=0,s=null,i=!1){if((!e||e===iE)&&(e=Zt),Ys(e)){const o=Jn(e,t,!0);return r&&Z_(o,r),Na>0&&!i&&Er&&(o.shapeFlag&6?Er[Er.indexOf(e)]=o:Er.push(o)),o.patchFlag=-2,o}if(w$(e)&&(e=e.__vccOpts),t){t=xE(t);let{class:o,style:u}=t;o&&!We(o)&&(t.class=ze(o)),Et(u)&&(Zh(u)&&!Ce(u)&&(u=ot({},u)),t.style=Fr(u))}const a=We(e)?1:zp(e)?128:j2(e)?64:Et(e)?4:Be(e)?2:0;return $(e,t,r,n,s,a,i,!0)}function xE(e){return e?Zh(e)||dE(e)?ot({},e):e:null}function Jn(e,t,r=!1,n=!1){const{props:s,ref:i,patchFlag:a,children:o,transition:u}=e,l=t?er(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ME(l),ref:t&&t.ref?r&&i?Ce(i)?i.concat(yp(t)):[i,yp(t)]:yp(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&Zs(c,u.clone(c)),c}function X(e=" ",t=0){return F(hs,null,e,t)}function Cc(e,t){const r=F(Ia,null,e);return r.staticCount=t,r}function le(e="",t=!1){return t?(P(),re(Zt,null,e)):F(Zt,null,e)}function Wr(e){return e==null||typeof e=="boolean"?F(Zt):Ce(e)?F(he,null,e.slice()):Ys(e)?Si(e):F(hs,null,String(e))}function Si(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jn(e)}function Z_(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ce(t))r=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Z_(e,s()),s._c&&(s._d=!0));return}else{r=32;const s=t._;!s&&!dE(t)?t._ctx=or:s===3&&or&&(or.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Be(t)?(t={default:t,_ctx:or},r=32):(t=String(t),n&64?(r=16,t=[X(t)]):r=8);e.children=t,e.shapeFlag|=r}function er(...e){const t={};for(let r=0;rar||or;let Wp,Kg;{const e=Vh(),t=(r,n)=>{let s;return(s=e[r])||(s=e[r]=[]),s.push(n),i=>{s.length>1?s.forEach(a=>a(i)):s[0](i)}};Wp=t("__VUE_INSTANCE_SETTERS__",r=>ar=r),Kg=t("__VUE_SSR_SETTERS__",r=>ou=r)}const Da=e=>{const t=ar;return Wp(e),e.scope.on(),()=>{e.scope.off(),Wp(t)}},Zg=()=>{ar&&ar.scope.off(),Wp(null)};function DE(e){return e.vnode.shapeFlag&4}let ou=!1;function LE(e,t=!1,r=!1){t&&Kg(t);const{props:n,children:s}=e.vnode,i=DE(e);GR(e,n,i,t),JR(e,s,r);const a=i?y$(e,t):void 0;return t&&Kg(!1),a}function y$(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vg);const{setup:n}=r;if(n){ji();const s=e.setupContext=n.length>1?UE(e):null,i=Da(e),a=xu(n,e,0,[e.props,s]),o=C_(a);if(zi(),i(),(o||e.sp)&&!Oi(e)&&F_(e),o){if(a.then(Zg,Zg),t)return a.then(u=>{Yg(e,u,t)}).catch(u=>{Qa(u,e,0)});e.asyncDep=a}else Yg(e,a,t)}else BE(e,t)}function Yg(e,t,r){Be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Et(t)&&(e.setupState=$_(t)),BE(e,r)}let Gp,Jg;function FE(e){Gp=e,Jg=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,TR))}}const b$=()=>!Gp;function BE(e,t,r){const n=e.type;if(!e.render){if(!t&&Gp&&!n.render){const s=n.template||z_(e).template;if(s){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:o,compilerOptions:u}=n,l=ot(ot({isCustomElement:i,delimiters:o},a),u);n.render=Gp(s,l)}}e.render=n.render||vr,Jg&&Jg(e)}{const s=Da(e);ji();try{UR(e)}finally{zi(),s()}}}const S$={get(e,t){return Sr(e,"get",""),e[t]}};function UE(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,S$),slots:e.slots,emit:e.emit,expose:t}}function Tc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy($_(Yh(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in cl)return cl[r](e)},has(t,r){return r in t||r in cl}})):e.proxy}function Qg(e,t=!0){return Be(e)?e.displayName||e.name:e.name||t&&e.__name}function w$(e){return Be(e)&&"__vccOpts"in e}const se=(e,t)=>jO(e,t,ou);function _t(e,t,r){const n=arguments.length;return n===2?Et(t)&&!Ce(t)?Ys(t)?F(e,null,[t]):F(e,t):F(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Ys(r)&&(r=[r]),F(e,t,r))}function k$(){}function E$(e,t,r,n){const s=r[n];if(s&&HE(s,e))return s;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function HE(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n0&&Er&&Er.push(e),!0}const nm="3.5.13",A$=vr,C$=XO,T$=No,I$=V2,P$={createComponentInstance:NE,setupComponent:LE,renderComponentRoot:_p,setCurrentRenderingInstance:$l,isVNode:Ys,normalizeVNode:Wr,getComponentPublicInstance:Tc,ensureValidVNode:j_,pushWarningContext:ZO,popWarningContext:YO},O$=P$,R$=null,$$=null,M$=null;/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Xg;const p1=typeof window<"u"&&window.trustedTypes;if(p1)try{Xg=p1.createPolicy("vue",{createHTML:e=>e})}catch{}const VE=Xg?e=>Xg.createHTML(e):e=>e,x$="http://www.w3.org/2000/svg",N$="http://www.w3.org/1998/Math/MathML",xs=typeof document<"u"?document:null,h1=xs&&xs.createElement("template"),D$={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const s=t==="svg"?xs.createElementNS(x$,e):t==="mathml"?xs.createElementNS(N$,e):r?xs.createElement(e,{is:r}):xs.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>xs.createTextNode(e),createComment:e=>xs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,s,i){const a=r?r.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),r),!(s===i||!(s=s.nextSibling)););else{h1.innerHTML=VE(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const o=h1.content;if(n==="svg"||n==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},ui="transition",Hu="animation",uu=Symbol("_vtc"),qE={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},jE=ot({},L_,qE),L$=e=>(e.displayName="Transition",e.props=jE,e),Y_=L$((e,{slots:t})=>_t(Y2,zE(e),t)),na=(e,t=[])=>{Ce(e)?e.forEach(r=>r(...t)):e&&e(...t)},m1=e=>e?Ce(e)?e.some(t=>t.length>1):e.length>1:!1;function zE(e){const t={};for(const x in e)x in qE||(t[x]=e[x]);if(e.css===!1)return t;const{name:r="v",type:n,duration:s,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:o=`${r}-enter-to`,appearFromClass:u=i,appearActiveClass:l=a,appearToClass:c=o,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:p=`${r}-leave-active`,leaveToClass:g=`${r}-leave-to`}=e,v=F$(s),_=v&&v[0],w=v&&v[1],{onBeforeEnter:S,onEnter:b,onEnterCancelled:y,onLeave:f,onLeaveCancelled:h,onBeforeAppear:m=S,onAppear:k=b,onAppearCancelled:E=y}=t,C=(x,O,H,j)=>{x._enterCancelled=j,pi(x,O?c:o),pi(x,O?l:a),H&&H()},A=(x,O)=>{x._isLeaving=!1,pi(x,d),pi(x,g),pi(x,p),O&&O()},T=x=>(O,H)=>{const j=x?k:b,I=()=>C(O,x,H);na(j,[O,I]),g1(()=>{pi(O,x?u:i),rs(O,x?c:o),m1(j)||v1(O,n,_,I)})};return ot(t,{onBeforeEnter(x){na(S,[x]),rs(x,i),rs(x,a)},onBeforeAppear(x){na(m,[x]),rs(x,u),rs(x,l)},onEnter:T(!1),onAppear:T(!0),onLeave(x,O){x._isLeaving=!0;const H=()=>A(x,O);rs(x,d),x._enterCancelled?(rs(x,p),ev()):(ev(),rs(x,p)),g1(()=>{x._isLeaving&&(pi(x,d),rs(x,g),m1(f)||v1(x,n,w,H))}),na(f,[x,H])},onEnterCancelled(x){C(x,!1,void 0,!0),na(y,[x])},onAppearCancelled(x){C(x,!0,void 0,!0),na(E,[x])},onLeaveCancelled(x){A(x),na(h,[x])}})}function F$(e){if(e==null)return null;if(Et(e))return[Qm(e.enter),Qm(e.leave)];{const t=Qm(e);return[t,t]}}function Qm(e){return Fp(e)}function rs(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[uu]||(e[uu]=new Set)).add(t)}function pi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[uu];r&&(r.delete(t),r.size||(e[uu]=void 0))}function g1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let B$=0;function v1(e,t,r,n){const s=e._endId=++B$,i=()=>{s===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:a,timeout:o,propCount:u}=WE(e,t);if(!a)return n();const l=a+"end";let c=0;const d=()=>{e.removeEventListener(l,p),i()},p=g=>{g.target===e&&++c>=u&&d()};setTimeout(()=>{c(r[v]||"").split(", "),s=n(`${ui}Delay`),i=n(`${ui}Duration`),a=_1(s,i),o=n(`${Hu}Delay`),u=n(`${Hu}Duration`),l=_1(o,u);let c=null,d=0,p=0;t===ui?a>0&&(c=ui,d=a,p=i.length):t===Hu?l>0&&(c=Hu,d=l,p=u.length):(d=Math.max(a,l),c=d>0?a>l?ui:Hu:null,p=c?c===ui?i.length:u.length:0);const g=c===ui&&/\b(transform|all)(,|$)/.test(n(`${ui}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:g}}function _1(e,t){for(;e.lengthy1(r)+y1(e[n])))}function y1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ev(){return document.body.offsetHeight}function U$(e,t,r){const n=e[uu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Kp=Symbol("_vod"),GE=Symbol("_vsh"),Ki={beforeMount(e,{value:t},{transition:r}){e[Kp]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Vu(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Vu(e,!0),n.enter(e)):n.leave(e,()=>{Vu(e,!1)}):Vu(e,t))},beforeUnmount(e,{value:t}){Vu(e,t)}};function Vu(e,t){e.style.display=t?e[Kp]:"none",e[GE]=!t}function H$(){Ki.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const KE=Symbol("");function V$(e){const t=Jt();if(!t)return;const r=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Zp(i,s))},n=()=>{const s=e(t.proxy);t.ce?Zp(t.ce,s):tv(t.subTree,s),r(s)};H_(()=>{Ol(n)}),lt(()=>{Se(n,vr,{flush:"post"});const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),Tr(()=>s.disconnect())})}function tv(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{tv(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Zp(e.el,t);else if(e.type===he)e.children.forEach(r=>tv(r,t));else if(e.type===Ia){let{el:r,anchor:n}=e;for(;r&&(Zp(r,t),r!==n);)r=r.nextSibling}}function Zp(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const s in t)r.setProperty(`--${s}`,t[s]),n+=`--${s}: ${t[s]};`;r[KE]=n}}const q$=/(^|;)\s*display\s*:/;function j$(e,t,r){const n=e.style,s=We(r);let i=!1;if(r&&!s){if(t)if(We(t))for(const a of t.split(";")){const o=a.slice(0,a.indexOf(":")).trim();r[o]==null&&bp(n,o,"")}else for(const a in t)r[a]==null&&bp(n,a,"");for(const a in r)a==="display"&&(i=!0),bp(n,a,r[a])}else if(s){if(t!==r){const a=n[KE];a&&(r+=";"+a),n.cssText=r,i=q$.test(r)}}else t&&e.removeAttribute("style");Kp in e&&(e[Kp]=i?n.display:"",e[GE]&&(n.display="none"))}const b1=/\s*!important$/;function bp(e,t,r){if(Ce(r))r.forEach(n=>bp(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=z$(e,t);b1.test(r)?e.setProperty(Kr(n),r.replace(b1,""),"important"):e[n]=r}}const S1=["Webkit","Moz","ms"],Xm={};function z$(e,t){const r=Xm[t];if(r)return r;let n=Nt(t);if(n!=="filter"&&n in e)return Xm[t]=n;n=Ja(n);for(let s=0;seg||(Z$.then(()=>eg=0),eg=Date.now());function J$(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Tn(Q$(n,r.value),t,5,[n])};return r.value=e,r.attached=Y$(),r}function Q$(e,t){if(Ce(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const T1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,X$=(e,t,r,n,s,i)=>{const a=s==="svg";t==="class"?U$(e,n,a):t==="style"?j$(e,r,n):Za(t)?E_(t)||G$(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):e6(e,t,n,a))?(E1(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&k1(e,t,n,a,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!We(n))?E1(e,Nt(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),k1(e,t,n,a))};function e6(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&T1(t)&&Be(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 T1(t)&&We(r)?!1:t in e}const I1={};/*! #__NO_SIDE_EFFECTS__ */function ZE(e,t,r){const n=pe(e,t);Uh(n)&&ot(n,t);class s extends sm{constructor(a){super(n,a,r)}}return s.def=n,s}/*! #__NO_SIDE_EFFECTS__ */const t6=(e,t)=>ZE(e,t,a8),r6=typeof HTMLElement<"u"?HTMLElement:class{};class sm extends r6{constructor(t,r={},n=rv){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==rv?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof sm){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,pr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n{for(const s of n)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:a}=n;let o;if(i&&!Ce(i))for(const u in i){const l=i[u];(l===Number||l&&l.type===Number)&&(u in this._props&&(this._props[u]=Fp(this._props[u])),(o||(o=Object.create(null)))[Nt(u)]=!0)}this._numberProps=o,s&&this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)bt(this,n)||Object.defineProperty(this,n,{get:()=>N(r[n])})}_resolveProps(t){const{props:r}=t,n=Ce(r)?r:Object.keys(r||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(Nt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):I1;const s=Nt(t);r&&this._numberProps&&this._numberProps[s]&&(n=Fp(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,s=!1){if(r!==this._props[t]&&(r===I1?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),s&&this._instance&&this._update(),n)){const i=this._ob;i&&i.disconnect(),r===!0?this.setAttribute(Kr(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(Kr(t),r+""):r||this.removeAttribute(Kr(t)),i&&i.observe(this,{attributes:!0})}}_update(){i8(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=F(this._def,ot(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const s=(i,a)=>{this.dispatchEvent(new CustomEvent(i,Uh(a[0])?ot({detail:a},a[0]):{detail:a}))};n.emit=(i,...a)=>{s(i,a),Kr(i)!==i&&s(Kr(i),a)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const n=this._nonce;for(let s=t.length-1;s>=0;s--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[s],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),r=this._instance.type.__scopeId;for(let n=0;n(delete e.props.mode,e),a6=i6({name:"TransitionGroup",props:ot({},jE,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Jt(),n=D_();let s,i;return em(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!d6(s[0].el,r.vnode.el,a))return;s.forEach(u6),s.forEach(l6);const o=s.filter(c6);ev(),o.forEach(u=>{const l=u.el,c=l.style;rs(l,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=l[Yp]=p=>{p&&p.target!==l||(!p||/transform$/.test(p.propertyName))&&(l.removeEventListener("transitionend",d),l[Yp]=null,pi(l,a))};l.addEventListener("transitionend",d)})}),()=>{const a=Qe(e),o=zE(a);let u=a.tag||he;if(s=[],i)for(let l=0;l{o.split(/\s+/).forEach(u=>u&&n.classList.remove(u))}),r.split(/\s+/).forEach(o=>o&&n.classList.add(o)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=WE(n);return i.removeChild(n),a}const Li=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ce(t)?r=>Zo(t,r):t};function f6(e){e.target.composing=!0}function O1(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const En=Symbol("_assign"),Dl={created(e,{modifiers:{lazy:t,trim:r,number:n}},s){e[En]=Li(s);const i=n||s.props&&s.props.type==="number";Bs(e,t?"change":"input",a=>{if(a.target.composing)return;let o=e.value;r&&(o=o.trim()),i&&(o=Lp(o)),e[En](o)}),r&&Bs(e,"change",()=>{e.value=e.value.trim()}),t||(Bs(e,"compositionstart",f6),Bs(e,"compositionend",O1),Bs(e,"change",O1))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:s,number:i}},a){if(e[En]=Li(a),e.composing)return;const o=(i||e.type==="number")&&!/^0\d/.test(e.value)?Lp(e.value):e.value,u=t??"";o!==u&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||s&&e.value.trim()===u)||(e.value=u))}},im={deep:!0,created(e,t,r){e[En]=Li(r),Bs(e,"change",()=>{const n=e._modelValue,s=lu(e),i=e.checked,a=e[En];if(Ce(n)){const o=qh(n,s),u=o!==-1;if(i&&!u)a(n.concat(s));else if(!i&&u){const l=[...n];l.splice(o,1),a(l)}}else if(Ya(n)){const o=new Set(n);i?o.add(s):o.delete(s),a(o)}else a(e8(e,i))})},mounted:R1,beforeUpdate(e,t,r){e[En]=Li(r),R1(e,t,r)}};function R1(e,{value:t,oldValue:r},n){e._modelValue=t;let s;if(Ce(t))s=qh(t,n.props.value)>-1;else if(Ya(t))s=t.has(n.props.value);else{if(t===r)return;s=Ni(t,e8(e,!0))}e.checked!==s&&(e.checked=s)}const am={created(e,{value:t},r){e.checked=Ni(t,r.props.value),e[En]=Li(r),Bs(e,"change",()=>{e[En](lu(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[En]=Li(n),t!==r&&(e.checked=Ni(t,n.props.value))}},XE={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const s=Ya(t);Bs(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>r?Lp(lu(a)):lu(a));e[En](e.multiple?s?new Set(i):i:i[0]),e._assigning=!0,pr(()=>{e._assigning=!1})}),e[En]=Li(n)},mounted(e,{value:t}){$1(e,t)},beforeUpdate(e,t,r){e[En]=Li(r)},updated(e,{value:t}){e._assigning||$1(e,t)}};function $1(e,t){const r=e.multiple,n=Ce(t);if(!(r&&!n&&!Ya(t))){for(let s=0,i=e.options.length;sString(l)===String(o)):a.selected=qh(t,o)>-1}else a.selected=t.has(o);else if(Ni(lu(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function lu(e){return"_value"in e?e._value:e.value}function e8(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const J_={created(e,t,r){ed(e,t,r,null,"created")},mounted(e,t,r){ed(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){ed(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){ed(e,t,r,n,"updated")}};function t8(e,t){switch(e){case"SELECT":return XE;case"TEXTAREA":return Dl;default:switch(t){case"checkbox":return im;case"radio":return am;default:return Dl}}}function ed(e,t,r,n,s){const a=t8(e.tagName,r.props&&r.props.type)[s];a&&a(e,t,r,n)}function p6(){Dl.getSSRProps=({value:e})=>({value:e}),am.getSSRProps=({value:e},t)=>{if(t.props&&Ni(t.props.value,e))return{checked:!0}},im.getSSRProps=({value:e},t)=>{if(Ce(e)){if(t.props&&qh(e,t.props.value)>-1)return{checked:!0}}else if(Ya(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},J_.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=t8(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const h6=["ctrl","shift","alt","meta"],m6={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>h6.some(r=>e[`${r}Key`]&&!t.includes(r))},ft=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(s,...i)=>{for(let a=0;a{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=s=>{if(!("key"in s))return;const i=Kr(s.key);if(t.some(a=>a===i||g6[a]===i))return e(s)})},r8=ot({patchProp:X$},D$);let fl,M1=!1;function n8(){return fl||(fl=_E(r8))}function s8(){return fl=M1?fl:yE(r8),M1=!0,fl}const i8=(...e)=>{n8().render(...e)},v6=(...e)=>{s8().hydrate(...e)},rv=(...e)=>{const t=n8().createApp(...e),{mount:r}=t;return t.mount=n=>{const s=u8(n);if(!s)return;const i=t._component;!Be(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=r(s,!1,o8(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t},a8=(...e)=>{const t=s8().createApp(...e),{mount:r}=t;return t.mount=n=>{const s=u8(n);if(s)return r(s,!0,o8(s))},t};function o8(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function u8(e){return We(e)?document.querySelector(e):e}let x1=!1;const _6=()=>{x1||(x1=!0,p6(),H$())},y6=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Y2,BaseTransitionPropsValidators:L_,Comment:Zt,DeprecationTypes:M$,EffectScope:I_,ErrorCodes:QO,ErrorTypeStrings:C$,Fragment:he,KeepAlive:wR,ReactiveEffect:Tl,Static:Ia,Suspense:l$,Teleport:W2,Text:hs,TrackOpTypes:zO,Transition:Y_,TransitionGroup:o6,TriggerOpTypes:WO,VueElement:sm,assertNumber:JO,callWithAsyncErrorHandling:Tn,callWithErrorHandling:xu,camelize:Nt,capitalize:Ja,cloneVNode:Jn,compatUtils:$$,computed:se,createApp:rv,createBlock:re,createCommentVNode:le,createElementBlock:W,createElementVNode:$,createHydrationRenderer:yE,createPropsRestProxy:FR,createRenderer:_E,createSSRApp:a8,createSlots:vp,createStaticVNode:Cc,createTextVNode:X,createVNode:F,customRef:M_,defineAsyncComponent:bR,defineComponent:pe,defineCustomElement:ZE,defineEmits:PR,defineExpose:OR,defineModel:MR,defineOptions:RR,defineProps:IR,defineSSRCustomElement:t6,defineSlots:$R,devtools:T$,effect:mO,effectScope:jh,getCurrentInstance:Jt,getCurrentScope:yc,getCurrentWatcher:GO,getTransitionRawChildren:Qh,guardReactiveProps:xE,h:_t,handleError:Qa,hasInjectionContext:W_,hydrate:v6,hydrateOnIdle:hR,hydrateOnInteraction:_R,hydrateOnMediaQuery:vR,hydrateOnVisible:gR,initCustomFormatter:k$,initDirectivesForSSR:_6,inject:it,isMemoSame:HE,isProxy:Zh,isReactive:Wn,isReadonly:Di,isRef:yt,isRuntimeOnly:b$,isShallow:on,isVNode:Ys,markRaw:Yh,mergeDefaults:DR,mergeModels:LR,mergeProps:er,nextTick:pr,normalizeClass:ze,normalizeProps:rO,normalizeStyle:Fr,onActivated:B_,onBeforeMount:eE,onBeforeUnmount:Nu,onBeforeUpdate:H_,onDeactivated:U_,onErrorCaptured:sE,onMounted:lt,onRenderTracked:nE,onRenderTriggered:rE,onScopeDispose:$u,onServerPrefetch:tE,onUnmounted:Tr,onUpdated:em,onWatcherCleanup:L2,openBlock:P,popScopeId:nR,provide:lr,proxyRefs:$_,pushScopeId:rR,queuePostFlushCb:Ol,reactive:Wi,readonly:Sc,ref:G,registerRuntimeCompiler:FE,render:i8,renderList:Ue,renderSlot:st,resolveComponent:kc,resolveDirective:AR,resolveDynamicComponent:Gi,resolveFilter:R$,resolveTransitionHooks:au,setBlockTracking:Gg,setDevtoolsHook:I$,setTransitionHooks:Zs,shallowReactive:bc,shallowReadonly:NO,shallowRef:Mu,ssrContextKey:kE,ssrUtils:O$,stop:gO,toDisplayString:D,toHandlerKey:Ko,toHandlers:CR,toRaw:Qe,toRef:x_,toRefs:Es,toValue:FO,transformVNodeArgs:m$,triggerRef:LO,unref:N,useAttrs:NR,useCssModule:s6,useCssVars:V$,useHost:YE,useId:Q2,useModel:r$,useSSRContext:EE,useShadowRoot:n6,useSlots:Ec,useTemplateRef:oR,useTransitionState:D_,vModelCheckbox:im,vModelDynamic:J_,vModelRadio:am,vModelSelect:XE,vModelText:Dl,vShow:Ki,version:nm,warn:A$,watch:Se,watchEffect:Hr,watchPostEffect:e$,watchSyncEffect:AE,withAsyncContext:BR,withCtx:V,withDefaults:xR,withDirectives:In,withKeys:Ot,withMemo:E$,withModifiers:ft,withScopeId:sR},Symbol.toStringTag,{value:"Module"}));/** * @vue/compiler-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Ll=Symbol(""),pl=Symbol(""),Q_=Symbol(""),Jp=Symbol(""),l8=Symbol(""),La=Symbol(""),c8=Symbol(""),d8=Symbol(""),X_=Symbol(""),ey=Symbol(""),Ic=Symbol(""),ty=Symbol(""),f8=Symbol(""),ry=Symbol(""),ny=Symbol(""),sy=Symbol(""),iy=Symbol(""),ay=Symbol(""),oy=Symbol(""),p8=Symbol(""),h8=Symbol(""),om=Symbol(""),Qp=Symbol(""),uy=Symbol(""),ly=Symbol(""),Fl=Symbol(""),Pc=Symbol(""),cy=Symbol(""),nv=Symbol(""),b6=Symbol(""),sv=Symbol(""),Xp=Symbol(""),S6=Symbol(""),w6=Symbol(""),dy=Symbol(""),k6=Symbol(""),E6=Symbol(""),fy=Symbol(""),m8=Symbol(""),cu={[Ll]:"Fragment",[pl]:"Teleport",[Q_]:"Suspense",[Jp]:"KeepAlive",[l8]:"BaseTransition",[La]:"openBlock",[c8]:"createBlock",[d8]:"createElementBlock",[X_]:"createVNode",[ey]:"createElementVNode",[Ic]:"createCommentVNode",[ty]:"createTextVNode",[f8]:"createStaticVNode",[ry]:"resolveComponent",[ny]:"resolveDynamicComponent",[sy]:"resolveDirective",[iy]:"resolveFilter",[ay]:"withDirectives",[oy]:"renderList",[p8]:"renderSlot",[h8]:"createSlots",[om]:"toDisplayString",[Qp]:"mergeProps",[uy]:"normalizeClass",[ly]:"normalizeStyle",[Fl]:"normalizeProps",[Pc]:"guardReactiveProps",[cy]:"toHandlers",[nv]:"camelize",[b6]:"capitalize",[sv]:"toHandlerKey",[Xp]:"setBlockTracking",[S6]:"pushScopeId",[w6]:"popScopeId",[dy]:"withCtx",[k6]:"unref",[E6]:"isRef",[fy]:"withMemo",[m8]:"isMemoSame"};function A6(e){Object.getOwnPropertySymbols(e).forEach(t=>{cu[t]=e[t]})}const pn={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function C6(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:pn}}function Bl(e,t,r,n,s,i,a,o=!1,u=!1,l=!1,c=pn){return e&&(o?(e.helper(La),e.helper(pu(e.inSSR,l))):e.helper(fu(e.inSSR,l)),a&&e.helper(ay)),{type:13,tag:t,props:r,children:n,patchFlag:s,dynamicProps:i,directives:a,isBlock:o,disableTracking:u,isComponent:l,loc:c}}function Pa(e,t=pn){return{type:17,loc:t,elements:e}}function kn(e,t=pn){return{type:15,loc:t,properties:e}}function Yt(e,t){return{type:16,loc:pn,key:We(e)?Ze(e,!0):e,value:t}}function Ze(e,t=!1,r=pn,n=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:n}}function Gn(e,t=pn){return{type:8,loc:t,children:e}}function ir(e,t=[],r=pn){return{type:14,loc:r,callee:e,arguments:t}}function du(e,t=void 0,r=!1,n=!1,s=pn){return{type:18,params:e,returns:t,newline:r,isSlot:n,loc:s}}function iv(e,t,r,n=!0){return{type:19,test:e,consequent:t,alternate:r,newline:n,loc:pn}}function T6(e,t,r=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:n,needArraySpread:!1,loc:pn}}function I6(e){return{type:21,body:e,loc:pn}}function fu(e,t){return e||t?X_:ey}function pu(e,t){return e||t?c8:d8}function py(e,{helper:t,removeHelper:r,inSSR:n}){e.isBlock||(e.isBlock=!0,r(fu(n,e.isComponent)),t(La),t(pu(n,e.isComponent)))}const N1=new Uint8Array([123,123]),D1=new Uint8Array([125,125]);function L1(e){return e>=97&&e<=122||e>=65&&e<=90}function tn(e){return e===32||e===10||e===9||e===12||e===13}function li(e){return e===47||e===62||tn(e)}function eh(e){const t=new Uint8Array(e.length);for(let r=0;r=0;s--){const i=this.newlines[s];if(t>i){r=s+2,n=t-i;break}}return{column:n,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?li(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||tn(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===yr.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){}}function F1(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function Oa(e,t){const r=F1("MODE",t),n=F1(e,t);return r===3?n===!0:n!==!1}function Ul(e,t,r,...n){return Oa(e,t)}function hy(e){throw e}function g8(e){}function Ft(e,t,r,n){const s=`https://vuejs.org/error-reference/#compiler-${e}`,i=new SyntaxError(String(s));return i.code=e,i.loc=t,i}const Zr=e=>e.type===4&&e.isStatic;function v8(e){switch(e){case"Teleport":case"teleport":return pl;case"Suspense":case"suspense":return Q_;case"KeepAlive":case"keep-alive":return Jp;case"BaseTransition":case"base-transition":return l8}}const O6=/^\d|[^\$\w\xA0-\uFFFF]/,my=e=>!O6.test(e),R6=/[A-Za-z_$\xA0-\uFFFF]/,$6=/[\.\?\w$\xA0-\uFFFF]/,M6=/\s+[.[]\s*|\s*[.[]\s+/g,_8=e=>e.type===4?e.content:e.loc.source,x6=e=>{const t=_8(e).trim().replace(M6,o=>o.trim());let r=0,n=[],s=0,i=0,a=null;for(let o=0;o|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,D6=e=>N6.test(_8(e)),L6=D6;function Sn(e,t,r=!1){for(let n=0;nt.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function tg(e){return e.type===5||e.type===2}function B6(e){return e.type===7&&e.name==="slot"}function th(e){return e.type===1&&e.tagType===3}function rh(e){return e.type===1&&e.tagType===2}const U6=new Set([Fl,Pc]);function b8(e,t=[]){if(e&&!We(e)&&e.type===14){const r=e.callee;if(!We(r)&&U6.has(r))return b8(e.arguments[0],t.concat(e))}return[e,t]}function nh(e,t,r){let n,s=e.type===13?e.props:e.arguments[2],i=[],a;if(s&&!We(s)&&s.type===14){const o=b8(s);s=o[0],i=o[1],a=i[i.length-1]}if(s==null||We(s))n=kn([t]);else if(s.type===14){const o=s.arguments[0];!We(o)&&o.type===15?B1(t,o)||o.properties.unshift(t):s.callee===cy?n=ir(r.helper(Qp),[kn([t]),s]):s.arguments.unshift(kn([t])),!n&&(n=s)}else s.type===15?(B1(t,s)||s.properties.unshift(t),n=s):(n=ir(r.helper(Qp),[kn([t]),s]),a&&a.callee===Pc&&(a=i[i.length-2]));e.type===13?a?a.arguments[0]=n:e.props=n:a?a.arguments[0]=n:e.arguments[2]=n}function B1(e,t){let r=!1;if(e.key.type===4){const n=e.key.content;r=t.properties.some(s=>s.key.type===4&&s.key.content===n)}return r}function Hl(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,n)=>r==="-"?"_":e.charCodeAt(n).toString())}`}function H6(e){return e.type===14&&e.callee===fy?e.arguments[1].returns:e}const V6=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,S8={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:el,isPreTag:el,isIgnoreNewlineTag:el,isCustomElement:el,onError:hy,onWarn:g8,comments:!1,prefixIdentifiers:!1};let St=S8,Vl=null,zs="",br=null,dt=null,jr="",Os=-1,ga=-1,gy=0,wi=!1,av=null;const Lt=[],Wt=new P6(Lt,{onerr:Is,ontext(e,t){td(mr(e,t),e,t)},ontextentity(e,t,r){td(e,t,r)},oninterpolation(e,t){if(wi)return td(mr(e,t),e,t);let r=e+Wt.delimiterOpen.length,n=t-Wt.delimiterClose.length;for(;tn(zs.charCodeAt(r));)r++;for(;tn(zs.charCodeAt(n-1));)n--;let s=mr(r,n);s.includes("&")&&(s=St.decodeEntities(s,!1)),ov({type:5,content:wp(s,!1,Kt(r,n)),loc:Kt(e,t)})},onopentagname(e,t){const r=mr(e,t);br={type:1,tag:r,ns:St.getNamespace(r,Lt[0],St.ns),tagType:0,props:[],children:[],loc:Kt(e-1,t),codegenNode:void 0}},onopentagend(e){H1(e)},onclosetag(e,t){const r=mr(e,t);if(!St.isVoidTag(r)){let n=!1;for(let s=0;s0&&Is(24,Lt[0].loc.start.offset);for(let a=0;a<=s;a++){const o=Lt.shift();Sp(o,t,a(n.type===7?n.rawName:n.name)===r)&&Is(2,t)},onattribend(e,t){if(br&&dt){if(Sa(dt.loc,t),e!==0)if(jr.includes("&")&&(jr=St.decodeEntities(jr,!0)),dt.type===6)dt.name==="class"&&(jr=E8(jr).trim()),e===1&&!jr&&Is(13,t),dt.value={type:2,content:jr,loc:e===1?Kt(Os,ga):Kt(Os-1,ga+1)},Wt.inSFCRoot&&br.tag==="template"&&dt.name==="lang"&&jr&&jr!=="html"&&Wt.enterRCDATA(eh("s.content==="sync"))>-1&&Ul("COMPILER_V_BIND_SYNC",St,dt.loc,dt.rawName)&&(dt.name="model",dt.modifiers.splice(n,1))}(dt.type!==7||dt.name!=="pre")&&br.props.push(dt)}jr="",Os=ga=-1},oncomment(e,t){St.comments&&ov({type:3,content:mr(e,t),loc:Kt(e-4,t+3)})},onend(){const e=zs.length;for(let t=0;t{const v=t.start.offset+p,_=v+d.length;return wp(d,!1,Kt(v,_),0,g?1:0)},o={source:a(i.trim(),r.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=s.trim().replace(q6,"").trim();const l=s.indexOf(u),c=u.match(U1);if(c){u=u.replace(U1,"").trim();const d=c[1].trim();let p;if(d&&(p=r.indexOf(d,l+u.length),o.key=a(d,p,!0)),c[2]){const g=c[2].trim();g&&(o.index=a(g,r.indexOf(g,o.key?p+d.length:l+u.length),!0))}}return u&&(o.value=a(u,l,!0)),o}function mr(e,t){return zs.slice(e,t)}function H1(e){Wt.inSFCRoot&&(br.innerLoc=Kt(e+1,e+1)),ov(br);const{tag:t,ns:r}=br;r===0&&St.isPreTag(t)&&gy++,St.isVoidTag(t)?Sp(br,e):(Lt.unshift(br),(r===1||r===2)&&(Wt.inXML=!0)),br=null}function td(e,t,r){{const i=Lt[0]&&Lt[0].tag;i!=="script"&&i!=="style"&&e.includes("&")&&(e=St.decodeEntities(e,!1))}const n=Lt[0]||Vl,s=n.children[n.children.length-1];s&&s.type===2?(s.content+=e,Sa(s.loc,r)):n.children.push({type:2,content:e,loc:Kt(t,r)})}function Sp(e,t,r=!1){r?Sa(e.loc,w8(t,60)):Sa(e.loc,z6(t,62)+1),Wt.inSFCRoot&&(e.children.length?e.innerLoc.end=ot({},e.children[e.children.length-1].loc.end):e.innerLoc.end=ot({},e.innerLoc.start),e.innerLoc.source=mr(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:s,children:i}=e;if(wi||(n==="slot"?e.tagType=2:V1(e)?e.tagType=3:G6(e)&&(e.tagType=1)),Wt.inRCDATA||(e.children=k8(i)),s===0&&St.isIgnoreNewlineTag(n)){const a=i[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}s===0&&St.isPreTag(n)&&gy--,av===e&&(wi=Wt.inVPre=!1,av=null),Wt.inXML&&(Lt[0]?Lt[0].ns:St.ns)===0&&(Wt.inXML=!1);{const a=e.props;if(!Wt.inSFCRoot&&Oa("COMPILER_NATIVE_TEMPLATE",St)&&e.tag==="template"&&!V1(e)){const u=Lt[0]||Vl,l=u.children.indexOf(e);u.children.splice(l,1,...e.children)}const o=a.find(u=>u.type===6&&u.name==="inline-template");o&&Ul("COMPILER_INLINE_TEMPLATE",St,o.loc)&&e.children.length&&(o.value={type:2,content:mr(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:o.loc})}}function z6(e,t){let r=e;for(;zs.charCodeAt(r)!==t&&r=0;)r--;return r}const W6=new Set(["if","else","else-if","for","slot"]);function V1({tag:e,props:t}){if(e==="template"){for(let r=0;r64&&e<91}const Z6=/\r\n/g;function k8(e,t){const r=St.whitespace!=="preserve";let n=!1;for(let s=0;s0){if(p>=2){d.codegenNode.patchFlag=-1,a.push(d);continue}}else{const g=d.codegenNode;if(g.type===13){const v=g.patchFlag;if((v===void 0||v===512||v===1)&&T8(d,r)>=2){const _=I8(d);_&&(g.props=r.hoist(_))}g.dynamicProps&&(g.dynamicProps=r.hoist(g.dynamicProps))}}}else if(d.type===12&&(n?0:nn(d,r))>=2){a.push(d);continue}if(d.type===1){const p=d.tagType===1;p&&r.scopes.vSlot++,kp(d,e,r,!1,s),p&&r.scopes.vSlot--}else if(d.type===11)kp(d,e,r,d.children.length===1,!0);else if(d.type===9)for(let p=0;pg.key===d||g.key.content===d);return p&&p.value}}a.length&&r.transformHoist&&r.transformHoist(i,r,e)}function nn(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=r.get(e);if(n!==void 0)return n;const s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(s.patchFlag===void 0){let a=3;const o=T8(e,t);if(o===0)return r.set(e,0),0;o1)for(let u=0;uT&&(E.childIndex--,E.onNodeRemoved()),E.parent.children.splice(T,1)},onNodeRemoved:vr,addIdentifiers(C){},removeIdentifiers(C){},hoist(C){We(C)&&(C=Ze(C)),E.hoists.push(C);const A=Ze(`_hoisted_${E.hoists.length}`,!1,C.loc,2);return A.hoisted=C,A},cache(C,A=!1,T=!1){const x=T6(E.cached.length,C,A,T);return E.cached.push(x),x}};return E.filters=new Set,E}function iM(e,t){const r=sM(e,t);lm(e,r),t.hoistStatic&&rM(e,r),t.ssr||aM(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0,e.filters=[...r.filters]}function aM(e,t){const{helper:r}=t,{children:n}=e;if(n.length===1){const s=n[0];if(A8(e,s)&&s.codegenNode){const i=s.codegenNode;i.type===13&&py(i,t),e.codegenNode=i}else e.codegenNode=s}else if(n.length>1){let s=64;e.codegenNode=Bl(t,r(Ll),void 0,e.children,s,void 0,void 0,!0,void 0,!1)}}function oM(e,t){let r=0;const n=()=>{r--};for(;rn===e:n=>e.test(n);return(n,s)=>{if(n.type===1){const{props:i}=n;if(n.tagType===3&&i.some(B6))return;const a=[];for(let o=0;o`${cu[e]}: _${cu[e]}`;function uM(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:n=!1,filename:s="template.vue.html",scopeId:i=null,optimizeImports:a=!1,runtimeGlobalName:o="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:c=!1,isTS:d=!1,inSSR:p=!1}){const g={mode:t,prefixIdentifiers:r,sourceMap:n,filename:s,scopeId:i,optimizeImports:a,runtimeGlobalName:o,runtimeModuleName:u,ssrRuntimeModuleName:l,ssr:c,isTS:d,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(_){return`_${cu[_]}`},push(_,w=-2,S){g.code+=_},indent(){v(++g.indentLevel)},deindent(_=!1){_?--g.indentLevel:v(--g.indentLevel)},newline(){v(g.indentLevel)}};function v(_){g.push(` `+" ".repeat(_),0)}return g}function lM(e,t={}){const r=uM(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:n,push:s,prefixIdentifiers:i,indent:a,deindent:o,newline:u,scopeId:l,ssr:c}=r,d=Array.from(e.helpers),p=d.length>0,g=!i&&n!=="module";cM(e,r);const _=c?"ssrRender":"render",S=(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${_}(${S}) {`),a(),g&&(s("with (_ctx) {"),a(),p&&(s(`const { ${d.map(O8).join(", ")} } = _Vue `,-1),u())),e.components.length&&(rg(e.components,"component",r),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(rg(e.directives,"directive",r),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),rg(e.filters,"filter",r),u()),e.temps>0){s("let ");for(let b=0;b0?", ":""}_temp${b}`)}return(e.components.length||e.directives.length||e.temps)&&(s(` `,0),u()),c||s("return "),e.codegenNode?Ar(e.codegenNode,r):s("null"),g&&(o(),s("}")),o(),s("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function cM(e,t){const{ssr:r,prefixIdentifiers:n,push:s,newline:i,runtimeModuleName:a,runtimeGlobalName:o,ssrRuntimeModuleName:u}=t,l=o,c=Array.from(e.helpers);if(c.length>0&&(s(`const _Vue = ${l} `,-1),e.hoists.length)){const d=[X_,ey,Ic,ty,f8].filter(p=>c.includes(p)).map(O8).join(", ");s(`const { ${d} } = _Vue `,-1)}dM(e.hoists,t),i(),s("return ")}function rg(e,t,{helper:r,push:n,newline:s,isTS:i}){const a=r(t==="filter"?iy:t==="component"?ry:sy);for(let o=0;o3||!1;t.push("["),r&&t.indent(),Oc(e,t,r),r&&t.deindent(),t.push("]")}function Oc(e,t,r=!1,n=!0){const{push:s,newline:i}=t;for(let a=0;ar||"null")}function _M(e,t){const{push:r,helper:n,pure:s}=t,i=We(e.callee)?e.callee:n(e.callee);s&&r(cm),r(i+"(",-2,e),Oc(e.arguments,t),r(")")}function yM(e,t){const{push:r,indent:n,deindent:s,newline:i}=t,{properties:a}=e;if(!a.length){r("{}",-2,e);return}const o=a.length>1||!1;r(o?"{":"{ "),o&&n();for(let u=0;u "),(u||o)&&(r("{"),n()),a?(u&&r("return "),Ce(a)?vy(a,t):Ar(a,t)):o&&Ar(o,t),(u||o)&&(s(),r("}")),l&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function wM(e,t){const{test:r,consequent:n,alternate:s,newline:i}=e,{push:a,indent:o,deindent:u,newline:l}=t;if(r.type===4){const d=!my(r.content);d&&a("("),R8(r,t),d&&a(")")}else a("("),Ar(r,t),a(")");i&&o(),t.indentLevel++,i||a(" "),a("? "),Ar(n,t),t.indentLevel--,i&&l(),i||a(" "),a(": ");const c=s.type===19;c||t.indentLevel++,Ar(s,t),c||t.indentLevel--,i&&u(!0)}function kM(e,t){const{push:r,helper:n,indent:s,deindent:i,newline:a}=t,{needPauseTracking:o,needArraySpread:u}=e;u&&r("[...("),r(`_cache[${e.index}] || (`),o&&(s(),r(`${n(Xp)}(-1`),e.inVOnce&&r(", true"),r("),"),a(),r("(")),r(`_cache[${e.index}] = `),Ar(e.value,t),o&&(r(`).cacheIndex = ${e.index},`),a(),r(`${n(Xp)}(1),`),a(),r(`_cache[${e.index}]`),i()),r(")"),u&&r(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const EM=P8(/^(if|else|else-if)$/,(e,t,r)=>AM(e,t,r,(n,s,i)=>{const a=r.parent.children;let o=a.indexOf(n),u=0;for(;o-->=0;){const l=a[o];l&&l.type===9&&(u+=l.branches.length)}return()=>{if(i)n.codegenNode=j1(s,u,r);else{const l=CM(n.codegenNode);l.alternate=j1(s,u+n.branches.length-1,r)}}}));function AM(e,t,r,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;r.onError(Ft(28,t.loc)),t.exp=Ze("true",!1,s)}if(t.name==="if"){const s=q1(e,t),i={type:9,loc:Q6(e.loc),branches:[s]};if(r.replaceNode(i),n)return n(i,s,!0)}else{const s=r.parent.children;let i=s.indexOf(e);for(;i-->=-1;){const a=s[i];if(a&&a.type===3){r.removeNode(a);continue}if(a&&a.type===2&&!a.content.trim().length){r.removeNode(a);continue}if(a&&a.type===9){t.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&r.onError(Ft(30,e.loc)),r.removeNode();const o=q1(e,t);a.branches.push(o);const u=n&&n(a,o,!1);lm(o,r),u&&u(),r.currentNode=null}else r.onError(Ft(30,e.loc));break}}}function q1(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!Sn(e,"for")?e.children:[e],userKey:um(e,"key"),isTemplateIf:r}}function j1(e,t,r){return e.condition?iv(e.condition,z1(e,t,r),ir(r.helper(Ic),['""',"true"])):z1(e,t,r)}function z1(e,t,r){const{helper:n}=r,s=Yt("key",Ze(`${t}`,!1,pn,2)),{children:i}=e,a=i[0];if(i.length!==1||a.type!==1)if(i.length===1&&a.type===11){const u=a.codegenNode;return nh(u,s,r),u}else return Bl(r,n(Ll),kn([s]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=a.codegenNode,l=H6(u);return l.type===13&&py(l,r),nh(l,s,r),u}}function CM(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const TM=(e,t,r)=>{const{modifiers:n,loc:s}=e,i=e.arg;let{exp:a}=e;if(a&&a.type===4&&!a.content.trim()&&(a=void 0),!a){if(i.type!==4||!i.isStatic)return r.onError(Ft(52,i.loc)),{props:[Yt(i,Ze("",!0,s))]};M8(e),a=e.exp}return i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),n.some(o=>o.content==="camel")&&(i.type===4?i.isStatic?i.content=Nt(i.content):i.content=`${r.helperString(nv)}(${i.content})`:(i.children.unshift(`${r.helperString(nv)}(`),i.children.push(")"))),r.inSSR||(n.some(o=>o.content==="prop")&&W1(i,"."),n.some(o=>o.content==="attr")&&W1(i,"^")),{props:[Yt(i,a)]}},M8=(e,t)=>{const r=e.arg,n=Nt(r.content);e.exp=Ze(n,!1,r.loc)},W1=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},IM=P8("for",(e,t,r)=>{const{helper:n,removeHelper:s}=r;return PM(e,t,r,i=>{const a=ir(n(oy),[i.source]),o=th(e),u=Sn(e,"memo"),l=um(e,"key",!1,!0);l&&l.type===7&&!l.exp&&M8(l);let d=l&&(l.type===6?l.value?Ze(l.value.content,!0):void 0:l.exp);const p=l&&d?Yt("key",d):null,g=i.source.type===4&&i.source.constType>0,v=g?64:l?128:256;return i.codegenNode=Bl(r,n(Ll),void 0,a,v,void 0,void 0,!0,!g,!1,e.loc),()=>{let _;const{children:w}=i,S=w.length!==1||w[0].type!==1,b=rh(e)?e:o&&e.children.length===1&&rh(e.children[0])?e.children[0]:null;if(b?(_=b.codegenNode,o&&p&&nh(_,p,r)):S?_=Bl(r,n(Ll),p?kn([p]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(_=w[0].codegenNode,o&&p&&nh(_,p,r),_.isBlock!==!g&&(_.isBlock?(s(La),s(pu(r.inSSR,_.isComponent))):s(fu(r.inSSR,_.isComponent))),_.isBlock=!g,_.isBlock?(n(La),n(pu(r.inSSR,_.isComponent))):n(fu(r.inSSR,_.isComponent))),u){const y=du(uv(i.parseResult,[Ze("_cached")]));y.body=I6([Gn(["const _memo = (",u.exp,")"]),Gn(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${r.helperString(m8)}(_cached, _memo)) return _cached`]),Gn(["const _item = ",_]),Ze("_item.memo = _memo"),Ze("return _item")]),a.arguments.push(y,Ze("_cache"),Ze(String(r.cached.length))),r.cached.push(null)}else a.arguments.push(du(uv(i.parseResult),_,!0))}})});function PM(e,t,r,n){if(!t.exp){r.onError(Ft(31,t.loc));return}const s=t.forParseResult;if(!s){r.onError(Ft(32,t.loc));return}x8(s);const{addIdentifiers:i,removeIdentifiers:a,scopes:o}=r,{source:u,value:l,key:c,index:d}=s,p={type:11,loc:t.loc,source:u,valueAlias:l,keyAlias:c,objectIndexAlias:d,parseResult:s,children:th(e)?e.children:[e]};r.replaceNode(p),o.vFor++;const g=n&&n(p);return()=>{o.vFor--,g&&g()}}function x8(e,t){e.finalized||(e.finalized=!0)}function uv({value:e,key:t,index:r},n=[]){return OM([e,t,r,...n])}function OM(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,n)=>r||Ze("_".repeat(n+1),!1))}const G1=Ze("undefined",!1),RM=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Sn(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},$M=(e,t,r,n)=>du(e,r,!1,!0,r.length?r[0].loc:n);function MM(e,t,r=$M){t.helper(dy);const{children:n,loc:s}=e,i=[],a=[];let o=t.scopes.vSlot>0||t.scopes.vFor>0;const u=Sn(e,"slot",!0);if(u){const{arg:w,exp:S}=u;w&&!Zr(w)&&(o=!0),i.push(Yt(w||Ze("default",!0),r(S,void 0,n,s)))}let l=!1,c=!1;const d=[],p=new Set;let g=0;for(let w=0;w{const y=r(S,void 0,b,s);return t.compatConfig&&(y.isNonScopedSlot=!0),Yt("default",y)};l?d.length&&d.some(S=>N8(S))&&(c?t.onError(Ft(39,d[0].loc)):i.push(w(void 0,d))):i.push(w(void 0,n))}const v=o?2:Ep(e.children)?3:1;let _=kn(i.concat(Yt("_",Ze(v+"",!1))),s);return a.length&&(_=ir(t.helper(h8),[_,Pa(a)])),{slots:_,hasDynamicSlots:o}}function rd(e,t,r){const n=[Yt("name",e),Yt("fn",t)];return r!=null&&n.push(Yt("key",Ze(String(r),!0))),kn(n)}function Ep(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:s}=e,i=e.tagType===1;let a=i?NM(e,t):`"${n}"`;const o=Et(a)&&a.callee===ny;let u,l,c=0,d,p,g,v=o||a===pl||a===Q_||!i&&(n==="svg"||n==="foreignObject"||n==="math");if(s.length>0){const _=L8(e,t,void 0,i,o);u=_.props,c=_.patchFlag,p=_.dynamicPropNames;const w=_.directives;g=w&&w.length?Pa(w.map(S=>LM(S,t))):void 0,_.shouldUseBlock&&(v=!0)}if(e.children.length>0)if(a===Jp&&(v=!0,c|=1024),i&&a!==pl&&a!==Jp){const{slots:w,hasDynamicSlots:S}=MM(e,t);l=w,S&&(c|=1024)}else if(e.children.length===1&&a!==pl){const w=e.children[0],S=w.type,b=S===5||S===8;b&&nn(w,t)===0&&(c|=1),b||S===2?l=w:l=e.children}else l=e.children;p&&p.length&&(d=FM(p)),e.codegenNode=Bl(t,a,u,l,c===0?void 0:c,d,g,!!v,!1,i,e.loc)};function NM(e,t,r=!1){let{tag:n}=e;const s=lv(n),i=um(e,"is",!1,!0);if(i)if(s||Oa("COMPILER_IS_ON_ELEMENT",t)){let o;if(i.type===6?o=i.value&&Ze(i.value.content,!0):(o=i.exp,o||(o=Ze("is",!1,i.arg.loc))),o)return ir(t.helper(ny),[o])}else i.type===6&&i.value.content.startsWith("vue:")&&(n=i.value.content.slice(4));const a=v8(n)||t.isBuiltInComponent(n);return a?(r||t.helper(a),a):(t.helper(ry),t.components.add(n),Hl(n,"component"))}function L8(e,t,r=e.props,n,s,i=!1){const{tag:a,loc:o,children:u}=e;let l=[];const c=[],d=[],p=u.length>0;let g=!1,v=0,_=!1,w=!1,S=!1,b=!1,y=!1,f=!1;const h=[],m=A=>{l.length&&(c.push(kn(K1(l),o)),l=[]),A&&c.push(A)},k=()=>{t.scopes.vFor>0&&l.push(Yt(Ze("ref_for",!0),Ze("true")))},E=({key:A,value:T})=>{if(Zr(A)){const x=A.content,O=Za(x);if(O&&(!n||s)&&x.toLowerCase()!=="onclick"&&x!=="onUpdate:modelValue"&&!Pi(x)&&(b=!0),O&&Pi(x)&&(f=!0),O&&T.type===14&&(T=T.arguments[0]),T.type===20||(T.type===4||T.type===8)&&nn(T,t)>0)return;x==="ref"?_=!0:x==="class"?w=!0:x==="style"?S=!0:x!=="key"&&!h.includes(x)&&h.push(x),n&&(x==="class"||x==="style")&&!h.includes(x)&&h.push(x)}else y=!0};for(let A=0;Aq.content==="prop")&&(v|=32);const de=t.directiveTransforms[x];if(de){const{props:q,needRuntime:ie}=de(T,e,t);!i&&q.forEach(E),z&&O&&!Zr(O)?m(kn(q,o)):l.push(...q),ie&&(d.push(T),Qr(ie)&&D8.set(T,ie))}else G4(x)||(d.push(T),p&&(g=!0))}}let C;if(c.length?(m(),c.length>1?C=ir(t.helper(Qp),c,o):C=c[0]):l.length&&(C=kn(K1(l),o)),y?v|=16:(w&&!n&&(v|=2),S&&!n&&(v|=4),h.length&&(v|=8),b&&(v|=32)),!g&&(v===0||v===32)&&(_||f||d.length>0)&&(v|=512),!t.inSSR&&C)switch(C.type){case 15:let A=-1,T=-1,x=!1;for(let j=0;jYt(a,i)),s))}return Pa(r,e.loc)}function FM(e){let t="[";for(let r=0,n=e.length;r{if(rh(e)){const{children:r,loc:n}=e,{slotName:s,slotProps:i}=UM(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let o=2;i&&(a[2]=i,o=3),r.length&&(a[3]=du([],r,!1,!1,n),o=4),t.scopeId&&!t.slotted&&(o=5),a.splice(o),e.codegenNode=ir(t.helper(p8),a,n)}};function UM(e,t){let r='"default"',n;const s=[];for(let i=0;i0){const{props:i,directives:a}=L8(e,t,s,!1,!1);n=i,a.length&&t.onError(Ft(36,a[0].loc))}return{slotName:r,slotProps:n}}const F8=(e,t,r,n)=>{const{loc:s,modifiers:i,arg:a}=e;!e.exp&&!i.length&&r.onError(Ft(35,s));let o;if(a.type===4)if(a.isStatic){let d=a.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const p=t.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?Ko(Nt(d)):`on:${d}`;o=Ze(p,!0,a.loc)}else o=Gn([`${r.helperString(sv)}(`,a,")"]);else o=a,o.children.unshift(`${r.helperString(sv)}(`),o.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let l=r.cacheHandlers&&!u&&!r.inVOnce;if(u){const d=y8(u),p=!(d||L6(u)),g=u.content.includes(";");(p||l&&d)&&(u=Gn([`${p?"$event":"(...args)"} => ${g?"{":"("}`,u,g?"}":")"]))}let c={props:[Yt(o,u||Ze("() => {}",!1,s))]};return n&&(c=n(c)),l&&(c.props[0].value=r.cache(c.props[0].value)),c.props.forEach(d=>d.key.isHandlerKey=!0),c},HM=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let n,s=!1;for(let i=0;ii.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i{if(e.type===1&&Sn(e,"once",!0))return Z1.has(e)||t.inVOnce||t.inSSR?void 0:(Z1.add(e),t.inVOnce=!0,t.helper(Xp),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0,!0))})},B8=(e,t,r)=>{const{exp:n,arg:s}=e;if(!n)return r.onError(Ft(41,e.loc)),nd();const i=n.loc.source.trim(),a=n.type===4?n.content:i,o=r.bindingMetadata[i];if(o==="props"||o==="props-aliased")return r.onError(Ft(44,n.loc)),nd();if(!a.trim()||!y8(n))return r.onError(Ft(42,n.loc)),nd();const u=s||Ze("modelValue",!0),l=s?Zr(s)?`onUpdate:${Nt(s.content)}`:Gn(['"onUpdate:" + ',s]):"onUpdate:modelValue";let c;const d=r.isTS?"($event: any)":"$event";c=Gn([`${d} => ((`,n,") = $event)"]);const p=[Yt(u,e.exp),Yt(l,c)];if(e.modifiers.length&&t.tagType===1){const g=e.modifiers.map(_=>_.content).map(_=>(my(_)?_:JSON.stringify(_))+": true").join(", "),v=s?Zr(s)?`${s.content}Modifiers`:Gn([s,' + "Modifiers"']):"modelModifiers";p.push(Yt(v,Ze(`{ ${g} }`,!1,e.loc,2)))}return nd(p)};function nd(e=[]){return{props:e}}const qM=/[\w).+\-_$\]]/,jM=(e,t)=>{Oa("COMPILER_FILTERS",t)&&(e.type===5?sh(e.content,t):e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&sh(r.exp,t)}))};function sh(e,t){if(e.type===4)Y1(e,t);else for(let r=0;r=0&&(b=r.charAt(S),b===" ");S--);(!b||!qM.test(b))&&(a=!0)}}v===void 0?v=r.slice(0,g).trim():c!==0&&w();function w(){_.push(r.slice(c,g).trim()),c=g+1}if(_.length){for(g=0;g<_.length;g++)v=zM(v,_[g],t);e.content=v,e.ast=void 0}}function zM(e,t,r){r.helper(iy);const n=t.indexOf("(");if(n<0)return r.filters.add(t),`${Hl(t,"filter")}(${e})`;{const s=t.slice(0,n),i=t.slice(n+1);return r.filters.add(s),`${Hl(s,"filter")}(${e}${i!==")"?","+i:i}`}}const J1=new WeakSet,WM=(e,t)=>{if(e.type===1){const r=Sn(e,"memo");return!r||J1.has(e)?void 0:(J1.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&py(n,t),e.codegenNode=ir(t.helper(fy),[r.exp,du(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function GM(e){return[[VM,EM,WM,IM,jM,BM,xM,RM,HM],{on:F8,bind:TM,model:B8}]}function KM(e,t={}){const r=t.onError||hy,n=t.mode==="module";t.prefixIdentifiers===!0?r(Ft(47)):n&&r(Ft(48));const s=!1;t.cacheHandlers&&r(Ft(49)),t.scopeId&&!n&&r(Ft(50));const i=ot({},t,{prefixIdentifiers:s}),a=We(e)?tM(e,i):e,[o,u]=GM();return iM(a,ot({},i,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:ot({},u,t.directiveTransforms||{})})),lM(a,i)}const ZM=()=>({props:[]});/** * @vue/compiler-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const U8=Symbol(""),H8=Symbol(""),V8=Symbol(""),q8=Symbol(""),cv=Symbol(""),j8=Symbol(""),z8=Symbol(""),W8=Symbol(""),G8=Symbol(""),K8=Symbol("");A6({[U8]:"vModelRadio",[H8]:"vModelCheckbox",[V8]:"vModelText",[q8]:"vModelSelect",[cv]:"vModelDynamic",[j8]:"withModifiers",[z8]:"withKeys",[W8]:"vShow",[G8]:"Transition",[K8]:"TransitionGroup"});let mo;function YM(e,t=!1){return mo||(mo=document.createElement("div")),t?(mo.innerHTML=`
`,mo.children[0].getAttribute("foo")):(mo.innerHTML=e,mo.textContent)}const JM={parseMode:"html",isVoidTag:cO,isNativeTag:e=>oO(e)||uO(e)||lO(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:YM,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return G8;if(e==="TransitionGroup"||e==="transition-group")return K8},getNamespace(e,t,r){let n=t?t.ns:r;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},QM=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:Ze("style",!0,t.loc),exp:XM(t.value.content,t.loc),modifiers:[],loc:t.loc})})},XM=(e,t)=>{const r=g2(e);return Ze(JSON.stringify(r),!1,t,3)};function Ri(e,t){return Ft(e,t)}const ex=(e,t,r)=>{const{exp:n,loc:s}=e;return n||r.onError(Ri(53,s)),t.children.length&&(r.onError(Ri(54,s)),t.children.length=0),{props:[Yt(Ze("innerHTML",!0,s),n||Ze("",!0))]}},tx=(e,t,r)=>{const{exp:n,loc:s}=e;return n||r.onError(Ri(55,s)),t.children.length&&(r.onError(Ri(56,s)),t.children.length=0),{props:[Yt(Ze("textContent",!0),n?nn(n,r)>0?n:ir(r.helperString(om),[n],s):Ze("",!0))]}},rx=(e,t,r)=>{const n=B8(e,t,r);if(!n.props.length||t.tagType===1)return n;e.arg&&r.onError(Ri(58,e.arg.loc));const{tag:s}=t,i=r.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||i){let a=V8,o=!1;if(s==="input"||i){const u=um(t,"type");if(u){if(u.type===7)a=cv;else if(u.value)switch(u.value.content){case"radio":a=U8;break;case"checkbox":a=H8;break;case"file":o=!0,r.onError(Ri(59,e.loc));break}}else F6(t)&&(a=cv)}else s==="select"&&(a=q8);o||(n.needRuntime=r.helper(a))}else r.onError(Ri(57,e.loc));return n.props=n.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),n},nx=fn("passive,once,capture"),sx=fn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ix=fn("left,right"),Z8=fn("onkeyup,onkeydown,onkeypress"),ax=(e,t,r,n)=>{const s=[],i=[],a=[];for(let o=0;oZr(e)&&e.content.toLowerCase()==="onclick"?Ze(t,!0):e.type!==4?Gn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,ox=(e,t,r)=>F8(e,t,r,n=>{const{modifiers:s}=e;if(!s.length)return n;let{key:i,value:a}=n.props[0];const{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:l}=ax(i,s,r,e.loc);if(u.includes("right")&&(i=Q1(i,"onContextmenu")),u.includes("middle")&&(i=Q1(i,"onMouseup")),u.length&&(a=ir(r.helper(j8),[a,JSON.stringify(u)])),o.length&&(!Zr(i)||Z8(i.content.toLowerCase()))&&(a=ir(r.helper(z8),[a,JSON.stringify(o)])),l.length){const c=l.map(Ja).join("");i=Zr(i)?Ze(`${i.content}${c}`,!0):Gn(["(",i,`) + "${c}"`])}return{props:[Yt(i,a)]}}),ux=(e,t,r)=>{const{exp:n,loc:s}=e;return n||r.onError(Ri(61,s)),{props:[],needRuntime:r.helper(W8)}},lx=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},cx=[QM],dx={cloak:ZM,html:ex,text:tx,model:rx,on:ox,show:ux};function fx(e,t={}){return KM(e,ot({},JM,t,{nodeTransforms:[lx,...cx,...t.nodeTransforms||[]],directiveTransforms:ot({},dx,t.directiveTransforms||{}),transformHoist:null}))}/** * vue v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const X1=Object.create(null);function px(e,t){if(!We(e))if(e.nodeType)e=e.innerHTML;else return vr;const r=Y4(e,t),n=X1[r];if(n)return n;if(e[0]==="#"){const o=document.querySelector(e);e=o?o.innerHTML:""}const s=ot({hoistStatic:!0,onError:void 0,onWarn:vr},t);!s.isCustomElement&&typeof customElements<"u"&&(s.isCustomElement=o=>!!customElements.get(o));const{code:i}=fx(e,s),a=new Function("Vue",i)(y6);return a._rc=!0,X1[r]=a}FE(px);/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT */let Y8;const dm=e=>Y8=e,J8=Symbol();function dv(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var hl;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(hl||(hl={}));function qoe(){const e=jh(!0),t=e.run(()=>G({}));let r=[],n=[];const s=Yh({install(i){dm(s),s._a=i,i.provide(J8,s),i.config.globalProperties.$pinia=s,n.forEach(a=>r.push(a)),n=[]},use(i){return this._a?r.push(i):n.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return s}const Q8=()=>{};function eb(e,t,r,n=Q8){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&yc()&&$u(s),s}function go(e,...t){e.slice().forEach(r=>{r(...t)})}const hx=e=>e();function fv(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],s=e[r];dv(s)&&dv(n)&&e.hasOwnProperty(r)&&!yt(n)&&!Wn(n)?e[r]=fv(s,n):e[r]=n}return e}const mx=Symbol();function gx(e){return!dv(e)||!e.hasOwnProperty(mx)}const{assign:hi}=Object;function vx(e){return!!(yt(e)&&e.effect)}function _x(e,t,r,n){const{state:s,actions:i,getters:a}=t,o=r.state.value[e];let u;function l(){o||(r.state.value[e]=s?s():{});const c=Es(r.state.value[e]);return hi(c,i,Object.keys(a||{}).reduce((d,p)=>(d[p]=Yh(se(()=>{dm(r);const g=r._s.get(e);return a[p].call(g,g)})),d),{}))}return u=X8(e,l,t,r,n,!0),u}function X8(e,t,r={},n,s,i){let a;const o=hi({actions:{}},r),u={deep:!0};let l,c,d=[],p=[],g;const v=n.state.value[e];!i&&!v&&(n.state.value[e]={}),G({});let _;function w(E){let C;l=c=!1,typeof E=="function"?(E(n.state.value[e]),C={type:hl.patchFunction,storeId:e,events:g}):(fv(n.state.value[e],E),C={type:hl.patchObject,payload:E,storeId:e,events:g});const A=_=Symbol();pr().then(()=>{_===A&&(l=!0)}),c=!0,go(d,C,n.state.value[e])}const S=i?function(){const{state:C}=r,A=C?C():{};this.$patch(T=>{hi(T,A)})}:Q8;function b(){a.stop(),d=[],p=[],n._s.delete(e)}function y(E,C){return function(){dm(n);const A=Array.from(arguments),T=[],x=[];function O(I){T.push(I)}function H(I){x.push(I)}go(p,{args:A,name:E,store:h,after:O,onError:H});let j;try{j=C.apply(this&&this.$id===e?this:h,A)}catch(I){throw go(x,I),I}return j instanceof Promise?j.then(I=>(go(T,I),I)).catch(I=>(go(x,I),Promise.reject(I))):(go(T,j),j)}}const f={_p:n,$id:e,$onAction:eb.bind(null,p),$patch:w,$reset:S,$subscribe(E,C={}){const A=eb(d,E,C.detached,()=>T()),T=a.run(()=>Se(()=>n.state.value[e],x=>{(C.flush==="sync"?c:l)&&E({storeId:e,type:hl.direct,events:g},x)},hi({},u,C)));return A},$dispose:b},h=Wi(f);n._s.set(e,h);const k=(n._a&&n._a.runWithContext||hx)(()=>n._e.run(()=>(a=jh()).run(t)));for(const E in k){const C=k[E];if(yt(C)&&!vx(C)||Wn(C))i||(v&&gx(C)&&(yt(C)?C.value=v[E]:fv(C,v[E])),n.state.value[e][E]=C);else if(typeof C=="function"){const A=y(E,C);k[E]=A,o.actions[E]=C}}return hi(h,k),hi(Qe(h),k),Object.defineProperty(h,"$state",{get:()=>n.state.value[e],set:E=>{w(C=>{hi(C,E)})}}),n._p.forEach(E=>{hi(h,a.run(()=>E({store:h,app:n._a,pinia:n,options:o})))}),v&&i&&r.hydrate&&r.hydrate(h.$state,v),l=!0,c=!0,h}function Xa(e,t,r){let n,s;const i=typeof t=="function";typeof e=="string"?(n=e,s=i?r:t):(s=e,n=e.id);function a(o,u){const l=W_();return o=o||(l?it(J8,null):null),o&&dm(o),o=Y8,o._s.has(n)||(i?X8(n,t,s,o):_x(n,s,o)),o._s.get(n)}return a.$id=n,a}function Ne(e){{e=Qe(e);const t={};for(const r in e){const n=e[r];(yt(n)||Wn(n))&&(t[r]=x_(e,r))}return t}}const yx=Symbol();var fm=(e=>(e.Polite="polite",e.Assertive="assertive",e.Off="off",e))(fm||{});const bx=pe({name:"PuikIcon",__name:"icon",props:{icon:{type:String},nodeType:{default:"div",type:String},fontSize:{default:"1rem",type:[String,Number]},color:{default:"#00000",type:String},fill:{default:1,type:Number},isDisabled:{type:Boolean},dataTest:{type:String},ariaLabel:{type:String}},setup(e){const t=e,r=se(()=>Number.isNaN(Number(t.fontSize))?t.fontSize:`${t.fontSize}px`),n=se(()=>({fontSize:r.value,color:t.color,"font-variation-settings":`'FILL' ${t.fill}`})),s=se(()=>t.ariaLabel||`${t.icon} icon`);return(i,a)=>(P(),re(Gi(i.nodeType),er({class:["puik-icon",{"puik-icon--disabled":i.isDisabled}],style:n.value,"aria-label":s.value,role:"img"},i.dataTest?{"data-test":i.dataTest}:{}),{default:V(()=>[X(D(i.icon),1)]),_:1},16,["style","class","aria-label"]))}}),pt=bx,ng=e=>typeof e=="number";function _y(e,t={}){return e?e(t).some(r=>r.type===Zt||Array.isArray(r.children)&&!r.children.length?!1:r.type!==Text||typeof r.children=="string"&&r.children.trim()!==""):!1}const Sx={class:"puik-input__controls"},wx=["disabled","aria-label"],kx=["disabled","aria-label"],Ex=pe({name:"PuikInputControls",__name:"controls",props:{disabled:{type:Boolean}},emits:["increase","decrease"],setup(e){const{t}=en();return(r,n)=>(P(),W("div",Sx,[$("button",{type:"button",class:"puik-input__controls__increment",disabled:r.disabled,"aria-label":N(t)("puik.input.increase"),onClick:n[0]||(n[0]=s=>r.$emit("increase"))},n[2]||(n[2]=[$("span",{class:"puik-input__controls__increment__icon"},"arrow_drop_up",-1)]),8,wx),$("button",{type:"button",class:"puik-input__controls__decrement",disabled:r.disabled,"aria-label":N(t)("puik.input.decrease"),onClick:n[1]||(n[1]=s=>r.$emit("decrease"))},n[3]||(n[3]=[$("span",{class:"puik-input__controls__decrement__icon"},"arrow_drop_down",-1)]),8,kx)]))}});var ml=(e=>(e.Text="text",e.Password="password",e.Email="email",e.Number="number",e.Search="search",e.Url="url",e.Phone="tel",e))(ml||{});const Ax=["data-test"],Cx=["for"],Tx={key:0,class:"puik-input__prepend"},Ix=["placeholder","disabled","type","required","autocomplete","name","min","max","minlength","maxlength","step","data-test","aria-label","aria-live"],Px=["aria-pressed","onKeydown"],Ox={key:2,class:"puik-input__append"},Rx={key:1,class:"puik-input__hint"},$x={key:0,class:"puik-input__hint__text"},Mx={key:1,class:"puik-input__hint__error",role:"alert"},xx=["data-test"],Nx=pe({name:"PuikInput",__name:"input",props:{modelValue:{type:[String,Number]},type:{default:ml.Text,type:null},id:{type:String},srLabel:{type:String},placeholder:{type:String},disabled:{type:Boolean},name:{type:String},autocomplete:{type:String},step:{default:1,type:Number},precision:{type:Number},min:{default:Number.NEGATIVE_INFINITY,type:Number},max:{default:Number.POSITIVE_INFINITY,type:Number},minLength:{type:Number},maxLength:{type:Number},required:{type:Boolean},error:{type:String},success:{type:Boolean},hideHint:{type:Boolean},dataTest:{type:String},ariaLabel:{type:String},ariaLive:{default:fm.Polite,type:null}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,s=Ec(),i=G(!1),a=G(!1),o=()=>i.value=!0,u=()=>i.value=!1,l=()=>a.value=!a.value,c=se({get(){return ng(r.modelValue)?parseFloat(r.modelValue.toFixed(r.precision)):r.modelValue},set(w){n("update:modelValue",w)}}),d=()=>{ng(c.value)&&c.value{ng(c.value)&&c.value>r.min&&(c.value-=r.step)},g=se(()=>r.error||_y(s.error)),v=se(()=>{var w;return((w=c.value)==null?void 0:w.toString().length)||0}),_=se(()=>({"puik-input__wrapper--focus":i.value,"puik-input__wrapper--disabled":r.disabled,"puik-input__wrapper--success":r.success,"puik-input__wrapper--error":g.value}));return(w,S)=>(P(),W("div",{class:"puik-input","data-test":w.dataTest},[w.srLabel&&w.id?(P(),W("label",{key:0,for:w.id,class:"puik-sr-only"},D(w.srLabel),9,Cx)):le("",!0),$("div",{class:ze(["puik-input__wrapper",_.value])},[w.$slots.prepend?(P(),W("div",Tx,[st(w.$slots,"prepend")])):le("",!0),In($("input",er({...w.id?{id:w.id}:{},...w.$attrs},{"onUpdate:modelValue":S[0]||(S[0]=b=>c.value=b),class:"puik-input__field",placeholder:w.placeholder,disabled:w.disabled,type:a.value?"text":w.type,required:w.required,autocomplete:w.autocomplete,name:w.name,min:w.type==="number"?w.min:void 0,max:w.type==="number"?w.max:void 0,minlength:w.minLength,maxlength:w.maxLength,step:w.type==="number"?w.step:void 0,"data-test":w.dataTest!=null?`input-${w.dataTest}`:void 0,"aria-label":w.ariaLabel?w.ariaLabel:w.srLabel?w.srLabel:"undefined","aria-live":w.ariaLive,onFocus:o,onBlur:u}),null,16,Ix),[[J_,c.value]]),w.type==="password"?(P(),W("span",{key:1,class:"puik-input__reveal-password",role:"button","aria-pressed":a.value?"true":"false",tabindex:"0",onClick:l,onKeydown:[Ot(l,["enter"]),Ot(ft(l,["prevent"]),["space"])]},D(a.value?"visibility":"visibility_off"),41,Px)):w.$slots.append?(P(),W("div",Ox,[st(w.$slots,"append")])):le("",!0),w.type==="number"?(P(),re(Ex,{key:3,disabled:w.disabled,onIncrease:d,onDecrease:p},null,8,["disabled"])):le("",!0)],2),w.$slots.hint||g.value?(P(),W("div",Rx,[w.$slots.hint&&!g.value?In((P(),W("span",$x,[st(w.$slots,"hint")],512)),[[Ki,!w.hideHint]]):le("",!0),g.value?(P(),W("div",Mx,[F(N(pt),{icon:"error",class:"puik-input__hint__error__icon","font-size":"1.25rem"}),$("span",{class:"puik-input__hint__error__text","data-test":w.dataTest!=null?`error-${w.dataTest}`:void 0},[st(w.$slots,"error",{},()=>[X(D(w.error),1)])],8,xx)])):le("",!0)])):le("",!0),r.maxLength?(P(),W("div",{key:2,class:ze(["puik-input__character-count",{"puik-input__character-count--error":v.value>(r.maxLength??0)}])},[$("span",null,D(v.value)+"/"+D(w.maxLength),1)],2)):le("",!0)],8,Ax))}}),eo=()=>Math.floor(Math.random()*1e4);var eA=(e=>(e.Success="success",e.Warning="warning",e.Danger="danger",e.Info="info",e))(eA||{});const Dx={success:"check_circle",warning:"warning",danger:"error",info:"info"},Lx=["aria-live","data-test"],Fx={class:"puik-alert__container"},Bx={class:"puik-alert__content"},Ux={class:"puik-alert__text"},Hx=["id","data-test"],Vx=["id","data-test"],qx=pe({name:"PuikAlert",__name:"alert",props:{title:{type:String},description:{type:String},variant:{default:eA.Success,type:null},isClosable:{type:Boolean},disableBorders:{type:Boolean},buttonLabel:{type:String},linkLabel:{type:String},buttonWrapLabel:{type:Boolean},leftIconBtn:{type:String},rightIconBtn:{type:String},leftIconLink:{type:String},rightIconLink:{type:String},internalLink:{type:String},externalLink:{type:String},ariaLive:{default:fm.Polite,type:null},ariaLabelBtn:{type:String},ariaLabelLink:{type:String},dataTest:{type:String}},emits:["click","clickLink","close"],setup(e,{emit:t}){const r=e,n=t,s=`${eo()}`,i=se(()=>Dx[r.variant]),a=l=>n("click",l),o=l=>n("close",l),u=l=>n("clickLink",l);return(l,c)=>(P(),W("div",er({class:["puik-alert",[`puik-alert--${l.variant}`,{"puik-alert--no-borders":l.disableBorders}]],role:"alert"},{...l.title&&l.title.trim()&&{"aria-labelledby":`title-${s}`},...(l.$slots.default||l.description&&l.description.trim())&&{"aria-describedby":`description-${s}`}},{"aria-live":l.ariaLive,"data-test":l.dataTest,tabindex:"0"}),[$("div",Fx,[$("div",Bx,[F(N(pt),{icon:i.value,"font-size":"1.25rem",class:"puik-alert__icon"},null,8,["icon"]),$("div",Ux,[l.title?(P(),W("h4",{key:0,id:`title-${s}`,class:"puik-alert__title","data-test":l.dataTest!=null?`title-${l.dataTest}`:void 0},D(l.title),9,Hx)):le("",!0),l.$slots.default||l.description?(P(),W("p",{key:1,id:`description-${s}`,class:"puik-alert__description","data-test":l.dataTest!=null?`description-${l.dataTest}`:void 0},[st(l.$slots,"default",{},()=>[X(D(l.description),1)])],8,Vx)):le("",!0)])]),l.linkLabel?(P(),re(N(Xe),er({key:0},{...l.leftIconLink?{"left-icon":l.leftIconLink}:{},...l.rightIconLink?{"right-icon":l.rightIconLink}:{},...l.internalLink?{to:l.internalLink}:{},...l.externalLink?{href:l.externalLink}:{},...l.ariaLabelLink?{"aria-label":l.ariaLabelLink}:{}},{class:"puik-alert__link","data-test":l.dataTest!=null?`link-${l.dataTest}`:void 0,tabindex:"0",variant:"text","wrap-label":l.buttonWrapLabel,onClick:u}),{default:V(()=>[X(D(l.linkLabel),1)]),_:1},16,["data-test","wrap-label"])):le("",!0),l.buttonLabel?(P(),re(N(Xe),er({key:1},{...l.leftIconBtn?{"left-icon":l.leftIconBtn}:{},...l.rightIconBtn?{"right-icon":l.rightIconBtn}:{},...l.ariaLabelBtn?{"aria-label":l.ariaLabelBtn}:{}},{variant:l.variant,"wrap-label":l.buttonWrapLabel,class:"puik-alert__button","data-test":l.dataTest!=null?`button-${l.dataTest}`:void 0,onClick:a}),{default:V(()=>[X(D(l.buttonLabel),1)]),_:1},16,["variant","wrap-label","data-test"])):le("",!0)]),l.isClosable?(P(),re(N(pt),{key:0,icon:"close","font-size":"1.5rem",class:"puik-alert__close","data-test":l.dataTest!=null?`close-${l.dataTest}`:void 0,onClick:o},null,8,["data-test"])):le("",!0)],16,Lx))}});var Yr="top",Pn="bottom",On="right",Jr="left",yy="auto",Rc=[Yr,Pn,On,Jr],hu="start",ql="end",jx="clippingParents",tA="viewport",qu="popper",zx="reference",tb=Rc.reduce(function(e,t){return e.concat([t+"-"+hu,t+"-"+ql])},[]),rA=[].concat(Rc,[yy]).reduce(function(e,t){return e.concat([t,t+"-"+hu,t+"-"+ql])},[]),Wx="beforeRead",Gx="read",Kx="afterRead",Zx="beforeMain",Yx="main",Jx="afterMain",Qx="beforeWrite",Xx="write",e9="afterWrite",t9=[Wx,Gx,Kx,Zx,Yx,Jx,Qx,Xx,e9];function _s(e){return e?(e.nodeName||"").toLowerCase():null}function cn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fa(e){var t=cn(e).Element;return e instanceof t||e instanceof Element}function An(e){var t=cn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function by(e){if(typeof ShadowRoot>"u")return!1;var t=cn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function r9(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},s=t.attributes[r]||{},i=t.elements[r];!An(i)||!_s(i)||(Object.assign(i.style,n),Object.keys(s).forEach(function(a){var o=s[a];o===!1?i.removeAttribute(a):i.setAttribute(a,o===!0?"":o)}))})}function n9(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var s=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),o=a.reduce(function(u,l){return u[l]="",u},{});!An(s)||!_s(s)||(Object.assign(s.style,o),Object.keys(i).forEach(function(u){s.removeAttribute(u)}))})}}const s9={name:"applyStyles",enabled:!0,phase:"write",fn:r9,effect:n9,requires:["computeStyles"]};function ms(e){return e.split("-")[0]}var Ra=Math.max,ih=Math.min,mu=Math.round;function pv(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function nA(){return!/^((?!chrome|android).)*safari/i.test(pv())}function gu(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),s=1,i=1;t&&An(e)&&(s=e.offsetWidth>0&&mu(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&mu(n.height)/e.offsetHeight||1);var a=Fa(e)?cn(e):window,o=a.visualViewport,u=!nA()&&r,l=(n.left+(u&&o?o.offsetLeft:0))/s,c=(n.top+(u&&o?o.offsetTop:0))/i,d=n.width/s,p=n.height/i;return{width:d,height:p,top:c,right:l+d,bottom:c+p,left:l,x:l,y:c}}function Sy(e){var t=gu(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function sA(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&by(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Js(e){return cn(e).getComputedStyle(e)}function i9(e){return["table","td","th"].indexOf(_s(e))>=0}function Zi(e){return((Fa(e)?e.ownerDocument:e.document)||window.document).documentElement}function pm(e){return _s(e)==="html"?e:e.assignedSlot||e.parentNode||(by(e)?e.host:null)||Zi(e)}function rb(e){return!An(e)||Js(e).position==="fixed"?null:e.offsetParent}function a9(e){var t=/firefox/i.test(pv()),r=/Trident/i.test(pv());if(r&&An(e)){var n=Js(e);if(n.position==="fixed")return null}var s=pm(e);for(by(s)&&(s=s.host);An(s)&&["html","body"].indexOf(_s(s))<0;){var i=Js(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function $c(e){for(var t=cn(e),r=rb(e);r&&i9(r)&&Js(r).position==="static";)r=rb(r);return r&&(_s(r)==="html"||_s(r)==="body"&&Js(r).position==="static")?t:r||a9(e)||t}function wy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gl(e,t,r){return Ra(e,ih(t,r))}function o9(e,t,r){var n=gl(e,t,r);return n>r?r:n}function iA(){return{top:0,right:0,bottom:0,left:0}}function aA(e){return Object.assign({},iA(),e)}function oA(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var u9=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,aA(typeof t!="number"?t:oA(t,Rc))};function l9(e){var t,r=e.state,n=e.name,s=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,o=ms(r.placement),u=wy(o),l=[Jr,On].indexOf(o)>=0,c=l?"height":"width";if(!(!i||!a)){var d=u9(s.padding,r),p=Sy(i),g=u==="y"?Yr:Jr,v=u==="y"?Pn:On,_=r.rects.reference[c]+r.rects.reference[u]-a[u]-r.rects.popper[c],w=a[u]-r.rects.reference[u],S=$c(i),b=S?u==="y"?S.clientHeight||0:S.clientWidth||0:0,y=_/2-w/2,f=d[g],h=b-p[c]-d[v],m=b/2-p[c]/2+y,k=gl(f,m,h),E=u;r.modifiersData[n]=(t={},t[E]=k,t.centerOffset=k-m,t)}}function c9(e){var t=e.state,r=e.options,n=r.element,s=n===void 0?"[data-popper-arrow]":n;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||sA(t.elements.popper,s)&&(t.elements.arrow=s))}const d9={name:"arrow",enabled:!0,phase:"main",fn:l9,effect:c9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vu(e){return e.split("-")[1]}var f9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p9(e,t){var r=e.x,n=e.y,s=t.devicePixelRatio||1;return{x:mu(r*s)/s||0,y:mu(n*s)/s||0}}function nb(e){var t,r=e.popper,n=e.popperRect,s=e.placement,i=e.variation,a=e.offsets,o=e.position,u=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=a.x,g=p===void 0?0:p,v=a.y,_=v===void 0?0:v,w=typeof c=="function"?c({x:g,y:_}):{x:g,y:_};g=w.x,_=w.y;var S=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Jr,f=Yr,h=window;if(l){var m=$c(r),k="clientHeight",E="clientWidth";if(m===cn(r)&&(m=Zi(r),Js(m).position!=="static"&&o==="absolute"&&(k="scrollHeight",E="scrollWidth")),m=m,s===Yr||(s===Jr||s===On)&&i===ql){f=Pn;var C=d&&m===h&&h.visualViewport?h.visualViewport.height:m[k];_-=C-n.height,_*=u?1:-1}if(s===Jr||(s===Yr||s===Pn)&&i===ql){y=On;var A=d&&m===h&&h.visualViewport?h.visualViewport.width:m[E];g-=A-n.width,g*=u?1:-1}}var T=Object.assign({position:o},l&&f9),x=c===!0?p9({x:g,y:_},cn(r)):{x:g,y:_};if(g=x.x,_=x.y,u){var O;return Object.assign({},T,(O={},O[f]=b?"0":"",O[y]=S?"0":"",O.transform=(h.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",O))}return Object.assign({},T,(t={},t[f]=b?_+"px":"",t[y]=S?g+"px":"",t.transform="",t))}function h9(e){var t=e.state,r=e.options,n=r.gpuAcceleration,s=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,o=r.roundOffsets,u=o===void 0?!0:o,l={placement:ms(t.placement),variation:vu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,nb(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,nb(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const m9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:h9,data:{}};var sd={passive:!0};function g9(e){var t=e.state,r=e.instance,n=e.options,s=n.scroll,i=s===void 0?!0:s,a=n.resize,o=a===void 0?!0:a,u=cn(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(c){c.addEventListener("scroll",r.update,sd)}),o&&u.addEventListener("resize",r.update,sd),function(){i&&l.forEach(function(c){c.removeEventListener("scroll",r.update,sd)}),o&&u.removeEventListener("resize",r.update,sd)}}const v9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:g9,data:{}};var _9={left:"right",right:"left",bottom:"top",top:"bottom"};function Ap(e){return e.replace(/left|right|bottom|top/g,function(t){return _9[t]})}var y9={start:"end",end:"start"};function sb(e){return e.replace(/start|end/g,function(t){return y9[t]})}function ky(e){var t=cn(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Ey(e){return gu(Zi(e)).left+ky(e).scrollLeft}function b9(e,t){var r=cn(e),n=Zi(e),s=r.visualViewport,i=n.clientWidth,a=n.clientHeight,o=0,u=0;if(s){i=s.width,a=s.height;var l=nA();(l||!l&&t==="fixed")&&(o=s.offsetLeft,u=s.offsetTop)}return{width:i,height:a,x:o+Ey(e),y:u}}function S9(e){var t,r=Zi(e),n=ky(e),s=(t=e.ownerDocument)==null?void 0:t.body,i=Ra(r.scrollWidth,r.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=Ra(r.scrollHeight,r.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),o=-n.scrollLeft+Ey(e),u=-n.scrollTop;return Js(s||r).direction==="rtl"&&(o+=Ra(r.clientWidth,s?s.clientWidth:0)-i),{width:i,height:a,x:o,y:u}}function Ay(e){var t=Js(e),r=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+s+n)}function uA(e){return["html","body","#document"].indexOf(_s(e))>=0?e.ownerDocument.body:An(e)&&Ay(e)?e:uA(pm(e))}function vl(e,t){var r;t===void 0&&(t=[]);var n=uA(e),s=n===((r=e.ownerDocument)==null?void 0:r.body),i=cn(n),a=s?[i].concat(i.visualViewport||[],Ay(n)?n:[]):n,o=t.concat(a);return s?o:o.concat(vl(pm(a)))}function hv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function w9(e,t){var r=gu(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function ib(e,t,r){return t===tA?hv(b9(e,r)):Fa(t)?w9(t,r):hv(S9(Zi(e)))}function k9(e){var t=vl(pm(e)),r=["absolute","fixed"].indexOf(Js(e).position)>=0,n=r&&An(e)?$c(e):e;return Fa(n)?t.filter(function(s){return Fa(s)&&sA(s,n)&&_s(s)!=="body"}):[]}function E9(e,t,r,n){var s=t==="clippingParents"?k9(e):[].concat(t),i=[].concat(s,[r]),a=i[0],o=i.reduce(function(u,l){var c=ib(e,l,n);return u.top=Ra(c.top,u.top),u.right=ih(c.right,u.right),u.bottom=ih(c.bottom,u.bottom),u.left=Ra(c.left,u.left),u},ib(e,a,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function lA(e){var t=e.reference,r=e.element,n=e.placement,s=n?ms(n):null,i=n?vu(n):null,a=t.x+t.width/2-r.width/2,o=t.y+t.height/2-r.height/2,u;switch(s){case Yr:u={x:a,y:t.y-r.height};break;case Pn:u={x:a,y:t.y+t.height};break;case On:u={x:t.x+t.width,y:o};break;case Jr:u={x:t.x-r.width,y:o};break;default:u={x:t.x,y:t.y}}var l=s?wy(s):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case hu:u[l]=u[l]-(t[c]/2-r[c]/2);break;case ql:u[l]=u[l]+(t[c]/2-r[c]/2);break}}return u}function jl(e,t){t===void 0&&(t={});var r=t,n=r.placement,s=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,o=r.boundary,u=o===void 0?jx:o,l=r.rootBoundary,c=l===void 0?tA:l,d=r.elementContext,p=d===void 0?qu:d,g=r.altBoundary,v=g===void 0?!1:g,_=r.padding,w=_===void 0?0:_,S=aA(typeof w!="number"?w:oA(w,Rc)),b=p===qu?zx:qu,y=e.rects.popper,f=e.elements[v?b:p],h=E9(Fa(f)?f:f.contextElement||Zi(e.elements.popper),u,c,a),m=gu(e.elements.reference),k=lA({reference:m,element:y,placement:s}),E=hv(Object.assign({},y,k)),C=p===qu?E:m,A={top:h.top-C.top+S.top,bottom:C.bottom-h.bottom+S.bottom,left:h.left-C.left+S.left,right:C.right-h.right+S.right},T=e.modifiersData.offset;if(p===qu&&T){var x=T[s];Object.keys(A).forEach(function(O){var H=[On,Pn].indexOf(O)>=0?1:-1,j=[Yr,Pn].indexOf(O)>=0?"y":"x";A[O]+=x[j]*H})}return A}function A9(e,t){t===void 0&&(t={});var r=t,n=r.placement,s=r.boundary,i=r.rootBoundary,a=r.padding,o=r.flipVariations,u=r.allowedAutoPlacements,l=u===void 0?rA:u,c=vu(n),d=c?o?tb:tb.filter(function(v){return vu(v)===c}):Rc,p=d.filter(function(v){return l.indexOf(v)>=0});p.length===0&&(p=d);var g=p.reduce(function(v,_){return v[_]=jl(e,{placement:_,boundary:s,rootBoundary:i,padding:a})[ms(_)],v},{});return Object.keys(g).sort(function(v,_){return g[v]-g[_]})}function C9(e){if(ms(e)===yy)return[];var t=Ap(e);return[sb(e),t,sb(t)]}function T9(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=r.mainAxis,i=s===void 0?!0:s,a=r.altAxis,o=a===void 0?!0:a,u=r.fallbackPlacements,l=r.padding,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,g=r.flipVariations,v=g===void 0?!0:g,_=r.allowedAutoPlacements,w=t.options.placement,S=ms(w),b=S===w,y=u||(b||!v?[Ap(w)]:C9(w)),f=[w].concat(y).reduce(function(Te,$e){return Te.concat(ms($e)===yy?A9(t,{placement:$e,boundary:c,rootBoundary:d,padding:l,flipVariations:v,allowedAutoPlacements:_}):$e)},[]),h=t.rects.reference,m=t.rects.popper,k=new Map,E=!0,C=f[0],A=0;A=0,j=H?"width":"height",I=jl(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:p,padding:l}),J=H?O?On:Jr:O?Pn:Yr;h[j]>m[j]&&(J=Ap(J));var z=Ap(J),de=[];if(i&&de.push(I[x]<=0),o&&de.push(I[J]<=0,I[z]<=0),de.every(function(Te){return Te})){C=T,E=!1;break}k.set(T,de)}if(E)for(var q=v?3:1,ie=function($e){var He=f.find(function(oe){var fe=k.get(oe);if(fe)return fe.slice(0,$e).every(function(ge){return ge})});if(He)return C=He,"break"},ne=q;ne>0;ne--){var ye=ie(ne);if(ye==="break")break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}}const I9={name:"flip",enabled:!0,phase:"main",fn:T9,requiresIfExists:["offset"],data:{_skip:!1}};function ab(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ob(e){return[Yr,On,Pn,Jr].some(function(t){return e[t]>=0})}function P9(e){var t=e.state,r=e.name,n=t.rects.reference,s=t.rects.popper,i=t.modifiersData.preventOverflow,a=jl(t,{elementContext:"reference"}),o=jl(t,{altBoundary:!0}),u=ab(a,n),l=ab(o,s,i),c=ob(u),d=ob(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const O9={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:P9};function R9(e,t,r){var n=ms(e),s=[Jr,Yr].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],o=i[1];return a=a||0,o=(o||0)*s,[Jr,On].indexOf(n)>=0?{x:o,y:a}:{x:a,y:o}}function $9(e){var t=e.state,r=e.options,n=e.name,s=r.offset,i=s===void 0?[0,0]:s,a=rA.reduce(function(c,d){return c[d]=R9(d,t.rects,i),c},{}),o=a[t.placement],u=o.x,l=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}const M9={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$9};function x9(e){var t=e.state,r=e.name;t.modifiersData[r]=lA({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const N9={name:"popperOffsets",enabled:!0,phase:"read",fn:x9,data:{}};function D9(e){return e==="x"?"y":"x"}function L9(e){var t=e.state,r=e.options,n=e.name,s=r.mainAxis,i=s===void 0?!0:s,a=r.altAxis,o=a===void 0?!1:a,u=r.boundary,l=r.rootBoundary,c=r.altBoundary,d=r.padding,p=r.tether,g=p===void 0?!0:p,v=r.tetherOffset,_=v===void 0?0:v,w=jl(t,{boundary:u,rootBoundary:l,padding:d,altBoundary:c}),S=ms(t.placement),b=vu(t.placement),y=!b,f=wy(S),h=D9(f),m=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,C=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,A=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(m){if(i){var O,H=f==="y"?Yr:Jr,j=f==="y"?Pn:On,I=f==="y"?"height":"width",J=m[f],z=J+w[H],de=J-w[j],q=g?-E[I]/2:0,ie=b===hu?k[I]:E[I],ne=b===hu?-E[I]:-k[I],ye=t.elements.arrow,Te=g&&ye?Sy(ye):{width:0,height:0},$e=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:iA(),He=$e[H],oe=$e[j],fe=gl(0,k[I],Te[I]),ge=y?k[I]/2-q-fe-He-A.mainAxis:ie-fe-He-A.mainAxis,Ee=y?-k[I]/2+q+fe+oe+A.mainAxis:ne+fe+oe+A.mainAxis,Fe=t.elements.arrow&&$c(t.elements.arrow),je=Fe?f==="y"?Fe.clientTop||0:Fe.clientLeft||0:0,L=(O=T?.[f])!=null?O:0,B=J+ge-L-je,ee=J+Ee-L,R=gl(g?ih(z,B):z,J,g?Ra(de,ee):de);m[f]=R,x[f]=R-J}if(o){var M,U=f==="x"?Yr:Jr,K=f==="x"?Pn:On,Q=m[h],Y=h==="y"?"height":"width",te=Q+w[U],ce=Q-w[K],ue=[Yr,Jr].indexOf(S)!==-1,Z=(M=T?.[h])!=null?M:0,ae=ue?te:Q-k[Y]-E[Y]-Z+A.altAxis,we=ue?Q+k[Y]+E[Y]-Z-A.altAxis:ce,Oe=g&&ue?o9(ae,Q,we):gl(g?ae:te,Q,g?we:ce);m[h]=Oe,x[h]=Oe-Q}t.modifiersData[n]=x}}const F9={name:"preventOverflow",enabled:!0,phase:"main",fn:L9,requiresIfExists:["offset"]};function B9(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function U9(e){return e===cn(e)||!An(e)?ky(e):B9(e)}function H9(e){var t=e.getBoundingClientRect(),r=mu(t.width)/e.offsetWidth||1,n=mu(t.height)/e.offsetHeight||1;return r!==1||n!==1}function V9(e,t,r){r===void 0&&(r=!1);var n=An(t),s=An(t)&&H9(t),i=Zi(t),a=gu(e,s,r),o={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((_s(t)!=="body"||Ay(i))&&(o=U9(t)),An(t)?(u=gu(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Ey(i))),{x:a.left+o.scrollLeft-u.x,y:a.top+o.scrollTop-u.y,width:a.width,height:a.height}}function q9(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function s(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(o){if(!r.has(o)){var u=t.get(o);u&&s(u)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||s(i)}),n}function j9(e){var t=q9(e);return t9.reduce(function(r,n){return r.concat(t.filter(function(s){return s.phase===n}))},[])}function z9(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function W9(e){var t=e.reduce(function(r,n){var s=r[n.name];return r[n.name]=s?Object.assign({},s,n,{options:Object.assign({},s.options,n.options),data:Object.assign({},s.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var ub={placement:"bottom",modifiers:[],strategy:"absolute"};function lb(){for(var e=arguments.length,t=new Array(e),r=0;r(e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e))(Cy||{});const Y9=["data-test"],J9=["aria-expanded","data-test"],Q9=["aria-hidden","data-test"],X9={class:"puik-tooltip__tip__content"},e5=["data-test"],t5=["data-test"],r5=pe({name:"PuikTooltip",__name:"tooltip",props:{heading:{type:String},description:{type:String},position:{default:Cy.Bottom,type:null},isDisabled:{type:Boolean},maxWidth:{type:String},zindex:{default:1e3,type:Number},disappearDelay:{default:50,type:Number},dataTest:{default:"tooltip",type:String}},setup(e){const t=G(null),r=G(null),n=G(!1);let s=null;const i=`puik-tooltip-${eo()}`,a=e,o=()=>{n.value=!0,s?.update()},u=()=>{n.value=!1},l=()=>{n.value=!0},c=()=>{setTimeout(()=>{var d,p;!((d=t.value)!=null&&d.matches(":hover"))&&!((p=r.value)!=null&&p.matches(":hover"))&&u()},a.disappearDelay)};return lt(()=>{t.value&&r.value&&(s=Z9(t.value,r.value,{placement:a.position,modifiers:[{name:"offset",options:{offset:[0,12]}}]}))}),Tr(()=>{s?.destroy(),s=null}),(d,p)=>(P(),W("div",{class:"puik-tooltip","data-test":d.dataTest},[$("div",{ref_key:"slotWrapper",ref:t,class:"puik-tooltip__slot--wrapper",tabindex:"0","aria-describedby":i,"aria-expanded":n.value,"data-test":d.dataTest?`slot-content-${d.dataTest}`:void 0,onMouseover:o,onMouseleave:c,onFocus:o,onBlur:c,onKeydown:Ot(c,["esc"]),onClick:o},[st(d.$slots,"default")],40,J9),In($("div",{id:i,ref_key:"tooltip",ref:r,role:"tooltip",class:ze(["puik-tooltip__tip",{"puik-tooltip--visible":n.value}]),style:Fr({"z-index":n.value?d.zindex:-1,"max-width":d.maxWidth?`${d.maxWidth}px`:"max-content"}),"aria-live":"polite","aria-hidden":!n.value,onMouseover:l,onMouseleave:c,"data-test":d.dataTest?`tip-content-${d.dataTest}`:void 0},[$("div",X9,[d.$slots.heading||d.heading?(P(),W("span",{key:0,class:"puik-tooltip__tip__content__heading","data-test":d.dataTest?`heading-${d.dataTest}`:void 0},[st(d.$slots,"heading",{},()=>[X(D(d.heading),1)])],8,e5)):le("",!0),d.$slots.description||d.description?(P(),W("span",{key:1,class:"puik-tooltip__tip__content__description","data-test":d.dataTest?`description-${d.dataTest}`:void 0},[st(d.$slots,"description",{},()=>[X(D(d.description),1)])],8,t5)):le("",!0)]),p[0]||(p[0]=$("div",{class:"puik-tooltip__tip__arrow","data-popper-arrow":""},null,-1))],46,Q9),[[Ki,!d.isDisabled&&n.value]])],8,Y9))}});function n5(e,t,r){let n=G(r?.value),s=se(()=>e.value!==void 0);return[se(()=>s.value?e.value:n.value),function(i){return s.value||(n.value=i),t?.(i)}]}function Ty(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Iy(){let e=[],t={addEventListener(r,n,s,i){return r.addEventListener(n,s,i),t.add(()=>r.removeEventListener(n,s,i))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);t.add(()=>cancelAnimationFrame(n))},nextFrame(...r){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...r)})},setTimeout(...r){let n=setTimeout(...r);t.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return Ty(()=>{n.current&&r[0]()}),t.add(()=>{n.current=!1})},style(r,n,s){let i=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:s}),this.add(()=>{Object.assign(r.style,{[n]:i})})},group(r){let n=Iy();return r(n),this.add(()=>n.dispose())},add(r){return e.push(r),()=>{let n=e.indexOf(r);if(n>=0)for(let s of e.splice(n,1))s()}},dispose(){for(let r of e.splice(0))r()}};return t}var cb;let s5=Symbol("headlessui.useid"),i5=0;const Ws=(cb=Q2)!=null?cb:function(){return it(s5,()=>`${++i5}`)()};function Re(e){var t;if(e==null||e.value==null)return null;let r=(t=e.value.$el)!=null?t:e.value;return r instanceof Node?r:null}function dn(e,t,...r){if(e in t){let s=t[e];return typeof s=="function"?s(...r):s}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,dn),n}var a5=Object.defineProperty,o5=(e,t,r)=>t in e?a5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,db=(e,t,r)=>(o5(e,typeof t!="symbol"?t+"":t,r),r);let u5=class{constructor(){db(this,"current",this.detect()),db(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},hm=new u5;function ri(e){if(hm.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Re(e);if(t)return t.ownerDocument}return document}let mv=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var kr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(kr||{}),zl=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(zl||{}),l5=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(l5||{});function mm(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(mv)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var Py=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Py||{});function cA(e,t=0){var r;return e===((r=ri(e))==null?void 0:r.body)?!1:dn(t,{0(){return e.matches(mv)},1(){let n=e;for(;n!==null;){if(n.matches(mv))return!0;n=n.parentElement}return!1}})}var c5=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(c5||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function $a(e){e?.focus({preventScroll:!0})}let d5=["textarea","input"].join(",");function f5(e){var t,r;return(r=(t=e?.matches)==null?void 0:t.call(e,d5))!=null?r:!1}function p5(e,t=r=>r){return e.slice().sort((r,n)=>{let s=t(r),i=t(n);if(s===null||i===null)return 0;let a=s.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Hn(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:s=[]}={}){var i;let a=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?i:document,o=Array.isArray(e)?r?p5(e):e:mm(e);s.length>0&&o.length>1&&(o=o.filter(v=>!s.includes(v))),n=n??a.activeElement;let u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(n))-1;if(t&4)return Math.max(0,o.indexOf(n))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},d=0,p=o.length,g;do{if(d>=p||d+p<=0)return 0;let v=l+d;if(t&16)v=(v+p)%p;else{if(v<0)return 3;if(v>=p)return 1}g=o[v],g?.focus(c),d+=u}while(g!==a.activeElement);return t&6&&f5(g)&&g.select(),2}function dA(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function h5(){return/Android/gi.test(window.navigator.userAgent)}function m5(){return dA()||h5()}function id(e,t,r){hm.isServer||Hr(n=>{document.addEventListener(e,t,r),n(()=>document.removeEventListener(e,t,r))})}function fA(e,t,r){hm.isServer||Hr(n=>{window.addEventListener(e,t,r),n(()=>window.removeEventListener(e,t,r))})}function pA(e,t,r=se(()=>!0)){function n(i,a){if(!r.value||i.defaultPrevented)return;let o=a(i);if(o===null||!o.getRootNode().contains(o))return;let u=function l(c){return typeof c=="function"?l(c()):Array.isArray(c)||c instanceof Set?c:[c]}(e);for(let l of u){if(l===null)continue;let c=l instanceof HTMLElement?l:Re(l);if(c!=null&&c.contains(o)||i.composed&&i.composedPath().includes(c))return}return!cA(o,Py.Loose)&&o.tabIndex!==-1&&i.preventDefault(),t(i,o)}let s=G(null);id("pointerdown",i=>{var a,o;r.value&&(s.value=((o=(a=i.composedPath)==null?void 0:a.call(i))==null?void 0:o[0])||i.target)},!0),id("mousedown",i=>{var a,o;r.value&&(s.value=((o=(a=i.composedPath)==null?void 0:a.call(i))==null?void 0:o[0])||i.target)},!0),id("click",i=>{m5()||s.value&&(n(i,()=>s.value),s.value=null)},!0),id("touchend",i=>n(i,()=>i.target instanceof HTMLElement?i.target:null),!0),fA("blur",i=>n(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function fb(e,t){if(e)return e;let r=t??"button";if(typeof r=="string"&&r.toLowerCase()==="button")return"button"}function hA(e,t){let r=G(fb(e.value.type,e.value.as));return lt(()=>{r.value=fb(e.value.type,e.value.as)}),Hr(()=>{var n;r.value||Re(t)&&Re(t)instanceof HTMLButtonElement&&!((n=Re(t))!=null&&n.hasAttribute("type"))&&(r.value="button")}),r}var Wl=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Wl||{}),g5=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(g5||{});function hn({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...s}){var i;let a=gA(n,r),o=Object.assign(s,{props:a});if(e||t&2&&a.static)return sg(o);if(t&1){let u=(i=a.unmount)==null||i?0:1;return dn(u,{0(){return null},1(){return sg({...s,props:{...a,hidden:!0,style:{display:"none"}}})}})}return sg(o)}function sg({props:e,attrs:t,slots:r,slot:n,name:s}){var i,a;let{as:o,...u}=vA(e,["unmount","static"]),l=(i=r.default)==null?void 0:i.call(r,n),c={};if(n){let d=!1,p=[];for(let[g,v]of Object.entries(n))typeof v=="boolean"&&(d=!0),v===!0&&p.push(g);d&&(c["data-headlessui-state"]=p.join(" "))}if(o==="template"){if(l=mA(l??[]),Object.keys(u).length>0||Object.keys(t).length>0){let[d,...p]=l??[];if(!_5(d)||p.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${s} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(u).concat(Object.keys(t)).map(_=>_.trim()).filter((_,w,S)=>S.indexOf(_)===w).sort((_,w)=>_.localeCompare(w)).map(_=>` - ${_}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(_=>` - ${_}`).join(` `)].join(` `));let g=gA((a=d.props)!=null?a:{},u,c),v=Jn(d,g,!0);for(let _ in g)_.startsWith("on")&&(v.props||(v.props={}),v.props[_]=g[_]);return v}return Array.isArray(l)&&l.length===1?l[0]:l}return _t(o,Object.assign({},u,c),{default:()=>l})}function mA(e){return e.flatMap(t=>t.type===he?mA(t.children):[t])}function gA(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let s in n)s.startsWith("on")&&typeof n[s]=="function"?(r[s]!=null||(r[s]=[]),r[s].push(n[s])):t[s]=n[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(n=>[n,void 0])));for(let n in r)Object.assign(t,{[n](s,...i){let a=r[n];for(let o of a){if(s instanceof Event&&s.defaultPrevented)return;o(s,...i)}}});return t}function v5(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function vA(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function _5(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Fi=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Fi||{});let Ba=pe({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:r}){return()=>{var n;let{features:s,...i}=e,a={"aria-hidden":(s&2)===2?!0:(n=i["aria-hidden"])!=null?n:void 0,hidden:(s&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(s&4)===4&&(s&2)!==2&&{display:"none"}}};return hn({ourProps:a,theirProps:i,slot:{},attrs:r,slots:t,name:"Hidden"})}}}),_A=Symbol("Context");var Hs=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Hs||{});function yA(){return it(_A,null)}function y5(e){lr(_A,e)}var Ln=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ln||{});function b5(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let _a=[];b5(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&_a[0]!==t.target&&(_a.unshift(t.target),_a=_a.filter(r=>r!=null&&r.isConnected),_a.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function S5(e){var t,r;let n=(t=e?.form)!=null?t:e.closest("form");if(n){for(let s of n.elements)if(s!==e&&(s.tagName==="INPUT"&&s.type==="submit"||s.tagName==="BUTTON"&&s.type==="submit"||s.nodeName==="INPUT"&&s.type==="image")){s.click();return}(r=n.requestSubmit)==null||r.call(n)}}function Oy(e,t,r,n){hm.isServer||Hr(s=>{e=e??window,e.addEventListener(t,r,n),s(()=>e.removeEventListener(t,r,n))})}var sn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(sn||{});function Ry(){let e=G(0);return fA("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function bA(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.value){let n=Re(r);n instanceof HTMLElement&&t.add(n)}return t}var SA=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(SA||{});let ju=Object.assign(pe({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:G(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let s=G(null);n({el:s,$el:s});let i=se(()=>ri(s)),a=G(!1);lt(()=>a.value=!0),Tr(()=>a.value=!1),k5({ownerDocument:i},se(()=>a.value&&!!(e.features&16)));let o=E5({ownerDocument:i,container:s,initialFocus:se(()=>e.initialFocus)},se(()=>a.value&&!!(e.features&2)));A5({ownerDocument:i,container:s,containers:e.containers,previousActiveElement:o},se(()=>a.value&&!!(e.features&8)));let u=Ry();function l(g){let v=Re(s);v&&(_=>_())(()=>{dn(u.value,{[sn.Forwards]:()=>{Hn(v,kr.First,{skipElements:[g.relatedTarget]})},[sn.Backwards]:()=>{Hn(v,kr.Last,{skipElements:[g.relatedTarget]})}})})}let c=G(!1);function d(g){g.key==="Tab"&&(c.value=!0,requestAnimationFrame(()=>{c.value=!1}))}function p(g){if(!a.value)return;let v=bA(e.containers);Re(s)instanceof HTMLElement&&v.add(Re(s));let _=g.relatedTarget;_ instanceof HTMLElement&&_.dataset.headlessuiFocusGuard!=="true"&&(wA(v,_)||(c.value?Hn(Re(s),dn(u.value,{[sn.Forwards]:()=>kr.Next,[sn.Backwards]:()=>kr.Previous})|kr.WrapAround,{relativeTo:g.target}):g.target instanceof HTMLElement&&$a(g.target)))}return()=>{let g={},v={ref:s,onKeydown:d,onFocusout:p},{features:_,initialFocus:w,containers:S,...b}=e;return _t(he,[!!(_&4)&&_t(Ba,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Fi.Focusable}),hn({ourProps:v,theirProps:{...t,...b},slot:g,attrs:t,slots:r,name:"FocusTrap"}),!!(_&4)&&_t(Ba,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Fi.Focusable})])}}}),{features:SA});function w5(e){let t=G(_a.slice());return Se([e],([r],[n])=>{n===!0&&r===!1?Ty(()=>{t.value.splice(0)}):n===!1&&r===!0&&(t.value=_a.slice())},{flush:"post"}),()=>{var r;return(r=t.value.find(n=>n!=null&&n.isConnected))!=null?r:null}}function k5({ownerDocument:e},t){let r=w5(t);lt(()=>{Hr(()=>{var n,s;t.value||((n=e.value)==null?void 0:n.activeElement)===((s=e.value)==null?void 0:s.body)&&$a(r())},{flush:"post"})}),Tr(()=>{t.value&&$a(r())})}function E5({ownerDocument:e,container:t,initialFocus:r},n){let s=G(null),i=G(!1);return lt(()=>i.value=!0),Tr(()=>i.value=!1),lt(()=>{Se([t,r,n],(a,o)=>{if(a.every((l,c)=>o?.[c]===l)||!n.value)return;let u=Re(t);u&&Ty(()=>{var l,c;if(!i.value)return;let d=Re(r),p=(l=e.value)==null?void 0:l.activeElement;if(d){if(d===p){s.value=p;return}}else if(u.contains(p)){s.value=p;return}d?$a(d):Hn(u,kr.First|kr.NoScroll)===zl.Error&&console.warn("There are no focusable elements inside the "),s.value=(c=e.value)==null?void 0:c.activeElement})},{immediate:!0,flush:"post"})}),s}function A5({ownerDocument:e,container:t,containers:r,previousActiveElement:n},s){var i;Oy((i=e.value)==null?void 0:i.defaultView,"focus",a=>{if(!s.value)return;let o=bA(r);Re(t)instanceof HTMLElement&&o.add(Re(t));let u=n.value;if(!u)return;let l=a.target;l&&l instanceof HTMLElement?wA(o,l)?(n.value=l,$a(l)):(a.preventDefault(),a.stopPropagation(),$a(u)):$a(n.value)},!0)}function wA(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function C5(e){let t=Mu(e.getSnapshot());return Tr(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function T5(e,t){let r=e(),n=new Set;return{getSnapshot(){return r},subscribe(s){return n.add(s),()=>n.delete(s)},dispatch(s,...i){let a=t[s].call(r,...i);a&&(r=a,n.forEach(o=>o()))}}}function I5(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=((r=t.defaultView)!=null?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,s=n.clientWidth-n.offsetWidth,i=e-s;r.style(n,"paddingRight",`${i}px`)}}}function P5(){return dA()?{before({doc:e,d:t,meta:r}){function n(s){return r.containers.flatMap(i=>i()).some(i=>i.contains(s))}t.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let o=Iy();o.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>o.dispose()))}let i=(s=window.scrollY)!=null?s:window.pageYOffset,a=null;t.addEventListener(e,"click",o=>{if(o.target instanceof HTMLElement)try{let u=o.target.closest("a");if(!u)return;let{hash:l}=new URL(u.href),c=e.querySelector(l);c&&!n(c)&&(a=c)}catch{}},!0),t.addEventListener(e,"touchstart",o=>{if(o.target instanceof HTMLElement)if(n(o.target)){let u=o.target;for(;u.parentElement&&n(u.parentElement);)u=u.parentElement;t.style(u,"overscrollBehavior","contain")}else t.style(o.target,"touchAction","none")}),t.addEventListener(e,"touchmove",o=>{if(o.target instanceof HTMLElement){if(o.target.tagName==="INPUT")return;if(n(o.target)){let u=o.target;for(;u.parentElement&&u.dataset.headlessuiPortal!==""&&!(u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth);)u=u.parentElement;u.dataset.headlessuiPortal===""&&o.preventDefault()}else o.preventDefault()}},{passive:!1}),t.add(()=>{var o;let u=(o=window.scrollY)!=null?o:window.pageYOffset;i!==u&&window.scrollTo(0,i),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function O5(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function R5(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let wa=T5(()=>new Map,{PUSH(e,t){var r;let n=(r=this.get(e))!=null?r:{doc:e,count:0,d:Iy(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:R5(r)},s=[P5(),I5(),O5()];s.forEach(({before:i})=>i?.(n)),s.forEach(({after:i})=>i?.(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});wa.subscribe(()=>{let e=wa.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let n=t.get(r.doc)==="hidden",s=r.count!==0;(s&&!n||!s&&n)&&wa.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&wa.dispatch("TEARDOWN",r)}});function $5(e,t,r){let n=C5(wa),s=se(()=>{let i=e.value?n.value.get(e.value):void 0;return i?i.count>0:!1});return Se([e,t],([i,a],[o],u)=>{if(!i||!a)return;wa.dispatch("PUSH",i,r);let l=!1;u(()=>{l||(wa.dispatch("POP",o??i,r),l=!0)})},{immediate:!0}),s}let ig=new Map,zu=new Map;function pb(e,t=G(!0)){Hr(r=>{var n;if(!t.value)return;let s=Re(e);if(!s)return;r(function(){var a;if(!s)return;let o=(a=zu.get(s))!=null?a:1;if(o===1?zu.delete(s):zu.set(s,o-1),o!==1)return;let u=ig.get(s);u&&(u["aria-hidden"]===null?s.removeAttribute("aria-hidden"):s.setAttribute("aria-hidden",u["aria-hidden"]),s.inert=u.inert,ig.delete(s))});let i=(n=zu.get(s))!=null?n:0;zu.set(s,i+1),i===0&&(ig.set(s,{"aria-hidden":s.getAttribute("aria-hidden"),inert:s.inert}),s.setAttribute("aria-hidden","true"),s.inert=!0)})}function kA({defaultContainers:e=[],portals:t,mainTreeNodeRef:r}={}){let n=G(null),s=ri(n);function i(){var a,o,u;let l=[];for(let c of e)c!==null&&(c instanceof HTMLElement?l.push(c):"value"in c&&c.value instanceof HTMLElement&&l.push(c.value));if(t!=null&&t.value)for(let c of t.value)l.push(c);for(let c of(a=s?.querySelectorAll("html > *, body > *"))!=null?a:[])c!==document.body&&c!==document.head&&c instanceof HTMLElement&&c.id!=="headlessui-portal-root"&&(c.contains(Re(n))||c.contains((u=(o=Re(n))==null?void 0:o.getRootNode())==null?void 0:u.host)||l.some(d=>c.contains(d))||l.push(c));return l}return{resolveContainers:i,contains(a){return i().some(o=>o.contains(a))},mainTreeNodeRef:n,MainTreeNode(){return r!=null?null:_t(Ba,{features:Fi.Hidden,ref:n})}}}let EA=Symbol("ForcePortalRootContext");function M5(){return it(EA,!1)}let hb=pe({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:r}){return lr(EA,e.force),()=>{let{force:n,...s}=e;return hn({theirProps:s,ourProps:{},slot:{},slots:t,attrs:r,name:"ForcePortalRoot"})}}}),AA=Symbol("StackContext");var gv=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(gv||{});function x5(){return it(AA,()=>{})}function N5({type:e,enabled:t,element:r,onUpdate:n}){let s=x5();function i(...a){n?.(...a),s(...a)}lt(()=>{Se(t,(a,o)=>{a?i(0,e,r):o===!0&&i(1,e,r)},{immediate:!0,flush:"sync"})}),Tr(()=>{t.value&&i(1,e,r)}),lr(AA,i)}let D5=Symbol("DescriptionContext");function CA({slot:e=G({}),name:t="Description",props:r={}}={}){let n=G([]);function s(i){return n.value.push(i),()=>{let a=n.value.indexOf(i);a!==-1&&n.value.splice(a,1)}}return lr(D5,{register:s,slot:e,name:t,props:r}),se(()=>n.value.length>0?n.value.join(" "):void 0)}function L5(e){let t=ri(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let r=t.getElementById("headlessui-portal-root");if(r)return r;let n=t.createElement("div");return n.setAttribute("id","headlessui-portal-root"),t.body.appendChild(n)}const vv=new WeakMap;function F5(e){var t;return(t=vv.get(e))!=null?t:0}function mb(e,t){let r=t(F5(e));return r<=0?vv.delete(e):vv.set(e,r),r}let B5=pe({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=G(null),s=se(()=>ri(n)),i=M5(),a=it(IA,null),o=G(i===!0||a==null?L5(n.value):a.resolveTarget());o.value&&mb(o.value,p=>p+1);let u=G(!1);lt(()=>{u.value=!0}),Hr(()=>{i||a!=null&&(o.value=a.resolveTarget())});let l=it(_v,null),c=!1,d=Jt();return Se(n,()=>{if(c||!l)return;let p=Re(n);p&&(Tr(l.register(p),d),c=!0)}),Tr(()=>{var p,g;let v=(p=s.value)==null?void 0:p.getElementById("headlessui-portal-root");!v||o.value!==v||mb(o.value,_=>_-1)||o.value.children.length>0||(g=o.value.parentElement)==null||g.removeChild(o.value)}),()=>{if(!u.value||o.value===null)return null;let p={ref:n,"data-headlessui-portal":""};return _t(W2,{to:o.value},hn({ourProps:p,theirProps:e,slot:{},attrs:r,slots:t,name:"Portal"}))}}}),_v=Symbol("PortalParentContext");function TA(){let e=it(_v,null),t=G([]);function r(i){return t.value.push(i),e&&e.register(i),()=>n(i)}function n(i){let a=t.value.indexOf(i);a!==-1&&t.value.splice(a,1),e&&e.unregister(i)}let s={register:r,unregister:n,portals:t};return[t,pe({name:"PortalWrapper",setup(i,{slots:a}){return lr(_v,s),()=>{var o;return(o=a.default)==null?void 0:o.call(a)}}})]}let IA=Symbol("PortalGroupContext"),U5=pe({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:r}){let n=Wi({resolveTarget(){return e.target}});return lr(IA,n),()=>{let{target:s,...i}=e;return hn({theirProps:i,ourProps:{},slot:{},attrs:t,slots:r,name:"PortalGroup"})}}});var H5=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(H5||{});let yv=Symbol("DialogContext");function PA(e){let t=it(yv,null);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,PA),r}return t}let ad="DC8F892D-2EBD-447C-A4C8-A03058436FF4",V5=pe({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:ad},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:r,slots:n,expose:s}){var i,a;let o=(i=e.id)!=null?i:`headlessui-dialog-${Ws()}`,u=G(!1);lt(()=>{u.value=!0});let l=!1,c=se(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(l||(l=!0,console.warn(`Invalid role [${c}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),d=G(0),p=yA(),g=se(()=>e.open===ad&&p!==null?(p.value&Hs.Open)===Hs.Open:e.open),v=G(null),_=se(()=>ri(v));if(s({el:v,$el:v}),!(e.open!==ad||p!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof g.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${g.value===ad?void 0:e.open}`);let w=se(()=>u.value&&g.value?0:1),S=se(()=>w.value===0),b=se(()=>d.value>1),y=it(yv,null)!==null,[f,h]=TA(),{resolveContainers:m,mainTreeNodeRef:k,MainTreeNode:E}=kA({portals:f,defaultContainers:[se(()=>{var ie;return(ie=J.panelRef.value)!=null?ie:v.value})]}),C=se(()=>b.value?"parent":"leaf"),A=se(()=>p!==null?(p.value&Hs.Closing)===Hs.Closing:!1),T=se(()=>y||A.value?!1:S.value),x=se(()=>{var ie,ne,ye;return(ye=Array.from((ne=(ie=_.value)==null?void 0:ie.querySelectorAll("body > *"))!=null?ne:[]).find(Te=>Te.id==="headlessui-portal-root"?!1:Te.contains(Re(k))&&Te instanceof HTMLElement))!=null?ye:null});pb(x,T);let O=se(()=>b.value?!0:S.value),H=se(()=>{var ie,ne,ye;return(ye=Array.from((ne=(ie=_.value)==null?void 0:ie.querySelectorAll("[data-headlessui-portal]"))!=null?ne:[]).find(Te=>Te.contains(Re(k))&&Te instanceof HTMLElement))!=null?ye:null});pb(H,O),N5({type:"Dialog",enabled:se(()=>w.value===0),element:v,onUpdate:(ie,ne)=>{if(ne==="Dialog")return dn(ie,{[gv.Add]:()=>d.value+=1,[gv.Remove]:()=>d.value-=1})}});let j=CA({name:"DialogDescription",slot:se(()=>({open:g.value}))}),I=G(null),J={titleId:I,panelRef:G(null),dialogState:w,setTitleId(ie){I.value!==ie&&(I.value=ie)},close(){t("close",!1)}};lr(yv,J);let z=se(()=>!(!S.value||b.value));pA(m,(ie,ne)=>{ie.preventDefault(),J.close(),pr(()=>ne?.focus())},z);let de=se(()=>!(b.value||w.value!==0));Oy((a=_.value)==null?void 0:a.defaultView,"keydown",ie=>{de.value&&(ie.defaultPrevented||ie.key===Ln.Escape&&(ie.preventDefault(),ie.stopPropagation(),J.close()))});let q=se(()=>!(A.value||w.value!==0||y));return $5(_,q,ie=>{var ne;return{containers:[...(ne=ie.containers)!=null?ne:[],m]}}),Hr(ie=>{if(w.value!==0)return;let ne=Re(v);if(!ne)return;let ye=new ResizeObserver(Te=>{for(let $e of Te){let He=$e.target.getBoundingClientRect();He.x===0&&He.y===0&&He.width===0&&He.height===0&&J.close()}});ye.observe(ne),ie(()=>ye.disconnect())}),()=>{let{open:ie,initialFocus:ne,...ye}=e,Te={...r,ref:v,id:o,role:c.value,"aria-modal":w.value===0?!0:void 0,"aria-labelledby":I.value,"aria-describedby":j.value},$e={open:w.value===0};return _t(hb,{force:!0},()=>[_t(B5,()=>_t(U5,{target:v.value},()=>_t(hb,{force:!1},()=>_t(ju,{initialFocus:ne,containers:m,features:S.value?dn(C.value,{parent:ju.features.RestoreFocus,leaf:ju.features.All&~ju.features.FocusLock}):ju.features.None},()=>_t(h,{},()=>hn({ourProps:Te,theirProps:{...ye,...r},slot:$e,attrs:r,slots:n,visible:w.value===0,features:Wl.RenderStrategy|Wl.Static,name:"Dialog"})))))),_t(E)])}}}),q5=pe({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var s;let i=(s=e.id)!=null?s:`headlessui-dialog-panel-${Ws()}`,a=PA("DialogPanel");n({el:a.panelRef,$el:a.panelRef});function o(u){u.stopPropagation()}return()=>{let{...u}=e,l={id:i,ref:a.panelRef,onClick:o};return hn({ourProps:l,theirProps:u,slot:{open:a.dialogState.value===0},attrs:t,slots:r,name:"DialogPanel"})}}});var j5=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(j5||{});let OA=Symbol("PopoverContext");function $y(e){let t=it(OA,null);if(t===null){let r=new Error(`<${e} /> is missing a parent <${MA.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,$y),r}return t}let z5=Symbol("PopoverGroupContext");function RA(){return it(z5,null)}let $A=Symbol("PopoverPanelContext");function W5(){return it($A,null)}let MA=pe({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r,expose:n}){var s;let i=G(null);n({el:i,$el:i});let a=G(1),o=G(null),u=G(null),l=G(null),c=G(null),d=se(()=>ri(i)),p=se(()=>{var h,m;if(!Re(o)||!Re(c))return!1;for(let O of document.querySelectorAll("body > *"))if(Number(O?.contains(Re(o)))^Number(O?.contains(Re(c))))return!0;let k=mm(),E=k.indexOf(Re(o)),C=(E+k.length-1)%k.length,A=(E+1)%k.length,T=k[C],x=k[A];return!((h=Re(c))!=null&&h.contains(T))&&!((m=Re(c))!=null&&m.contains(x))}),g={popoverState:a,buttonId:G(null),panelId:G(null),panel:c,button:o,isPortalled:p,beforePanelSentinel:u,afterPanelSentinel:l,togglePopover(){a.value=dn(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(h){g.closePopover();let m=h?h instanceof HTMLElement?h:h.value instanceof HTMLElement?Re(h):Re(g.button):Re(g.button);m?.focus()}};lr(OA,g),y5(se(()=>dn(a.value,{0:Hs.Open,1:Hs.Closed})));let v={buttonId:g.buttonId,panelId:g.panelId,close(){g.closePopover()}},_=RA(),w=_?.registerPopover,[S,b]=TA(),y=kA({mainTreeNodeRef:_?.mainTreeNodeRef,portals:S,defaultContainers:[o,c]});function f(){var h,m,k,E;return(E=_?.isFocusWithinPopoverGroup())!=null?E:((h=d.value)==null?void 0:h.activeElement)&&(((m=Re(o))==null?void 0:m.contains(d.value.activeElement))||((k=Re(c))==null?void 0:k.contains(d.value.activeElement)))}return Hr(()=>w?.(v)),Oy((s=d.value)==null?void 0:s.defaultView,"focus",h=>{var m,k;h.target!==window&&h.target instanceof HTMLElement&&a.value===0&&(f()||o&&c&&(y.contains(h.target)||(m=Re(g.beforePanelSentinel))!=null&&m.contains(h.target)||(k=Re(g.afterPanelSentinel))!=null&&k.contains(h.target)||g.closePopover()))},!0),pA(y.resolveContainers,(h,m)=>{var k;g.closePopover(),cA(m,Py.Loose)||(h.preventDefault(),(k=Re(o))==null||k.focus())},se(()=>a.value===0)),()=>{let h={open:a.value===0,close:g.close};return _t(he,[_t(b,{},()=>hn({theirProps:{...e,...r},ourProps:{ref:i},slot:h,slots:t,attrs:r,name:"Popover"})),_t(y.MainTreeNode)])}}}),G5=pe({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){var s;let i=(s=e.id)!=null?s:`headlessui-popover-button-${Ws()}`,a=$y("PopoverButton"),o=se(()=>ri(a.button));n({el:a.button,$el:a.button}),lt(()=>{a.buttonId.value=i}),Tr(()=>{a.buttonId.value=null});let u=RA(),l=u?.closeOthers,c=W5(),d=se(()=>c===null?!1:c.value===a.panelId.value),p=G(null),g=`headlessui-focus-sentinel-${Ws()}`;d.value||Hr(()=>{a.button.value=Re(p)});let v=hA(se(()=>({as:e.as,type:t.type})),p);function _(h){var m,k,E,C,A;if(d.value){if(a.popoverState.value===1)return;switch(h.key){case Ln.Space:case Ln.Enter:h.preventDefault(),(k=(m=h.target).click)==null||k.call(m),a.closePopover(),(E=Re(a.button))==null||E.focus();break}}else switch(h.key){case Ln.Space:case Ln.Enter:h.preventDefault(),h.stopPropagation(),a.popoverState.value===1&&l?.(a.buttonId.value),a.togglePopover();break;case Ln.Escape:if(a.popoverState.value!==0)return l?.(a.buttonId.value);if(!Re(a.button)||(C=o.value)!=null&&C.activeElement&&!((A=Re(a.button))!=null&&A.contains(o.value.activeElement)))return;h.preventDefault(),h.stopPropagation(),a.closePopover();break}}function w(h){d.value||h.key===Ln.Space&&h.preventDefault()}function S(h){var m,k;e.disabled||(d.value?(a.closePopover(),(m=Re(a.button))==null||m.focus()):(h.preventDefault(),h.stopPropagation(),a.popoverState.value===1&&l?.(a.buttonId.value),a.togglePopover(),(k=Re(a.button))==null||k.focus()))}function b(h){h.preventDefault(),h.stopPropagation()}let y=Ry();function f(){let h=Re(a.panel);if(!h)return;function m(){dn(y.value,{[sn.Forwards]:()=>Hn(h,kr.First),[sn.Backwards]:()=>Hn(h,kr.Last)})===zl.Error&&Hn(mm().filter(k=>k.dataset.headlessuiFocusGuard!=="true"),dn(y.value,{[sn.Forwards]:kr.Next,[sn.Backwards]:kr.Previous}),{relativeTo:Re(a.button)})}m()}return()=>{let h=a.popoverState.value===0,m={open:h},{...k}=e,E=d.value?{ref:p,type:v.value,onKeydown:_,onClick:S}:{ref:p,id:i,type:v.value,"aria-expanded":a.popoverState.value===0,"aria-controls":Re(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:_,onKeyup:w,onClick:S,onMousedown:b};return _t(he,[hn({ourProps:E,theirProps:{...t,...k},slot:m,attrs:t,slots:r,name:"PopoverButton"}),h&&!d.value&&a.isPortalled.value&&_t(Ba,{id:g,features:Fi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:f})])}}}),K5=pe({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){var s;let i=(s=e.id)!=null?s:`headlessui-popover-panel-${Ws()}`,{focus:a}=e,o=$y("PopoverPanel"),u=se(()=>ri(o.panel)),l=`headlessui-focus-sentinel-before-${Ws()}`,c=`headlessui-focus-sentinel-after-${Ws()}`;n({el:o.panel,$el:o.panel}),lt(()=>{o.panelId.value=i}),Tr(()=>{o.panelId.value=null}),lr($A,o.panelId),Hr(()=>{var b,y;if(!a||o.popoverState.value!==0||!o.panel)return;let f=(b=u.value)==null?void 0:b.activeElement;(y=Re(o.panel))!=null&&y.contains(f)||Hn(Re(o.panel),kr.First)});let d=yA(),p=se(()=>d!==null?(d.value&Hs.Open)===Hs.Open:o.popoverState.value===0);function g(b){var y,f;switch(b.key){case Ln.Escape:if(o.popoverState.value!==0||!Re(o.panel)||u.value&&!((y=Re(o.panel))!=null&&y.contains(u.value.activeElement)))return;b.preventDefault(),b.stopPropagation(),o.closePopover(),(f=Re(o.button))==null||f.focus();break}}function v(b){var y,f,h,m,k;let E=b.relatedTarget;E&&Re(o.panel)&&((y=Re(o.panel))!=null&&y.contains(E)||(o.closePopover(),((h=(f=Re(o.beforePanelSentinel))==null?void 0:f.contains)!=null&&h.call(f,E)||(k=(m=Re(o.afterPanelSentinel))==null?void 0:m.contains)!=null&&k.call(m,E))&&E.focus({preventScroll:!0})))}let _=Ry();function w(){let b=Re(o.panel);if(!b)return;function y(){dn(_.value,{[sn.Forwards]:()=>{var f;Hn(b,kr.First)===zl.Error&&((f=Re(o.afterPanelSentinel))==null||f.focus())},[sn.Backwards]:()=>{var f;(f=Re(o.button))==null||f.focus({preventScroll:!0})}})}y()}function S(){let b=Re(o.panel);if(!b)return;function y(){dn(_.value,{[sn.Forwards]:()=>{let f=Re(o.button),h=Re(o.panel);if(!f)return;let m=mm(),k=m.indexOf(f),E=m.slice(0,k+1),C=[...m.slice(k+1),...E];for(let A of C.slice())if(A.dataset.headlessuiFocusGuard==="true"||h!=null&&h.contains(A)){let T=C.indexOf(A);T!==-1&&C.splice(T,1)}Hn(C,kr.First,{sorted:!1})},[sn.Backwards]:()=>{var f;Hn(b,kr.Previous)===zl.Error&&((f=Re(o.button))==null||f.focus())}})}y()}return()=>{let b={open:o.popoverState.value===0,close:o.close},{focus:y,...f}=e,h={ref:o.panel,id:i,onKeydown:g,onFocusout:a&&o.popoverState.value===0?v:void 0,tabIndex:-1};return hn({ourProps:h,theirProps:{...t,...f},attrs:t,slot:b,slots:{...r,default:(...m)=>{var k;return[_t(he,[p.value&&o.isPortalled.value&&_t(Ba,{id:l,ref:o.beforePanelSentinel,features:Fi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:w}),(k=r.default)==null?void 0:k.call(r,...m),p.value&&o.isPortalled.value&&_t(Ba,{id:c,ref:o.afterPanelSentinel,features:Fi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:S})])]}},features:Wl.RenderStrategy|Wl.Static,visible:p.value,name:"PopoverPanel"})}}}),xA=Symbol("LabelContext");function NA(){let e=it(xA,null);if(e===null){let t=new Error("You used a