mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-09-09 02:10:33 +08:00
2 lines
88 KiB
JavaScript
2 lines
88 KiB
JavaScript
function vr(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return s=>!!n[s]}const re={},vt=[],He=()=>{},ri=()=>!1,si=/^on[^a-z]/,Vt=e=>si.test(e),yr=e=>e.startsWith("onUpdate:"),ue=Object.assign,_r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},oi=Object.prototype.hasOwnProperty,X=(e,t)=>oi.call(e,t),W=Array.isArray,yt=e=>wn(e)==="[object Map]",$s=e=>wn(e)==="[object Set]",V=e=>typeof e=="function",se=e=>typeof e=="string",br=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",js=e=>te(e)&&V(e.then)&&V(e.catch),Ds=Object.prototype.toString,wn=e=>Ds.call(e),ii=e=>wn(e).slice(8,-1),ks=e=>wn(e)==="[object Object]",wr=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=vr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),En=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},li=/-(\w)/g,je=En(e=>e.replace(li,(t,n)=>n?n.toUpperCase():"")),ci=/\B([A-Z])/g,dt=En(e=>e.replace(ci,"-$1").toLowerCase()),Cn=En(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=En(e=>e?`on${Cn(e)}`:""),Dt=(e,t)=>!Object.is(e,t),Dn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ai=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ui=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let zr;const sr=()=>zr||(zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xn(e){if(W(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=se(r)?pi(r):xn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(se(e))return e;if(te(e))return e}}const fi=/;(?![^(]*\))/g,di=/:([^]+)/,hi=/\/\*[^]*?\*\//g;function pi(e){const t={};return e.replace(hi,"").split(fi).forEach(n=>{if(n){const r=n.split(di);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tn(e){let t="";if(se(e))t=e;else if(W(e))for(let n=0;n<e.length;n++){const r=Tn(e[n]);r&&(t+=r+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Wa(e){if(!e)return null;let{class:t,style:n}=e;return t&&!se(t)&&(e.class=Tn(t)),n&&(e.style=xn(n)),e}const gi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mi=vr(gi);function Bs(e){return!!e||e===""}const Ka=e=>se(e)?e:e==null?"":W(e)||te(e)&&(e.toString===Ds||!V(e.toString))?JSON.stringify(e,Us,2):String(e),Us=(e,t)=>t&&t.__v_isRef?Us(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:$s(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!W(t)&&!ks(t)?String(t):t;let be;class vi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function yi(e,t=be){t&&t.active&&t.effects.push(e)}function Ws(){return be}function _i(e){be&&be.cleanups.push(e)}const Er=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ks=e=>(e.w&Ze)>0,Vs=e=>(e.n&Ze)>0,bi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ze},wi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Ks(s)&&!Vs(s)?s.delete(e):t[n++]=s,s.w&=~Ze,s.n&=~Ze}t.length=n}},pn=new WeakMap;let Mt=0,Ze=1;const or=30;let Ie;const lt=Symbol(""),ir=Symbol("");class Cr{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,yi(this,r)}run(){if(!this.active)return this.fn();let t=Ie,n=Je;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ie,Ie=this,Je=!0,Ze=1<<++Mt,Mt<=or?bi(this):qr(this),this.fn()}finally{Mt<=or&&wi(this),Ze=1<<--Mt,Ie=this.parent,Je=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ie===this?this.deferStop=!0:this.active&&(qr(this),this.onStop&&this.onStop(),this.active=!1)}}function qr(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Je=!0;const zs=[];function At(){zs.push(Je),Je=!1}function Rt(){const e=zs.pop();Je=e===void 0?!0:e}function ye(e,t,n){if(Je&&Ie){let r=pn.get(e);r||pn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Er()),qs(s)}}function qs(e,t){let n=!1;Mt<=or?Vs(e)||(e.n|=Ze,n=!Ks(e)):n=!e.has(Ie),n&&(e.add(Ie),Ie.deps.push(e))}function Be(e,t,n,r,s,o){const i=pn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&W(e)){const c=Number(r);i.forEach((a,d)=>{(d==="length"||d>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":W(e)?wr(n)&&l.push(i.get("length")):(l.push(i.get(lt)),yt(e)&&l.push(i.get(ir)));break;case"delete":W(e)||(l.push(i.get(lt)),yt(e)&&l.push(i.get(ir)));break;case"set":yt(e)&&l.push(i.get(lt));break}if(l.length===1)l[0]&&lr(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);lr(Er(c))}}function lr(e,t){const n=W(e)?e:[...e];for(const r of n)r.computed&&Xr(r);for(const r of n)r.computed||Xr(r)}function Xr(e,t){(e!==Ie||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Ei(e,t){var n;return(n=pn.get(e))==null?void 0:n.get(t)}const Ci=vr("__proto__,__v_isRef,__isVue"),Xs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(br)),xi=xr(),Ti=xr(!1,!0),Si=xr(!0),Yr=Ai();function Ai(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Y(this);for(let o=0,i=this.length;o<i;o++)ye(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Y)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){At();const r=Y(this)[t].apply(this,n);return Rt(),r}}),e}function Ri(e){const t=Y(this);return ye(t,"has",e),t.hasOwnProperty(e)}function xr(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Ki:Gs:t?Zs:Qs).get(r))return r;const i=W(r);if(!e){if(i&&X(Yr,s))return Reflect.get(Yr,s,o);if(s==="hasOwnProperty")return Ri}const l=Reflect.get(r,s,o);return(br(s)?Xs.has(s):Ci(s))||(e||ye(r,"get",s),t)?l:ae(l)?i&&wr(s)?l:l.value:te(l)?e?An(l):Et(l):l}}const Ii=Ys(),Oi=Ys(!0);function Ys(e=!1){return function(n,r,s,o){let i=n[r];if(Ct(i)&&ae(i)&&!ae(s))return!1;if(!e&&(!gn(s)&&!Ct(s)&&(i=Y(i),s=Y(s)),!W(n)&&ae(i)&&!ae(s)))return i.value=s,!0;const l=W(n)&&wr(r)?Number(r)<n.length:X(n,r),c=Reflect.set(n,r,s,o);return n===Y(o)&&(l?Dt(s,i)&&Be(n,"set",r,s):Be(n,"add",r,s)),c}}function Pi(e,t){const n=X(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Be(e,"delete",t,void 0),r}function Mi(e,t){const n=Reflect.has(e,t);return(!br(t)||!Xs.has(t))&&ye(e,"has",t),n}function Li(e){return ye(e,"iterate",W(e)?"length":lt),Reflect.ownKeys(e)}const Js={get:xi,set:Ii,deleteProperty:Pi,has:Mi,ownKeys:Li},Fi={get:Si,set(e,t){return!0},deleteProperty(e,t){return!0}},Ni=ue({},Js,{get:Ti,set:Oi}),Tr=e=>e,Sn=e=>Reflect.getPrototypeOf(e);function Qt(e,t,n=!1,r=!1){e=e.__v_raw;const s=Y(e),o=Y(t);n||(t!==o&&ye(s,"get",t),ye(s,"get",o));const{has:i}=Sn(s),l=r?Tr:n?Rr:kt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Zt(e,t=!1){const n=this.__v_raw,r=Y(n),s=Y(e);return t||(e!==s&&ye(r,"has",e),ye(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Gt(e,t=!1){return e=e.__v_raw,!t&&ye(Y(e),"iterate",lt),Reflect.get(e,"size",e)}function Jr(e){e=Y(e);const t=Y(this);return Sn(t).has.call(t,e)||(t.add(e),Be(t,"add",e,e)),this}function Qr(e,t){t=Y(t);const n=Y(this),{has:r,get:s}=Sn(n);let o=r.call(n,e);o||(e=Y(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Dt(t,i)&&Be(n,"set",e,t):Be(n,"add",e,t),this}function Zr(e){const t=Y(this),{has:n,get:r}=Sn(t);let s=n.call(t,e);s||(e=Y(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Be(t,"delete",e,void 0),o}function Gr(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&Be(e,"clear",void 0,void 0),n}function en(e,t){return function(r,s){const o=this,i=o.__v_raw,l=Y(i),c=t?Tr:e?Rr:kt;return!e&&ye(l,"iterate",lt),i.forEach((a,d)=>r.call(s,c(a),c(d),o))}}function tn(e,t,n){return function(...r){const s=this.__v_raw,o=Y(s),i=yt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=s[e](...r),d=n?Tr:t?Rr:kt;return!t&&ye(o,"iterate",c?ir:lt),{next(){const{value:h,done:m}=a.next();return m?{value:h,done:m}:{value:l?[d(h[0]),d(h[1])]:d(h),done:m}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return e==="delete"?!1:this}}function Hi(){const e={get(o){return Qt(this,o)},get size(){return Gt(this)},has:Zt,add:Jr,set:Qr,delete:Zr,clear:Gr,forEach:en(!1,!1)},t={get(o){return Qt(this,o,!1,!0)},get size(){return Gt(this)},has:Zt,add:Jr,set:Qr,delete:Zr,clear:Gr,forEach:en(!1,!0)},n={get(o){return Qt(this,o,!0)},get size(){return Gt(this,!0)},has(o){return Zt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:en(!0,!1)},r={get(o){return Qt(this,o,!0,!0)},get size(){return Gt(this,!0)},has(o){return Zt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=tn(o,!1,!1),n[o]=tn(o,!0,!1),t[o]=tn(o,!1,!0),r[o]=tn(o,!0,!0)}),[e,n,t,r]}const[$i,ji,Di,ki]=Hi();function Sr(e,t){const n=t?e?ki:Di:e?ji:$i;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(X(n,s)&&s in r?n:r,s,o)}const Bi={get:Sr(!1,!1)},Ui={get:Sr(!1,!0)},Wi={get:Sr(!0,!1)},Qs=new WeakMap,Zs=new WeakMap,Gs=new WeakMap,Ki=new WeakMap;function Vi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zi(e){return e.__v_skip||!Object.isExtensible(e)?0:Vi(ii(e))}function Et(e){return Ct(e)?e:Ar(e,!1,Js,Bi,Qs)}function qi(e){return Ar(e,!1,Ni,Ui,Zs)}function An(e){return Ar(e,!0,Fi,Wi,Gs)}function Ar(e,t,n,r,s){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=zi(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function _t(e){return Ct(e)?_t(e.__v_raw):!!(e&&e.__v_isReactive)}function Ct(e){return!!(e&&e.__v_isReadonly)}function gn(e){return!!(e&&e.__v_isShallow)}function eo(e){return _t(e)||Ct(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function Nt(e){return hn(e,"__v_skip",!0),e}const kt=e=>te(e)?Et(e):e,Rr=e=>te(e)?An(e):e;function Ir(e){Je&&Ie&&(e=Y(e),qs(e.dep||(e.dep=Er())))}function Or(e,t){e=Y(e);const n=e.dep;n&&lr(n)}function ae(e){return!!(e&&e.__v_isRef===!0)}function $e(e){return to(e,!1)}function xe(e){return to(e,!0)}function to(e,t){return ae(e)?e:new Xi(e,t)}class Xi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:kt(t)}get value(){return Ir(this),this._value}set value(t){const n=this.__v_isShallow||gn(t)||Ct(t);t=n?t:Y(t),Dt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:kt(t),Or(this))}}function Pr(e){return ae(e)?e.value:e}function oe(e){return V(e)?e():Pr(e)}const Yi={get:(e,t,n)=>Pr(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function no(e){return _t(e)?e:new Proxy(e,Yi)}class Ji{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Ir(this),()=>Or(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Qi(e){return new Ji(e)}class Zi{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ei(Y(this._object),this._key)}}class Gi{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function el(e,t,n){return ae(e)?e:V(e)?new Gi(e):te(e)&&arguments.length>1?tl(e,t,n):$e(e)}function tl(e,t,n){const r=e[t];return ae(r)?r:new Zi(e,t,n)}class nl{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Cr(t,()=>{this._dirty||(this._dirty=!0,Or(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Y(this);return Ir(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function rl(e,t,n=!1){let r,s;const o=V(e);return o?(r=e,s=He):(r=e.get,s=e.set),new nl(r,s,o||!s,n)}function Qe(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){zt(o,t,n)}return s}function Te(e,t,n,r){if(V(e)){const o=Qe(e,t,n,r);return o&&js(o)&&o.catch(i=>{zt(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Te(e[o],t,n,r));return s}function zt(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const a=o.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,i,l)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){Qe(c,null,10,[e,i,l]);return}}sl(e,n,s,r)}function sl(e,t,n,r=!0){console.error(e)}let Bt=!1,cr=!1;const pe=[];let Ne=0;const bt=[];let ke=null,st=0;const ro=Promise.resolve();let Mr=null;function Rn(e){const t=Mr||ro;return e?t.then(this?e.bind(this):e):t}function ol(e){let t=Ne+1,n=pe.length;for(;t<n;){const r=t+n>>>1;Ut(pe[r])<e?t=r+1:n=r}return t}function In(e){(!pe.length||!pe.includes(e,Bt&&e.allowRecurse?Ne+1:Ne))&&(e.id==null?pe.push(e):pe.splice(ol(e.id),0,e),so())}function so(){!Bt&&!cr&&(cr=!0,Mr=ro.then(oo))}function il(e){const t=pe.indexOf(e);t>Ne&&pe.splice(t,1)}function ll(e){W(e)?bt.push(...e):(!ke||!ke.includes(e,e.allowRecurse?st+1:st))&&bt.push(e),so()}function es(e,t=Bt?Ne+1:0){for(;t<pe.length;t++){const n=pe[t];n&&n.pre&&(pe.splice(t,1),t--,n())}}function mn(e){if(bt.length){const t=[...new Set(bt)];if(bt.length=0,ke){ke.push(...t);return}for(ke=t,ke.sort((n,r)=>Ut(n)-Ut(r)),st=0;st<ke.length;st++)ke[st]();ke=null,st=0}}const Ut=e=>e.id==null?1/0:e.id,cl=(e,t)=>{const n=Ut(e)-Ut(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function oo(e){cr=!1,Bt=!0,pe.sort(cl);try{for(Ne=0;Ne<pe.length;Ne++){const t=pe[Ne];t&&t.active!==!1&&Qe(t,null,14)}}finally{Ne=0,pe.length=0,mn(),Bt=!1,Mr=null,(pe.length||bt.length)&&oo()}}function al(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||re;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:m}=r[d]||re;m&&(s=n.map(y=>se(y)?y.trim():y)),h&&(s=n.map(ai))}let l,c=r[l=un(t)]||r[l=un(je(t))];!c&&o&&(c=r[l=un(dt(t))]),c&&Te(c,e,6,s);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Te(a,e,6,s)}}function io(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!V(e)){const c=a=>{const d=io(a,t,!0);d&&(l=!0,ue(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(te(e)&&r.set(e,null),null):(W(o)?o.forEach(c=>i[c]=null):ue(i,o),te(e)&&r.set(e,i),i)}function On(e,t){return!e||!Vt(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,dt(t))||X(e,t))}let fe=null,Pn=null;function vn(e){const t=fe;return fe=e,Pn=e&&e.type.__scopeId||null,t}function Va(e){Pn=e}function za(){Pn=null}function ul(e,t=fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ds(-1);const o=vn(t);let i;try{i=e(...s)}finally{vn(o),r._d&&ds(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function kn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:c,emit:a,render:d,renderCache:h,data:m,setupState:y,ctx:C,inheritAttrs:E}=e;let j,g;const v=vn(e);try{if(n.shapeFlag&4){const R=s||r;j=Re(d.call(R,R,h,o,y,m,C)),g=c}else{const R=t;j=Re(R.length>1?R(o,{attrs:c,slots:l,emit:a}):R(o,null)),g=t.props?c:fl(c)}}catch(R){jt.length=0,zt(R,e,1),j=ie(we)}let $=j;if(g&&E!==!1){const R=Object.keys(g),{shapeFlag:U}=$;R.length&&U&7&&(i&&R.some(yr)&&(g=dl(g,i)),$=Ge($,g))}return n.dirs&&($=Ge($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),j=$,vn(v),j}const fl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vt(n))&&((t||(t={}))[n]=e[n]);return t},dl=(e,t)=>{const n={};for(const r in e)(!yr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function hl(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ts(r,i,a):!!i;if(c&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const m=d[h];if(i[m]!==r[m]&&!On(a,m))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?ts(r,i,a):!0:!!i;return!1}function ts(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!On(n,o))return!0}return!1}function pl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const gl=e=>e.__isSuspense;function lo(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):ll(e)}function co(e,t){return Mn(e,null,t)}function qa(e,t){return Mn(e,null,{flush:"post"})}const nn={};function Se(e,t,n){return Mn(e,t,n)}function Mn(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=re){var l;const c=Ws()===((l=ce)==null?void 0:l.scope)?ce:null;let a,d=!1,h=!1;if(ae(e)?(a=()=>e.value,d=gn(e)):_t(e)?(a=()=>e,r=!0):W(e)?(h=!0,d=e.some(R=>_t(R)||gn(R)),a=()=>e.map(R=>{if(ae(R))return R.value;if(_t(R))return mt(R);if(V(R))return Qe(R,c,2)})):V(e)?t?a=()=>Qe(e,c,2):a=()=>{if(!(c&&c.isUnmounted))return m&&m(),Te(e,c,3,[y])}:a=He,t&&r){const R=a;a=()=>mt(R())}let m,y=R=>{m=v.onStop=()=>{Qe(R,c,4)}},C;if(St)if(y=He,t?n&&Te(t,c,3,[a(),h?[]:void 0,y]):a(),s==="sync"){const R=ac();C=R.__watcherHandles||(R.__watcherHandles=[])}else return He;let E=h?new Array(e.length).fill(nn):nn;const j=()=>{if(v.active)if(t){const R=v.run();(r||d||(h?R.some((U,z)=>Dt(U,E[z])):Dt(R,E)))&&(m&&m(),Te(t,c,3,[R,E===nn?void 0:h&&E[0]===nn?[]:E,y]),E=R)}else v.run()};j.allowRecurse=!!t;let g;s==="sync"?g=j:s==="post"?g=()=>me(j,c&&c.suspense):(j.pre=!0,c&&(j.id=c.uid),g=()=>In(j));const v=new Cr(a,g);t?n?j():E=v.run():s==="post"?me(v.run.bind(v),c&&c.suspense):v.run();const $=()=>{v.stop(),c&&c.scope&&_r(c.scope.effects,v)};return C&&C.push($),$}function ml(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?ao(r,e):()=>r[e]:e.bind(r,r);let o;V(t)?o=t:(o=t.handler,n=t);const i=ce;Tt(this);const l=Mn(s,o.bind(r),n);return i?Tt(i):at(),l}function ao(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function mt(e,t){if(!te(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ae(e))mt(e.value,t);else if(W(e))for(let n=0;n<e.length;n++)mt(e[n],t);else if($s(e)||yt(e))e.forEach(n=>{mt(n,t)});else if(ks(e))for(const n in e)mt(e[n],t);return e}function Fe(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let c=l.dir[r];c&&(At(),Te(c,n,8,[e.el,l,e,t]),Rt())}}function vl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return It(()=>{e.isMounted=!0}),go(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],uo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},yl={name:"BaseTransition",props:uo,setup(e,{slots:t}){const n=Xt(),r=vl();let s;return()=>{const o=t.default&&ho(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const E of o)if(E.type!==we){i=E;break}}const l=Y(e),{mode:c}=l;if(r.isLeaving)return Bn(i);const a=ns(i);if(!a)return Bn(i);const d=ar(a,l,r,n);ur(a,d);const h=n.subTree,m=h&&ns(h);let y=!1;const{getTransitionKey:C}=a.type;if(C){const E=C();s===void 0?s=E:E!==s&&(s=E,y=!0)}if(m&&m.type!==we&&(!ot(a,m)||y)){const E=ar(m,l,r,n);if(ur(m,E),c==="out-in")return r.isLeaving=!0,E.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Bn(i);c==="in-out"&&a.type!==we&&(E.delayLeave=(j,g,v)=>{const $=fo(r,m);$[String(m.key)]=m,j._leaveCb=()=>{g(),j._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=v})}return i}}},_l=yl;function fo(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ar(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:h,onLeave:m,onAfterLeave:y,onLeaveCancelled:C,onBeforeAppear:E,onAppear:j,onAfterAppear:g,onAppearCancelled:v}=t,$=String(e.key),R=fo(n,e),U=(S,N)=>{S&&Te(S,r,9,N)},z=(S,N)=>{const D=N[1];U(S,N),W(S)?S.every(O=>O.length<=1)&&D():S.length<=1&&D()},P={mode:o,persisted:i,beforeEnter(S){let N=l;if(!n.isMounted)if(s)N=E||l;else return;S._leaveCb&&S._leaveCb(!0);const D=R[$];D&&ot(e,D)&&D.el._leaveCb&&D.el._leaveCb(),U(N,[S])},enter(S){let N=c,D=a,O=d;if(!n.isMounted)if(s)N=j||c,D=g||a,O=v||d;else return;let x=!1;const L=S._enterCb=F=>{x||(x=!0,F?U(O,[S]):U(D,[S]),P.delayedLeave&&P.delayedLeave(),S._enterCb=void 0)};N?z(N,[S,L]):L()},leave(S,N){const D=String(e.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return N();U(h,[S]);let O=!1;const x=S._leaveCb=L=>{O||(O=!0,N(),L?U(C,[S]):U(y,[S]),S._leaveCb=void 0,R[D]===e&&delete R[D])};R[D]=e,m?z(m,[S,x]):x()},clone(S){return ar(S,t,n,r)}};return P}function Bn(e){if(qt(e))return e=Ge(e),e.children=null,e}function ns(e){return qt(e)?e.children?e.children[0]:void 0:e}function ur(e,t){e.shapeFlag&6&&e.component?ur(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 ho(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===ve?(i.patchFlag&128&&s++,r=r.concat(ho(i.children,t,l))):(t||i.type!==we)&&r.push(l!=null?Ge(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Lr(e,t){return V(e)?ue({name:e.name},t,{setup:e}):e}const wt=e=>!!e.type.__asyncLoader;function Xa(e){V(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,a,d=0;const h=()=>(d++,c=null,m()),m=()=>{let y;return c||(y=c=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),l)return new Promise((E,j)=>{l(C,()=>E(h()),()=>j(C),d+1)});throw C}).then(C=>y!==c&&c?c:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),a=C,C)))};return Lr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return a},setup(){const y=ce;if(a)return()=>Un(a,y);const C=v=>{c=null,zt(v,y,13,!r)};if(i&&y.suspense||St)return m().then(v=>()=>Un(v,y)).catch(v=>(C(v),()=>r?ie(r,{error:v}):null));const E=$e(!1),j=$e(),g=$e(!!s);return s&&setTimeout(()=>{g.value=!1},s),o!=null&&setTimeout(()=>{if(!E.value&&!j.value){const v=new Error(`Async component timed out after ${o}ms.`);C(v),j.value=v}},o),m().then(()=>{E.value=!0,y.parent&&qt(y.parent.vnode)&&In(y.parent.update)}).catch(v=>{C(v),j.value=v}),()=>{if(E.value&&a)return Un(a,y);if(j.value&&r)return ie(r,{error:j.value});if(n&&!g.value)return ie(n)}}})}function Un(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=ie(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const qt=e=>e.type.__isKeepAlive;function bl(e,t){po(e,"a",t)}function wl(e,t){po(e,"da",t)}function po(e,t,n=ce){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ln(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&El(r,t,n,s),s=s.parent}}function El(e,t,n,r){const s=Ln(t,e,r,!0);Fn(()=>{_r(r[t],s)},n)}function Ln(e,t,n=ce,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;At(),Tt(n);const l=Te(t,n,e,i);return at(),Rt(),l});return r?s.unshift(o):s.push(o),o}}const Ke=e=>(t,n=ce)=>(!St||e==="sp")&&Ln(e,(...r)=>t(...r),n),Cl=Ke("bm"),It=Ke("m"),xl=Ke("bu"),Tl=Ke("u"),go=Ke("bum"),Fn=Ke("um"),Sl=Ke("sp"),Al=Ke("rtg"),Rl=Ke("rtc");function Il(e,t=ce){Ln("ec",e,t)}const mo="components";function Ya(e,t){return yo(mo,e,!0,t)||e}const vo=Symbol.for("v-ndc");function Ja(e){return se(e)?yo(mo,e,!1)||e:e||vo}function yo(e,t,n=!0,r=!1){const s=fe||ce;if(s){const o=s.type;{const l=ic(o,!1);if(l&&(l===t||l===je(t)||l===Cn(je(t))))return o}const i=rs(s[e]||o[e],t)||rs(s.appContext[e],t);return!i&&r?o:i}}function rs(e,t){return e&&(e[t]||e[je(t)]||e[Cn(je(t))])}function Qa(e,t,n,r){let s;const o=n;if(W(e)||se(e)){s=new Array(e.length);for(let i=0,l=e.length;i<l;i++)s[i]=t(e[i],i,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o)}else if(te(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const a=i[l];s[l]=t(e[a],a,l,o)}}else s=[];return s}function Za(e,t,n={},r,s){if(fe.isCE||fe.parent&&wt(fe.parent)&&fe.parent.isCE)return t!=="default"&&(n.name=t),ie("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Oo();const i=o&&_o(o(n)),l=Mo(ve,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function _o(e){return e.some(t=>bn(t)?!(t.type===we||t.type===ve&&!_o(t.children)):!0)?e:null}function Ga(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:un(r)]=e[r];return n}const fr=e=>e?Ho(e)?$r(e)||e.proxy:fr(e.parent):null,Ht=ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fr(e.parent),$root:e=>fr(e.root),$emit:e=>e.emit,$options:e=>wo(e),$forceUpdate:e=>e.f||(e.f=()=>In(e.update)),$nextTick:e=>e.n||(e.n=Rn.bind(e.proxy)),$watch:e=>ml.bind(e)}),Wn=(e,t)=>e!==re&&!e.__isScriptSetup&&X(e,t),Ol={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Wn(r,t))return i[t]=1,r[t];if(s!==re&&X(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&X(a,t))return i[t]=3,o[t];if(n!==re&&X(n,t))return i[t]=4,n[t];dr&&(i[t]=0)}}const d=Ht[t];let h,m;if(d)return t==="$attrs"&&ye(e,"get",t),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==re&&X(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,X(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Wn(s,t)?(s[t]=n,!0):r!==re&&X(r,t)?(r[t]=n,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==re&&X(e,i)||Wn(t,i)||(l=o[0])&&X(l,i)||X(r,i)||X(Ht,i)||X(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function eu(){return Pl().slots}function Pl(){const e=Xt();return e.setupContext||(e.setupContext=jo(e))}function ss(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let dr=!0;function Ml(e){const t=wo(e),n=e.proxy,r=e.ctx;dr=!1,t.beforeCreate&&os(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:a,created:d,beforeMount:h,mounted:m,beforeUpdate:y,updated:C,activated:E,deactivated:j,beforeDestroy:g,beforeUnmount:v,destroyed:$,unmounted:R,render:U,renderTracked:z,renderTriggered:P,errorCaptured:S,serverPrefetch:N,expose:D,inheritAttrs:O,components:x,directives:L,filters:F}=t;if(a&&Ll(a,r,null),i)for(const Q in i){const Z=i[Q];V(Z)&&(r[Q]=Z.bind(n))}if(s){const Q=s.call(n,n);te(Q)&&(e.data=Et(Q))}if(dr=!0,o)for(const Q in o){const Z=o[Q],Pe=V(Z)?Z.bind(n,n):V(Z.get)?Z.get.bind(n,n):He,Yt=!V(Z)&&V(Z.set)?Z.set.bind(n):He,et=ne({get:Pe,set:Yt});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>et.value,set:Me=>et.value=Me})}if(l)for(const Q in l)bo(l[Q],r,n,Q);if(c){const Q=V(c)?c.call(n):c;Reflect.ownKeys(Q).forEach(Z=>{Dl(Z,Q[Z])})}d&&os(d,e,"c");function J(Q,Z){W(Z)?Z.forEach(Pe=>Q(Pe.bind(n))):Z&&Q(Z.bind(n))}if(J(Cl,h),J(It,m),J(xl,y),J(Tl,C),J(bl,E),J(wl,j),J(Il,S),J(Rl,z),J(Al,P),J(go,v),J(Fn,R),J(Sl,N),W(D))if(D.length){const Q=e.exposed||(e.exposed={});D.forEach(Z=>{Object.defineProperty(Q,Z,{get:()=>n[Z],set:Pe=>n[Z]=Pe})})}else e.exposed||(e.exposed={});U&&e.render===He&&(e.render=U),O!=null&&(e.inheritAttrs=O),x&&(e.components=x),L&&(e.directives=L)}function Ll(e,t,n=He){W(e)&&(e=hr(e));for(const r in e){const s=e[r];let o;te(s)?"default"in s?o=ct(s.from||r,s.default,!0):o=ct(s.from||r):o=ct(s),ae(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function os(e,t,n){Te(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bo(e,t,n,r){const s=r.includes(".")?ao(n,r):()=>n[r];if(se(e)){const o=t[e];V(o)&&Se(s,o)}else if(V(e))Se(s,e.bind(n));else if(te(e))if(W(e))e.forEach(o=>bo(o,t,n,r));else{const o=V(e.handler)?e.handler.bind(n):t[e.handler];V(o)&&Se(s,o,e)}}function wo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(a=>yn(c,a,i,!0)),yn(c,t,i)),te(t)&&o.set(t,c),c}function yn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&yn(e,o,n,!0),s&&s.forEach(i=>yn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Fl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Fl={data:is,props:ls,emits:ls,methods:Lt,computed:Lt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Lt,directives:Lt,watch:Hl,provide:is,inject:Nl};function is(e,t){return t?e?function(){return ue(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Nl(e,t){return Lt(hr(e),hr(t))}function hr(e){if(W(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Lt(e,t){return e?ue(Object.create(null),e,t):t}function ls(e,t){return e?W(e)&&W(t)?[...new Set([...e,...t])]:ue(Object.create(null),ss(e),ss(t??{})):t}function Hl(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const r in t)n[r]=ge(e[r],t[r]);return n}function Eo(){return{app:null,config:{isNativeTag:ri,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let $l=0;function jl(e,t){return function(r,s=null){V(r)||(r=ue({},r)),s!=null&&!te(s)&&(s=null);const o=Eo(),i=new Set;let l=!1;const c=o.app={_uid:$l++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:uc,get config(){return o.config},set config(a){},use(a,...d){return i.has(a)||(a&&V(a.install)?(i.add(a),a.install(c,...d)):V(a)&&(i.add(a),a(c,...d))),c},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),c},component(a,d){return d?(o.components[a]=d,c):o.components[a]},directive(a,d){return d?(o.directives[a]=d,c):o.directives[a]},mount(a,d,h){if(!l){const m=ie(r,s);return m.appContext=o,d&&t?t(m,a):e(m,a,h),l=!0,c._container=a,a.__vue_app__=c,$r(m.component)||m.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,d){return o.provides[a]=d,c},runWithContext(a){Wt=c;try{return a()}finally{Wt=null}}};return c}}let Wt=null;function Dl(e,t){if(ce){let n=ce.provides;const r=ce.parent&&ce.parent.provides;r===n&&(n=ce.provides=Object.create(r)),n[e]=t}}function ct(e,t,n=!1){const r=ce||fe;if(r||Wt){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Wt._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&V(t)?t.call(r&&r.proxy):t}}function Co(){return!!(ce||fe||Wt)}function kl(e,t,n,r=!1){const s={},o={};hn(o,Nn,1),e.propsDefaults=Object.create(null),xo(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:qi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Bl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=Y(s),[c]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let m=d[h];if(On(e.emitsOptions,m))continue;const y=t[m];if(c)if(X(o,m))y!==o[m]&&(o[m]=y,a=!0);else{const C=je(m);s[C]=pr(c,l,C,y,e,!1)}else y!==o[m]&&(o[m]=y,a=!0)}}}else{xo(e,t,s,o)&&(a=!0);let d;for(const h in l)(!t||!X(t,h)&&((d=dt(h))===h||!X(t,d)))&&(c?n&&(n[h]!==void 0||n[d]!==void 0)&&(s[h]=pr(c,l,h,void 0,e,!0)):delete s[h]);if(o!==l)for(const h in o)(!t||!X(t,h))&&(delete o[h],a=!0)}a&&Be(e,"set","$attrs")}function xo(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Ft(c))continue;const a=t[c];let d;s&&X(s,d=je(c))?!o||!o.includes(d)?n[d]=a:(l||(l={}))[d]=a:On(e.emitsOptions,c)||(!(c in r)||a!==r[c])&&(r[c]=a,i=!0)}if(o){const c=Y(n),a=l||re;for(let d=0;d<o.length;d++){const h=o[d];n[h]=pr(s,c,h,a[h],e,!X(a,h))}}return i}function pr(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=X(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&V(c)){const{propsDefaults:a}=s;n in a?r=a[n]:(Tt(s),r=a[n]=c.call(null,t),at())}else r=c}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===dt(n))&&(r=!0))}return r}function To(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let c=!1;if(!V(e)){const d=h=>{c=!0;const[m,y]=To(h,t,!0);ue(i,m),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return te(e)&&r.set(e,vt),vt;if(W(o))for(let d=0;d<o.length;d++){const h=je(o[d]);cs(h)&&(i[h]=re)}else if(o)for(const d in o){const h=je(d);if(cs(h)){const m=o[d],y=i[h]=W(m)||V(m)?{type:m}:ue({},m);if(y){const C=fs(Boolean,y.type),E=fs(String,y.type);y[0]=C>-1,y[1]=E<0||C<E,(C>-1||X(y,"default"))&&l.push(h)}}}const a=[i,l];return te(e)&&r.set(e,a),a}function cs(e){return e[0]!=="$"}function as(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function us(e,t){return as(e)===as(t)}function fs(e,t){return W(t)?t.findIndex(n=>us(n,e)):V(t)&&us(t,e)?0:-1}const So=e=>e[0]==="_"||e==="$stable",Fr=e=>W(e)?e.map(Re):[Re(e)],Ul=(e,t,n)=>{if(t._n)return t;const r=ul((...s)=>Fr(t(...s)),n);return r._c=!1,r},Ao=(e,t,n)=>{const r=e._ctx;for(const s in e){if(So(s))continue;const o=e[s];if(V(o))t[s]=Ul(s,o,r);else if(o!=null){const i=Fr(o);t[s]=()=>i}}},Ro=(e,t)=>{const n=Fr(t);e.slots.default=()=>n},Wl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),hn(t,"_",n)):Ao(t,e.slots={})}else e.slots={},t&&Ro(e,t);hn(e.slots,Nn,1)},Kl=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=re;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ue(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Ao(t,s)),i=t}else t&&(Ro(e,t),i={default:1});if(o)for(const l in s)!So(l)&&!(l in i)&&delete s[l]};function _n(e,t,n,r,s=!1){if(W(e)){e.forEach((m,y)=>_n(m,t&&(W(t)?t[y]:t),n,r,s));return}if(wt(r)&&!s)return;const o=r.shapeFlag&4?$r(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:c}=e,a=t&&t.r,d=l.refs===re?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(se(a)?(d[a]=null,X(h,a)&&(h[a]=null)):ae(a)&&(a.value=null)),V(c))Qe(c,l,12,[i,d]);else{const m=se(c),y=ae(c);if(m||y){const C=()=>{if(e.f){const E=m?X(h,c)?h[c]:d[c]:c.value;s?W(E)&&_r(E,o):W(E)?E.includes(o)||E.push(o):m?(d[c]=[o],X(h,c)&&(h[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else m?(d[c]=i,X(h,c)&&(h[c]=i)):y&&(c.value=i,e.k&&(d[e.k]=i))};i?(C.id=-1,me(C,n)):C()}}}let ze=!1;const rn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",sn=e=>e.nodeType===8;function Vl(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:a}}=e,d=(g,v)=>{if(!v.hasChildNodes()){n(null,g,v),mn(),v._vnode=g;return}ze=!1,h(v.firstChild,g,null,null,null),mn(),v._vnode=g,ze&&console.error("Hydration completed but contains mismatches.")},h=(g,v,$,R,U,z=!1)=>{const P=sn(g)&&g.data==="[",S=()=>E(g,v,$,R,U,P),{type:N,ref:D,shapeFlag:O,patchFlag:x}=v;let L=g.nodeType;v.el=g,x===-2&&(z=!1,v.dynamicChildren=null);let F=null;switch(N){case xt:L!==3?v.children===""?(c(v.el=s(""),i(g),g),F=g):F=S():(g.data!==v.children&&(ze=!0,g.data=v.children),F=o(g));break;case we:L!==8||P?F=S():F=o(g);break;case $t:if(P&&(g=o(g),L=g.nodeType),L===1||L===3){F=g;const de=!v.children.length;for(let J=0;J<v.staticCount;J++)de&&(v.children+=F.nodeType===1?F.outerHTML:F.data),J===v.staticCount-1&&(v.anchor=F),F=o(F);return P?o(F):F}else S();break;case ve:P?F=C(g,v,$,R,U,z):F=S();break;default:if(O&1)L!==1||v.type.toLowerCase()!==g.tagName.toLowerCase()?F=S():F=m(g,v,$,R,U,z);else if(O&6){v.slotScopeIds=U;const de=i(g);if(t(v,de,null,$,R,rn(de),z),F=P?j(g):o(g),F&&sn(F)&&F.data==="teleport end"&&(F=o(F)),wt(v)){let J;P?(J=ie(ve),J.anchor=F?F.previousSibling:de.lastChild):J=g.nodeType===3?No(""):ie("div"),J.el=g,v.component.subTree=J}}else O&64?L!==8?F=S():F=v.type.hydrate(g,v,$,R,U,z,e,y):O&128&&(F=v.type.hydrate(g,v,$,R,rn(i(g)),U,z,e,h))}return D!=null&&_n(D,null,R,v),F},m=(g,v,$,R,U,z)=>{z=z||!!v.dynamicChildren;const{type:P,props:S,patchFlag:N,shapeFlag:D,dirs:O}=v,x=P==="input"&&O||P==="option";if(x||N!==-1){if(O&&Fe(v,null,$,"created"),S)if(x||!z||N&48)for(const F in S)(x&&F.endsWith("value")||Vt(F)&&!Ft(F))&&r(g,F,null,S[F],!1,void 0,$);else S.onClick&&r(g,"onClick",null,S.onClick,!1,void 0,$);let L;if((L=S&&S.onVnodeBeforeMount)&&Ce(L,$,v),O&&Fe(v,null,$,"beforeMount"),((L=S&&S.onVnodeMounted)||O)&&lo(()=>{L&&Ce(L,$,v),O&&Fe(v,null,$,"mounted")},R),D&16&&!(S&&(S.innerHTML||S.textContent))){let F=y(g.firstChild,v,g,$,R,U,z);for(;F;){ze=!0;const de=F;F=F.nextSibling,l(de)}}else D&8&&g.textContent!==v.children&&(ze=!0,g.textContent=v.children)}return g.nextSibling},y=(g,v,$,R,U,z,P)=>{P=P||!!v.dynamicChildren;const S=v.children,N=S.length;for(let D=0;D<N;D++){const O=P?S[D]:S[D]=Re(S[D]);if(g)g=h(g,O,R,U,z,P);else{if(O.type===xt&&!O.children)continue;ze=!0,n(null,O,$,null,R,U,rn($),z)}}return g},C=(g,v,$,R,U,z)=>{const{slotScopeIds:P}=v;P&&(U=U?U.concat(P):P);const S=i(g),N=y(o(g),v,S,$,R,U,z);return N&&sn(N)&&N.data==="]"?o(v.anchor=N):(ze=!0,c(v.anchor=a("]"),S,N),N)},E=(g,v,$,R,U,z)=>{if(ze=!0,v.el=null,z){const N=j(g);for(;;){const D=o(g);if(D&&D!==N)l(D);else break}}const P=o(g),S=i(g);return l(g),n(null,v,S,P,$,R,rn(S),U),P},j=g=>{let v=0;for(;g;)if(g=o(g),g&&sn(g)&&(g.data==="["&&v++,g.data==="]")){if(v===0)return o(g);v--}return g};return[d,h]}const me=lo;function zl(e){return ql(e,Vl)}function ql(e,t){const n=sr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:d,parentNode:h,nextSibling:m,setScopeId:y=He,insertStaticContent:C}=e,E=(u,f,p,b=null,_=null,A=null,M=!1,T=null,I=!!f.dynamicChildren)=>{if(u===f)return;u&&!ot(u,f)&&(b=Jt(u),Me(u,_,A,!0),u=null),f.patchFlag===-2&&(I=!1,f.dynamicChildren=null);const{type:w,ref:k,shapeFlag:H}=f;switch(w){case xt:j(u,f,p,b);break;case we:g(u,f,p,b);break;case $t:u==null&&v(f,p,b,M);break;case ve:x(u,f,p,b,_,A,M,T,I);break;default:H&1?U(u,f,p,b,_,A,M,T,I):H&6?L(u,f,p,b,_,A,M,T,I):(H&64||H&128)&&w.process(u,f,p,b,_,A,M,T,I,ht)}k!=null&&_&&_n(k,u&&u.ref,A,f||u,!f)},j=(u,f,p,b)=>{if(u==null)r(f.el=l(f.children),p,b);else{const _=f.el=u.el;f.children!==u.children&&a(_,f.children)}},g=(u,f,p,b)=>{u==null?r(f.el=c(f.children||""),p,b):f.el=u.el},v=(u,f,p,b)=>{[u.el,u.anchor]=C(u.children,f,p,b,u.el,u.anchor)},$=({el:u,anchor:f},p,b)=>{let _;for(;u&&u!==f;)_=m(u),r(u,p,b),u=_;r(f,p,b)},R=({el:u,anchor:f})=>{let p;for(;u&&u!==f;)p=m(u),s(u),u=p;s(f)},U=(u,f,p,b,_,A,M,T,I)=>{M=M||f.type==="svg",u==null?z(f,p,b,_,A,M,T,I):N(u,f,_,A,M,T,I)},z=(u,f,p,b,_,A,M,T)=>{let I,w;const{type:k,props:H,shapeFlag:B,transition:K,dirs:q}=u;if(I=u.el=i(u.type,A,H&&H.is,H),B&8?d(I,u.children):B&16&&S(u.children,I,null,b,_,A&&k!=="foreignObject",M,T),q&&Fe(u,null,b,"created"),P(I,u,u.scopeId,M,b),H){for(const G in H)G!=="value"&&!Ft(G)&&o(I,G,null,H[G],A,u.children,b,_,De);"value"in H&&o(I,"value",null,H.value),(w=H.onVnodeBeforeMount)&&Ce(w,b,u)}q&&Fe(u,null,b,"beforeMount");const ee=(!_||_&&!_.pendingBranch)&&K&&!K.persisted;ee&&K.beforeEnter(I),r(I,f,p),((w=H&&H.onVnodeMounted)||ee||q)&&me(()=>{w&&Ce(w,b,u),ee&&K.enter(I),q&&Fe(u,null,b,"mounted")},_)},P=(u,f,p,b,_)=>{if(p&&y(u,p),b)for(let A=0;A<b.length;A++)y(u,b[A]);if(_){let A=_.subTree;if(f===A){const M=_.vnode;P(u,M,M.scopeId,M.slotScopeIds,_.parent)}}},S=(u,f,p,b,_,A,M,T,I=0)=>{for(let w=I;w<u.length;w++){const k=u[w]=T?Ye(u[w]):Re(u[w]);E(null,k,f,p,b,_,A,M,T)}},N=(u,f,p,b,_,A,M)=>{const T=f.el=u.el;let{patchFlag:I,dynamicChildren:w,dirs:k}=f;I|=u.patchFlag&16;const H=u.props||re,B=f.props||re;let K;p&&tt(p,!1),(K=B.onVnodeBeforeUpdate)&&Ce(K,p,f,u),k&&Fe(f,u,p,"beforeUpdate"),p&&tt(p,!0);const q=_&&f.type!=="foreignObject";if(w?D(u.dynamicChildren,w,T,p,b,q,A):M||Z(u,f,T,null,p,b,q,A,!1),I>0){if(I&16)O(T,f,H,B,p,b,_);else if(I&2&&H.class!==B.class&&o(T,"class",null,B.class,_),I&4&&o(T,"style",H.style,B.style,_),I&8){const ee=f.dynamicProps;for(let G=0;G<ee.length;G++){const le=ee[G],Ae=H[le],pt=B[le];(pt!==Ae||le==="value")&&o(T,le,Ae,pt,_,u.children,p,b,De)}}I&1&&u.children!==f.children&&d(T,f.children)}else!M&&w==null&&O(T,f,H,B,p,b,_);((K=B.onVnodeUpdated)||k)&&me(()=>{K&&Ce(K,p,f,u),k&&Fe(f,u,p,"updated")},b)},D=(u,f,p,b,_,A,M)=>{for(let T=0;T<f.length;T++){const I=u[T],w=f[T],k=I.el&&(I.type===ve||!ot(I,w)||I.shapeFlag&70)?h(I.el):p;E(I,w,k,null,b,_,A,M,!0)}},O=(u,f,p,b,_,A,M)=>{if(p!==b){if(p!==re)for(const T in p)!Ft(T)&&!(T in b)&&o(u,T,p[T],null,M,f.children,_,A,De);for(const T in b){if(Ft(T))continue;const I=b[T],w=p[T];I!==w&&T!=="value"&&o(u,T,w,I,M,f.children,_,A,De)}"value"in b&&o(u,"value",p.value,b.value)}},x=(u,f,p,b,_,A,M,T,I)=>{const w=f.el=u?u.el:l(""),k=f.anchor=u?u.anchor:l("");let{patchFlag:H,dynamicChildren:B,slotScopeIds:K}=f;K&&(T=T?T.concat(K):K),u==null?(r(w,p,b),r(k,p,b),S(f.children,p,k,_,A,M,T,I)):H>0&&H&64&&B&&u.dynamicChildren?(D(u.dynamicChildren,B,p,_,A,M,T),(f.key!=null||_&&f===_.subTree)&&Io(u,f,!0)):Z(u,f,p,k,_,A,M,T,I)},L=(u,f,p,b,_,A,M,T,I)=>{f.slotScopeIds=T,u==null?f.shapeFlag&512?_.ctx.activate(f,p,b,M,I):F(f,p,b,_,A,M,I):de(u,f,I)},F=(u,f,p,b,_,A,M)=>{const T=u.component=nc(u,b,_);if(qt(u)&&(T.ctx.renderer=ht),rc(T),T.asyncDep){if(_&&_.registerDep(T,J),!u.el){const I=T.subTree=ie(we);g(null,I,f,p)}return}J(T,u,f,p,_,A,M)},de=(u,f,p)=>{const b=f.component=u.component;if(hl(u,f,p))if(b.asyncDep&&!b.asyncResolved){Q(b,f,p);return}else b.next=f,il(b.update),b.update();else f.el=u.el,b.vnode=f},J=(u,f,p,b,_,A,M)=>{const T=()=>{if(u.isMounted){let{next:k,bu:H,u:B,parent:K,vnode:q}=u,ee=k,G;tt(u,!1),k?(k.el=q.el,Q(u,k,M)):k=q,H&&Dn(H),(G=k.props&&k.props.onVnodeBeforeUpdate)&&Ce(G,K,k,q),tt(u,!0);const le=kn(u),Ae=u.subTree;u.subTree=le,E(Ae,le,h(Ae.el),Jt(Ae),u,_,A),k.el=le.el,ee===null&&pl(u,le.el),B&&me(B,_),(G=k.props&&k.props.onVnodeUpdated)&&me(()=>Ce(G,K,k,q),_)}else{let k;const{el:H,props:B}=f,{bm:K,m:q,parent:ee}=u,G=wt(f);if(tt(u,!1),K&&Dn(K),!G&&(k=B&&B.onVnodeBeforeMount)&&Ce(k,ee,f),tt(u,!0),H&&jn){const le=()=>{u.subTree=kn(u),jn(H,u.subTree,u,_,null)};G?f.type.__asyncLoader().then(()=>!u.isUnmounted&&le()):le()}else{const le=u.subTree=kn(u);E(null,le,p,b,u,_,A),f.el=le.el}if(q&&me(q,_),!G&&(k=B&&B.onVnodeMounted)){const le=f;me(()=>Ce(k,ee,le),_)}(f.shapeFlag&256||ee&&wt(ee.vnode)&&ee.vnode.shapeFlag&256)&&u.a&&me(u.a,_),u.isMounted=!0,f=p=b=null}},I=u.effect=new Cr(T,()=>In(w),u.scope),w=u.update=()=>I.run();w.id=u.uid,tt(u,!0),w()},Q=(u,f,p)=>{f.component=u;const b=u.vnode.props;u.vnode=f,u.next=null,Bl(u,f.props,b,p),Kl(u,f.children,p),At(),es(),Rt()},Z=(u,f,p,b,_,A,M,T,I=!1)=>{const w=u&&u.children,k=u?u.shapeFlag:0,H=f.children,{patchFlag:B,shapeFlag:K}=f;if(B>0){if(B&128){Yt(w,H,p,b,_,A,M,T,I);return}else if(B&256){Pe(w,H,p,b,_,A,M,T,I);return}}K&8?(k&16&&De(w,_,A),H!==w&&d(p,H)):k&16?K&16?Yt(w,H,p,b,_,A,M,T,I):De(w,_,A,!0):(k&8&&d(p,""),K&16&&S(H,p,b,_,A,M,T,I))},Pe=(u,f,p,b,_,A,M,T,I)=>{u=u||vt,f=f||vt;const w=u.length,k=f.length,H=Math.min(w,k);let B;for(B=0;B<H;B++){const K=f[B]=I?Ye(f[B]):Re(f[B]);E(u[B],K,p,null,_,A,M,T,I)}w>k?De(u,_,A,!0,!1,H):S(f,p,b,_,A,M,T,I,H)},Yt=(u,f,p,b,_,A,M,T,I)=>{let w=0;const k=f.length;let H=u.length-1,B=k-1;for(;w<=H&&w<=B;){const K=u[w],q=f[w]=I?Ye(f[w]):Re(f[w]);if(ot(K,q))E(K,q,p,null,_,A,M,T,I);else break;w++}for(;w<=H&&w<=B;){const K=u[H],q=f[B]=I?Ye(f[B]):Re(f[B]);if(ot(K,q))E(K,q,p,null,_,A,M,T,I);else break;H--,B--}if(w>H){if(w<=B){const K=B+1,q=K<k?f[K].el:b;for(;w<=B;)E(null,f[w]=I?Ye(f[w]):Re(f[w]),p,q,_,A,M,T,I),w++}}else if(w>B)for(;w<=H;)Me(u[w],_,A,!0),w++;else{const K=w,q=w,ee=new Map;for(w=q;w<=B;w++){const _e=f[w]=I?Ye(f[w]):Re(f[w]);_e.key!=null&&ee.set(_e.key,w)}let G,le=0;const Ae=B-q+1;let pt=!1,Wr=0;const Ot=new Array(Ae);for(w=0;w<Ae;w++)Ot[w]=0;for(w=K;w<=H;w++){const _e=u[w];if(le>=Ae){Me(_e,_,A,!0);continue}let Le;if(_e.key!=null)Le=ee.get(_e.key);else for(G=q;G<=B;G++)if(Ot[G-q]===0&&ot(_e,f[G])){Le=G;break}Le===void 0?Me(_e,_,A,!0):(Ot[Le-q]=w+1,Le>=Wr?Wr=Le:pt=!0,E(_e,f[Le],p,null,_,A,M,T,I),le++)}const Kr=pt?Xl(Ot):vt;for(G=Kr.length-1,w=Ae-1;w>=0;w--){const _e=q+w,Le=f[_e],Vr=_e+1<k?f[_e+1].el:b;Ot[w]===0?E(null,Le,p,Vr,_,A,M,T,I):pt&&(G<0||w!==Kr[G]?et(Le,p,Vr,2):G--)}}},et=(u,f,p,b,_=null)=>{const{el:A,type:M,transition:T,children:I,shapeFlag:w}=u;if(w&6){et(u.component.subTree,f,p,b);return}if(w&128){u.suspense.move(f,p,b);return}if(w&64){M.move(u,f,p,ht);return}if(M===ve){r(A,f,p);for(let H=0;H<I.length;H++)et(I[H],f,p,b);r(u.anchor,f,p);return}if(M===$t){$(u,f,p);return}if(b!==2&&w&1&&T)if(b===0)T.beforeEnter(A),r(A,f,p),me(()=>T.enter(A),_);else{const{leave:H,delayLeave:B,afterLeave:K}=T,q=()=>r(A,f,p),ee=()=>{H(A,()=>{q(),K&&K()})};B?B(A,q,ee):ee()}else r(A,f,p)},Me=(u,f,p,b=!1,_=!1)=>{const{type:A,props:M,ref:T,children:I,dynamicChildren:w,shapeFlag:k,patchFlag:H,dirs:B}=u;if(T!=null&&_n(T,null,p,u,!0),k&256){f.ctx.deactivate(u);return}const K=k&1&&B,q=!wt(u);let ee;if(q&&(ee=M&&M.onVnodeBeforeUnmount)&&Ce(ee,f,u),k&6)ni(u.component,p,b);else{if(k&128){u.suspense.unmount(p,b);return}K&&Fe(u,null,f,"beforeUnmount"),k&64?u.type.remove(u,f,p,_,ht,b):w&&(A!==ve||H>0&&H&64)?De(w,f,p,!1,!0):(A===ve&&H&384||!_&&k&16)&&De(I,f,p),b&&Br(u)}(q&&(ee=M&&M.onVnodeUnmounted)||K)&&me(()=>{ee&&Ce(ee,f,u),K&&Fe(u,null,f,"unmounted")},p)},Br=u=>{const{type:f,el:p,anchor:b,transition:_}=u;if(f===ve){ti(p,b);return}if(f===$t){R(u);return}const A=()=>{s(p),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:M,delayLeave:T}=_,I=()=>M(p,A);T?T(u.el,A,I):I()}else A()},ti=(u,f)=>{let p;for(;u!==f;)p=m(u),s(u),u=p;s(f)},ni=(u,f,p)=>{const{bum:b,scope:_,update:A,subTree:M,um:T}=u;b&&Dn(b),_.stop(),A&&(A.active=!1,Me(M,u,f,p)),T&&me(T,f),me(()=>{u.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},De=(u,f,p,b=!1,_=!1,A=0)=>{for(let M=A;M<u.length;M++)Me(u[M],f,p,b,_)},Jt=u=>u.shapeFlag&6?Jt(u.component.subTree):u.shapeFlag&128?u.suspense.next():m(u.anchor||u.el),Ur=(u,f,p)=>{u==null?f._vnode&&Me(f._vnode,null,null,!0):E(f._vnode||null,u,f,null,null,null,p),es(),mn(),f._vnode=u},ht={p:E,um:Me,m:et,r:Br,mt:F,mc:S,pc:Z,pbc:D,n:Jt,o:e};let $n,jn;return t&&([$n,jn]=t(ht)),{render:Ur,hydrate:$n,createApp:jl(Ur,$n)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Io(e,t,n=!1){const r=e.children,s=t.children;if(W(r)&&W(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=Ye(s[o]),l.el=i.el),n||Io(i,l)),l.type===xt&&(l.el=i.el)}}function Xl(e){const t=e.slice(),n=[0];let r,s,o,i,l;const c=e.length;for(r=0;r<c;r++){const a=e[r];if(a!==0){if(s=n[n.length-1],e[s]<a){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<a?o=l+1:i=l;a<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Yl=e=>e.__isTeleport,ve=Symbol.for("v-fgt"),xt=Symbol.for("v-txt"),we=Symbol.for("v-cmt"),$t=Symbol.for("v-stc"),jt=[];let Oe=null;function Oo(e=!1){jt.push(Oe=e?null:[])}function Jl(){jt.pop(),Oe=jt[jt.length-1]||null}let Kt=1;function ds(e){Kt+=e}function Po(e){return e.dynamicChildren=Kt>0?Oe||vt:null,Jl(),Kt>0&&Oe&&Oe.push(e),e}function tu(e,t,n,r,s,o){return Po(Fo(e,t,n,r,s,o,!0))}function Mo(e,t,n,r,s){return Po(ie(e,t,n,r,s,!0))}function bn(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const Nn="__vInternal",Lo=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||V(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function Fo(e,t=null,n=null,r=0,s=null,o=e===ve?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Lo(t),ref:t&&fn(t),scopeId:Pn,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:fe};return l?(Nr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Kt>0&&!i&&Oe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Oe.push(c),c}const ie=Ql;function Ql(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===vo)&&(e=we),bn(e)){const l=Ge(e,t,!0);return n&&Nr(l,n),Kt>0&&!o&&Oe&&(l.shapeFlag&6?Oe[Oe.indexOf(e)]=l:Oe.push(l)),l.patchFlag|=-2,l}if(lc(e)&&(e=e.__vccOpts),t){t=Zl(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Tn(l)),te(c)&&(eo(c)&&!W(c)&&(c=ue({},c)),t.style=xn(c))}const i=se(e)?1:gl(e)?128:Yl(e)?64:te(e)?4:V(e)?2:0;return Fo(e,t,n,r,s,i,o,!0)}function Zl(e){return e?eo(e)||Nn in e?ue({},e):e:null}function Ge(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?Gl(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Lo(l),ref:t&&t.ref?n&&s?W(s)?s.concat(fn(t)):[s,fn(t)]:fn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ge(e.ssContent),ssFallback:e.ssFallback&&Ge(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function No(e=" ",t=0){return ie(xt,null,e,t)}function nu(e,t){const n=ie($t,null,e);return n.staticCount=t,n}function ru(e="",t=!1){return t?(Oo(),Mo(we,null,e)):ie(we,null,e)}function Re(e){return e==null||typeof e=="boolean"?ie(we):W(e)?ie(ve,null,e.slice()):typeof e=="object"?Ye(e):ie(xt,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ge(e)}function Nr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Nr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Nn in t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),r&64?(n=16,t=[No(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gl(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Tn([t.class,r.class]));else if(s==="style")t.style=xn([t.style,r.style]);else if(Vt(s)){const o=t[s],i=r[s];i&&o!==i&&!(W(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Ce(e,t,n,r=null){Te(e,t,7,[n,r])}const ec=Eo();let tc=0;function nc(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||ec,o={uid:tc++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new vi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:To(r,s),emitsOptions:io(r,s),emit:null,emitted:null,propsDefaults:re,inheritAttrs:r.inheritAttrs,ctx:re,data:re,props:re,attrs:re,slots:re,refs:re,setupState:re,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=al.bind(null,o),e.ce&&e.ce(o),o}let ce=null;const Xt=()=>ce||fe;let Hr,gt,hs="__VUE_INSTANCE_SETTERS__";(gt=sr()[hs])||(gt=sr()[hs]=[]),gt.push(e=>ce=e),Hr=e=>{gt.length>1?gt.forEach(t=>t(e)):gt[0](e)};const Tt=e=>{Hr(e),e.scope.on()},at=()=>{ce&&ce.scope.off(),Hr(null)};function Ho(e){return e.vnode.shapeFlag&4}let St=!1;function rc(e,t=!1){St=t;const{props:n,children:r}=e.vnode,s=Ho(e);kl(e,n,s,t),Wl(e,r);const o=s?sc(e,t):void 0;return St=!1,o}function sc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Nt(new Proxy(e.ctx,Ol));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?jo(e):null;Tt(e),At();const o=Qe(r,e,0,[e.props,s]);if(Rt(),at(),js(o)){if(o.then(at,at),t)return o.then(i=>{ps(e,i)}).catch(i=>{zt(i,e,0)});e.asyncDep=o}else ps(e,o)}else $o(e)}function ps(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=no(t)),$o(e)}function $o(e,t,n){const r=e.type;e.render||(e.render=r.render||He),Tt(e),At(),Ml(e),Rt(),at()}function oc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function jo(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return oc(e)},slots:e.slots,emit:e.emit,expose:t}}function $r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(no(Nt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ht)return Ht[n](e)},has(t,n){return n in t||n in Ht}}))}function ic(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function lc(e){return V(e)&&"__vccOpts"in e}const ne=(e,t)=>rl(e,t,St);function gr(e,t,n){const r=arguments.length;return r===2?te(t)&&!W(t)?bn(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bn(n)&&(n=[n]),ie(e,t,n))}const cc=Symbol.for("v-scx"),ac=()=>ct(cc),uc="3.3.4",fc="http://www.w3.org/2000/svg",it=typeof document<"u"?document:null,gs=it&&it.createElement("template"),dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?it.createElementNS(fc,e):it.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>it.createTextNode(e),createComment:e=>it.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>it.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{gs.innerHTML=r?`<svg>${e}</svg>`:e;const l=gs.content;if(r){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function hc(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function pc(e,t,n){const r=e.style,s=se(n);if(n&&!s){if(t&&!se(t))for(const o in t)n[o]==null&&mr(r,o,"");for(const o in n)mr(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const ms=/\s*!important$/;function mr(e,t,n){if(W(n))n.forEach(r=>mr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gc(e,t);ms.test(n)?e.setProperty(dt(r),n.replace(ms,""),"important"):e[r]=n}}const vs=["Webkit","Moz","ms"],Kn={};function gc(e,t){const n=Kn[t];if(n)return n;let r=je(t);if(r!=="filter"&&r in e)return Kn[t]=r;r=Cn(r);for(let s=0;s<vs.length;s++){const o=vs[s]+r;if(o in e)return Kn[t]=o}return t}const ys="http://www.w3.org/1999/xlink";function mc(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ys,t.slice(6,t.length)):e.setAttributeNS(ys,t,n);else{const o=mi(t);n==null||o&&!Bs(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function vc(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const a=l==="OPTION"?e.getAttribute("value"):e.value,d=n??"";a!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Bs(n):n==null&&a==="string"?(n="",c=!0):a==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function yc(e,t,n,r){e.addEventListener(t,n,r)}function _c(e,t,n,r){e.removeEventListener(t,n,r)}function bc(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,c]=wc(t);if(r){const a=o[t]=xc(r,s);yc(e,l,a,c)}else i&&(_c(e,l,i,c),o[t]=void 0)}}const _s=/(?:Once|Passive|Capture)$/;function wc(e){let t;if(_s.test(e)){t={};let r;for(;r=e.match(_s);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):dt(e.slice(2)),t]}let Vn=0;const Ec=Promise.resolve(),Cc=()=>Vn||(Ec.then(()=>Vn=0),Vn=Date.now());function xc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Te(Tc(r,n.value),t,5,[r])};return n.value=e,n.attached=Cc(),n}function Tc(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const bs=/^on[a-z]/,Sc=(e,t,n,r,s=!1,o,i,l,c)=>{t==="class"?hc(e,r,s):t==="style"?pc(e,n,r):Vt(t)?yr(t)||bc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ac(e,t,r,s))?vc(e,t,r,o,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),mc(e,t,r,s))};function Ac(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&bs.test(t)&&V(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||bs.test(t)&&se(n)?!1:t in e}const qe="transition",Pt="animation",Do=(e,{slots:t})=>gr(_l,Rc(e),t);Do.displayName="Transition";const ko={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};Do.props=ue({},uo,ko);const nt=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},ws=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function Rc(e){const t={};for(const x in e)x in ko||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,C=Ic(s),E=C&&C[0],j=C&&C[1],{onBeforeEnter:g,onEnter:v,onEnterCancelled:$,onLeave:R,onLeaveCancelled:U,onBeforeAppear:z=g,onAppear:P=v,onAppearCancelled:S=$}=t,N=(x,L,F)=>{rt(x,L?d:l),rt(x,L?a:i),F&&F()},D=(x,L)=>{x._isLeaving=!1,rt(x,h),rt(x,y),rt(x,m),L&&L()},O=x=>(L,F)=>{const de=x?P:v,J=()=>N(L,x,F);nt(de,[L,J]),Es(()=>{rt(L,x?c:o),Xe(L,x?d:l),ws(de)||Cs(L,r,E,J)})};return ue(t,{onBeforeEnter(x){nt(g,[x]),Xe(x,o),Xe(x,i)},onBeforeAppear(x){nt(z,[x]),Xe(x,c),Xe(x,a)},onEnter:O(!1),onAppear:O(!0),onLeave(x,L){x._isLeaving=!0;const F=()=>D(x,L);Xe(x,h),Mc(),Xe(x,m),Es(()=>{x._isLeaving&&(rt(x,h),Xe(x,y),ws(R)||Cs(x,r,j,F))}),nt(R,[x,F])},onEnterCancelled(x){N(x,!1),nt($,[x])},onAppearCancelled(x){N(x,!0),nt(S,[x])},onLeaveCancelled(x){D(x),nt(U,[x])}})}function Ic(e){if(e==null)return null;if(te(e))return[zn(e.enter),zn(e.leave)];{const t=zn(e);return[t,t]}}function zn(e){return ui(e)}function Xe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function rt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Es(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Oc=0;function Cs(e,t,n,r){const s=e._endId=++Oc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Pc(e,t);if(!i)return r();const a=i+"end";let d=0;const h=()=>{e.removeEventListener(a,m),o()},m=y=>{y.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(a,m)}function Pc(e,t){const n=window.getComputedStyle(e),r=C=>(n[C]||"").split(", "),s=r(`${qe}Delay`),o=r(`${qe}Duration`),i=xs(s,o),l=r(`${Pt}Delay`),c=r(`${Pt}Duration`),a=xs(l,c);let d=null,h=0,m=0;t===qe?i>0&&(d=qe,h=i,m=o.length):t===Pt?a>0&&(d=Pt,h=a,m=c.length):(h=Math.max(i,a),d=h>0?i>a?qe:Pt:null,m=d?d===qe?o.length:c.length:0);const y=d===qe&&/\b(transform|all)(,|$)/.test(r(`${qe}Property`).toString());return{type:d,timeout:h,propCount:m,hasTransform:y}}function xs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ts(n)+Ts(e[r])))}function Ts(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Mc(){return document.body.offsetHeight}const Lc=["ctrl","shift","alt","meta"],Fc={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)=>Lc.some(n=>e[`${n}Key`]&&!t.includes(n))},su=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=Fc[t[s]];if(o&&o(n,t))return}return e(n,...r)},Nc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ou=(e,t)=>n=>{if(!("key"in n))return;const r=dt(n.key);if(t.some(s=>s===r||Nc[s]===r))return e(n)},Hc=ue({patchProp:Sc},dc);let qn,Ss=!1;function $c(){return qn=Ss?qn:zl(Hc),Ss=!0,qn}const iu=(...e)=>{const t=$c().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jc(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function jc(e){return se(e)?document.querySelector(e):e}const Dc=window.__VP_SITE_DATA__;function Bo(e){return Ws()?(_i(e),!0):!1}const Xn=new WeakMap,kc=(...e)=>{var t;const n=e[0],r=(t=Xt())==null?void 0:t.proxy;if(r==null&&!Co())throw new Error("injectLocal must be called in setup");return r&&Xn.has(r)&&n in Xn.get(r)?Xn.get(r)[n]:ct(...e)},Uo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Bc=Object.prototype.toString,Uc=e=>Bc.call(e)==="[object Object]",ft=()=>{},As=Wc();function Wc(){var e,t;return Uo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function jr(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Wo=e=>e();function Kc(e,t={}){let n,r,s=ft;const o=c=>{clearTimeout(c),s(),s=ft};let i;return c=>{const a=oe(e),d=oe(t.maxWait);return n&&o(n),a<=0||d!==void 0&&d<=0?(r&&(o(r),r=null),Promise.resolve(c())):new Promise((h,m)=>{s=t.rejectOnCancel?m:h,i=c,d&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,h(i())},d)),n=setTimeout(()=>{r&&o(r),r=null,h(c())},a)})}}function Vc(...e){let t=0,n,r=!0,s=ft,o,i,l,c,a;!ae(e[0])&&typeof e[0]=="object"?{delay:i,trailing:l=!0,leading:c=!0,rejectOnCancel:a=!1}=e[0]:[i,l=!0,c=!0,a=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,s(),s=ft)};return m=>{const y=oe(i),C=Date.now()-t,E=()=>o=m();return d(),y<=0?(t=Date.now(),E()):(C>y&&(c||!r)?(t=Date.now(),E()):l&&(o=new Promise((j,g)=>{s=a?g:j,n=setTimeout(()=>{t=Date.now(),r=!0,j(E()),d()},Math.max(0,y-C))})),!c&&!n&&(n=setTimeout(()=>r=!0,y)),r=!1,o)}}function zc(e=Wo,t={}){const{initialState:n="active"}=t,r=Dr(n==="active");function s(){r.value=!1}function o(){r.value=!0}const i=(...l)=>{r.value&&e(...l)};return{isActive:An(r),pause:s,resume:o,eventFilter:i}}function Rs(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function qc(e){return Xt()}function Yn(e){return Array.isArray(e)?e:[e]}function Dr(...e){if(e.length!==1)return el(...e);const t=e[0];return typeof t=="function"?An(Qi(()=>({get:t,set:ft}))):$e(t)}function Xc(e,t=200,n={}){return jr(Kc(t,n),e)}function Yc(e,t=200,n=!1,r=!0,s=!1){return jr(Vc(t,n,r,s),e)}function Jc(e,t,n={}){const{eventFilter:r=Wo,...s}=n;return Se(e,jr(r,t),s)}function Qc(e,t,n={}){const{eventFilter:r,initialState:s="active",...o}=n,{eventFilter:i,pause:l,resume:c,isActive:a}=zc(r,{initialState:s});return{stop:Jc(e,t,{...o,eventFilter:i}),pause:l,resume:c,isActive:a}}function Hn(e,t=!0,n){qc()?It(e,n):t?e():Rn(e)}function Zc(e,t,n){return Se(e,t,{...n,immediate:!0})}const Ue=Uo?window:void 0;function kr(e){var t;const n=oe(e);return(t=n==null?void 0:n.$el)!=null?t:n}function We(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,c,a,d)=>(l.addEventListener(c,a,d),()=>l.removeEventListener(c,a,d)),s=ne(()=>{const l=Yn(oe(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),o=Zc(()=>{var l,c;return[(c=(l=s.value)==null?void 0:l.map(a=>kr(a)))!=null?c:[Ue].filter(a=>a!=null),Yn(oe(s.value?e[1]:e[0])),Yn(Pr(s.value?e[2]:e[1])),oe(s.value?e[3]:e[2])]},([l,c,a,d])=>{if(n(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(a!=null&&a.length))return;const h=Uc(d)?{...d}:d;t.push(...l.flatMap(m=>c.flatMap(y=>a.map(C=>r(m,y,C,h)))))},{flush:"post"}),i=()=>{o(),n()};return Bo(n),i}function Gc(){const e=xe(!1),t=Xt();return t&&It(()=>{e.value=!0},t),e}function ea(e){const t=Gc();return ne(()=>(t.value,!!e()))}function ta(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function lu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Ue,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=ta(t);return We(s,o,d=>{d.repeat&&oe(l)||c(d)&&n(d)},i)}const na=Symbol("vueuse-ssr-width");function ra(){const e=Co()?kc(na,null):null;return typeof e=="number"?e:void 0}function Ko(e,t={}){const{window:n=Ue,ssrWidth:r=ra()}=t,s=ea(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=xe(typeof r=="number"),i=xe(),l=xe(!1),c=a=>{l.value=a.matches};return co(()=>{if(o.value){o.value=!s.value;const a=oe(e).split(",");l.value=a.some(d=>{const h=d.includes("not all"),m=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let C=!!(m||y);return m&&C&&(C=r>=Rs(m[1])),y&&C&&(C=r<=Rs(y[1])),h?!C:C});return}s.value&&(i.value=n.matchMedia(oe(e)),l.value=i.value.matches)}),We(i,"change",c,{passive:!0}),ne(()=>l.value)}const on=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ln="__vueuse_ssr_handlers__",sa=oa();function oa(){return ln in on||(on[ln]=on[ln]||{}),on[ln]}function Vo(e,t){return sa[e]||t}function zo(e){return Ko("(prefers-color-scheme: dark)",e)}function ia(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const la={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Is="vueuse-storage";function ca(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:a=!1,shallow:d,window:h=Ue,eventFilter:m,onError:y=O=>{console.error(O)},initOnMounted:C}=r,E=(d?xe:$e)(typeof t=="function"?t():t),j=ne(()=>oe(e));if(!n)try{n=Vo("getDefaultStorage",()=>{var O;return(O=Ue)==null?void 0:O.localStorage})()}catch(O){y(O)}if(!n)return E;const g=oe(t),v=ia(g),$=(s=r.serializer)!=null?s:la[v],{pause:R,resume:U}=Qc(E,()=>P(E.value),{flush:o,deep:i,eventFilter:m});Se(j,()=>N(),{flush:o}),h&&l&&Hn(()=>{n instanceof Storage?We(h,"storage",N,{passive:!0}):We(h,Is,D),C&&N()}),C||N();function z(O,x){if(h){const L={key:j.value,oldValue:O,newValue:x,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",L):new CustomEvent(Is,{detail:L}))}}function P(O){try{const x=n.getItem(j.value);if(O==null)z(x,null),n.removeItem(j.value);else{const L=$.write(O);x!==L&&(n.setItem(j.value,L),z(x,L))}}catch(x){y(x)}}function S(O){const x=O?O.newValue:n.getItem(j.value);if(x==null)return c&&g!=null&&n.setItem(j.value,$.write(g)),g;if(!O&&a){const L=$.read(x);return typeof a=="function"?a(L,g):v==="object"&&!Array.isArray(L)?{...g,...L}:L}else return typeof x!="string"?x:$.read(x)}function N(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){E.value=g;return}if(!(O&&O.key!==j.value)){R();try{(O==null?void 0:O.newValue)!==$.write(E.value)&&(E.value=S(O))}catch(x){y(x)}finally{O?Rn(U):U()}}}}function D(O){N(O.detail)}return E}const aa="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ua(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Ue,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:a,disableTransition:d=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=zo({window:s}),y=ne(()=>m.value?"dark":"light"),C=c||(i==null?Dr(r):ca(i,r,o,{window:s,listenToStorageChanges:l})),E=ne(()=>C.value==="auto"?y.value:C.value),j=Vo("updateHTMLAttrs",(R,U,z)=>{const P=typeof R=="string"?s==null?void 0:s.document.querySelector(R):kr(R);if(!P)return;const S=new Set,N=new Set;let D=null;if(U==="class"){const x=z.split(/\s/g);Object.values(h).flatMap(L=>(L||"").split(/\s/g)).filter(Boolean).forEach(L=>{x.includes(L)?S.add(L):N.add(L)})}else D={key:U,value:z};if(S.size===0&&N.size===0&&D===null)return;let O;d&&(O=s.document.createElement("style"),O.appendChild(document.createTextNode(aa)),s.document.head.appendChild(O));for(const x of S)P.classList.add(x);for(const x of N)P.classList.remove(x);D&&P.setAttribute(D.key,D.value),d&&(s.getComputedStyle(O).opacity,document.head.removeChild(O))});function g(R){var U;j(t,n,(U=h[R])!=null?U:R)}function v(R){e.onChanged?e.onChanged(R,g):g(R)}Se(E,v,{flush:"post",immediate:!0}),Hn(()=>v(E.value));const $=ne({get(){return a?C.value:E.value},set(R){C.value=R}});return Object.assign($,{store:C,system:y,state:E})}function fa(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=ua({...e,onChanged:(i,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,i==="dark",l,i):l(i)},modes:{dark:t,light:n}}),s=ne(()=>r.system.value);return ne({get(){return r.value==="dark"},set(i){const l=i?"dark":"light";s.value===l?r.value="auto":r.value=l}})}function Jn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Os=1;function da(e,t={}){const{throttle:n=0,idle:r=200,onStop:s=ft,onScroll:o=ft,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:a=Ue,onError:d=P=>{console.error(P)}}=t,h=xe(0),m=xe(0),y=ne({get(){return h.value},set(P){E(P,void 0)}}),C=ne({get(){return m.value},set(P){E(void 0,P)}});function E(P,S){var N,D,O,x;if(!a)return;const L=oe(e);if(!L)return;(O=L instanceof Document?a.document.body:L)==null||O.scrollTo({top:(N=oe(S))!=null?N:C.value,left:(D=oe(P))!=null?D:y.value,behavior:oe(c)});const F=((x=L==null?void 0:L.document)==null?void 0:x.documentElement)||(L==null?void 0:L.documentElement)||L;y!=null&&(h.value=F.scrollLeft),C!=null&&(m.value=F.scrollTop)}const j=xe(!1),g=Et({left:!0,right:!1,top:!0,bottom:!1}),v=Et({left:!1,right:!1,top:!1,bottom:!1}),$=P=>{j.value&&(j.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,s(P))},R=Xc($,n+r),U=P=>{var S;if(!a)return;const N=((S=P==null?void 0:P.document)==null?void 0:S.documentElement)||(P==null?void 0:P.documentElement)||kr(P),{display:D,flexDirection:O,direction:x}=getComputedStyle(N),L=x==="rtl"?-1:1,F=N.scrollLeft;v.left=F<h.value,v.right=F>h.value;const de=Math.abs(F*L)<=(i.left||0),J=Math.abs(F*L)+N.clientWidth>=N.scrollWidth-(i.right||0)-Os;D==="flex"&&O==="row-reverse"?(g.left=J,g.right=de):(g.left=de,g.right=J),h.value=F;let Q=N.scrollTop;P===a.document&&!Q&&(Q=a.document.body.scrollTop),v.top=Q<m.value,v.bottom=Q>m.value;const Z=Math.abs(Q)<=(i.top||0),Pe=Math.abs(Q)+N.clientHeight>=N.scrollHeight-(i.bottom||0)-Os;D==="flex"&&O==="column-reverse"?(g.top=Pe,g.bottom=Z):(g.top=Z,g.bottom=Pe),m.value=Q},z=P=>{var S;if(!a)return;const N=(S=P.target.documentElement)!=null?S:P.target;U(N),j.value=!0,R(P),o(P)};return We(e,"scroll",n?Yc(z,n,!0,!1):z,l),Hn(()=>{try{const P=oe(e);if(!P)return;U(P)}catch(P){d(P)}}),We(e,"scrollend",$,l),{x:y,y:C,isScrolling:j,arrivedState:g,directions:v,measure(){const P=oe(e);a&&P&&U(P)}}}function qo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:qo(n)}}function ha(e){const t=e||window.event,n=t.target;return qo(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Qn=new WeakMap;function cu(e,t=!1){const n=xe(t);let r=null,s="";Se(Dr(e),l=>{const c=Jn(oe(l));if(c){const a=c;if(Qn.get(a)||Qn.set(a,a.style.overflow),a.style.overflow!=="hidden"&&(s=a.style.overflow),a.style.overflow==="hidden")return n.value=!0;if(n.value)return a.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=Jn(oe(e));!l||n.value||(As&&(r=We(l,"touchmove",c=>{ha(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=Jn(oe(e));!l||!n.value||(As&&(r==null||r()),l.style.overflow=s,Qn.delete(l),n.value=!1)};return Bo(i),ne({get(){return n.value},set(l){l?o():i()}})}function au(e={}){const{window:t=Ue,...n}=e;return da(t,n)}function uu(e={}){const{window:t=Ue,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0,type:i="inner"}=e,l=xe(n),c=xe(r),a=()=>{if(t)if(i==="outer")l.value=t.outerWidth,c.value=t.outerHeight;else if(i==="visual"&&t.visualViewport){const{width:h,height:m,scale:y}=t.visualViewport;l.value=Math.round(h*y),c.value=Math.round(m*y)}else o?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};a(),Hn(a);const d={passive:!0};if(We("resize",a,d),t&&i==="visual"&&t.visualViewport&&We(t.visualViewport,"resize",a,d),s){const h=Ko("(orientation: portrait)");Se(h,()=>a())}return{width:l,height:c}}const Zn={};var Gn={};const Xo=/^(?:[a-z]+:|\/\/)/i,pa="vitepress-theme-appearance",ga=/#.*$/,ma=/[?#].*$/,va=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",Yo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function ya(e,t,n=!1){if(t===void 0)return!1;if(e=Ps(`/${e}`),n)return new RegExp(t).test(e);if(Ps(t)!==e)return!1;const r=t.match(ga);return r?(he?location.hash:"")===r[0]:!0}function Ps(e){return decodeURI(e).replace(ma,"").replace(va,"$1")}function _a(e){return Xo.test(e)}function ba(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!_a(n)&&ya(t,`/${n}/`,!0))||"root"}function wa(e,t){var r,s,o,i,l,c,a;const n=ba(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Qo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function Jo(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=Ea(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function Ea(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ca(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Qo(e,t){return[...e.filter(n=>!Ca(t,n)),...t]}const xa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Ta=/^[a-z]:/i;function Ms(e){const t=Ta.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(xa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const er=new Set;function Sa(e){if(er.size===0){const n=typeof process=="object"&&(Gn==null?void 0:Gn.VITE_EXTRA_EXTENSIONS)||(Zn==null?void 0:Zn.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>er.add(r))}const t=e.split(".").pop();return t==null||!er.has(t.toLowerCase())}const Aa=Symbol(),ut=xe(Dc);function fu(e){const t=ne(()=>wa(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?$e(!0):n==="force-auto"?zo():n?fa({storageKey:pa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):$e(!1),s=$e(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Se(()=>e.data,()=>{s.value=he?location.hash:""}),{site:t,theme:ne(()=>t.value.themeConfig),page:ne(()=>e.data),frontmatter:ne(()=>e.data.frontmatter),params:ne(()=>e.data.params),lang:ne(()=>t.value.lang),dir:ne(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ne(()=>t.value.localeIndex||"root"),title:ne(()=>Jo(t.value,e.data)),description:ne(()=>e.data.description||t.value.description),isDark:r,hash:ne(()=>s.value)}}function Ra(){const e=ct(Aa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Ia(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ls(e){return Xo.test(e)||!e.startsWith("/")?e:Ia(ut.value.base,e)}function Oa(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/vue-h5-template/";t=Ms(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Ms(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let dn=[];function du(e){dn.push(e),Fn(()=>{dn=dn.filter(t=>t!==e)})}function Pa(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Fs(e,n);else if(Array.isArray(e))for(const r of e){const s=Fs(r,n);if(s){t=s;break}}return t}function Fs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Ma=Symbol(),Zo="http://a.com",La=()=>({path:"/",component:null,data:Yo});function hu(e,t){const n=Et(La()),r={route:n,go:s};async function s(l=he?location.href:"/"){var c,a;l=tr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(he&&l!==tr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((a=r.onAfterRouteChange??r.onAfterRouteChanged)==null?void 0:a(l)))}let o=null;async function i(l,c=0,a=!1){var m,y;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const d=new URL(l,Zo),h=o=d.pathname;try{let C=await e(h);if(!C)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:E,__pageData:j}=C;if(!E)throw new Error(`Invalid route component: ${E}`);await((y=r.onAfterPageLoad)==null?void 0:y.call(r,l)),n.path=he?h:Ls(h),n.component=Nt(E),n.data=Nt(j),he&&Rn(()=>{let g=ut.value.base+j.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!g.endsWith("/")&&(g+=".html"),g!==d.pathname&&(d.pathname=g,l=g+d.search+d.hash,history.replaceState({},"",l)),d.hash&&!c){let v=null;try{v=document.getElementById(decodeURIComponent(d.hash).slice(1))}catch($){console.warn($)}if(v){Ns(v,d.hash);return}}window.scrollTo(0,c)})}}catch(C){if(!/fetch|Page not found/.test(C.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(C),!a)try{const E=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await E.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=he?h:Ls(h),n.component=t?Nt(t):null;const E=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Yo,relativePath:E}}}}return he&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const a=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(a==null)return;const{href:d,origin:h,pathname:m,hash:y,search:C}=new URL(a,c.baseURI),E=new URL(location.href);h===E.origin&&Sa(m)&&(l.preventDefault(),m===E.pathname&&C===E.search?(y!==E.hash&&(history.pushState({},"",d),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:E.href,newURL:d}))),y?Ns(c,y,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(d))},{capture:!0}),window.addEventListener("popstate",async l=>{var a;if(l.state===null)return;const c=tr(location.href);await i(c,l.state&&l.state.scrollPosition||0),await((a=r.onAfterRouteChange??r.onAfterRouteChanged)==null?void 0:a(c))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Fa(){const e=ct(Ma);if(!e)throw new Error("useRouter() is called without provider.");return e}function Go(){return Fa().route}function Ns(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-Pa()+o;requestAnimationFrame(s)}}function tr(e){const t=new URL(e,Zo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const cn=()=>dn.forEach(e=>e()),pu=Lr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Go(),{frontmatter:n,site:r}=Ra();return Se(n,cn,{deep:!0,flush:"post"}),()=>gr(e.as,r.value.contentProps??{style:{position:"relative"}},[t.component?gr(t.component,{onVnodeMounted:cn,onVnodeUpdated:cn,onVnodeUnmounted:cn}):"404 Page Not Found"])}}),gu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Na="modulepreload",Ha=function(e){return"/vue-h5-template/"+e},Hs={},mu=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=Ha(c),c in Hs)return;Hs[c]=!0;const a=c.endsWith(".css"),d=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=a?"stylesheet":Na,a||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),a)return new Promise((m,y)=>{h.addEventListener("load",m),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},vu=Lr({setup(e,{slots:t}){const n=$e(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function yu(){he&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(a=>a.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function _u(){if(he){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(d=>d.remove());let a=c.textContent||"";i&&(a=a.replace(/^ *(\$|>) /gm,"").trim()),$a(a).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const d=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,d)})}})}}async function $a(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function bu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=nr(l);for(const a of document.head.children)if(a.isEqualNode(c)){r.push(a);return}});return}const i=o.map(nr);r.forEach((l,c)=>{const a=i.findIndex(d=>d==null?void 0:d.isEqualNode(l??null));a!==-1?delete i[a]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};co(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],a=Jo(i,o);a!==document.title&&(document.title=a);const d=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==d&&h.setAttribute("content",d):nr(["meta",{name:"description",content:d}]),s(Qo(i.head,Da(c)))})}function nr([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&t.async==null&&(r.async=!1),r}function ja(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Da(e){return e.filter(t=>!ja(t))}const rr=new Set,ei=()=>document.createElement("link"),ka=e=>{const t=ei();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Ba=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let an;const Ua=he&&(an=ei())&&an.relList&&an.relList.supports&&an.relList.supports("prefetch")?ka:Ba;function wu(){if(!he||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!rr.has(c)){rr.add(c);const a=Oa(c);a&&Ua(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):rr.add(l))})})};It(r);const s=Go();Se(()=>s.path,r),Fn(()=>{n&&n.disconnect()})}export{Dl as $,qa as A,Tl as B,Pa as C,Qa as D,Ya as E,ve as F,xe as G,du as H,ie as I,Ja as J,Xo as K,Go as L,Gl as M,ct as N,uu as O,xn as P,lu as Q,Rn as R,au as S,Do as T,he as U,An as V,Wa as W,Xa as X,mu as Y,cu as Z,gu as _,No as a,Ga as a0,ou as a1,go as a2,su as a3,eu as a4,bu as a5,Ma as a6,fu as a7,Aa as a8,pu as a9,vu as aa,ut as ab,hu as ac,Oa as ad,iu as ae,wu as af,_u as ag,yu as ah,gr as ai,nu as aj,Fa as ak,Mo as b,tu as c,Lr as d,ru as e,Sa as f,Ls as g,ne as h,_a as i,Fo as j,Pr as k,za as l,ya as m,Tn as n,Oo as o,Va as p,Ko as q,Za as r,$e as s,Ka as t,Ra as u,Se as v,ul as w,co as x,It as y,Fn as z};
|