diff --git a/assets/index-DUXRu42a.css b/assets/index-DUXRu42a.css new file mode 100644 index 0000000..5844ef7 --- /dev/null +++ b/assets/index-DUXRu42a.css @@ -0,0 +1 @@ +*{font-family:Open Sans,sans-serif}*[data-v-e2e91f2d]{margin:0 0 1em;padding:0;border:0}p[data-v-e2e91f2d]{font-size:.7em}.container[data-v-e2e91f2d]{text-align:center;margin:0 auto;width:25em}textarea[data-v-e2e91f2d]{font-family:monospace;text-align:left;border:1px solid black;display:block;font-size:1em}.cards[data-v-e2e91f2d]{width:100%;height:20em}button[type=submit][data-v-e2e91f2d]{padding:.5em;font-size:2em;display:block;margin-left:auto;margin-right:auto}p{margin-top:0;margin-bottom:1mm}.card_frame{width:60mm;height:85mm;padding:2mm;border:.5mm solid black;float:left;page-break-inside:avoid;overflow:hidden;font-size:3.75mm;line-height:100%;text-rendering:geometricPrecision}@media print{.dont_print{display:none}}.card_inner{flex:1 1 auto;display:flex;flex-flow:column;height:100%}.flip_bottom{-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.flip_divider{width:100%}.name{display:inline-block;font-weight:700;width:fit-content}.manacost{display:inline-block;text-align:right;margin-left:auto;align-self:flex-end}.name_mana_line{margin-bottom:1.5mm;display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;gap:0 4px}.oracle_div{font-size:2.75mm;flex:1 1 auto}.hide_reminder_text .reminder_text{display:none}.power_toughness,.loyalty{text-align:right}.config[data-v-feaa5deb]{font-size:.9em;display:flex;flex-direction:column}@page{margin:10mm;size:A4}*{box-sizing:border-box}.config{margin-bottom:1em}@media print{.config{display:none}}body{margin:0} diff --git a/assets/index-ehsIHoB2.js b/assets/index-ehsIHoB2.js new file mode 100644 index 0000000..8e5eeed --- /dev/null +++ b/assets/index-ehsIHoB2.js @@ -0,0 +1,51 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function lt(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const fe={},Vn=[],Oe=()=>{},hr=()=>!1,Rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),to=e=>e.startsWith("onUpdate:"),ae=Object.assign,no=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Su=Object.prototype.hasOwnProperty,ce=(e,t)=>Su.call(e,t),j=Array.isArray,Bn=e=>rs(e)==="[object Map]",Nn=e=>rs(e)==="[object Set]",ol=e=>rs(e)==="[object Date]",Cu=e=>rs(e)==="[object RegExp]",Z=e=>typeof e=="function",te=e=>typeof e=="string",vt=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",so=e=>(pe(e)||Z(e))&&Z(e.then)&&Z(e.catch),Nc=Object.prototype.toString,rs=e=>Nc.call(e),Tu=e=>rs(e).slice(8,-1),Ic=e=>rs(e)==="[object Object]",ro=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=lt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wu=lt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Br=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Au=/-(\w)/g,Se=Br(e=>e.replace(Au,(t,n)=>n?n.toUpperCase():"")),Ru=/\B([A-Z])/g,rt=Br(e=>e.replace(Ru,"-$1").toLowerCase()),In=Br(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hn=Br(e=>e?`on${In(e)}`:""),Et=(e,t)=>!Object.is(e,t),Un=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Er=e=>{const t=te(e)?Number(e):NaN;return isNaN(t)?e:t};let ll;const Oc=()=>ll||(ll=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Nu="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",Iu=lt(Nu);function Vs(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(xu);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function is(e){let t="";if(te(e))t=e;else if(j(e))for(let n=0;ntn(n,t))}const nn=e=>te(e)?e:e==null?"":j(e)||pe(e)&&(e.toString===Nc||!Z(e.toString))?JSON.stringify(e,Pc,2):String(e),Pc=(e,t)=>t&&t.__v_isRef?Pc(e,t.value):Bn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[ai(s,i)+" =>"]=r,n),{})}:Nn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ai(n))}:vt(t)?ai(t):pe(t)&&!j(t)&&!Ic(t)?String(t):t,ai=(e,t="")=>{var n;return vt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let et;class io{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=et,!t&&et&&(this.index=(et.scopes||(et.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=et;try{return et=this,t()}finally{et=n}}}on(){et=this}off(){et=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),xn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Zt,n=dn;try{return Zt=!0,dn=this,this._runnings++,cl(this),this.fn()}finally{al(this),this._runnings--,dn=n,Zt=t}}stop(){var t;this.active&&(cl(this),al(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Gu(e){return e.value}function cl(e){e._trackId++,e._depsLength=0}function al(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(ae(n,t),t.scope&&Mc(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function Ju(e){e.effect.stop()}let Zt=!0,Ti=0;const Fc=[];function On(){Fc.push(Zt),Zt=!1}function xn(){const e=Fc.pop();Zt=e===void 0?!0:e}function oo(){Ti++}function lo(){for(Ti--;!Ti&&wi.length;)wi.shift()()}function Dc(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&$c(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const wi=[];function Vc(e,t,n){oo();for(const s of e.keys()){let r;s._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Sr=new WeakMap,pn=Symbol(""),Ai=Symbol("");function Xe(e,t,n){if(Zt&&dn){let s=Sr.get(e);s||Sr.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Bc(()=>s.delete(n))),Dc(dn,r)}}function Lt(e,t,n,s,r,i){const o=Sr.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&j(e)){const c=Number(s);o.forEach((a,f)=>{(f==="length"||!vt(f)&&f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":j(e)?ro(n)&&l.push(o.get("length")):(l.push(o.get(pn)),Bn(e)&&l.push(o.get(Ai)));break;case"delete":j(e)||(l.push(o.get(pn)),Bn(e)&&l.push(o.get(Ai)));break;case"set":Bn(e)&&l.push(o.get(pn));break}oo();for(const c of l)c&&Vc(c,4);lo()}function Yu(e,t){var n;return(n=Sr.get(e))==null?void 0:n.get(t)}const Qu=lt("__proto__,__v_isRef,__isVue"),Hc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(vt)),fl=Xu();function Xu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=oe(this);for(let i=0,o=this.length;i{e[t]=function(...n){On(),oo();const s=oe(this)[t].apply(this,n);return lo(),xn(),s}}),e}function Zu(e){const t=oe(this);return Xe(t,"has",e),t.hasOwnProperty(e)}class Uc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?zc:Gc:i?Wc:qc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=j(t);if(!r){if(o&&ce(fl,n))return Reflect.get(fl,n,s);if(n==="hasOwnProperty")return Zu}const l=Reflect.get(t,n,s);return(vt(n)?Hc.has(n):Qu(n))||(r||Xe(t,"get",n),i)?l:Fe(l)?o&&ro(n)?l:l.value:pe(l)?r?fo(l):os(l):l}}class jc extends Uc{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=En(i);if(!Cs(s)&&!En(s)&&(i=oe(i),s=oe(s)),!j(t)&&Fe(i)&&!Fe(s))return c?!1:(i.value=s,!0)}const o=j(t)&&ro(n)?Number(n)e,Ur=e=>Reflect.getPrototypeOf(e);function Qs(e,t,n=!1,s=!1){e=e.__v_raw;const r=oe(e),i=oe(t);n||(Et(t,i)&&Xe(r,"get",t),Xe(r,"get",i));const{has:o}=Ur(r),l=s?co:n?po:Ts;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Xs(e,t=!1){const n=this.__v_raw,s=oe(n),r=oe(e);return t||(Et(e,r)&&Xe(s,"has",e),Xe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Zs(e,t=!1){return e=e.__v_raw,!t&&Xe(oe(e),"iterate",pn),Reflect.get(e,"size",e)}function ul(e){e=oe(e);const t=oe(this);return Ur(t).has.call(t,e)||(t.add(e),Lt(t,"add",e,e)),this}function hl(e,t){t=oe(t);const n=oe(this),{has:s,get:r}=Ur(n);let i=s.call(n,e);i||(e=oe(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Et(t,o)&&Lt(n,"set",e,t):Lt(n,"add",e,t),this}function dl(e){const t=oe(this),{has:n,get:s}=Ur(t);let r=n.call(t,e);r||(e=oe(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Lt(t,"delete",e,void 0),i}function pl(){const e=oe(this),t=e.size!==0,n=e.clear();return t&&Lt(e,"clear",void 0,void 0),n}function er(e,t){return function(s,r){const i=this,o=i.__v_raw,l=oe(o),c=t?co:e?po:Ts;return!e&&Xe(l,"iterate",pn),o.forEach((a,f)=>s.call(r,c(a),c(f),i))}}function tr(e,t,n){return function(...s){const r=this.__v_raw,i=oe(r),o=Bn(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),f=n?co:t?po:Ts;return!t&&Xe(i,"iterate",c?Ai:pn),{next(){const{value:u,done:h}=a.next();return h?{value:u,done:h}:{value:l?[f(u[0]),f(u[1])]:f(u),done:h}},[Symbol.iterator](){return this}}}}function Vt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function rh(){const e={get(i){return Qs(this,i)},get size(){return Zs(this)},has:Xs,add:ul,set:hl,delete:dl,clear:pl,forEach:er(!1,!1)},t={get(i){return Qs(this,i,!1,!0)},get size(){return Zs(this)},has:Xs,add:ul,set:hl,delete:dl,clear:pl,forEach:er(!1,!0)},n={get(i){return Qs(this,i,!0)},get size(){return Zs(this,!0)},has(i){return Xs.call(this,i,!0)},add:Vt("add"),set:Vt("set"),delete:Vt("delete"),clear:Vt("clear"),forEach:er(!0,!1)},s={get(i){return Qs(this,i,!0,!0)},get size(){return Zs(this,!0)},has(i){return Xs.call(this,i,!0)},add:Vt("add"),set:Vt("set"),delete:Vt("delete"),clear:Vt("clear"),forEach:er(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=tr(i,!1,!1),n[i]=tr(i,!0,!1),t[i]=tr(i,!1,!0),s[i]=tr(i,!0,!0)}),[e,n,t,s]}const[ih,oh,lh,ch]=rh();function jr(e,t){const n=t?e?ch:lh:e?oh:ih;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ce(n,r)&&r in s?n:s,r,i)}const ah={get:jr(!1,!1)},fh={get:jr(!1,!0)},uh={get:jr(!0,!1)},hh={get:jr(!0,!0)},qc=new WeakMap,Wc=new WeakMap,Gc=new WeakMap,zc=new WeakMap;function dh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ph(e){return e.__v_skip||!Object.isExtensible(e)?0:dh(Tu(e))}function os(e){return En(e)?e:Kr(e,!1,eh,ah,qc)}function ao(e){return Kr(e,!1,nh,fh,Wc)}function fo(e){return Kr(e,!0,th,uh,Gc)}function mh(e){return Kr(e,!0,sh,hh,zc)}function Kr(e,t,n,s,r){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=ph(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function mn(e){return En(e)?mn(e.__v_raw):!!(e&&e.__v_isReactive)}function En(e){return!!(e&&e.__v_isReadonly)}function Cs(e){return!!(e&&e.__v_isShallow)}function uo(e){return mn(e)||En(e)}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function ho(e){return Object.isExtensible(e)&&vr(e,"__v_skip",!0),e}const Ts=e=>pe(e)?os(e):e,po=e=>pe(e)?fo(e):e;class Jc{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zn(()=>t(this._value),()=>jn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=oe(this);return(!t._cacheable||t.effect.dirty)&&Et(t._value,t._value=t.effect.run())&&jn(t,4),mo(t),t.effect._dirtyLevel>=2&&jn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function gh(e,t,n=!1){let s,r;const i=Z(e);return i?(s=e,r=Oe):(s=e.get,r=e.set),new Jc(s,r,i||!r,n)}function mo(e){var t;Zt&&dn&&(e=oe(e),Dc(dn,(t=e.dep)!=null?t:e.dep=Bc(()=>e.dep=void 0,e instanceof Jc?e:void 0)))}function jn(e,t=4,n){e=oe(e);const s=e.dep;s&&Vc(s,t)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function Rt(e){return Qc(e,!1)}function Yc(e){return Qc(e,!0)}function Qc(e,t){return Fe(e)?e:new yh(e,t)}class yh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:oe(t),this._value=n?t:Ts(t)}get value(){return mo(this),this._value}set value(t){const n=this.__v_isShallow||Cs(t)||En(t);t=n?t:oe(t),Et(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ts(t),jn(this,4))}}function _h(e){jn(e,4)}function ye(e){return Fe(e)?e.value:e}function bh(e){return Z(e)?e():ye(e)}const vh={get:(e,t,n)=>ye(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Fe(r)&&!Fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function go(e){return mn(e)?e:new Proxy(e,vh)}class Eh{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>mo(this),()=>jn(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Xc(e){return new Eh(e)}function Sh(e){const t=j(e)?new Array(e.length):{};for(const n in e)t[n]=Zc(e,n);return t}class Ch{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Yu(oe(this._object),this._key)}}class Th{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function wh(e,t,n){return Fe(e)?e:Z(e)?new Th(e):pe(e)&&arguments.length>1?Zc(e,t,n):Rt(e)}function Zc(e,t,n){const s=e[t];return Fe(s)?s:new Ch(e,t,n)}const Ah={GET:"get",HAS:"has",ITERATE:"iterate"},Rh={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** +* @vue/runtime-core v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Nh(e,t){}const Ih={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",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"},Oh={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function $t(e,t,n,s){try{return s?e(...s):e()}catch(r){kn(r,t,n)}}function it(e,t,n,s){if(Z(e)){const i=$t(e,t,n,s);return i&&so(i)&&i.catch(o=>{kn(o,t,n)}),i}const r=[];for(let i=0;i>>1,r=He[s],i=As(r);iAt&&He.splice(t,1)}function Cr(e){j(e)?Kn.push(...e):(!qt||!qt.includes(e,e.allowRecurse?an+1:an))&&Kn.push(e),ta()}function ml(e,t,n=ws?At+1:0){for(;nAs(n)-As(s));if(Kn.length=0,qt){qt.push(...t);return}for(qt=t,an=0;ane.id==null?1/0:e.id,Mh=(e,t)=>{const n=As(e)-As(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function na(e){Ri=!1,ws=!0,He.sort(Mh);try{for(At=0;AtFn.emit(r,...i)),nr=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{sa(i,t)}),setTimeout(()=>{Fn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,nr=[])},3e3)):nr=[]}function Lh(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||fe;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:u,trim:h}=s[f]||fe;h&&(r=n.map(m=>te(m)?m.trim():m)),u&&(r=n.map(Ss))}let l,c=s[l=Hn(t)]||s[l=Hn(Se(t))];!c&&i&&(c=s[l=Hn(rt(t))]),c&&it(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,it(a,e,6,r)}}function ra(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!Z(e)){const c=a=>{const f=ra(a,t,!0);f&&(l=!0,ae(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(pe(e)&&s.set(e,null),null):(j(i)?i.forEach(c=>o[c]=null):ae(o,i),pe(e)&&s.set(e,o),o)}function Wr(e,t){return!e||!Rn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,rt(t))||ce(e,t))}let Ae=null,Gr=null;function Rs(e){const t=Ae;return Ae=e,Gr=e&&e.type.__scopeId||null,t}function ia(e){Gr=e}function oa(){Gr=null}const $h=e=>_o;function _o(e,t=Ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Li(-1);const i=Rs(t);let o;try{o=e(...r)}finally{Rs(i),s._d&&Li(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function dr(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:a,render:f,renderCache:u,data:h,setupState:m,ctx:y,inheritAttrs:w}=e;let O,A;const _=Rs(e);try{if(n.shapeFlag&4){const b=r||s,E=b;O=nt(f.call(E,b,u,i,m,h,y)),A=c}else{const b=t;O=nt(b.length>1?b(i,{attrs:c,slots:l,emit:a}):b(i,null)),A=t.props?c:Dh(c)}}catch(b){ys.length=0,kn(b,e,1),O=ge(je)}let g=O;if(A&&w!==!1){const b=Object.keys(A),{shapeFlag:E}=g;b.length&&E&7&&(o&&b.some(to)&&(A=Vh(A,o)),g=Nt(g,A))}return n.dirs&&(g=Nt(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),O=g,Rs(_),O}function Fh(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||Rn(n))&&((t||(t={}))[n]=e[n]);return t},Vh=(e,t)=>{const n={};for(const s in e)(!to(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bh(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?gl(s,o,a):!!o;if(c&8){const f=t.dynamicProps;for(let u=0;ue.__isSuspense;let Ni=0;const Kh={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,a){if(e==null)Wh(t,n,s,r,i,o,l,c,a);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Gh(e,t,n,s,r,o,l,c,a)}},hydrate:zh,create:So,normalize:Jh},qh=Kh;function Ns(e,t){const n=e.props&&e.props[t];Z(n)&&n()}function Wh(e,t,n,s,r,i,o,l,c){const{p:a,o:{createElement:f}}=c,u=f("div"),h=e.suspense=So(e,r,s,t,u,n,i,o,l,c);a(null,h.pendingBranch=e.ssContent,u,null,s,h,i,o),h.deps>0?(Ns(e,"onPending"),Ns(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,i,o),qn(h,e.ssFallback)):h.resolve(!1,!0)}function Gh(e,t,n,s,r,i,o,l,{p:c,um:a,o:{createElement:f}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const h=t.ssContent,m=t.ssFallback,{activeBranch:y,pendingBranch:w,isInFallback:O,isHydrating:A}=u;if(w)u.pendingBranch=h,yt(h,w)?(c(w,h,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():O&&(A||(c(y,m,n,s,r,null,i,o,l),qn(u,m)))):(u.pendingId=Ni++,A?(u.isHydrating=!1,u.activeBranch=w):a(w,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=f("div"),O?(c(null,h,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():(c(y,m,n,s,r,null,i,o,l),qn(u,m))):y&&yt(h,y)?(c(y,h,n,s,r,u,i,o,l),u.resolve(!0)):(c(null,h,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0&&u.resolve()));else if(y&&yt(h,y))c(y,h,n,s,r,u,i,o,l),qn(u,h);else if(Ns(t,"onPending"),u.pendingBranch=h,h.shapeFlag&512?u.pendingId=h.component.suspenseId:u.pendingId=Ni++,c(null,h,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0)u.resolve();else{const{timeout:_,pendingId:g}=u;_>0?setTimeout(()=>{u.pendingId===g&&u.fallback(m)},_):_===0&&u.fallback(m)}}function So(e,t,n,s,r,i,o,l,c,a,f=!1){const{p:u,m:h,um:m,n:y,o:{parentNode:w,remove:O}}=a;let A;const _=Yh(e);_&&t!=null&&t.pendingBranch&&(A=t.pendingId,t.deps++);const g=e.props?Er(e.props.timeout):void 0,b=i,E={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:Ni++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(C=!1,L=!1){const{vnode:S,activeBranch:T,pendingBranch:R,pendingId:M,effects:x,parentComponent:V,container:Q}=E;let se=!1;E.isHydrating?E.isHydrating=!1:C||(se=T&&R.transition&&R.transition.mode==="out-in",se&&(T.transition.afterLeave=()=>{M===E.pendingId&&(h(R,Q,i===b?y(T):i,0),Cr(x))}),T&&(w(T.el)!==E.hiddenContainer&&(i=y(T)),m(T,V,E,!0)),se||h(R,Q,i,0)),qn(E,R),E.pendingBranch=null,E.isInFallback=!1;let U=E.parent,X=!1;for(;U;){if(U.pendingBranch){U.effects.push(...x),X=!0;break}U=U.parent}!X&&!se&&Cr(x),E.effects=[],_&&t&&t.pendingBranch&&A===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Ns(S,"onResolve")},fallback(C){if(!E.pendingBranch)return;const{vnode:L,activeBranch:S,parentComponent:T,container:R,namespace:M}=E;Ns(L,"onFallback");const x=y(S),V=()=>{E.isInFallback&&(u(null,C,R,x,T,null,M,l,c),qn(E,C))},Q=C.transition&&C.transition.mode==="out-in";Q&&(S.transition.afterLeave=V),E.isInFallback=!0,m(S,T,null,!0),Q||V()},move(C,L,S){E.activeBranch&&h(E.activeBranch,C,L,S),E.container=C},next(){return E.activeBranch&&y(E.activeBranch)},registerDep(C,L){const S=!!E.pendingBranch;S&&E.deps++;const T=C.vnode.el;C.asyncDep.catch(R=>{kn(R,C,0)}).then(R=>{if(C.isUnmounted||E.isUnmounted||E.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:M}=C;Di(C,R,!1),T&&(M.el=T);const x=!T&&C.subTree.el;L(C,M,w(T||C.subTree.el),T?null:y(C.subTree),E,o,c),x&&O(x),bo(C,M.el),S&&--E.deps===0&&E.resolve()})},unmount(C,L){E.isUnmounted=!0,E.activeBranch&&m(E.activeBranch,n,C,L),E.pendingBranch&&m(E.pendingBranch,n,C,L)}};return E}function zh(e,t,n,s,r,i,o,l,c){const a=t.suspense=So(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),f=c(e,a.pendingBranch=t.ssContent,n,a,i,o);return a.deps===0&&a.resolve(!1,!0),f}function Jh(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=_l(s?n.default:n),e.ssFallback=s?_l(n.fallback):ge(je)}function _l(e){let t;if(Z(e)){const n=Tn&&e._c;n&&(e._d=!1,re()),e=e(),n&&(e._d=!0,t=Ye,Ba())}return j(e)&&(e=Fh(e)),e=nt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function aa(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Cr(e)}function qn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,bo(s,r))}function Yh(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const fa=Symbol.for("v-scx"),ua=()=>ot(fa);function ha(e,t){return Hs(e,null,t)}function da(e,t){return Hs(e,null,{flush:"post"})}function pa(e,t){return Hs(e,null,{flush:"sync"})}const sr={};function gn(e,t,n){return Hs(e,t,n)}function Hs(e,t,{immediate:n,deep:s,flush:r,once:i,onTrack:o,onTrigger:l}=fe){if(t&&i){const C=t;t=(...L)=>{C(...L),E()}}const c=Ie,a=C=>s===!0?C:fn(C,s===!1?1:void 0);let f,u=!1,h=!1;if(Fe(e)?(f=()=>e.value,u=Cs(e)):mn(e)?(f=()=>a(e),u=!0):j(e)?(h=!0,u=e.some(C=>mn(C)||Cs(C)),f=()=>e.map(C=>{if(Fe(C))return C.value;if(mn(C))return a(C);if(Z(C))return $t(C,c,2)})):Z(e)?t?f=()=>$t(e,c,2):f=()=>(m&&m(),it(e,c,3,[y])):f=Oe,t&&s){const C=f;f=()=>fn(C())}let m,y=C=>{m=g.onStop=()=>{$t(C,c,4),m=g.onStop=void 0}},w;if(qs)if(y=Oe,t?n&&it(t,c,3,[f(),h?[]:void 0,y]):f(),r==="sync"){const C=ua();w=C.__watcherHandles||(C.__watcherHandles=[])}else return Oe;let O=h?new Array(e.length).fill(sr):sr;const A=()=>{if(!(!g.active||!g.dirty))if(t){const C=g.run();(s||u||(h?C.some((L,S)=>Et(L,O[S])):Et(C,O)))&&(m&&m(),it(t,c,3,[C,O===sr?void 0:h&&O[0]===sr?[]:O,y]),O=C)}else g.run()};A.allowRecurse=!!t;let _;r==="sync"?_=A:r==="post"?_=()=>$e(A,c&&c.suspense):(A.pre=!0,c&&(A.id=c.uid),_=()=>qr(A));const g=new zn(f,Oe,_),b=Lc(),E=()=>{g.stop(),b&&no(b.effects,g)};return t?n?A():O=g.run():r==="post"?$e(g.run.bind(g),c&&c.suspense):g.run(),w&&w.push(E),E}function Qh(e,t,n){const s=this.proxy,r=te(e)?e.includes(".")?ma(s,e):()=>s[e]:e.bind(s,s);let i;Z(t)?i=t:(i=t.handler,n=t);const o=wn(this),l=Hs(r,i.bind(s),n);return o(),l}function ma(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Fe(e))fn(e.value,t,n,s);else if(j(e))for(let r=0;r{fn(r,t,n,s)});else if(Ic(e))for(const r in e)fn(e[r],t,n,s);return e}function ds(e,t){if(Ae===null)return e;const n=Zr(Ae)||Ae.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Qr(()=>{e.isUnmounting=!0}),e}const ft=[Function,Array],To={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ft,onEnter:ft,onAfterEnter:ft,onEnterCancelled:ft,onBeforeLeave:ft,onLeave:ft,onAfterLeave:ft,onLeaveCancelled:ft,onBeforeAppear:ft,onAppear:ft,onAfterAppear:ft,onAppearCancelled:ft},Xh={name:"BaseTransition",props:To,setup(e,{slots:t}){const n=Dt(),s=Co();return()=>{const r=t.default&&zr(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const h of r)if(h.type!==je){i=h;break}}const o=oe(e),{mode:l}=o;if(s.isLeaving)return fi(i);const c=bl(i);if(!c)return fi(i);const a=Jn(c,o,s,n);Sn(c,a);const f=n.subTree,u=f&&bl(f);if(u&&u.type!==je&&!yt(c,u)){const h=Jn(u,o,s,n);if(Sn(u,h),l==="out-in")return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},fi(i);l==="in-out"&&c.type!==je&&(h.delayLeave=(m,y,w)=>{const O=ya(s,u);O[String(u.key)]=u,m[Wt]=()=>{y(),m[Wt]=void 0,delete a.delayedLeave},a.delayedLeave=w})}return i}}},ga=Xh;function ya(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Jn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:u,onLeave:h,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:w,onAppear:O,onAfterAppear:A,onAppearCancelled:_}=t,g=String(e.key),b=ya(n,e),E=(S,T)=>{S&&it(S,s,9,T)},C=(S,T)=>{const R=T[1];E(S,T),j(S)?S.every(M=>M.length<=1)&&R():S.length<=1&&R()},L={mode:i,persisted:o,beforeEnter(S){let T=l;if(!n.isMounted)if(r)T=w||l;else return;S[Wt]&&S[Wt](!0);const R=b[g];R&&yt(e,R)&&R.el[Wt]&&R.el[Wt](),E(T,[S])},enter(S){let T=c,R=a,M=f;if(!n.isMounted)if(r)T=O||c,R=A||a,M=_||f;else return;let x=!1;const V=S[rr]=Q=>{x||(x=!0,Q?E(M,[S]):E(R,[S]),L.delayedLeave&&L.delayedLeave(),S[rr]=void 0)};T?C(T,[S,V]):V()},leave(S,T){const R=String(e.key);if(S[rr]&&S[rr](!0),n.isUnmounting)return T();E(u,[S]);let M=!1;const x=S[Wt]=V=>{M||(M=!0,T(),V?E(y,[S]):E(m,[S]),S[Wt]=void 0,b[R]===e&&delete b[R])};b[R]=e,h?C(h,[S,x]):x()},clone(S){return Jn(S,t,n,s)}};return L}function fi(e){if(Us(e))return e=Nt(e),e.children=null,e}function bl(e){return Us(e)?e.children?e.children[0]:void 0:e}function Sn(e,t){e.shapeFlag&6&&e.component?Sn(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 zr(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Zh(e){Z(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let c=null,a,f=0;const u=()=>(f++,c=null,h()),h=()=>{let m;return c||(m=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((w,O)=>{l(y,()=>w(u()),()=>O(y),f+1)});throw y}).then(y=>m!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),a=y,y)))};return Me({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return a},setup(){const m=Ie;if(a)return()=>ui(a,m);const y=_=>{c=null,kn(_,m,13,!s)};if(o&&m.suspense||qs)return h().then(_=>()=>ui(_,m)).catch(_=>(y(_),()=>s?ge(s,{error:_}):null));const w=Rt(!1),O=Rt(),A=Rt(!!r);return r&&setTimeout(()=>{A.value=!1},r),i!=null&&setTimeout(()=>{if(!w.value&&!O.value){const _=new Error(`Async component timed out after ${i}ms.`);y(_),O.value=_}},i),h().then(()=>{w.value=!0,m.parent&&Us(m.parent.vnode)&&(m.parent.effect.dirty=!0,qr(m.parent.update))}).catch(_=>{y(_),O.value=_}),()=>{if(w.value&&a)return ui(a,m);if(O.value&&s)return ge(s,{error:O.value});if(n&&!A.value)return ge(n)}}})}function ui(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ge(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Us=e=>e.type.__isKeepAlive,ed={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dt(),s=n.ctx;if(!s.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:a,um:f,o:{createElement:u}}}=s,h=u("div");s.activate=(_,g,b,E,C)=>{const L=_.component;a(_,g,b,0,l),c(L.vnode,_,g,b,L,l,E,_.slotScopeIds,C),$e(()=>{L.isDeactivated=!1,L.a&&Un(L.a);const S=_.props&&_.props.onVnodeMounted;S&&Je(S,L.parent,_)},l)},s.deactivate=_=>{const g=_.component;a(_,h,null,1,l),$e(()=>{g.da&&Un(g.da);const b=_.props&&_.props.onVnodeUnmounted;b&&Je(b,g.parent,_),g.isDeactivated=!0},l)};function m(_){hi(_),f(_,n,l,!0)}function y(_){r.forEach((g,b)=>{const E=Bi(g.type);E&&(!_||!_(E))&&w(b)})}function w(_){const g=r.get(_);!o||!yt(g,o)?m(g):o&&hi(o),r.delete(_),i.delete(_)}gn(()=>[e.include,e.exclude],([_,g])=>{_&&y(b=>us(_,b)),g&&y(b=>!us(g,b))},{flush:"post",deep:!0});let O=null;const A=()=>{O!=null&&r.set(O,di(n.subTree))};return js(A),Yr(A),Qr(()=>{r.forEach(_=>{const{subTree:g,suspense:b}=n,E=di(g);if(_.type===E.type&&_.key===E.key){hi(E);const C=E.component.da;C&&$e(C,b);return}m(_)})}),()=>{if(O=null,!t.default)return null;const _=t.default(),g=_[0];if(_.length>1)return o=null,_;if(!sn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let b=di(g);const E=b.type,C=Bi(yn(b)?b.type.__asyncResolved||{}:E),{include:L,exclude:S,max:T}=e;if(L&&(!C||!us(L,C))||S&&C&&us(S,C))return o=b,g;const R=b.key==null?E:b.key,M=r.get(R);return b.el&&(b=Nt(b),g.shapeFlag&128&&(g.ssContent=b)),O=R,M?(b.el=M.el,b.component=M.component,b.transition&&Sn(b,b.transition),b.shapeFlag|=512,i.delete(R),i.add(R)):(i.add(R),T&&i.size>parseInt(T,10)&&w(i.values().next().value)),b.shapeFlag|=256,o=b,ca(g.type)?g:b}}},td=ed;function us(e,t){return j(e)?e.some(n=>us(n,t)):te(e)?e.split(",").includes(t):Cu(e)?e.test(t):!1}function wo(e,t){_a(e,"a",t)}function Ao(e,t){_a(e,"da",t)}function _a(e,t,n=Ie){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jr(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Us(r.parent.vnode)&&nd(s,t,n,r),r=r.parent}}function nd(e,t,n,s){const r=Jr(t,e,s,!0);Ks(()=>{no(s[t],r)},n)}function hi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function di(e){return e.shapeFlag&128?e.ssContent:e}function Jr(e,t,n=Ie,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;On();const l=wn(n),c=it(t,n,e,o);return l(),xn(),c});return s?r.unshift(i):r.push(i),i}}const Ft=e=>(t,n=Ie)=>(!qs||e==="sp")&&Jr(e,(...s)=>t(...s),n),ba=Ft("bm"),js=Ft("m"),va=Ft("bu"),Yr=Ft("u"),Qr=Ft("bum"),Ks=Ft("um"),Ea=Ft("sp"),Sa=Ft("rtg"),Ca=Ft("rtc");function Ta(e,t=Ie){Jr("ec",e,t)}function Ro(e,t,n,s){let r;const i=n&&n[s];if(j(e)||te(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;l{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function rd(e,t,n={},s,r){if(Ae.isCE||Ae.parent&&yn(Ae.parent)&&Ae.parent.isCE)return t!=="default"&&(n.name=t),ge("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),re();const o=i&&wa(i(n)),l=Pe(_e,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function wa(e){return e.some(t=>sn(t)?!(t.type===je||t.type===_e&&!wa(t.children)):!0)?e:null}function id(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Hn(s)]=e[s];return n}const Ii=e=>e?Wa(e)?Zr(e)||e.proxy:Ii(e.parent):null,ps=ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ii(e.parent),$root:e=>Ii(e.root),$emit:e=>e.emit,$options:e=>No(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qr(e.update)}),$nextTick:e=>e.n||(e.n=Bs.bind(e.proxy)),$watch:e=>Qh.bind(e)}),pi=(e,t)=>e!==fe&&!e.__isScriptSetup&&ce(e,t),Oi={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(pi(s,t))return o[t]=1,s[t];if(r!==fe&&ce(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&ce(a,t))return o[t]=3,i[t];if(n!==fe&&ce(n,t))return o[t]=4,n[t];xi&&(o[t]=0)}}const f=ps[t];let u,h;if(f)return t==="$attrs"&&Xe(e,"get",t),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==fe&&ce(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,ce(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return pi(r,t)?(r[t]=n,!0):s!==fe&&ce(s,t)?(s[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==fe&&ce(e,o)||pi(t,o)||(l=i[0])&&ce(l,o)||ce(s,o)||ce(ps,o)||ce(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},od=ae({},Oi,{get(e,t){if(t!==Symbol.unscopables)return Oi.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Iu(t)}});function ld(){return null}function cd(){return null}function ad(e){}function fd(e){}function ud(){return null}function hd(){}function dd(e,t){return null}function pd(){return Aa().slots}function md(){return Aa().attrs}function Aa(){const e=Dt();return e.setupContext||(e.setupContext=Ya(e))}function Is(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function gd(e,t){const n=Is(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?j(r)||Z(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function yd(e,t){return!e||!t?e||t:j(e)&&j(t)?e.concat(t):ae({},Is(e),Is(t))}function _d(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function bd(e){const t=Dt();let n=e();return Fi(),so(n)&&(n=n.catch(s=>{throw wn(t),s})),[n,()=>wn(t)]}let xi=!0;function vd(e){const t=No(e),n=e.proxy,s=e.ctx;xi=!1,t.beforeCreate&&vl(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:f,beforeMount:u,mounted:h,beforeUpdate:m,updated:y,activated:w,deactivated:O,beforeDestroy:A,beforeUnmount:_,destroyed:g,unmounted:b,render:E,renderTracked:C,renderTriggered:L,errorCaptured:S,serverPrefetch:T,expose:R,inheritAttrs:M,components:x,directives:V,filters:Q}=t;if(a&&Ed(a,s,null),o)for(const X in o){const W=o[X];Z(W)&&(s[X]=W.bind(n))}if(r){const X=r.call(n,n);pe(X)&&(e.data=os(X))}if(xi=!0,i)for(const X in i){const W=i[X],qe=Z(W)?W.bind(n,n):Z(W.get)?W.get.bind(n,n):Oe,at=!Z(W)&&Z(W.set)?W.set.bind(n):Oe,Ct=ut({get:qe,set:at});Object.defineProperty(s,X,{enumerable:!0,configurable:!0,get:()=>Ct.value,set:Ge=>Ct.value=Ge})}if(l)for(const X in l)Ra(l[X],s,n,X);if(c){const X=Z(c)?c.call(n):c;Reflect.ownKeys(X).forEach(W=>{ms(W,X[W])})}f&&vl(f,e,"c");function U(X,W){j(W)?W.forEach(qe=>X(qe.bind(n))):W&&X(W.bind(n))}if(U(ba,u),U(js,h),U(va,m),U(Yr,y),U(wo,w),U(Ao,O),U(Ta,S),U(Ca,C),U(Sa,L),U(Qr,_),U(Ks,b),U(Ea,T),j(R))if(R.length){const X=e.exposed||(e.exposed={});R.forEach(W=>{Object.defineProperty(X,W,{get:()=>n[W],set:qe=>n[W]=qe})})}else e.exposed||(e.exposed={});E&&e.render===Oe&&(e.render=E),M!=null&&(e.inheritAttrs=M),x&&(e.components=x),V&&(e.directives=V)}function Ed(e,t,n=Oe){j(e)&&(e=ki(e));for(const s in e){const r=e[s];let i;pe(r)?"default"in r?i=ot(r.from||s,r.default,!0):i=ot(r.from||s):i=ot(r),Fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function vl(e,t,n){it(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ra(e,t,n,s){const r=s.includes(".")?ma(n,s):()=>n[s];if(te(e)){const i=t[e];Z(i)&&gn(r,i)}else if(Z(e))gn(r,e.bind(n));else if(pe(e))if(j(e))e.forEach(i=>Ra(i,t,n,s));else{const i=Z(e.handler)?e.handler.bind(n):t[e.handler];Z(i)&&gn(r,i,e)}}function No(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>wr(c,a,o,!0)),wr(c,t,o)),pe(t)&&i.set(t,c),c}function wr(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&wr(e,i,n,!0),r&&r.forEach(o=>wr(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Sd[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Sd={data:El,props:Sl,emits:Sl,methods:hs,computed:hs,beforeCreate:We,created:We,beforeMount:We,mounted:We,beforeUpdate:We,updated:We,beforeDestroy:We,beforeUnmount:We,destroyed:We,unmounted:We,activated:We,deactivated:We,errorCaptured:We,serverPrefetch:We,components:hs,directives:hs,watch:Td,provide:El,inject:Cd};function El(e,t){return t?e?function(){return ae(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function Cd(e,t){return hs(ki(e),ki(t))}function ki(e){if(j(e)){const t={};for(let n=0;n1)return n&&Z(t)?t.call(s&&s.proxy):t}}function Rd(){return!!(Ie||Ae||Wn)}function Nd(e,t,n,s=!1){const r={},i={};vr(i,Xr,1),e.propsDefaults=Object.create(null),Ia(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:ao(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Id(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=oe(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let u=0;u{c=!0;const[h,m]=Oa(u,t,!0);ae(o,h),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return pe(e)&&s.set(e,Vn),Vn;if(j(i))for(let f=0;f-1,m[1]=w<0||y-1||ce(m,"default"))&&l.push(u)}}}const a=[o,l];return pe(e)&&s.set(e,a),a}function Cl(e){return e[0]!=="$"&&!Xt(e)}function Tl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function wl(e,t){return Tl(e)===Tl(t)}function Al(e,t){return j(t)?t.findIndex(n=>wl(n,e)):Z(t)&&wl(t,e)?0:-1}const xa=e=>e[0]==="_"||e==="$stable",Io=e=>j(e)?e.map(nt):[nt(e)],Od=(e,t,n)=>{if(t._n)return t;const s=_o((...r)=>Io(t(...r)),n);return s._c=!1,s},ka=(e,t,n)=>{const s=e._ctx;for(const r in e){if(xa(r))continue;const i=e[r];if(Z(i))t[r]=Od(r,i,s);else if(i!=null){const o=Io(i);t[r]=()=>o}}},Pa=(e,t)=>{const n=Io(t);e.slots.default=()=>n},xd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=oe(t),vr(t,"_",n)):ka(t,e.slots={})}else e.slots={},t&&Pa(e,t);vr(e.slots,Xr,1)},kd=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ae(r,t),!n&&l===1&&delete r._):(i=!t.$stable,ka(t,r)),o=t}else t&&(Pa(e,t),o={default:1});if(i)for(const l in r)!xa(l)&&o[l]==null&&delete r[l]};function Ar(e,t,n,s,r=!1){if(j(e)){e.forEach((h,m)=>Ar(h,t&&(j(t)?t[m]:t),n,s,r));return}if(yn(s)&&!r)return;const i=s.shapeFlag&4?Zr(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,f=l.refs===fe?l.refs={}:l.refs,u=l.setupState;if(a!=null&&a!==c&&(te(a)?(f[a]=null,ce(u,a)&&(u[a]=null)):Fe(a)&&(a.value=null)),Z(c))$t(c,l,12,[o,f]);else{const h=te(c),m=Fe(c);if(h||m){const y=()=>{if(e.f){const w=h?ce(u,c)?u[c]:f[c]:c.value;r?j(w)&&no(w,i):j(w)?w.includes(i)||w.push(i):h?(f[c]=[i],ce(u,c)&&(u[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else h?(f[c]=o,ce(u,c)&&(u[c]=o)):m&&(c.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,$e(y,n)):y()}}}let Bt=!1;const Pd=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Md=e=>e.namespaceURI.includes("MathML"),ir=e=>{if(Pd(e))return"svg";if(Md(e))return"mathml"},or=e=>e.nodeType===8;function Ld(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:a}}=e,f=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),Tr(),b._vnode=g;return}Bt=!1,u(b.firstChild,g,null,null,null),Tr(),b._vnode=g,Bt&&console.error("Hydration completed but contains mismatches.")},u=(g,b,E,C,L,S=!1)=>{const T=or(g)&&g.data==="[",R=()=>w(g,b,E,C,L,T),{type:M,ref:x,shapeFlag:V,patchFlag:Q}=b;let se=g.nodeType;b.el=g,Q===-2&&(S=!1,b.dynamicChildren=null);let U=null;switch(M){case Cn:se!==3?b.children===""?(c(b.el=r(""),o(g),g),U=g):U=R():(g.data!==b.children&&(Bt=!0,g.data=b.children),U=i(g));break;case je:_(g)?(U=i(g),A(b.el=g.content.firstChild,g,E)):se!==8||T?U=R():U=i(g);break;case _n:if(T&&(g=i(g),se=g.nodeType),se===1||se===3){U=g;const X=!b.children.length;for(let W=0;W{S=S||!!b.dynamicChildren;const{type:T,props:R,patchFlag:M,shapeFlag:x,dirs:V,transition:Q}=b,se=T==="input"||T==="option";if(se||M!==-1){V&&wt(b,null,E,"created");let U=!1;if(_(g)){U=Fa(C,Q)&&E&&E.vnode.props&&E.vnode.props.appear;const W=g.content.firstChild;U&&Q.beforeEnter(W),A(W,g,E),b.el=g=W}if(x&16&&!(R&&(R.innerHTML||R.textContent))){let W=m(g.firstChild,b,g,E,C,L,S);for(;W;){Bt=!0;const qe=W;W=W.nextSibling,l(qe)}}else x&8&&g.textContent!==b.children&&(Bt=!0,g.textContent=b.children);if(R)if(se||!S||M&48)for(const W in R)(se&&(W.endsWith("value")||W==="indeterminate")||Rn(W)&&!Xt(W)||W[0]===".")&&s(g,W,null,R[W],void 0,void 0,E);else R.onClick&&s(g,"onClick",null,R.onClick,void 0,void 0,E);let X;(X=R&&R.onVnodeBeforeMount)&&Je(X,E,b),V&&wt(b,null,E,"beforeMount"),((X=R&&R.onVnodeMounted)||V||U)&&aa(()=>{X&&Je(X,E,b),U&&Q.enter(g),V&&wt(b,null,E,"mounted")},C)}return g.nextSibling},m=(g,b,E,C,L,S,T)=>{T=T||!!b.dynamicChildren;const R=b.children,M=R.length;for(let x=0;x{const{slotScopeIds:T}=b;T&&(L=L?L.concat(T):T);const R=o(g),M=m(i(g),b,R,E,C,L,S);return M&&or(M)&&M.data==="]"?i(b.anchor=M):(Bt=!0,c(b.anchor=a("]"),R,M),M)},w=(g,b,E,C,L,S)=>{if(Bt=!0,b.el=null,S){const M=O(g);for(;;){const x=i(g);if(x&&x!==M)l(x);else break}}const T=i(g),R=o(g);return l(g),n(null,b,R,T,E,C,ir(R),L),T},O=(g,b="[",E="]")=>{let C=0;for(;g;)if(g=i(g),g&&or(g)&&(g.data===b&&C++,g.data===E)){if(C===0)return i(g);C--}return g},A=(g,b,E)=>{const C=b.parentNode;C&&C.replaceChild(g,b);let L=E;for(;L;)L.vnode.el===b&&(L.vnode.el=L.subTree.el=g),L=L.parent},_=g=>g.nodeType===1&&g.tagName.toLowerCase()==="template";return[f,u]}const $e=aa;function Ma(e){return $a(e)}function La(e){return $a(e,Ld)}function $a(e,t){const n=Oc();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:f,parentNode:u,nextSibling:h,setScopeId:m=Oe,insertStaticContent:y}=e,w=(d,p,v,k=null,N=null,F=null,H=void 0,$=null,D=!!p.dynamicChildren)=>{if(d===p)return;d&&!yt(d,p)&&(k=I(d),Ge(d,N,F,!0),d=null),p.patchFlag===-2&&(D=!1,p.dynamicChildren=null);const{type:P,ref:q,shapeFlag:Y}=p;switch(P){case Cn:O(d,p,v,k);break;case je:A(d,p,v,k);break;case _n:d==null&&_(p,v,k,H);break;case _e:x(d,p,v,k,N,F,H,$,D);break;default:Y&1?E(d,p,v,k,N,F,H,$,D):Y&6?V(d,p,v,k,N,F,H,$,D):(Y&64||Y&128)&&P.process(d,p,v,k,N,F,H,$,D,G)}q!=null&&N&&Ar(q,d&&d.ref,F,p||d,!p)},O=(d,p,v,k)=>{if(d==null)s(p.el=l(p.children),v,k);else{const N=p.el=d.el;p.children!==d.children&&a(N,p.children)}},A=(d,p,v,k)=>{d==null?s(p.el=c(p.children||""),v,k):p.el=d.el},_=(d,p,v,k)=>{[d.el,d.anchor]=y(d.children,p,v,k,d.el,d.anchor)},g=({el:d,anchor:p},v,k)=>{let N;for(;d&&d!==p;)N=h(d),s(d,v,k),d=N;s(p,v,k)},b=({el:d,anchor:p})=>{let v;for(;d&&d!==p;)v=h(d),r(d),d=v;r(p)},E=(d,p,v,k,N,F,H,$,D)=>{p.type==="svg"?H="svg":p.type==="math"&&(H="mathml"),d==null?C(p,v,k,N,F,H,$,D):T(d,p,N,F,H,$,D)},C=(d,p,v,k,N,F,H,$)=>{let D,P;const{props:q,shapeFlag:Y,transition:J,dirs:ee}=d;if(D=d.el=o(d.type,F,q&&q.is,q),Y&8?f(D,d.children):Y&16&&S(d.children,D,null,k,N,mi(d,F),H,$),ee&&wt(d,null,k,"created"),L(D,d,d.scopeId,H,k),q){for(const me in q)me!=="value"&&!Xt(me)&&i(D,me,null,q[me],F,d.children,k,N,De);"value"in q&&i(D,"value",null,q.value,F),(P=q.onVnodeBeforeMount)&&Je(P,k,d)}ee&&wt(d,null,k,"beforeMount");const ie=Fa(N,J);ie&&J.beforeEnter(D),s(D,p,v),((P=q&&q.onVnodeMounted)||ie||ee)&&$e(()=>{P&&Je(P,k,d),ie&&J.enter(D),ee&&wt(d,null,k,"mounted")},N)},L=(d,p,v,k,N)=>{if(v&&m(d,v),k)for(let F=0;F{for(let P=D;P{const $=p.el=d.el;let{patchFlag:D,dynamicChildren:P,dirs:q}=p;D|=d.patchFlag&16;const Y=d.props||fe,J=p.props||fe;let ee;if(v&&on(v,!1),(ee=J.onVnodeBeforeUpdate)&&Je(ee,v,p,d),q&&wt(p,d,v,"beforeUpdate"),v&&on(v,!0),P?R(d.dynamicChildren,P,$,v,k,mi(p,N),F):H||W(d,p,$,null,v,k,mi(p,N),F,!1),D>0){if(D&16)M($,p,Y,J,v,k,N);else if(D&2&&Y.class!==J.class&&i($,"class",null,J.class,N),D&4&&i($,"style",Y.style,J.style,N),D&8){const ie=p.dynamicProps;for(let me=0;me{ee&&Je(ee,v,p,d),q&&wt(p,d,v,"updated")},k)},R=(d,p,v,k,N,F,H)=>{for(let $=0;${if(v!==k){if(v!==fe)for(const $ in v)!Xt($)&&!($ in k)&&i(d,$,v[$],null,H,p.children,N,F,De);for(const $ in k){if(Xt($))continue;const D=k[$],P=v[$];D!==P&&$!=="value"&&i(d,$,P,D,H,p.children,N,F,De)}"value"in k&&i(d,"value",v.value,k.value,H)}},x=(d,p,v,k,N,F,H,$,D)=>{const P=p.el=d?d.el:l(""),q=p.anchor=d?d.anchor:l("");let{patchFlag:Y,dynamicChildren:J,slotScopeIds:ee}=p;ee&&($=$?$.concat(ee):ee),d==null?(s(P,v,k),s(q,v,k),S(p.children||[],v,q,N,F,H,$,D)):Y>0&&Y&64&&J&&d.dynamicChildren?(R(d.dynamicChildren,J,v,N,F,H,$),(p.key!=null||N&&p===N.subTree)&&Oo(d,p,!0)):W(d,p,v,q,N,F,H,$,D)},V=(d,p,v,k,N,F,H,$,D)=>{p.slotScopeIds=$,d==null?p.shapeFlag&512?N.ctx.activate(p,v,k,H,D):Q(p,v,k,N,F,H,D):se(d,p,D)},Q=(d,p,v,k,N,F,H)=>{const $=d.component=qa(d,k,N);if(Us(d)&&($.ctx.renderer=G),Ga($),$.asyncDep){if(N&&N.registerDep($,U),!d.el){const D=$.subTree=ge(je);A(null,D,p,v)}}else U($,d,p,v,N,F,H)},se=(d,p,v)=>{const k=p.component=d.component;if(Bh(d,p,v))if(k.asyncDep&&!k.asyncResolved){X(k,p,v);return}else k.next=p,Ph(k.update),k.effect.dirty=!0,k.update();else p.el=d.el,k.vnode=p},U=(d,p,v,k,N,F,H)=>{const $=()=>{if(d.isMounted){let{next:q,bu:Y,u:J,parent:ee,vnode:ie}=d;{const Ln=Da(d);if(Ln){q&&(q.el=ie.el,X(d,q,H)),Ln.asyncDep.then(()=>{d.isUnmounted||$()});return}}let me=q,ve;on(d,!1),q?(q.el=ie.el,X(d,q,H)):q=ie,Y&&Un(Y),(ve=q.props&&q.props.onVnodeBeforeUpdate)&&Je(ve,ee,q,ie),on(d,!0);const ke=dr(d),mt=d.subTree;d.subTree=ke,w(mt,ke,u(mt.el),I(mt),d,N,F),q.el=ke.el,me===null&&bo(d,ke.el),J&&$e(J,N),(ve=q.props&&q.props.onVnodeUpdated)&&$e(()=>Je(ve,ee,q,ie),N)}else{let q;const{el:Y,props:J}=p,{bm:ee,m:ie,parent:me}=d,ve=yn(p);if(on(d,!1),ee&&Un(ee),!ve&&(q=J&&J.onVnodeBeforeMount)&&Je(q,me,p),on(d,!0),Y&&be){const ke=()=>{d.subTree=dr(d),be(Y,d.subTree,d,N,null)};ve?p.type.__asyncLoader().then(()=>!d.isUnmounted&&ke()):ke()}else{const ke=d.subTree=dr(d);w(null,ke,v,k,d,N,F),p.el=ke.el}if(ie&&$e(ie,N),!ve&&(q=J&&J.onVnodeMounted)){const ke=p;$e(()=>Je(q,me,ke),N)}(p.shapeFlag&256||me&&yn(me.vnode)&&me.vnode.shapeFlag&256)&&d.a&&$e(d.a,N),d.isMounted=!0,p=v=k=null}},D=d.effect=new zn($,Oe,()=>qr(P),d.scope),P=d.update=()=>{D.dirty&&D.run()};P.id=d.uid,on(d,!0),P()},X=(d,p,v)=>{p.component=d;const k=d.vnode.props;d.vnode=p,d.next=null,Id(d,p.props,k,v),kd(d,p.children,v),On(),ml(d),xn()},W=(d,p,v,k,N,F,H,$,D=!1)=>{const P=d&&d.children,q=d?d.shapeFlag:0,Y=p.children,{patchFlag:J,shapeFlag:ee}=p;if(J>0){if(J&128){at(P,Y,v,k,N,F,H,$,D);return}else if(J&256){qe(P,Y,v,k,N,F,H,$,D);return}}ee&8?(q&16&&De(P,N,F),Y!==P&&f(v,Y)):q&16?ee&16?at(P,Y,v,k,N,F,H,$,D):De(P,N,F,!0):(q&8&&f(v,""),ee&16&&S(Y,v,k,N,F,H,$,D))},qe=(d,p,v,k,N,F,H,$,D)=>{d=d||Vn,p=p||Vn;const P=d.length,q=p.length,Y=Math.min(P,q);let J;for(J=0;Jq?De(d,N,F,!0,!1,Y):S(p,v,k,N,F,H,$,D,Y)},at=(d,p,v,k,N,F,H,$,D)=>{let P=0;const q=p.length;let Y=d.length-1,J=q-1;for(;P<=Y&&P<=J;){const ee=d[P],ie=p[P]=D?Gt(p[P]):nt(p[P]);if(yt(ee,ie))w(ee,ie,v,null,N,F,H,$,D);else break;P++}for(;P<=Y&&P<=J;){const ee=d[Y],ie=p[J]=D?Gt(p[J]):nt(p[J]);if(yt(ee,ie))w(ee,ie,v,null,N,F,H,$,D);else break;Y--,J--}if(P>Y){if(P<=J){const ee=J+1,ie=eeJ)for(;P<=Y;)Ge(d[P],N,F,!0),P++;else{const ee=P,ie=P,me=new Map;for(P=ie;P<=J;P++){const Ze=p[P]=D?Gt(p[P]):nt(p[P]);Ze.key!=null&&me.set(Ze.key,P)}let ve,ke=0;const mt=J-ie+1;let Ln=!1,sl=0;const ls=new Array(mt);for(P=0;P=mt){Ge(Ze,N,F,!0);continue}let Tt;if(Ze.key!=null)Tt=me.get(Ze.key);else for(ve=ie;ve<=J;ve++)if(ls[ve-ie]===0&&yt(Ze,p[ve])){Tt=ve;break}Tt===void 0?Ge(Ze,N,F,!0):(ls[Tt-ie]=P+1,Tt>=sl?sl=Tt:Ln=!0,w(Ze,p[Tt],v,null,N,F,H,$,D),ke++)}const rl=Ln?$d(ls):Vn;for(ve=rl.length-1,P=mt-1;P>=0;P--){const Ze=ie+P,Tt=p[Ze],il=Ze+1{const{el:F,type:H,transition:$,children:D,shapeFlag:P}=d;if(P&6){Ct(d.component.subTree,p,v,k);return}if(P&128){d.suspense.move(p,v,k);return}if(P&64){H.move(d,p,v,G);return}if(H===_e){s(F,p,v);for(let Y=0;Y$.enter(F),N);else{const{leave:Y,delayLeave:J,afterLeave:ee}=$,ie=()=>s(F,p,v),me=()=>{Y(F,()=>{ie(),ee&&ee()})};J?J(F,ie,me):me()}else s(F,p,v)},Ge=(d,p,v,k=!1,N=!1)=>{const{type:F,props:H,ref:$,children:D,dynamicChildren:P,shapeFlag:q,patchFlag:Y,dirs:J}=d;if($!=null&&Ar($,null,v,d,!0),q&256){p.ctx.deactivate(d);return}const ee=q&1&&J,ie=!yn(d);let me;if(ie&&(me=H&&H.onVnodeBeforeUnmount)&&Je(me,p,d),q&6)Ys(d.component,v,k);else{if(q&128){d.suspense.unmount(v,k);return}ee&&wt(d,null,p,"beforeUnmount"),q&64?d.type.remove(d,p,v,N,G,k):P&&(F!==_e||Y>0&&Y&64)?De(P,p,v,!1,!0):(F===_e&&Y&384||!N&&q&16)&&De(D,p,v),k&&Pn(d)}(ie&&(me=H&&H.onVnodeUnmounted)||ee)&&$e(()=>{me&&Je(me,p,d),ee&&wt(d,null,p,"unmounted")},v)},Pn=d=>{const{type:p,el:v,anchor:k,transition:N}=d;if(p===_e){Mn(v,k);return}if(p===_n){b(d);return}const F=()=>{r(v),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(d.shapeFlag&1&&N&&!N.persisted){const{leave:H,delayLeave:$}=N,D=()=>H(v,F);$?$(d.el,F,D):D()}else F()},Mn=(d,p)=>{let v;for(;d!==p;)v=h(d),r(d),d=v;r(p)},Ys=(d,p,v)=>{const{bum:k,scope:N,update:F,subTree:H,um:$}=d;k&&Un(k),N.stop(),F&&(F.active=!1,Ge(H,d,p,v)),$&&$e($,p),$e(()=>{d.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},De=(d,p,v,k=!1,N=!1,F=0)=>{for(let H=F;Hd.shapeFlag&6?I(d.component.subTree):d.shapeFlag&128?d.suspense.next():h(d.anchor||d.el);let K=!1;const B=(d,p,v)=>{d==null?p._vnode&&Ge(p._vnode,null,null,!0):w(p._vnode||null,d,p,null,null,null,v),K||(K=!0,ml(),Tr(),K=!1),p._vnode=d},G={p:w,um:Ge,m:Ct,r:Pn,mt:Q,mc:S,pc:W,pbc:R,n:I,o:e};let he,be;return t&&([he,be]=t(G)),{render:B,hydrate:he,createApp:Ad(B,he)}}function mi({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function on({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oo(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Da(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Da(t)}const Fd=e=>e.__isTeleport,gs=e=>e&&(e.disabled||e.disabled===""),Rl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Nl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Mi=(e,t)=>{const n=e&&e.to;return te(n)?t?t(n):null:n},Dd={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,a){const{mc:f,pc:u,pbc:h,o:{insert:m,querySelector:y,createText:w,createComment:O}}=a,A=gs(t.props);let{shapeFlag:_,children:g,dynamicChildren:b}=t;if(e==null){const E=t.el=w(""),C=t.anchor=w("");m(E,n,s),m(C,n,s);const L=t.target=Mi(t.props,y),S=t.targetAnchor=w("");L&&(m(S,L),o==="svg"||Rl(L)?o="svg":(o==="mathml"||Nl(L))&&(o="mathml"));const T=(R,M)=>{_&16&&f(g,R,M,r,i,o,l,c)};A?T(n,C):L&&T(L,S)}else{t.el=e.el;const E=t.anchor=e.anchor,C=t.target=e.target,L=t.targetAnchor=e.targetAnchor,S=gs(e.props),T=S?n:C,R=S?E:L;if(o==="svg"||Rl(C)?o="svg":(o==="mathml"||Nl(C))&&(o="mathml"),b?(h(e.dynamicChildren,b,T,r,i,o,l),Oo(e,t,!0)):c||u(e,t,T,R,r,i,o,l,!1),A)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):lr(t,n,E,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=Mi(t.props,y);M&&lr(t,M,null,a,0)}else S&&lr(t,C,L,a,1)}Va(t)},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:u,props:h}=e;if(u&&i(f),o&&i(a),l&16){const m=o||!gs(h);for(let y=0;y0?Ye||Vn:null,Ba(),Tn>0&&Ye&&Ye.push(e),e}function xe(e,t,n,s,r,i){return Ha(z(e,t,n,s,r,i,!0))}function Pe(e,t,n,s,r){return Ha(ge(e,t,n,s,r,!0))}function sn(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}function Hd(e){}const Xr="__vInternal",Ua=({key:e})=>e??null,pr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||Fe(e)||Z(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function z(e,t=null,n=null,s=0,r=null,i=e===_e?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ua(t),ref:t&&pr(t),scopeId:Gr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ae};return l?(xo(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=te(n)?8:16),Tn>0&&!o&&Ye&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ye.push(c),c}const ge=Ud;function Ud(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===la)&&(e=je),sn(e)){const l=Nt(e,t,!0);return n&&xo(l,n),Tn>0&&!i&&Ye&&(l.shapeFlag&6?Ye[Ye.indexOf(e)]=l:Ye.push(l)),l.patchFlag|=-2,l}if(Yd(e)&&(e=e.__vccOpts),t){t=ja(t);let{class:l,style:c}=t;l&&!te(l)&&(t.class=is(l)),pe(c)&&(uo(c)&&!j(c)&&(c=ae({},c)),t.style=Vs(c))}const o=te(e)?1:ca(e)?128:Fd(e)?64:pe(e)?4:Z(e)?2:0;return z(e,t,n,s,r,o,i,!0)}function ja(e){return e?uo(e)||Xr in e?ae({},e):e:null}function Nt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?Ka(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ua(l),ref:t&&t.ref?n&&r?j(r)?r.concat(pr(t)):[r,pr(t)]:pr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nt(e.ssContent),ssFallback:e.ssFallback&&Nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ue(e=" ",t=0){return ge(Cn,null,e,t)}function jd(e,t){const n=ge(_n,null,e);return n.staticCount=t,n}function Kd(e="",t=!1){return t?(re(),Pe(je,null,e)):ge(je,null,e)}function nt(e){return e==null||typeof e=="boolean"?ge(je):j(e)?ge(_e,null,e.slice()):typeof e=="object"?Gt(e):ge(Cn,null,String(e))}function Gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nt(e)}function xo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),xo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Xr in t)?t._ctx=Ae:r===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Z(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),s&64?(n=16,t=[Ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ka(...e){const t={};for(let n=0;nIe||Ae;let Rr,$i;{const e=Oc(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Rr=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),$i=t("__VUE_SSR_SETTERS__",n=>qs=n)}const wn=e=>{const t=Ie;return Rr(e),e.scope.on(),()=>{e.scope.off(),Rr(t)}},Fi=()=>{Ie&&Ie.scope.off(),Rr(null)};function Wa(e){return e.vnode.shapeFlag&4}let qs=!1;function Ga(e,t=!1){t&&$i(t);const{props:n,children:s}=e.vnode,r=Wa(e);Nd(e,n,r,t),xd(e,s);const i=r?Gd(e,t):void 0;return t&&$i(!1),i}function Gd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ho(new Proxy(e.ctx,Oi));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ya(e):null,i=wn(e);On();const o=$t(s,e,0,[e.props,r]);if(xn(),i(),so(o)){if(o.then(Fi,Fi),t)return o.then(l=>{Di(e,l,t)}).catch(l=>{kn(l,e,0)});e.asyncDep=o}else Di(e,o,t)}else Ja(e,t)}function Di(e,t,n){Z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=go(t)),Ja(e,n)}let Nr,Vi;function za(e){Nr=e,Vi=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,od))}}const zd=()=>!Nr;function Ja(e,t,n){const s=e.type;if(!e.render){if(!t&&Nr&&!s.render){const r=s.template||No(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ae(ae({isCustomElement:i,delimiters:l},o),c);s.render=Nr(r,a)}}e.render=s.render||Oe,Vi&&Vi(e)}{const r=wn(e);On();try{vd(e)}finally{xn(),r()}}}function Jd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Xe(e,"get","$attrs"),t[n]}}))}function Ya(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Jd(e)},slots:e.slots,emit:e.emit,expose:t}}function Zr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(go(ho(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ps)return ps[n](e)},has(t,n){return n in t||n in ps}}))}function Bi(e,t=!0){return Z(e)?e.displayName||e.name:e.name||t&&e.__name}function Yd(e){return Z(e)&&"__vccOpts"in e}const ut=(e,t)=>gh(e,t,qs);function Qd(e,t,n=fe){const s=Dt(),r=Se(t),i=rt(t),o=Xc((c,a)=>{let f;return pa(()=>{const u=e[t];Et(f,u)&&(f=u,a())}),{get(){return c(),n.get?n.get(f):f},set(u){const h=s.vnode.props;!(h&&(t in h||r in h||i in h)&&(`onUpdate:${t}`in h||`onUpdate:${r}`in h||`onUpdate:${i}`in h))&&Et(u,f)&&(f=u,a()),s.emit(`update:${t}`,n.set?n.set(u):u)}}}),l=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return o[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?e[l]||{}:o,done:!1}:{done:!0}}}},o}function ei(e,t,n){const s=arguments.length;return s===2?pe(t)&&!j(t)?sn(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&sn(n)&&(n=[n]),ge(e,t,n))}function Xd(){}function Zd(e,t,n,s){const r=n[s];if(r&&Qa(r,e))return r;const i=t();return i.memo=e.slice(),n[s]=i}function Qa(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&Ye&&Ye.push(e),!0}const Xa="3.4.21",ep=Oe,tp=Oh,np=Fn,sp=sa,rp={createComponentInstance:qa,setupComponent:Ga,renderComponentRoot:dr,setCurrentRenderingInstance:Rs,isVNode:sn,normalizeVNode:nt},ip=rp,op=null,lp=null,cp=null;/** +* @vue/runtime-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const ap="http://www.w3.org/2000/svg",fp="http://www.w3.org/1998/Math/MathML",zt=typeof document<"u"?document:null,Il=zt&&zt.createElement("template"),up={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?zt.createElementNS(ap,e):t==="mathml"?zt.createElementNS(fp,e):zt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>zt.createTextNode(e),createComment:e=>zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Il.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=Il.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ht="transition",cs="animation",Yn=Symbol("_vtc"),ko=(e,{slots:t})=>ei(ga,ef(e),t);ko.displayName="Transition";const Za={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},hp=ko.props=ae({},To,Za),ln=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ol=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function ef(e){const t={};for(const x in e)x in Za||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:f=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,y=dp(r),w=y&&y[0],O=y&&y[1],{onBeforeEnter:A,onEnter:_,onEnterCancelled:g,onLeave:b,onLeaveCancelled:E,onBeforeAppear:C=A,onAppear:L=_,onAppearCancelled:S=g}=t,T=(x,V,Q)=>{Kt(x,V?f:l),Kt(x,V?a:o),Q&&Q()},R=(x,V)=>{x._isLeaving=!1,Kt(x,u),Kt(x,m),Kt(x,h),V&&V()},M=x=>(V,Q)=>{const se=x?L:_,U=()=>T(V,x,Q);ln(se,[V,U]),xl(()=>{Kt(V,x?c:i),xt(V,x?f:l),Ol(se)||kl(V,s,w,U)})};return ae(t,{onBeforeEnter(x){ln(A,[x]),xt(x,i),xt(x,o)},onBeforeAppear(x){ln(C,[x]),xt(x,c),xt(x,a)},onEnter:M(!1),onAppear:M(!0),onLeave(x,V){x._isLeaving=!0;const Q=()=>R(x,V);xt(x,u),nf(),xt(x,h),xl(()=>{x._isLeaving&&(Kt(x,u),xt(x,m),Ol(b)||kl(x,s,O,Q))}),ln(b,[x,Q])},onEnterCancelled(x){T(x,!1),ln(g,[x])},onAppearCancelled(x){T(x,!0),ln(S,[x])},onLeaveCancelled(x){R(x),ln(E,[x])}})}function dp(e){if(e==null)return null;if(pe(e))return[gi(e.enter),gi(e.leave)];{const t=gi(e);return[t,t]}}function gi(e){return Er(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Yn]||(e[Yn]=new Set)).add(t)}function Kt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Yn];n&&(n.delete(t),n.size||(e[Yn]=void 0))}function xl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let pp=0;function kl(e,t,n,s){const r=e._endId=++pp,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=tf(e,t);if(!o)return s();const a=o+"end";let f=0;const u=()=>{e.removeEventListener(a,h),i()},h=m=>{m.target===e&&++f>=c&&u()};setTimeout(()=>{f(n[y]||"").split(", "),r=s(`${Ht}Delay`),i=s(`${Ht}Duration`),o=Pl(r,i),l=s(`${cs}Delay`),c=s(`${cs}Duration`),a=Pl(l,c);let f=null,u=0,h=0;t===Ht?o>0&&(f=Ht,u=o,h=i.length):t===cs?a>0&&(f=cs,u=a,h=c.length):(u=Math.max(o,a),f=u>0?o>a?Ht:cs:null,h=f?f===Ht?i.length:c.length:0);const m=f===Ht&&/\b(transform|all)(,|$)/.test(s(`${Ht}Property`).toString());return{type:f,timeout:u,propCount:h,hasTransform:m}}function Pl(e,t){for(;e.lengthMl(n)+Ml(e[s])))}function Ml(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function nf(){return document.body.offsetHeight}function mp(e,t,n){const s=e[Yn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ir=Symbol("_vod"),sf=Symbol("_vsh"),rf={beforeMount(e,{value:t},{transition:n}){e[Ir]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):as(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),as(e,!0),s.enter(e)):s.leave(e,()=>{as(e,!1)}):as(e,t))},beforeUnmount(e,{value:t}){as(e,t)}};function as(e,t){e.style.display=t?e[Ir]:"none",e[sf]=!t}function gp(){rf.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const of=Symbol("");function yp(e){const t=Dt();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Ui(i,r))},s=()=>{const r=e(t.proxy);Hi(t.subTree,r),n(r)};da(s),js(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ks(()=>r.disconnect())})}function Hi(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hi(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ui(e.el,t);else if(e.type===_e)e.children.forEach(n=>Hi(n,t));else if(e.type===_n){let{el:n,anchor:s}=e;for(;n&&(Ui(n,t),n!==s);)n=n.nextSibling}}function Ui(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[of]=s}}const _p=/(^|;)\s*display\s*:/;function bp(e,t,n){const s=e.style,r=te(n);let i=!1;if(n&&!r){if(t)if(te(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&mr(s,l,"")}else for(const o in t)n[o]==null&&mr(s,o,"");for(const o in n)o==="display"&&(i=!0),mr(s,o,n[o])}else if(r){if(t!==n){const o=s[of];o&&(n+=";"+o),s.cssText=n,i=_p.test(n)}}else t&&e.removeAttribute("style");Ir in e&&(e[Ir]=i?s.display:"",e[sf]&&(s.display="none"))}const Ll=/\s*!important$/;function mr(e,t,n){if(j(n))n.forEach(s=>mr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=vp(e,t);Ll.test(n)?e.setProperty(rt(s),n.replace(Ll,""),"important"):e[s]=n}}const $l=["Webkit","Moz","ms"],yi={};function vp(e,t){const n=yi[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return yi[t]=s;s=In(s);for(let r=0;r<$l.length;r++){const i=$l[r]+s;if(i in e)return yi[t]=i}return t}const Fl="http://www.w3.org/1999/xlink";function Ep(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Fl,t.slice(6,t.length)):e.setAttributeNS(Fl,t,n);else{const i=ju(t);n==null||i&&!kc(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Sp(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const a=l==="OPTION"?e.getAttribute("value")||"":e.value,f=n??"";(a!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let c=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=kc(n):n==null&&a==="string"?(n="",c=!0):a==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function Pt(e,t,n,s){e.addEventListener(t,n,s)}function Cp(e,t,n,s){e.removeEventListener(t,n,s)}const Dl=Symbol("_vei");function Tp(e,t,n,s,r=null){const i=e[Dl]||(e[Dl]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=wp(t);if(s){const a=i[t]=Np(s,r);Pt(e,l,a,c)}else o&&(Cp(e,l,o,c),i[t]=void 0)}}const Vl=/(?:Once|Passive|Capture)$/;function wp(e){let t;if(Vl.test(e)){t={};let s;for(;s=e.match(Vl);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rt(e.slice(2)),t]}let _i=0;const Ap=Promise.resolve(),Rp=()=>_i||(Ap.then(()=>_i=0),_i=Date.now());function Np(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;it(Ip(s,n.value),t,5,[s])};return n.value=e,n.attached=Rp(),n}function Ip(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Bl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Op=(e,t,n,s,r,i,o,l,c)=>{const a=r==="svg";t==="class"?mp(e,s,a):t==="style"?bp(e,n,s):Rn(t)?to(t)||Tp(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xp(e,t,s,a))?Sp(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ep(e,t,s,a))};function xp(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Bl(t)&&Z(n));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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Bl(t)&&te(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function lf(e,t){const n=Me(e);class s extends ti{constructor(i){super(n,i,t)}}return s.def=n,s}/*! #__NO_SIDE_EFFECTS__ */const kp=e=>lf(e,bf),Pp=typeof HTMLElement<"u"?HTMLElement:class{};class ti extends Pp{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Bs(()=>{this._connected||(ji(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:i,styles:o}=s;let l;if(i&&!j(i))for(const c in i){const a=i[c];(a===Number||a&&a.type===Number)&&(c in this._props&&(this._props[c]=Er(this._props[c])),(l||(l=Object.create(null)))[Se(c)]=!0)}this._numberProps=l,r&&this._resolveProps(s),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=j(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(Se))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(t){let n=this.getAttribute(t);const s=Se(t);this._numberProps&&this._numberProps[s]&&(n=Er(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(rt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(rt(t),n+""):n||this.removeAttribute(rt(t))))}_update(){ji(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ge(this._def,ae({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};n.emit=(i,...o)=>{s(i,o),rt(i)!==i&&s(rt(i),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ti){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function Mp(e="$style"){{const t=Dt();if(!t)return fe;const n=t.type.__cssModules;if(!n)return fe;const s=n[e];return s||fe}}const cf=new WeakMap,af=new WeakMap,Or=Symbol("_moveCb"),Hl=Symbol("_enterCb"),ff={name:"TransitionGroup",props:ae({},hp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Dt(),s=Co();let r,i;return Yr(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Bp(r[0].el,n.vnode.el,o))return;r.forEach(Fp),r.forEach(Dp);const l=r.filter(Vp);nf(),l.forEach(c=>{const a=c.el,f=a.style;xt(a,o),f.transform=f.webkitTransform=f.transitionDuration="";const u=a[Or]=h=>{h&&h.target!==a||(!h||/transform$/.test(h.propertyName))&&(a.removeEventListener("transitionend",u),a[Or]=null,Kt(a,o))};a.addEventListener("transitionend",u)})}),()=>{const o=oe(e),l=ef(o);let c=o.tag||_e;r=i,i=t.default?zr(t.default()):[];for(let a=0;adelete e.mode;ff.props;const $p=ff;function Fp(e){const t=e.el;t[Or]&&t[Or](),t[Hl]&&t[Hl]()}function Dp(e){af.set(e,e.el.getBoundingClientRect())}function Vp(e){const t=cf.get(e),n=af.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function Bp(e,t,n){const s=e.cloneNode(),r=e[Yn];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=tf(s);return i.removeChild(s),o}const rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>Un(t,n):t};function Hp(e){e.target.composing=!0}function Ul(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pt=Symbol("_assign"),Os={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[pt]=rn(r);const i=s||r.props&&r.props.type==="number";Pt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Ss(l)),e[pt](l)}),n&&Pt(e,"change",()=>{e.value=e.value.trim()}),t||(Pt(e,"compositionstart",Hp),Pt(e,"compositionend",Ul),Pt(e,"change",Ul))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e[pt]=rn(i),e.composing)return;const o=r||e.type==="number"?Ss(e.value):e.value,l=t??"";o!==l&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===l)||(e.value=l))}},Gn={deep:!0,created(e,t,n){e[pt]=rn(n),Pt(e,"change",()=>{const s=e._modelValue,r=Qn(e),i=e.checked,o=e[pt];if(j(s)){const l=Hr(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const a=[...s];a.splice(l,1),o(a)}}else if(Nn(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(hf(e,i))})},mounted:jl,beforeUpdate(e,t,n){e[pt]=rn(n),jl(e,t,n)}};function jl(e,{value:t,oldValue:n},s){e._modelValue=t,j(t)?e.checked=Hr(t,s.props.value)>-1:Nn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=tn(t,hf(e,!0)))}const Po={created(e,{value:t},n){e.checked=tn(t,n.props.value),e[pt]=rn(n),Pt(e,"change",()=>{e[pt](Qn(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[pt]=rn(s),t!==n&&(e.checked=tn(t,s.props.value))}},uf={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Nn(t);Pt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Ss(Qn(o)):Qn(o));e[pt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Bs(()=>{e._assigning=!1})}),e[pt]=rn(s)},mounted(e,{value:t,modifiers:{number:n}}){Kl(e,t,n)},beforeUpdate(e,t,n){e[pt]=rn(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Kl(e,t,n)}};function Kl(e,t,n){const s=e.multiple,r=j(t);if(!(s&&!r&&!Nn(t))){for(let i=0,o=e.options.length;i-1}else l.selected=t.has(c);else if(tn(Qn(l),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qn(e){return"_value"in e?e._value:e.value}function hf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const df={created(e,t,n){cr(e,t,n,null,"created")},mounted(e,t,n){cr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){cr(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){cr(e,t,n,s,"updated")}};function pf(e,t){switch(e){case"SELECT":return uf;case"TEXTAREA":return Os;default:switch(t){case"checkbox":return Gn;case"radio":return Po;default:return Os}}}function cr(e,t,n,s,r){const o=pf(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function Up(){Os.getSSRProps=({value:e})=>({value:e}),Po.getSSRProps=({value:e},t)=>{if(t.props&&tn(t.props.value,e))return{checked:!0}},Gn.getSSRProps=({value:e},t)=>{if(j(e)){if(t.props&&Hr(e,t.props.value)>-1)return{checked:!0}}else if(Nn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},df.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=pf(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const jp=["ctrl","shift","alt","meta"],Kp={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)=>jp.some(n=>e[`${n}Key`]&&!t.includes(n))},mf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=rt(r.key);if(t.some(o=>o===i||qp[o]===i))return e(r)})},gf=ae({patchProp:Op},up);let _s,ql=!1;function yf(){return _s||(_s=Ma(gf))}function _f(){return _s=ql?_s:La(gf),ql=!0,_s}const ji=(...e)=>{yf().render(...e)},bf=(...e)=>{_f().hydrate(...e)},vf=(...e)=>{const t=yf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Sf(s);if(!r)return;const i=t._component;!Z(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,Ef(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Gp=(...e)=>{const t=_f().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Sf(s);if(r)return n(r,!0,Ef(r))},t};function Ef(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sf(e){return te(e)?document.querySelector(e):e}let Wl=!1;const zp=()=>{Wl||(Wl=!0,Up(),gp())},Jp=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:ga,BaseTransitionPropsValidators:To,Comment:je,DeprecationTypes:cp,EffectScope:io,ErrorCodes:Ih,ErrorTypeStrings:tp,Fragment:_e,KeepAlive:td,ReactiveEffect:zn,Static:_n,Suspense:qh,Teleport:Bd,Text:Cn,TrackOpTypes:Ah,Transition:ko,TransitionGroup:$p,TriggerOpTypes:Rh,VueElement:ti,assertNumber:Nh,callWithAsyncErrorHandling:it,callWithErrorHandling:$t,camelize:Se,capitalize:In,cloneVNode:Nt,compatUtils:lp,computed:ut,createApp:vf,createBlock:Pe,createCommentVNode:Kd,createElementBlock:xe,createElementVNode:z,createHydrationRenderer:La,createPropsRestProxy:_d,createRenderer:Ma,createSSRApp:Gp,createSlots:sd,createStaticVNode:jd,createTextVNode:Ue,createVNode:ge,customRef:Xc,defineAsyncComponent:Zh,defineComponent:Me,defineCustomElement:lf,defineEmits:cd,defineExpose:ad,defineModel:hd,defineOptions:fd,defineProps:ld,defineSSRCustomElement:kp,defineSlots:ud,devtools:np,effect:zu,effectScope:qu,getCurrentInstance:Dt,getCurrentScope:Lc,getTransitionRawChildren:zr,guardReactiveProps:ja,h:ei,handleError:kn,hasInjectionContext:Rd,hydrate:bf,initCustomFormatter:Xd,initDirectivesForSSR:zp,inject:ot,isMemoSame:Qa,isProxy:uo,isReactive:mn,isReadonly:En,isRef:Fe,isRuntimeOnly:zd,isShallow:Cs,isVNode:sn,markRaw:ho,mergeDefaults:gd,mergeModels:yd,mergeProps:Ka,nextTick:Bs,normalizeClass:is,normalizeProps:Pu,normalizeStyle:Vs,onActivated:wo,onBeforeMount:ba,onBeforeUnmount:Qr,onBeforeUpdate:va,onDeactivated:Ao,onErrorCaptured:Ta,onMounted:js,onRenderTracked:Ca,onRenderTriggered:Sa,onScopeDispose:Wu,onServerPrefetch:Ea,onUnmounted:Ks,onUpdated:Yr,openBlock:re,popScopeId:oa,provide:ms,proxyRefs:go,pushScopeId:ia,queuePostFlushCb:Cr,reactive:os,readonly:fo,ref:Rt,registerRuntimeCompiler:za,render:ji,renderList:Ro,renderSlot:rd,resolveComponent:Uh,resolveDirective:jh,resolveDynamicComponent:_t,resolveFilter:op,resolveTransitionHooks:Jn,setBlockTracking:Li,setDevtoolsHook:sp,setTransitionHooks:Sn,shallowReactive:ao,shallowReadonly:mh,shallowRef:Yc,ssrContextKey:fa,ssrUtils:ip,stop:Ju,toDisplayString:nn,toHandlerKey:Hn,toHandlers:id,toRaw:oe,toRef:wh,toRefs:Sh,toValue:bh,transformVNodeArgs:Hd,triggerRef:_h,unref:ye,useAttrs:md,useCssModule:Mp,useCssVars:yp,useModel:Qd,useSSRContext:ua,useSlots:pd,useTransitionState:Co,vModelCheckbox:Gn,vModelDynamic:df,vModelRadio:Po,vModelSelect:uf,vModelText:Os,vShow:rf,version:Xa,warn:ep,watch:gn,watchEffect:ha,watchPostEffect:da,watchSyncEffect:pa,withAsyncContext:bd,withCtx:_o,withDefaults:dd,withDirectives:ds,withKeys:Wp,withMemo:Zd,withModifiers:mf,withScopeId:$h},Symbol.toStringTag,{value:"Module"}));/** +* @vue/compiler-core v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const xs=Symbol(""),bs=Symbol(""),Mo=Symbol(""),xr=Symbol(""),Cf=Symbol(""),An=Symbol(""),Tf=Symbol(""),wf=Symbol(""),Lo=Symbol(""),$o=Symbol(""),Ws=Symbol(""),Fo=Symbol(""),Af=Symbol(""),Do=Symbol(""),Vo=Symbol(""),Bo=Symbol(""),Ho=Symbol(""),Uo=Symbol(""),jo=Symbol(""),Rf=Symbol(""),Nf=Symbol(""),ni=Symbol(""),kr=Symbol(""),Ko=Symbol(""),qo=Symbol(""),ks=Symbol(""),Gs=Symbol(""),Wo=Symbol(""),Ki=Symbol(""),Yp=Symbol(""),qi=Symbol(""),Pr=Symbol(""),Qp=Symbol(""),Xp=Symbol(""),Go=Symbol(""),Zp=Symbol(""),em=Symbol(""),zo=Symbol(""),If=Symbol(""),Xn={[xs]:"Fragment",[bs]:"Teleport",[Mo]:"Suspense",[xr]:"KeepAlive",[Cf]:"BaseTransition",[An]:"openBlock",[Tf]:"createBlock",[wf]:"createElementBlock",[Lo]:"createVNode",[$o]:"createElementVNode",[Ws]:"createCommentVNode",[Fo]:"createTextVNode",[Af]:"createStaticVNode",[Do]:"resolveComponent",[Vo]:"resolveDynamicComponent",[Bo]:"resolveDirective",[Ho]:"resolveFilter",[Uo]:"withDirectives",[jo]:"renderList",[Rf]:"renderSlot",[Nf]:"createSlots",[ni]:"toDisplayString",[kr]:"mergeProps",[Ko]:"normalizeClass",[qo]:"normalizeStyle",[ks]:"normalizeProps",[Gs]:"guardReactiveProps",[Wo]:"toHandlers",[Ki]:"camelize",[Yp]:"capitalize",[qi]:"toHandlerKey",[Pr]:"setBlockTracking",[Qp]:"pushScopeId",[Xp]:"popScopeId",[Go]:"withCtx",[Zp]:"unref",[em]:"isRef",[zo]:"withMemo",[If]:"isMemoSame"};function tm(e){Object.getOwnPropertySymbols(e).forEach(t=>{Xn[t]=e[t]})}const ct={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function nm(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:ct}}function Ps(e,t,n,s,r,i,o,l=!1,c=!1,a=!1,f=ct){return e&&(l?(e.helper(An),e.helper(ts(e.inSSR,a))):e.helper(es(e.inSSR,a)),o&&e.helper(Uo)),{type:13,tag:t,props:n,children:s,patchFlag:r,dynamicProps:i,directives:o,isBlock:l,disableTracking:c,isComponent:a,loc:f}}function zs(e,t=ct){return{type:17,loc:t,elements:e}}function ht(e,t=ct){return{type:15,loc:t,properties:e}}function we(e,t){return{type:16,loc:ct,key:te(e)?ne(e,!0):e,value:t}}function ne(e,t=!1,n=ct,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function bt(e,t=ct){return{type:8,loc:t,children:e}}function Ne(e,t=[],n=ct){return{type:14,loc:n,callee:e,arguments:t}}function Zn(e,t=void 0,n=!1,s=!1,r=ct){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:r}}function Wi(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:ct}}function sm(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ct}}function rm(e){return{type:21,body:e,loc:ct}}function es(e,t){return e||t?Lo:$o}function ts(e,t){return e||t?Tf:wf}function Jo(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(es(s,e.isComponent)),t(An),t(ts(s,e.isComponent)))}const Gl=new Uint8Array([123,123]),zl=new Uint8Array([125,125]);function Jl(e){return e>=97&&e<=122||e>=65&&e<=90}function tt(e){return e===32||e===10||e===9||e===12||e===13}function Ut(e){return e===47||e===62||tt(e)}function Mr(e){const t=new Uint8Array(e.length);for(let n=0;n=0;r--){const i=this.newlines[r];if(t>i){n=r+2,s=t-i;break}}return{column:s,line:n,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 n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}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 n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ut(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||tt(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===Ve.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,n){}}function Yl(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function bn(e,t){const n=Yl("MODE",t),s=Yl(e,t);return n===3?s===!0:s!==!1}function Ms(e,t,n,...s){return bn(e,t)}function Yo(e){throw e}function Of(e){}function Ee(e,t,n,s){const r=`https://vuejs.org/error-reference/#compiler-${e}`,i=new SyntaxError(String(r));return i.code=e,i.loc=t,i}const Qe=e=>e.type===4&&e.isStatic;function xf(e){switch(e){case"Teleport":case"teleport":return bs;case"Suspense":case"suspense":return Mo;case"KeepAlive":case"keep-alive":return xr;case"BaseTransition":case"base-transition":return Cf}}const om=/^\d|[^\$\w]/,Qo=e=>!om.test(e),lm=/[A-Za-z_$\xA0-\uFFFF]/,cm=/[\.\?\w$\xA0-\uFFFF]/,am=/\s+[.[]\s*|\s*[.[]\s+/g,fm=e=>{e=e.trim().replace(am,o=>o.trim());let t=0,n=[],s=0,r=0,i=null;for(let o=0;ot.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function bi(e){return e.type===5||e.type===2}function hm(e){return e.type===7&&e.name==="slot"}function Lr(e){return e.type===1&&e.tagType===3}function $r(e){return e.type===1&&e.tagType===2}const dm=new Set([ks,Gs]);function Pf(e,t=[]){if(e&&!te(e)&&e.type===14){const n=e.callee;if(!te(n)&&dm.has(n))return Pf(e.arguments[0],t.concat(e))}return[e,t]}function Fr(e,t,n){let s,r=e.type===13?e.props:e.arguments[2],i=[],o;if(r&&!te(r)&&r.type===14){const l=Pf(r);r=l[0],i=l[1],o=i[i.length-1]}if(r==null||te(r))s=ht([t]);else if(r.type===14){const l=r.arguments[0];!te(l)&&l.type===15?Ql(t,l)||l.properties.unshift(t):r.callee===Wo?s=Ne(n.helper(kr),[ht([t]),r]):r.arguments.unshift(ht([t])),!s&&(s=r)}else r.type===15?(Ql(t,r)||r.properties.unshift(t),s=r):(s=Ne(n.helper(kr),[ht([t]),r]),o&&o.callee===Gs&&(o=i[i.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function Ql(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(r=>r.key.type===4&&r.key.content===s)}return n}function Ls(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function pm(e){return e.type===14&&e.callee===zo?e.arguments[1].returns:e}const mm=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Mf={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:hr,isPreTag:hr,isCustomElement:hr,onError:Yo,onWarn:Of,comments:!1,prefixIdentifiers:!1};let ue=Mf,$s=null,vn="",Be=null,le=null,ze="",kt=-1,cn=-1,Dr=0,Jt=!1,Gi=null;const Ce=[],Te=new im(Ce,{onerr:It,ontext(e,t){ar(Le(e,t),e,t)},ontextentity(e,t,n){ar(e,t,n)},oninterpolation(e,t){if(Jt)return ar(Le(e,t),e,t);let n=e+Te.delimiterOpen.length,s=t-Te.delimiterClose.length;for(;tt(vn.charCodeAt(n));)n++;for(;tt(vn.charCodeAt(s-1));)s--;let r=Le(n,s);r.includes("&")&&(r=ue.decodeEntities(r,!1)),zi({type:5,content:yr(r,!1,Re(n,s)),loc:Re(e,t)})},onopentagname(e,t){const n=Le(e,t);Be={type:1,tag:n,ns:ue.getNamespace(n,Ce[0],ue.ns),tagType:0,props:[],children:[],loc:Re(e-1,t),codegenNode:void 0}},onopentagend(e){Zl(e)},onclosetag(e,t){const n=Le(e,t);if(!ue.isVoidTag(n)){let s=!1;for(let r=0;r0&&It(24,Ce[0].loc.start.offset);for(let o=0;o<=r;o++){const l=Ce.shift();gr(l,t,o(s.type===7?s.rawName:s.name)===n)&&It(2,t)},onattribend(e,t){if(Be&&le){if(hn(le.loc,t),e!==0)if(ze.includes("&")&&(ze=ue.decodeEntities(ze,!0)),le.type===6)le.name==="class"&&(ze=Ff(ze).trim()),e===1&&!ze&&It(13,t),le.value={type:2,content:ze,loc:e===1?Re(kt,cn):Re(kt-1,cn+1)},Te.inSFCRoot&&Be.tag==="template"&&le.name==="lang"&&ze&&ze!=="html"&&Te.enterRCDATA(Mr("-1&&Ms("COMPILER_V_BIND_SYNC",ue,le.loc,le.rawName)&&(le.name="model",le.modifiers.splice(s,1))}(le.type!==7||le.name!=="pre")&&Be.props.push(le)}ze="",kt=cn=-1},oncomment(e,t){ue.comments&&zi({type:3,content:Le(e,t),loc:Re(e-4,t+3)})},onend(){const e=vn.length;for(let t=0;t{const y=t.start.offset+h,w=y+u.length;return yr(u,!1,Re(y,w),0,m?1:0)},l={source:o(i.trim(),n.indexOf(i,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=r.trim().replace(gm,"").trim();const a=r.indexOf(c),f=c.match(Xl);if(f){c=c.replace(Xl,"").trim();const u=f[1].trim();let h;if(u&&(h=n.indexOf(u,a+c.length),l.key=o(u,h,!0)),f[2]){const m=f[2].trim();m&&(l.index=o(m,n.indexOf(m,l.key?h+u.length:a+c.length),!0))}}return c&&(l.value=o(c,a,!0)),l}function Le(e,t){return vn.slice(e,t)}function Zl(e){Te.inSFCRoot&&(Be.innerLoc=Re(e+1,e+1)),zi(Be);const{tag:t,ns:n}=Be;n===0&&ue.isPreTag(t)&&Dr++,ue.isVoidTag(t)?gr(Be,e):(Ce.unshift(Be),(n===1||n===2)&&(Te.inXML=!0)),Be=null}function ar(e,t,n){var s;{const o=(s=Ce[0])==null?void 0:s.tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=ue.decodeEntities(e,!1))}const r=Ce[0]||$s,i=r.children[r.children.length-1];(i==null?void 0:i.type)===2?(i.content+=e,hn(i.loc,n)):r.children.push({type:2,content:e,loc:Re(t,n)})}function gr(e,t,n=!1){n?hn(e.loc,Lf(t,60)):hn(e.loc,t+1),Te.inSFCRoot&&(e.children.length?e.innerLoc.end=ae({},e.children[e.children.length-1].loc.end):e.innerLoc.end=ae({},e.innerLoc.start),e.innerLoc.source=Le(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:r}=e;Jt||(s==="slot"?e.tagType=2:ec(e)?e.tagType=3:bm(e)&&(e.tagType=1)),Te.inRCDATA||(e.children=$f(e.children,e.tag)),r===0&&ue.isPreTag(s)&&Dr--,Gi===e&&(Jt=Te.inVPre=!1,Gi=null),Te.inXML&&(Ce[0]?Ce[0].ns:ue.ns)===0&&(Te.inXML=!1);{const i=e.props;if(!Te.inSFCRoot&&bn("COMPILER_NATIVE_TEMPLATE",ue)&&e.tag==="template"&&!ec(e)){const l=Ce[0]||$s,c=l.children.indexOf(e);l.children.splice(c,1,...e.children)}const o=i.find(l=>l.type===6&&l.name==="inline-template");o&&Ms("COMPILER_INLINE_TEMPLATE",ue,o.loc)&&e.children.length&&(o.value={type:2,content:Le(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:o.loc})}}function Lf(e,t){let n=e;for(;vn.charCodeAt(n)!==t&&n>=0;)n--;return n}const _m=new Set(["if","else","else-if","for","slot"]);function ec({tag:e,props:t}){if(e==="template"){for(let n=0;n64&&e<91}const Em=/\r\n/g;function $f(e,t){var n,s;const r=ue.whitespace!=="preserve";let i=!1;for(let o=0;o0){if(c>=2){l.codegenNode.patchFlag="-1",l.codegenNode=t.hoist(l.codegenNode),i++;continue}}else{const a=l.codegenNode;if(a.type===13){const f=Uf(a);if((!f||f===512||f===1)&&Bf(l,t)>=2){const u=Hf(l);u&&(a.props=t.hoist(u))}a.dynamicProps&&(a.dynamicProps=t.hoist(a.dynamicProps))}}}if(l.type===1){const c=l.tagType===1;c&&t.scopes.vSlot++,_r(l,t),c&&t.scopes.vSlot--}else if(l.type===11)_r(l,t,l.children.length===1);else if(l.type===9)for(let c=0;c1)for(let a=0;aM&&(S.childIndex--,S.onNodeRemoved()),S.parent.children.splice(M,1)},onNodeRemoved:Oe,addIdentifiers(T){},removeIdentifiers(T){},hoist(T){te(T)&&(T=ne(T)),S.hoists.push(T);const R=ne(`_hoisted_${S.hoists.length}`,!1,T.loc,2);return R.hoisted=T,R},cache(T,R=!1){return sm(S.cached++,T,R)}};return S.filters=new Set,S}function Om(e,t){const n=Im(e,t);ri(e,n),t.hoistStatic&&Rm(e,n),t.ssr||xm(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function xm(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const r=s[0];if(Df(e,r)&&r.codegenNode){const i=r.codegenNode;i.type===13&&Jo(i,t),e.codegenNode=i}else e.codegenNode=r}else if(s.length>1){let r=64;e.codegenNode=Ps(t,n(xs),void 0,e.children,r+"",void 0,void 0,!0,void 0,!1)}}function km(e,t){let n=0;const s=()=>{n--};for(;ns===e:s=>e.test(s);return(s,r)=>{if(s.type===1){const{props:i}=s;if(s.tagType===3&&i.some(hm))return;const o=[];for(let l=0;l`${Xn[e]}: _${Xn[e]}`;function Pm(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:r="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:f=!1,isTS:u=!1,inSSR:h=!1}){const m={mode:t,prefixIdentifiers:n,sourceMap:s,filename:r,scopeId:i,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:c,ssrRuntimeModuleName:a,ssr:f,isTS:u,inSSR:h,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(w){return`_${Xn[w]}`},push(w,O=-2,A){m.code+=w},indent(){y(++m.indentLevel)},deindent(w=!1){w?--m.indentLevel:y(--m.indentLevel)},newline(){y(m.indentLevel)}};function y(w){m.push(` +`+" ".repeat(w),0)}return m}function Mm(e,t={}){const n=Pm(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:r,prefixIdentifiers:i,indent:o,deindent:l,newline:c,scopeId:a,ssr:f}=n,u=Array.from(e.helpers),h=u.length>0,m=!i&&s!=="module";Lm(e,n);const w=f?"ssrRender":"render",A=(f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(r(`function ${w}(${A}) {`),o(),m&&(r("with (_ctx) {"),o(),h&&(r(`const { ${u.map(Kf).join(", ")} } = _Vue +`,-1),c())),e.components.length&&(vi(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(vi(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),vi(e.filters,"filter",n),c()),e.temps>0){r("let ");for(let _=0;_0?", ":""}_temp${_}`)}return(e.components.length||e.directives.length||e.temps)&&(r(` +`,0),c()),f||r("return "),e.codegenNode?Ke(e.codegenNode,n):r("null"),m&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Lm(e,t){const{ssr:n,prefixIdentifiers:s,push:r,newline:i,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:c}=t,a=l,f=Array.from(e.helpers);if(f.length>0&&(r(`const _Vue = ${a} +`,-1),e.hoists.length)){const u=[Lo,$o,Ws,Fo,Af].filter(h=>f.includes(h)).map(Kf).join(", ");r(`const { ${u} } = _Vue +`,-1)}$m(e.hoists,t),i(),r("return ")}function vi(e,t,{helper:n,push:s,newline:r,isTS:i}){const o=n(t==="filter"?Ho:t==="component"?Do:Bo);for(let l=0;l3||!1;t.push("["),n&&t.indent(),Js(e,t,n),n&&t.deindent(),t.push("]")}function Js(e,t,n=!1,s=!0){const{push:r,newline:i}=t;for(let o=0;on||"null")}function jm(e,t){const{push:n,helper:s,pure:r}=t,i=te(e.callee)?e.callee:s(e.callee);r&&n(ii),n(i+"(",-2,e),Js(e.arguments,t),n(")")}function Km(e,t){const{push:n,indent:s,deindent:r,newline:i}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let c=0;c "),(c||l)&&(n("{"),s()),o?(c&&n("return "),j(o)?Xo(o,t):Ke(o,t)):l&&Ke(l,t),(c||l)&&(r(),n("}")),a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function Gm(e,t){const{test:n,consequent:s,alternate:r,newline:i}=e,{push:o,indent:l,deindent:c,newline:a}=t;if(n.type===4){const u=!Qo(n.content);u&&o("("),qf(n,t),u&&o(")")}else o("("),Ke(n,t),o(")");i&&l(),t.indentLevel++,i||o(" "),o("? "),Ke(s,t),t.indentLevel--,i&&a(),i||o(" "),o(": ");const f=r.type===19;f||t.indentLevel++,Ke(r,t),f||t.indentLevel--,i&&c(!0)}function zm(e,t){const{push:n,helper:s,indent:r,deindent:i,newline:o}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${s(Pr)}(-1),`),o()),n(`_cache[${e.index}] = `),Ke(e.value,t),e.isVNode&&(n(","),o(),n(`${s(Pr)}(1),`),o(),n(`_cache[${e.index}]`),i()),n(")")}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 Jm=jf(/^(if|else|else-if)$/,(e,t,n)=>Ym(e,t,n,(s,r,i)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const a=o[l];a&&a.type===9&&(c+=a.branches.length)}return()=>{if(i)s.codegenNode=nc(r,c,n);else{const a=Qm(s.codegenNode);a.alternate=nc(r,c+s.branches.length-1,n)}}}));function Ym(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(Ee(28,t.loc)),t.exp=ne("true",!1,r)}if(t.name==="if"){const r=tc(e,t),i={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-->=-1;){const o=r[i];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(Ee(30,e.loc)),n.removeNode();const l=tc(e,t);o.branches.push(l);const c=s&&s(o,l,!1);ri(l,n),c&&c(),n.currentNode=null}else n.onError(Ee(30,e.loc));break}}}function tc(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!gt(e,"for")?e.children:[e],userKey:si(e,"key"),isTemplateIf:n}}function nc(e,t,n){return e.condition?Wi(e.condition,sc(e,t,n),Ne(n.helper(Ws),['""',"true"])):sc(e,t,n)}function sc(e,t,n){const{helper:s}=n,r=we("key",ne(`${t}`,!1,ct,2)),{children:i}=e,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const c=o.codegenNode;return Fr(c,r,n),c}else return Ps(n,s(xs),ht([r]),i,64+"",void 0,void 0,!0,!1,!1,e.loc);else{const c=o.codegenNode,a=pm(c);return a.type===13&&Jo(a,n),Fr(a,r,n),c}}function Qm(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 Xm=jf("for",(e,t,n)=>{const{helper:s,removeHelper:r}=n;return Zm(e,t,n,i=>{const o=Ne(s(jo),[i.source]),l=Lr(e),c=gt(e,"memo"),a=si(e,"key"),f=a&&(a.type===6?ne(a.value.content,!0):a.exp),u=a?we("key",f):null,h=i.source.type===4&&i.source.constType>0,m=h?64:a?128:256;return i.codegenNode=Ps(n,s(xs),void 0,o,m+"",void 0,void 0,!0,!h,!1,e.loc),()=>{let y;const{children:w}=i,O=w.length!==1||w[0].type!==1,A=$r(e)?e:l&&e.children.length===1&&$r(e.children[0])?e.children[0]:null;if(A?(y=A.codegenNode,l&&u&&Fr(y,u,n)):O?y=Ps(n,s(xs),u?ht([u]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(y=w[0].codegenNode,l&&u&&Fr(y,u,n),y.isBlock!==!h&&(y.isBlock?(r(An),r(ts(n.inSSR,y.isComponent))):r(es(n.inSSR,y.isComponent))),y.isBlock=!h,y.isBlock?(s(An),s(ts(n.inSSR,y.isComponent))):s(es(n.inSSR,y.isComponent))),c){const _=Zn(Ji(i.parseResult,[ne("_cached")]));_.body=rm([bt(["const _memo = (",c.exp,")"]),bt(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(If)}(_cached, _memo)) return _cached`]),bt(["const _item = ",y]),ne("_item.memo = _memo"),ne("return _item")]),o.arguments.push(_,ne("_cache"),ne(String(n.cached++)))}else o.arguments.push(Zn(Ji(i.parseResult),y,!0))}})});function Zm(e,t,n,s){if(!t.exp){n.onError(Ee(31,t.loc));return}const r=t.forParseResult;if(!r){n.onError(Ee(32,t.loc));return}Gf(r);const{addIdentifiers:i,removeIdentifiers:o,scopes:l}=n,{source:c,value:a,key:f,index:u}=r,h={type:11,loc:t.loc,source:c,valueAlias:a,keyAlias:f,objectIndexAlias:u,parseResult:r,children:Lr(e)?e.children:[e]};n.replaceNode(h),l.vFor++;const m=s&&s(h);return()=>{l.vFor--,m&&m()}}function Gf(e,t){e.finalized||(e.finalized=!0)}function Ji({value:e,key:t,index:n},s=[]){return eg([e,t,n,...s])}function eg(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||ne("_".repeat(s+1),!1))}const rc=ne("undefined",!1),tg=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=gt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},ng=(e,t,n,s)=>Zn(e,n,!1,!0,n.length?n[0].loc:s);function sg(e,t,n=ng){t.helper(Go);const{children:s,loc:r}=e,i=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=gt(e,"slot",!0);if(c){const{arg:O,exp:A}=c;O&&!Qe(O)&&(l=!0),i.push(we(O||ne("default",!0),n(A,void 0,s,r)))}let a=!1,f=!1;const u=[],h=new Set;let m=0;for(let O=0;O{const g=n(A,void 0,_,r);return t.compatConfig&&(g.isNonScopedSlot=!0),we("default",g)};a?u.length&&u.some(A=>zf(A))&&(f?t.onError(Ee(39,u[0].loc)):i.push(O(void 0,u))):i.push(O(void 0,s))}const y=l?2:br(e.children)?3:1;let w=ht(i.concat(we("_",ne(y+"",!1))),r);return o.length&&(w=Ne(t.helper(Nf),[w,zs(o)])),{slots:w,hasDynamicSlots:l}}function fr(e,t,n){const s=[we("name",e),we("fn",t)];return n!=null&&s.push(we("key",ne(String(n),!0))),ht(s)}function br(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:r}=e,i=e.tagType===1;let o=i?ig(e,t):`"${s}"`;const l=pe(o)&&o.callee===Vo;let c,a,f,u=0,h,m,y,w=l||o===bs||o===Mo||!i&&(s==="svg"||s==="foreignObject");if(r.length>0){const O=Yf(e,t,void 0,i,l);c=O.props,u=O.patchFlag,m=O.dynamicPropNames;const A=O.directives;y=A&&A.length?zs(A.map(_=>lg(_,t))):void 0,O.shouldUseBlock&&(w=!0)}if(e.children.length>0)if(o===xr&&(w=!0,u|=1024),i&&o!==bs&&o!==xr){const{slots:A,hasDynamicSlots:_}=sg(e,t);a=A,_&&(u|=1024)}else if(e.children.length===1&&o!==bs){const A=e.children[0],_=A.type,g=_===5||_===8;g&&dt(A,t)===0&&(u|=1),g||_===2?a=A:a=e.children}else a=e.children;u!==0&&(f=String(u),m&&m.length&&(h=cg(m))),e.codegenNode=Ps(t,o,c,a,f,h,y,!!w,!1,i,e.loc)};function ig(e,t,n=!1){let{tag:s}=e;const r=Yi(s),i=si(e,"is");if(i)if(r||bn("COMPILER_IS_ON_ELEMENT",t)){const l=i.type===6?i.value&&ne(i.value.content,!0):i.exp;if(l)return Ne(t.helper(Vo),[l])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=xf(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Do),t.components.add(s),Ls(s,"component"))}function Yf(e,t,n=e.props,s,r,i=!1){const{tag:o,loc:l,children:c}=e;let a=[];const f=[],u=[],h=c.length>0;let m=!1,y=0,w=!1,O=!1,A=!1,_=!1,g=!1,b=!1;const E=[],C=T=>{a.length&&(f.push(ht(ic(a),l)),a=[]),T&&f.push(T)},L=({key:T,value:R})=>{if(Qe(T)){const M=T.content,x=Rn(M);if(x&&(!s||r)&&M.toLowerCase()!=="onclick"&&M!=="onUpdate:modelValue"&&!Xt(M)&&(_=!0),x&&Xt(M)&&(b=!0),x&&R.type===14&&(R=R.arguments[0]),R.type===20||(R.type===4||R.type===8)&&dt(R,t)>0)return;M==="ref"?w=!0:M==="class"?O=!0:M==="style"?A=!0:M!=="key"&&!E.includes(M)&&E.push(M),s&&(M==="class"||M==="style")&&!E.includes(M)&&E.push(M)}else g=!0};for(let T=0;T0&&a.push(we(ne("ref_for",!0),ne("true")))),x==="is"&&(Yi(o)||Q&&Q.content.startsWith("vue:")||bn("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(we(ne(x,!0,V),ne(Q?Q.content:"",se,Q?Q.loc:M)))}else{const{name:M,arg:x,exp:V,loc:Q,modifiers:se}=R,U=M==="bind",X=M==="on";if(M==="slot"){s||t.onError(Ee(40,Q));continue}if(M==="once"||M==="memo"||M==="is"||U&&un(x,"is")&&(Yi(o)||bn("COMPILER_IS_ON_ELEMENT",t))||X&&i)continue;if((U&&un(x,"key")||X&&h&&un(x,"vue:before-update"))&&(m=!0),U&&un(x,"ref")&&t.scopes.vFor>0&&a.push(we(ne("ref_for",!0),ne("true"))),!x&&(U||X)){if(g=!0,V)if(U){if(C(),bn("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(V);continue}f.push(V)}else C({type:14,loc:Q,callee:t.helper(Wo),arguments:s?[V]:[V,"true"]});else t.onError(Ee(U?34:35,Q));continue}U&&se.includes("prop")&&(y|=32);const W=t.directiveTransforms[M];if(W){const{props:qe,needRuntime:at}=W(R,e,t);!i&&qe.forEach(L),X&&x&&!Qe(x)?C(ht(qe,l)):a.push(...qe),at&&(u.push(R),vt(at)&&Jf.set(R,at))}else wu(M)||(u.push(R),h&&(m=!0))}}let S;if(f.length?(C(),f.length>1?S=Ne(t.helper(kr),f,l):S=f[0]):a.length&&(S=ht(ic(a),l)),g?y|=16:(O&&!s&&(y|=2),A&&!s&&(y|=4),E.length&&(y|=8),_&&(y|=32)),!m&&(y===0||y===32)&&(w||b||u.length>0)&&(y|=512),!t.inSSR&&S)switch(S.type){case 15:let T=-1,R=-1,M=!1;for(let Q=0;Qwe(o,i)),r))}return zs(n,e.loc)}function cg(e){let t="[";for(let n=0,s=e.length;n{if($r(e)){const{children:n,loc:s}=e,{slotName:r,slotProps:i}=fg(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let l=2;i&&(o[2]=i,l=3),n.length&&(o[3]=Zn([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=Ne(t.helper(Rf),o,s)}};function fg(e,t){let n='"default"',s;const r=[];for(let i=0;i0){const{props:i,directives:o}=Yf(e,t,r,!1,!1);s=i,o.length&&t.onError(Ee(36,o[0].loc))}return{slotName:n,slotProps:s}}const ug=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Qf=(e,t,n,s)=>{const{loc:r,modifiers:i,arg:o}=e;!e.exp&&!i.length&&n.onError(Ee(35,r));let l;if(o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`);const h=t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?Hn(Se(u)):`on:${u}`;l=ne(h,!0,o.loc)}else l=bt([`${n.helperString(qi)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(qi)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=kf(c.content),h=!(u||ug.test(c.content)),m=c.content.includes(";");(h||a&&u)&&(c=bt([`${h?"$event":"(...args)"} => ${m?"{":"("}`,c,m?"}":")"]))}let f={props:[we(l,c||ne("() => {}",!1,r))]};return s&&(f=s(f)),a&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(u=>u.key.isHandlerKey=!0),f},hg=(e,t,n)=>{const{modifiers:s,loc:r}=e,i=e.arg;let{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(i.type!==4||!i.isStatic)return n.onError(Ee(52,i.loc)),{props:[we(i,ne("",!0,r))]};const l=Se(i.content);o=e.exp=ne(l,!1,i.loc)}return i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),s.includes("camel")&&(i.type===4?i.isStatic?i.content=Se(i.content):i.content=`${n.helperString(Ki)}(${i.content})`:(i.children.unshift(`${n.helperString(Ki)}(`),i.children.push(")"))),n.inSSR||(s.includes("prop")&&oc(i,"."),s.includes("attr")&&oc(i,"^")),{props:[we(i,o)]}},oc=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},dg=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,r=!1;for(let i=0;ii.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i{if(e.type===1&>(e,"once",!0))return lc.has(e)||t.inVOnce||t.inSSR?void 0:(lc.add(e),t.inVOnce=!0,t.helper(Pr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},Xf=(e,t,n)=>{const{exp:s,arg:r}=e;if(!s)return n.onError(Ee(41,e.loc)),ur();const i=s.loc.source,o=s.type===4?s.content:i,l=n.bindingMetadata[i];if(l==="props"||l==="props-aliased")return n.onError(Ee(44,s.loc)),ur();if(!o.trim()||!kf(o)&&!!1)return n.onError(Ee(42,s.loc)),ur();const a=r||ne("modelValue",!0),f=r?Qe(r)?`onUpdate:${Se(r.content)}`:bt(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;const h=n.isTS?"($event: any)":"$event";u=bt([`${h} => ((`,s,") = $event)"]);const m=[we(a,e.exp),we(f,u)];if(e.modifiers.length&&t.tagType===1){const y=e.modifiers.map(O=>(Qo(O)?O:JSON.stringify(O))+": true").join(", "),w=r?Qe(r)?`${r.content}Modifiers`:bt([r,' + "Modifiers"']):"modelModifiers";m.push(we(w,ne(`{ ${y} }`,!1,e.loc,2)))}return ur(m)};function ur(e=[]){return{props:e}}const mg=/[\w).+\-_$\]]/,gg=(e,t)=>{bn("COMPILER_FILTERS",t)&&(e.type===5&&Vr(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Vr(n.exp,t)}))};function Vr(e,t){if(e.type===4)cc(e,t);else for(let n=0;n=0&&(_=n.charAt(A),_===" ");A--);(!_||!mg.test(_))&&(o=!0)}}y===void 0?y=n.slice(0,m).trim():f!==0&&O();function O(){w.push(n.slice(f,m).trim()),f=m+1}if(w.length){for(m=0;m{if(e.type===1){const n=gt(e,"memo");return!n||ac.has(e)?void 0:(ac.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Jo(s,t),e.codegenNode=Ne(t.helper(zo),[n.exp,Zn(void 0,s),"_cache",String(t.cached++)]))})}};function bg(e){return[[pg,Jm,_g,Xm,gg,ag,rg,tg,dg],{on:Qf,bind:hg,model:Xf}]}function vg(e,t={}){const n=t.onError||Yo,s=t.mode==="module";t.prefixIdentifiers===!0?n(Ee(47)):s&&n(Ee(48));const r=!1;t.cacheHandlers&&n(Ee(49)),t.scopeId&&!s&&n(Ee(50));const i=ae({},t,{prefixIdentifiers:r}),o=te(e)?Am(e,i):e,[l,c]=bg();return Om(o,ae({},i,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ae({},c,t.directiveTransforms||{})})),Mm(o,i)}const Eg=()=>({props:[]});/** +* @vue/compiler-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Zf=Symbol(""),eu=Symbol(""),tu=Symbol(""),nu=Symbol(""),Qi=Symbol(""),su=Symbol(""),ru=Symbol(""),iu=Symbol(""),ou=Symbol(""),lu=Symbol("");tm({[Zf]:"vModelRadio",[eu]:"vModelCheckbox",[tu]:"vModelText",[nu]:"vModelSelect",[Qi]:"vModelDynamic",[su]:"withModifiers",[ru]:"withKeys",[iu]:"vShow",[ou]:"Transition",[lu]:"TransitionGroup"});let $n;function Sg(e,t=!1){return $n||($n=document.createElement("div")),t?($n.innerHTML=`
`,$n.children[0].getAttribute("foo")):($n.innerHTML=e,$n.textContent)}const Cg={parseMode:"html",isVoidTag:Hu,isNativeTag:e=>Du(e)||Vu(e)||Bu(e),isPreTag:e=>e==="pre",decodeEntities:Sg,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return ou;if(e==="TransitionGroup"||e==="transition-group")return lu},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},Tg=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ne("style",!0,t.loc),exp:wg(t.value.content,t.loc),modifiers:[],loc:t.loc})})},wg=(e,t)=>{const n=xc(e);return ne(JSON.stringify(n),!1,t,3)};function en(e,t){return Ee(e,t)}const Ag=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(en(53,r)),t.children.length&&(n.onError(en(54,r)),t.children.length=0),{props:[we(ne("innerHTML",!0,r),s||ne("",!0))]}},Rg=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(en(55,r)),t.children.length&&(n.onError(en(56,r)),t.children.length=0),{props:[we(ne("textContent",!0),s?dt(s,n)>0?s:Ne(n.helperString(ni),[s],r):ne("",!0))]}},Ng=(e,t,n)=>{const s=Xf(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(en(58,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=tu,l=!1;if(r==="input"||i){const c=si(t,"type");if(c){if(c.type===7)o=Qi;else if(c.value)switch(c.value.content){case"radio":o=Zf;break;case"checkbox":o=eu;break;case"file":l=!0,n.onError(en(59,e.loc));break}}else um(t)&&(o=Qi)}else r==="select"&&(o=nu);l||(s.needRuntime=n.helper(o))}else n.onError(en(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},Ig=lt("passive,once,capture"),Og=lt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),xg=lt("left,right"),cu=lt("onkeyup,onkeydown,onkeypress",!0),kg=(e,t,n,s)=>{const r=[],i=[],o=[];for(let l=0;lQe(e)&&e.content.toLowerCase()==="onclick"?ne(t,!0):e.type!==4?bt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Pg=(e,t,n)=>Qf(e,t,n,s=>{const{modifiers:r}=e;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:c,eventOptionModifiers:a}=kg(i,r,n,e.loc);if(c.includes("right")&&(i=fc(i,"onContextmenu")),c.includes("middle")&&(i=fc(i,"onMouseup")),c.length&&(o=Ne(n.helper(su),[o,JSON.stringify(c)])),l.length&&(!Qe(i)||cu(i.content))&&(o=Ne(n.helper(ru),[o,JSON.stringify(l)])),a.length){const f=a.map(In).join("");i=Qe(i)?ne(`${i.content}${f}`,!0):bt(["(",i,`) + "${f}"`])}return{props:[we(i,o)]}}),Mg=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(en(61,r)),{props:[],needRuntime:n.helper(iu)}},Lg=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},$g=[Tg],Fg={cloak:Eg,html:Ag,text:Rg,model:Ng,on:Pg,show:Mg};function Dg(e,t={}){return vg(e,ae({},Cg,t,{nodeTransforms:[Lg,...$g,...t.nodeTransforms||[]],directiveTransforms:ae({},Fg,t.directiveTransforms||{}),transformHoist:null}))}/** +* vue v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const uc=new WeakMap;function Vg(e){let t=uc.get(e??fe);return t||(t=Object.create(null),uc.set(e??fe,t)),t}function Bg(e,t){if(!te(e))if(e.nodeType)e=e.innerHTML;else return Oe;const n=e,s=Vg(t),r=s[n];if(r)return r;if(e[0]==="#"){const c=document.querySelector(e);e=c?c.innerHTML:""}const i=ae({hoistStatic:!0,onError:void 0,onWarn:Oe},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=c=>!!customElements.get(c));const{code:o}=Dg(e,i),l=new Function("Vue",o)(Jp);return l._rc=!0,s[n]=l}za(Bg);/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Dn=typeof document<"u";function Hg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const de=Object.assign;function Ei(e,t){const n={};for(const s in t){const r=t[s];n[s]=St(r)?r.map(e):e(r)}return n}const vs=()=>{},St=Array.isArray,au=/#/g,Ug=/&/g,jg=/\//g,Kg=/=/g,qg=/\?/g,fu=/\+/g,Wg=/%5B/g,Gg=/%5D/g,uu=/%5E/g,zg=/%60/g,hu=/%7B/g,Jg=/%7C/g,du=/%7D/g,Yg=/%20/g;function Zo(e){return encodeURI(""+e).replace(Jg,"|").replace(Wg,"[").replace(Gg,"]")}function Qg(e){return Zo(e).replace(hu,"{").replace(du,"}").replace(uu,"^")}function Xi(e){return Zo(e).replace(fu,"%2B").replace(Yg,"+").replace(au,"%23").replace(Ug,"%26").replace(zg,"`").replace(hu,"{").replace(du,"}").replace(uu,"^")}function Xg(e){return Xi(e).replace(Kg,"%3D")}function Zg(e){return Zo(e).replace(au,"%23").replace(qg,"%3F")}function ey(e){return e==null?"":Zg(e).replace(jg,"%2F")}function Fs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ty=/\/$/,ny=e=>e.replace(ty,"");function Si(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),i=t.slice(c+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=oy(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:Fs(o)}}function sy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ry(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&ns(t.matched[s],n.matched[r])&&pu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ns(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!iy(e[n],t[n]))return!1;return!0}function iy(e,t){return St(e)?dc(e,t):St(t)?dc(t,e):e===t}function dc(e,t){return St(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function oy(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}var Ds;(function(e){e.pop="pop",e.push="push"})(Ds||(Ds={}));var Es;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Es||(Es={}));function ly(e){if(!e)if(Dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ny(e)}const cy=/^[^#]+#/;function ay(e,t){return e.replace(cy,"#")+t}function fy(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const oi=()=>({left:window.scrollX,top:window.scrollY});function uy(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=fy(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function pc(e,t){return(history.state?history.state.position-t:-1)+e}const Zi=new Map;function hy(e,t){Zi.set(e,t)}function dy(e){const t=Zi.get(e);return Zi.delete(e),t}let py=()=>location.protocol+"//"+location.host;function mu(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),hc(c,"")}return hc(n,e)+s+r}function my(e,t,n,s){let r=[],i=[],o=null;const l=({state:h})=>{const m=mu(e,location),y=n.value,w=t.value;let O=0;if(h){if(n.value=m,t.value=h,o&&o===y){o=null;return}O=w?h.position-w.position:0}else s(m);r.forEach(A=>{A(n.value,y,{delta:O,type:Ds.pop,direction:O?O>0?Es.forward:Es.back:Es.unknown})})};function c(){o=n.value}function a(h){r.push(h);const m=()=>{const y=r.indexOf(h);y>-1&&r.splice(y,1)};return i.push(m),m}function f(){const{history:h}=window;h.state&&h.replaceState(de({},h.state,{scroll:oi()}),"")}function u(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:a,destroy:u}}function mc(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?oi():null}}function gy(e){const{history:t,location:n}=window,s={value:mu(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,a,f){const u=e.indexOf("#"),h=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:py()+e+c;try{t[f?"replaceState":"pushState"](a,"",h),r.value=a}catch(m){console.error(m),n[f?"replace":"assign"](h)}}function o(c,a){const f=de({},t.state,mc(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});i(c,f,!0),s.value=c}function l(c,a){const f=de({},r.value,t.state,{forward:c,scroll:oi()});i(f.current,f,!0);const u=de({},mc(s.value,c,null),{position:f.position+1},a);i(c,u,!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function yy(e){e=ly(e);const t=gy(e),n=my(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=de({location:"",base:e,go:s,createHref:ay.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function _y(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),yy(e)}function by(e){return typeof e=="string"||e&&typeof e=="object"}function gu(e){return typeof e=="string"||typeof e=="symbol"}const jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yu=Symbol("");var gc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(gc||(gc={}));function ss(e,t){return de(new Error,{type:e,[yu]:!0},t)}function Ot(e,t){return e instanceof Error&&yu in e&&(t==null||!!(e.type&t))}const yc="[^/]+?",vy={sensitive:!1,strict:!1,start:!0,end:!0},Ey=/[.+*?^${}()[\]/\\]/g;function Sy(e,t){const n=de({},vy,t),s=[];let r=n.start?"^":"";const i=[];for(const a of e){const f=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let u=0;ut.length?t.length===1&&t[0]===80?1:-1:0}function Ty(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const wy={type:0,value:""},Ay=/[a-zA-Z0-9_]/;function Ry(e){if(!e)return[[]];if(e==="/")return[[wy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${a}": ${m}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,a="",f="";function u(){a&&(n===0?i.push({type:0,value:a}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:a,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function h(){a+=c}for(;l{o(_)}:vs}function o(f){if(gu(f)){const u=s.get(f);u&&(s.delete(f),n.splice(n.indexOf(u),1),u.children.forEach(o),u.alias.forEach(o))}else{const u=n.indexOf(f);u>-1&&(n.splice(u,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function l(){return n}function c(f){let u=0;for(;u=0&&(f.record.path!==n[u].record.path||!_u(f,n[u]));)u++;n.splice(u,0,f),f.record.name&&!vc(f)&&s.set(f.record.name,f)}function a(f,u){let h,m={},y,w;if("name"in f&&f.name){if(h=s.get(f.name),!h)throw ss(1,{location:f});w=h.record.name,m=de(bc(u.params,h.keys.filter(_=>!_.optional).concat(h.parent?h.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&bc(f.params,h.keys.map(_=>_.name))),y=h.stringify(m)}else if(f.path!=null)y=f.path,h=n.find(_=>_.re.test(y)),h&&(m=h.parse(y),w=h.record.name);else{if(h=u.name?s.get(u.name):n.find(_=>_.re.test(u.path)),!h)throw ss(1,{location:f,currentLocation:u});w=h.record.name,m=de({},u.params,f.params),y=h.stringify(m)}const O=[];let A=h;for(;A;)O.unshift(A.record),A=A.parent;return{name:w,path:y,params:m,matched:O,meta:ky(O)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:a,removeRoute:o,getRoutes:l,getRecordMatcher:r}}function bc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Oy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:xy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function xy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function vc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ky(e){return e.reduce((t,n)=>de(t,n.meta),{})}function Ec(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function _u(e,t){return t.children.some(n=>n===e||_u(e,n))}function Py(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Xi(i)):[s&&Xi(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function My(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=St(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const bu=Symbol(""),Cc=Symbol(""),li=Symbol(""),el=Symbol(""),eo=Symbol("");function fs(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ly(e,t,n){const s=()=>{e[t].delete(n)};Ks(s),Ao(s),wo(()=>{e[t].add(n)}),e[t].add(n)}function $y(e){const t=ot(bu,{}).value;t&&Ly(t,"updateGuards",e)}function Yt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=h=>{h===!1?c(ss(4,{from:n,to:t})):h instanceof Error?c(h):by(h)?c(ss(2,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),l())},f=i(()=>e.call(s&&s.instances[r],t,n,a));let u=Promise.resolve(f);e.length<3&&(u=u.then(a)),u.catch(h=>c(h))})}function Ci(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Fy(c)){const f=(c.__vccOpts||c)[t];f&&i.push(Yt(f,n,s,o,l,r))}else{let a=c();i.push(()=>a.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${o.path}"`));const u=Hg(f)?f.default:f;o.components[l]=u;const m=(u.__vccOpts||u)[t];return m&&Yt(m,n,s,o,l,r)()}))}}return i}function Fy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Tc(e){const t=ot(li),n=ot(el),s=ut(()=>t.resolve(ye(e.to))),r=ut(()=>{const{matched:c}=s.value,{length:a}=c,f=c[a-1],u=n.matched;if(!f||!u.length)return-1;const h=u.findIndex(ns.bind(null,f));if(h>-1)return h;const m=wc(c[a-2]);return a>1&&wc(f)===m&&u[u.length-1].path!==m?u.findIndex(ns.bind(null,c[a-2])):h}),i=ut(()=>r.value>-1&&Hy(n.params,s.value.params)),o=ut(()=>r.value>-1&&r.value===n.matched.length-1&&pu(n.params,s.value.params));function l(c={}){return By(c)?t[ye(e.replace)?"replace":"push"](ye(e.to)).catch(vs):Promise.resolve()}return{route:s,href:ut(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}const Dy=Me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Tc,setup(e,{slots:t}){const n=os(Tc(e)),{options:s}=ot(li),r=ut(()=>({[Ac(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ac(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:ei("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Vy=Dy;function By(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Hy(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!St(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function wc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ac=(e,t,n)=>e??t??n,Uy=Me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ot(eo),r=ut(()=>e.route||s.value),i=ot(Cc,0),o=ut(()=>{let a=ye(i);const{matched:f}=r.value;let u;for(;(u=f[a])&&!u.components;)a++;return a}),l=ut(()=>r.value.matched[o.value]);ms(Cc,ut(()=>o.value+1)),ms(bu,l),ms(eo,r);const c=Rt();return gn(()=>[c.value,l.value,e.name],([a,f,u],[h,m,y])=>{f&&(f.instances[u]=a,m&&m!==f&&a&&a===h&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),a&&f&&(!m||!ns(f,m)||!h)&&(f.enterCallbacks[u]||[]).forEach(w=>w(a))},{flush:"post"}),()=>{const a=r.value,f=e.name,u=l.value,h=u&&u.components[f];if(!h)return Rc(n.default,{Component:h,route:a});const m=u.props[f],y=m?m===!0?a.params:typeof m=="function"?m(a):m:null,O=ei(h,de({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(u.instances[f]=null)},ref:c}));return Rc(n.default,{Component:O,route:a})||O}}});function Rc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const jy=Uy;function Ky(e){const t=Iy(e.routes,e),n=e.parseQuery||Py,s=e.stringifyQuery||Sc,r=e.history,i=fs(),o=fs(),l=fs(),c=Yc(jt);let a=jt;Dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Ei.bind(null,I=>""+I),u=Ei.bind(null,ey),h=Ei.bind(null,Fs);function m(I,K){let B,G;return gu(I)?(B=t.getRecordMatcher(I),G=K):G=I,t.addRoute(G,B)}function y(I){const K=t.getRecordMatcher(I);K&&t.removeRoute(K)}function w(){return t.getRoutes().map(I=>I.record)}function O(I){return!!t.getRecordMatcher(I)}function A(I,K){if(K=de({},K||c.value),typeof I=="string"){const p=Si(n,I,K.path),v=t.resolve({path:p.path},K),k=r.createHref(p.fullPath);return de(p,v,{params:h(v.params),hash:Fs(p.hash),redirectedFrom:void 0,href:k})}let B;if(I.path!=null)B=de({},I,{path:Si(n,I.path,K.path).path});else{const p=de({},I.params);for(const v in p)p[v]==null&&delete p[v];B=de({},I,{params:u(p)}),K.params=u(K.params)}const G=t.resolve(B,K),he=I.hash||"";G.params=f(h(G.params));const be=sy(s,de({},I,{hash:Qg(he),path:G.path})),d=r.createHref(be);return de({fullPath:be,hash:he,query:s===Sc?My(I.query):I.query||{}},G,{redirectedFrom:void 0,href:d})}function _(I){return typeof I=="string"?Si(n,I,c.value.path):de({},I)}function g(I,K){if(a!==I)return ss(8,{from:K,to:I})}function b(I){return L(I)}function E(I){return b(de(_(I),{replace:!0}))}function C(I){const K=I.matched[I.matched.length-1];if(K&&K.redirect){const{redirect:B}=K;let G=typeof B=="function"?B(I):B;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=_(G):{path:G},G.params={}),de({query:I.query,hash:I.hash,params:G.path!=null?{}:I.params},G)}}function L(I,K){const B=a=A(I),G=c.value,he=I.state,be=I.force,d=I.replace===!0,p=C(B);if(p)return L(de(_(p),{state:typeof p=="object"?de({},he,p.state):he,force:be,replace:d}),K||B);const v=B;v.redirectedFrom=K;let k;return!be&&ry(s,G,B)&&(k=ss(16,{to:v,from:G}),Ct(G,G,!0,!1)),(k?Promise.resolve(k):R(v,G)).catch(N=>Ot(N)?Ot(N,2)?N:at(N):W(N,v,G)).then(N=>{if(N){if(Ot(N,2))return L(de({replace:d},_(N.to),{state:typeof N.to=="object"?de({},he,N.to.state):he,force:be}),K||v)}else N=x(v,G,!0,d,he);return M(v,G,N),N})}function S(I,K){const B=g(I,K);return B?Promise.reject(B):Promise.resolve()}function T(I){const K=Mn.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(I):I()}function R(I,K){let B;const[G,he,be]=qy(I,K);B=Ci(G.reverse(),"beforeRouteLeave",I,K);for(const p of G)p.leaveGuards.forEach(v=>{B.push(Yt(v,I,K))});const d=S.bind(null,I,K);return B.push(d),De(B).then(()=>{B=[];for(const p of i.list())B.push(Yt(p,I,K));return B.push(d),De(B)}).then(()=>{B=Ci(he,"beforeRouteUpdate",I,K);for(const p of he)p.updateGuards.forEach(v=>{B.push(Yt(v,I,K))});return B.push(d),De(B)}).then(()=>{B=[];for(const p of be)if(p.beforeEnter)if(St(p.beforeEnter))for(const v of p.beforeEnter)B.push(Yt(v,I,K));else B.push(Yt(p.beforeEnter,I,K));return B.push(d),De(B)}).then(()=>(I.matched.forEach(p=>p.enterCallbacks={}),B=Ci(be,"beforeRouteEnter",I,K,T),B.push(d),De(B))).then(()=>{B=[];for(const p of o.list())B.push(Yt(p,I,K));return B.push(d),De(B)}).catch(p=>Ot(p,8)?p:Promise.reject(p))}function M(I,K,B){l.list().forEach(G=>T(()=>G(I,K,B)))}function x(I,K,B,G,he){const be=g(I,K);if(be)return be;const d=K===jt,p=Dn?history.state:{};B&&(G||d?r.replace(I.fullPath,de({scroll:d&&p&&p.scroll},he)):r.push(I.fullPath,he)),c.value=I,Ct(I,K,B,d),at()}let V;function Q(){V||(V=r.listen((I,K,B)=>{if(!Ys.listening)return;const G=A(I),he=C(G);if(he){L(de(he,{replace:!0}),G).catch(vs);return}a=G;const be=c.value;Dn&&hy(pc(be.fullPath,B.delta),oi()),R(G,be).catch(d=>Ot(d,12)?d:Ot(d,2)?(L(d.to,G).then(p=>{Ot(p,20)&&!B.delta&&B.type===Ds.pop&&r.go(-1,!1)}).catch(vs),Promise.reject()):(B.delta&&r.go(-B.delta,!1),W(d,G,be))).then(d=>{d=d||x(G,be,!1),d&&(B.delta&&!Ot(d,8)?r.go(-B.delta,!1):B.type===Ds.pop&&Ot(d,20)&&r.go(-1,!1)),M(G,be,d)}).catch(vs)}))}let se=fs(),U=fs(),X;function W(I,K,B){at(I);const G=U.list();return G.length?G.forEach(he=>he(I,K,B)):console.error(I),Promise.reject(I)}function qe(){return X&&c.value!==jt?Promise.resolve():new Promise((I,K)=>{se.add([I,K])})}function at(I){return X||(X=!I,Q(),se.list().forEach(([K,B])=>I?B(I):K()),se.reset()),I}function Ct(I,K,B,G){const{scrollBehavior:he}=e;if(!Dn||!he)return Promise.resolve();const be=!B&&dy(pc(I.fullPath,0))||(G||!B)&&history.state&&history.state.scroll||null;return Bs().then(()=>he(I,K,be)).then(d=>d&&uy(d)).catch(d=>W(d,I,K))}const Ge=I=>r.go(I);let Pn;const Mn=new Set,Ys={currentRoute:c,listening:!0,addRoute:m,removeRoute:y,hasRoute:O,getRoutes:w,resolve:A,options:e,push:b,replace:E,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:U.add,isReady:qe,install(I){const K=this;I.component("RouterLink",Vy),I.component("RouterView",jy),I.config.globalProperties.$router=K,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>ye(c)}),Dn&&!Pn&&c.value===jt&&(Pn=!0,b(r.location).catch(he=>{}));const B={};for(const he in jt)Object.defineProperty(B,he,{get:()=>c.value[he],enumerable:!0});I.provide(li,K),I.provide(el,ao(B)),I.provide(eo,c);const G=I.unmount;Mn.add(I),I.unmount=function(){Mn.delete(I),Mn.size<1&&(a=jt,V&&V(),V=null,c.value=jt,Pn=!1,X=!1),G()}}};function De(I){return I.reduce((K,B)=>K.then(()=>T(B)),Promise.resolve())}return Ys}function qy(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;ons(a,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(a=>ns(a,c))||r.push(c))}return[n,s,r]}function Wy(){return ot(li)}function Gy(){return ot(el)}const tl=e=>(ia("data-v-e2e91f2d"),e=e(),oa(),e),zy={class:"container"},Jy=tl(()=>z("button",{type:"submit"},"Get the proxies!",-1)),Yy=tl(()=>z("p",null,[Ue("Powered by "),z("a",{href:"https://scryfall.com"},"Scryfall"),Ue(".")],-1)),Qy=tl(()=>z("p",null,[Ue("Please report any errors to the issue tracker on my "),z("a",{href:"https://github.com/fklingler/mtgproxy"},"Github project page"),Ue(".")],-1)),Xy=Me({__name:"Index",setup(e){const t=Wy(),n=Rt(` +1 Black Lotus +2x Birds of Paradise +Oko, Thief of Crowns +Bolas's Citadel +Realm-Cloaked Giant // Cast Off +2x ? Soldier type:token o:haste +`.trim());function s(){console.log(n.value),t.push({path:"/results",query:{cards:n.value}})}return(r,i)=>(re(),xe("div",zy,[z("form",{onSubmit:mf(s,["prevent"])},[ds(z("textarea",{class:"cards","onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o)},null,512),[[Os,n.value]]),Jy],32),Yy,Qy]))}}),vu=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Zy=vu(Xy,[["__scopeId","data-v-e2e91f2d"]]),e_={editableContent:!1,displayReminderText:!0,doubleFacedOnTwoCards:!0},st=os(e_);t_();gn(st,e=>{localStorage.setItem("resultsConfig",JSON.stringify(e))});function t_(){const e=localStorage.getItem("resultsConfig");if(e){const t=JSON.parse(e);t.editableContent!==void 0&&(st.editableContent=t.editableContent),t.displayReminderText!==void 0&&(st.displayReminderText=t.displayReminderText),t.doubleFacedOnTwoCards!==void 0&&(st.doubleFacedOnTwoCards=t.doubleFacedOnTwoCards)}}var Qt=(e=>(e.normal="normal",e.split="split",e.flip="flip",e.transform="transform",e.meld="meld",e.leveler="leveler",e.saga="saga",e.adventure="adventure",e.planar="planar",e.scheme="scheme",e.vanguard="vanguard",e.token="token",e.double_faced_token="double_faced_token",e.emblem="emblem",e.augment="augment",e.host="host",e.art_series="art_series",e.double_sided="double_sided",e.modal_dfc="modal_dfc",e))(Qt||{});const n_={class:"card_frame dont_print"},s_={class:"error"},r_=z("br",null,null,-1),i_=z("br",null,null,-1),o_=z("br",null,null,-1),l_=z("br",null,null,-1),c_=z("a",{href:"https://github.com/fklingler/mtgproxy"},"Github Repository",-1),a_=z("a",{href:"https://twitter.com/fklingler"},"@fklingler",-1),f_=z("br",null,null,-1),u_=z("br",null,null,-1),h_=z("i",null,"This will not be printed.",-1),ci=Me({__name:"CardError",props:{card:{}},setup(e){return(t,n)=>(re(),xe("div",n_,[z("p",s_,[Ue(' An error occurred while generating the proxy for the card "'+nn(t.card.name)+'".',1),r_,i_,Ue(" This may be because the card type is not supported."),o_,l_,Ue(" If you think this should work, please add an issue on the "),c_,Ue(" of this website, or contact "),a_,Ue("."),f_,u_,h_])]))}}),d_={class:"name_mana_line"},p_={class:"name"},m_=["innerHTML"],g_={class:"typeline"},y_=["innerHTML"],nl=Me({__name:"InnerBase",props:{face:{}},setup(e){function t(s){return(s.match(/{.*?}/g)??[]).map(r=>r.length>3?r:r.replace("{","").replace("}","")).join("")}function n(s){return s.split(` +`).map(r=>` +

+ ${r.replace("(",'(').replace(")",")")} +

+ `).join("")}return(s,r)=>(re(),xe(_e,null,[z("div",d_,[z("p",p_,nn(s.face.name),1),z("p",{class:"manacost",innerHTML:t(s.face.mana_cost??"")},null,8,m_)]),z("p",g_,nn(s.face.type_line),1),z("div",{class:"oracle_div",innerHTML:n(s.face.oracle_text??"")},null,8,y_)],64))}}),__={class:"power_toughness"},b_=Me({__name:"InnerCreature",props:{face:{}},setup(e){return(t,n)=>(re(),xe(_e,null,[ge(nl,{face:t.face},null,8,["face"]),z("p",__,nn(t.face.power)+"/"+nn(t.face.toughness),1)],64))}}),v_=Me({__name:"InnerNonCreature",props:{face:{}},setup(e){return(t,n)=>(re(),Pe(nl,{face:t.face},null,8,["face"]))}}),E_={class:"loyalty"},S_=Me({__name:"InnerPlaneswalker",props:{face:{}},setup(e){return(t,n)=>(re(),xe(_e,null,[ge(nl,{face:t.face},null,8,["face"]),z("p",E_,nn(t.face.loyalty),1)],64))}}),C_={key:1,class:"card_frame"},T_={class:"card_inner"},w_={class:"card_inner flip_top"},A_=z("hr",{class:"flip_divider"},null,-1),R_={class:"card_inner flip_bottom"},N_=Me({__name:"LayoutFlip",props:{card:{}},setup(e){var s;const n=((s=e.card.card_faces)==null?void 0:s.length)!=2;return(r,i)=>n?(re(),Pe(ci,{key:0,card:r.card},null,8,["card"])):(re(),xe("div",C_,[z("div",T_,[z("div",w_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[0])),{face:r.card.card_faces[0]},null,8,["face"]))]),A_,z("div",R_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[1])),{face:r.card.card_faces[1]},null,8,["face"]))])])]))}}),I_={class:"card_frame"},O_={class:"card_inner"},x_={class:"card_frame"},k_={class:"card_inner"},P_={key:1,class:"card_frame"},M_={class:"card_inner"},L_={class:"card_inner split_left"},$_=z("hr",{class:"flip_divider"},null,-1),F_={class:"card_inner split_right"},D_=Me({__name:"LayoutDoubleFaced",props:{card:{}},setup(e){var s;const n=((s=e.card.card_faces)==null?void 0:s.length)!=2;return(r,i)=>n?(re(),Pe(ci,{key:0,card:r.card},null,8,["card"])):(re(),xe(_e,{key:1},[ye(st).doubleFacedOnTwoCards?(re(),xe(_e,{key:0},[z("div",I_,[z("div",O_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[0])),{face:r.card.card_faces[0]},null,8,["face"]))])]),z("div",x_,[z("div",k_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[1])),{face:r.card.card_faces[1]},null,8,["face"]))])])],64)):(re(),xe("div",P_,[z("div",M_,[z("div",L_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[0])),{face:r.card.card_faces[0]},null,8,["face"]))]),$_,z("div",F_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[1])),{face:r.card.card_faces[1]},null,8,["face"]))])])]))],64))}}),V_={class:"card_frame"},B_={class:"card_inner"},H_=Me({__name:"LayoutNormal",props:{card:{}},setup(e){return(t,n)=>(re(),xe("div",V_,[z("div",B_,[(re(),Pe(_t(ye(Mt)(t.card)),{face:t.card},null,8,["face"]))])]))}}),U_={key:1,class:"card_frame"},j_={class:"card_inner"},K_={class:"card_inner split_left"},q_=z("hr",{class:"flip_divider"},null,-1),W_={class:"card_inner split_right"},G_=Me({__name:"LayoutSplit",props:{card:{}},setup(e){var s;const n=((s=e.card.card_faces)==null?void 0:s.length)!=2;return(r,i)=>n?(re(),Pe(ci,{key:0,card:r.card},null,8,["card"])):(re(),xe("div",U_,[z("div",j_,[z("div",K_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[0])),{face:r.card.card_faces[0]},null,8,["face"]))]),q_,z("div",W_,[(re(),Pe(_t(ye(Mt)(r.card.card_faces[1])),{face:r.card.card_faces[1]},null,8,["face"]))])])]))}}),z_=[Qt.vanguard];function J_(e){if(z_.includes(e.layout))return ci;switch(e.layout){case Qt.split:case Qt.adventure:return G_;case Qt.flip:return N_;case Qt.transform:case Qt.modal_dfc:case Qt.double_faced_token:return D_;default:return H_}}function Mt(e){const t=e.type_line;return t.includes("Creature")||t.includes("Vehicle")?b_:t.includes("Planeswalker")?S_:v_}const Y_={key:0,class:"card_frame dont_print"},Q_=z("p",{class:"loading"},"Loading...",-1),X_=[Q_],Z_={key:1,class:"card_frame dont_print"},eb={class:"card_not_found"},tb=z("br",null,null,-1),nb=z("br",null,null,-1),sb=z("i",null,"This will not be printed.",-1),rb=Me({__name:"ResultsCard",props:{query:{},fuzzySearch:{type:Boolean},count:{}},setup(e){const t=e,n=Rt(!0),s=Rt();ha(i=>r(i));async function r(i){n.value=!0;const o=new AbortController;if(i(()=>o.abort()),t.fuzzySearch){const l=await fetch(`https://api.scryfall.com/cards/named?fuzzy=${encodeURIComponent(t.query)}`,{signal:o.signal});s.value=await l.json()}else{const c=await(await fetch(`https://api.scryfall.com/cards/search?q=${encodeURIComponent(t.query)}`,{signal:o.signal})).json();s.value=c.object=="list"?c.data[0]:c}n.value=!1}return(i,o)=>(re(!0),xe(_e,null,Ro(i.count,l=>(re(),xe(_e,null,[n.value?(re(),xe("div",Y_,X_)):!s.value||s.value.object=="error"?(re(),xe("div",Z_,[z("p",eb,[Ue('Card "'+nn(i.query)+'" not found.',1),tb,nb,sb])])):(re(),Pe(_t(ye(J_)(s.value)),{key:2,card:s.value},null,8,["card"]))],64))),256))}}),ib={class:"config"},ob=Me({__name:"ResultsConfig",setup(e){return(t,n)=>(re(),xe("div",ib,[z("label",null,[ds(z("input",{type:"checkbox","onUpdate:modelValue":n[0]||(n[0]=s=>ye(st).displayReminderText=s)},null,512),[[Gn,ye(st).displayReminderText]]),Ue(" Display reminder text")]),z("label",null,[ds(z("input",{type:"checkbox","onUpdate:modelValue":n[1]||(n[1]=s=>ye(st).editableContent=s)},null,512),[[Gn,ye(st).editableContent]]),Ue(" Manually edit content")]),z("label",null,[ds(z("input",{type:"checkbox","onUpdate:modelValue":n[2]||(n[2]=s=>ye(st).doubleFacedOnTwoCards=s)},null,512),[[Gn,ye(st).doubleFacedOnTwoCards]]),Ue(" Display double faced cards on two cards")])]))}}),lb=vu(ob,[["__scopeId","data-v-feaa5deb"]]),cb={class:"config"},ab=["contenteditable"],fb=Me({__name:"Results",setup(e){const t=Rt([]);n(Gy()),$y((r,i)=>{r.query.cards!=i.query.cards&&n(r)});function n(r){var i;t.value=s(((i=r.query.cards)==null?void 0:i.toString())??"")}function s(r){var i;return(i=r.match(/[^\r\n]+/g))==null?void 0:i.map(o=>{const c=/^((?[\d]+)x?\s)?(?\?)?(?.+)/gi.exec(o.trim());if(c!=null&&c.groups)return{count:parseInt(c.groups.count??"1",10),query:c.groups.query,fuzzySearch:!c.groups.queryMarker}}).filter(o=>!!o)}return(r,i)=>(re(),xe(_e,null,[z("div",cb,[ge(lb)]),z("div",{class:is([ye(st).displayReminderText?"":"hide_reminder_text"]),contenteditable:ye(st).editableContent},[(re(!0),xe(_e,null,Ro(t.value,o=>(re(),Pe(rb,{query:o.query,fuzzySearch:o.fuzzySearch,count:o.count},null,8,["query","fuzzySearch","count"]))),256))],10,ab)],64))}}),ub=[{path:"/",component:Zy},{path:"/results",component:fb}],hb=Ky({history:_y(),routes:ub}),Eu=vf({});Eu.use(hb);Eu.mount("#app"); diff --git a/index.html b/index.html new file mode 100644 index 0000000..3360ab0 --- /dev/null +++ b/index.html @@ -0,0 +1,20 @@ + + + + + + + + MTG Proxy + + + + + +
+ +
+ + + +