ivue 1.1.19 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -8
- package/coverage/clover.xml +174 -160
- package/coverage/coverage-final.json +1 -1
- package/coverage/index.html +18 -18
- package/coverage/{index.ts.html → ivue.ts.html} +221 -32
- package/dist/index.es.js +18 -18
- package/dist/index.umd.js +1 -1
- package/dist/src/ivue.d.ts +19 -13
- package/docs/docs/.vitepress/config.ts +10 -4
- package/docs/docs/.vitepress/dist/404.html +3 -3
- package/docs/docs/.vitepress/dist/api/ivue.html +7 -7
- package/docs/docs/.vitepress/dist/api/propsWithDefaults.html +7 -7
- package/docs/docs/.vitepress/dist/assets/{api_ivue.md.CZqok1oO.js → api_ivue.md.DyFbv52x.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{api_ivue.md.CZqok1oO.lean.js → api_ivue.md.DyFbv52x.lean.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{api_propsWithDefaults.md.DEcLH0d7.lean.js → api_propsWithDefaults.md.C6C7ZBZl.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{api_propsWithDefaults.md.DEcLH0d7.js → api_propsWithDefaults.md.C6C7ZBZl.lean.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{app.B0XSXAbt.js → app.CQ7kL6_f.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.DPHmCl-3.js +1 -0
- package/docs/docs/.vitepress/dist/assets/chunks/{Button.vue_vue_type_script_setup_true_lang.CPdVloYP.js → Button.vue_vue_type_script_setup_true_lang.Bynntqk6.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/chunks/{VPLocalSearchBox.Cy60THbt.js → VPLocalSearchBox.hM-bvSJA.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/chunks/framework.CvEKxEoK.js +1 -0
- package/docs/docs/.vitepress/dist/assets/chunks/index.es.BJUrCfJB.js +1 -0
- package/docs/docs/.vitepress/dist/assets/chunks/{theme.CU9x1gi1.js → theme.BQo6cm_A.js} +2 -2
- package/docs/docs/.vitepress/dist/assets/index.md.D-9TpgnJ.js +1 -0
- package/docs/docs/.vitepress/dist/assets/index.md.D-9TpgnJ.lean.js +1 -0
- package/docs/docs/.vitepress/dist/assets/{pages_advanced-usage.md.BdjYKyP7.js → pages_advanced-usage.md.DsU0E8Oi.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{pages_advanced-usage.md.BdjYKyP7.lean.js → pages_advanced-usage.md.DsU0E8Oi.lean.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/pages_api.md.CElVfYwg.js +1 -0
- package/docs/docs/.vitepress/dist/assets/pages_api.md.CElVfYwg.lean.js +1 -0
- package/docs/docs/.vitepress/dist/assets/{pages_browse-code.md.BTo1NnoD.js → pages_browse-code.md.DhMpWRNv.js} +34 -27
- package/docs/docs/.vitepress/dist/assets/{pages_browse-code.md.BTo1NnoD.lean.js → pages_browse-code.md.DhMpWRNv.lean.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{pages_getting-started.md.pKbgyjOJ.js → pages_getting-started.md.CRguJKe8.js} +35 -28
- package/docs/docs/.vitepress/dist/assets/{pages_getting-started.md.pKbgyjOJ.lean.js → pages_getting-started.md.CRguJKe8.lean.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{pages_guidelines.md.e9uCeWU_.lean.js → pages_guidelines.md.yUFCB7mz.js} +19 -13
- package/docs/docs/.vitepress/dist/assets/{pages_guidelines.md.e9uCeWU_.js → pages_guidelines.md.yUFCB7mz.lean.js} +19 -13
- package/docs/docs/.vitepress/dist/assets/{pages_how-it-works.md.DjBxE3iI.lean.js → pages_how-it-works.md.DDKhyGlo.js} +35 -28
- package/docs/docs/.vitepress/dist/assets/{pages_how-it-works.md.DjBxE3iI.js → pages_how-it-works.md.DDKhyGlo.lean.js} +35 -28
- package/docs/docs/.vitepress/dist/assets/{pages_how-its-made.md.DGeFDBuv.js → pages_how-its-made.md.CCol99CD.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/{pages_how-its-made.md.DGeFDBuv.lean.js → pages_how-its-made.md.CCol99CD.lean.js} +1 -1
- package/docs/docs/.vitepress/dist/assets/pages_introduction.md.CCkiQtfX.js +1 -0
- package/docs/docs/.vitepress/dist/assets/pages_introduction.md.CCkiQtfX.lean.js +1 -0
- package/docs/docs/.vitepress/dist/assets/{pages_usage.md.CdQ0bAt8.js → pages_usage.md.EDa7wXde.js} +82 -32
- package/docs/docs/.vitepress/dist/assets/{pages_usage.md.CdQ0bAt8.lean.js → pages_usage.md.EDa7wXde.lean.js} +82 -32
- package/docs/docs/.vitepress/dist/assets/{style.Fgx7OB_D.css → style.Dtxde_a0.css} +1 -1
- package/docs/docs/.vitepress/dist/hashmap.json +1 -1
- package/docs/docs/.vitepress/dist/index.html +9 -9
- package/docs/docs/.vitepress/dist/pages/advanced-usage.html +7 -7
- package/docs/docs/.vitepress/dist/pages/api.html +9 -9
- package/docs/docs/.vitepress/dist/pages/browse-code.html +40 -33
- package/docs/docs/.vitepress/dist/pages/getting-started.html +41 -34
- package/docs/docs/.vitepress/dist/pages/guidelines.html +25 -19
- package/docs/docs/.vitepress/dist/pages/how-it-works.html +41 -34
- package/docs/docs/.vitepress/dist/pages/how-its-made.html +7 -7
- package/docs/docs/.vitepress/dist/pages/introduction.html +9 -9
- package/docs/docs/.vitepress/dist/pages/usage.html +88 -38
- package/docs/docs/.vitepress/theme/main.css +1 -1
- package/docs/docs/components/guidelines/CounterExternalRefsDetailed.vue +5 -5
- package/docs/docs/components/usage/CounterComposables.vue +10 -2
- package/docs/docs/components/usage/CounterComposablesDestructuring.vue +3 -3
- package/docs/docs/components/usage/CounterComposablesIvueDestructuring.vue +36 -0
- package/docs/docs/components/usage/CounterExternalRefs.vue +3 -3
- package/docs/docs/components/usage/classes/CustomMouse.ts +18 -0
- package/docs/docs/components/usage/functions/useCustomMouse.ts +31 -0
- package/docs/docs/index.md +37 -17
- package/docs/docs/pages/api.md +13 -13
- package/docs/docs/pages/guidelines.md +12 -6
- package/docs/docs/pages/how-it-works.md +24 -10
- package/docs/docs/pages/how-its-made.md +1 -1
- package/docs/docs/pages/introduction.md +10 -3
- package/docs/docs/pages/usage.md +24 -2
- package/docs/package.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/ivue.vitest.spec.ts +22 -21
- package/src/ivue.ts +30 -17
- package/docs/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.c4Gx9TYS.js +0 -1
- package/docs/docs/.vitepress/dist/assets/chunks/framework.DwpdbuZp.js +0 -1
- package/docs/docs/.vitepress/dist/assets/chunks/index.es.Dhu93bg7.js +0 -1
- package/docs/docs/.vitepress/dist/assets/index.md.CLB_U8aI.js +0 -1
- package/docs/docs/.vitepress/dist/assets/index.md.CLB_U8aI.lean.js +0 -1
- package/docs/docs/.vitepress/dist/assets/pages_api.md.-RSHq6PR.js +0 -7
- package/docs/docs/.vitepress/dist/assets/pages_api.md.-RSHq6PR.lean.js +0 -7
- package/docs/docs/.vitepress/dist/assets/pages_introduction.md.BdBoAz6L.js +0 -1
- package/docs/docs/.vitepress/dist/assets/pages_introduction.md.BdBoAz6L.lean.js +0 -1
- package/docs/docs/components/usage/functions/useMouse.ts +0 -26
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function gr(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]}function bn(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=oe(r)?ii(r):bn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(oe(e))return e;if(te(e))return e}}const ri=/;(?![^(]*\))/g,si=/:([^]+)/,oi=/\/\*.*?\*\//gs;function ii(e){const t={};return e.replace(oi,"").split(ri).forEach(n=>{if(n){const r=n.split(si);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function wn(e){let t="";if(oe(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const r=wn(e[n]);r&&(t+=r+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ia(e){if(!e)return null;let{class:t,style:n}=e;return t&&!oe(t)&&(e.class=wn(t)),n&&(e.style=bn(n)),e}const li="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ci=gr(li);function Ns(e){return!!e||e===""}const Ma=e=>oe(e)?e:e==null?"":B(e)||te(e)&&(e.toString===Ds||!V(e.toString))?JSON.stringify(e,Hs,2):String(e),Hs=(e,t)=>t&&t.__v_isRef?Hs(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:$s(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!B(t)&&!ks(t)?String(t):t,Z={},gt=[],Ne=()=>{},ai=()=>!1,ui=/^on[^a-z]/,Vt=e=>ui.test(e),mr=e=>e.startsWith("onUpdate:"),ue=Object.assign,yr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fi=Object.prototype.hasOwnProperty,Y=(e,t)=>fi.call(e,t),B=Array.isArray,mt=e=>En(e)==="[object Map]",$s=e=>En(e)==="[object Set]",V=e=>typeof e=="function",oe=e=>typeof e=="string",vr=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,En=e=>Ds.call(e),di=e=>En(e).slice(8,-1),ks=e=>En(e)==="[object Object]",_r=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=gr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hi=/-(\w)/g,je=Cn(e=>e.replace(hi,(t,n)=>n?n.toUpperCase():"")),pi=/\B([A-Z])/g,ft=Cn(e=>e.replace(pi,"-$1").toLowerCase()),xn=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),an=Cn(e=>e?`on${xn(e)}`:""),$t=(e,t)=>!Object.is(e,t),un=(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})},jt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Vr;const gi=()=>Vr||(Vr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let _e;class mi{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}run(t){if(this.active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=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=_e){t&&t.active&&t.effects.push(e)}function vi(){return _e}function _i(e){_e&&_e.cleanups.push(e)}const br=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Us=e=>(e.w&Je)>0,Bs=e=>(e.n&Je)>0,bi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},wi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Us(s)&&!Bs(s)?s.delete(e):t[n++]=s,s.w&=~Je,s.n&=~Je}t.length=n}},tr=new WeakMap;let Rt=0,Je=1;const nr=30;let Oe;const ct=Symbol(""),rr=Symbol("");class wr{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=Oe,n=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Oe,Oe=this,Ye=!0,Je=1<<++Rt,Rt<=nr?bi(this):qr(this),this.fn()}finally{Rt<=nr&&wi(this),Je=1<<--Rt,Oe=this.parent,Ye=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Oe===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 Ye=!0;const Ws=[];function xt(){Ws.push(Ye),Ye=!1}function Tt(){const e=Ws.pop();Ye=e===void 0?!0:e}function we(e,t,n){if(Ye&&Oe){let r=tr.get(e);r||tr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=br()),Ks(s)}}function Ks(e,t){let n=!1;Rt<=nr?Bs(e)||(e.n|=Je,n=!Us(e)):n=!e.has(Oe),n&&(e.add(Oe),Oe.deps.push(e))}function Ue(e,t,n,r,s,o){const i=tr.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&B(e)){const c=jt(r);i.forEach((a,f)=>{(f==="length"||f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":B(e)?_r(n)&&l.push(i.get("length")):(l.push(i.get(ct)),mt(e)&&l.push(i.get(rr)));break;case"delete":B(e)||(l.push(i.get(ct)),mt(e)&&l.push(i.get(rr)));break;case"set":mt(e)&&l.push(i.get(ct));break}if(l.length===1)l[0]&&sr(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);sr(br(c))}}function sr(e,t){const n=B(e)?e:[...e];for(const r of n)r.computed&&zr(r);for(const r of n)r.computed||zr(r)}function zr(e,t){(e!==Oe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ei=gr("__proto__,__v_isRef,__isVue"),Vs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(vr)),Ci=Er(),xi=Er(!1,!0),Ti=Er(!0),Yr=Ai();function Ai(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=X(this);for(let o=0,i=this.length;o<i;o++)we(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(X)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){xt();const r=X(this)[t].apply(this,n);return Tt(),r}}),e}function Er(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?Bi:Js:t?Xs:Ys).get(r))return r;const i=B(r);if(!e&&i&&Y(Yr,s))return Reflect.get(Yr,s,o);const l=Reflect.get(r,s,o);return(vr(s)?Vs.has(s):Ei(s))||(e||we(r,"get",s),t)?l:ae(l)?i&&_r(s)?l:l.value:te(l)?e?Sn(l):An(l):l}}const Si=qs(),Oi=qs(!0);function qs(e=!1){return function(n,r,s,o){let i=n[r];if(wt(i)&&ae(i)&&!ae(s))return!1;if(!e&&(!pn(s)&&!wt(s)&&(i=X(i),s=X(s)),!B(n)&&ae(i)&&!ae(s)))return i.value=s,!0;const l=B(n)&&_r(r)?Number(r)<n.length:Y(n,r),c=Reflect.set(n,r,s,o);return n===X(o)&&(l?$t(s,i)&&Ue(n,"set",r,s):Ue(n,"add",r,s)),c}}function Ri(e,t){const n=Y(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Ue(e,"delete",t,void 0),r}function Ii(e,t){const n=Reflect.has(e,t);return(!vr(t)||!Vs.has(t))&&we(e,"has",t),n}function Mi(e){return we(e,"iterate",B(e)?"length":ct),Reflect.ownKeys(e)}const zs={get:Ci,set:Si,deleteProperty:Ri,has:Ii,ownKeys:Mi},Pi={get:Ti,set(e,t){return!0},deleteProperty(e,t){return!0}},Fi=ue({},zs,{get:xi,set:Oi}),Cr=e=>e,Tn=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,r=!1){e=e.__v_raw;const s=X(e),o=X(t);n||(t!==o&&we(s,"get",t),we(s,"get",o));const{has:i}=Tn(s),l=r?Cr:n?Ar:Dt;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 Qt(e,t=!1){const n=this.__v_raw,r=X(n),s=X(e);return t||(e!==s&&we(r,"has",e),we(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Zt(e,t=!1){return e=e.__v_raw,!t&&we(X(e),"iterate",ct),Reflect.get(e,"size",e)}function Xr(e){e=X(e);const t=X(this);return Tn(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function Jr(e,t){t=X(t);const n=X(this),{has:r,get:s}=Tn(n);let o=r.call(n,e);o||(e=X(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?$t(t,i)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function Qr(e){const t=X(this),{has:n,get:r}=Tn(t);let s=n.call(t,e);s||(e=X(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Ue(t,"delete",e,void 0),o}function Zr(){const e=X(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function Gt(e,t){return function(r,s){const o=this,i=o.__v_raw,l=X(i),c=t?Cr:e?Ar:Dt;return!e&&we(l,"iterate",ct),i.forEach((a,f)=>r.call(s,c(a),c(f),o))}}function en(e,t,n){return function(...r){const s=this.__v_raw,o=X(s),i=mt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=s[e](...r),f=n?Cr:t?Ar:Dt;return!t&&we(o,"iterate",c?rr:ct),{next(){const{value:h,done:p}=a.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}},[Symbol.iterator](){return this}}}}function We(e){return function(...t){return e==="delete"?!1:this}}function Li(){const e={get(o){return Jt(this,o)},get size(){return Zt(this)},has:Qt,add:Xr,set:Jr,delete:Qr,clear:Zr,forEach:Gt(!1,!1)},t={get(o){return Jt(this,o,!1,!0)},get size(){return Zt(this)},has:Qt,add:Xr,set:Jr,delete:Qr,clear:Zr,forEach:Gt(!1,!0)},n={get(o){return Jt(this,o,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:Gt(!0,!1)},r={get(o){return Jt(this,o,!0,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:Gt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),r[o]=en(o,!0,!0)}),[e,n,t,r]}const[Ni,Hi,$i,ji]=Li();function xr(e,t){const n=t?e?ji:$i:e?Hi:Ni;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Y(n,s)&&s in r?n:r,s,o)}const Di={get:xr(!1,!1)},ki={get:xr(!1,!0)},Ui={get:xr(!0,!1)},Ys=new WeakMap,Xs=new WeakMap,Js=new WeakMap,Bi=new WeakMap;function Wi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ki(e){return e.__v_skip||!Object.isExtensible(e)?0:Wi(di(e))}function An(e){return wt(e)?e:Tr(e,!1,zs,Di,Ys)}function Vi(e){return Tr(e,!1,Fi,ki,Xs)}function Sn(e){return Tr(e,!0,Pi,Ui,Js)}function Tr(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=Ki(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function yt(e){return wt(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function pn(e){return!!(e&&e.__v_isShallow)}function Qs(e){return yt(e)||wt(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Mt(e){return hn(e,"__v_skip",!0),e}const Dt=e=>te(e)?An(e):e,Ar=e=>te(e)?Sn(e):e;function Sr(e){Ye&&Oe&&(e=X(e),Ks(e.dep||(e.dep=br())))}function Or(e,t){e=X(e),e.dep&&sr(e.dep)}function ae(e){return!!(e&&e.__v_isRef===!0)}function ne(e){return Zs(e,!1)}function Rr(e){return Zs(e,!0)}function Zs(e,t){return ae(e)?e:new qi(e,t)}class qi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:X(t),this._value=n?t:Dt(t)}get value(){return Sr(this),this._value}set value(t){const n=this.__v_isShallow||pn(t)||wt(t);t=n?t:X(t),$t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Dt(t),Or(this))}}function Gs(e){return ae(e)?e.value:e}const zi={get:(e,t,n)=>Gs(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 eo(e){return yt(e)?e:new Proxy(e,zi)}class Yi{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Sr(this),()=>Or(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Xi(e){return new Yi(e)}class Ji{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}}function Qi(e,t,n){const r=e[t];return ae(r)?r:new Ji(e,t,n)}var to;class Zi{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[to]=!1,this._dirty=!0,this.effect=new wr(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=X(this);return Sr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}to="__v_isReadonly";function Gi(e,t,n=!1){let r,s;const o=V(e);return o?(r=e,s=Ne):(r=e.get,s=e.set),new Zi(r,s,o||!s,n)}function Xe(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){qt(o,t,n)}return s}function xe(e,t,n,r){if(V(e)){const o=Xe(e,t,n,r);return o&&js(o)&&o.catch(i=>{qt(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(xe(e[o],t,n,r));return s}function qt(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 f=0;f<a.length;f++)if(a[f](e,i,l)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){Xe(c,null,10,[e,i,l]);return}}el(e,n,s,r)}function el(e,t,n,r=!0){console.error(e)}let kt=!1,or=!1;const de=[];let Fe=0;const vt=[];let ke=null,st=0;const no=Promise.resolve();let Ir=null;function On(e){const t=Ir||no;return e?t.then(this?e.bind(this):e):t}function tl(e){let t=Fe+1,n=de.length;for(;t<n;){const r=t+n>>>1;Ut(de[r])<e?t=r+1:n=r}return t}function Rn(e){(!de.length||!de.includes(e,kt&&e.allowRecurse?Fe+1:Fe))&&(e.id==null?de.push(e):de.splice(tl(e.id),0,e),ro())}function ro(){!kt&&!or&&(or=!0,Ir=no.then(so))}function nl(e){const t=de.indexOf(e);t>Fe&&de.splice(t,1)}function rl(e){B(e)?vt.push(...e):(!ke||!ke.includes(e,e.allowRecurse?st+1:st))&&vt.push(e),ro()}function Gr(e,t=kt?Fe+1:0){for(;t<de.length;t++){const n=de[t];n&&n.pre&&(de.splice(t,1),t--,n())}}function gn(e){if(vt.length){const t=[...new Set(vt)];if(vt.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,sl=(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 so(e){or=!1,kt=!0,de.sort(sl);try{for(Fe=0;Fe<de.length;Fe++){const t=de[Fe];t&&t.active!==!1&&Xe(t,null,14)}}finally{Fe=0,de.length=0,gn(),kt=!1,Ir=null,(de.length||vt.length)&&so()}}function ol(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Z;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const f=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:p}=r[f]||Z;p&&(s=n.map(y=>oe(y)?y.trim():y)),h&&(s=n.map(jt))}let l,c=r[l=an(t)]||r[l=an(je(t))];!c&&o&&(c=r[l=an(ft(t))]),c&&xe(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,xe(a,e,6,s)}}function oo(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 f=oo(a,t,!0);f&&(l=!0,ue(i,f))};!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):(B(o)?o.forEach(c=>i[c]=null):ue(i,o),te(e)&&r.set(e,i),i)}function In(e,t){return!e||!Vt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,ft(t))||Y(e,t))}let he=null,Mn=null;function mn(e){const t=he;return he=e,Mn=e&&e.type.__scopeId||null,t}function Pa(e){Mn=e}function Fa(){Mn=null}function il(e,t=he,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&us(-1);const o=mn(t);let i;try{i=e(...s)}finally{mn(o),r._d&&us(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:f,renderCache:h,data:p,setupState:y,ctx:E,inheritAttrs:x}=e;let H,m;const v=mn(e);try{if(n.shapeFlag&4){const F=s||r;H=Se(f.call(F,F,h,o,y,p,E)),m=c}else{const F=t;H=Se(F.length>1?F(o,{attrs:c,slots:l,emit:a}):F(o,null)),m=t.props?c:ll(c)}}catch(F){Nt.length=0,qt(F,e,1),H=ie(be)}let R=H;if(m&&x!==!1){const F=Object.keys(m),{shapeFlag:I}=R;F.length&&I&7&&(i&&F.some(mr)&&(m=cl(m,i)),R=Qe(R,m))}return n.dirs&&(R=Qe(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),H=R,mn(v),H}const ll=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vt(n))&&((t||(t={}))[n]=e[n]);return t},cl=(e,t)=>{const n={};for(const r in e)(!mr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function al(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?es(r,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const p=f[h];if(i[p]!==r[p]&&!In(a,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?es(r,i,a):!0:!!i;return!1}function es(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]&&!In(n,o))return!0}return!1}function ul({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const fl=e=>e.__isSuspense;function io(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):rl(e)}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 _t(e,t,n=!1){const r=ce||he;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&V(t)?t.call(r.proxy):t}}function Mr(e,t){return Pn(e,null,t)}function La(e,t){return Pn(e,null,{flush:"post"})}const tn={};function He(e,t,n){return Pn(e,t,n)}function Pn(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Z){const l=ce;let c,a=!1,f=!1;if(ae(e)?(c=()=>e.value,a=pn(e)):yt(e)?(c=()=>e,r=!0):B(e)?(f=!0,a=e.some(R=>yt(R)||pn(R)),c=()=>e.map(R=>{if(ae(R))return R.value;if(yt(R))return lt(R);if(V(R))return Xe(R,l,2)})):V(e)?t?c=()=>Xe(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),xe(e,l,3,[p])}:c=Ne,t&&r){const R=c;c=()=>lt(R())}let h,p=R=>{h=m.onStop=()=>{Xe(R,l,4)}},y;if(Ct)if(p=Ne,t?n&&xe(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const R=ic();y=R.__watcherHandles||(R.__watcherHandles=[])}else return Ne;let E=f?new Array(e.length).fill(tn):tn;const x=()=>{if(m.active)if(t){const R=m.run();(r||a||(f?R.some((F,I)=>$t(F,E[I])):$t(R,E)))&&(h&&h(),xe(t,l,3,[R,E===tn?void 0:f&&E[0]===tn?[]:E,p]),E=R)}else m.run()};x.allowRecurse=!!t;let H;s==="sync"?H=x:s==="post"?H=()=>ge(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),H=()=>Rn(x));const m=new wr(c,H);t?n?x():E=m.run():s==="post"?ge(m.run.bind(m),l&&l.suspense):m.run();const v=()=>{m.stop(),l&&l.scope&&yr(l.scope.effects,m)};return y&&y.push(v),v}function hl(e,t,n){const r=this.proxy,s=oe(e)?e.includes(".")?lo(r,e):()=>r[e]:e.bind(r,r);let o;V(t)?o=t:(o=t.handler,n=t);const i=ce;Et(this);const l=Pn(s,o.bind(r),n);return i?Et(i):at(),l}function lo(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 lt(e,t){if(!te(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ae(e))lt(e.value,t);else if(B(e))for(let n=0;n<e.length;n++)lt(e[n],t);else if($s(e)||mt(e))e.forEach(n=>{lt(n,t)});else if(ks(e))for(const n in e)lt(e[n],t);return e}function pl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return At(()=>{e.isMounted=!0}),ho(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],gl={name:"BaseTransition",props:{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},setup(e,{slots:t}){const n=Hn(),r=pl();let s;return()=>{const o=t.default&&uo(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const x of o)if(x.type!==be){i=x;break}}const l=X(e),{mode:c}=l;if(r.isLeaving)return Un(i);const a=ts(i);if(!a)return Un(i);const f=ir(a,l,r,n);lr(a,f);const h=n.subTree,p=h&&ts(h);let y=!1;const{getTransitionKey:E}=a.type;if(E){const x=E();s===void 0?s=x:x!==s&&(s=x,y=!0)}if(p&&p.type!==be&&(!ot(a,p)||y)){const x=ir(p,l,r,n);if(lr(p,x),c==="out-in")return r.isLeaving=!0,x.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Un(i);c==="in-out"&&a.type!==be&&(x.delayLeave=(H,m,v)=>{const R=ao(r,p);R[String(p.key)]=p,H._leaveCb=()=>{m(),H._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=v})}return i}}},co=gl;function ao(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 ir(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:y,onLeaveCancelled:E,onBeforeAppear:x,onAppear:H,onAfterAppear:m,onAppearCancelled:v}=t,R=String(e.key),F=ao(n,e),I=(C,U)=>{C&&xe(C,r,9,U)},W=(C,U)=>{const S=U[1];I(C,U),B(C)?C.every($=>$.length<=1)&&S():C.length<=1&&S()},k={mode:o,persisted:i,beforeEnter(C){let U=l;if(!n.isMounted)if(s)U=x||l;else return;C._leaveCb&&C._leaveCb(!0);const S=F[R];S&&ot(e,S)&&S.el._leaveCb&&S.el._leaveCb(),I(U,[C])},enter(C){let U=c,S=a,$=f;if(!n.isMounted)if(s)U=H||c,S=m||a,$=v||f;else return;let P=!1;const q=C._enterCb=N=>{P||(P=!0,N?I($,[C]):I(S,[C]),k.delayedLeave&&k.delayedLeave(),C._enterCb=void 0)};U?W(U,[C,q]):q()},leave(C,U){const S=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return U();I(h,[C]);let $=!1;const P=C._leaveCb=q=>{$||($=!0,U(),q?I(E,[C]):I(y,[C]),C._leaveCb=void 0,F[S]===e&&delete F[S])};F[S]=e,p?W(p,[C,P]):P()},clone(C){return ir(C,t,n,r)}};return k}function Un(e){if(zt(e))return e=Qe(e),e.children=null,e}function ts(e){return zt(e)?e.children?e.children[0]:void 0:e}function lr(e,t){e.shapeFlag&6&&e.component?lr(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 uo(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===me?(i.patchFlag&128&&s++,r=r.concat(uo(i.children,t,l))):(t||i.type!==be)&&r.push(l!=null?Qe(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Pr(e){return V(e)?{setup:e,name:e.name}:e}const bt=e=>!!e.type.__asyncLoader;function Na(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,f=0;const h=()=>(f++,c=null,p()),p=()=>{let y;return c||(y=c=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),l)return new Promise((x,H)=>{l(E,()=>x(h()),()=>H(E),f+1)});throw E}).then(E=>y!==c&&c?c:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Pr({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return a},setup(){const y=ce;if(a)return()=>Bn(a,y);const E=v=>{c=null,qt(v,y,13,!r)};if(i&&y.suspense||Ct)return p().then(v=>()=>Bn(v,y)).catch(v=>(E(v),()=>r?ie(r,{error:v}):null));const x=ne(!1),H=ne(),m=ne(!!s);return s&&setTimeout(()=>{m.value=!1},s),o!=null&&setTimeout(()=>{if(!x.value&&!H.value){const v=new Error(`Async component timed out after ${o}ms.`);E(v),H.value=v}},o),p().then(()=>{x.value=!0,y.parent&&zt(y.parent.vnode)&&Rn(y.parent.update)}).catch(v=>{E(v),H.value=v}),()=>{if(x.value&&a)return Bn(a,y);if(H.value&&r)return ie(r,{error:H.value});if(n&&!m.value)return ie(n)}}})}function Bn(e,{vnode:{ref:t,props:n,children:r,shapeFlag:s},parent:o}){const i=ie(e,n,r);return i.ref=t,i}const zt=e=>e.type.__isKeepAlive;function ml(e,t){fo(e,"a",t)}function yl(e,t){fo(e,"da",t)}function fo(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(Fn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)zt(s.parent.vnode)&&vl(r,t,n,s),s=s.parent}}function vl(e,t,n,r){const s=Fn(t,e,r,!0);Ln(()=>{yr(r[t],s)},n)}function Fn(e,t,n=ce,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;xt(),Et(n);const l=xe(t,n,e,i);return at(),Tt(),l});return r?s.unshift(o):s.push(o),o}}const Be=e=>(t,n=ce)=>(!Ct||e==="sp")&&Fn(e,(...r)=>t(...r),n),_l=Be("bm"),At=Be("m"),bl=Be("bu"),wl=Be("u"),ho=Be("bum"),Ln=Be("um"),El=Be("sp"),Cl=Be("rtg"),xl=Be("rtc");function Tl(e,t=ce){Fn("ec",e,t)}function Ha(e,t){const n=he;if(n===null)return e;const r=$n(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,c,a=Z]=t[o];i&&(V(i)&&(i={mounted:i,updated:i}),i.deep&<(l),s.push({dir:i,instance:r,value:l,oldValue:void 0,arg:c,modifiers:a}))}return e}function Pe(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&&(xt(),xe(c,n,8,[e.el,l,e,t]),Tt())}}const po="components";function $a(e,t){return mo(po,e,!0,t)||e}const go=Symbol();function ja(e){return oe(e)?mo(po,e,!1)||e:e||go}function mo(e,t,n=!0,r=!1){const s=he||ce;if(s){const o=s.type;{const l=nc(o,!1);if(l&&(l===t||l===je(t)||l===xn(je(t))))return o}const i=ns(s[e]||o[e],t)||ns(s.appContext[e],t);return!i&&r?o:i}}function ns(e,t){return e&&(e[t]||e[je(t)]||e[xn(je(t))])}function Da(e,t,n,r){let s;const o=n;if(B(e)||oe(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 ka(e,t,n={},r,s){if(he.isCE||he.parent&&bt(he.parent)&&he.parent.isCE)return ie("slot",t==="default"?null:{name:t},r&&r());let o=e[t];o&&o._c&&(o._d=!1),Ao();const i=o&&yo(o(n)),l=Oo(me,{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 yo(e){return e.some(t=>_n(t)?!(t.type===be||t.type===me&&!yo(t.children)):!0)?e:null}function Ua(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:an(r)]=e[r];return n}const cr=e=>e?Po(e)?$n(e)||e.proxy:cr(e.parent):null,Pt=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=>cr(e.parent),$root:e=>cr(e.root),$emit:e=>e.emit,$options:e=>Fr(e),$forceUpdate:e=>e.f||(e.f=()=>Rn(e.update)),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>hl.bind(e)}),Al={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(r!==Z&&Y(r,t))return i[t]=1,r[t];if(s!==Z&&Y(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&Y(a,t))return i[t]=3,o[t];if(n!==Z&&Y(n,t))return i[t]=4,n[t];ar&&(i[t]=0)}}const f=Pt[t];let h,p;if(f)return t==="$attrs"&&we(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&Y(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,Y(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return s!==Z&&Y(s,t)?(s[t]=n,!0):r!==Z&&Y(r,t)?(r[t]=n,!0):Y(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!==Z&&Y(e,i)||t!==Z&&Y(t,i)||(l=o[0])&&Y(l,i)||Y(r,i)||Y(Pt,i)||Y(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ar=!0;function Sl(e){const t=Fr(e),n=e.proxy,r=e.ctx;ar=!1,t.beforeCreate&&rs(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:p,beforeUpdate:y,updated:E,activated:x,deactivated:H,beforeDestroy:m,beforeUnmount:v,destroyed:R,unmounted:F,render:I,renderTracked:W,renderTriggered:k,errorCaptured:C,serverPrefetch:U,expose:S,inheritAttrs:$,components:P,directives:q,filters:N}=t;if(a&&Ol(a,r,null,e.appContext.config.unwrapInjectedRef),i)for(const re in i){const G=i[re];V(G)&&(r[re]=G.bind(n))}if(s){const re=s.call(n,n);te(re)&&(e.data=An(re))}if(ar=!0,o)for(const re in o){const G=o[re],Ze=V(G)?G.bind(n,n):V(G.get)?G.get.bind(n,n):Ne,Yt=!V(G)&&V(G.set)?G.set.bind(n):Ne,Ge=se({get:Ze,set:Yt});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Ie=>Ge.value=Ie})}if(l)for(const re in l)vo(l[re],r,n,re);if(c){const re=V(c)?c.call(n):c;Reflect.ownKeys(re).forEach(G=>{dl(G,re[G])})}f&&rs(f,e,"c");function J(re,G){B(G)?G.forEach(Ze=>re(Ze.bind(n))):G&&re(G.bind(n))}if(J(_l,h),J(At,p),J(bl,y),J(wl,E),J(ml,x),J(yl,H),J(Tl,C),J(xl,W),J(Cl,k),J(ho,v),J(Ln,F),J(El,U),B(S))if(S.length){const re=e.exposed||(e.exposed={});S.forEach(G=>{Object.defineProperty(re,G,{get:()=>n[G],set:Ze=>n[G]=Ze})})}else e.exposed||(e.exposed={});I&&e.render===Ne&&(e.render=I),$!=null&&(e.inheritAttrs=$),P&&(e.components=P),q&&(e.directives=q)}function Ol(e,t,n=Ne,r=!1){B(e)&&(e=ur(e));for(const s in e){const o=e[s];let i;te(o)?"default"in o?i=_t(o.from||s,o.default,!0):i=_t(o.from||s):i=_t(o),ae(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function rs(e,t,n){xe(B(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function vo(e,t,n,r){const s=r.includes(".")?lo(n,r):()=>n[r];if(oe(e)){const o=t[e];V(o)&&He(s,o)}else if(V(e))He(s,e.bind(n));else if(te(e))if(B(e))e.forEach(o=>vo(o,t,n,r));else{const o=V(e.handler)?e.handler.bind(n):t[e.handler];V(o)&&He(s,o,e)}}function Fr(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=Rl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Rl={data:ss,props:rt,emits:rt,methods:rt,computed:rt,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:rt,directives:rt,watch:Ml,provide:ss,inject:Il};function ss(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 Il(e,t){return rt(ur(e),ur(t))}function ur(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function pe(e,t){return e?[...new Set([].concat(e,t))]:t}function rt(e,t){return e?ue(ue(Object.create(null),e),t):t}function Ml(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const r in t)n[r]=pe(e[r],t[r]);return n}function Pl(e,t,n,r=!1){const s={},o={};hn(o,Nn,1),e.propsDefaults=Object.create(null),_o(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Vi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Fl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=X(s),[c]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let p=f[h];if(In(e.emitsOptions,p))continue;const y=t[p];if(c)if(Y(o,p))y!==o[p]&&(o[p]=y,a=!0);else{const E=je(p);s[E]=fr(c,l,E,y,e,!1)}else y!==o[p]&&(o[p]=y,a=!0)}}}else{_o(e,t,s,o)&&(a=!0);let f;for(const h in l)(!t||!Y(t,h)&&((f=ft(h))===h||!Y(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(s[h]=fr(c,l,h,void 0,e,!0)):delete s[h]);if(o!==l)for(const h in o)(!t||!Y(t,h))&&(delete o[h],a=!0)}a&&Ue(e,"set","$attrs")}function _o(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(It(c))continue;const a=t[c];let f;s&&Y(s,f=je(c))?!o||!o.includes(f)?n[f]=a:(l||(l={}))[f]=a:In(e.emitsOptions,c)||(!(c in r)||a!==r[c])&&(r[c]=a,i=!0)}if(o){const c=X(n),a=l||Z;for(let f=0;f<o.length;f++){const h=o[f];n[h]=fr(s,c,h,a[h],e,!Y(a,h))}}return i}function fr(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=Y(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&V(c)){const{propsDefaults:a}=s;n in a?r=a[n]:(Et(s),r=a[n]=c.call(null,t),at())}else r=c}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===ft(n))&&(r=!0))}return r}function bo(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 f=h=>{c=!0;const[p,y]=bo(h,t,!0);ue(i,p),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return te(e)&&r.set(e,gt),gt;if(B(o))for(let f=0;f<o.length;f++){const h=je(o[f]);os(h)&&(i[h]=Z)}else if(o)for(const f in o){const h=je(f);if(os(h)){const p=o[f],y=i[h]=B(p)||V(p)?{type:p}:Object.assign({},p);if(y){const E=cs(Boolean,y.type),x=cs(String,y.type);y[0]=E>-1,y[1]=x<0||E<x,(E>-1||Y(y,"default"))&&l.push(h)}}}const a=[i,l];return te(e)&&r.set(e,a),a}function os(e){return e[0]!=="$"}function is(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ls(e,t){return is(e)===is(t)}function cs(e,t){return B(t)?t.findIndex(n=>ls(n,e)):V(t)&&ls(t,e)?0:-1}const wo=e=>e[0]==="_"||e==="$stable",Lr=e=>B(e)?e.map(Se):[Se(e)],Ll=(e,t,n)=>{if(t._n)return t;const r=il((...s)=>Lr(t(...s)),n);return r._c=!1,r},Eo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(wo(s))continue;const o=e[s];if(V(o))t[s]=Ll(s,o,r);else if(o!=null){const i=Lr(o);t[s]=()=>i}}},Co=(e,t)=>{const n=Lr(t);e.slots.default=()=>n},Nl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=X(t),hn(t,"_",n)):Eo(t,e.slots={})}else e.slots={},t&&Co(e,t);hn(e.slots,Nn,1)},Hl=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Z;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ue(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Eo(t,s)),i=t}else t&&(Co(e,t),i={default:1});if(o)for(const l in s)!wo(l)&&!(l in i)&&delete s[l]};function xo(){return{app:null,config:{isNativeTag:ai,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=Object.assign({},r)),s!=null&&!te(s)&&(s=null);const o=xo(),i=new Set;let l=!1;const c=o.app={_uid:$l++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:lc,get config(){return o.config},set config(a){},use(a,...f){return i.has(a)||(a&&V(a.install)?(i.add(a),a.install(c,...f)):V(a)&&(i.add(a),a(c,...f))),c},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),c},component(a,f){return f?(o.components[a]=f,c):o.components[a]},directive(a,f){return f?(o.directives[a]=f,c):o.directives[a]},mount(a,f,h){if(!l){const p=ie(r,s);return p.appContext=o,f&&t?t(p,a):e(p,a,h),l=!0,c._container=a,a.__vue_app__=c,$n(p.component)||p.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,f){return o.provides[a]=f,c}};return c}}function vn(e,t,n,r,s=!1){if(B(e)){e.forEach((p,y)=>vn(p,t&&(B(t)?t[y]:t),n,r,s));return}if(bt(r)&&!s)return;const o=r.shapeFlag&4?$n(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===Z?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(oe(a)?(f[a]=null,Y(h,a)&&(h[a]=null)):ae(a)&&(a.value=null)),V(c))Xe(c,l,12,[i,f]);else{const p=oe(c),y=ae(c);if(p||y){const E=()=>{if(e.f){const x=p?Y(h,c)?h[c]:f[c]:c.value;s?B(x)&&yr(x,o):B(x)?x.includes(o)||x.push(o):p?(f[c]=[o],Y(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else p?(f[c]=i,Y(h,c)&&(h[c]=i)):y&&(c.value=i,e.k&&(f[e.k]=i))};i?(E.id=-1,ge(E,n)):E()}}}let Ke=!1;const nn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",rn=e=>e.nodeType===8;function Dl(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:a}}=e,f=(m,v)=>{if(!v.hasChildNodes()){n(null,m,v),gn(),v._vnode=m;return}Ke=!1,h(v.firstChild,m,null,null,null),gn(),v._vnode=m,Ke&&console.error("Hydration completed but contains mismatches.")},h=(m,v,R,F,I,W=!1)=>{const k=rn(m)&&m.data==="[",C=()=>x(m,v,R,F,I,k),{type:U,ref:S,shapeFlag:$,patchFlag:P}=v;let q=m.nodeType;v.el=m,P===-2&&(W=!1,v.dynamicChildren=null);let N=null;switch(U){case Bt:q!==3?v.children===""?(c(v.el=s(""),i(m),m),N=m):N=C():(m.data!==v.children&&(Ke=!0,m.data=v.children),N=o(m));break;case be:q!==8||k?N=C():N=o(m);break;case Lt:if(k&&(m=o(m),q=m.nodeType),q===1||q===3){N=m;const ye=!v.children.length;for(let J=0;J<v.staticCount;J++)ye&&(v.children+=N.nodeType===1?N.outerHTML:N.data),J===v.staticCount-1&&(v.anchor=N),N=o(N);return k?o(N):N}else C();break;case me:k?N=E(m,v,R,F,I,W):N=C();break;default:if($&1)q!==1||v.type.toLowerCase()!==m.tagName.toLowerCase()?N=C():N=p(m,v,R,F,I,W);else if($&6){v.slotScopeIds=I;const ye=i(m);if(t(v,ye,null,R,F,nn(ye),W),N=k?H(m):o(m),N&&rn(N)&&N.data==="teleport end"&&(N=o(N)),bt(v)){let J;k?(J=ie(me),J.anchor=N?N.previousSibling:ye.lastChild):J=m.nodeType===3?Mo(""):ie("div"),J.el=m,v.component.subTree=J}}else $&64?q!==8?N=C():N=v.type.hydrate(m,v,R,F,I,W,e,y):$&128&&(N=v.type.hydrate(m,v,R,F,nn(i(m)),I,W,e,h))}return S!=null&&vn(S,null,F,v),N},p=(m,v,R,F,I,W)=>{W=W||!!v.dynamicChildren;const{type:k,props:C,patchFlag:U,shapeFlag:S,dirs:$}=v,P=k==="input"&&$||k==="option";if(P||U!==-1){if($&&Pe(v,null,R,"created"),C)if(P||!W||U&48)for(const N in C)(P&&N.endsWith("value")||Vt(N)&&!It(N))&&r(m,N,null,C[N],!1,void 0,R);else C.onClick&&r(m,"onClick",null,C.onClick,!1,void 0,R);let q;if((q=C&&C.onVnodeBeforeMount)&&Ce(q,R,v),$&&Pe(v,null,R,"beforeMount"),((q=C&&C.onVnodeMounted)||$)&&io(()=>{q&&Ce(q,R,v),$&&Pe(v,null,R,"mounted")},F),S&16&&!(C&&(C.innerHTML||C.textContent))){let N=y(m.firstChild,v,m,R,F,I,W);for(;N;){Ke=!0;const ye=N;N=N.nextSibling,l(ye)}}else S&8&&m.textContent!==v.children&&(Ke=!0,m.textContent=v.children)}return m.nextSibling},y=(m,v,R,F,I,W,k)=>{k=k||!!v.dynamicChildren;const C=v.children,U=C.length;for(let S=0;S<U;S++){const $=k?C[S]:C[S]=Se(C[S]);if(m)m=h(m,$,F,I,W,k);else{if($.type===Bt&&!$.children)continue;Ke=!0,n(null,$,R,null,F,I,nn(R),W)}}return m},E=(m,v,R,F,I,W)=>{const{slotScopeIds:k}=v;k&&(I=I?I.concat(k):k);const C=i(m),U=y(o(m),v,C,R,F,I,W);return U&&rn(U)&&U.data==="]"?o(v.anchor=U):(Ke=!0,c(v.anchor=a("]"),C,U),U)},x=(m,v,R,F,I,W)=>{if(Ke=!0,v.el=null,W){const U=H(m);for(;;){const S=o(m);if(S&&S!==U)l(S);else break}}const k=o(m),C=i(m);return l(m),n(null,v,C,k,R,F,nn(C),I),k},H=m=>{let v=0;for(;m;)if(m=o(m),m&&rn(m)&&(m.data==="["&&v++,m.data==="]")){if(v===0)return o(m);v--}return m};return[f,h]}const ge=io;function kl(e){return To(e)}function Ul(e){return To(e,Dl)}function To(e,t){const n=gi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:p,setScopeId:y=Ne,insertStaticContent:E}=e,x=(u,d,g,b=null,_=null,A=null,M=!1,T=null,O=!!d.dynamicChildren)=>{if(u===d)return;u&&!ot(u,d)&&(b=Xt(u),Ie(u,_,A,!0),u=null),d.patchFlag===-2&&(O=!1,d.dynamicChildren=null);const{type:w,ref:j,shapeFlag:L}=d;switch(w){case Bt:H(u,d,g,b);break;case be:m(u,d,g,b);break;case Lt:u==null&&v(d,g,b,M);break;case me:P(u,d,g,b,_,A,M,T,O);break;default:L&1?I(u,d,g,b,_,A,M,T,O):L&6?q(u,d,g,b,_,A,M,T,O):(L&64||L&128)&&w.process(u,d,g,b,_,A,M,T,O,dt)}j!=null&&_&&vn(j,u&&u.ref,A,d||u,!d)},H=(u,d,g,b)=>{if(u==null)r(d.el=l(d.children),g,b);else{const _=d.el=u.el;d.children!==u.children&&a(_,d.children)}},m=(u,d,g,b)=>{u==null?r(d.el=c(d.children||""),g,b):d.el=u.el},v=(u,d,g,b)=>{[u.el,u.anchor]=E(u.children,d,g,b,u.el,u.anchor)},R=({el:u,anchor:d},g,b)=>{let _;for(;u&&u!==d;)_=p(u),r(u,g,b),u=_;r(d,g,b)},F=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=p(u),s(u),u=g;s(d)},I=(u,d,g,b,_,A,M,T,O)=>{M=M||d.type==="svg",u==null?W(d,g,b,_,A,M,T,O):U(u,d,_,A,M,T,O)},W=(u,d,g,b,_,A,M,T)=>{let O,w;const{type:j,props:L,shapeFlag:D,transition:K,dirs:z}=u;if(O=u.el=i(u.type,A,L&&L.is,L),D&8?f(O,u.children):D&16&&C(u.children,O,null,b,_,A&&j!=="foreignObject",M,T),z&&Pe(u,null,b,"created"),L){for(const Q in L)Q!=="value"&&!It(Q)&&o(O,Q,null,L[Q],A,u.children,b,_,De);"value"in L&&o(O,"value",null,L.value),(w=L.onVnodeBeforeMount)&&Ce(w,b,u)}k(O,u,u.scopeId,M,b),z&&Pe(u,null,b,"beforeMount");const ee=(!_||_&&!_.pendingBranch)&&K&&!K.persisted;ee&&K.beforeEnter(O),r(O,d,g),((w=L&&L.onVnodeMounted)||ee||z)&&ge(()=>{w&&Ce(w,b,u),ee&&K.enter(O),z&&Pe(u,null,b,"mounted")},_)},k=(u,d,g,b,_)=>{if(g&&y(u,g),b)for(let A=0;A<b.length;A++)y(u,b[A]);if(_){let A=_.subTree;if(d===A){const M=_.vnode;k(u,M,M.scopeId,M.slotScopeIds,_.parent)}}},C=(u,d,g,b,_,A,M,T,O=0)=>{for(let w=O;w<u.length;w++){const j=u[w]=T?ze(u[w]):Se(u[w]);x(null,j,d,g,b,_,A,M,T)}},U=(u,d,g,b,_,A,M)=>{const T=d.el=u.el;let{patchFlag:O,dynamicChildren:w,dirs:j}=d;O|=u.patchFlag&16;const L=u.props||Z,D=d.props||Z;let K;g&&et(g,!1),(K=D.onVnodeBeforeUpdate)&&Ce(K,g,d,u),j&&Pe(d,u,g,"beforeUpdate"),g&&et(g,!0);const z=_&&d.type!=="foreignObject";if(w?S(u.dynamicChildren,w,T,g,b,z,A):M||G(u,d,T,null,g,b,z,A,!1),O>0){if(O&16)$(T,d,L,D,g,b,_);else if(O&2&&L.class!==D.class&&o(T,"class",null,D.class,_),O&4&&o(T,"style",L.style,D.style,_),O&8){const ee=d.dynamicProps;for(let Q=0;Q<ee.length;Q++){const le=ee[Q],Ae=L[le],ht=D[le];(ht!==Ae||le==="value")&&o(T,le,Ae,ht,_,u.children,g,b,De)}}O&1&&u.children!==d.children&&f(T,d.children)}else!M&&w==null&&$(T,d,L,D,g,b,_);((K=D.onVnodeUpdated)||j)&&ge(()=>{K&&Ce(K,g,d,u),j&&Pe(d,u,g,"updated")},b)},S=(u,d,g,b,_,A,M)=>{for(let T=0;T<d.length;T++){const O=u[T],w=d[T],j=O.el&&(O.type===me||!ot(O,w)||O.shapeFlag&70)?h(O.el):g;x(O,w,j,null,b,_,A,M,!0)}},$=(u,d,g,b,_,A,M)=>{if(g!==b){if(g!==Z)for(const T in g)!It(T)&&!(T in b)&&o(u,T,g[T],null,M,d.children,_,A,De);for(const T in b){if(It(T))continue;const O=b[T],w=g[T];O!==w&&T!=="value"&&o(u,T,w,O,M,d.children,_,A,De)}"value"in b&&o(u,"value",g.value,b.value)}},P=(u,d,g,b,_,A,M,T,O)=>{const w=d.el=u?u.el:l(""),j=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:D,slotScopeIds:K}=d;K&&(T=T?T.concat(K):K),u==null?(r(w,g,b),r(j,g,b),C(d.children,g,j,_,A,M,T,O)):L>0&&L&64&&D&&u.dynamicChildren?(S(u.dynamicChildren,D,g,_,A,M,T),(d.key!=null||_&&d===_.subTree)&&Nr(u,d,!0)):G(u,d,g,j,_,A,M,T,O)},q=(u,d,g,b,_,A,M,T,O)=>{d.slotScopeIds=T,u==null?d.shapeFlag&512?_.ctx.activate(d,g,b,M,O):N(d,g,b,_,A,M,O):ye(u,d,O)},N=(u,d,g,b,_,A,M)=>{const T=u.component=Zl(u,b,_);if(zt(u)&&(T.ctx.renderer=dt),Gl(T),T.asyncDep){if(_&&_.registerDep(T,J),!u.el){const O=T.subTree=ie(be);m(null,O,d,g)}return}J(T,u,d,g,_,A,M)},ye=(u,d,g)=>{const b=d.component=u.component;if(al(u,d,g))if(b.asyncDep&&!b.asyncResolved){re(b,d,g);return}else b.next=d,nl(b.update),b.update();else d.el=u.el,b.vnode=d},J=(u,d,g,b,_,A,M)=>{const T=()=>{if(u.isMounted){let{next:j,bu:L,u:D,parent:K,vnode:z}=u,ee=j,Q;et(u,!1),j?(j.el=z.el,re(u,j,M)):j=z,L&&un(L),(Q=j.props&&j.props.onVnodeBeforeUpdate)&&Ce(Q,K,j,z),et(u,!0);const le=kn(u),Ae=u.subTree;u.subTree=le,x(Ae,le,h(Ae.el),Xt(Ae),u,_,A),j.el=le.el,ee===null&&ul(u,le.el),D&&ge(D,_),(Q=j.props&&j.props.onVnodeUpdated)&&ge(()=>Ce(Q,K,j,z),_)}else{let j;const{el:L,props:D}=d,{bm:K,m:z,parent:ee}=u,Q=bt(d);if(et(u,!1),K&&un(K),!Q&&(j=D&&D.onVnodeBeforeMount)&&Ce(j,ee,d),et(u,!0),L&&Dn){const le=()=>{u.subTree=kn(u),Dn(L,u.subTree,u,_,null)};Q?d.type.__asyncLoader().then(()=>!u.isUnmounted&&le()):le()}else{const le=u.subTree=kn(u);x(null,le,g,b,u,_,A),d.el=le.el}if(z&&ge(z,_),!Q&&(j=D&&D.onVnodeMounted)){const le=d;ge(()=>Ce(j,ee,le),_)}(d.shapeFlag&256||ee&&bt(ee.vnode)&&ee.vnode.shapeFlag&256)&&u.a&&ge(u.a,_),u.isMounted=!0,d=g=b=null}},O=u.effect=new wr(T,()=>Rn(w),u.scope),w=u.update=()=>O.run();w.id=u.uid,et(u,!0),w()},re=(u,d,g)=>{d.component=u;const b=u.vnode.props;u.vnode=d,u.next=null,Fl(u,d.props,b,g),Hl(u,d.children,g),xt(),Gr(),Tt()},G=(u,d,g,b,_,A,M,T,O=!1)=>{const w=u&&u.children,j=u?u.shapeFlag:0,L=d.children,{patchFlag:D,shapeFlag:K}=d;if(D>0){if(D&128){Yt(w,L,g,b,_,A,M,T,O);return}else if(D&256){Ze(w,L,g,b,_,A,M,T,O);return}}K&8?(j&16&&De(w,_,A),L!==w&&f(g,L)):j&16?K&16?Yt(w,L,g,b,_,A,M,T,O):De(w,_,A,!0):(j&8&&f(g,""),K&16&&C(L,g,b,_,A,M,T,O))},Ze=(u,d,g,b,_,A,M,T,O)=>{u=u||gt,d=d||gt;const w=u.length,j=d.length,L=Math.min(w,j);let D;for(D=0;D<L;D++){const K=d[D]=O?ze(d[D]):Se(d[D]);x(u[D],K,g,null,_,A,M,T,O)}w>j?De(u,_,A,!0,!1,L):C(d,g,b,_,A,M,T,O,L)},Yt=(u,d,g,b,_,A,M,T,O)=>{let w=0;const j=d.length;let L=u.length-1,D=j-1;for(;w<=L&&w<=D;){const K=u[w],z=d[w]=O?ze(d[w]):Se(d[w]);if(ot(K,z))x(K,z,g,null,_,A,M,T,O);else break;w++}for(;w<=L&&w<=D;){const K=u[L],z=d[D]=O?ze(d[D]):Se(d[D]);if(ot(K,z))x(K,z,g,null,_,A,M,T,O);else break;L--,D--}if(w>L){if(w<=D){const K=D+1,z=K<j?d[K].el:b;for(;w<=D;)x(null,d[w]=O?ze(d[w]):Se(d[w]),g,z,_,A,M,T,O),w++}}else if(w>D)for(;w<=L;)Ie(u[w],_,A,!0),w++;else{const K=w,z=w,ee=new Map;for(w=z;w<=D;w++){const ve=d[w]=O?ze(d[w]):Se(d[w]);ve.key!=null&&ee.set(ve.key,w)}let Q,le=0;const Ae=D-z+1;let ht=!1,Br=0;const St=new Array(Ae);for(w=0;w<Ae;w++)St[w]=0;for(w=K;w<=L;w++){const ve=u[w];if(le>=Ae){Ie(ve,_,A,!0);continue}let Me;if(ve.key!=null)Me=ee.get(ve.key);else for(Q=z;Q<=D;Q++)if(St[Q-z]===0&&ot(ve,d[Q])){Me=Q;break}Me===void 0?Ie(ve,_,A,!0):(St[Me-z]=w+1,Me>=Br?Br=Me:ht=!0,x(ve,d[Me],g,null,_,A,M,T,O),le++)}const Wr=ht?Bl(St):gt;for(Q=Wr.length-1,w=Ae-1;w>=0;w--){const ve=z+w,Me=d[ve],Kr=ve+1<j?d[ve+1].el:b;St[w]===0?x(null,Me,g,Kr,_,A,M,T,O):ht&&(Q<0||w!==Wr[Q]?Ge(Me,g,Kr,2):Q--)}}},Ge=(u,d,g,b,_=null)=>{const{el:A,type:M,transition:T,children:O,shapeFlag:w}=u;if(w&6){Ge(u.component.subTree,d,g,b);return}if(w&128){u.suspense.move(d,g,b);return}if(w&64){M.move(u,d,g,dt);return}if(M===me){r(A,d,g);for(let L=0;L<O.length;L++)Ge(O[L],d,g,b);r(u.anchor,d,g);return}if(M===Lt){R(u,d,g);return}if(b!==2&&w&1&&T)if(b===0)T.beforeEnter(A),r(A,d,g),ge(()=>T.enter(A),_);else{const{leave:L,delayLeave:D,afterLeave:K}=T,z=()=>r(A,d,g),ee=()=>{L(A,()=>{z(),K&&K()})};D?D(A,z,ee):ee()}else r(A,d,g)},Ie=(u,d,g,b=!1,_=!1)=>{const{type:A,props:M,ref:T,children:O,dynamicChildren:w,shapeFlag:j,patchFlag:L,dirs:D}=u;if(T!=null&&vn(T,null,g,u,!0),j&256){d.ctx.deactivate(u);return}const K=j&1&&D,z=!bt(u);let ee;if(z&&(ee=M&&M.onVnodeBeforeUnmount)&&Ce(ee,d,u),j&6)ni(u.component,g,b);else{if(j&128){u.suspense.unmount(g,b);return}K&&Pe(u,null,d,"beforeUnmount"),j&64?u.type.remove(u,d,g,_,dt,b):w&&(A!==me||L>0&&L&64)?De(w,d,g,!1,!0):(A===me&&L&384||!_&&j&16)&&De(O,d,g),b&&kr(u)}(z&&(ee=M&&M.onVnodeUnmounted)||K)&&ge(()=>{ee&&Ce(ee,d,u),K&&Pe(u,null,d,"unmounted")},g)},kr=u=>{const{type:d,el:g,anchor:b,transition:_}=u;if(d===me){ti(g,b);return}if(d===Lt){F(u);return}const A=()=>{s(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:M,delayLeave:T}=_,O=()=>M(g,A);T?T(u.el,A,O):O()}else A()},ti=(u,d)=>{let g;for(;u!==d;)g=p(u),s(u),u=g;s(d)},ni=(u,d,g)=>{const{bum:b,scope:_,update:A,subTree:M,um:T}=u;b&&un(b),_.stop(),A&&(A.active=!1,Ie(M,u,d,g)),T&&ge(T,d),ge(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},De=(u,d,g,b=!1,_=!1,A=0)=>{for(let M=A;M<u.length;M++)Ie(u[M],d,g,b,_)},Xt=u=>u.shapeFlag&6?Xt(u.component.subTree):u.shapeFlag&128?u.suspense.next():p(u.anchor||u.el),Ur=(u,d,g)=>{u==null?d._vnode&&Ie(d._vnode,null,null,!0):x(d._vnode||null,u,d,null,null,null,g),Gr(),gn(),d._vnode=u},dt={p:x,um:Ie,m:Ge,r:kr,mt:N,mc:C,pc:G,pbc:S,n:Xt,o:e};let jn,Dn;return t&&([jn,Dn]=t(dt)),{render:Ur,hydrate:jn,createApp:jl(Ur,jn)}}function et({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Nr(e,t,n=!1){const r=e.children,s=t.children;if(B(r)&&B(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]=ze(s[o]),l.el=i.el),n||Nr(i,l))}}function Bl(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 Wl=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),as=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dr=(e,t)=>{const n=e&&e.to;return oe(n)?t?t(n):null:n},Kl={__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,a){const{mc:f,pc:h,pbc:p,o:{insert:y,querySelector:E,createText:x,createComment:H}}=a,m=Ft(t.props);let{shapeFlag:v,children:R,dynamicChildren:F}=t;if(e==null){const I=t.el=x(""),W=t.anchor=x("");y(I,n,r),y(W,n,r);const k=t.target=dr(t.props,E),C=t.targetAnchor=x("");k&&(y(C,k),i=i||as(k));const U=(S,$)=>{v&16&&f(R,S,$,s,o,i,l,c)};m?U(n,W):k&&U(k,C)}else{t.el=e.el;const I=t.anchor=e.anchor,W=t.target=e.target,k=t.targetAnchor=e.targetAnchor,C=Ft(e.props),U=C?n:W,S=C?I:k;if(i=i||as(W),F?(p(e.dynamicChildren,F,U,s,o,i,l),Nr(e,t,!0)):c||h(e,t,U,S,s,o,i,l,!1),m)C||sn(t,n,I,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=dr(t.props,E);$&&sn(t,$,null,a,0)}else C&&sn(t,W,k,a,1)}},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:p}=e;if(h&&o(f),(i||!Ft(p))&&(o(a),l&16))for(let y=0;y<c.length;y++){const E=c[y];s(E,t,n,!0,!!E.dynamicChildren)}},move:sn,hydrate:Vl};function sn(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:f}=e,h=o===2;if(h&&r(i,t,n),(!h||Ft(f))&&c&16)for(let p=0;p<a.length;p++)s(a[p],t,n,2);h&&r(l,t,n)}function Vl(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:l,querySelector:c}},a){const f=t.target=dr(t.props,c);if(f){const h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(Ft(t.props))t.anchor=a(i(e),t,l(e),n,r,s,o),t.targetAnchor=h;else{t.anchor=i(e);let p=h;for(;p;)if(p=i(p),p&&p.nodeType===8&&p.data==="teleport anchor"){t.targetAnchor=p,f._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(h,t,f,n,r,s,o)}}return t.anchor&&i(t.anchor)}const Ba=Kl,me=Symbol(void 0),Bt=Symbol(void 0),be=Symbol(void 0),Lt=Symbol(void 0),Nt=[];let Re=null;function Ao(e=!1){Nt.push(Re=e?null:[])}function ql(){Nt.pop(),Re=Nt[Nt.length-1]||null}let Wt=1;function us(e){Wt+=e}function So(e){return e.dynamicChildren=Wt>0?Re||gt:null,ql(),Wt>0&&Re&&Re.push(e),e}function Wa(e,t,n,r,s,o){return So(Io(e,t,n,r,s,o,!0))}function Oo(e,t,n,r,s){return So(ie(e,t,n,r,s,!0))}function _n(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const Nn="__vInternal",Ro=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>e!=null?oe(e)||ae(e)||V(e)?{i:he,r:e,k:t,f:!!n}:e:null;function Io(e,t=null,n=null,r=0,s=null,o=e===me?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ro(t),ref:t&&fn(t),scopeId:Mn,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};return l?(Hr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=oe(n)?8:16),Wt>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const ie=zl;function zl(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===go)&&(e=be),_n(e)){const l=Qe(e,t,!0);return n&&Hr(l,n),Wt>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(rc(e)&&(e=e.__vccOpts),t){t=Yl(t);let{class:l,style:c}=t;l&&!oe(l)&&(t.class=wn(l)),te(c)&&(Qs(c)&&!B(c)&&(c=ue({},c)),t.style=bn(c))}const i=oe(e)?1:fl(e)?128:Wl(e)?64:te(e)?4:V(e)?2:0;return Io(e,t,n,r,s,i,o,!0)}function Yl(e){return e?Qs(e)||Nn in e?ue({},e):e:null}function Qe(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?Xl(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ro(l),ref:t&&t.ref?n&&s?B(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!==me?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&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor}}function Mo(e=" ",t=0){return ie(Bt,null,e,t)}function Ka(e,t){const n=ie(Lt,null,e);return n.staticCount=t,n}function Va(e="",t=!1){return t?(Ao(),Oo(be,null,e)):ie(be,null,e)}function Se(e){return e==null||typeof e=="boolean"?ie(be):B(e)?ie(me,null,e.slice()):typeof e=="object"?ze(e):ie(Bt,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function Hr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Hr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Nn in t)?t._ctx=he:s===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:he},n=32):(t=String(t),r&64?(n=16,t=[Mo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xl(...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=wn([t.class,r.class]));else if(s==="style")t.style=bn([t.style,r.style]);else if(Vt(s)){const o=t[s],i=r[s];i&&o!==i&&!(B(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){xe(e,t,7,[n,r])}const Jl=xo();let Ql=0;function Zl(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Jl,o={uid:Ql++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new mi(!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:bo(r,s),emitsOptions:oo(r,s),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:r.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=ol.bind(null,o),e.ce&&e.ce(o),o}let ce=null;const Hn=()=>ce||he,Et=e=>{ce=e,e.scope.on()},at=()=>{ce&&ce.scope.off(),ce=null};function Po(e){return e.vnode.shapeFlag&4}let Ct=!1;function Gl(e,t=!1){Ct=t;const{props:n,children:r}=e.vnode,s=Po(e);Pl(e,n,s,t),Nl(e,r);const o=s?ec(e,t):void 0;return Ct=!1,o}function ec(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Mt(new Proxy(e.ctx,Al));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Lo(e):null;Et(e),xt();const o=Xe(r,e,0,[e.props,s]);if(Tt(),at(),js(o)){if(o.then(at,at),t)return o.then(i=>{fs(e,i,t)}).catch(i=>{qt(i,e,0)});e.asyncDep=o}else fs(e,o,t)}else Fo(e,t)}function fs(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=eo(t)),Fo(e,n)}let ds;function Fo(e,t,n){const r=e.type;if(!e.render){if(!t&&ds&&!r.render){const s=r.template||Fr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,a=ue(ue({isCustomElement:o,delimiters:l},i),c);r.render=ds(s,a)}}e.render=r.render||Ne}Et(e),xt(),Sl(e),Tt(),at()}function tc(e){return new Proxy(e.attrs,{get(t,n){return we(e,"get","$attrs"),t[n]}})}function Lo(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=tc(e))},slots:e.slots,emit:e.emit,expose:t}}function $n(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(eo(Mt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Pt)return Pt[n](e)},has(t,n){return n in t||n in Pt}}))}function nc(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function rc(e){return V(e)&&"__vccOpts"in e}const se=(e,t)=>Gi(e,t,Ct);function qa(){return sc().slots}function sc(){const e=Hn();return e.setupContext||(e.setupContext=Lo(e))}function hr(e,t,n){const r=arguments.length;return r===2?te(t)&&!B(t)?_n(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&_n(n)&&(n=[n]),ie(e,t,n))}const oc=Symbol(""),ic=()=>_t(oc),lc="3.2.44",cc="http://www.w3.org/2000/svg",it=typeof document<"u"?document:null,hs=it&&it.createElement("template"),ac={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(cc,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{hs.innerHTML=r?`<svg>${e}</svg>`:e;const l=hs.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 uc(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 fc(e,t,n){const r=e.style,s=oe(n);if(n&&!s){for(const o in n)pr(r,o,n[o]);if(t&&!oe(t))for(const o in t)n[o]==null&&pr(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const ps=/\s*!important$/;function pr(e,t,n){if(B(n))n.forEach(r=>pr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=dc(e,t);ps.test(n)?e.setProperty(ft(r),n.replace(ps,""),"important"):e[r]=n}}const gs=["Webkit","Moz","ms"],Wn={};function dc(e,t){const n=Wn[t];if(n)return n;let r=je(t);if(r!=="filter"&&r in e)return Wn[t]=r;r=xn(r);for(let s=0;s<gs.length;s++){const o=gs[s]+r;if(o in e)return Wn[t]=o}return t}const ms="http://www.w3.org/1999/xlink";function hc(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ms,t.slice(6,t.length)):e.setAttributeNS(ms,t,n);else{const o=ci(t);n==null||o&&!Ns(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function pc(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Ns(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function pt(e,t,n,r){e.addEventListener(t,n,r)}function gc(e,t,n,r){e.removeEventListener(t,n,r)}function mc(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]=yc(t);if(r){const a=o[t]=bc(r,s);pt(e,l,a,c)}else i&&(gc(e,l,i,c),o[t]=void 0)}}const ys=/(?:Once|Passive|Capture)$/;function yc(e){let t;if(ys.test(e)){t={};let r;for(;r=e.match(ys);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ft(e.slice(2)),t]}let Kn=0;const vc=Promise.resolve(),_c=()=>Kn||(vc.then(()=>Kn=0),Kn=Date.now());function bc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;xe(wc(r,n.value),t,5,[r])};return n.value=e,n.attached=_c(),n}function wc(e,t){if(B(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 vs=/^on[a-z]/,Ec=(e,t,n,r,s=!1,o,i,l,c)=>{t==="class"?uc(e,r,s):t==="style"?fc(e,n,r):Vt(t)?mr(t)||mc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cc(e,t,r,s))?pc(e,t,r,o,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),hc(e,t,r,s))};function Cc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&vs.test(t)&&V(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||vs.test(t)&&oe(n)?!1:t in e}const Ve="transition",Ot="animation",No=(e,{slots:t})=>hr(co,xc(e),t);No.displayName="Transition";const Ho={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};No.props=ue({},co.props,Ho);const tt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},_s=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function xc(e){const t={};for(const P in e)P in Ho||(t[P]=e[P]);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:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,E=Tc(s),x=E&&E[0],H=E&&E[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:R,onLeave:F,onLeaveCancelled:I,onBeforeAppear:W=m,onAppear:k=v,onAppearCancelled:C=R}=t,U=(P,q,N)=>{nt(P,q?f:l),nt(P,q?a:i),N&&N()},S=(P,q)=>{P._isLeaving=!1,nt(P,h),nt(P,y),nt(P,p),q&&q()},$=P=>(q,N)=>{const ye=P?k:v,J=()=>U(q,P,N);tt(ye,[q,J]),bs(()=>{nt(q,P?c:o),qe(q,P?f:l),_s(ye)||ws(q,r,x,J)})};return ue(t,{onBeforeEnter(P){tt(m,[P]),qe(P,o),qe(P,i)},onBeforeAppear(P){tt(W,[P]),qe(P,c),qe(P,a)},onEnter:$(!1),onAppear:$(!0),onLeave(P,q){P._isLeaving=!0;const N=()=>S(P,q);qe(P,h),Oc(),qe(P,p),bs(()=>{P._isLeaving&&(nt(P,h),qe(P,y),_s(F)||ws(P,r,H,N))}),tt(F,[P,N])},onEnterCancelled(P){U(P,!1),tt(R,[P])},onAppearCancelled(P){U(P,!0),tt(C,[P])},onLeaveCancelled(P){S(P),tt(I,[P])}})}function Tc(e){if(e==null)return null;if(te(e))return[Vn(e.enter),Vn(e.leave)];{const t=Vn(e);return[t,t]}}function Vn(e){return jt(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function nt(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 bs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ac=0;function ws(e,t,n,r){const s=e._endId=++Ac,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Sc(e,t);if(!i)return r();const a=i+"end";let f=0;const h=()=>{e.removeEventListener(a,p),o()},p=y=>{y.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(a,p)}function Sc(e,t){const n=window.getComputedStyle(e),r=E=>(n[E]||"").split(", "),s=r(`${Ve}Delay`),o=r(`${Ve}Duration`),i=Es(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),a=Es(l,c);let f=null,h=0,p=0;t===Ve?i>0&&(f=Ve,h=i,p=o.length):t===Ot?a>0&&(f=Ot,h=a,p=c.length):(h=Math.max(i,a),f=h>0?i>a?Ve:Ot:null,p=f?f===Ve?o.length:c.length:0);const y=f===Ve&&/\b(transform|all)(,|$)/.test(r(`${Ve}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:y}}function Es(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Cs(n)+Cs(e[r])))}function Cs(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Oc(){return document.body.offsetHeight}const xs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>un(t,n):t};function Rc(e){e.target.composing=!0}function Ts(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const za={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=xs(s);const o=r||s.props&&s.props.type==="number";pt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=jt(l)),e._assign(l)}),n&&pt(e,"change",()=>{e.value=e.value.trim()}),t||(pt(e,"compositionstart",Rc),pt(e,"compositionend",Ts),pt(e,"change",Ts))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=xs(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&jt(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Ic=["ctrl","shift","alt","meta"],Mc={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)=>Ic.some(n=>e[`${n}Key`]&&!t.includes(n))},Ya=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=Mc[t[s]];if(o&&o(n,t))return}return e(n,...r)},Pc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Xa=(e,t)=>n=>{if(!("key"in n))return;const r=ft(n.key);if(t.some(s=>s===r||Pc[s]===r))return e(n)},$o=ue({patchProp:Ec},ac);let Ht,As=!1;function Fc(){return Ht||(Ht=kl($o))}function Lc(){return Ht=As?Ht:Ul($o),As=!0,Ht}const Ja=(...e)=>{const t=Fc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jo(r);if(!s)return;const o=t._component;!V(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Qa=(...e)=>{const t=Lc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jo(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function jo(e){return oe(e)?document.querySelector(e):e}const Za=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function $r(e){return vi()?(_i(e),!0):!1}function $e(e){return typeof e=="function"?e():Gs(e)}const Do=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Nc=Object.prototype.toString,Hc=e=>Nc.call(e)==="[object Object]",Kt=()=>{},Ss=$c();function $c(){var e,t;return Do&&((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 jc(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 ko=e=>e();function Dc(e,t={}){let n,r,s=Kt;const o=l=>{clearTimeout(l),s(),s=Kt};return l=>{const c=$e(e),a=$e(t.maxWait);return n&&o(n),c<=0||a!==void 0&&a<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,a&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},a)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function kc(e=ko){const t=ne(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Sn(t),pause:n,resume:r,eventFilter:s}}function Uc(e){return Hn()}function Uo(...e){if(e.length!==1)return Qi(...e);const t=e[0];return typeof t=="function"?Sn(Xi(()=>({get:t,set:Kt}))):ne(t)}function Bo(e,t,n={}){const{eventFilter:r=ko,...s}=n;return He(e,jc(r,t),s)}function Bc(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=kc(r);return{stop:Bo(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function jr(e,t=!0,n){Uc()?At(e,n):t?e():On(e)}function Ga(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return Bo(e,t,{...o,eventFilter:Dc(r,{maxWait:s})})}function eu(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=Kt}=r,c=ne(!s),a=i?Rr(t):ne(t);let f=0;return Mr(async h=>{if(!c.value)return;f++;const p=f;let y=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const E=await e(x=>{h(()=>{o&&(o.value=!1),y||x()})});p===f&&(a.value=E)}catch(E){l(E)}finally{o&&p===f&&(o.value=!1),y=!0}}),s?se(()=>(c.value=!0,a.value)):a}function Wo(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Te=Do?window:void 0;function Le(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Te):[t,n,r,s]=e,!t)return Kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,p,y)=>(f.addEventListener(h,p,y),()=>f.removeEventListener(h,p,y)),c=He(()=>[Wo(t),$e(s)],([f,h])=>{if(i(),!f)return;const p=Hc(h)?{...h}:h;o.push(...n.flatMap(y=>r.map(E=>l(f,y,E,p))))},{immediate:!0,flush:"post"}),a=()=>{c(),i()};return $r(a),a}function Wc(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function tu(...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=Te,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=Wc(t);return Le(s,o,f=>{f.repeat&&$e(l)||c(f)&&n(f)},i)}function Kc(){const e=ne(!1),t=Hn();return t&&At(()=>{e.value=!0},t),e}function Vc(e){const t=Kc();return se(()=>(t.value,!!e()))}function Ko(e,t={}){const{window:n=Te}=t,r=Vc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ne(!1),i=a=>{o.value=a.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Mr(()=>{r.value&&(l(),s=n.matchMedia($e(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return $r(()=>{c(),l(),s=void 0}),o}const on=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ln="__vueuse_ssr_handlers__",qc=zc();function zc(){return ln in on||(on[ln]=on[ln]||{}),on[ln]}function Vo(e,t){return qc[e]||t}function Yc(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 Xc={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()}},Os="vueuse-storage";function Dr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:a=!1,shallow:f,window:h=Te,eventFilter:p,onError:y=S=>{console.error(S)},initOnMounted:E}=r,x=(f?Rr:ne)(typeof t=="function"?t():t);if(!n)try{n=Vo("getDefaultStorage",()=>{var S;return(S=Te)==null?void 0:S.localStorage})()}catch(S){y(S)}if(!n)return x;const H=$e(t),m=Yc(H),v=(s=r.serializer)!=null?s:Xc[m],{pause:R,resume:F}=Bc(x,()=>W(x.value),{flush:o,deep:i,eventFilter:p});h&&l&&jr(()=>{Le(h,"storage",C),Le(h,Os,U),E&&C()}),E||C();function I(S,$){h&&h.dispatchEvent(new CustomEvent(Os,{detail:{key:e,oldValue:S,newValue:$,storageArea:n}}))}function W(S){try{const $=n.getItem(e);if(S==null)I($,null),n.removeItem(e);else{const P=v.write(S);$!==P&&(n.setItem(e,P),I($,P))}}catch($){y($)}}function k(S){const $=S?S.newValue:n.getItem(e);if($==null)return c&&H!=null&&n.setItem(e,v.write(H)),H;if(!S&&a){const P=v.read($);return typeof a=="function"?a(P,H):m==="object"&&!Array.isArray(P)?{...H,...P}:P}else return typeof $!="string"?$:v.read($)}function C(S){if(!(S&&S.storageArea!==n)){if(S&&S.key==null){x.value=H;return}if(!(S&&S.key!==e)){R();try{(S==null?void 0:S.newValue)!==v.write(x.value)&&(x.value=k(S))}catch($){y($)}finally{S?On(F):F()}}}}function U(S){C(S.detail)}return x}function qo(e){return Ko("(prefers-color-scheme: dark)",e)}function Jc(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Te,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:a,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},p=qo({window:s}),y=se(()=>p.value?"dark":"light"),E=c||(i==null?Uo(r):Dr(i,r,o,{window:s,listenToStorageChanges:l})),x=se(()=>E.value==="auto"?y.value:E.value),H=Vo("updateHTMLAttrs",(F,I,W)=>{const k=typeof F=="string"?s==null?void 0:s.document.querySelector(F):Wo(F);if(!k)return;let C;if(f&&(C=s.document.createElement("style"),C.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild(C)),I==="class"){const U=W.split(/\s/g);Object.values(h).flatMap(S=>(S||"").split(/\s/g)).filter(Boolean).forEach(S=>{U.includes(S)?k.classList.add(S):k.classList.remove(S)})}else k.setAttribute(I,W);f&&(s.getComputedStyle(C).opacity,document.head.removeChild(C))});function m(F){var I;H(t,n,(I=h[F])!=null?I:F)}function v(F){e.onChanged?e.onChanged(F,m):m(F)}He(x,v,{flush:"post",immediate:!0}),jr(()=>v(x.value));const R=se({get(){return a?E.value:x.value},set(F){E.value=F}});try{return Object.assign(R,{store:E,system:y,state:x})}catch{return R}}function Qc(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Te}=e,s=Jc({...e,onChanged:(l,c)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:qo({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function qn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function nu(e,t,n={}){const{window:r=Te}=n;return Dr(e,t,r==null?void 0:r.localStorage,n)}const Zc={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function ru(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:s={x:0,y:0},window:o=Te,target:i=o,scroll:l=!0,eventFilter:c}=e;let a=null;const f=ne(s.x),h=ne(s.y),p=ne(null),y=typeof t=="function"?t:Zc[t],E=I=>{const W=y(I);a=I,W&&([f.value,h.value]=W,p.value="mouse")},x=I=>{if(I.touches.length>0){const W=y(I.touches[0]);W&&([f.value,h.value]=W,p.value="touch")}},H=()=>{if(!a||!o)return;const I=y(a);a instanceof MouseEvent&&I&&(f.value=I[0]+o.scrollX,h.value=I[1]+o.scrollY)},m=()=>{f.value=s.x,h.value=s.y},v=c?I=>c(()=>E(I),{}):I=>E(I),R=c?I=>c(()=>x(I),{}):I=>x(I),F=c?()=>c(()=>H(),{}):()=>H();if(i){const I={passive:!0};Le(i,["mousemove","dragover"],v,I),n&&t!=="movement"&&(Le(i,["touchstart","touchmove"],R,I),r&&Le(i,"touchend",m,I)),l&&t==="page"&&Le(o,"scroll",F,{passive:!0})}return{x:f,y:h,sourceType:p}}function zo(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:zo(n)}}function Gc(e){const t=e||window.event,n=t.target;return zo(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zn=new WeakMap;function su(e,t=!1){const n=ne(t);let r=null,s="";He(Uo(e),l=>{const c=qn($e(l));if(c){const a=c;if(zn.get(a)||zn.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=qn($e(e));!l||n.value||(Ss&&(r=Le(l,"touchmove",c=>{Gc(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=qn($e(e));!l||!n.value||(Ss&&(r==null||r()),l.style.overflow=s,zn.delete(l),n.value=!1)};return $r(i),se({get(){return n.value},set(l){l?o():i()}})}function ou(e,t,n={}){const{window:r=Te}=n;return Dr(e,t,r==null?void 0:r.sessionStorage,n)}function iu(e={}){const{window:t=Te,behavior:n="auto"}=e;if(!t)return{x:ne(0),y:ne(0)};const r=ne(t.scrollX),s=ne(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Le(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function lu(e={}){const{window:t=Te,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=ne(n),l=ne(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),jr(c),Le("resize",c,{passive:!0}),s){const a=Ko("(orientation: portrait)");He(a,()=>c())}return{width:i,height:l}}const ea=window.__VP_SITE_DATA__,Yn={BASE_URL:"/ivue/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var Xn={};const Yo=/^(?:[a-z]+:|\/\/)/i,ta="vitepress-theme-appearance",na=/#.*$/,ra=/[?#].*$/,sa=/(?:(^|\/)index)?\.(?:md|html)$/,fe=typeof document<"u",Xo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function oa(e,t,n=!1){if(t===void 0)return!1;if(e=Rs(`/${e}`),n)return new RegExp(t).test(e);if(Rs(t)!==e)return!1;const r=t.match(na);return r?(fe?location.hash:"")===r[0]:!0}function Rs(e){return decodeURI(e).replace(ra,"").replace(sa,"$1")}function ia(e){return Yo.test(e)}function la(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!ia(n)&&oa(t,`/${n}/`,!0))||"root"}function ca(e,t){var r,s,o,i,l,c,a;const n=la(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=aa(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function aa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ua(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=>!ua(t,n)),...t]}const fa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,da=/^[a-z]:/i;function Is(e){const t=da.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(fa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Jn=new Set;function ha(e){if(Jn.size===0){const n=typeof process=="object"&&(Xn==null?void 0:Xn.VITE_EXTRA_EXTENSIONS)||(Yn==null?void 0:Yn.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=>Jn.add(r))}const t=e.split(".").pop();return t==null||!Jn.has(t.toLowerCase())}function cu(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const pa=Symbol(),ut=Rr(ea);function au(e){const t=se(()=>ca(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?ne(!0):n?Qc({storageKey:ta,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ne(!1),s=ne(fe?location.hash:"");return fe&&window.addEventListener("hashchange",()=>{s.value=location.hash}),He(()=>e.data,()=>{s.value=fe?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Jo(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function ga(){const e=_t(pa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function ma(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ms(e){return Yo.test(e)||!e.startsWith("/")?e:ma(ut.value.base,e)}function ya(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),fe){const n="/ivue/";t=Is(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=`./${Is(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let dn=[];function uu(e){dn.push(e),Ln(()=>{dn=dn.filter(t=>t!==e)})}function va(){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=Ps(e,n);else if(Array.isArray(e))for(const r of e){const s=Ps(r,n);if(s){t=s;break}}return t}function Ps(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const _a=Symbol(),Zo="http://a.com",ba=()=>({path:"/",component:null,data:Xo});function fu(e,t){const n=An(ba()),r={route:n,go:s};async function s(l=fe?location.href:"/"){var c,a;l=Qn(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(fe&&l!==Qn(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((a=r.onAfterRouteChanged)==null?void 0:a.call(r,l)))}let o=null;async function i(l,c=0,a=!1){var p;if(await((p=r.onBeforePageLoad)==null?void 0:p.call(r,l))===!1)return;const f=new URL(l,Zo),h=o=f.pathname;try{let y=await e(h);if(!y)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:E,__pageData:x}=y;if(!E)throw new Error(`Invalid route component: ${E}`);n.path=fe?h:Ms(h),n.component=Mt(E),n.data=Mt(x),fe&&On(()=>{let H=ut.value.base+x.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==f.pathname&&(f.pathname=H,l=H+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let m=null;try{m=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(v){console.warn(v)}if(m){Fs(m,f.hash);return}}window.scrollTo(0,c)})}}catch(y){if(!/fetch|Page not found/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(y),!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=fe?h:Ms(h),n.component=t?Mt(t):null;const E=fe?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Xo,relativePath:E}}}}return fe&&(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:f,origin:h,pathname:p,hash:y,search:E}=new URL(a,c.baseURI),x=new URL(location.href);h===x.origin&&ha(p)&&(l.preventDefault(),p===x.pathname&&E===x.search?(y!==x.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:x.href,newURL:f}))),y?Fs(c,y,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(Qn(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function wa(){const e=_t(_a);if(!e)throw new Error("useRouter() is called without provider.");return e}function Go(){return wa().route}function Fs(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-va()+o;requestAnimationFrame(s)}}function Qn(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 Zn=()=>dn.forEach(e=>e()),du=Pr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Go(),{site:n}=ga();return()=>hr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?hr(t.component,{onVnodeMounted:Zn,onVnodeUpdated:Zn,onVnodeUnmounted:Zn}):"404 Page Not Found"])}}),Ea="modulepreload",Ca=function(e){return"/ivue/"+e},Ls={},hu=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=Ca(l),l in Ls)return;Ls[l]=!0;const c=l.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${a}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Ea,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,p)=>{f.addEventListener("load",h),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},pu=Pr({setup(e,{slots:t}){const n=ne(!1);return At(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function gu(){fe&&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 mu(){if(fe){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(f=>f.remove());let a=c.textContent||"";i&&(a=a.replace(/^ *(\$|>) /gm,"").trim()),xa(a).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function xa(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 yu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=Gn(l);for(const a of document.head.children)if(a.isEqualNode(c)){r.push(a);return}});return}const i=o.map(Gn);r.forEach((l,c)=>{const a=i.findIndex(f=>f==null?void 0:f.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)};Mr(()=>{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 f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):Gn(["meta",{name:"description",content:f}]),s(Qo(i.head,Aa(c)))})}function Gn([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&&(r.async=!1),r}function Ta(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Aa(e){return e.filter(t=>!Ta(t))}const er=new Set,ei=()=>document.createElement("link"),Sa=e=>{const t=ei();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Oa=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let cn;const Ra=fe&&(cn=ei())&&cn.relList&&cn.relList.supports&&cn.relList.supports("prefetch")?Sa:Oa;function vu(){if(!fe||!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(!er.has(c)){er.add(c);const a=ya(c);a&&Ra(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):er.add(l))})})};At(r);const s=Go();He(()=>s.path,r),Ln(()=>{n&&n.disconnect()})}export{dl as $,La as A,wl as B,va as C,Da as D,$a as E,me as F,Rr as G,uu as H,ie as I,ja as J,Yo as K,Go as L,Xl as M,_t as N,lu as O,bn as P,tu as Q,On as R,iu as S,No as T,fe as U,Sn as V,Ia as W,Na as X,hu as Y,su as Z,Za as _,Mo as a,Xa as a0,Ua as a1,ho as a2,Ya as a3,qa as a4,Ka as a5,ru as a6,An as a7,Qi as a8,yu as a9,Ja as aA,cu as aB,vu as aa,mu as ab,gu as ac,hr as ad,_a as ae,au as af,pa as ag,du as ah,pu as ai,ut as aj,Qa as ak,fu as al,ya as am,Wo as an,$r as ao,eu as ap,ou as aq,nu as ar,Ga as as,wa as at,Le as au,Ha as av,za as aw,ae as ax,Ba as ay,Mt as az,Oo as b,Wa as c,Pr as d,Va as e,ha as f,Ms as g,se as h,ia as i,Io as j,Gs as k,Fa as l,oa as m,wn as n,Ao as o,Pa as p,Ko as q,ka as r,ne as s,Ma as t,ga as u,He as v,il as w,Mr as x,At as y,Ln as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a7 as p,h as g,a8 as v,s as O}from"./framework.DwpdbuZp.js";const a=new Map;function h(t){if(a.has(t))return a.get(t);const s=new Map;let e=t.prototype;for(;e.constructor!==Object;)Object.entries(Object.getOwnPropertyDescriptors(e)).forEach(([i,l])=>{const r=s.get(i);r!==l&&(l!=null&&l.get||l!=null&&l.set)&&(r!=null&&r.get&&(l.get=r==null?void 0:r.get),r!=null&&r.set&&(l.set=r==null?void 0:r.set),s.set(i,l))}),e=Object.getPrototypeOf(e);return a.set(t,s),s}function m(t,...s){var e,i;const l=h(t),r=l!=null&&l.size?{}:null,o=p(new t(...s));for(const[c,n]of l)((e=t==null?void 0:t.ivue)==null?void 0:e[c])!==!1&&Object.defineProperty(o,c,{get:n.get?()=>{var u,f;return c in r?r[c]:r[c]=g({get:(u=n.get)==null?void 0:u.bind(o),set:(f=n.set)==null?void 0:f.bind(o)})}:void 0,set:(i=n.set)==null?void 0:i.bind(o),enumerable:!1});return Object.defineProperty(o,"toRefs",{get:()=>j(o,l,r),enumerable:!1}),"init"in o&&o.init(),o}const d=new Map;function y(t){if(d.has(t.constructor))return d.get(t.constructor);const s=t.constructor,e=new Set;do Object.getOwnPropertyNames(t).forEach(i=>{["caller","callee","arguments","constructor"].includes(i)||e.add(i)}),t=Object.getPrototypeOf(t);while(t.constructor!==Object);return d.set(s,e),e}function P(t){return O(t)}function E(t){return t}function j(t,s,e){return function(i){var l,r;const o={};if(Array.isArray(i)&&i.length)for(let c=0;c<i.length;c++){const n=i[c];if(s.has(n))if(n in e)o[n]=e[n];else{const u=s.get(n);o[n]=e[n]=g({get:(l=u==null?void 0:u.get)==null?void 0:l.bind(t),set:(r=u==null?void 0:u.set)==null?void 0:r.bind(t)})}else typeof t[n]=="function"?o[n]=t[n].bind(t):o[n]=v(t,n)}else{let c=new Set(y(t));s.forEach((n,u)=>{var f,b;o[u]=u in e?e[u]:e[u]=g({get:(f=n.get)==null?void 0:f.bind(t),set:(b=n.set)==null?void 0:b.bind(t)}),c==null||c.delete(u)}),c.forEach(n=>{typeof t[n]=="function"?o[n]=t[n].bind(t):o[n]=v(t,n)}),c=null}return o}}export{E as A,P as M,m as v};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./chunks/Button.vue_vue_type_script_setup_true_lang.CPdVloYP.js";import{d as a,c as n,I as t,a as i,a5 as r,o}from"./chunks/framework.DwpdbuZp.js";const s=r('<h1 id="infinite-vue-documentation" tabindex="-1">Infinite Vue Documentation <a class="header-anchor" href="#infinite-vue-documentation" aria-label="Permalink to "Infinite Vue Documentation""></a></h1><h2 id="about" tabindex="-1">About <a class="header-anchor" href="#about" aria-label="Permalink to "About""></a></h2><p><strong>Infinite Vue – ivue</strong> is a class based composable architecture for Vue 3, that unlocks infinite scalability for Vue 3 based apps. It allows you to extend the regular Vue 3 in a simple and elegant way.</p><h2 id="features" tabindex="-1">Features <a class="header-anchor" href="#features" aria-label="Permalink to "Features""></a></h2><div style="padding-left:20px;"> – Simple & Elegant Architecture<br> – Extensible Classes using JavaScript / TypeScript native Class API<br> – Extensible Props And Props Defaults<br> – Extensible Emits<br> – Extensible Slots<br> – Extensible Components<br> – Improves DX by elegantly dealing with `.value` in the background<br> – Can be used both as a Store and a ViewModel for Components<br> – Provides Full TypeScript Support<br> – Extends Vue 3 TypeScript Capability<br> – 100% Tested<br> – Zero dependencies except Vue 3<br> – Only 1kb(gzipped) in size!<br> – Production Ready<br></div><h2 id="next-step" tabindex="-1">Next Step <a class="header-anchor" href="#next-step" aria-label="Permalink to "Next Step""></a></h2>',6),h=JSON.parse('{"title":"Infinite Vue Documentation","description":"","frontmatter":{},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),l={name:"index.md"},m=a({...l,setup(d){return(u,c)=>(o(),n("div",null,[s,t(e,{href:"/pages/getting-started.html",label:"Geting Started"}),i(" or "),t(e,{href:"/pages/introduction.html",label:"Read Introduction"})]))}});export{h as __pageData,m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./chunks/Button.vue_vue_type_script_setup_true_lang.CPdVloYP.js";import{d as a,c as n,I as t,a as i,a5 as r,o}from"./chunks/framework.DwpdbuZp.js";const s=r('<h1 id="infinite-vue-documentation" tabindex="-1">Infinite Vue Documentation <a class="header-anchor" href="#infinite-vue-documentation" aria-label="Permalink to "Infinite Vue Documentation""></a></h1><h2 id="about" tabindex="-1">About <a class="header-anchor" href="#about" aria-label="Permalink to "About""></a></h2><p><strong>Infinite Vue – ivue</strong> is a class based composable architecture for Vue 3, that unlocks infinite scalability for Vue 3 based apps. It allows you to extend the regular Vue 3 in a simple and elegant way.</p><h2 id="features" tabindex="-1">Features <a class="header-anchor" href="#features" aria-label="Permalink to "Features""></a></h2><div style="padding-left:20px;"> – Simple & Elegant Architecture<br> – Extensible Classes using JavaScript / TypeScript native Class API<br> – Extensible Props And Props Defaults<br> – Extensible Emits<br> – Extensible Slots<br> – Extensible Components<br> – Improves DX by elegantly dealing with `.value` in the background<br> – Can be used both as a Store and a ViewModel for Components<br> – Provides Full TypeScript Support<br> – Extends Vue 3 TypeScript Capability<br> – 100% Tested<br> – Zero dependencies except Vue 3<br> – Only 1kb(gzipped) in size!<br> – Production Ready<br></div><h2 id="next-step" tabindex="-1">Next Step <a class="header-anchor" href="#next-step" aria-label="Permalink to "Next Step""></a></h2>',6),h=JSON.parse('{"title":"Infinite Vue Documentation","description":"","frontmatter":{},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),l={name:"index.md"},m=a({...l,setup(d){return(u,c)=>(o(),n("div",null,[s,t(e,{href:"/pages/getting-started.html",label:"Geting Started"}),i(" or "),t(e,{href:"/pages/introduction.html",label:"Read Introduction"})]))}});export{h as __pageData,m as default};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{_ as s,c as i,o as a,a5 as e}from"./chunks/framework.DwpdbuZp.js";const g=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"pages/api.md","filePath":"pages/api.md"}'),t={name:"pages/api.md"},n=e(`<h1 id="api" tabindex="-1">API <a class="header-anchor" href="#api" aria-label="Permalink to "API""></a></h1><h2 id="core-functions" tabindex="-1">Core Functions <a class="header-anchor" href="#core-functions" aria-label="Permalink to "Core Functions""></a></h2><h3 id="ivue" tabindex="-1">ivue() <a class="header-anchor" href="#ivue" aria-label="Permalink to "ivue()""></a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AnyClass</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>(</span></span>
|
|
2
|
-
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> className</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
3
|
-
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ...</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">args</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InferredArgs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
4
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>;</span></span></code></pre></div><p>Core <code>ivue(className, ...args)</code> initializer is able to infer and validate the constrcutor argument types of AnyClass and passes those arguments to the constructor of <code>AnyClass</code> internally.</p><p><code>ivue(className, arg1, arg2, arg3...)</code> allows you to pass any number of arguments into the class <code>constructor(arg1, arg2, arg3...)</code></p><p><code>ivue()</code> initializer function returns an extended Vue 3 <code>reactive()</code> object in which getters and setters are internally converted to computeds and adds <code>.toRefs()</code> method to the created object. Computeds auto-unwrap themselves when they are accessed as a reactive object property, so the <code>.value</code> properties and computeds get flattened in the resulting object and do not require <code>.value</code> to be accessed.</p><p><code>ivue()</code> replicates native JavaScript / TypeScript class implementation by extending descriptors (getters and setters) up the whole prototype chain thus supporting classical inheritance.</p><p><strong>Returns:</strong> <code><IVue<T>></code> or <code>ivue</code> <code>reactive()</code> object of an <code>AnyClass</code> class with flattened (de-Refed) <code>Refs</code> and <code>ComputedRefs</code> as properties.</p><h3 id="iref" tabindex="-1">iref() <a class="header-anchor" href="#iref" aria-label="Permalink to "iref()""></a></h3><p>Create a regular <code>vue</code> Ref but cast the type to the internal unreactive type, because properties auto-unwrap in <code>reactive()</code> object that is being created by <code>ivue</code> upon initialization.</p><h3 id="iuse" tabindex="-1">iuse() <a class="header-anchor" href="#iuse" aria-label="Permalink to "iuse()""></a></h3><p>This function unwraps the type of any composable return to the bare values without <code>.value</code>, because properties auto-unwrap in <code>reactive()</code> object that is being created by <code>ivue</code> upon initialization.</p><h3 id="init" tabindex="-1">.init() <a class="header-anchor" href="#init" aria-label="Permalink to ".init()""></a></h3><hr><p><code>.init()</code> method is auto-run on <code>ivue()</code> initialization after <code>constructor()</code> is run. <code>init()</code> has access to the reactive state of the object via <code>this</code>.</p><div class="warning custom-block"><p class="custom-block-title">NOTICE</p><p><code>.init()</code> method has no arguments and you should never need to run this method manually.</p></div><div class="tip custom-block"><p class="custom-block-title">NEED ASYNC/AWAIT?</p><p>Use <code>async init()</code> if you need <code>await</code> functionality.</p></div><p><strong>Returns:</strong> <code>void | Promise<void></code></p><h3 id="torefs" tabindex="-1">.toRefs() <a class="header-anchor" href="#torefs" aria-label="Permalink to ".toRefs()""></a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">keyof</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>)[])</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVueRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>>;</span></span></code></pre></div><p>Converts an <code>ivue</code> object to a Vue 3 Composable with nested refs.</p><div class="tip custom-block"><p class="custom-block-title">You can pass the name of the properties to <code>toRefs(properties)</code></p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">width</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">height</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(Box).</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">([</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'height'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]);</span></span></code></pre></div><p>This improves performance if <code>box</code> has many other properties that we do not need.</p></div><p><strong>Returns:</strong> <code>IVueRefs<InstanceType<T>></code></p><h2 id="utility-functions" tabindex="-1">Utility Functions <a class="header-anchor" href="#utility-functions" aria-label="Permalink to "Utility Functions""></a></h2><h3 id="propswithdefaults" tabindex="-1">propsWithDefaults() <a class="header-anchor" href="#propswithdefaults" aria-label="Permalink to "propsWithDefaults()""></a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> propsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsObject</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>(</span></span>
|
|
5
|
-
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> defaults</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>,</span></span>
|
|
6
|
-
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> typedProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span></span>
|
|
7
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>;</span></span></code></pre></div><p>Combines statically written defaults object with the runtime type definition of Vue 3 props.</p><p><strong>Returns:</strong> <code>VuePropsWithDefaults<T></code></p><h2 id="utility-types" tabindex="-1">Utility Types <a class="header-anchor" href="#utility-types" aria-label="Permalink to "Utility Types""></a></h2><h3 id="extractpropdefaulttypes" tabindex="-1">ExtractPropDefaultTypes <a class="header-anchor" href="#extractpropdefaulttypes" aria-label="Permalink to "ExtractPropDefaultTypes""></a></h3><p>Extracts types of the default types definition. This type can be used to validate against the actual defaults definition to make sure both definitions are in sync.</p><hr><h3 id="extractemittypes" tabindex="-1">ExtractEmitTypes <a class="header-anchor" href="#extractemittypes" aria-label="Permalink to "ExtractEmitTypes""></a></h3><hr><p>Extracts types of a runtime emits declaration.</p><h3 id="extendslots" tabindex="-1">ExtendSlots <a class="header-anchor" href="#extendslots" aria-label="Permalink to "ExtendSlots""></a></h3><hr><p>Allows you to extend slots of a given slot interface.</p><h3 id="usecomposable" tabindex="-1">UseComposable <a class="header-anchor" href="#usecomposable" aria-label="Permalink to "UseComposable""></a></h3><hr><p>Extracts and unwraps (de-Refs) the real types of Vue 3 composable definition to make it compatible with <code>ivue</code>.</p>`,45),h=[n];function l(p,o,r,d,k,c){return a(),i("div",null,h)}const y=s(t,[["render",l]]);export{g as __pageData,y as default};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{_ as s,c as i,o as a,a5 as e}from"./chunks/framework.DwpdbuZp.js";const g=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"pages/api.md","filePath":"pages/api.md"}'),t={name:"pages/api.md"},n=e(`<h1 id="api" tabindex="-1">API <a class="header-anchor" href="#api" aria-label="Permalink to "API""></a></h1><h2 id="core-functions" tabindex="-1">Core Functions <a class="header-anchor" href="#core-functions" aria-label="Permalink to "Core Functions""></a></h2><h3 id="ivue" tabindex="-1">ivue() <a class="header-anchor" href="#ivue" aria-label="Permalink to "ivue()""></a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AnyClass</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>(</span></span>
|
|
2
|
-
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> className</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
3
|
-
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ...</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">args</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InferredArgs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
4
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>;</span></span></code></pre></div><p>Core <code>ivue(className, ...args)</code> initializer is able to infer and validate the constrcutor argument types of AnyClass and passes those arguments to the constructor of <code>AnyClass</code> internally.</p><p><code>ivue(className, arg1, arg2, arg3...)</code> allows you to pass any number of arguments into the class <code>constructor(arg1, arg2, arg3...)</code></p><p><code>ivue()</code> initializer function returns an extended Vue 3 <code>reactive()</code> object in which getters and setters are internally converted to computeds and adds <code>.toRefs()</code> method to the created object. Computeds auto-unwrap themselves when they are accessed as a reactive object property, so the <code>.value</code> properties and computeds get flattened in the resulting object and do not require <code>.value</code> to be accessed.</p><p><code>ivue()</code> replicates native JavaScript / TypeScript class implementation by extending descriptors (getters and setters) up the whole prototype chain thus supporting classical inheritance.</p><p><strong>Returns:</strong> <code><IVue<T>></code> or <code>ivue</code> <code>reactive()</code> object of an <code>AnyClass</code> class with flattened (de-Refed) <code>Refs</code> and <code>ComputedRefs</code> as properties.</p><h3 id="iref" tabindex="-1">iref() <a class="header-anchor" href="#iref" aria-label="Permalink to "iref()""></a></h3><p>Create a regular <code>vue</code> Ref but cast the type to the internal unreactive type, because properties auto-unwrap in <code>reactive()</code> object that is being created by <code>ivue</code> upon initialization.</p><h3 id="iuse" tabindex="-1">iuse() <a class="header-anchor" href="#iuse" aria-label="Permalink to "iuse()""></a></h3><p>This function unwraps the type of any composable return to the bare values without <code>.value</code>, because properties auto-unwrap in <code>reactive()</code> object that is being created by <code>ivue</code> upon initialization.</p><h3 id="init" tabindex="-1">.init() <a class="header-anchor" href="#init" aria-label="Permalink to ".init()""></a></h3><hr><p><code>.init()</code> method is auto-run on <code>ivue()</code> initialization after <code>constructor()</code> is run. <code>init()</code> has access to the reactive state of the object via <code>this</code>.</p><div class="warning custom-block"><p class="custom-block-title">NOTICE</p><p><code>.init()</code> method has no arguments and you should never need to run this method manually.</p></div><div class="tip custom-block"><p class="custom-block-title">NEED ASYNC/AWAIT?</p><p>Use <code>async init()</code> if you need <code>await</code> functionality.</p></div><p><strong>Returns:</strong> <code>void | Promise<void></code></p><h3 id="torefs" tabindex="-1">.toRefs() <a class="header-anchor" href="#torefs" aria-label="Permalink to ".toRefs()""></a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">keyof</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>)[])</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVueRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>>;</span></span></code></pre></div><p>Converts an <code>ivue</code> object to a Vue 3 Composable with nested refs.</p><div class="tip custom-block"><p class="custom-block-title">You can pass the name of the properties to <code>toRefs(properties)</code></p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">width</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">height</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(Box).</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">([</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'height'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]);</span></span></code></pre></div><p>This improves performance if <code>box</code> has many other properties that we do not need.</p></div><p><strong>Returns:</strong> <code>IVueRefs<InstanceType<T>></code></p><h2 id="utility-functions" tabindex="-1">Utility Functions <a class="header-anchor" href="#utility-functions" aria-label="Permalink to "Utility Functions""></a></h2><h3 id="propswithdefaults" tabindex="-1">propsWithDefaults() <a class="header-anchor" href="#propswithdefaults" aria-label="Permalink to "propsWithDefaults()""></a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> propsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsObject</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>(</span></span>
|
|
5
|
-
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> defaults</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>,</span></span>
|
|
6
|
-
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> typedProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span></span>
|
|
7
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>;</span></span></code></pre></div><p>Combines statically written defaults object with the runtime type definition of Vue 3 props.</p><p><strong>Returns:</strong> <code>VuePropsWithDefaults<T></code></p><h2 id="utility-types" tabindex="-1">Utility Types <a class="header-anchor" href="#utility-types" aria-label="Permalink to "Utility Types""></a></h2><h3 id="extractpropdefaulttypes" tabindex="-1">ExtractPropDefaultTypes <a class="header-anchor" href="#extractpropdefaulttypes" aria-label="Permalink to "ExtractPropDefaultTypes""></a></h3><p>Extracts types of the default types definition. This type can be used to validate against the actual defaults definition to make sure both definitions are in sync.</p><hr><h3 id="extractemittypes" tabindex="-1">ExtractEmitTypes <a class="header-anchor" href="#extractemittypes" aria-label="Permalink to "ExtractEmitTypes""></a></h3><hr><p>Extracts types of a runtime emits declaration.</p><h3 id="extendslots" tabindex="-1">ExtendSlots <a class="header-anchor" href="#extendslots" aria-label="Permalink to "ExtendSlots""></a></h3><hr><p>Allows you to extend slots of a given slot interface.</p><h3 id="usecomposable" tabindex="-1">UseComposable <a class="header-anchor" href="#usecomposable" aria-label="Permalink to "UseComposable""></a></h3><hr><p>Extracts and unwraps (de-Refs) the real types of Vue 3 composable definition to make it compatible with <code>ivue</code>.</p>`,45),h=[n];function l(p,o,r,d,k,c){return a(),i("div",null,h)}const y=s(t,[["render",l]]);export{g as __pageData,y as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as i}from"./chunks/Button.vue_vue_type_script_setup_true_lang.CPdVloYP.js";import{d as o,c as a,j as e,a as t,I as s,a5 as n,o as c}from"./chunks/framework.DwpdbuZp.js";const r=n('<h1 id="what-is-infinite-vue" tabindex="-1">What is Infinite Vue? <a class="header-anchor" href="#what-is-infinite-vue" aria-label="Permalink to "What is Infinite Vue?""></a></h1><h2 id="the-problem" tabindex="-1">The Problem <a class="header-anchor" href="#the-problem" aria-label="Permalink to "The Problem""></a></h2><p>With the development of React hooks and Vue following in its footsteps with introduction of Vue 3 Composition API, the ecosystem has moved away from Options API.</p><p>While providing greater flexibility and composability the Composition API has its own downsides, one of them is having to use <code>.value</code> to refer to the reactive variables which makes the development process more clunky when the App reaches a certain size.</p><p>As you may know, <code>reactvity-transform</code> macros were an attempt to mitigate those issues, which turned out to create even more issues, and was discontinued.</p><p>See: <a href="https://vuejs.org/guide/extras/reactivity-transform.html" target="_blank" rel="noreferrer">VueJs.org – Reactivity Transform</a></p><h2 id="ivue-is" tabindex="-1"><code>ivue</code> is <a class="header-anchor" href="#ivue-is" aria-label="Permalink to "`ivue` is""></a></h2><div style="padding-left:20px;font-size:1.2rem;line-height:2rem;"> – Simple like Options API<br> – Flexible like Composition API<br> – Extensible like TypeScript Classes API<br></div><p><code>ivue</code> is a powerful tool because it fully aligns itself with JavaScript / TypeScript Class API.</p><p><code>ivue</code> gives you a class based Composable capabilities with Inheritance and all the power of TypeScript Classes.</p><p><code>ivue</code> mitigates the downsides of both Composition API and Options API, uses only their strengths and brings back Object Oriented Programming to allow the development of complex and scalable apps.</p><p><code>ivue</code> is fully interoperable with Composition API and does not work against, but rather with it, so you can use all of ecosystems composables seamlessly.</p><p><code>ivue</code> also offers a set of functions and utility types to make extensible & exportable props defaults, extensible emits and extensible slots possible.</p><h2 id="classes-in-the-ecosystem" tabindex="-1">Classes in the Ecosystem <a class="header-anchor" href="#classes-in-the-ecosystem" aria-label="Permalink to "Classes in the Ecosystem""></a></h2><p>With failed implementations of classes in React and also failed implementations using class components in Vue 2 / 3, the ecosystem decided that classes are bad and moved to pure procedural designs.</p><p>While procedural programming has its strength, it also comes with its own weaknesses, like lack of inheritance, lack of <code>this</code> context, and thus lack of true composition.</p><div class="info custom-block"><p class="custom-block-title">IVUE IS DIFFERENT</p><p>– <code>ivue</code> does NOT inherit from a base class<br> – <code>ivue</code> does NOT use decorators to achieve its objectives<br> – <code>ivue</code> does NOT alter Vue 3 underlying behavior<br> – <code>ivue</code> is NOT the same as class components (though you can build components with it)<br></p></div><h2 id="infinite-vue-class-achitecture" tabindex="-1">Infinite Vue Class Achitecture <a class="header-anchor" href="#infinite-vue-class-achitecture" aria-label="Permalink to "Infinite Vue Class Achitecture""></a></h2><p><code>ivue</code> replicates native JavaScript / TypeScript class implementation by extending descriptors (getters and setters) up the whole prototype chain thus supporting classical inheritance.</p><p>By using TypeScript we are able to infer the arguments of the main <code>ivue()</code> initializer function and pass the arguments to the constructor.</p><p><code>ivue()</code> initializer function returns a reactive object with getters converted to computeds and adds <code>.toRefs()</code> method to the object, <code>.toRefs()</code> allows the object to be converted to native composable structure, so it can interoperate as a composable if needed.</p><p><code>ivue</code> aims to be opaque and minimal, just doing the minimum to convert a class to a reactive object, leaving the rest to be implemented using Vue 3 Composition API inside an initializer function called <code>.init()</code></p>',22),l=e("code",null,"ivue",-1),d=e("h2",{id:"when-to-use-infinite-vue",tabindex:"-1"},[t("When to use Infinite Vue? "),e("a",{class:"header-anchor",href:"#when-to-use-infinite-vue","aria-label":'Permalink to "When to use Infinite Vue?"'},"")],-1),h=e("p",null,[t("When the complexity of your app or components becomes very high using "),e("code",null,"ivue"),t(" can become a natural choice to deal with that complexity. Because "),e("code",null,".value"),t(" is abstracted away in "),e("code",null,"ivue"),t(", everything is simply a reactive object of Refs.")],-1),g=JSON.parse('{"title":"What is Infinite Vue?","description":"","frontmatter":{},"headers":[],"relativePath":"pages/introduction.md","filePath":"pages/introduction.md"}'),p={name:"pages/introduction.md"},y=o({...p,setup(u){return(m,f)=>(c(),a("div",null,[r,e("p",null,[t("You can read more about "),l,t(" internal architecture in "),s(i,{href:"/pages/how-it-works",label:"How it works?"}),t(" page.")]),d,h]))}});export{g as __pageData,y as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as i}from"./chunks/Button.vue_vue_type_script_setup_true_lang.CPdVloYP.js";import{d as o,c as a,j as e,a as t,I as s,a5 as n,o as c}from"./chunks/framework.DwpdbuZp.js";const r=n('<h1 id="what-is-infinite-vue" tabindex="-1">What is Infinite Vue? <a class="header-anchor" href="#what-is-infinite-vue" aria-label="Permalink to "What is Infinite Vue?""></a></h1><h2 id="the-problem" tabindex="-1">The Problem <a class="header-anchor" href="#the-problem" aria-label="Permalink to "The Problem""></a></h2><p>With the development of React hooks and Vue following in its footsteps with introduction of Vue 3 Composition API, the ecosystem has moved away from Options API.</p><p>While providing greater flexibility and composability the Composition API has its own downsides, one of them is having to use <code>.value</code> to refer to the reactive variables which makes the development process more clunky when the App reaches a certain size.</p><p>As you may know, <code>reactvity-transform</code> macros were an attempt to mitigate those issues, which turned out to create even more issues, and was discontinued.</p><p>See: <a href="https://vuejs.org/guide/extras/reactivity-transform.html" target="_blank" rel="noreferrer">VueJs.org – Reactivity Transform</a></p><h2 id="ivue-is" tabindex="-1"><code>ivue</code> is <a class="header-anchor" href="#ivue-is" aria-label="Permalink to "`ivue` is""></a></h2><div style="padding-left:20px;font-size:1.2rem;line-height:2rem;"> – Simple like Options API<br> – Flexible like Composition API<br> – Extensible like TypeScript Classes API<br></div><p><code>ivue</code> is a powerful tool because it fully aligns itself with JavaScript / TypeScript Class API.</p><p><code>ivue</code> gives you a class based Composable capabilities with Inheritance and all the power of TypeScript Classes.</p><p><code>ivue</code> mitigates the downsides of both Composition API and Options API, uses only their strengths and brings back Object Oriented Programming to allow the development of complex and scalable apps.</p><p><code>ivue</code> is fully interoperable with Composition API and does not work against, but rather with it, so you can use all of ecosystems composables seamlessly.</p><p><code>ivue</code> also offers a set of functions and utility types to make extensible & exportable props defaults, extensible emits and extensible slots possible.</p><h2 id="classes-in-the-ecosystem" tabindex="-1">Classes in the Ecosystem <a class="header-anchor" href="#classes-in-the-ecosystem" aria-label="Permalink to "Classes in the Ecosystem""></a></h2><p>With failed implementations of classes in React and also failed implementations using class components in Vue 2 / 3, the ecosystem decided that classes are bad and moved to pure procedural designs.</p><p>While procedural programming has its strength, it also comes with its own weaknesses, like lack of inheritance, lack of <code>this</code> context, and thus lack of true composition.</p><div class="info custom-block"><p class="custom-block-title">IVUE IS DIFFERENT</p><p>– <code>ivue</code> does NOT inherit from a base class<br> – <code>ivue</code> does NOT use decorators to achieve its objectives<br> – <code>ivue</code> does NOT alter Vue 3 underlying behavior<br> – <code>ivue</code> is NOT the same as class components (though you can build components with it)<br></p></div><h2 id="infinite-vue-class-achitecture" tabindex="-1">Infinite Vue Class Achitecture <a class="header-anchor" href="#infinite-vue-class-achitecture" aria-label="Permalink to "Infinite Vue Class Achitecture""></a></h2><p><code>ivue</code> replicates native JavaScript / TypeScript class implementation by extending descriptors (getters and setters) up the whole prototype chain thus supporting classical inheritance.</p><p>By using TypeScript we are able to infer the arguments of the main <code>ivue()</code> initializer function and pass the arguments to the constructor.</p><p><code>ivue()</code> initializer function returns a reactive object with getters converted to computeds and adds <code>.toRefs()</code> method to the object, <code>.toRefs()</code> allows the object to be converted to native composable structure, so it can interoperate as a composable if needed.</p><p><code>ivue</code> aims to be opaque and minimal, just doing the minimum to convert a class to a reactive object, leaving the rest to be implemented using Vue 3 Composition API inside an initializer function called <code>.init()</code></p>',22),l=e("code",null,"ivue",-1),d=e("h2",{id:"when-to-use-infinite-vue",tabindex:"-1"},[t("When to use Infinite Vue? "),e("a",{class:"header-anchor",href:"#when-to-use-infinite-vue","aria-label":'Permalink to "When to use Infinite Vue?"'},"")],-1),h=e("p",null,[t("When the complexity of your app or components becomes very high using "),e("code",null,"ivue"),t(" can become a natural choice to deal with that complexity. Because "),e("code",null,".value"),t(" is abstracted away in "),e("code",null,"ivue"),t(", everything is simply a reactive object of Refs.")],-1),g=JSON.parse('{"title":"What is Infinite Vue?","description":"","frontmatter":{},"headers":[],"relativePath":"pages/introduction.md","filePath":"pages/introduction.md"}'),p={name:"pages/introduction.md"},y=o({...p,setup(u){return(m,f)=>(c(),a("div",null,[r,e("p",null,[t("You can read more about "),l,t(" internal architecture in "),s(i,{href:"/pages/how-it-works",label:"How it works?"}),t(" page.")]),d,h]))}});export{g as __pageData,y as default};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { computed, ref } from 'vue';
|
|
2
|
-
import { useMouse as _useMouse } from '@vueuse/core';
|
|
3
|
-
|
|
4
|
-
export function useMouse() {
|
|
5
|
-
const { x, y } = _useMouse();
|
|
6
|
-
const _sum = ref(0);
|
|
7
|
-
|
|
8
|
-
function sum() {
|
|
9
|
-
_sum.value = x.value + y.value;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const total2 = computed(() => {
|
|
13
|
-
return _sum;
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
const total = computed(() => {
|
|
17
|
-
return total2;
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
return {
|
|
21
|
-
x,
|
|
22
|
-
y,
|
|
23
|
-
sum,
|
|
24
|
-
total,
|
|
25
|
-
};
|
|
26
|
-
}
|