UNPKG

@kdujs/runtime-dom

Version:
9 lines 92.5 kB
/** * @kdujs/runtime-dom v3.4.27 * (c) 2021-present NKDuy * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ function e(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const t={},n=[],o=()=>{},r=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),l=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},a=Object.prototype.hasOwnProperty,u=(e,t)=>a.call(e,t),f=Array.isArray,p=e=>"[object Map]"===k(e),d=e=>"[object Set]"===k(e),h=e=>"[object Date]"===k(e),g=e=>"function"==typeof e,m=e=>"string"==typeof e,_=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,v=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),b=Object.prototype.toString,k=e=>b.call(e),C=e=>k(e).slice(8,-1),x=e=>"[object Object]"===k(e),S=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,w=e(",key,ref,ref_for,ref_key,onKnodeBeforeMount,onKnodeMounted,onKnodeBeforeUpdate,onKnodeUpdated,onKnodeBeforeUnmount,onKnodeUnmounted"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},A=/-(\w)/g,T=E((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),O=/\B([A-Z])/g,N=E((e=>e.replace(O,"-$1").toLowerCase())),L=E((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=E((e=>e?`on${L(e)}`:"")),R=(e,t)=>!Object.is(e,t),P=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},I=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},M=e=>{const t=parseFloat(e);return isNaN(t)?e:t},B=e=>{const t=m(e)?Number(e):NaN;return isNaN(t)?e:t};let j;const U=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),$=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error");function D(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=m(o)?W(o):D(o);if(r)for(const e in r)t[e]=r[e]}return t}if(m(e)||y(e))return e}const K=/;(?![^(]*\))/g,H=/:([^]+)/,V=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(V,"").split(K).forEach((e=>{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function z(e){let t="";if(m(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=z(e[n]);o&&(t+=o+" ")}else if(y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function G(e){if(!e)return null;let{class:t,style:n}=e;return t&&!m(t)&&(e.class=z(t)),n&&(e.style=D(n)),e}const q=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function J(e){return!!e||""===e}function X(e,t){if(e===t)return!0;let n=h(e),o=h(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=_(e),o=_(t),n||o)return e===t;if(n=f(e),o=f(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=X(e[o],t[o]);return n}(e,t);if(n=y(e),o=y(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!X(e[n],t[n]))return!1}}return String(e)===String(t)}function Y(e,t){return e.findIndex((e=>X(e,t)))}const Z=e=>m(e)?e:null==e?"":f(e)||y(e)&&(e.toString===b||!g(e.toString))?JSON.stringify(e,Q,2):String(e),Q=(e,t)=>t&&t.__k_isRef?Q(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[ee(t,o)+" =>"]=n,e)),{})}:d(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ee(e)))}:_(t)?ee(t):!y(t)||f(t)||x(t)?t:String(t),ee=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var te=Object.defineProperty,ne=(e,t,n)=>(((e,t,n)=>{t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let oe;class re{constructor(e=!1){this.detached=e,ne(this,"_active",!0),ne(this,"effects",[]),ne(this,"cleanups",[]),ne(this,"parent"),ne(this,"scopes"),ne(this,"index"),this.parent=oe,!e&&oe&&(this.index=(oe.scopes||(oe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=oe;try{return oe=this,e()}finally{oe=t}}}on(){oe=this}off(){oe=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function se(e){return new re(e)}function ie(e,t=oe){t&&t.active&&t.effects.push(e)}function le(){return oe}function ce(e){oe&&oe.cleanups.push(e)}var ae=Object.defineProperty,ue=(e,t,n)=>(((e,t,n)=>{t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let fe;class pe{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,ue(this,"active",!0),ue(this,"deps",[]),ue(this,"computed"),ue(this,"allowRecurse"),ue(this,"onStop"),ue(this,"onTrack"),ue(this,"onTrigger"),ue(this,"_dirtyLevel",4),ue(this,"_trackId",0),ue(this,"_runnings",0),ue(this,"_shouldSchedule",!1),ue(this,"_depsLength",0),ie(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Ce();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(de(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),xe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=ve,t=fe;try{return ve=!0,fe=this,this._runnings++,he(this),this.fn()}finally{ge(this),this._runnings--,fe=t,ve=e}}stop(){this.active&&(he(this),ge(this),this.onStop&&this.onStop(),this.active=!1)}}function de(e){return e.value}function he(e){e._trackId++,e._depsLength=0}function ge(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)me(e.deps[t],e);e.deps.length=e._depsLength}}function me(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}function _e(e,t){e.effect instanceof pe&&(e=e.effect.fn);const n=new pe(e,o,(()=>{n.dirty&&n.run()}));t&&(l(n,t),t.scope&&ie(n,t.scope)),t&&t.lazy||n.run();const r=n.run.bind(n);return r.effect=n,r}function ye(e){e.effect.stop()}let ve=!0,be=0;const ke=[];function Ce(){ke.push(ve),ve=!1}function xe(){const e=ke.pop();ve=void 0===e||e}function Se(){be++}function we(){for(be--;!be&&Ae.length;)Ae.shift()()}function Ee(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&me(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ae=[];function Te(e,t,n){Se();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&Ae.push(o.scheduler)))}we()}const Oe=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ne=new WeakMap,Le=Symbol(""),Fe=Symbol("");function Re(e,t,n){if(ve&&fe){let t=Ne.get(e);t||Ne.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Oe((()=>t.delete(n)))),Ee(fe,o)}}function Pe(e,t,n,o,r,s){const i=Ne.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&f(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||!_(n)&&n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(i.get(n)),t){case"add":f(e)?S(n)&&l.push(i.get("length")):(l.push(i.get(Le)),p(e)&&l.push(i.get(Fe)));break;case"delete":f(e)||(l.push(i.get(Le)),p(e)&&l.push(i.get(Fe)));break;case"set":p(e)&&l.push(i.get(Le))}Se();for(const c of l)c&&Te(c,4);we()}const Ie=e("__proto__,__k_isRef,__isKdu"),Me=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),Be=je();function je(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Tt(this);for(let t=0,r=this.length;t<r;t++)Re(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Tt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Ce(),Se();const n=Tt(this)[t].apply(this,e);return we(),xe(),n}})),e}function Ue(e){_(e)||(e=String(e));const t=Tt(this);return Re(t,0,e),t.hasOwnProperty(e)}class $e{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__k_isReactive"===t)return!o;if("__k_isReadonly"===t)return o;if("__k_isShallow"===t)return r;if("__k_raw"===t)return n===(o?r?yt:_t:r?mt:gt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=f(e);if(!o){if(s&&u(Be,t))return Reflect.get(Be,t,n);if("hasOwnProperty"===t)return Ue}const i=Reflect.get(e,t,n);return(_(t)?Me.has(t):Ie(t))?i:(o||Re(e,0,t),r?i:Ut(i)?s&&S(t)?i:i.value:y(i)?o?kt(i):vt(i):i)}}class De extends $e{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=wt(r);if(Et(n)||wt(n)||(r=Tt(r),n=Tt(n)),!f(e)&&Ut(r)&&!Ut(n))return!t&&(r.value=n,!0)}const s=f(e)&&S(t)?Number(t)<e.length:u(e,t),i=Reflect.set(e,t,n,o);return e===Tt(o)&&(s?R(n,r)&&Pe(e,"set",t,n):Pe(e,"add",t,n)),i}deleteProperty(e,t){const n=u(e,t),o=Reflect.deleteProperty(e,t);return o&&n&&Pe(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return _(t)&&Me.has(t)||Re(e,0,t),n}ownKeys(e){return Re(e,0,f(e)?"length":Le),Reflect.ownKeys(e)}}class Ke extends $e{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const He=new De,Ve=new Ke,We=new De(!0),ze=new Ke(!0),Ge=e=>e,qe=e=>Reflect.getPrototypeOf(e);function Je(e,t,n=!1,o=!1){const r=Tt(e=e.__k_raw),s=Tt(t);n||(R(t,s)&&Re(r,0,t),Re(r,0,s));const{has:i}=qe(r),l=o?Ge:n?Lt:Nt;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void(e!==r&&e.get(t))}function Xe(e,t=!1){const n=this.__k_raw,o=Tt(n),r=Tt(e);return t||(R(e,r)&&Re(o,0,e),Re(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ye(e,t=!1){return e=e.__k_raw,!t&&Re(Tt(e),0,Le),Reflect.get(e,"size",e)}function Ze(e){e=Tt(e);const t=Tt(this);return qe(t).has.call(t,e)||(t.add(e),Pe(t,"add",e,e)),this}function Qe(e,t){t=Tt(t);const n=Tt(this),{has:o,get:r}=qe(n);let s=o.call(n,e);s||(e=Tt(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?R(t,i)&&Pe(n,"set",e,t):Pe(n,"add",e,t),this}function et(e){const t=Tt(this),{has:n,get:o}=qe(t);let r=n.call(t,e);r||(e=Tt(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&Pe(t,"delete",e,void 0),s}function tt(){const e=Tt(this),t=0!==e.size,n=e.clear();return t&&Pe(e,"clear",void 0,void 0),n}function nt(e,t){return function(n,o){const r=this,s=r.__k_raw,i=Tt(s),l=t?Ge:e?Lt:Nt;return!e&&Re(i,0,Le),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function ot(e,t,n){return function(...o){const r=this.__k_raw,s=Tt(r),i=p(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Ge:t?Lt:Nt;return!t&&Re(s,0,c?Fe:Le),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function rt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function st(){const e={get(e){return Je(this,e)},get size(){return Ye(this)},has:Xe,add:Ze,set:Qe,delete:et,clear:tt,forEach:nt(!1,!1)},t={get(e){return Je(this,e,!1,!0)},get size(){return Ye(this)},has:Xe,add:Ze,set:Qe,delete:et,clear:tt,forEach:nt(!1,!0)},n={get(e){return Je(this,e,!0)},get size(){return Ye(this,!0)},has(e){return Xe.call(this,e,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:nt(!0,!1)},o={get(e){return Je(this,e,!0,!0)},get size(){return Ye(this,!0)},has(e){return Xe.call(this,e,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:nt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=ot(r,!1,!1),n[r]=ot(r,!0,!1),t[r]=ot(r,!1,!0),o[r]=ot(r,!0,!0)})),[e,n,t,o]}const[it,lt,ct,at]=st();function ut(e,t){const n=t?e?at:ct:e?lt:it;return(t,o,r)=>"__k_isReactive"===o?!e:"__k_isReadonly"===o?e:"__k_raw"===o?t:Reflect.get(u(n,o)&&o in t?n:t,o,r)}const ft={get:ut(!1,!1)},pt={get:ut(!1,!0)},dt={get:ut(!0,!1)},ht={get:ut(!0,!0)},gt=new WeakMap,mt=new WeakMap,_t=new WeakMap,yt=new WeakMap;function vt(e){return wt(e)?e:xt(e,!1,He,ft,gt)}function bt(e){return xt(e,!1,We,pt,mt)}function kt(e){return xt(e,!0,Ve,dt,_t)}function Ct(e){return xt(e,!0,ze,ht,yt)}function xt(e,t,n,o,r){if(!y(e))return e;if(e.__k_raw&&(!t||!e.__k_isReactive))return e;const s=r.get(e);if(s)return s;const i=(l=e).__k_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(C(l));var l;if(0===i)return e;const c=new Proxy(e,2===i?o:n);return r.set(e,c),c}function St(e){return wt(e)?St(e.__k_raw):!(!e||!e.__k_isReactive)}function wt(e){return!(!e||!e.__k_isReadonly)}function Et(e){return!(!e||!e.__k_isShallow)}function At(e){return!!e&&!!e.__k_raw}function Tt(e){const t=e&&e.__k_raw;return t?Tt(t):e}function Ot(e){return Object.isExtensible(e)&&I(e,"__k_skip",!0),e}const Nt=e=>y(e)?vt(e):e,Lt=e=>y(e)?kt(e):e;var Ft=Object.defineProperty,Rt=(e,t,n)=>(((e,t,n)=>{t in e?Ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class Pt{constructor(e,t,n,o){this.getter=e,this._setter=t,Rt(this,"dep"),Rt(this,"_value"),Rt(this,"effect"),Rt(this,"__k_isRef",!0),Rt(this,"__k_isReadonly",!1),Rt(this,"_cacheable"),Rt(this,"_warnRecursive"),this.effect=new pe((()=>e(this._value)),(()=>jt(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__k_isReadonly=n}get value(){const e=Tt(this);return e._cacheable&&!e.effect.dirty||!R(e._value,e._value=e.effect.run())||jt(e,4),Bt(e),e.effect._dirtyLevel>=2&&jt(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}var It=Object.defineProperty,Mt=(e,t,n)=>(((e,t,n)=>{t in e?It(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);function Bt(e){var t;ve&&fe&&(e=Tt(e),Ee(fe,null!=(t=e.dep)?t:e.dep=Oe((()=>e.dep=void 0),e instanceof Pt?e:void 0)))}function jt(e,t=4,n){const o=(e=Tt(e)).dep;o&&Te(o,t)}function Ut(e){return!(!e||!0!==e.__k_isRef)}function $t(e){return Kt(e,!1)}function Dt(e){return Kt(e,!0)}function Kt(e,t){return Ut(e)?e:new Ht(e,t)}class Ht{constructor(e,t){this.__k_isShallow=t,Mt(this,"_value"),Mt(this,"_rawValue"),Mt(this,"dep"),Mt(this,"__k_isRef",!0),this._rawValue=t?e:Tt(e),this._value=t?e:Nt(e)}get value(){return Bt(this),this._value}set value(e){const t=this.__k_isShallow||Et(e)||wt(e);e=t?e:Tt(e),R(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Nt(e),jt(this,4))}}function Vt(e){jt(e,4)}function Wt(e){return Ut(e)?e.value:e}function zt(e){return g(e)?e():Wt(e)}const Gt={get:(e,t,n)=>Wt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Ut(r)&&!Ut(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function qt(e){return St(e)?e:new Proxy(e,Gt)}class Jt{constructor(e){Mt(this,"dep"),Mt(this,"_get"),Mt(this,"_set"),Mt(this,"__k_isRef",!0);const{get:t,set:n}=e((()=>Bt(this)),(()=>jt(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Xt(e){return new Jt(e)}function Yt(e){const t=f(e)?new Array(e.length):{};for(const n in e)t[n]=tn(e,n);return t}class Zt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,Mt(this,"__k_isRef",!0)}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Ne.get(e);return n&&n.get(t)}(Tt(this._object),this._key)}}class Qt{constructor(e){this._getter=e,Mt(this,"__k_isRef",!0),Mt(this,"__k_isReadonly",!0)}get value(){return this._getter()}}function en(e,t,n){return Ut(e)?e:g(e)?new Qt(e):y(e)&&arguments.length>1?tn(e,t,n):$t(e)}function tn(e,t,n){const o=e[t];return Ut(o)?o:new Zt(e,t,n)}const nn={GET:"get",HAS:"has",ITERATE:"iterate"},on={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};function rn(e,t){}const sn={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",KNODE_HOOK:7,7:"KNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"};function ln(e,t,n,o){try{return o?e(...o):e()}catch(r){an(r,t,n)}}function cn(e,t,n,o){if(g(e)){const r=ln(e,t,n,o);return r&&v(r)&&r.catch((e=>{an(e,t,n)})),r}if(f(e)){const r=[];for(let s=0;s<e.length;s++)r.push(cn(e[s],t,n,o));return r}}function an(e,t,n,o=!0){if(t){let o=t.parent;const r=t.proxy,s=`https://kdu-js.web.app/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,s))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return Ce(),ln(i,null,10,[e,r,s]),void xe()}!function(e){console.error(e)}(e,0,0,o)}let un=!1,fn=!1;const pn=[];let dn=0;const hn=[];let gn=null,mn=0;const _n=Promise.resolve();let yn=null;function vn(e){const t=yn||_n;return e?t.then(this?e.bind(this):e):t}function bn(e){pn.length&&pn.includes(e,un&&e.allowRecurse?dn+1:dn)||(null==e.id?pn.push(e):pn.splice(function(e){let t=dn+1,n=pn.length;for(;t<n;){const o=t+n>>>1,r=pn[o],s=wn(r);s<e||s===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),kn())}function kn(){un||fn||(fn=!0,yn=_n.then(An))}function Cn(e){f(e)?hn.push(...e):gn&&gn.includes(e,e.allowRecurse?mn+1:mn)||hn.push(e),kn()}function xn(e,t,n=(un?dn+1:0)){for(;n<pn.length;n++){const t=pn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;pn.splice(n,1),n--,t()}}}function Sn(e){if(hn.length){const e=[...new Set(hn)].sort(((e,t)=>wn(e)-wn(t)));if(hn.length=0,gn)return void gn.push(...e);for(gn=e,mn=0;mn<gn.length;mn++)gn[mn]();gn=null,mn=0}}const wn=e=>null==e.id?1/0:e.id,En=(e,t)=>{const n=wn(e)-wn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function An(e){fn=!1,un=!0,pn.sort(En);try{for(dn=0;dn<pn.length;dn++){const e=pn[dn];e&&!1!==e.active&&ln(e,null,14)}}finally{dn=0,pn.length=0,Sn(),un=!1,yn=null,(pn.length||hn.length)&&An()}}function Tn(e,n,...o){if(e.isUnmounted)return;const r=e.knode.props||t;let s=o;const i=n.startsWith("update:"),l=i&&n.slice(7);if(l&&l in r){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:n,trim:i}=r[e]||t;i&&(s=o.map((e=>m(e)?e.trim():e))),n&&(s=o.map(M))}let c,a=r[c=F(n)]||r[c=F(T(n))];!a&&i&&(a=r[c=F(N(n))]),a&&cn(a,e,6,s);const u=r[c+"Once"];if(u){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,cn(u,e,6,s)}}function On(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const s=e.emits;let i={},c=!1;if(!g(e)){const o=e=>{const n=On(e,t,!0);n&&(c=!0,l(i,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||c?(f(s)?s.forEach((e=>i[e]=null)):l(i,s),y(e)&&o.set(e,i),i):(y(e)&&o.set(e,null),null)}function Nn(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),u(e,t[0].toLowerCase()+t.slice(1))||u(e,N(t))||u(e,t))}let Ln=null,Fn=null;function Rn(e){const t=Ln;return Ln=e,Fn=e&&e.type.__scopeId||null,t}function Pn(e){Fn=e}function In(){Fn=null}const Mn=e=>Bn;function Bn(e,t=Ln,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&js(-1);const r=Rn(t);let s;try{s=e(...n)}finally{Rn(r),o._d&&js(1)}return s};return o._n=!0,o._c=!0,o._d=!0,o}function jn(e){const{type:t,knode:n,proxy:o,withProxy:r,propsOptions:[s],slots:l,attrs:c,emit:a,render:u,renderCache:f,props:p,data:d,setupState:h,ctx:g,inheritAttrs:m}=e,_=Rn(e);let y,v;try{if(4&n.shapeFlag){const e=r||o;y=ei(u.call(e,e,f,p,h,d,g)),v=c}else{const e=t;0,y=ei(e(p,e.length>1?{attrs:c,slots:l,emit:a}:null)),v=t.props?c:Un(c)}}catch(k){Rs.length=0,an(k,e,1),y=qs(Ls)}let b=y;if(v&&!1!==m){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(i)&&(v=$n(v,s)),b=Xs(b,v,!1,!0))}return n.dirs&&(b=Xs(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),y=b,Rn(_),y}const Un=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},$n=(e,t)=>{const n={};for(const o in e)i(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Dn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];if(t[s]!==e[s]&&!Nn(n,s))return!0}return!1}function Kn({knode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.knode).el=n,t=t.parent}}const Hn="components";function Vn(e,t){return qn(Hn,e,!0,t)||e}const Wn=Symbol.for("k-ndc");function zn(e){return m(e)?qn(Hn,e,!1)||e:e||Wn}function Gn(e){return qn("directives",e)}function qn(e,t,n=!0,o=!1){const r=Ln||li;if(r){const n=r.type;if(e===Hn){const e=Si(n,!1);if(e&&(e===t||e===T(t)||e===L(T(t))))return n}const s=Jn(r[e]||n[e],t)||Jn(r.appContext[e],t);return!s&&o?n:s}}function Jn(e,t){return e&&(e[t]||e[T(t)]||e[L(T(t))])}const Xn=e=>e.__isSuspense;let Yn=0;const Zn={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,s,i,l,c,a){if(null==e)!function(e,t,n,o,r,s,i,l,c){const{p:a,o:{createElement:u}}=c,f=u("div"),p=e.suspense=eo(e,r,o,t,f,n,s,i,l,c);a(null,p.pendingBranch=e.ssContent,f,null,o,p,s,i),p.deps>0?(Qn(e,"onPending"),Qn(e,"onFallback"),a(null,e.ssFallback,t,n,o,null,s,i),oo(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,o,r,s,i,l,c,a);else{if(s&&s.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.knode=t,void(t.el=e.el);!function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const f=t.suspense=e.suspense;f.knode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:m,isHydrating:_}=f;if(g)f.pendingBranch=p,Hs(p,g)?(c(g,p,f.hiddenContainer,null,r,f,s,i,l),f.deps<=0?f.resolve():m&&(_||(c(h,d,n,o,r,null,s,i,l),oo(f,d)))):(f.pendingId=Yn++,_?(f.isHydrating=!1,f.activeBranch=g):a(g,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(c(null,p,f.hiddenContainer,null,r,f,s,i,l),f.deps<=0?f.resolve():(c(h,d,n,o,r,null,s,i,l),oo(f,d))):h&&Hs(p,h)?(c(h,p,n,o,r,f,s,i,l),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,r,f,s,i,l),f.deps<=0&&f.resolve()));else if(h&&Hs(p,h))c(h,p,n,o,r,f,s,i,l),oo(f,p);else if(Qn(t,"onPending"),f.pendingBranch=p,f.pendingId=512&p.shapeFlag?p.component.suspenseId:Yn++,c(null,p,f.hiddenContainer,null,r,f,s,i,l),f.deps<=0)f.resolve();else{const{timeout:e,pendingId:t}=f;e>0?setTimeout((()=>{f.pendingId===t&&f.fallback(d)}),e):0===e&&f.fallback(d)}}(e,t,n,o,r,i,l,c,a)}},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=eo(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve(!1,!0);return u},create:eo,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=to(o?n.default:n),e.ssFallback=o?to(n.fallback):qs(Ls)}};function Qn(e,t){const n=e.props&&e.props[t];g(n)&&n()}function eo(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:g,remove:m}}=a;let _;const y=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);y&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const v=e.props?B(e.props.timeout):void 0,b=s,k={knode:e,parent:t,parentComponent:n,namespace:i,container:o,hiddenContainer:r,deps:0,pendingId:Yn++,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{knode:o,activeBranch:r,pendingBranch:i,pendingId:l,effects:c,parentComponent:a,container:u}=k;let f=!1;k.isHydrating?k.isHydrating=!1:e||(f=r&&i.transition&&"out-in"===i.transition.mode,f&&(r.transition.afterLeave=()=>{l===k.pendingId&&(p(i,u,s===b?h(r):s,0),Cn(c))}),r&&(g(r.el)!==k.hiddenContainer&&(s=h(r)),d(r,a,k,!0)),f||p(i,u,s,0)),oo(k,i),k.pendingBranch=null,k.isInFallback=!1;let m=k.parent,v=!1;for(;m;){if(m.pendingBranch){m.effects.push(...c),v=!0;break}m=m.parent}v||f||Cn(c),k.effects=[],y&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Qn(o,"onResolve")},fallback(e){if(!k.pendingBranch)return;const{knode:t,activeBranch:n,parentComponent:o,container:r,namespace:s}=k;Qn(t,"onFallback");const i=h(n),a=()=>{k.isInFallback&&(f(null,e,r,i,o,null,s,l,c),oo(k,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),k.isInFallback=!0,d(n,o,null,!0),u||a()},move(e,t,n){k.activeBranch&&p(k.activeBranch,e,t,n),k.container=e},next:()=>k.activeBranch&&h(k.activeBranch),registerDep(e,t){const n=!!k.pendingBranch;n&&k.deps++;const o=e.knode.el;e.asyncDep.catch((t=>{an(t,e,0)})).then((r=>{if(e.isUnmounted||k.isUnmounted||k.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{knode:s}=e;_i(e,r,!1),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,g(o||e.subTree.el),o?null:h(e.subTree),k,i,c),l&&m(l),Kn(e,s.el),n&&0==--k.deps&&k.resolve()}))},unmount(e,t){k.isUnmounted=!0,k.activeBranch&&d(k.activeBranch,n,e,t),k.pendingBranch&&d(k.pendingBranch,n,e,t)}};return k}function to(e){let t;if(g(e)){const n=Bs&&e._c;n&&(e._d=!1,Is()),e=e(),n&&(e._d=!0,t=Ps,Ms())}if(f(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!Ks(o))return;if(o.type!==Ls||"k-if"===o.children){if(t)return;t=o}}return t}(e);e=t}return e=ei(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function no(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):Cn(e)}function oo(e,t){e.activeBranch=t;const{knode:n,parentComponent:o}=e;let r=t.el;for(;!r&&t.component;)r=(t=t.component.subTree).el;n.el=r,o&&o.subTree===n&&(o.knode.el=r,Kn(o,r))}const ro=Symbol.for("k-scx"),so=()=>Hr(ro);function io(e,t){return fo(e,null,t)}function lo(e,t){return fo(e,null,{flush:"post"})}function co(e,t){return fo(e,null,{flush:"sync"})}const ao={};function uo(e,t,n){return fo(e,t,n)}function fo(e,n,{immediate:r,deep:s,flush:i,once:l}=t){if(n&&l){const e=n;n=(...t)=>{e(...t),x()}}const a=li,u=e=>!0===s?e:go(e,!1===s?1:void 0);let p,d,h=!1,m=!1;if(Ut(e)?(p=()=>e.value,h=Et(e)):St(e)?(p=()=>u(e),h=!0):f(e)?(m=!0,h=e.some((e=>St(e)||Et(e))),p=()=>e.map((e=>Ut(e)?e.value:St(e)?u(e):g(e)?ln(e,a,2):void 0))):p=g(e)?n?()=>ln(e,a,2):()=>(d&&d(),cn(e,a,3,[_])):o,n&&s){const e=p;p=()=>go(e())}let _=e=>{d=k.onStop=()=>{ln(e,a,4),d=k.onStop=void 0}},y=m?new Array(e.length).fill(ao):ao;const v=()=>{if(k.active&&k.dirty)if(n){const e=k.run();(s||h||(m?e.some(((e,t)=>R(e,y[t]))):R(e,y)))&&(d&&d(),cn(n,a,3,[e,y===ao?void 0:m&&y[0]===ao?[]:y,_]),y=e)}else k.run()};let b;v.allowRecurse=!!n,"sync"===i?b=v:"post"===i?b=()=>ds(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),b=()=>bn(v));const k=new pe(p,o,b),C=le(),x=()=>{k.stop(),C&&c(C.effects,k)};return n?r?v():y=k.run():"post"===i?ds(k.run.bind(k),a&&a.suspense):k.run(),x}function po(e,t,n){const o=this.proxy,r=m(e)?e.includes(".")?ho(o,e):()=>o[e]:e.bind(o,o);let s;g(t)?s=t:(s=t.handler,n=t);const i=fi(this),l=fo(r,s.bind(o),n);return i(),l}function ho(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function go(e,t=1/0,n){if(t<=0||!y(e)||e.__k_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ut(e))go(e.value,t,n);else if(f(e))for(let o=0;o<e.length;o++)go(e[o],t,n);else if(d(e)||p(e))e.forEach((e=>{go(e,t,n)}));else if(x(e))for(const o in e)go(e[o],t,n);return e}function mo(e,n){if(null===Ln)return e;const o=xi(Ln)||Ln.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<n.length;s++){let[e,i,l,c=t]=n[s];e&&(g(e)&&(e={mounted:e,updated:e}),e.deep&&go(i),r.push({dir:e,instance:o,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function _o(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];s&&(l.oldValue=s[i].value);let c=l.dir[o];c&&(Ce(),cn(c,n,8,[e.el,l,e,t]),xe())}}const yo=Symbol("_leaveCb"),vo=Symbol("_enterCb");function bo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingKNodes:new Map};return zo((()=>{e.isMounted=!0})),Jo((()=>{e.isUnmounting=!0})),e}const ko=[Function,Array],Co={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ko,onEnter:ko,onAfterEnter:ko,onEnterCancelled:ko,onBeforeLeave:ko,onLeave:ko,onAfterLeave:ko,onLeaveCancelled:ko,onBeforeAppear:ko,onAppear:ko,onAfterAppear:ko,onAppearCancelled:ko},xo={name:"BaseTransition",props:Co,setup(e,{slots:t}){const n=ci(),o=bo();return()=>{const r=t.default&&Oo(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1)for(const e of r)if(e.type!==Ls){s=e;break}const i=Tt(e),{mode:l}=i;if(o.isLeaving)return Eo(s);const c=Ao(s);if(!c)return Eo(s);const a=wo(c,i,o,n);To(c,a);const u=n.subTree,f=u&&Ao(u);if(f&&f.type!==Ls&&!Hs(c,f)){const e=wo(f,i,o,n);if(To(f,e),"out-in"===l&&c.type!==Ls)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Eo(s);"in-out"===l&&c.type!==Ls&&(e.delayLeave=(e,t,n)=>{So(o,f)[String(f.key)]=f,e[yo]=()=>{t(),e[yo]=void 0,delete a.delayedLeave},a.delayedLeave=n})}return s}}};function So(e,t){const{leavingKNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function wo(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:_,onAfterAppear:y,onAppearCancelled:v}=t,b=String(e.key),k=So(n,e),C=(e,t)=>{e&&cn(e,o,9,t)},x=(e,t)=>{const n=t[1];C(e,t),f(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t[yo]&&t[yo](!0);const s=k[b];s&&Hs(e,s)&&s.el[yo]&&s.el[yo](),C(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=_||c,o=y||a,s=v||u}let i=!1;const l=e[vo]=t=>{i||(i=!0,C(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e[vo]=void 0)};t?x(t,[e,l]):l()},leave(t,o){const r=String(e.key);if(t[vo]&&t[vo](!0),n.isUnmounting)return o();C(p,[t]);let s=!1;const i=t[yo]=n=>{s||(s=!0,o(),C(n?g:h,[t]),t[yo]=void 0,k[r]===e&&delete k[r])};k[r]=e,d?x(d,[t,i]):i()},clone:e=>wo(e,t,n,o)};return S}function Eo(e){if(Po(e))return(e=Xs(e)).children=null,e}function Ao(e){if(!Po(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&g(n.default))return n.default()}}function To(e,t){6&e.shapeFlag&&e.component?To(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oo(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let i=e[s];const l=null==n?i.key:String(n)+String(null!=i.key?i.key:s);i.type===Os?(128&i.patchFlag&&r++,o=o.concat(Oo(i.children,t,l))):(t||i.type!==Ls)&&o.push(null!=l?Xs(i,{key:l}):i)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o} /*! #__NO_SIDE_EFFECTS__ */function No(e,t){return g(e)?(()=>l({name:e.name},t,{setup:e}))():e}const Lo=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function Fo(e){g(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:s,suspensible:i=!0,onError:l}=e;let c,a=null,u=0;const f=()=>{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,f()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return No({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const e=li;if(c)return()=>Ro(c,e);const t=t=>{a=null,an(t,e,13,!o)};if(i&&e.suspense)return f().then((t=>()=>Ro(t,e))).catch((e=>(t(e),()=>o?qs(o,{error:e}):null)));const l=$t(!1),u=$t(),p=$t(!!r);return r&&setTimeout((()=>{p.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),f().then((()=>{l.value=!0,e.parent&&Po(e.parent.knode)&&(e.parent.effect.dirty=!0,bn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?Ro(c,e):u.value&&o?qs(o,{error:u.value}):n&&!p.value?qs(n):void 0}})}function Ro(e,t){const{ref:n,props:o,children:r,ce:s}=t.knode,i=qs(e,o,r);return i.ref=n,i.ce=s,delete t.knode.ce,i}const Po=e=>e.type.__isKeepAlive,Io={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ci(),o=n.ctx,r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:f}}}=o,p=f("div");function d(e){Do(e),u(e,n,l,!0)}function h(e){r.forEach(((t,n)=>{const o=Si(t.type);!o||e&&e(o)||g(n)}))}function g(e){const t=r.get(e);i&&Hs(t,i)?i&&Do(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.knode,e,t,n,s,l,o,e.slotScopeIds,r),ds((()=>{s.isDeactivated=!1,s.a&&P(s.a);const t=e.props&&e.props.onKnodeMounted;t&&ri(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,p,null,1,l),ds((()=>{t.da&&P(t.da);const n=e.props&&e.props.onKnodeUnmounted;n&&ri(n,t.parent,e),t.isDeactivated=!0}),l)},uo((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Mo(e,t))),t&&h((e=>!Mo(t,e)))}),{flush:"post",deep:!0});let m=null;const _=()=>{null!=m&&r.set(m,Ko(n.subTree))};return zo(_),qo(_),Jo((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=Ko(t);if(e.type!==r.type||e.key!==r.key)d(e);else{Do(r);const e=r.component.da;e&&ds(e,o)}}))})),()=>{if(m=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Ks(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=Ko(o);const c=l.type,a=Si(Lo(l)?l.type.__asyncResolved||{}:c),{include:u,exclude:f,max:p}=e;if(u&&(!a||!Mo(u,a))||f&&a&&Mo(f,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Xs(l),128&o.shapeFlag&&(o.ssContent=l)),m=d,h?(l.el=h.el,l.component=h.component,l.transition&&To(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),p&&s.size>parseInt(p,10)&&g(s.values().next().value)),l.shapeFlag|=256,i=l,Xn(o.type)?o:l}}};function Mo(e,t){return f(e)?e.some((e=>Mo(e,t))):m(e)?e.split(",").includes(t):"[object RegExp]"===k(e)&&e.test(t)}function Bo(e,t){Uo(e,"a",t)}function jo(e,t){Uo(e,"da",t)}function Uo(e,t,n=li){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ho(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Po(e.parent.knode)&&$o(o,t,n,e),e=e.parent}}function $o(e,t,n,o){const r=Ho(t,e,o,!0);Xo((()=>{c(o[t],r)}),n)}function Do(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ko(e){return 128&e.shapeFlag?e.ssContent:e}function Ho(e,t,n=li,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ce();const r=fi(n),s=cn(t,n,e,o);return r(),xe(),s});return o?r.unshift(s):r.push(s),s}}const Vo=e=>(t,n=li)=>(!mi||"sp"===e)&&Ho(e,((...e)=>t(...e)),n),Wo=Vo("bm"),zo=Vo("m"),Go=Vo("bu"),qo=Vo("u"),Jo=Vo("bum"),Xo=Vo("um"),Yo=Vo("sp"),Zo=Vo("rtg"),Qo=Vo("rtc");function er(e,t=li){Ho("ec",e,t)}function tr(e,t,n,o){let r;const s=n&&n[o];if(f(e)||m(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,s&&s[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,s&&s[n])}else if(y(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[o]=t(e[i],i,o,s&&s[o])}}else r=[];return n&&(n[o]=r),r}function nr(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(f(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.key?(...e)=>{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function or(e,t,n={},o,r){if(Ln.isCE||Ln.parent&&Lo(Ln.parent)&&Ln.parent.isCE)return"default"!==t&&(n.name=t),qs("slot",n,o&&o());let s=e[t];s&&s._c&&(s._d=!1),Is();const i=s&&rr(s(n)),l=Ds(Os,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function rr(e){return e.some((e=>!Ks(e)||e.type!==Ls&&!(e.type===Os&&!rr(e.children))))?e:null}function sr(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:F(o)]=e[o];return n}const ir=e=>e?di(e)?xi(e)||e.proxy:ir(e.parent):null,lr=l(Object.create(null),{$:e=>e,$el:e=>e.knode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ir(e.parent),$root:e=>ir(e.root),$emit:e=>e.emit,$options:e=>Nr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,bn(e.update)}),$nextTick:e=>e.n||(e.n=vn.bind(e.proxy)),$watch:e=>po.bind(e)}),cr=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),ar={get({_:e},n){if("__k_skip"===n)return!0;const{ctx:o,setupState:r,data:s,props:i,accessCache:l,type:c,appContext:a}=e;let f;if("$"!==n[0]){const c=l[n];if(void 0!==c)switch(c){case 1:return r[n];case 2:return s[n];case 4:return o[n];case 3:return i[n]}else{if(cr(r,n))return l[n]=1,r[n];if(s!==t&&u(s,n))return l[n]=2,s[n];if((f=e.propsOptions[0])&&u(f,n))return l[n]=3,i[n];if(o!==t&&u(o,n))return l[n]=4,o[n];Er&&(l[n]=0)}}const p=lr[n];let d,h;return p?("$attrs"===n&&Re(e.attrs,0,""),p(e)):(d=c.__cssModules)&&(d=d[n])?d:o!==t&&u(o,n)?(l[n]=4,o[n]):(h=a.config.globalProperties,u(h,n)?h[n]:void 0)},set({_:e},n,o){const{data:r,setupState:s,ctx:i}=e;return cr(s,n)?(s[n]=o,!0):r!==t&&u(r,n)?(r[n]=o,!0):!u(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(i[n]=o,!0))},has({_:{data:e,setupState:n,accessCache:o,ctx:r,appContext:s,propsOptions:i}},l){let c;return!!o[l]||e!==t&&u(e,l)||cr(n,l)||(c=i[0])&&u(c,l)||u(r,l)||u(lr,l)||u(s.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ur=l({},ar,{get(e,t){if(t!==Symbol.unscopables)return ar.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!$(t)});function fr(){return null}function pr(){return null}function dr(e){}function hr(e){}function gr(){return null}function mr(){}function _r(e,t){return null}function yr(){return br().slots}function vr(){return br().attrs}function br(){const e=ci();return e.setupContext||(e.setupContext=Ci(e))}function kr(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Cr(e,t){const n=kr(e);for(const o in t){if(o.startsWith("__skip"))continue;let e=n[o];e?f(e)||g(e)?e=n[o]={type:e,default:t[o]}:e.default=t[o]:null===e&&(e=n[o]={default:t[o]}),e&&t[`__skip_${o}`]&&(e.skipFactory=!0)}return n}function xr(e,t){return e&&t?f(e)&&f(t)?e.concat(t):l({},kr(e),kr(t)):e||t}function Sr(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function wr(e){const t=ci();let n=e();return pi(),v(n)&&(n=n.catch((e=>{throw fi(t),e}))),[n,()=>fi(t)]}let Er=!0;function Ar(e){const t=Nr(e),n=e.proxy,r=e.ctx;Er=!1,t.beforeCreate&&Tr(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:l,watch:c,provide:a,inject:u,created:p,beforeMount:d,mounted:h,beforeUpdate:m,updated:_,activated:v,deactivated:b,beforeUnmount:k,unmounted:C,render:x,renderTracked:S,renderTriggered:w,errorCaptured:E,serverPrefetch:A,expose:T,inheritAttrs:O,components:N,directives:L}=t;if(u&&function(e,t){f(e)&&(e=Pr(e));for(const n in e){const o=e[n];let r;r=y(o)?"default"in o?Hr(o.from||n,o.default,!0):Hr(o.from||n):Hr(o),Ut(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,r,null),l)for(const o in l){const e=l[o];g(e)&&(r[o]=e.bind(n))}if(s){const t=s.call(n,n);y(t)&&(e.data=vt(t))}if(Er=!0,i)for(const f in i){const e=i[f],t=g(e)?e.bind(n,n):g(e.get)?e.get.bind(n,n):o,s=!g(e)&&g(e.set)?e.set.bind(n):o,l=wi({get:t,set:s});Object.defineProperty(r,f,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const o in c)Or(c[o],r,n,o);if(a){const e=g(a)?a.call(n):a;Reflect.ownKeys(e).forEach((t=>{Kr(t,e[t])}))}function F(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&Tr(p,e,"c"),F(Wo,d),F(zo,h),F(Go,m),F(qo,_),F(Bo,v),F(jo,b),F(er,E),F(Qo,S),F(Zo,w),F(Jo,k),F(Xo,C),F(Yo,A),f(T))if(T.length){const t=e.exposed||(e.exposed={});T.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===o&&(e.render=x),null!=O&&(e.inheritAttrs=O),N&&(e.components=N),L&&(e.directives=L)}function Tr(e,t,n){cn(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Or(e,t,n,o){const r=o.includes(".")?ho(n,o):()=>n[o];if(m(e)){const n=t[e];g(n)&&uo(r,n)}else if(g(e))uo(r,e.bind(n));else if(y(e))if(f(e))e.forEach((e=>Or(e,t,n,o)));else{const o=g(e.handler)?e.handler.bind(n):t[e.handler];g(o)&&uo(r,o,e)}}function Nr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:r.length||n||o?(c={},r.length&&r.forEach((e=>Lr(c,e,i,!0))),Lr(c,t,i)):c=t,y(t)&&s.set(t,c),c}function Lr(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Lr(e,s,n,!0),r&&r.forEach((t=>Lr(e,t,n,!0)));for(const i in t)if(o&&"expose"===i);else{const o=Fr[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const Fr={data:Rr,props:Br,emits:Br,methods:Mr,computed:Mr,beforeCreate:Ir,created:Ir,beforeMount:Ir,mounted:Ir,beforeUpdate:Ir,updated:Ir,beforeDestroy:Ir,beforeUnmount:Ir,destroyed:Ir,unmounted:Ir,activated:Ir,deactivated:Ir,errorCaptured:Ir,serverPrefetch:Ir,components:Mr,directives:Mr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=l(Object.create(null),e);for(const o in t)n[o]=Ir(e[o],t[o]);return n},provide:Rr,inject:function(e,t){return Mr(Pr(e),Pr(t))}};function Rr(e,t){return t?e?function(){return l(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function Pr(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ir(e,t){return e?[...new Set([].concat(e,t))]:t}function Mr(e,t){return e?l(Object.create(null),e,t):t}function Br(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:l(Object.create(null),kr(e),kr(null!=t?t:{})):t}function jr(){return{app:null,config:{isNativeTag:r,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 Ur=0;function $r(e,t){return function(n,o=null){g(n)||(n=l({},n)),null==o||y(o)||(o=null);const r=jr(),s=new WeakSet;let i=!1;const c=r.app={_uid:Ur++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Li,get config(){return r.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&g(e.install)?(s.add(e),e.install(c,...t)):g(e)&&(s.add(e),e(c,...t))),c),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),c),component:(e,t)=>t?(r.components[e]=t,c):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,c):r.directives[e],mount(s,l,a){if(!i){const u=qs(n,o);return u.appContext=r,!0===a?a="svg":!1===a&&(a=void 0),l&&t?t(u,s):e(u,s,a),i=!0,c._container=s,s.__kdu_app__=c,xi(u.component)||u.component.proxy}},unmount(){i&&(e(null,c._container),delete c._container.__kdu_app__)},provide:(e,t)=>(r.provides[e]=t,c),runWithContext(e){const t=Dr;Dr=c;try{return e()}finally{Dr=t}}};return c}}let Dr=null;function Kr(e,t){if(li){let n=li.provides;const o=li.parent&&li.parent.provides;o===n&&(n=li.provides=Object.create(o)),n[e]=t}else;}function Hr(e,t,n=!1){const o=li||Ln;if(o||Dr){const r=o?null==o.parent?o.knode.appContext&&o.knode.appContext.provides:o.parent.provides:Dr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&g(t)?t.call(o&&o.proxy):t}}function Vr(){return!!(li||Ln||Dr)}const Wr={},zr=()=>Object.create(Wr),Gr=e=>Object.getPrototypeOf(e)===Wr;function qr(e,n,o,r){const[s,i]=e.propsOptions;let l,c=!1;if(n)for(let t in n){if(w(t))continue;const a=n[t];let f;s&&u(s,f=T(t))?i&&i.includes(f)?(l||(l={}))[f]=a:o[f]=a:Nn(e.emitsOptions,t)||t in r&&a===r[t]||(r[t]=a,c=!0)}if(i){const n=Tt(o),r=l||t;for(let t=0;t<i.length;t++){const l=i[t];o[l]=Jr(s,n,l,r[l],e,!u(r,l))}}return c}function Jr(e,t,n,o,r,s){const i=e[n];if(null!=i){const e=u(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&!i.skipFactory&&g(e)){const{propsDefaults:s}=r;if(n in s)o=s[n];else{const i=fi(r);o=s[n]=e.call(null,t),i()}}else o=e}i[0]&&(s&&!e?o=!1:!i[1]||""!==o&&o!==N(n)||(o=!0))}return o}function Xr(e,o,r=!1){const s=o.propsCache,i=s.get(e);if(i)return i;const c=e.props,a={},p=[];let d=!1;if(!g(e)){const t=e=>{d=!0;const[t,n]=Xr(e,o,!0);l(a,t),n&&p.push(...n)};!r&&o.mixins.length&&o.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!d)return y(e)&&s.set(e,n),n;if(f(c))for(let n=0;n<c.length;n++){const e=T(c[n]);Yr(e)&&(a[e]=t)}else if(c)for(const t in c){const e=T(t);if(Yr(e)){const n=c[t],o=a[e]=f(n)||g(n)?{type:n}:l({},n);if(o){const t=es(Boolean,o.type),n=es(String,o.type);o[0]=t>-1,o[1]=n<0||t<n,(t>-1||u(o,"default"))&&p.push(e)}}}const h=[a,p];return y(e)&&s.set(e,h),h}function Yr(e){return"$"!==e[0]&&!w(e)}function Zr(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Qr(e,t){return Zr(e)===Zr(t)}function es(e,t){return f(t)?t.findIndex((t=>Qr(t,e))):g(t)&&Qr(t,e)?0:-1}const ts=e=>"_"===e[0]||"$stable"===e,ns=e=>f(e)?e.map(ei):[ei(e)],os=(e,t,n)=>{if(t._n)return t;const o=Bn(((...e)=>ns(t(...e))),n);return o._c=!1,o},rs=(e,t,n)=>{const o=e._ctx;for(const r in e){if(ts(r))continue;const n=e[r];if(g(n))t[r]=os(0,n,o);else if(null!=n){const e=ns(n);t[r]=()=>e}}},ss=(e,t)=>{const n=ns(t);e.slots.default=()=>n},is=(e,t)=>{const n=e.slots=zr();if(32&e.knode.shapeFlag){const e=t._;e?(l(n,t),I(n,"_",e,!0)):rs(t,n)}else t&&ss(e,t)},ls=(e,n,o)=>{const{knode:r,slots:s}=e;let i=!0,c=t;if(32&r.shapeFlag){const e=n._;e?o&&1===e?i=!1:(l(s,n),o||1!==e||delete s._):(i=!n.$stable,rs(n,s)),c=n}else n&&(ss(e,n),c={default:1});if(i)for(const t in s)ts(t)||null!=c[t]||delete s[t]};function cs(e,n,o,r,s=!1){if(f(e))return void e.forEach(((e,t)=>cs(e,n&&(f(n)?n[t]:n),o,r,s)));if(Lo(r)&&!s)return;const i=4&r.shapeFlag?xi(r.component)||r.component.proxy:r.el,l=s?null:i,{i:a,r:p}=e,d=n&&n.r,h=a.refs===t?a.refs={}:a.refs,_=a.setupState;if(null!=d&&d!==p&&(m(d)?(h[d]=null,u(_,d)&&(_[d]=null)):Ut(d)&&(d.value=null)),g(p))ln(p,a,12,[l,h]);else{const t=m(p),n=Ut(p);if(t||n){const r=()=>{if(e.f){const n=t?u(_,p)?_[p]:h[p]:p.value;s?f(n)&&c(n,i):f(n)?n.includes(i)||n.push(i):t?(h[p]=[i],u(_,p)&&(_[p]=h[p])):(p.value=[i],e.k&&(h[e.k]=p.value))}else t?(h[p]=l,u(_,p)&&(_[p]=l)):n&&(p.value=l,e.k&&(h[e.k]=l))};l?(r.id=-1,ds(r,o)):r()}}}let as=!1;const us=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,fs=e=>8===e.nodeType;function ps(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:i,parentNode:l,remove:c,insert:a,createComment:u}}=e,f=(n,o,s,c,u,v=!1)=>{v=v||!!o.dynamicChildren;const b=fs(n)&&"["===n.data,k=()=>g(n,o,s,c,u,b),{type:C,ref:x,shapeFlag:S,patchFlag:w}=o;let E=n.nodeType;o.el=n,-2===w&&(v=!1,o.dynamicChildren=null);let A=null;switch(C){case Ns:3!==E?""===o.children?(a(o.el=r(""),l(n),n),A=n):A=k():(n.data!==o.children&&(as=!0,n.data=o.children),A=i(n));break;case Ls:y(n)?(A=i(n),_(o.el=n.content.firstChild,n,s)):A=8!==E||b?k():i(n);break;case Fs:if(b&&(E=(n=i(n)).nodeType),1===E||3===E){A=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=1===A.nodeType?A.outerHTML:A.data),t===o.staticCount-1&&(o.anchor=A),A=i(A);return b?i(A):A}k();break;case Os:A=b?h(n,o,s,c,u,v):k();break;default:if(1&S)A=1===E&&o.type.toLowerCase()===n.tagName.toLowerCase()||y(n)?p(n,o,s,c,u,v):k();else if(6&S){o.slotScopeIds=u;const e=l(n);if(A=b?m(n):fs(n)&&"teleport start"===n.data?m(n,n.data,"teleport end"):i(n),t(o,e,null,s,c,us(e),v),Lo(o)){let t;b?(t=qs(Os),t.anchor=A?A.previousSibling:e.lastChild):t=3===n.nodeType?Ys(""):qs("div"),t.el=n,o.component.subTree=t}}else 64&S?A=8!==E?k():o.type.hydrate(n,o,s,c,u,v,e,d):128&S&&(A=o.type.hydrate(n,o,s,c,us(l(n)),u,v,e,f))}return null!=x&&cs(x,null,c,o),A},p=(e,t,n,r,i,l)=>{l=l||!!t.dynamicChildren;const{type:a,props:u,patchFlag:f,shapeFlag:p,dirs:h,transition:g}=t,m="input"===a||"option"===a;if(m||-1!==f){h&&_o(t,null,n,"created");let a,v=!1;if(y(e)){v=vs(r,g)&&n&&n.knode.props&&n.knode.props.appear;const o=e.content.firstChild;v&&g.beforeEnter(o),_(o,e,n),t.el=e=o}if(16&p&&(!u||!u.innerHTML&&!u.textContent)){let o=d(e.firstChild,t,e,n,r,i,l);for(;o;){as=!0;const e=o;o=o.nextSibling,c(e)}}else 8&p&&e.textContent!==t.children&&(as=!0,e.textContent=t.children);if(u)if(m||!l||48&f)for(const t in u)(m&&(t.endsWith("value")||"indeterminate"===t)||s(t)&&!w(t)||"."===t[0])&&o(e,t,null,u[t],void 0,void 0,n);else u.onClick&&o(e,"onClick",null,u.onClick,void 0,void 0,n);(a=u&&u.onKnodeBeforeMount)&&ri(a,n,t),h&&_o(t,null,n,"beforeMount"),((a=u&&u.onKnodeMounted)||h||v)&&no((()=>{a&&ri(a,n,t),v&&g.enter(e),h&&_o(t,null,n,"mounted")}),r)}return e.nextSibling},d=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,a=c.length;for(let u=0;u<a;u++){const t=l?c[u]:c[u]=ei(c[u]);if(e)e=f(e,t,r,s,i,l);else{if(t.type===Ns&&!t.children)continue;as=!0,n(null,t,o,null,r,s,us(o),i)}}return e},h=(e,t,n,o,r,s)=>{const{slotScopeIds:c}=t;c&&(r=r?r.concat(c):c);const f=l(e),p=d(i(e),t,f,n,o,r,s);return p&&fs(p)&&"]"===p.data?i(t.anchor=p):(as=!0,a(t.anchor=u("]"),f,p),p)},g=(e,t,o,r,s,a)=>{if(as=!0,t.el=null,a){const t=m(e);for(;;){const n=i(e);if(!n||n===t)break;c(n)}}const u=i(e),f=l(e);return c(e),n(null,t,f,u,o,r,us(f),s),u},m