(function(Me,$e){typeof exports=="object"&&typeof module<"u"?$e(exports):typeof define=="function"&&define.amd?define(["exports"],$e):(Me=typeof globalThis<"u"?globalThis:Me||self,$e(Me.TedirCalendar={}))})(this,function(Me){"use strict";function $e(e,t){const o=Object.create(null),r=e.split(",");for(let a=0;a!!o[a.toLowerCase()]:a=>!!o[a]}function ao(e){if(P(e)){const t={};for(let o=0;o{if(o){const r=o.split(Jn);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ze(e){let t="";if(ae(e))t=e;else if(P(e))for(let o=0;ono(o,t))}const Re=e=>ae(e)?e:e==null?"":P(e)||J(e)&&(e.toString===Qr||!L(e.toString))?JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>t&&t.__v_isRef?Jr(e,t.value):lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[r,a])=>(o[`${r} =>`]=a,o),{})}:lo(t)?{[`Set(${t.size})`]:[...t.values()]}:J(t)&&!P(t)&&!ea(t)?String(t):t,Z=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Dt=process.env.NODE_ENV!=="production"?Object.freeze([]):[],ce=()=>{},Zr=()=>!1,oi=/^on[^a-z]/,Ft=e=>oi.test(e),io=e=>e.startsWith("onUpdate:"),ne=Object.assign,er=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},ri=Object.prototype.hasOwnProperty,z=(e,t)=>ri.call(e,t),P=Array.isArray,lt=e=>jt(e)==="[object Map]",lo=e=>jt(e)==="[object Set]",Xr=e=>jt(e)==="[object Date]",L=e=>typeof e=="function",ae=e=>typeof e=="string",At=e=>typeof e=="symbol",J=e=>e!==null&&typeof e=="object",tr=e=>J(e)&&L(e.then)&&L(e.catch),Qr=Object.prototype.toString,jt=e=>Qr.call(e),or=e=>jt(e).slice(8,-1),ea=e=>jt(e)==="[object Object]",rr=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,so=$e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ai=$e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),co=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},ni=/-(\w)/g,Ue=co(e=>e.replace(ni,(t,o)=>o?o.toUpperCase():"")),ii=/\B([A-Z])/g,ye=co(e=>e.replace(ii,"-$1").toLowerCase()),uo=co(e=>e.charAt(0).toUpperCase()+e.slice(1)),st=co(e=>e?`on${uo(e)}`:""),Ht=(e,t)=>!Object.is(e,t),Et=(e,t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:o})},po=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ta=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let oa;const ra=()=>oa||(oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ar(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ce;class di{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ce,!t&&Ce&&(this.index=(Ce.scopes||(Ce.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const o=Ce;try{return Ce=this,t()}finally{Ce=o}}else process.env.NODE_ENV!=="production"&&ar("cannot run an inactive effect scope.")}on(){Ce=this}off(){Ce=this.parent}stop(t){if(this._active){let o,r;for(o=0,r=this.effects.length;o{const t=new Set(e);return t.w=0,t.n=0,t},aa=e=>(e.w&Xe)>0,na=e=>(e.n&Xe)>0,ci=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let o=0;for(let r=0;r{(f==="length"||f>=u)&&d.push(p)})}else switch(o!==void 0&&d.push(i.get(o)),t){case"add":P(e)?rr(o)&&d.push(i.get("length")):(d.push(i.get(ct)),lt(e)&&d.push(i.get(dr)));break;case"delete":P(e)||(d.push(i.get(ct)),lt(e)&&d.push(i.get(dr)));break;case"set":lt(e)&&d.push(i.get(ct));break}const s=process.env.NODE_ENV!=="production"?{target:e,type:t,key:o,newValue:r,oldValue:a,oldTarget:n}:void 0;if(d.length===1)d[0]&&(process.env.NODE_ENV!=="production"?Ct(d[0],s):Ct(d[0]));else{const u=[];for(const p of d)p&&u.push(...p);process.env.NODE_ENV!=="production"?Ct(Bt(u),s):Ct(Bt(u))}}function Ct(e,t){const o=P(e)?e:[...e];for(const r of o)r.computed&&la(r,t);for(const r of o)r.computed||la(r,t)}function la(e,t){(e!==he||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(ne({effect:e},t)),e.scheduler?e.scheduler():e.run())}const fi=$e("__proto__,__v_isRef,__isVue"),sa=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At)),pi=ho(),hi=ho(!1,!0),mi=ho(!0),vi=ho(!0,!0),ca=gi();function gi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...o){const r=U(this);for(let n=0,i=this.length;n{e[t]=function(...o){ut();const r=U(this)[t].apply(this,o);return ft(),r}}),e}function bi(e){const t=U(this);return me(t,"has",e),t.hasOwnProperty(e)}function ho(e=!1,t=!1){return function(r,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return t;if(a==="__v_raw"&&n===(e?t?ya:_a:t?wa:ka).get(r))return r;const i=P(r);if(!e){if(i&&z(ca,a))return Reflect.get(ca,a,n);if(a==="hasOwnProperty")return bi}const d=Reflect.get(r,a,n);return(At(a)?sa.has(a):fi(a))||(e||me(r,"get",a),t)?d:le(d)?i&&rr(a)?d:d.value:J(d)?e?Na(d):ur(d):d}}const ki=ua(),wi=ua(!0);function ua(e=!1){return function(o,r,a,n){let i=o[r];if(tt(i)&&le(i)&&!le(a))return!1;if(!e&&(!No(a)&&!tt(a)&&(i=U(i),a=U(a)),!P(o)&&le(i)&&!le(a)))return i.value=a,!0;const d=P(o)&&rr(r)?Number(r)e,mo=e=>Reflect.getPrototypeOf(e);function vo(e,t,o=!1,r=!1){e=e.__v_raw;const a=U(e),n=U(t);o||(t!==n&&me(a,"get",t),me(a,"get",n));const{has:i}=mo(a),d=r?cr:o?pr:Rt;if(i.call(a,t))return d(e.get(t));if(i.call(a,n))return d(e.get(n));e!==a&&e.get(t)}function go(e,t=!1){const o=this.__v_raw,r=U(o),a=U(e);return t||(e!==a&&me(r,"has",e),me(r,"has",a)),e===a?o.has(e):o.has(e)||o.has(a)}function bo(e,t=!1){return e=e.__v_raw,!t&&me(U(e),"iterate",ct),Reflect.get(e,"size",e)}function ha(e){e=U(e);const t=U(this);return mo(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function ma(e,t){t=U(t);const o=U(this),{has:r,get:a}=mo(o);let n=r.call(o,e);n?process.env.NODE_ENV!=="production"&&ba(o,r,e):(e=U(e),n=r.call(o,e));const i=a.call(o,e);return o.set(e,t),n?Ht(t,i)&&ze(o,"set",e,t,i):ze(o,"add",e,t),this}function va(e){const t=U(this),{has:o,get:r}=mo(t);let a=o.call(t,e);a?process.env.NODE_ENV!=="production"&&ba(t,o,e):(e=U(e),a=o.call(t,e));const n=r?r.call(t,e):void 0,i=t.delete(e);return a&&ze(t,"delete",e,void 0,n),i}function ga(){const e=U(this),t=e.size!==0,o=process.env.NODE_ENV!=="production"?lt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&ze(e,"clear",void 0,void 0,o),r}function ko(e,t){return function(r,a){const n=this,i=n.__v_raw,d=U(i),s=t?cr:e?pr:Rt;return!e&&me(d,"iterate",ct),i.forEach((u,p)=>r.call(a,s(u),s(p),n))}}function wo(e,t,o){return function(...r){const a=this.__v_raw,n=U(a),i=lt(n),d=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,u=a[e](...r),p=o?cr:t?pr:Rt;return!t&&me(n,"iterate",s?dr:ct),{next(){const{value:f,done:b}=u.next();return b?{value:f,done:b}:{value:d?[p(f[0]),p(f[1])]:p(f),done:b}},[Symbol.iterator](){return this}}}}function et(e){return function(...t){if(process.env.NODE_ENV!=="production"){const o=t[0]?`on key "${t[0]}" `:"";console.warn(`${uo(e)} operation ${o}failed: target is readonly.`,U(this))}return e==="delete"?!1:this}}function Ei(){const e={get(n){return vo(this,n)},get size(){return bo(this)},has:go,add:ha,set:ma,delete:va,clear:ga,forEach:ko(!1,!1)},t={get(n){return vo(this,n,!1,!0)},get size(){return bo(this)},has:go,add:ha,set:ma,delete:va,clear:ga,forEach:ko(!1,!0)},o={get(n){return vo(this,n,!0)},get size(){return bo(this,!0)},has(n){return go.call(this,n,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:ko(!0,!1)},r={get(n){return vo(this,n,!0,!0)},get size(){return bo(this,!0)},has(n){return go.call(this,n,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:ko(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(n=>{e[n]=wo(n,!1,!1),o[n]=wo(n,!0,!1),t[n]=wo(n,!1,!0),r[n]=wo(n,!0,!0)}),[e,o,t,r]}const[Ci,Oi,Ii,Ti]=Ei();function _o(e,t){const o=t?e?Ti:Ii:e?Oi:Ci;return(r,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(z(o,a)&&a in r?o:r,a,n)}const Vi={get:_o(!1,!1)},Mi={get:_o(!1,!0)},$i={get:_o(!0,!1)},Pi={get:_o(!0,!0)};function ba(e,t,o){const r=U(o);if(r!==o&&t.call(e,r)){const a=or(e);console.warn(`Reactive ${a} contains both the raw and reactive versions of the same object${a==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const ka=new WeakMap,wa=new WeakMap,_a=new WeakMap,ya=new WeakMap;function Si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fi(e){return e.__v_skip||!Object.isExtensible(e)?0:Si(or(e))}function ur(e){return tt(e)?e:yo(e,!1,fa,Vi,ka)}function Ai(e){return yo(e,!1,xi,Mi,wa)}function Na(e){return yo(e,!0,pa,$i,_a)}function Ot(e){return yo(e,!0,Di,Pi,ya)}function yo(e,t,o,r,a){if(!J(e))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const n=a.get(e);if(n)return n;const i=Fi(e);if(i===0)return e;const d=new Proxy(e,i===2?r:o);return a.set(e,d),d}function pt(e){return tt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function tt(e){return!!(e&&e.__v_isReadonly)}function No(e){return!!(e&&e.__v_isShallow)}function fr(e){return pt(e)||tt(e)}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function xa(e){return fo(e,"__v_skip",!0),e}const Rt=e=>J(e)?ur(e):e,pr=e=>J(e)?Na(e):e;function Da(e){Qe&&he&&(e=U(e),process.env.NODE_ENV!=="production"?sr(e.dep||(e.dep=Bt()),{target:e,type:"get",key:"value"}):sr(e.dep||(e.dep=Bt())))}function Ea(e,t){e=U(e);const o=e.dep;o&&(process.env.NODE_ENV!=="production"?Ct(o,{target:e,type:"set",key:"value",newValue:t}):Ct(o))}function le(e){return!!(e&&e.__v_isRef===!0)}function q(e){return ji(e,!1)}function ji(e,t){return le(e)?e:new Hi(e,t)}class Hi{constructor(t,o){this.__v_isShallow=o,this.dep=void 0,this.__v_isRef=!0,this._rawValue=o?t:U(t),this._value=o?t:Rt(t)}get value(){return Da(this),this._value}set value(t){const o=this.__v_isShallow||No(t)||tt(t);t=o?t:U(t),Ht(t,this._rawValue)&&(this._rawValue=t,this._value=o?t:Rt(t),Ea(this,t))}}function De(e){return le(e)?e.value:e}const Bi={get:(e,t,o)=>De(Reflect.get(e,t,o)),set:(e,t,o,r)=>{const a=e[t];return le(a)&&!le(o)?(a.value=o,!0):Reflect.set(e,t,o,r)}};function Ca(e){return pt(e)?e:new Proxy(e,Bi)}var Oa;class Li{constructor(t,o,r,a){this._setter=o,this.dep=void 0,this.__v_isRef=!0,this[Oa]=!1,this._dirty=!0,this.effect=new lr(t,()=>{this._dirty||(this._dirty=!0,Ea(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=r}get value(){const t=U(this);return Da(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Oa="__v_isReadonly";function Ri(e,t,o=!1){let r,a;const n=L(e);n?(r=e,a=process.env.NODE_ENV!=="production"?()=>{console.warn("Write operation failed: computed value is readonly")}:ce):(r=e.get,a=e.set);const i=new Li(r,a,n||!a,o);return process.env.NODE_ENV!=="production"&&t&&!o&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}const ht=[];function xo(e){ht.push(e)}function Do(){ht.pop()}function _(e,...t){if(process.env.NODE_ENV==="production")return;ut();const o=ht.length?ht[ht.length-1].component:null,r=o&&o.appContext.config.warnHandler,a=Ui();if(r)Ke(r,o,11,[e+t.join(""),o&&o.proxy,a.map(({vnode:n})=>`at <${Ko(o,n.type)}>`).join(` `),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push(` `,...zi(a)),console.warn(...n)}ft()}function Ui(){let e=ht[ht.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function zi(e){const t=[];return e.forEach((o,r)=>{t.push(...r===0?[]:[` `],...Ki(o))}),t}function Ki({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,a=` at <${Ko(e.component,e.type,r)}`,n=">"+o;return e.props?[a,...Yi(e.props),n]:[a+n]}function Yi(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(r=>{t.push(...Ia(r,e[r]))}),o.length>3&&t.push(" ..."),t}function Ia(e,t,o){return ae(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:le(t)?(t=Ia(e,U(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):L(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=U(t),o?t:[`${e}=`,t])}const hr={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Ke(e,t,o,r){let a;try{a=r?e(...r):e()}catch(n){Eo(n,t,o)}return a}function Oe(e,t,o,r){if(L(e)){const n=Ke(e,t,o,r);return n&&tr(n)&&n.catch(i=>{Eo(i,t,o)}),n}const a=[];for(let n=0;n>>1;zt(pe[r])Pe&&pe.splice(t,1)}function $a(e){P(e)?It.push(...e):(!Se||!Se.includes(e,e.allowRecurse?ot+1:ot))&&It.push(e),Ma()}function Pa(e,t=Ut?Pe+1:0){for(process.env.NODE_ENV!=="production"&&(e=e||new Map);tzt(o)-zt(r)),ot=0;ote.id==null?1/0:e.id,Zi=(e,t)=>{const o=zt(e)-zt(t);if(o===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return o};function Fa(e){mr=!1,Ut=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),pe.sort(Zi);const t=process.env.NODE_ENV!=="production"?o=>gr(e,o):ce;try{for(Pe=0;PeGi){const r=t.ownerInstance,a=r&&Nn(r.type);return _(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,o+1)}}let mt=!1;const Tt=new Set;process.env.NODE_ENV!=="production"&&(ra().__VUE_HMR_RUNTIME__={createRecord:br(Aa),rerender:br(ed),reload:br(td)});const vt=new Map;function Xi(e){const t=e.type.__hmrId;let o=vt.get(t);o||(Aa(t,e.type),o=vt.get(t)),o.instances.add(e)}function Qi(e){vt.get(e.type.__hmrId).instances.delete(e)}function Aa(e,t){return vt.has(e)?!1:(vt.set(e,{initialDef:Kt(t),instances:new Set}),!0)}function Kt(e){return xn(e)?e.__vccOpts:e}function ed(e,t){const o=vt.get(e);o&&(o.initialDef.render=t,[...o.instances].forEach(r=>{t&&(r.render=t,Kt(r.type).render=t),r.renderCache=[],mt=!0,r.update(),mt=!1}))}function td(e,t){const o=vt.get(e);if(!o)return;t=Kt(t),ja(o.initialDef,t);const r=[...o.instances];for(const a of r){const n=Kt(a.type);Tt.has(n)||(n!==o.initialDef&&ja(n,t),Tt.add(n)),a.appContext.optionsCache.delete(a.type),a.ceReload?(Tt.add(n),a.ceReload(t.styles),Tt.delete(n)):a.parent?Co(a.parent.update):a.appContext.reload?a.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}$a(()=>{for(const a of r)Tt.delete(Kt(a.type))})}function ja(e,t){ne(e,t);for(const o in e)o!=="__file"&&!(o in t)&&delete e[o]}function br(e){return(t,o)=>{try{return e(t,o)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Fe,Yt=[],kr=!1;function Wt(e,...t){Fe?Fe.emit(e,...t):kr||Yt.push({event:e,args:t})}function Ha(e,t){var o,r;Fe=e,Fe?(Fe.enabled=!0,Yt.forEach(({event:a,args:n})=>Fe.emit(a,...n)),Yt=[]):typeof window<"u"&&window.HTMLElement&&!(!((r=(o=window.navigator)===null||o===void 0?void 0:o.userAgent)===null||r===void 0)&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(n=>{Ha(n,t)}),setTimeout(()=>{Fe||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,kr=!0,Yt=[])},3e3)):(kr=!0,Yt=[])}function od(e,t){Wt("app:init",e,t,{Fragment:se,Text:Jt,Comment:xe,Static:Lo})}function rd(e){Wt("app:unmount",e)}const ad=wr("component:added"),Ba=wr("component:updated"),nd=wr("component:removed"),id=e=>{Fe&&typeof Fe.cleanupBuffer=="function"&&!Fe.cleanupBuffer(e)&&nd(e)};function wr(e){return t=>{Wt(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const dd=La("perf:start"),ld=La("perf:end");function La(e){return(t,o,r)=>{Wt(e,t.appContext.app,t.uid,t,o,r)}}function sd(e,t,o){Wt("component:emit",e.appContext.app,e,t,o)}function cd(e,t,...o){if(e.isUnmounted)return;const r=e.vnode.props||Z;if(process.env.NODE_ENV!=="production"){const{emitsOptions:p,propsOptions:[f]}=e;if(p)if(!(t in p))(!f||!(st(t)in f))&&_(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${st(t)}" prop.`);else{const b=p[t];L(b)&&(b(...o)||_(`Invalid event arguments: event validation failed for event "${t}".`))}}let a=o;const n=t.startsWith("update:"),i=n&&t.slice(7);if(i&&i in r){const p=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:b}=r[p]||Z;b&&(a=o.map(O=>ae(O)?O.trim():O)),f&&(a=o.map(po))}if(process.env.NODE_ENV!=="production"&&sd(e,t,a),process.env.NODE_ENV!=="production"){const p=t.toLowerCase();p!==t&&r[st(p)]&&_(`Event "${p}" is emitted in component ${Ko(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ye(t)}" instead of "${t}".`)}let d,s=r[d=st(t)]||r[d=st(Ue(t))];!s&&n&&(s=r[d=st(ye(t))]),s&&Oe(s,e,6,a);const u=r[d+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[d])return;e.emitted[d]=!0,Oe(u,e,6,a)}}function Ra(e,t,o=!1){const r=t.emitsCache,a=r.get(e);if(a!==void 0)return a;const n=e.emits;let i={},d=!1;if(!L(e)){const s=u=>{const p=Ra(u,t,!0);p&&(d=!0,ne(i,p))};!o&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!n&&!d?(J(e)&&r.set(e,null),null):(P(n)?n.forEach(s=>i[s]=null):ne(i,n),J(e)&&r.set(e,i),i)}function Oo(e,t){return!e||!Ft(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,ye(t))||z(e,t))}let Ne=null,Io=null;function To(e){const t=Ne;return Ne=e,Io=e&&e.type.__scopeId||null,t}function Vo(e){Io=e}function Mo(){Io=null}function ud(e,t=Ne,o){if(!t||e._n)return e;const r=(...a)=>{r._d&&hn(-1);const n=To(t);let i;try{i=e(...a)}finally{To(n),r._d&&hn(1)}return process.env.NODE_ENV!=="production"&&Ba(t),i};return r._n=!0,r._c=!0,r._d=!0,r}let _r=!1;function $o(){_r=!0}function yr(e){const{type:t,vnode:o,proxy:r,withProxy:a,props:n,propsOptions:[i],slots:d,attrs:s,emit:u,render:p,renderCache:f,data:b,setupState:O,ctx:H,inheritAttrs:E}=e;let M,B;const ee=To(e);process.env.NODE_ENV!=="production"&&(_r=!1);try{if(o.shapeFlag&4){const $=a||r;M=Te(p.call($,$,f,n,O,b,H)),B=s}else{const $=t;process.env.NODE_ENV!=="production"&&s===n&&$o(),M=Te($.length>1?$(n,process.env.NODE_ENV!=="production"?{get attrs(){return $o(),s},slots:d,emit:u}:{attrs:s,slots:d,emit:u}):$(n,null)),B=t.props?s:pd(s)}}catch($){Zt.length=0,Eo($,e,1),M=Ee(xe)}let Y=M,F;if(process.env.NODE_ENV!=="production"&&M.patchFlag>0&&M.patchFlag&2048&&([Y,F]=fd(M)),B&&E!==!1){const $=Object.keys(B),{shapeFlag:D}=Y;if($.length){if(D&7)i&&$.some(io)&&(B=hd(B,i)),Y=at(Y,B);else if(process.env.NODE_ENV!=="production"&&!_r&&Y.type!==xe){const j=Object.keys(s),A=[],C=[];for(let V=0,we=j.length;V renders non-element root node that cannot be animated."),Y.transition=o.transition),process.env.NODE_ENV!=="production"&&F?F(Y):M=Y,To(ee),M}const fd=e=>{const t=e.children,o=e.dynamicChildren,r=Ua(t);if(!r)return[e,void 0];const a=t.indexOf(r),n=o?o.indexOf(r):-1,i=d=>{t[a]=d,o&&(n>-1?o[n]=d:d.patchFlag>0&&(e.dynamicChildren=[...o,d]))};return[Te(r),i]};function Ua(e){let t;for(let o=0;o{let t;for(const o in e)(o==="class"||o==="style"||Ft(o))&&((t||(t={}))[o]=e[o]);return t},hd=(e,t)=>{const o={};for(const r in e)(!io(r)||!(r.slice(9)in t))&&(o[r]=e[r]);return o},za=e=>e.shapeFlag&7||e.type===xe;function md(e,t,o){const{props:r,children:a,component:n}=e,{props:i,children:d,patchFlag:s}=t,u=n.emitsOptions;if(process.env.NODE_ENV!=="production"&&(a||d)&&mt||t.dirs||t.transition)return!0;if(o&&s>=0){if(s&1024)return!0;if(s&16)return r?Ka(r,i,u):!!i;if(s&8){const p=t.dynamicProps;for(let f=0;fe.__isSuspense;function bd(e,t){t&&t.pendingBranch?P(e)?t.effects.push(...e):t.effects.push(e):$a(e)}function kd(e,t){if(!ie)process.env.NODE_ENV!=="production"&&_("provide() can only be used inside setup().");else{let o=ie.provides;const r=ie.parent&&ie.parent.provides;r===o&&(o=ie.provides=Object.create(r)),o[e]=t}}function Po(e,t,o=!1){const r=ie||Ne;if(r){const a=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return o&&L(t)?t.call(r.proxy):t;process.env.NODE_ENV!=="production"&&_(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&_("inject() can only be used inside setup() or functional components.")}const So={};function ue(e,t,o){return process.env.NODE_ENV!=="production"&&!L(t)&&_("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Ya(e,t,o)}function Ya(e,t,{immediate:o,deep:r,flush:a,onTrack:n,onTrigger:i}=Z){process.env.NODE_ENV!=="production"&&!t&&(o!==void 0&&_('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&_('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const d=F=>{_("Invalid watch source: ",F,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},s=si()===(ie==null?void 0:ie.scope)?ie:null;let u,p=!1,f=!1;if(le(e)?(u=()=>e.value,p=No(e)):pt(e)?(u=()=>e,r=!0):P(e)?(f=!0,p=e.some(F=>pt(F)||No(F)),u=()=>e.map(F=>{if(le(F))return F.value;if(pt(F))return gt(F);if(L(F))return Ke(F,s,2);process.env.NODE_ENV!=="production"&&d(F)})):L(e)?t?u=()=>Ke(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return b&&b(),Oe(e,s,3,[O])}:(u=ce,process.env.NODE_ENV!=="production"&&d(e)),t&&r){const F=u;u=()=>gt(F())}let b,O=F=>{b=ee.onStop=()=>{Ke(F,s,4)}},H;if(eo)if(O=ce,t?o&&Oe(t,s,3,[u(),f?[]:void 0,O]):u(),a==="sync"){const F=xl();H=F.__watcherHandles||(F.__watcherHandles=[])}else return ce;let E=f?new Array(e.length).fill(So):So;const M=()=>{if(ee.active)if(t){const F=ee.run();(r||p||(f?F.some(($,D)=>Ht($,E[D])):Ht(F,E)))&&(b&&b(),Oe(t,s,3,[F,E===So?void 0:f&&E[0]===So?[]:E,O]),E=F)}else ee.run()};M.allowRecurse=!!t;let B;a==="sync"?B=M:a==="post"?B=()=>ke(M,s&&s.suspense):(M.pre=!0,s&&(M.id=s.uid),B=()=>Co(M));const ee=new lr(u,B);process.env.NODE_ENV!=="production"&&(ee.onTrack=n,ee.onTrigger=i),t?o?M():E=ee.run():a==="post"?ke(ee.run.bind(ee),s&&s.suspense):ee.run();const Y=()=>{ee.stop(),s&&s.scope&&er(s.scope.effects,ee)};return H&&H.push(Y),Y}function wd(e,t,o){const r=this.proxy,a=ae(e)?e.includes(".")?Wa(r,e):()=>r[e]:e.bind(r,r);let n;L(t)?n=t:(n=t.handler,o=t);const i=ie;Vt(this);const d=Ya(a,n.bind(r),o);return i?Vt(i):yt(),d}function Wa(e,t){const o=t.split(".");return()=>{let r=e;for(let a=0;a{gt(o,t)});else if(ea(e))for(const o in e)gt(e[o],t);return e}function Gt(e){return L(e)?{setup:e,name:e.name}:e}const Fo=e=>!!e.type.__asyncLoader,Nr=e=>e.type.__isKeepAlive;function _d(e,t){Ga(e,"a",t)}function yd(e,t){Ga(e,"da",t)}function Ga(e,t,o=ie){const r=e.__wdc||(e.__wdc=()=>{let a=o;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Ao(t,r,o),o){let a=o.parent;for(;a&&a.parent;)Nr(a.parent.vnode)&&Nd(r,t,o,a),a=a.parent}}function Nd(e,t,o,r){const a=Ao(t,e,r,!0);qa(()=>{er(r[t],a)},o)}function Ao(e,t,o=ie,r=!1){if(o){const a=o[e]||(o[e]=[]),n=t.__weh||(t.__weh=(...i)=>{if(o.isUnmounted)return;ut(),Vt(o);const d=Oe(t,o,e,i);return yt(),ft(),d});return r?a.unshift(n):a.push(n),n}else if(process.env.NODE_ENV!=="production"){const a=st(hr[e].replace(/ hook$/,""));_(`${a} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Ye=e=>(t,o=ie)=>(!eo||e==="sp")&&Ao(e,(...r)=>t(...r),o),xd=Ye("bm"),Dd=Ye("m"),Ed=Ye("bu"),Cd=Ye("u"),Od=Ye("bum"),qa=Ye("um"),Id=Ye("sp"),Td=Ye("rtg"),Vd=Ye("rtc");function Md(e,t=ie){Ao("ec",e,t)}function Ja(e){ai(e)&&_("Do not use built-in directive ids as custom directive id: "+e)}function Ae(e,t){const o=Ne;if(o===null)return process.env.NODE_ENV!=="production"&&_("withDirectives can only be used inside render functions."),e;const r=zo(o)||o.proxy,a=e.dirs||(e.dirs=[]);for(let n=0;nt(i,d,void 0,n&&n[d]));else{const i=Object.keys(e);a=new Array(i.length);for(let d=0,s=i.length;de?kn(e)?zo(e)||e.proxy:xr(e.parent):null,kt=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Ot(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Ot(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Ot(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Ot(e.refs):e.refs,$parent:e=>xr(e.parent),$root:e=>xr(e.root),$emit:e=>e.emit,$options:e=>Or(e),$forceUpdate:e=>e.f||(e.f=()=>Co(e.update)),$nextTick:e=>e.n||(e.n=Va.bind(e.proxy)),$watch:e=>wd.bind(e)}),Dr=e=>e==="_"||e==="$",Er=(e,t)=>e!==Z&&!e.__isScriptSetup&&z(e,t),Za={get({_:e},t){const{ctx:o,setupState:r,data:a,props:n,accessCache:i,type:d,appContext:s}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let u;if(t[0]!=="$"){const O=i[t];if(O!==void 0)switch(O){case 1:return r[t];case 2:return a[t];case 4:return o[t];case 3:return n[t]}else{if(Er(r,t))return i[t]=1,r[t];if(a!==Z&&z(a,t))return i[t]=2,a[t];if((u=e.propsOptions[0])&&z(u,t))return i[t]=3,n[t];if(o!==Z&&z(o,t))return i[t]=4,o[t];Cr&&(i[t]=0)}}const p=kt[t];let f,b;if(p)return t==="$attrs"&&(me(e,"get",t),process.env.NODE_ENV!=="production"&&$o()),p(e);if((f=d.__cssModules)&&(f=f[t]))return f;if(o!==Z&&z(o,t))return i[t]=4,o[t];if(b=s.config.globalProperties,z(b,t))return b[t];process.env.NODE_ENV!=="production"&&Ne&&(!ae(t)||t.indexOf("__v")!==0)&&(a!==Z&&Dr(t[0])&&z(a,t)?_(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Ne&&_(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:r,setupState:a,ctx:n}=e;return Er(a,t)?(a[t]=o,!0):process.env.NODE_ENV!=="production"&&a.__isScriptSetup&&z(a,t)?(_(`Cannot mutate