@event-calendar/build 5.1.2 → 5.1.4
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* EventCalendar v5.1.
|
|
2
|
+
* EventCalendar v5.1.4
|
|
3
3
|
* https://github.com/vkurko/calendar
|
|
4
4
|
*/
|
|
5
|
-
var EventCalendar=(function(Kn){"use strict";var yi=Array.isArray,po=Array.prototype.indexOf,Zn=Array.from,wi=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,_o=Object.getOwnPropertyDescriptors,yo=Object.prototype,wo=Array.prototype,bi=Object.getPrototypeOf,ki=Object.isExtensible;const Yt=()=>{};function bo(e){for(var t=0;t<e.length;t++)e[t]()}function Ci(){var e,t,r=new Promise((i,s)=>{e=i,t=s});return{promise:r,resolve:e,reject:t}}function ko(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const r=[];for(const i of e)if(r.push(i),r.length===t)break;return r}const Ue=2,Er=4,Jn=8,Di=1<<24,Mt=16,At=32,en=64,Qn=128,_t=512,Ve=1024,it=2048,Dt=4096,st=8192,Ot=16384,Tr=32768,Gt=65536,Ei=1<<17,Ti=1<<18,mn=1<<19,xi=1<<20,Nt=1<<25,tn=32768,xr=1<<21,Sr=1<<22,qt=1<<23,Rn=Symbol("$state"),Co=Symbol("legacy props"),Do=Symbol(""),pn=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function Si(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Eo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function To(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function xo(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function So(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ro(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Io(){throw new Error("https://svelte.dev/e/get_abort_signal_outside_reaction")}function Lo(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Po(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Mo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ao(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Oo(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const No=1,Fo=2,Ri=4,Ho=8,Uo=16,Wo=1,zo=4,Vo=8,Bo=16,Yo=1,Go=2,Be=Symbol(),qo="http://www.w3.org/1999/xhtml";function Xo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Ii(e){return e===this.v}function Ko(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Li(e){return!Ko(e,this.v)}let Gf=!1,Ye=null;function _n(e){Ye=e}function te(e){return Mi().get(e)}function In(e,t){return Mi().set(e,t),t}function be(e,t=!1,r){Ye={p:Ye,i:!1,c:null,e:null,s:e,x:null,l:null}}function ke(e){var t=Ye,r=t.e;if(r!==null){t.e=null;for(var i of r)Qi(i)}return e!==void 0&&(t.x=e),t.i=!0,Ye=t.p,e??{}}function Pi(){return!0}function Mi(e){return Ye===null&&Si(),Ye.c??=new Map(Zo(Ye)||void 0)}function Zo(e){let t=e.p;for(;t!==null;){const r=t.c;if(r!==null)return r;t=t.p}return null}let nn=[];function Ai(){var e=nn;nn=[],bo(e)}function rn(e){if(nn.length===0&&!Ln){var t=nn;queueMicrotask(()=>{t===nn&&Ai()})}nn.push(e)}function Jo(){for(;nn.length>0;)Ai()}function Oi(e){var t=Te;if(t===null)return ge.f|=qt,e;if((t.f&Tr)===0){if((t.f&Qn)===0)throw e;t.b.error(e)}else yn(e,t)}function yn(e,t){for(;t!==null;){if((t.f&Qn)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const jn=new Set;let Le=null,ct=null,ht=[],$n=null,Rr=!1,Ln=!1;class Et{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#s=null;#i=new Set;#o=new Set;skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){ht=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[]};for(const i of t)this.#a(i,r);this.is_fork||this.#f(),this.is_deferred()?(this.#l(r.effects),this.#l(r.render_effects)):(Le=null,Fi(r.render_effects),Fi(r.effects),this.#s?.resolve()),ct=null}#a(t,r){t.f^=Ve;for(var i=t.first;i!==null;){var s=i.f,o=(s&(At|en))!==0,l=o&&(s&Ve)!==0,u=l||(s&st)!==0||this.skipped_effects.has(i);if((i.f&Qn)!==0&&i.b?.is_pending()&&(r={parent:r,effect:i,effects:[],render_effects:[]}),!u&&i.fn!==null){o?i.f^=Ve:(s&Er)!==0?r.effects.push(i):Nn(i)&&((i.f&Mt)!==0&&this.#i.add(i),Fn(i));var f=i.first;if(f!==null){i=f;continue}}var d=i.parent;for(i=i.next;i===null&&d!==null;)d===r.effect&&(this.#l(r.effects),this.#l(r.render_effects),r=r.parent),i=d.next,d=d.parent}}#l(t){for(const r of t)(r.f&it)!==0?this.#i.add(r):(r.f&Dt)!==0&&this.#o.add(r),this.#u(r.deps),qe(r,Ve)}#u(t){if(t!==null)for(const r of t)(r.f&Ue)===0||(r.f&tn)===0||(r.f^=tn,this.#u(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&qt)===0&&(this.current.set(t,t.v),ct?.set(t,t.v))}activate(){Le=this,this.apply()}deactivate(){Le===this&&(Le=null,ct=null)}flush(){if(this.activate(),ht.length>0){if(Ni(),Le!==null&&Le!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#f(){if(this.#r===0){for(const t of this.#e)t();this.#e.clear()}this.#n===0&&this.#d()}#d(){if(jn.size>1){this.previous.clear();var t=ct,r=!0,i={parent:null,effect:null,effects:[],render_effects:[]};for(const o of jn){if(o===this){r=!1;continue}const l=[];for(const[f,d]of this.current){if(o.current.has(f))if(r&&d!==o.current.get(f))o.current.set(f,d);else continue;l.push(f)}if(l.length===0)continue;const u=[...o.current.keys()].filter(f=>!this.current.has(f));if(u.length>0){var s=ht;ht=[];const f=new Set,d=new Map;for(const h of l)Hi(h,u,f,d);if(ht.length>0){Le=o,o.apply();for(const h of ht)o.#a(h,i);o.deactivate()}ht=s}}Le=null,ct=t}this.committed=!0,jn.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#i)this.#o.delete(t),qe(t,it),sn(t);for(const t of this.#o)qe(t,Dt),sn(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#s??=Ci()).promise}static ensure(){if(Le===null){const t=Le=new Et;jn.add(Le),Ln||Et.enqueue(()=>{Le===t&&t.flush()})}return Le}static enqueue(t){rn(t)}apply(){}}function Qo(e){var t=Ln;Ln=!0;try{for(var r;;){if(Jo(),ht.length===0&&(Le?.flush(),ht.length===0))return $n=null,r;Ni()}}finally{Ln=t}}function Ni(){var e=ln;Rr=!0;var t=null;try{var r=0;for(rr(!0);ht.length>0;){var i=Et.ensure();if(r++>1e3){var s,o;jo()}i.process(ht),Xt.clear()}}finally{Rr=!1,rr(e),$n=null}}function jo(){try{Ro()}catch(e){yn(e,$n)}}let Ft=null;function Fi(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var i=e[r++];if((i.f&(Ot|st))===0&&Nn(i)&&(Ft=new Set,Fn(i),i.deps===null&&i.first===null&&i.nodes===null&&(i.teardown===null&&i.ac===null?ts(i):i.fn=null),Ft?.size>0)){Xt.clear();for(const s of Ft){if((s.f&(Ot|st))!==0)continue;const o=[s];let l=s.parent;for(;l!==null;)Ft.has(l)&&(Ft.delete(l),o.push(l)),l=l.parent;for(let u=o.length-1;u>=0;u--){const f=o[u];(f.f&(Ot|st))===0&&Fn(f)}}Ft.clear()}}Ft=null}}function Hi(e,t,r,i){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const o=s.f;(o&Ue)!==0?Hi(s,t,r,i):(o&(Sr|Mt))!==0&&(o&it)===0&&Ui(s,t,i)&&(qe(s,it),sn(s))}}function Ui(e,t,r){const i=r.get(e);if(i!==void 0)return i;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&Ue)!==0&&Ui(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function sn(e){for(var t=$n=e;t.parent!==null;){t=t.parent;var r=t.f;if(Rr&&t===Te&&(r&Mt)!==0&&(r&Ti)===0)return;if((r&(en|At))!==0){if((r&Ve)===0)return;t.f^=Ve}}ht.push(t)}function $o(e){let t=0,r=Kt(0),i;return()=>{Mn()&&(n(r),ji(()=>(t===0&&(i=$(()=>e(()=>Tt(r)))),t+=1,()=>{rn(()=>{t-=1,t===0&&(i?.(),i=void 0,Tt(r))})})))}}var ea=Gt|mn|Qn;function ta(e,t,r){new na(e,t,r)}class na{parent;#e=!1;#t;#n=null;#r;#s;#i;#o=null;#a=null;#l=null;#u=null;#f=null;#d=0;#c=0;#v=!1;#h=null;#y=$o(()=>(this.#h=Kt(this.#d),()=>{this.#h=null}));constructor(t,r,i){this.#t=t,this.#r=r,this.#s=i,this.parent=Te.b,this.#e=!!this.#r.pending,this.#i=An(()=>{Te.b=this;{var s=this.#p();try{this.#o=ot(()=>i(s))}catch(o){this.error(o)}this.#c>0?this.#m():this.#e=!1}return()=>{this.#f?.remove()}},ea)}#w(){try{this.#o=ot(()=>this.#s(this.#t))}catch(t){this.error(t)}this.#e=!1}#b(){const t=this.#r.pending;t&&(this.#a=ot(()=>t(this.#t)),Et.enqueue(()=>{var r=this.#p();this.#o=this.#g(()=>(Et.ensure(),ot(()=>this.#s(r)))),this.#c>0?this.#m():(an(this.#a,()=>{this.#a=null}),this.#e=!1)}))}#p(){var t=this.#t;return this.#e&&(this.#f=Ht(),this.#t.before(this.#f),t=this.#f),t}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#g(t){var r=Te,i=ge,s=Ye;St(this.#i),tt(this.#i),_n(this.#i.ctx);try{return t()}catch(o){return Oi(o),null}finally{St(r),tt(i),_n(s)}}#m(){const t=this.#r.pending;this.#o!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#f),is(this.#o,this.#u)),this.#a===null&&(this.#a=ot(()=>t(this.#t)))}#_(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#_(t);return}this.#c+=t,this.#c===0&&(this.#e=!1,this.#a&&an(this.#a,()=>{this.#a=null}),this.#u&&(this.#t.before(this.#u),this.#u=null))}update_pending_count(t){this.#_(t),this.#d+=t,this.#h&&wn(this.#h,this.#d)}get_effect_pending(){return this.#y(),n(this.#h)}error(t){var r=this.#r.onerror;let i=this.#r.failed;if(this.#v||!r&&!i)throw t;this.#o&&(Qe(this.#o),this.#o=null),this.#a&&(Qe(this.#a),this.#a=null),this.#l&&(Qe(this.#l),this.#l=null);var s=!1,o=!1;const l=()=>{if(s){Xo();return}s=!0,o&&Oo(),Et.ensure(),this.#d=0,this.#l!==null&&an(this.#l,()=>{this.#l=null}),this.#e=this.has_pending_snippet(),this.#o=this.#g(()=>(this.#v=!1,ot(()=>this.#s(this.#t)))),this.#c>0?this.#m():this.#e=!1};var u=ge;try{tt(null),o=!0,r?.(t,l),o=!1}catch(f){yn(f,this.#i&&this.#i.parent)}finally{tt(u)}i&&rn(()=>{this.#l=this.#g(()=>{Et.ensure(),this.#v=!0;try{return ot(()=>{i(this.#t,()=>t,()=>l)})}catch(f){return yn(f,this.#i.parent),null}finally{this.#v=!1}})})}}function ra(e,t,r,i){const s=tr;if(r.length===0&&e.length===0){i(t.map(s));return}var o=Le,l=Te,u=ia();function f(){Promise.all(r.map(d=>sa(d))).then(d=>{u();try{i([...t.map(s),...d])}catch(h){(l.f&Ot)===0&&yn(h,l)}o?.deactivate(),er()}).catch(d=>{yn(d,l)})}e.length>0?Promise.all(e).then(()=>{u();try{return f()}finally{o?.deactivate(),er()}}):f()}function ia(){var e=Te,t=ge,r=Ye,i=Le;return function(o=!0){St(e),tt(t),_n(r),o&&i?.activate()}}function er(){St(null),tt(null),_n(null)}function tr(e){var t=Ue|it,r=ge!==null&&(ge.f&Ue)!==0?ge:null;return Te!==null&&(Te.f|=mn),{ctx:Ye,deps:null,effects:null,equals:Ii,f:t,fn:e,reactions:null,rv:0,v:Be,wv:0,parent:r??Te,ac:null}}function sa(e,t){let r=Te;r===null&&Eo();var i=r.b,s=void 0,o=Kt(Be),l=!ge,u=new Map;return ha(()=>{var f=Ci();s=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{d===Le&&d.committed&&d.deactivate(),er()})}catch(c){f.reject(c),er()}var d=Le;if(l){var h=!i.is_pending();i.update_pending_count(1),d.increment(h),u.get(d)?.reject(pn),u.delete(d),u.set(d,f)}const g=(c,v=void 0)=>{if(d.activate(),v)v!==pn&&(o.f|=qt,wn(o,v));else{(o.f&qt)!==0&&(o.f^=qt),wn(o,c);for(const[_,p]of u){if(u.delete(_),_===d)break;p.reject(pn)}}l&&(i.update_pending_count(-1),d.decrement(h))};f.promise.then(g,c=>g(null,c||"unknown"))}),Mr(()=>{for(const f of u.values())f.reject(pn)}),new Promise(f=>{function d(h){function g(){h===s?f(o):d(s)}h.then(g,g)}d(s)})}function a(e){const t=tr(e);return os(t),t}function Wi(e){const t=tr(e);return t.equals=Li,t}function zi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Qe(t[r])}}function oa(e){for(var t=e.parent;t!==null;){if((t.f&Ue)===0)return(t.f&Ot)===0?t:null;t=t.parent}return null}function Ir(e){var t,r=Te;St(oa(e));try{e.f&=~tn,zi(e),t=ds(e)}finally{St(r)}return t}function Vi(e){var t=Ir(e);if(e.equals(t)||(Le?.is_fork||(e.v=t),e.wv=us()),!un)if(ct!==null)(Mn()||Le?.is_fork)&&ct.set(e,t);else{var r=(e.f&_t)===0?Dt:Ve;qe(e,r)}}let Lr=new Set;const Xt=new Map;let Bi=!1;function Kt(e,t){var r={f:0,v:e,reactions:null,equals:Ii,rv:0,wv:0};return r}function K(e,t){const r=Kt(e);return os(r),r}function Yi(e,t=!1,r=!0){const i=Kt(e);return t||(i.equals=Li),i}function b(e,t,r=!1){ge!==null&&(!xt||(ge.f&Ei)!==0)&&Pi()&&(ge.f&(Ue|Mt|Sr|Ei))!==0&&!Ut?.includes(e)&&Ao();let i=r?Je(t):t;return wn(e,i)}function wn(e,t){if(!e.equals(t)){var r=e.v;un?Xt.set(e,t):Xt.set(e,r),e.v=t;var i=Et.ensure();i.capture(e,r),(e.f&Ue)!==0&&((e.f&it)!==0&&Ir(e),qe(e,(e.f&_t)!==0?Ve:Dt)),e.wv=us(),Gi(e,it),Te!==null&&(Te.f&Ve)!==0&&(Te.f&(At|en))===0&&(vt===null?pa([e]):vt.push(e)),!i.is_fork&&Lr.size>0&&!Bi&&aa()}return t}function aa(){Bi=!1;var e=ln;rr(!0);const t=Array.from(Lr);try{for(const r of t)(r.f&Ve)!==0&&qe(r,Dt),Nn(r)&&Fn(r)}finally{rr(e)}Lr.clear()}function Tt(e){b(e,e.v+1)}function Gi(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,u=(l&it)===0;if(u&&qe(o,t),(l&Ue)!==0){var f=o;ct?.delete(f),(l&tn)===0&&(l&_t&&(o.f|=tn),Gi(f,Dt))}else u&&((l&Mt)!==0&&Ft!==null&&Ft.add(o),sn(o))}}function Je(e){if(typeof e!="object"||e===null||Rn in e)return e;const t=bi(e);if(t!==yo&&t!==wo)return e;var r=new Map,i=yi(e),s=K(0),o=Wt,l=u=>{if(Wt===o)return u();var f=ge,d=Wt;tt(null),ls(o);var h=u();return tt(f),ls(d),h};return i&&r.set("length",K(e.length)),new Proxy(e,{defineProperty(u,f,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Po();var h=r.get(f);return h===void 0?h=l(()=>{var g=K(d.value);return r.set(f,g),g}):b(h,d.value,!0),!0},deleteProperty(u,f){var d=r.get(f);if(d===void 0){if(f in u){const h=l(()=>K(Be));r.set(f,h),Tt(s)}}else b(d,Be),Tt(s);return!0},get(u,f,d){if(f===Rn)return e;var h=r.get(f),g=f in u;if(h===void 0&&(!g||gn(u,f)?.writable)&&(h=l(()=>{var v=Je(g?u[f]:Be),_=K(v);return _}),r.set(f,h)),h!==void 0){var c=n(h);return c===Be?void 0:c}return Reflect.get(u,f,d)},getOwnPropertyDescriptor(u,f){var d=Reflect.getOwnPropertyDescriptor(u,f);if(d&&"value"in d){var h=r.get(f);h&&(d.value=n(h))}else if(d===void 0){var g=r.get(f),c=g?.v;if(g!==void 0&&c!==Be)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return d},has(u,f){if(f===Rn)return!0;var d=r.get(f),h=d!==void 0&&d.v!==Be||Reflect.has(u,f);if(d!==void 0||Te!==null&&(!h||gn(u,f)?.writable)){d===void 0&&(d=l(()=>{var c=h?Je(u[f]):Be,v=K(c);return v}),r.set(f,d));var g=n(d);if(g===Be)return!1}return h},set(u,f,d,h){var g=r.get(f),c=f in u;if(i&&f==="length")for(var v=d;v<g.v;v+=1){var _=r.get(v+"");_!==void 0?b(_,Be):v in u&&(_=l(()=>K(Be)),r.set(v+"",_))}if(g===void 0)(!c||gn(u,f)?.writable)&&(g=l(()=>K(void 0)),b(g,Je(d)),r.set(f,g));else{c=g.v!==Be;var p=l(()=>Je(d));b(g,p)}var m=Reflect.getOwnPropertyDescriptor(u,f);if(m?.set&&m.set.call(h,d),!c){if(i&&typeof f=="string"){var y=r.get("length"),k=Number(f);Number.isInteger(k)&&k>=y.v&&b(y,k+1)}Tt(s)}return!0},ownKeys(u){n(s);var f=Reflect.ownKeys(u).filter(g=>{var c=r.get(g);return c===void 0||c.v!==Be});for(var[d,h]of r)h.v!==Be&&!(d in u)&&f.push(d);return f},setPrototypeOf(){Mo()}})}var yt,qi,Xi,Ki;function la(){if(yt===void 0){yt=window,qi=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Xi=gn(t,"firstChild").get,Ki=gn(t,"nextSibling").get,ki(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ki(r)&&(r.__t=void 0)}}function Ht(e=""){return document.createTextNode(e)}function nr(e){return Xi.call(e)}function Pn(e){return Ki.call(e)}function le(e,t){return nr(e)}function J(e,t=!1){{var r=nr(e);return r instanceof Comment&&r.data===""?Pn(r):r}}function ne(e,t=1,r=!1){let i=e;for(;t--;)i=Pn(i);return i}function ua(e){e.textContent=""}function Zi(){return!1}function fa(e,t){{const r=document.body;e.autofocus=!0,rn(()=>{document.activeElement===r&&e.focus()})}}function Pr(e){var t=ge,r=Te;tt(null),St(null);try{return e()}finally{tt(t),St(r)}}function Ji(e){Te===null&&(ge===null&&So(),xo()),un&&To()}function da(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function wt(e,t,r){var i=Te;i!==null&&(i.f&st)!==0&&(e|=st);var s={ctx:Ye,deps:null,nodes:null,f:e|it|_t,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,wv:0,ac:null};if(r)try{Fn(s),s.f|=Tr}catch(u){throw Qe(s),u}else t!==null&&sn(s);var o=s;if(r&&o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&mn)===0&&(o=o.first,(e&Mt)!==0&&(e&Gt)!==0&&o!==null&&(o.f|=Gt)),o!==null&&(o.parent=i,i!==null&&da(o,i),ge!==null&&(ge.f&Ue)!==0&&(e&en)===0)){var l=ge;(l.effects??=[]).push(o)}return s}function Mn(){return ge!==null&&!xt}function Mr(e){const t=wt(Jn,null,!1);return qe(t,Ve),t.teardown=e,t}function Ge(e){Ji();var t=Te.f,r=!ge&&(t&At)!==0&&(t&Tr)===0;if(r){var i=Ye;(i.e??=[]).push(e)}else return Qi(e)}function Qi(e){return wt(Er|xi,e,!1)}function on(e){return Ji(),wt(Jn|xi,e,!0)}function ca(e){Et.ensure();const t=wt(en|mn,e,!0);return(r={})=>new Promise(i=>{r.outro?an(t,()=>{Qe(t),i(void 0)}):(Qe(t),i(void 0))})}function Ar(e){return wt(Er,e,!1)}function ha(e){return wt(Sr|mn,e,!0)}function ji(e,t=0){return wt(Jn|t,e,!0)}function se(e,t=[],r=[],i=[]){ra(i,t,r,s=>{wt(Jn,()=>e(...s.map(n)),!0)})}function An(e,t=0){var r=wt(Mt|t,e,!0);return r}function va(e,t=0){var r=wt(Di|t,e,!0);return r}function ot(e){return wt(At|mn,e,!0)}function $i(e){var t=e.teardown;if(t!==null){const r=un,i=ge;ss(!0),tt(null);try{t.call(null)}finally{ss(r),tt(i)}}}function es(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&Pr(()=>{s.abort(pn)});var i=r.next;(r.f&en)!==0?r.parent=null:Qe(r,t),r=i}}function ga(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&At)===0&&Qe(t),t=r}}function Qe(e,t=!0){var r=!1;(t||(e.f&Ti)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(ma(e.nodes.start,e.nodes.end),r=!0),es(e,t&&!r),ir(e,0),qe(e,Ot);var i=e.nodes&&e.nodes.t;if(i!==null)for(const o of i)o.stop();$i(e);var s=e.parent;s!==null&&s.first!==null&&ts(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function ma(e,t){for(;e!==null;){var r=e===t?null:Pn(e);e.remove(),e=r}}function ts(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function an(e,t,r=!0){var i=[];ns(e,i,!0);var s=()=>{r&&Qe(e),t&&t()},o=i.length;if(o>0){var l=()=>--o||s();for(var u of i)u.out(l)}else s()}function ns(e,t,r){if((e.f&st)===0){e.f^=st;var i=e.nodes&&e.nodes.t;if(i!==null)for(const u of i)(u.is_global||r)&&t.push(u);for(var s=e.first;s!==null;){var o=s.next,l=(s.f&Gt)!==0||(s.f&At)!==0&&(e.f&Mt)!==0;ns(s,t,l?r:!1),s=o}}}function Or(e){rs(e,!0)}function rs(e,t){if((e.f&st)!==0){e.f^=st,(e.f&Ve)===0&&(qe(e,it),sn(e));for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Gt)!==0||(r.f&At)!==0;rs(r,s?t:!1),r=i}var o=e.nodes&&e.nodes.t;if(o!==null)for(const l of o)(l.is_global||t)&&l.in()}}function is(e,t){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end;r!==null;){var s=r===i?null:Pn(r);t.append(r),r=s}}let ln=!1;function rr(e){ln=e}let un=!1;function ss(e){un=e}let ge=null,xt=!1;function tt(e){ge=e}let Te=null;function St(e){Te=e}let Ut=null;function os(e){ge!==null&&(Ut===null?Ut=[e]:Ut.push(e))}let je=null,at=0,vt=null;function pa(e){vt=e}let as=1,On=0,Wt=On;function ls(e){Wt=e}function us(){return++as}function Nn(e){var t=e.f;if((t&it)!==0)return!0;if(t&Ue&&(e.f&=~tn),(t&Dt)!==0){var r=e.deps;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s];if(Nn(o)&&Vi(o),o.wv>e.wv)return!0}(t&_t)!==0&&ct===null&&qe(e,Ve)}return!1}function fs(e,t,r=!0){var i=e.reactions;if(i!==null&&!Ut?.includes(e))for(var s=0;s<i.length;s++){var o=i[s];(o.f&Ue)!==0?fs(o,t,!1):t===o&&(r?qe(o,it):(o.f&Ve)!==0&&qe(o,Dt),sn(o))}}function ds(e){var t=je,r=at,i=vt,s=ge,o=Ut,l=Ye,u=xt,f=Wt,d=e.f;je=null,at=0,vt=null,ge=(d&(At|en))===0?e:null,Ut=null,_n(e.ctx),xt=!1,Wt=++On,e.ac!==null&&(Pr(()=>{e.ac.abort(pn)}),e.ac=null);try{e.f|=xr;var h=e.fn,g=h(),c=e.deps;if(je!==null){var v;if(ir(e,at),c!==null&&at>0)for(c.length=at+je.length,v=0;v<je.length;v++)c[at+v]=je[v];else e.deps=c=je;if(Mn()&&(e.f&_t)!==0)for(v=at;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&at<c.length&&(ir(e,at),c.length=at);if(Pi()&&vt!==null&&!xt&&c!==null&&(e.f&(Ue|Dt|it))===0)for(v=0;v<vt.length;v++)fs(vt[v],e);return s!==null&&s!==e&&(On++,vt!==null&&(i===null?i=vt:i.push(...vt))),(e.f&qt)!==0&&(e.f^=qt),g}catch(_){return Oi(_)}finally{e.f^=xr,je=t,at=r,vt=i,ge=s,Ut=o,_n(l),xt=u,Wt=f}}function _a(e,t){let r=t.reactions;if(r!==null){var i=po.call(r,e);if(i!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[i]=r[s],r.pop())}}r===null&&(t.f&Ue)!==0&&(je===null||!je.includes(t))&&(qe(t,Dt),(t.f&_t)!==0&&(t.f^=_t,t.f&=~tn),zi(t),ir(t,0))}function ir(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)_a(e,r[i])}function Fn(e){var t=e.f;if((t&Ot)===0){qe(e,Ve);var r=Te,i=ln;Te=e,ln=!0;try{(t&(Mt|Di))!==0?ga(e):es(e),$i(e);var s=ds(e);e.teardown=typeof s=="function"?s:null,e.wv=as;var o}finally{ln=i,Te=r}}}async function Hn(){await Promise.resolve(),Qo()}function n(e){var t=e.f,r=(t&Ue)!==0;if(ge!==null&&!xt){var i=Te!==null&&(Te.f&Ot)!==0;if(!i&&!Ut?.includes(e)){var s=ge.deps;if((ge.f&xr)!==0)e.rv<On&&(e.rv=On,je===null&&s!==null&&s[at]===e?at++:je===null?je=[e]:je.includes(e)||je.push(e));else{(ge.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[ge]:o.includes(ge)||o.push(ge)}}}if(un){if(Xt.has(e))return Xt.get(e);if(r){var l=e,u=l.v;return((l.f&Ve)===0&&l.reactions!==null||hs(l))&&(u=Ir(l)),Xt.set(l,u),u}}else r&&(!ct?.has(e)||Le?.is_fork&&!Mn())&&(l=e,Nn(l)&&Vi(l),ln&&Mn()&&(l.f&_t)===0&&cs(l));if(ct?.has(e))return ct.get(e);if((e.f&qt)!==0)throw e.v;return e.v}function cs(e){if(e.deps!==null){e.f^=_t;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&Ue)!==0&&(t.f&_t)===0&&cs(t)}}function hs(e){if(e.v===Be)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Xt.has(t)||(t.f&Ue)!==0&&hs(t))return!0;return!1}function $(e){var t=xt;try{return xt=!0,e()}finally{xt=t}}const ya=-7169;function qe(e,t){e.f=e.f&ya|t}const wa=["touchstart","touchmove"];function ba(e){return wa.includes(e)}const vs=new Set,Nr=new Set;function ka(e,t,r,i={}){function s(o){if(i.capture||Un.call(t,o),!o.cancelBubble)return Pr(()=>r?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?rn(()=>{t.addEventListener(e,s,i)}):t.addEventListener(e,s,i),s}function lt(e,t,r,i,s){var o={capture:i,passive:s},l=ka(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Mr(()=>{t.removeEventListener(e,l,o)})}function Zt(e){for(var t=0;t<e.length;t++)vs.add(e[t]);for(var r of Nr)r(e)}let gs=null;function Un(e){var t=this,r=t.ownerDocument,i=e.type,s=e.composedPath?.()||[],o=s[0]||e.target;gs=e;var l=0,u=gs===e&&e.__root;if(u){var f=s.indexOf(u);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var d=s.indexOf(t);if(d===-1)return;f<=d&&(l=f)}if(o=s[l]||e.target,o!==t){wi(e,"currentTarget",{configurable:!0,get(){return o||r}});var h=ge,g=Te;tt(null),St(null);try{for(var c,v=[];o!==null;){var _=o.assignedSlot||o.parentNode||o.host||null;try{var p=o["__"+i];p!=null&&(!o.disabled||e.target===o)&&p.call(o,e)}catch(m){c?v.push(m):c=m}if(e.cancelBubble||_===t||_===null)break;o=_}if(c){for(let m of v)queueMicrotask(()=>{throw m});throw c}}finally{e.__root=t,delete e.currentTarget,tt(h),St(g)}}}function Ca(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function sr(e,t){var r=Te;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function ee(e,t){var r=(t&Yo)!==0,i=(t&Go)!==0,s,o=!e.startsWith("<!>");return()=>{s===void 0&&(s=Ca(o?e:"<!>"+e),r||(s=nr(s)));var l=i||qi?document.importNode(s,!0):s.cloneNode(!0);if(r){var u=nr(l),f=l.lastChild;sr(u,f)}else sr(l,l);return l}}function ms(e=""){{var t=Ht(e+"");return sr(t,t),t}}function he(){var e=document.createDocumentFragment(),t=document.createComment(""),r=Ht();return e.append(t,r),sr(t,r),e}function T(e,t){e!==null&&e.before(t)}function ps(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Da(e,t){return Ea(e,t)}const bn=new Map;function Ea(e,{target:t,anchor:r,props:i={},events:s,context:o,intro:l=!0}){la();var u=new Set,f=g=>{for(var c=0;c<g.length;c++){var v=g[c];if(!u.has(v)){u.add(v);var _=ba(v);t.addEventListener(v,Un,{passive:_});var p=bn.get(v);p===void 0?(document.addEventListener(v,Un,{passive:_}),bn.set(v,1)):bn.set(v,p+1)}}};f(Zn(vs)),Nr.add(f);var d=void 0,h=ca(()=>{var g=r??t.appendChild(Ht());return ta(g,{pending:()=>{}},c=>{if(o){be({});var v=Ye;v.c=o}s&&(i.$$events=s),d=e(c,i)||{},o&&ke()}),()=>{for(var c of u){t.removeEventListener(c,Un);var v=bn.get(c);--v===0?(document.removeEventListener(c,Un),bn.delete(c)):bn.set(c,v)}Nr.delete(f),g!==r&&g.parentNode?.removeChild(g)}});return Fr.set(d,h),d}let Fr=new WeakMap;function Ta(e,t){const r=Fr.get(e);return r?(Fr.delete(e),r(t)):Promise.resolve()}class Hr{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#s=!0;constructor(t,r=!0){this.anchor=t,this.#s=r}#i=()=>{var t=Le;if(this.#e.has(t)){var r=this.#e.get(t),i=this.#t.get(r);if(i)Or(i),this.#r.delete(r);else{var s=this.#n.get(r);s&&(this.#t.set(r,s.effect),this.#n.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),i=s.effect)}for(const[o,l]of this.#e){if(this.#e.delete(o),o===t)break;const u=this.#n.get(l);u&&(Qe(u.effect),this.#n.delete(l))}for(const[o,l]of this.#t){if(o===r||this.#r.has(o))continue;const u=()=>{if(Array.from(this.#e.values()).includes(o)){var d=document.createDocumentFragment();is(l,d),d.append(Ht()),this.#n.set(o,{effect:l,fragment:d})}else Qe(l);this.#r.delete(o),this.#t.delete(o)};this.#s||!i?(this.#r.add(o),an(l,u,!1)):u()}}};#o=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[i,s]of this.#n)r.includes(i)||(Qe(s.effect),this.#n.delete(i))};ensure(t,r){var i=Le,s=Zi();if(r&&!this.#t.has(t)&&!this.#n.has(t))if(s){var o=document.createDocumentFragment(),l=Ht();o.append(l),this.#n.set(t,{effect:ot(()=>r(l)),fragment:o})}else this.#t.set(t,ot(()=>r(this.anchor)));if(this.#e.set(i,t),s){for(const[u,f]of this.#t)u===t?i.skipped_effects.delete(f):i.skipped_effects.add(f);for(const[u,f]of this.#n)u===t?i.skipped_effects.delete(f.effect):i.skipped_effects.add(f.effect);i.oncommit(this.#i),i.ondiscard(this.#o)}else this.#i()}}function pe(e,t,r=!1){var i=new Hr(e),s=r?Gt:0;function o(l,u){i.ensure(l,u)}An(()=>{var l=!1;t((u,f=!0)=>{l=!0,o(f,u)}),l||o(!1,null)},s)}function oe(e,t){return t}function xa(e,t,r){for(var i=[],s=t.length,o,l=t.length,u=0;u<s;u++){let g=t[u];an(g,()=>{if(o){if(o.pending.delete(g),o.done.add(g),o.pending.size===0){var c=e.outrogroups;Ur(Zn(o.done)),c.delete(o),c.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var f=i.length===0&&r!==null;if(f){var d=r,h=d.parentNode;ua(h),h.append(d),e.items.clear()}Ur(t,!f)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function Ur(e,t=!0){for(var r=0;r<e.length;r++)Qe(e[r],t)}var _s;function ie(e,t,r,i,s,o=null){var l=e,u=new Map,f=(t&Ri)!==0;if(f){var d=e;l=d.appendChild(Ht())}var h=null,g=Wi(()=>{var y=r();return yi(y)?y:y==null?[]:Zn(y)}),c,v=!0;function _(){m.fallback=h,Sa(m,c,l,t,i),h!==null&&(c.length===0?(h.f&Nt)===0?Or(h):(h.f^=Nt,Wn(h,null,l)):an(h,()=>{h=null}))}var p=An(()=>{c=n(g);for(var y=c.length,k=new Set,S=Le,D=Zi(),C=0;C<y;C+=1){var w=c[C],E=i(w,C),P=v?null:u.get(E);P?(P.v&&wn(P.v,w),P.i&&wn(P.i,C),D&&S.skipped_effects.delete(P.e)):(P=Ra(u,v?l:_s??=Ht(),w,E,C,s,t,r),v||(P.e.f|=Nt),u.set(E,P)),k.add(E)}if(y===0&&o&&!h&&(v?h=ot(()=>o(l)):(h=ot(()=>o(_s??=Ht())),h.f|=Nt)),!v)if(D){for(const[F,I]of u)k.has(F)||S.skipped_effects.add(I.e);S.oncommit(_),S.ondiscard(()=>{})}else _();n(g)}),m={effect:p,items:u,outrogroups:null,fallback:h};v=!1}function Sa(e,t,r,i,s){var o=(i&Ho)!==0,l=t.length,u=e.items,f=e.effect.first,d,h=null,g,c=[],v=[],_,p,m,y;if(o)for(y=0;y<l;y+=1)_=t[y],p=s(_,y),m=u.get(p).e,(m.f&Nt)===0&&(m.nodes?.a?.measure(),(g??=new Set).add(m));for(y=0;y<l;y+=1){if(_=t[y],p=s(_,y),m=u.get(p).e,e.outrogroups!==null)for(const I of e.outrogroups)I.pending.delete(m),I.done.delete(m);if((m.f&Nt)!==0)if(m.f^=Nt,m===f)Wn(m,null,r);else{var k=h?h.next:f;m===e.effect.last&&(e.effect.last=m.prev),m.prev&&(m.prev.next=m.next),m.next&&(m.next.prev=m.prev),Jt(e,h,m),Jt(e,m,k),Wn(m,k,r),h=m,c=[],v=[],f=h.next;continue}if((m.f&st)!==0&&(Or(m),o&&(m.nodes?.a?.unfix(),(g??=new Set).delete(m))),m!==f){if(d!==void 0&&d.has(m)){if(c.length<v.length){var S=v[0],D;h=S.prev;var C=c[0],w=c[c.length-1];for(D=0;D<c.length;D+=1)Wn(c[D],S,r);for(D=0;D<v.length;D+=1)d.delete(v[D]);Jt(e,C.prev,w.next),Jt(e,h,C),Jt(e,w,S),f=S,h=w,y-=1,c=[],v=[]}else d.delete(m),Wn(m,f,r),Jt(e,m.prev,m.next),Jt(e,m,h===null?e.effect.first:h.next),Jt(e,h,m),h=m;continue}for(c=[],v=[];f!==null&&f!==m;)(d??=new Set).add(f),v.push(f),f=f.next;if(f===null)continue}(m.f&Nt)===0&&c.push(m),h=m,f=m.next}if(e.outrogroups!==null){for(const I of e.outrogroups)I.pending.size===0&&(Ur(Zn(I.done)),e.outrogroups?.delete(I));e.outrogroups.size===0&&(e.outrogroups=null)}if(f!==null||d!==void 0){var E=[];if(d!==void 0)for(m of d)(m.f&st)===0&&E.push(m);for(;f!==null;)(f.f&st)===0&&f!==e.fallback&&E.push(f),f=f.next;var P=E.length;if(P>0){var F=(i&Ri)!==0&&l===0?r:null;if(o){for(y=0;y<P;y+=1)E[y].nodes?.a?.measure();for(y=0;y<P;y+=1)E[y].nodes?.a?.fix()}xa(e,E,F)}}o&&rn(()=>{if(g!==void 0)for(m of g)m.nodes?.a?.apply()})}function Ra(e,t,r,i,s,o,l,u){var f=(l&No)!==0?(l&Uo)===0?Yi(r,!1,!1):Kt(r):null,d=(l&Fo)!==0?Kt(s):null;return{v:f,i:d,e:ot(()=>(o(t,f??r,d??s,u),()=>{e.delete(i)}))}}function Wn(e,t,r){if(e.nodes)for(var i=e.nodes.start,s=e.nodes.end,o=t&&(t.f&Nt)===0?t.nodes.start:r;i!==null;){var l=Pn(i);if(o.before(i),i===s)return;i=l}}function Jt(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function zt(e,t,...r){var i=new Hr(e);An(()=>{const s=t()??null;i.ensure(s,s&&(o=>s(o,...r)))},Gt)}function Wr(e,t,r){var i=new Hr(e);An(()=>{var s=t()??null;i.ensure(s,s&&(o=>r(o,s)))},Gt)}function Me(e,t){var r=void 0,i;va(()=>{r!==(r=t())&&(i&&(Qe(i),i=null),r&&(i=ot(()=>{Ar(()=>r(e))})))})}function ys(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=ys(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function Ia(){for(var e,t,r=0,i="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=ys(e))&&(i&&(i+=" "),i+=t);return i}function Rt(e){return typeof e=="object"?Ia(e):e??""}function La(e,t,r){var i=e==null?"":""+e;return i===""?null:i}function ws(e,t=!1){var r=t?" !important;":";",i="";for(var s in e){var o=e[s];o!=null&&o!==""&&(i+=" "+s+": "+o+r)}return i}function zr(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Pa(e,t){if(t){var r="",i,s;if(Array.isArray(t)?(i=t[0],s=t[1]):i=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,l=0,u=!1,f=[];i&&f.push(...Object.keys(i).map(zr)),s&&f.push(...Object.keys(s).map(zr));var d=0,h=-1;const p=e.length;for(var g=0;g<p;g++){var c=e[g];if(u?c==="/"&&e[g-1]==="*"&&(u=!1):o?o===c&&(o=!1):c==="/"&&e[g+1]==="*"?u=!0:c==='"'||c==="'"?o=c:c==="("?l++:c===")"&&l--,!u&&o===!1&&l===0){if(c===":"&&h===-1)h=g;else if(c===";"||g===p-1){if(h!==-1){var v=zr(e.substring(d,h).trim());if(!f.includes(v)){c!==";"&&g++;var _=e.substring(d,g).trim();r+=" "+_+";"}}d=g+1,h=-1}}}}return i&&(r+=ws(i)),s&&(r+=ws(s,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function O(e,t,r,i,s,o){var l=e.__className;if(l!==r||l===void 0){var u=La(r);u==null?e.removeAttribute("class"):e.className=u,e.__className=r}return o}function Vr(e,t={},r,i){for(var s in r){var o=r[s];t[s]!==o&&(r[s]==null?e.style.removeProperty(s):e.style.setProperty(s,o,i))}}function bt(e,t,r,i){var s=e.__style;if(s!==t){var o=Pa(t,i);o==null?e.removeAttribute("style"):e.style.cssText=o,e.__style=t}else i&&(Array.isArray(i)?(Vr(e,r?.[0],i[0]),Vr(e,r?.[1],i[1],"important")):Vr(e,r,i));return i}const Ma=Symbol("is custom element"),Aa=Symbol("is html");function Pe(e,t,r,i){var s=Oa(e);s[t]!==(s[t]=r)&&(t==="loading"&&(e[Do]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Na(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Oa(e){return e.__attributes??={[Ma]:e.nodeName.includes("-"),[Aa]:e.namespaceURI===qo}}var bs=new Map;function Na(e){var t=e.getAttribute("is")||e.nodeName,r=bs.get(t);if(r)return r;bs.set(t,r=[]);for(var i,s=e,o=Element.prototype;o!==s;){i=_o(s);for(var l in i)i[l].set&&r.push(l);s=bi(s)}return r}class Br{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(t){this.#n=t}observe(t,r){var i=this.#e.get(t)||new Set;return i.add(r),this.#e.set(t,i),this.#r().observe(t,this.#n),()=>{var s=this.#e.get(t);s.delete(r),s.size===0&&(this.#e.delete(t),this.#t.unobserve(t))}}#r(){return this.#t??(this.#t=new ResizeObserver(t=>{for(var r of t){Br.entries.set(r.target,r);for(var i of this.#e.get(r.target)||[])i(r)}}))}}var Fa=new Br({box:"border-box"});function or(e,t,r){var i=Fa.observe(e,()=>r(e[t]));Ar(()=>($(()=>r(e[t])),i))}function ks(e,t){return e===t||e?.[Rn]===t}function nt(e={},t,r,i){return Ar(()=>{var s,o;return ji(()=>{s=o,o=i?.()||[],$(()=>{e!==r(...o)&&(t(e,...o),s&&ks(r(...s),e)&&t(null,...s))})}),()=>{rn(()=>{o&&ks(r(...o),e)&&t(null,...o)})}}),e}function Cs(e,t,r){if(e==null)return t(void 0),Yt;const i=$(()=>e.subscribe(t,r));return i.unsubscribe?()=>i.unsubscribe():i}function Ha(e){let t;return Cs(e,r=>t=r)(),t}let ar=!1,Yr=Symbol();function Ua(e,t,r){const i=r[t]??={store:null,source:Yi(void 0),unsubscribe:Yt};if(i.store!==e&&!(Yr in r))if(i.unsubscribe(),i.store=e??null,e==null)i.source.v=void 0,i.unsubscribe=Yt;else{var s=!0;i.unsubscribe=Cs(e,o=>{s?i.source.v=o:b(i.source,o)}),s=!1}return e&&Yr in r?Ha(e):n(i.source)}function Wa(){const e={};function t(){Mr(()=>{for(var r in e)e[r].unsubscribe();wi(e,Yr,{enumerable:!1,value:!0})})}return[e,t]}function za(e){var t=ar;try{return ar=!1,[e(),ar]}finally{ar=t}}function De(e,t,r,i){var s=(r&Vo)!==0,o=(r&Bo)!==0,l=i,u=!0,f=()=>(u&&(u=!1,l=o?$(i):i),l),d;if(s){var h=Rn in e||Co in e;d=gn(e,t)?.set??(h&&t in e?k=>e[t]=k:void 0)}var g,c=!1;s?[g,c]=za(()=>e[t]):g=e[t],g===void 0&&i!==void 0&&(g=f(),d&&(Lo(),d(g)));var v;if(v=()=>{var k=e[t];return k===void 0?f():(u=!0,k)},(r&zo)===0)return v;if(d){var _=e.$$legacy;return(function(k,S){return arguments.length>0?((!S||_||c)&&d(S?v():k),k):v()})}var p=!1,m=((r&Wo)!==0?tr:Wi)(()=>(p=!1,v()));s&&n(m);var y=Te;return(function(k,S){if(arguments.length>0){const D=S?n(m):s?Je(k):k;return b(m,D),p=!0,l!==void 0&&(l=D),k}return un&&p||(y.f&Ot)!==0?m.v:n(m)})}function Va(){return ge===null&&Io(),(ge.ac??=new AbortController).signal}function zn(e){Ye===null&&Si(),Ge(()=>{const t=$(e);if(typeof t=="function")return t})}const Ba="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(Ba);function Gr(e,t=void 0){return function(r){return r.key==="Enter"||r.key===" "&&!r.preventDefault()?e.call(t,r):void 0}}function Xe(e){return t=>{typeof e=="string"?t.innerText=e:e?.domNodes?t.replaceChildren(...e.domNodes):e?.html&&(t.innerHTML=e.html)}}function Ya(e){return t=>{let r=i=>{t&&!t.contains(i.target)&&t.dispatchEvent(new CustomEvent(e+"outside",{detail:{jsEvent:i}}))};return document.addEventListener(e,r,!0),()=>{document.removeEventListener(e,r,!0)}}}function qr(e){return t=>{let r=new ResizeObserver(i=>{for(let s of i)e(t,s)});return r.observe(t),()=>{r.unobserve(t)}}}function Ds(e,t){return r=>{let i=new IntersectionObserver(s=>{for(let o of s)e(r,o)},t);return i.observe(r),()=>{i.unobserve(r)}}}const lr=86400;function It(e=void 0){return e!==void 0?e instanceof Date?Rs(e):Xa(e):Rs(new Date)}function Ne(e){if(typeof e=="number")e={seconds:e};else if(typeof e=="string"){let r=0,i=2;for(let s of e.split(":",3))r+=parseInt(s,10)*Math.pow(60,i--);e={seconds:r}}else e instanceof Date&&(e={hours:e.getUTCHours(),minutes:e.getUTCMinutes(),seconds:e.getUTCSeconds()});let t=e.weeks||e.week||0;return{years:e.years||e.year||0,months:e.months||e.month||0,days:t*7+(e.days||e.day||0),seconds:(e.hours||e.hour||0)*60*60+(e.minutes||e.minute||0)*60+(e.seconds||e.second||0),inWeeks:!!t}}function q(e){return new Date(e.getTime())}function xe(e,t,r=1){e.setUTCFullYear(e.getUTCFullYear()+r*t.years);let i=e.getUTCMonth()+r*t.months;for(e.setUTCMonth(i),i%=12,i<0&&(i+=12);e.getUTCMonth()!==i;)kn(e);return e.setUTCDate(e.getUTCDate()+r*t.days),e.setUTCSeconds(e.getUTCSeconds()+r*t.seconds),e}function ur(e,t,r=1){return xe(e,t,-r)}function kt(e,t=1){return e.setUTCDate(e.getUTCDate()+t),e}function kn(e,t=1){return kt(e,-t)}function Ct(e){return e.setUTCHours(0,0,0,0),e}function Fe(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function ut(e,t=19){return e.toISOString().substring(0,t)}function $e(e,...t){return t.every(r=>e.getTime()===r.getTime())}function Ga(e,t){let r=t-e.getUTCDay();return e.setUTCDate(e.getUTCDate()+(r>=0?r:r+7)),e}function Es(e,t){let r=t-e.getUTCDay();return e.setUTCDate(e.getUTCDate()+(r<=0?r:r-7)),e}function Ts(e){return typeof e=="string"&&e.length<=10}function Xr(e,t){return e.setUTCHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),0),e}function ye(e){return e.seconds}function xs(e,t){return xe(e,t),e}function Ss(e,t,r){if(ur(e,t),r.length&&r.length<7)for(;r.includes(e.getUTCDay());)kn(e);return e}function qa(e,t){e=q(e),t===0?e.setUTCDate(e.getUTCDate()+6-e.getUTCDay()):e.setUTCDate(e.getUTCDate()+4-(e.getUTCDay()||7));let r=new Date(Date.UTC(e.getUTCFullYear(),0,1));return Math.ceil(((e-r)/1e3/lr+1)/7)}function Rs(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds()))}function Xa(e){const t=e.match(/\d+/g);return new Date(Date.UTC(Number(t[0]),Number(t[1])-1,Number(t[2]),Number(t[3]||0),Number(t[4]||0),Number(t[5]||0)))}function _e(...e){return Object.assign(...e)}function fn(e){return Object.keys(e)}function Is(e){return Object.entries(e)}function Kr(e){return Math.floor(e)}function Ka(e){return Math.ceil(e)}function Lt(...e){return Math.min(...e)}function ft(...e){return Math.max(...e)}function Za(){return Symbol("ec")}function Ls(e){return Array.isArray(e)}function Ce(e){return typeof e=="function"}function Ja(e){return e()}function Qa(e){e.forEach(Ja)}function ja(){}const fr=e=>e;function Zr(e,t=void 0){return function(r){r.stopPropagation(),e&&e.call(t,r)}}function Cn(){return window.getComputedStyle(document.documentElement).direction==="rtl"}let Jr=Za();function Ps(e,t){e[Jr]=t}function $a(e){return!!e?.[Jr]}function Vt(e){return e[Jr]}function Ms(e,t,r,i=[]){let s=document.createElement(e);s.className=t,typeof r=="string"?s.innerText=r:r.domNodes?s.replaceChildren(...r.domNodes):r.html&&(s.innerHTML=r.html);for(let o of i)s.setAttribute(...o);return s}function Qt(e){return e.getBoundingClientRect()}function As(e,t){for(;t--;)e=e.parentElement;return e}function dn(e){return Qt(e).height}function Dn(e,t,r=document,i=[]){i.push(r);for(let s of r.elementsFromPoint(e,t)){if($a(s))return s;if(s.shadowRoot&&!i.includes(s.shadowRoot)){let o=Dn(e,t,s.shadowRoot,i);if(o)return o}}return null}function Vn(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function el(e,t,r,i){return{type:e,title:t,currentStart:r.start,currentEnd:r.end,activeStart:i.start,activeEnd:i.end,calendar:void 0}}function Ke(e){return e=_e({},e),e.currentStart=Fe(e.currentStart),e.currentEnd=Fe(e.currentEnd),e.activeStart=Fe(e.activeStart),e.activeEnd=Fe(e.activeEnd),e}let tl=1;function dr(e){return e.map(t=>{let r={id:"id"in t?String(t.id):`{generated-${tl++}}`,resourceIds:Qr(t,"resourceId").map(String),allDay:t.allDay??(Ts(t.start)&&Ts(t.end)),start:It(t.start),end:It(t.end),title:t.title??"",editable:t.editable,startEditable:t.startEditable,durationEditable:t.durationEditable,display:t.display??"auto",extendedProps:t.extendedProps??{},backgroundColor:t.backgroundColor??t.color,textColor:t.textColor,classNames:Qr(t,"className"),styles:Qr(t,"style")};if(r.allDay){Ct(r.start);let i=q(r.end);Ct(r.end),(!$e(r.end,i)||$e(r.end,r.start))&&kt(r.end)}return r})}function Qr(e,t){let r=e[t+"s"]??e[t]??[];return Ls(r)?r:[r]}function nl(e){return e.map(t=>({events:t.events,url:t.url&&t.url.trimEnd("&")||"",method:t.method&&t.method.toUpperCase()||"GET",extraParams:t.extraParams||{}}))}function rl(e,t,r,i,s,o){let l=s.formatRange(e.start,t&&e.event.display!=="pointer"&&!e.zeroDuration?Xr(q(e.start),e.end):e.start),u;if(r&&(u=Ce(r)?r({event:We(e.event),timeText:l,view:Ke(o)}):r),u===void 0){let f;switch(e.event.display){case"background":f=[];break;case"pointer":f=e.event.allDay?[]:[Os(l,e,i)];break;default:f=[...e.event.allDay?[]:[Os(l,e,i)],Ms("h4",i.eventTitle,e.event.title)]}u={domNodes:f}}return[l,u]}function Os(e,t,r){return Ms("time",r.eventTime,e,[["datetime",ut(t.start)]])}function il(e,t,r){let i=t.classNames;return e&&(Ce(e)&&(e=e({event:We(t),view:Ke(r)})),i=[...Ls(e)?e:[e],...i]),i}function We(e){return Ns(e,Fe)}function jr(e){return Ns(e,q)}function Ns(e,t){return e=_e({},e),e.start=t(e.start),e.end=t(e.end),e}function $r(e,t){e.length=t.length;for(let r of e)r?.reposition()}function Bn(e,t,r,i=void 0){return(!i||e.resourceIds.includes(i.id))&&e.start<r&&e.end>t}function cr(e){return sl(e)||ol(e)||al(e)}function gt(e){return e==="background"}function sl(e){return e==="preview"}function ol(e){return e==="ghost"}function al(e){return e==="pointer"}function Yn(e,t,r){let i={start:e.start>t?e.start:t,end:e.end<r?e.end:r,event:e};return i.zeroDuration=$e(i.start,i.end),i}function En(e,t){let r=[],i,s,o;for(let{gridColumn:l,gridRow:u,resource:f,dayStart:d,dayEnd:h,disabled:g}of t)!g&&Bn(e,d,h,f)&&(r.push(d),i=h,s||(s=l,o=u));if(r.length){let l=Yn(e,r[0],i);return _e(l,{gridColumn:s,gridRow:o,dates:r}),[l]}return[]}function Fs(e){let t={},r={};for(let i of e){let{gridColumn:s,gridRow:o}=i;for(let u=1;u<i.dates.length;++u){let f=`${o}_${s+u}`;r[f]?r[f].chunks.push(i):r[f]={sorted:!1,chunks:[i]}}let l=`${o}_${s}`;i.long=r[l],i.prev=t[l],t[l]=i}}function Hs(e,t,r=0){e.prev&&(r=e.prev.bottom+1);let i=r+t;if(e.long){let s=e.long;s.sorted||(s.chunks.sort((o,l)=>o.top-l.top),s.sorted=!0);for(let o of s.chunks)if(r<o.bottom&&i>o.top){let l=o.bottom-r+1;r+=l,i+=l}}return _e(e,{top:r,bottom:i}),r}function cn(e,t){return()=>{let{options:{locale:r}}=e,i=e.options[t],s;return $(()=>{s=Ce(i)?{format:i}:new Intl.DateTimeFormat(r,i)}),{format:o=>s.format(Fe(o))}}}function Us(e,t){return()=>{let{options:{locale:r}}=e,i=e.options[t],s;return $(()=>{if(Ce(i))s=i;else{let o=new Intl.DateTimeFormat(r,i);s=(l,u)=>{if(l<=u)return o.formatRange(l,u);{let f=o.formatRangeToParts(u,l),d="",h=["startRange","endRange"],g=[!1,!1];for(let c of f){let v=h.indexOf(c.source);v>=0?g[v]||(d+=ll(h[1-v],f),g[v]=!0):d+=c.value}return d}}}}),{formatRange:(o,l)=>s(Fe(o),Fe(l))}}}function ll(e,t){let r="";for(let i of t)i.source==e&&(r+=i.value);return r}function hr(e){return gr(e,"day")}function vr(e){return gr(e,"week")}function ei(e){return gr(e,"month")}function ul(e){return gr(e,"year")}function gr(e,t){return{...e,next:"Next "+t,prev:"Previous "+t}}function mt(e){return t=>({...t,view:e})}function fl(e){let t,r;return e&&({start:t,end:r}=e,t&&(t=Ct(It(t))),r&&(r=Ct(It(r)))),{start:t,end:r}}function Tn(e,t){return t.start&&e<t.start||t.end&&e>t.end}function Ws(e){let t=[];return zs(e,0,t),t}function zs(e,t,r){let i=[];for(let s of e){let o=dl(s);i.push(o),r.push(o);let l={level:t,children:[],expanded:!0,hidden:!1};Ps(o,l),s.children&&(l.children=zs(s.children,t+1,r))}return i}function dl(e){return{id:String(e.id),title:e.title||"",eventBackgroundColor:e.eventBackgroundColor,eventTextColor:e.eventTextColor,extendedProps:e.extendedProps??{}}}function cl(e,t){return Vs(e,t)?.eventBackgroundColor}function hl(e,t){return Vs(e,t)?.eventTextColor}function Vs(e,t){return t.find(r=>e.resourceIds.includes(r.id))}function Bs(e,t,r,i,s){let o=[];e=q(e);let l=q(e);for(xe(e,i.min),xe(l,i.max);e<l;)o.push([ut(e),s.format(e)]),xe(e,t,r);let u=Kr((e-l)/1e3/ye(t));return u&&u!==r&&(o.at(-1)[2]=r-u),o}function Ys(e,t,r,i,s){let o=Ne(e),l=Ne(t);if(r){let u=Ne(Lt(ye(o),ft(0,ye(l)-lr))),f=Ne(ft(ye(l),ye(u)+lr)),d=Ce(r?.eventFilter)?r.eventFilter:h=>!gt(h.display);e:for(let h of i){let g=xe(q(h),o),c=xe(q(h),l),v=xe(q(h),u),_=xe(q(h),f);for(let p of s)if(!p.allDay&&d(p)&&p.start<_&&p.end>v){if(p.start<g){let m=ft((p.start-h)/1e3,ye(u));m<ye(o)&&(o.seconds=m)}if(p.end>c){let m=Lt((p.end-h)/1e3,ye(f));m>ye(l)&&(l.seconds=m)}if(ye(o)===ye(u)&&ye(l)===ye(f))break e}}}return{min:o,max:l}}class ti extends Map{#e=new Map;#t=K(0);#n=K(0);#r=Wt||-1;constructor(t){if(super(),t){for(var[r,i]of t)super.set(r,i);this.#n.v=super.size}}#s(t){return Wt===this.#r?K(t):Kt(t)}has(t){var r=this.#e,i=r.get(t);if(i===void 0){var s=super.get(t);if(s!==void 0)i=this.#s(0),r.set(t,i);else return n(this.#t),!1}return n(i),!0}forEach(t,r){this.#i(),super.forEach(t,r)}get(t){var r=this.#e,i=r.get(t);if(i===void 0){var s=super.get(t);if(s!==void 0)i=this.#s(0),r.set(t,i);else{n(this.#t);return}}return n(i),super.get(t)}set(t,r){var i=this.#e,s=i.get(t),o=super.get(t),l=super.set(t,r),u=this.#t;if(s===void 0)s=this.#s(0),i.set(t,s),b(this.#n,super.size),Tt(u);else if(o!==r){Tt(s);var f=u.reactions===null?null:new Set(u.reactions),d=f===null||!s.reactions?.every(h=>f.has(h));d&&Tt(u)}return l}delete(t){var r=this.#e,i=r.get(t),s=super.delete(t);return i!==void 0&&(r.delete(t),b(this.#n,super.size),b(i,-1),Tt(this.#t)),s}clear(){if(super.size!==0){super.clear();var t=this.#e;b(this.#n,0);for(var r of t.values())b(r,-1);Tt(this.#t),t.clear()}}#i(){n(this.#t);var t=this.#e;if(this.#n.v!==t.size){for(var r of super.keys())if(!t.has(r)){var i=this.#s(0);t.set(r,i)}}for([,i]of this.#e)n(i)}keys(){return n(this.#t),super.keys()}values(){return this.#i(),super.values()}entries(){return this.#i(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return n(this.#n),super.size}}function vl(e){let t={buttonText:{today:"today"},customButtons:{},date:new Date,datesSet:void 0,dayHeaderFormat:{weekday:"short",month:"numeric",day:"numeric"},dayHeaderAriaLabelFormat:{dateStyle:"full"},displayEventEnd:!0,duration:{weeks:1},events:[],eventAllUpdated:void 0,eventBackgroundColor:void 0,eventClassNames:void 0,eventClick:void 0,eventColor:void 0,eventContent:void 0,eventDidMount:void 0,eventFilter:void 0,eventMouseEnter:void 0,eventMouseLeave:void 0,eventOrder:void 0,eventSources:[],eventTextColor:void 0,eventTimeFormat:{hour:"numeric",minute:"2-digit"},filterEventsWithResources:!1,firstDay:0,headerToolbar:{start:"title",center:"",end:"today prev,next"},height:void 0,hiddenDays:[],highlightedDates:[],lazyFetching:!0,loading:void 0,locale:void 0,resources:[],selectable:!1,theme:{active:"ec-active",bgEvent:"ec-bg-event",bgEvents:"ec-bg-events",body:"ec-body",button:"ec-button",buttonGroup:"ec-button-group",calendar:"ec",colHead:"ec-col-head",day:"ec-day",dayHead:"ec-day-head",disabled:"ec-disabled",event:"ec-event",eventBody:"ec-event-body",eventTime:"ec-event-time",eventTitle:"ec-event-title",events:"ec-events",grid:"ec-grid",header:"ec-header",hidden:"ec-hidden",highlight:"ec-highlight",icon:"ec-icon",main:"ec-main",noBeb:"ec-no-beb",noIeb:"ec-no-ieb",today:"ec-today",title:"ec-title",toolbar:"ec-toolbar",view:"",weekdays:["ec-sun","ec-mon","ec-tue","ec-wed","ec-thu","ec-fri","ec-sat"]},titleFormat:{year:"numeric",month:"short",day:"numeric"},validRange:void 0,view:void 0,viewDidMount:void 0,views:{}};for(let r of e)r.createOptions?.(t);return t}function gl(e){let t={date:r=>Ct(It(r)),duration:Ne,events:dr,eventSources:nl,hiddenDays:r=>[...new Set(r)],highlightedDates:r=>r.map(i=>Ct(It(i))),resources:Ws,validRange:fl};for(let r of e)r.createParsers?.(t);return t}const Gs=["buttonText","customButtons","theme"];function ml(e,t,r){let i=vl(t),s=gl(t);i=ni(i,s),r=ni(r,s);let o=ri(i,"views")??{},l=ri(r,"views")??{},u=new ti;Xs(u,i);let f={},d={};function h(){r.view&&u.set("view",r.view);let g=new Set([...fn(o),...fn(l)]);for(let c of g){let v=l[c]??{},_=qs(i,o[c]??o[v.type]??{}),p=qs(_,r,v),m=ri(p,"component");delete p.view;for(let y of fn(p))u.has(y)?(f[y]||(f[y]=[]),f[y].push(Gs.includes(y)?k=>p[y]=Ce(k)?k(_[y]):k:k=>p[y]=k)):delete p[y];on(()=>{let y=u.get("view");$(()=>{y===c&&(e.setViewComponent(m),d=p,Xs(u,p))})})}}return{proxy:new Proxy(u,{set(g,c,v){return d[c]=v,g.set(c,v),!0},get(g,c){return g.get(c)}}),setOption(g,c,v){u.has(g)&&(!v&&g in s&&(c=s[g](c)),f[g]?.forEach(_=>_(c)),u.set(g,d[g]??c))},initEffects:h}}function ni(e,t){let r={...e};for(let i of fn(t))i in r&&(r[i]=t[i](r[i]));if(e.views){r.views={};for(let i of fn(e.views))r.views[i]=ni(e.views[i],t)}return r}function ri(e,t){let r=e[t];return delete e[t],r}function qs(...e){let t={};for(let r of e){let i={};for(let s of Gs)Ce(r[s])&&(i[s]=r[s](t[s]));t={...t,...r,...i}}return t}function Xs(e,t){for(let[r,i]of Is(t))e.set(r,i)}function pl(e,t){let r=[];for(let i of fn(e))e[i]!==t[i]&&r.push([i,e[i]]);return r}function _l(e){let t=0;return()=>{let{activeRange:r,fetchedRange:i,options:{events:s,eventSources:o,lazyFetching:l,loading:u}}=e;$(()=>{if(o.length||(e.events=s),!i.start||i.start>r.start||i.end<r.end||!l){Ce(u)&&!t&&u(!0);let f=()=>{--t===0&&Ce(u)&&u(!1)},d=[],h=_=>f(),g=_=>{d=d.concat(dr(_)),e.events=d,f()},c=ut(r.start),v=ut(r.end);for(let _ of o){if(Ce(_.events)){let p=_.events({start:Fe(r.start),end:Fe(r.end),startStr:c,endStr:v},g,h);p!==void 0&&Promise.resolve(p).then(g,h)}else{let p=Ce(_.extraParams)?_.extraParams():_e({},_.extraParams);p.start=c,p.end=v,p=new URLSearchParams(p);let m=_.url,y={},k;["GET","HEAD"].includes(_.method)?m+=(m.includes("?")?"&":"?")+p:(y["content-type"]="application/x-www-form-urlencoded;charset=UTF-8",k=String(p)),fetch(m,{method:_.method,headers:y,body:k,signal:Va(),credentials:"same-origin"}).then(S=>S.json()).then(g).catch(h)}++t}e.fetchedRange=r}})}}function yl(e){return()=>{let t=setInterval(()=>{let r=It(),i=Ct(q(r));e.now=r,$e(e.today,i)||(e.today=i)},1e3);return()=>clearInterval(t)}}function wl(e){return()=>{let{activeRange:t,options:{datesSet:r}}=e;$(()=>{Ce(r)&&r({start:Fe(t.start),end:Fe(t.end),startStr:ut(t.start),endStr:ut(t.end),view:Ke(e.view)})})}}function bl(e){let t;return()=>{let{filteredEvents:r,options:{eventAllUpdated:i}}=e;$(()=>{Ce(i)&&(t||(t=setTimeout(()=>{t=null,i({view:Ke(e.view)})})))})}}function kl(e){return()=>{let{viewComponent:t,options:{viewDidMount:r}}=e;$(()=>{Ce(r)&&Hn().then(()=>r({view:Ke(e.view)}))})}}function Cl(e){return()=>{let{options:{date:t,duration:r,firstDay:i}}=e,s,o;return $(()=>{s=q(t),r.months?s.setUTCDate(1):r.inWeeks&&Es(s,i),o=xe(q(s),r)}),{start:s,end:o}}}function Dl(e){return()=>{let{currentRange:t,extensions:{activeRange:r}}=e,i,s;return $(()=>{i=q(t.start),s=q(t.end)}),r?r(i,s):{start:i,end:s}}}function El(e){return()=>{let{events:t,options:{eventFilter:r,eventOrder:i,filterEventsWithResources:s,resources:o}}=e,l=[...t];return $(()=>{if(Ce(r)){let u=t.map(We),f=Ke(e.view);l=l.filter((d,h)=>r({event:We(d),index:h,events:u,view:f}))}s&&(l=l.filter(u=>o.some(f=>u.resourceIds.includes(f.id)))),Ce(i)?l.sort((u,f)=>i(We(u),We(f))):l.sort((u,f)=>u.start-f.start||f.allDay-u.allDay)}),l}}function Tl(e){return()=>{let{options:t,activeRange:r}=e,{hiddenDays:i}=t,s=[];return $(()=>{let o=Ct(q(r.start)),l=Ct(q(r.end));for(;o<l;)i.includes(o.getUTCDay())||s.push(q(o)),kt(o);if(!s.length&&i.length&&i.length<7)for(;i.includes(t.date.getUTCDay());)e.setOption("date",kt(q(t.date)))}),s}}function xl(e){return()=>{let{activeRange:t,intlTitle:r,features:i,options:{date:s}}=e,o;return $(()=>{o=i.includes("day-grid")?r.formatRange(s,s):r.formatRange(t.start,kn(q(t.end)))}),o}}function Sl(e){return()=>{let{activeRange:t,currentRange:r,viewTitle:i,options:{view:s}}=e,o;return $(()=>{o=el(s,i,r,t)}),o}}class Rl{#e;get auxComponents(){return n(this.#e)}set auxComponents(t){b(this.#e,t,!0)}#t;get currentRange(){return n(this.#t)}set currentRange(t){b(this.#t,t)}#n;get activeRange(){return n(this.#n)}set activeRange(t){b(this.#n,t)}#r;get fetchedRange(){return n(this.#r)}set fetchedRange(t){b(this.#r,t,!0)}#s;get events(){return n(this.#s)}set events(t){b(this.#s,t)}#i;get filteredEvents(){return n(this.#i)}set filteredEvents(t){b(this.#i,t)}#o;get mainEl(){return n(this.#o)}set mainEl(t){b(this.#o,t,!0)}#a;get now(){return n(this.#a)}set now(t){b(this.#a,t,!0)}#l;get today(){return n(this.#l)}set today(t){b(this.#l,t,!0)}#u;get intlEventTime(){return n(this.#u)}set intlEventTime(t){b(this.#u,t)}#f;get intlDayHeader(){return n(this.#f)}set intlDayHeader(t){b(this.#f,t)}#d;get intlDayHeaderAL(){return n(this.#d)}set intlDayHeaderAL(t){b(this.#d,t)}#c;get intlTitle(){return n(this.#c)}set intlTitle(t){b(this.#c,t)}#v;get viewDates(){return n(this.#v)}set viewDates(t){b(this.#v,t)}#h;get viewTitle(){return n(this.#h)}set viewTitle(t){b(this.#h,t)}#y;get view(){return n(this.#y)}set view(t){b(this.#y,t)}#w;get viewComponent(){return n(this.#w)}set viewComponent(t){b(this.#w,t,!0)}#b;get extensions(){return n(this.#b)}set extensions(t){b(this.#b,t,!0)}#p;get features(){return n(this.#p)}set features(t){b(this.#p,t,!0)}#g;get interaction(){return n(this.#g)}set interaction(t){b(this.#g,t,!0)}#m;get iClasses(){return n(this.#m)}set iClasses(t){b(this.#m,t,!0)}#_;get iClass(){return n(this.#_)}set iClass(t){b(this.#_,t,!0)}#k;constructor(t,r){let{proxy:i,setOption:s,initEffects:o}=ml(this,t,r);this.options=i,this.#k=s,this.#e=K(Je([])),this.#t=a(Cl(this)),this.#n=a(Dl(this)),this.#r=K(Je({start:void 0,end:void 0})),this.#s=K([]),this.#i=a(El(this)),this.#o=K(),this.#a=K(Je(It())),this.#l=K(Je(Ct(It()))),this.#u=a(Us(this,"eventTimeFormat")),this.#f=a(cn(this,"dayHeaderFormat")),this.#d=a(cn(this,"dayHeaderAriaLabelFormat")),this.#c=a(Us(this,"titleFormat")),this.#v=a(Tl(this)),this.#h=a(xl(this)),this.#y=a(Sl(this)),this.#w=K(),this.#b=K(Je({})),this.#p=K(Je([])),this.#g=K(Je({})),this.iEvents=new ti,this.#m=K(Je(fr)),this.#_=K();for(let l of t)l.initState?.(this);o(),this.#C()}#C(){on(yl(this)),Ge(_l(this)),Ge(wl(this)),Ge(bl(this)),Ge(kl(this))}setViewComponent(t){this.extensions={},this.features=[],this.viewComponent=t(this)}setOption(t,r,i=!0){this.#k(t,r,i)}}var Il=ee("<h2></h2>"),Ll=ee("<button><i></i></button>"),Pl=ee("<button><i></i></button>"),Ml=ee("<button> </button>"),Al=ee("<button></button>"),Ol=ee("<button> </button>");function Ks(e,t){be(t,!0);let r=te("state"),i=a(()=>r.currentRange),s=a(()=>r.today),o=a(()=>r.viewTitle),l=a(()=>r.viewDates),u=a(()=>r.options.buttonText),f=a(()=>r.options.customButtons),d=a(()=>r.options.date),h=a(()=>r.options.duration),g=a(()=>r.options.hiddenDays),c=a(()=>r.options.theme),v=a(()=>r.options.validRange),_=a(()=>r.options.view),p=K(!1),m=K(!1),y=K(!1),k=!1;on(()=>{n(l),n(v),t.buttons,$(()=>{k||(k=!0,t.buttons.includes("prev")&&(b(p,!1),n(v).start&&b(p,S(D),!0)),t.buttons.includes("next")&&(b(m,!1),n(v).end&&b(m,S(C),!0)),t.buttons.includes("today")&&(b(y,n(s)>=n(i).start&&n(s)<n(i).end,!0),!n(y)&&(n(v).start||n(v).end)&&b(y,S(w),!0)),Hn().then(()=>k=!1))})});function S(F){let I=n(d);F();let ue=n(l).every(B=>Tn(B,n(v)));return r.setOption("date",I),ue}function D(){r.setOption("date",Ss(q(n(d)),n(h),n(g)))}function C(){r.setOption("date",xs(q(n(d)),n(h)))}function w(){r.setOption("date",q(n(s)))}var E=he(),P=J(E);ie(P,17,()=>t.buttons,oe,(F,I)=>{var ue=he(),B=J(ue);{var Z=N=>{var M=Il();Me(M,()=>Xe(n(o))),se(()=>O(M,1,n(c).title)),T(N,M)},X=N=>{var M=he(),Q=J(M);{var ve=re=>{var Ee=Ll();Ee.__click=D;var U=le(Ee);se(()=>{O(Ee,1,`${n(c).button??""} ec-${n(I)??""}`),Pe(Ee,"aria-label",n(u).prev),Pe(Ee,"title",n(u).prev),Ee.disabled=n(p),O(U,1,`${n(c).icon??""} ec-${n(I)??""}`)}),T(re,Ee)},H=re=>{var Ee=he(),U=J(Ee);{var L=R=>{var fe=Pl();fe.__click=C;var rt=le(fe);se(()=>{O(fe,1,`${n(c).button??""} ec-${n(I)??""}`),Pe(fe,"aria-label",n(u).next),Pe(fe,"title",n(u).next),fe.disabled=n(m),O(rt,1,`${n(c).icon??""} ec-${n(I)??""}`)}),T(R,fe)},V=R=>{var fe=he(),rt=J(fe);{var He=Y=>{var ae=Ml();ae.__click=w;var Ie=le(ae);se(()=>{O(ae,1,`${n(c).button??""} ec-${n(I)??""}`),ae.disabled=n(y),ps(Ie,n(u)[n(I)])}),T(Y,ae)},Pt=Y=>{var ae=he(),Ie=J(ae);{var W=G=>{var de=Al();de.__click=function(...Se){n(f)[n(I)].click?.apply(this,Se)},Me(de,()=>Xe(n(f)[n(I)].text)),se(()=>O(de,1,Rt([n(c).button,`ec-${n(I)}`,n(f)[n(I)].active&&n(c).active]))),T(G,de)},z=G=>{var de=he(),Se=J(de);{var we=Re=>{var Ae=Ol();Ae.__click=()=>r.setOption("view",n(I));var ce=le(Ae);se(()=>{O(Ae,1,Rt([n(c).button,`ec-${n(I)}`,n(_)===n(I)&&n(c).active])),ps(ce,n(u)[n(I)])}),T(Re,Ae)};pe(Se,Re=>{n(I)!==""&&Re(we)},!0)}T(G,de)};pe(Ie,G=>{n(f)[n(I)]?G(W):G(z,!1)},!0)}T(Y,ae)};pe(rt,Y=>{n(I)==="today"?Y(He):Y(Pt,!1)},!0)}T(R,fe)};pe(U,R=>{n(I)==="next"?R(L):R(V,!1)},!0)}T(re,Ee)};pe(Q,re=>{n(I)==="prev"?re(ve):re(H,!1)},!0)}T(N,M)};pe(B,N=>{n(I)==="title"?N(Z):N(X,!1)})}T(F,ue)}),T(e,E),ke()}Zt(["click"]);var Nl=ee("<div><!></div>"),Fl=ee("<div></div>"),Hl=ee("<nav></nav>");function Ul(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.headerToolbar),s=a(()=>n(r).options.theme),o=a(()=>{let u={};for(let f of["start","center","end"])u[f]=n(i)[f]?.split(" ").map(d=>d.split(","))??[];return u});var l=Hl();ie(l,21,()=>fn(n(o)),oe,(u,f)=>{var d=Fl();ie(d,21,()=>n(o)[n(f)],oe,(h,g)=>{var c=he(),v=J(c);{var _=m=>{var y=Nl(),k=le(y);Ks(k,{get buttons(){return n(g)}}),se(()=>O(y,1,n(s).buttonGroup)),T(m,y)},p=m=>{Ks(m,{get buttons(){return n(g)}})};pe(v,m=>{n(g).length>1?m(_):m(p,!1)})}T(h,c)}),se(()=>O(d,1,`ec-${n(f)??""}`)),T(u,d)}),se(()=>O(l,1,n(s).toolbar)),T(e,l),ke()}var Wl=ee("<div><!> <!> <!></div>");function zl(e,t){be(t,!0);let r=De(t,"plugins",19,()=>[]),i=De(t,"options",19,()=>({})),s=new Rl(r(),i());In("state",s);let o=a(()=>s.auxComponents),l=a(()=>s.features),u=a(()=>s.events),f=a(()=>s.interaction),d=a(()=>s.iClass),h=a(()=>s.view),g=a(()=>s.viewComponent),c=a(()=>s.options.date),v=a(()=>s.options.duration),_=a(()=>s.options.height),p=a(()=>s.options.hiddenDays),m=a(()=>s.options.theme),y={...i()};on(()=>{for(let[U,L]of pl(i(),y))$(()=>{k(U,L)});_e(y,i())});function k(U,L){return s.setOption(U,L,!1),this}function S(U){let L=s.options[U];return L instanceof Date?Fe(L):L}function D(){return s.fetchedRange={start:void 0,end:void 0},this}function C(){return n(u).map(We)}function w(U){U=String(U);for(let L of n(u))if(L.id===U)return We(L);return null}function E(U){return U=dr([U])[0],n(u).push(U),s.events=[...n(u)],We(U)}function P(U){let L=String(U.id),V=n(u).findIndex(R=>R.id===L);return V>=0?(U=dr([U])[0],n(u)[V]=U,s.events=[...n(u)],We(U)):null}function F(U){U=String(U);let L=n(u).findIndex(V=>V.id===U);return L>=0&&(n(u).splice(L,1),s.events=[...n(u)]),this}function I(){return Ke(n(h))}function ue(){return n(f).action?.unselect(),this}function B(U,L){let V=Dn(U,L);if(V){let R=Vt(V)(U,L);return R.date=Fe(R.date),R}return null}function Z(){return s.setOption("date",xs(q(n(c)),n(v))),this}function X(){return s.setOption("date",Ss(q(n(c)),n(v),n(p))),this}var N={setOption:k,getOption:S,refetchEvents:D,getEvents:C,getEventById:w,addEvent:E,updateEvent:P,removeEventById:F,getView:I,unselect:ue,dateFromPoint:B,next:Z,prev:X},M=Wl();let Q;var ve=le(M);Ul(ve,{});var H=ne(ve,2);{var re=U=>{var L=he(),V=J(L);Wr(V,()=>n(g),(R,fe)=>{fe(R,{})}),T(U,L)};pe(H,U=>{n(g)&&U(re)})}var Ee=ne(H,2);return ie(Ee,17,()=>n(o),oe,(U,L)=>{var V=he(),R=J(V);Wr(R,()=>n(L),(fe,rt)=>{rt(fe,{})}),T(U,V)}),se(U=>{O(M,1,Rt([n(m).calendar,n(m).view,n(d)&&n(m)[n(d)]])),Pe(M,"role",U),Q=bt(M,"",Q,{height:n(_)})},[()=>n(l).includes("list")?"list":"table"]),T(e,M),ke(N)}function Vl(e){return()=>{let{options:{hiddenDays:t}}=e,r;return $(()=>r=7-t.length),r}}function Bl(e,t){return()=>{let{options:{highlightedDates:r,validRange:i},viewDates:s}=e,{colsCount:o}=t,l=[];return $(()=>{let u=[],f=1,d=1;for(let h of s)u.push({gridColumn:f,gridRow:d,resource:void 0,dayStart:h,dayEnd:kt(q(h)),disabled:Tn(h,i),highlight:r.some(g=>$e(g,h))}),f===o&&(l.push(u),u=[],f=0,++d),++f}),l}}function Yl(e,t){return()=>{let{filteredEvents:r}=e,{grid:i}=t,s=[],o=[];return $(()=>{for(let l of r)for(let u of i)gt(l.display)?l.allDay&&(o=o.concat(En(l,u))):s=s.concat(En(l,u));Fs(s)}),{chunks:s,bgChunks:o}}}function Gl(e,t){return()=>{let{iEvents:r}=e,{grid:i}=t,s=[];for(let[,o]of r)o&&$(()=>{for(let l of i)s=s.concat(En(o,l))});return s}}let ql=class{#e;get colsCount(){return n(this.#e)}set colsCount(t){b(this.#e,t)}#t;get grid(){return n(this.#t)}set grid(t){b(this.#t,t)}#n;get gridEl(){return n(this.#n)}set gridEl(t){b(this.#n,t,!0)}#r;get chunks(){return n(this.#r)}set chunks(t){b(this.#r,t)}#s;get bgChunks(){return n(this.#s)}set bgChunks(t){b(this.#s,t)}#i;get iChunks(){return n(this.#i)}set iChunks(t){b(this.#i,t)}#o;get intlDayCell(){return n(this.#o)}set intlDayCell(t){b(this.#o,t)}#a;get intlDayPopover(){return n(this.#a)}set intlDayPopover(t){b(this.#a,t)}#l;get popupDay(){return n(this.#l)}set popupDay(t){b(this.#l,t,!0)}constructor(t){this.#e=a(Vl(t)),this.#t=a(Bl(t,this)),this.#n=K();let r=a(Yl(t,this)),i=a(()=>n(r).chunks),s=a(()=>n(r).bgChunks);this.#r=a(()=>n(i)),this.#s=a(()=>n(s)),this.#i=a(Gl(t,this)),this.hiddenChunks=new ti,this.#o=a(cn(t,"dayCellFormat")),this.#a=a(cn(t,"dayPopoverFormat")),this.#l=K(null)}};var Xl=ee("<div><!></div>");function mr(e,t){be(t,!0);let r=De(t,"el",15),i=De(t,"allDay",3,!1),s=De(t,"resource",3,void 0),o=De(t,"dateFromPoint",3,()=>t.date),l=De(t,"classes",3,fr),u=De(t,"disabled",3,!1),f=De(t,"highlight",3,!1),d=De(t,"role",3,"cell"),h=De(t,"noIeb",3,!1),g=De(t,"noBeb",3,!1),c=a(()=>te("state")),v=a(()=>n(c).today),_=a(()=>n(c).interaction.action),p=a(()=>n(c).options.theme),m=a(()=>te("view-state")),y=a(()=>n(m).snap),k=a(()=>$e(t.date,n(v))),S=a(()=>l()([n(p).day,n(p).weekdays?.[t.date.getUTCDay()],n(k)&&n(p).today,f()&&n(p).highlight,u()&&n(p).disabled,h()&&n(p).noIeb,g()&&n(p).noBeb]));zn(()=>{Ps(r(),(E,P)=>({allDay:i(),date:o()(E,P),resource:s(),dayEl:r(),disabled:u()}))});let D=a(()=>!u()&&n(_)?E=>n(_).select(E,n(y)):void 0);var C=Xl();C.__pointerdown=function(...E){n(D)?.apply(this,E)};var w=le(C);zt(w,()=>t.children??Yt),nt(C,E=>r(E),()=>r()),se(()=>{O(C,1,Rt(n(S))),Pe(C,"role",d())}),T(e,C),ke()}Zt(["pointerdown"]);var Kl=ee("<div></div>"),Zl=ee("<article><!></article>");function Zs(e,t){be(t,!0);let r=De(t,"el",15),i=De(t,"classes",3,fr),s=De(t,"styles",3,fr),o=a(()=>te("state")),l=a(()=>n(o).intlEventTime),u=a(()=>n(o).view),f=a(()=>n(o).options.displayEventEnd),d=a(()=>n(o).options.eventBackgroundColor),h=a(()=>n(o).options.eventColor),g=a(()=>n(o).options.eventContent),c=a(()=>n(o).options.eventClick),v=a(()=>n(o).options.eventDidMount),_=a(()=>n(o).options.eventClassNames),p=a(()=>n(o).options.eventMouseEnter),m=a(()=>n(o).options.eventMouseLeave),y=a(()=>n(o).options.eventTextColor),k=a(()=>n(o).options.resources),S=a(()=>n(o).options.theme),D=a(()=>t.chunk.event),C=a(()=>t.chunk.event.display),w=a(()=>n(D).backgroundColor??cl(n(D),n(k))??n(d)??n(h)),E=a(()=>n(D).textColor??hl(n(D),n(k))??n(y)),P=a(()=>Is(s()({"background-color":n(w),color:n(E)})).map(L=>`${L[0]}:${L[1]}`).concat(n(D).styles).join(";")),F=a(()=>i()([gt(n(C))?n(S).bgEvent:n(S).event,...il(n(_),n(D),n(u))])),I=a(()=>rl(t.chunk,n(f),n(g),n(S),n(l),n(u))),ue=a(()=>ko(n(I),2)),B=a(()=>n(ue)[0]),Z=a(()=>n(ue)[1]);zn(()=>{Ce(n(v))&&n(v)({event:We(n(D)),timeText:n(B),el:r(),view:Ke(n(u))})});function X(L,V){return Ce(L)&&!cr(V)?R=>L({event:We(n(D)),el:r(),jsEvent:R,view:Ke(n(u))}):void 0}let N=a(()=>!gt(n(C))&&X(n(c),n(C))||void 0),M=a(()=>n(N)&&Gr(n(N))),Q=a(()=>X(n(p),n(C))),ve=a(()=>X(n(m),n(C)));var H=Zl();H.__click=function(...L){n(N)?.apply(this,L)},H.__keydown=function(...L){n(M)?.apply(this,L)},H.__pointerdown=function(...L){t.onpointerdown?.apply(this,L)};{const L=V=>{var R=Kl();Me(R,()=>Xe(n(Z))),se(()=>O(R,1,Rt(n(S).eventBody))),T(V,R)};var re=le(H);{var Ee=V=>{var R=he(),fe=J(R);zt(fe,()=>t.body,()=>L,()=>n(w),()=>n(E)),T(V,R)},U=V=>{L(V)};pe(re,V=>{t.body?V(Ee):V(U,!1)})}nt(H,V=>r(V),()=>r())}se(()=>{O(H,1,Rt(n(F))),bt(H,n(P)),Pe(H,"role",n(N)?"button":void 0),Pe(H,"tabindex",n(N)?0:void 0)}),lt("mouseenter",H,function(...L){n(Q)?.apply(this,L)}),lt("mouseleave",H,function(...L){n(ve)?.apply(this,L)}),T(e,H),ke()}Zt(["click","keydown","pointerdown"]);var Jl=ee("<div><!></div>");function Gn(e,t){be(t,!0);let r=De(t,"weekday",3,!0),i=De(t,"colSpan",3,1),s=De(t,"ariaHidden",3,!1),o=De(t,"disabled",3,!1),l=De(t,"highlight",3,!1),u=a(()=>te("state")),f=a(()=>n(u).today),d=a(()=>n(u).options.theme);var h=Jl(),g=le(h);zt(g,()=>t.children),se(c=>{O(h,1,c),Pe(h,"role",s()?null:"columnheader"),Pe(h,"aria-colspan",s()||i()<=1?null:i()),Pe(h,"aria-colindex",s()?null:t.colIndex),Pe(h,"aria-hidden",s()?"true":null)},[()=>Rt([t.className??n(d).colHead,r()&&n(d).weekdays?.[t.date.getUTCDay()],r()&&$e(t.date,n(f))&&n(d).today,l()&&n(d).highlight,o()&&n(d).disabled])]),T(e,h),ke()}var Ql=ee("<time></time>");function pr(e,t){be(t,!0);let r=De(t,"alPrefix",3,""),i=a(()=>te("state")),s=a(()=>n(i).intlDayHeader),o=a(()=>n(i).intlDayHeaderAL);var l=Ql();Me(l,()=>Xe(n(s).format(t.date))),se((u,f)=>{Pe(l,"datetime",u),Pe(l,"aria-label",`${r()??""}${f??""}`)},[()=>ut(t.date,10),()=>n(o).format(t.date)]),T(e,l),ke()}function _r(e,t){be(t,!0);let r=De(t,"el",15),i=a(()=>te("state")),s=a(()=>n(i).iClasses),o=a(()=>n(i).interaction.action),l=a(()=>n(i).interaction.resizer),u=a(()=>te("view-state")),f=a(()=>n(u).snap),d=a(()=>t.chunk.event),h=a(()=>t.chunk.event.display),g=a(()=>_=>n(s)(_,n(d)));function c(_){return n(o)?.draggable(_)?p=>n(o).drag(_,p,t.forceDate,t.forceMargin,n(f)):n(o)?.noAction}let v=a(()=>!gt(n(h))&&!cr(n(h))?c(n(d)):void 0);Zs(e,{get chunk(){return t.chunk},get classes(){return n(g)},get styles(){return t.styles},get onpointerdown(){return n(v)},get el(){return r()},set el(p){r(p)},body:(p,m=Yt)=>{var y=he(),k=J(y);{var S=C=>{var w=he(),E=J(w);Wr(E,()=>n(l),(P,F)=>{F(P,{get chunk(){return t.chunk},get axis(){return t.axis},get forceDate(){return t.forceDate},get forceMargin(){return t.forceMargin},children:(I,ue)=>{var B=he(),Z=J(B);zt(Z,m),T(I,B)},$$slots:{default:!0}})}),T(C,w)},D=C=>{var w=he(),E=J(w);zt(E,m),T(C,w)};pe(k,C=>{n(l)?C(S):C(D,!1)})}T(p,y)},$$slots:{body:!0}}),ke()}var jl=ee("<span></span>"),$l=ee('<a role="button" tabindex="0" aria-haspopup="dialog"></a>'),eu=ee("<div><time></time> <!></div> <div><!></div>",1);function tu(e,t){be(t,!0);const r=()=>Ua(n(f),"$firstDay",i),[i,s]=Wa();let o=te("state"),l=te("view-state"),u=a(()=>o.options.date),f=a(()=>o.options.firstDay),d=a(()=>o.options.moreLinkContent),h=a(()=>o.options.theme),g=a(()=>o.options.weekNumbers),c=a(()=>o.options.weekNumberContent),v=a(()=>l.hiddenChunks),_=a(()=>l.intlDayCell),p=a(()=>t.day.dayStart),m=a(()=>t.day.disabled),y=a(()=>t.day.highlight),k=a(()=>n(p).getUTCMonth()!==n(u).getUTCMonth()),S=a(()=>F=>[...F,n(k)&&n(h).otherMonth]),D=a(()=>n(g)&&n(p).getUTCDay()===(n(f)?1:0)),C=a(()=>{let F;if(n(D)){let I=qa(n(p),r());n(c)?F=Ce(n(c))?n(c)({date:Fe(n(p)),week:I}):n(c):F="W"+String(I).padStart(2,"0")}return F}),w=a(()=>n(v).get(n(p).getTime())),E=a(()=>{let F="";if(n(w)){let I="+"+n(w).length+" more";n(d)?F=Ce(n(d))?n(d)({num:n(w).length,text:I}):n(d):F=I}return F});function P(){l.popupDay=t.day}mr(e,{get date(){return n(p)},allDay:!0,get classes(){return n(S)},get disabled(){return n(m)},get highlight(){return n(y)},get noIeb(){return t.noIeb},get noBeb(){return t.noBeb},children:(F,I)=>{var ue=eu(),B=J(ue),Z=le(B);Me(Z,()=>Xe(n(_).format(n(p))));var X=ne(Z,2);{var N=H=>{var re=jl();Me(re,()=>Xe(n(C))),se(()=>O(re,1,n(h).weekNumber)),T(H,re)};pe(X,H=>{n(D)&&H(N)})}var M=ne(B,2),Q=le(M);{var ve=H=>{var re=$l(),Ee=a(()=>Zr(P));re.__click=function(...V){n(Ee)?.apply(this,V)};var U=a(()=>Gr(P));re.__keydown=function(...V){n(U)?.apply(this,V)};var L=a(Zr);re.__pointerdown=function(...V){n(L)?.apply(this,V)},Me(re,()=>Xe(n(E))),T(H,re)};pe(Q,H=>{n(w)&&H(ve)})}se(H=>{O(B,1,n(h).dayHead),Pe(Z,"datetime",H),O(M,1,n(h).dayFoot)},[()=>ut(n(p),10)]),T(F,ue)},$$slots:{default:!0}}),ke(),s()}Zt(["click","keydown","pointerdown"]);function yr(e,t){be(t,!0);let r=De(t,"inPopup",3,!1),i=a(()=>te("state")),s=a(()=>n(i).options.dayMaxEvents),o=a(()=>te("view-state")),l=a(()=>n(o).colsCount),u=a(()=>n(o).gridEl),f=a(()=>n(o).hiddenChunks),d=a(()=>n(o).popupDay),h=K(void 0),g=K(0),c=K(!1),v=a(()=>t.chunk.event),_=a(()=>t.chunk.event.display),p=a(()=>n(u).children.item((t.chunk.gridRow-1)*n(l)+t.chunk.gridColumn-1));Ge(()=>{r()||b(g,dn(n(p).firstElementChild),!0)});let m=a(()=>C=>{if(C["grid-column"]=`${t.chunk.gridColumn} / span ${t.chunk.dates.length}`,C["grid-row"]=t.chunk.gridRow,!gt(n(_))){let w=r()?1:n(g);if(n(v)._margin){let[E,P]=n(v)._margin;E>w&&t.chunk.gridRow===P&&(w=E)}C["margin-block-start"]=`${w}px`}return n(c)&&(C.visibility="hidden"),C});function y(){b(g,Hs(t.chunk,dn(n(h)),dn(n(p).firstElementChild)),!0)}function k(){if(n(s)===!0){let C=dn(n(p))-S(n(p));if(b(c,t.chunk.bottom>C),n(c))for(let w of t.chunk.dates){let E=w.getTime();if(n(f).has(E)){let P=n(f).get(E);P.includes(t.chunk)||n(f).set(E,[...P,t.chunk])}else n(f).set(E,[t.chunk])}}else b(c,!1),n(f).size&&n(f).clear()}function S(C){let w=0;for(let E=0;E<t.chunk.dates.length&&(w=ft(w,dn(C.lastElementChild)),C=C.nextElementSibling,!!C);++E);return w}var D={reposition:y,hide:k};{let C=a(()=>r()&&n(d).dayStart),w=a(()=>[n(g),t.chunk.gridRow]);_r(e,{get chunk(){return t.chunk},get styles(){return n(m)},axis:"x",get forceDate(){return n(C)},get forceMargin(){return n(w)},get el(){return n(h)},set el(E){b(h,E,!0)}})}return ke(D)}var nu=ee('<dialog closedby="closerequest"><header><time></time> <a role="button" tabindex="0">×</a></header> <div></div></dialog>');function ru(e,t){be(t,!0);let r=te("view-state"),i=a(()=>te("state")),s=a(()=>n(i).interaction),o=a(()=>n(i).options.buttonText),l=a(()=>n(i).options.theme),u=a(()=>r.colsCount),f=a(()=>r.chunks),d=a(()=>r.gridEl),h=a(()=>r.intlDayPopover),g=a(()=>r.popupDay),c=K(void 0),v=K(""),_=a(()=>n(g).gridColumn),p=a(()=>n(g).gridRow),m=a(()=>n(g).dayStart),y=a(()=>n(g).dayEnd),k=a(()=>{let X=[];for(let N of n(f))N.gridRow===n(p)&&N.gridColumn<=n(_)&&N.gridColumn+N.dates.length>n(_)&&X.push(_e({},N,Yn(N.event,n(m),n(y))));return X.sort((N,M)=>N.top-M.top),X});zn(()=>{n(c).show()}),Ge(()=>{n(k).length?$(S):D()});function S(){let X=n(d).children.item((n(p)-1)*n(u)+n(_)-1),N=Qt(n(c)),M=Qt(X),Q=Qt(n(d));b(v,"");let ve;if(N.width>=Q.width){ve=Q.left-M.left;let re=M.right-Q.right;b(v,n(v)+`inset-inline-end:${re}px;`)}else ve=(M.width-N.width)/2,M.left+ve<Q.left?ve=Q.left-M.left:M.left+ve+N.width>Q.right&&(ve=Q.right-M.left-N.width);b(v,n(v)+`inset-inline-start:${ve}px;`);let H;if(N.height>=Q.height){H=Q.top-M.top;let re=M.bottom-Q.bottom;b(v,n(v)+`inset-block-end:${re}px;`)}else H=(M.height-N.height)/2,M.top+H<Q.top?H=Q.top-M.top:M.top+H+N.height>Q.bottom&&(H=Q.bottom-M.top-N.height);b(v,n(v)+`inset-block-start:${H}px;`)}function D(){r.popupDay=null}function C(){D(),n(s).action?.noClick()}var w=nu();let E;var P=le(w),F=le(P);Me(F,()=>Xe(n(h).format(n(m))));var I=ne(F,2);fa(I);var ue=a(()=>Zr(D));I.__click=function(...X){n(ue)?.apply(this,X)};var B=a(()=>Gr(D));I.__keydown=function(...X){n(B)?.apply(this,X)};var Z=ne(P,2);ie(Z,21,()=>n(k),oe,(X,N)=>{yr(X,{get chunk(){return n(N)},inPopup:!0})}),nt(w,X=>b(c,X),()=>n(c)),Me(w,()=>Ya("pointerdown")),se(X=>{O(w,1,n(l).popup),E=bt(w,n(v),E,{"grid-area":`${n(p)+1} / ${n(_)}`}),O(P,1,n(l).dayHead),Pe(F,"datetime",X),Pe(I,"aria-label",n(o).close),O(Z,1,n(l).events)},[()=>ut(n(m),10)]),lt("pointerdownoutside",w,C),lt("close",w,D),T(e,w),ke()}Zt(["click","keydown"]);var iu=ee('<div role="columnheader"><span></span></div>'),su=ee('<section><header><div role="row"></div></header> <div><div></div> <div><!> <!> <!></div></div> <!></section>');function ou(e,t){be(t,!0);let r=te("state"),i=new ql(r);In("view-state",i);let s=a(()=>r.intlDayHeader),o=a(()=>r.intlDayHeaderAL),l=a(()=>r.options.dayMaxEvents),u=a(()=>r.options.theme),f=a(()=>i.grid),d=a(()=>i.chunks),h=a(()=>i.bgChunks),g=a(()=>i.iChunks),c=a(()=>i.hiddenChunks),v=a(()=>i.popupDay),_=[];function p(){n(c).clear(),$r(_,n(d))}Ge(p),Ge(()=>{n(d),_.forEach(B=>B.hide())});var m=su();let y;var k=le(m),S=le(k);ie(S,21,()=>n(f)[0],oe,(B,Z,X)=>{let N=()=>n(Z).dayStart;var M=iu();Pe(M,"aria-colindex",1+X);var Q=le(M);Me(Q,()=>Xe(n(s).format(N()))),se((ve,H)=>{O(M,1,ve),Pe(Q,"aria-label",H)},[()=>Rt([n(u).colHead,n(u).weekdays?.[N().getUTCDay()]]),()=>n(o).format(N())]),T(B,M)});var D=ne(k,2),C=le(D);ie(C,21,()=>n(f),oe,(B,Z,X)=>{var N=he(),M=J(N);ie(M,17,()=>n(Z),oe,(Q,ve,H)=>{{let re=a(()=>H+1===n(Z).length),Ee=a(()=>X+1===n(f).length);tu(Q,{get day(){return n(ve)},get noIeb(){return n(re)},get noBeb(){return n(Ee)}})}}),T(B,N)}),nt(C,B=>i.gridEl=B,()=>i?.gridEl);var w=ne(C,2),E=le(w);ie(E,17,()=>n(d),oe,(B,Z,X)=>{nt(yr(B,{get chunk(){return n(Z)}}),(N,M)=>_[M]=N,N=>_?.[N],()=>[X])});var P=ne(E,2);ie(P,17,()=>n(h),oe,(B,Z)=>{yr(B,{get chunk(){return n(Z)}})});var F=ne(P,2);ie(F,17,()=>n(g),oe,(B,Z)=>{yr(B,{get chunk(){return n(Z)}})});var I=ne(D,2);{var ue=B=>{ru(B,{})};pe(I,B=>{n(v)&&B(ue)})}nt(m,B=>r.mainEl=B,()=>r?.mainEl),Me(m,()=>qr(p)),se(()=>{O(m,1,Rt([n(u).main,n(l)===!0&&n(u).uniform])),y=bt(m,"",y,{"--ec-grid-cols":n(f)[0].length,"--ec-grid-rows":n(f).length}),O(k,1,n(u).header),O(S,1,n(u).grid),O(D,1,n(u).body),O(C,1,n(u).grid),O(w,1,n(u).events)}),T(e,m),ke()}const au={createOptions(e){_e(e,{dayMaxEvents:!1,dayCellFormat:{day:"numeric"},dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},moreLinkContent:void 0,weekNumbers:!1,weekNumberContent:void 0,view:"dayGridMonth"}),_e(e.buttonText,{dayGridMonth:"month",close:"Close"}),_e(e.theme,{uniform:"ec-uniform",dayFoot:"ec-day-foot",otherMonth:"ec-other-month",popup:"ec-popup",weekNumber:"ec-week-number"}),_e(e.views,{dayGridMonth:{buttonText:ei,component:lu,dayHeaderFormat:{weekday:"short"},dayHeaderAriaLabelFormat:{weekday:"long"},displayEventEnd:!1,duration:{months:1},theme:mt("ec-day-grid ec-month-view"),titleFormat:{year:"numeric",month:"long"}}})}};function lu(e){return e.features=["day-grid"],e.extensions.activeRange=(t,r)=>{let{options:{firstDay:i}}=e;return{start:Es(t,i),end:Ga(r,i)}},ou}function Js(e,t,r){return e.startEditable??t??e.editable??r}function uu(e,t,r){return e.durationEditable??t??e.editable??r}let ii=!1;function fu(e){ii||(ii=!0,window.requestAnimationFrame(()=>{e(),ii=!1}))}function Qs(e,t,r){return ft(t,Lt(r,e))}function du(e){return()=>{let{options:{editable:t,eventStartEditable:r,theme:i}}=e;e.iClasses=(s,o)=>{let{display:l}=o;return[...s,cr(l)?[i[l]]:!gt(l)&&Js(o,r,t)?[i.draggable]:[]]}}}function cu(e){return()=>{let{interaction:t,mainEl:r}=e;if(r)return Vn(r,"scroll",()=>{t.action.handleScroll(),t.pointer?.handleScroll()})}}class hu{constructor(t){this.#e(t)}#e(t){on(du(t)),Ge(cu(t))}}function vu(e,t){be(t,!0);let r=te("state"),i=a(()=>r.events),s=a(()=>r.iEvents),o=a(()=>r.features),l=a(()=>r.view),u=a(()=>r.mainEl),f=a(()=>r.options.dateClick),d=a(()=>r.options.dragConstraint),h=a(()=>r.options.dragScroll),g=a(()=>r.options.editable),c=a(()=>r.options.eventStartEditable),v=a(()=>r.options.eventDragMinDistance),_=a(()=>r.options.eventDragStart),p=a(()=>r.options.eventDragStop),m=a(()=>r.options.eventDrop),y=a(()=>r.options.eventLongPressDelay),k=a(()=>r.options.eventResizeStart),S=a(()=>r.options.eventResizeStop),D=a(()=>r.options.eventResize),C=a(()=>r.options.longPressDelay),w=a(()=>r.options.resizeConstraint),E=a(()=>r.options.selectable),P=a(()=>r.options.select),F=a(()=>r.options.selectBackgroundColor),I=a(()=>r.options.selectConstraint),ue=a(()=>r.options.selectLongPressDelay),B=a(()=>r.options.selectMinDistance),Z=a(()=>r.options.unselect),X=a(()=>r.options.unselectAuto),N=a(()=>r.options.unselectCancel),M=a(()=>r.options.validRange);const Q=1,ve=2,H=3,re=4,Ee=5,U=6;let L,V,R,fe,rt,He,Pt,Y,ae,Ie,W,z,G,de,Se,we,Re,Ae,ce,ze,dt,et,pt,Oe,hn,Bt,jt;function xf(x){return Js(x,n(c),n(g))}function Sf(x,A,me,j,Ze){L||(L=mi(A)?Q:U,vn()&&(R=x,gi(A,Ze),me&&(He=me),j&&(hn=j),Ae="dragging",xn(A)))}function Rf(x,A,me,j,Ze,Xn,_i,Bf){L||(L=mi(A)?me?H:ve:U,vn()&&(R=x,gi(A,Bf),Ze&&(He=Ze),Xn&&(hn=Xn),Ae=j==="x"?"resizingX":"resizingY",Cr()?(ce=q(R.end),Re?(Xr(ce,R.start),ce>=R.end&&kn(ce)):(ur(ce,Bt),ce<R.start&&(ce=R.start),He=R.start)):(ce=q(R.start),Re?(Xr(ce,R.end),ce<=R.start&&!_i&&kt(ce)):(xe(ce,Bt),ce>R.end&&(ce=R.end),He=R.end,_i||(He=ur(q(He),Bt))),_i&&!Re&&(jt=Bt)),xn(A)))}function If(x,A){L||(L=mi(x)?n(E)&&!n(o).includes("list")?re:Ee:U,vn()&&(gi(x,A),Ae="selecting",ze=Re?Ne({day:1}):Bt,R={allDay:Re,start:He,end:xe(q(He),ze),resourceIds:Y?[Y.id]:[]},xn(x)))}function Lf(){L||(L=U)}function gi(x,A){window.getSelection().removeAllRanges(),Ie=z=x.clientX,W=G=x.clientY,Bt=A?.duration;let me=Dn(z,G);({allDay:Re,date:He,resource:Y}=Vt(me)(z,G)),Se=n(u)!==As(me,3),de=As(me,1),fo(),x.pointerType!=="mouse"&&(pt=setTimeout(()=>{L&&(V=!0,xn(x))},($t()?n(ue):n(y))??n(C)))}function xn(x){if(V||x&&x.pointerType==="mouse"&&Nf()>=($t()?n(B):n(v))){V=!0,Dr(x),r.iClass=Ae,fe||($t()?Of():Af(x,Sn()?n(k):n(_)));let A=qn(Mf());if(A){let me;if({allDay:me,date:Pt,resource:ae}=A,me===Re){let j=kr({},fe),Ze=n(w);we=Ne((Pt-He)/1e3),Cr()?(j.start=xe(q(R.start),we),j.start>ce&&(j.start=ce,we=Ne((ce-R.start)/1e3))):(j.end=xe(q(R.end),we),jt&&xe(j.end,jt),Sn()?j.end<ce&&(j.end=ce,we=Ne((ce-R.end)/1e3)):$t()?(j.end<R.end?(j.start=ur(j.end,ze),j.end=R.end):j.start=R.start,Ze=n(I)):(j.start=xe(q(R.start),we),Y&&(j.resourceIds=R.resourceIds.filter(Xn=>Xn!==Y.id),j.resourceIds.push(ae.id)),Ze=n(d)));do{if(Ze!==void 0&&(j=kr(jr(R),j),Ze($t()?go(j,x):mo(j,R,x))===!1)){vo(R);break}vo(j)}while(!1)}}}if(n(h)){let A=24,me=24;fu(()=>{Oe&&(Se||(G<Oe.top+A&&(n(u).scrollTop+=ft(-8,(G-Oe.top-A)/3)),G>Oe.bottom-A&&(n(u).scrollTop+=Lt(8,(G-Oe.bottom+A)/3))),z<Oe.left+me&&(n(u).scrollLeft+=ft(-8,(z-Oe.left-me)/3)),z>Oe.right-me&&(n(u).scrollLeft+=Lt(8,(z-Oe.right+me)/3)),G<A&&window.scrollBy(0,ft(-8,(G-A)/3)),G>window.innerHeight-A&&window.scrollBy(0,Lt(8,(G-window.innerHeight+A)/3)))})}}function lo(){vn()&&(fo(),xn())}function Pf(x){vn()&&x.isPrimary&&(z=x.clientX,G=x.clientY,xn(x))}function uo(x){if(dt&&n(X)&&!(n(N)&&x.target.closest(n(N)))&&Dr(x),L&&x.isPrimary){if(V)if($t()){if(dt=!0,Ce(n(P))){let A=go(fe,x);n(P)(A)}}else{R.display=rt;let A=Sn()?n(S):n(p);Ce(A)&&A({event:We(R),jsEvent:x,view:Ke(n(l))});let me=jr(R);if(ho(R,fe),co(),A=Sn()?n(D):n(m),Ce(A)){let j=R,Ze=mo(R,me,x);A(_e(Ze,{revert(){ho(j,me)}}))}}else if((Ff()||$t())&&Ce(n(f))&&!et){z=x.clientX,G=x.clientY;let A=Dn(z,G);if(A){let{allDay:me,date:j,resource:Ze}=Vt(A)(z,G);n(f)({allDay:me,date:Fe(j),dateStr:ut(j),dayEl:A,jsEvent:x,view:Ke(n(l)),resource:Ze})}}V=!1,L=Ie=W=z=G=R=rt=He=Pt=Y=ae=we=jt=Re=ce=ze=hn=de=Oe=Bt=void 0,r.iClass=void 0,pt&&(clearTimeout(pt),pt=void 0)}et=!1}function Mf(){return Dn(Qs(z,Oe.left,Oe.right),Qs(G,Oe.top,Oe.bottom))}function qn(x){if(x){let A=Vt(x)(z,G);if(A.disabled){if(!n(M).end||A.date<n(M).end)return qn(x.nextElementSibling);if(!n(M).start||A.date>n(M).start)return qn(x.previousElementSibling)}else return($t()||Sn())&&A.resource&&!fe.resourceIds.includes(A.resource.id)&&!n(o).includes("timeline")?z>Ie?qn(x.previousElementSibling):qn(x.nextElementSibling):A}return null}function fo(){let x=Qt(n(u)),A=Qt(de),me=x.width/n(u).offsetWidth,j=x.height/n(u).offsetHeight,Ze=Cn();Oe={left:ft(0,Ze?x.right-n(u).clientWidth*me:A.left+n(u).scrollLeft*me),right:Lt(document.documentElement.clientWidth,Ze?A.right+n(u).scrollLeft*me:x.left+n(u).clientWidth*me)-2,top:ft(0,A.top+(Se?0:n(u).scrollTop)*j),bottom:Lt(document.documentElement.clientHeight,Se?A.bottom:x.top+n(u).clientHeight*j)-2}}function Af(x,A){Ce(A)&&A({event:We(R),jsEvent:x,view:Ke(n(l))}),rt=R.display,R.display="preview",fe=jr(R),hn!==void 0&&(fe._margin=hn),jt&&xe(fe.end,jt),R.display="ghost",r.events=[...n(i)]}function Of(){fe={id:"{select}",allDay:R.allDay,start:R.start,title:"",display:"preview",extendedProps:{},backgroundColor:n(F),resourceIds:R.resourceIds,classNames:[],styles:[]}}function co(){fe=void 0,n(s).delete("action")}function kr(x,A){return x.start=A.start,x.end=A.end,x.resourceIds=A.resourceIds,{...x}}function ho(x,A){kr(x,A),r.events=[...n(i)]}function vo(x){fe=kr(fe,x),n(s).set("action",fe)}function go(x,A){let{start:me,end:j}=We(x);return{start:me,end:j,startStr:ut(x.start),endStr:ut(x.end),allDay:Re,view:Ke(n(l)),resource:Y,jsEvent:A}}function mo(x,A,me){let j;return Sn()?j=Cr()?{startDelta:we,endDelta:Ne(0)}:{startDelta:Ne(0),endDelta:we}:j={delta:we,oldResource:Y!==ae?Y:void 0,newResource:Y!==ae?ae:void 0},_e(j,{event:We(x),oldEvent:We(A),view:Ke(n(l)),jsEvent:me}),j}function Nf(){return Math.sqrt(Math.pow(z-Ie,2)+Math.pow(G-W,2))}function Sn(){return L===ve||Cr()}function Cr(){return L===H}function Ff(){return L===Ee}function $t(){return L===re}function vn(){return L&&L<Ee}function mi(x){return x.isPrimary&&(x.pointerType!=="mouse"||x.buttons&1)}function Dr(x){dt&&(dt=!1,co(),Ce(n(Z))&&n(Z)({jsEvent:x,view:Ke(n(l))}))}on(()=>{n(l),Dr()});function Hf(){et=!0}function Uf(x){if(vn()){let A=x.target,me=[],j=()=>Qa(me);me.push(Vn(A,"touchmove",pi(()=>V))),me.push(Vn(A,"touchend",j)),me.push(Vn(A,"touchcancel",j))}}function pi(x){return A=>{x()&&A.preventDefault()}}zn(()=>Vn(window,"touchmove",ja,{passive:!1}));var Wf={draggable:xf,drag:Sf,resize:Rf,select:If,noAction:Lf,handleScroll:lo,unselect:Dr,noClick:Hf};lt("pointermove",yt,Pf),lt("pointerup",yt,uo),lt("pointercancel",yt,uo),lt("scroll",yt,lo);var zf=a(()=>pi(vn));lt("selectstart",yt,function(...x){n(zf)?.apply(this,x)});var Vf=a(()=>pi(()=>pt));return lt("contextmenu",yt,function(...x){n(Vf)?.apply(this,x)}),lt("touchstart",yt,Uf,void 0,!0),ke(Wf)}function gu(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).iEvents),s=a(()=>n(r).options.slotDuration),o=0,l=0,u;function f(){let p=Dn(o,l);if(p&&!n(i).has("action")){let{allDay:m,date:y,resource:k,disabled:S}=Vt(p)(o,l);if(!S){u||g(),u.allDay=m,u.start=y,u.end=xe(q(y),n(s)),u.resourceIds=k?[k.id]:[],n(i).set("pointer",{...u});return}}c()}function d(){f()}function h(p){v(p)&&(o=p.clientX,l=p.clientY,f())}function g(){u={id:"{pointer}",title:"",display:"pointer",extendedProps:{},backgroundColor:"transparent",classNames:[],styles:[]}}function c(){u=void 0,n(i).delete("pointer")}function v(p){return p.isPrimary&&p.pointerType==="mouse"}var _={handleScroll:d};return lt("pointermove",yt,h),lt("scroll",yt,d),ke(_)}var mu=ee("<div></div>"),pu=ee("<div></div>"),_u=ee("<!> <!> <!>",1);function yu(e,t){be(t,!0);let r=De(t,"forceDate",3,void 0),i=De(t,"forceMargin",3,void 0),s=a(()=>te("state")),o=a(()=>n(s).interaction.action),l=a(()=>n(s).options.editable),u=a(()=>n(s).options.eventDurationEditable),f=a(()=>n(s).options.eventResizableFromStart),d=a(()=>n(s).options.theme),h=a(()=>te("view-state")),g=a(()=>n(h).snap),c=a(()=>t.chunk.event),v=a(()=>t.chunk.event.display),_=a(()=>!gt(n(v))&&!cr(n(v))&&uu(n(c),n(u),n(l)));function p(w){return E=>n(o).resize(n(c),E,w,t.axis,r(),i(),t.chunk.zeroDuration,n(g))}var m=_u(),y=J(m);{var k=w=>{var E=mu(),P=a(()=>p(!0));E.__pointerdown=function(...F){n(P)?.apply(this,F)},se(()=>O(E,1,`${n(d).resizer??""} ${n(d).start??""}`)),T(w,E)};pe(y,w=>{n(_)&&n(f)&&w(k)})}var S=ne(y,2);zt(S,()=>t.children);var D=ne(S,2);{var C=w=>{var E=pu(),P=a(()=>p(!1));E.__pointerdown=function(...F){n(P)?.apply(this,F)},se(()=>O(E,1,n(d).resizer)),T(w,E)};pe(D,w=>{n(_)&&w(C)})}T(e,m),ke()}Zt(["pointerdown"]);var wu=ee("<!> <!>",1);function bu(e,t){be(t,!0);let r=te("state");new hu(r);let i=a(()=>r.interaction),s=a(()=>r.options.pointer);n(i).resizer=yu;var o=wu(),l=J(o);nt(vu(l,{}),d=>n(i).action=d,()=>n(i)?.action);var u=ne(l,2);{var f=d=>{nt(gu(d,{}),h=>n(i).pointer=h,()=>n(i)?.pointer)};pe(u,d=>{n(s)&&d(f)})}T(e,o),ke()}const ku={createOptions(e){_e(e,{dateClick:void 0,dragConstraint:void 0,dragScroll:!0,editable:!1,eventDragMinDistance:5,eventDragStart:void 0,eventDragStop:void 0,eventDrop:void 0,eventDurationEditable:!0,eventLongPressDelay:void 0,eventResizableFromStart:!1,eventResizeStart:void 0,eventResizeStop:void 0,eventResize:void 0,eventStartEditable:!0,longPressDelay:1e3,pointer:!1,resizeConstraint:void 0,select:void 0,selectBackgroundColor:void 0,selectConstraint:void 0,selectLongPressDelay:void 0,selectMinDistance:5,snapDuration:void 0,unselect:void 0,unselectAuto:!0,unselectCancel:""}),_e(e.theme,{draggable:"ec-draggable",ghost:"ec-ghost",preview:"ec-preview",pointer:"ec-pointer",resizer:"ec-resizer",start:"ec-start",dragging:"ec-dragging",resizingY:"ec-resizing-y",resizingX:"ec-resizing-x",selecting:"ec-selecting"})},initState(e){e.auxComponents.push(bu)}};let Cu=class{#e;get intlListDay(){return n(this.#e)}set intlListDay(t){b(this.#e,t)}#t;get intlListDaySide(){return n(this.#t)}set intlListDaySide(t){b(this.#t,t)}constructor(t){this.#e=a(cn(t,"listDayFormat")),this.#t=a(cn(t,"listDaySideFormat"))}};var Du=ee("<div></div> <!>",1);function Eu(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).interaction),s=a(()=>n(r).options.theme),o=a(()=>l=>(delete l["background-color"],delete l.color,l));{const l=(f,d=Yt,h=Yt,g=Yt)=>{var c=Du(),v=J(c);let _;var p=ne(v,2);zt(p,d),se(()=>{O(v,1,n(s).eventTag),_=bt(v,"",_,{"background-color":h()})}),T(f,c)};let u=a(()=>n(i).action?.noAction);Zs(e,{get chunk(){return t.chunk},get styles(){return n(o)},get onpointerdown(){return n(u)},body:l,$$slots:{body:!0}})}ke()}var Tu=ee("<h4><time></time> <time></time></h4> <!>",1);function xu(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).filteredEvents),s=a(()=>n(r).options.highlightedDates),o=a(()=>n(r).options.theme),l=a(()=>n(r).options.validRange),u=a(()=>te("view-state")),f=a(()=>n(u).intlListDay),d=a(()=>n(u).intlListDaySide),h=a(()=>n(s).some(y=>$e(y,t.date))),g=a(()=>Tn(t.date,n(l))),c=a(()=>ut(t.date,10)),v=a(()=>{let y=[];if(!n(g)){let k=t.date,S=kt(q(t.date));for(let D of n(i))if(!gt(D.display)&&Bn(D,k,S)){let C=Yn(D,k,S);y.push(C)}}return y});var _=he(),p=J(_);{var m=y=>{mr(y,{get date(){return t.date},allDay:!0,role:"listitem",get disabled(){return n(g)},get highlight(){return n(h)},children:(k,S)=>{var D=Tu(),C=J(D),w=le(C);Me(w,()=>Xe(n(f).format(t.date)));var E=ne(w,2);Me(E,()=>Xe(n(d).format(t.date)));var P=ne(C,2);ie(P,17,()=>n(v),F=>F.event,(F,I)=>{Eu(F,{get chunk(){return n(I)}})}),se(()=>{O(C,1,n(o).dayHead),Pe(w,"datetime",n(c)),O(E,1,n(o).daySide),Pe(E,"datetime",n(c))}),T(k,D)},$$slots:{default:!0}})};pe(p,y=>{n(v).length&&y(m)})}T(e,_),ke()}var Su=ee("<div></div>"),Ru=ee("<section><!></section>");function Iu(e,t){be(t,!0);let r=te("state"),i=new Cu(r);In("view-state",i);let s=a(()=>r.filteredEvents),o=a(()=>r.view),l=a(()=>r.viewDates),u=a(()=>r.options.noEventsClick),f=a(()=>r.options.noEventsContent),d=a(()=>r.options.theme),h=a(()=>{let y=!0;if(n(l).length){let k=n(l)[0],S=kt(q(n(l).at(-1)));for(let D of n(s))if(!gt(D.display)&&D.start<S&&D.end>k){y=!1;break}}return y}),g=a(()=>Ce(n(f))?n(f)():n(f));function c(y){Ce(n(u))&&n(u)({jsEvent:y,view:Ke(n(o))})}var v=Ru(),_=le(v);{var p=y=>{var k=Su();k.__click=c,Me(k,()=>Xe(n(g))),se(()=>O(k,1,n(d).noEvents)),T(y,k)},m=y=>{var k=he(),S=J(k);ie(S,17,()=>n(l),oe,(D,C)=>{xu(D,{get date(){return n(C)}})}),T(y,k)};pe(_,y=>{n(h)?y(p):y(m,!1)})}nt(v,y=>r.mainEl=y,()=>r?.mainEl),se(()=>O(v,1,n(d).main)),T(e,v),ke()}Zt(["click"]);const Lu={createOptions(e){_e(e,{listDayFormat:{weekday:"long"},listDaySideFormat:{year:"numeric",month:"long",day:"numeric"},noEventsClick:void 0,noEventsContent:"No events",view:"listWeek"}),_e(e.buttonText,{listDay:"list",listWeek:"list",listMonth:"list",listYear:"list"}),_e(e.theme,{daySide:"ec-day-side",eventTag:"ec-event-tag",noEvents:"ec-no-events"}),_e(e.views,{listDay:{buttonText:hr,component:wr,duration:{days:1},theme:mt("ec-list ec-day-view")},listWeek:{buttonText:vr,component:wr,duration:{weeks:1},theme:mt("ec-list ec-week-view")},listMonth:{buttonText:ei,component:wr,duration:{months:1},theme:mt("ec-list ec-month-view")},listYear:{buttonText:ul,component:wr,duration:{years:1},theme:mt("ec-list ec-year-view")}})}};function wr(e){return e.features=["list"],Iu}function si(e,t){let r=[];for(let{gridColumn:i,gridRow:s,resource:o,start:l,end:u,disabled:f}of t)if(!f&&Bn(e,l,u,o)){let d=Yn(e,l,u);_e(d,{gridColumn:i,gridRow:s,top:(d.start-l)/1e3,height:(d.end-d.start)/1e3,maxHeight:(u-d.start)/1e3}),r.push(d)}return r}function Pu(e){let t={};for(let r of e){let{gridColumn:i}=r,s=t[i],o=0;if(s&&r.start<s.end){for(;o<s.columns.length&&!(s.columns[o].at(-1).end<=r.start);++o);r.end>s.end&&(s.end=r.end)}else s={columns:[],end:r.end};s.columns.length<o+1&&s.columns.push([]),s.columns[o].push(r),t[i]=s,r.group=s,r.groupColumn=o}}function Mu(e){let t="all-day",r;return e?(r=Ce(e)?e({text:t}):e,typeof r=="string"&&(r={html:r})):r={html:t},r}function oi(e){e.extensions.activeRange=(t,r)=>{let{options:{slotMaxTime:i}}=e;if(i.days||i.seconds>lr){xe(kn(r),i);let s=kn(q(r));s<t&&(t=s)}return{start:t,end:r}}}function ai(e){"scrollTime"in e||(_e(e,{columnWidth:void 0,flexibleSlotTimeLimits:!1,nowIndicator:!1,scrollTime:"06:00:00",slotDuration:"00:30:00",slotHeight:24,slotLabelInterval:void 0,slotLabelFormat:{hour:"numeric",minute:"2-digit"},slotMaxTime:"24:00:00",slotMinTime:"00:00:00",snapDuration:void 0}),_e(e.theme,{nowIndicator:"ec-now-indicator",sidebar:"ec-sidebar",slot:"ec-slot"}))}function js(e){"allDaySlot"in e||(_e(e,{allDayContent:void 0,allDaySlot:!0,slotEventOverlap:!0}),_e(e.theme,{allDay:"ec-all-day"}))}function li(e){"scrollTime"in e||_e(e,{scrollTime:Ne,slotDuration:Ne,slotLabelInterval:t=>t!==void 0?Ne(t):void 0,slotMaxTime:Ne,slotMinTime:Ne,snapDuration:t=>t!==void 0?Ne(t):void 0})}function $s(e){"resourceLabelContent"in e||(e.filterResourcesWithEvents=!1,e.resourceLabelContent=void 0,e.resourceLabelDidMount=void 0)}function Au(e,t){return()=>{let{viewDates:r,options:{highlightedDates:i,validRange:s}}=e,{slotTimeLimits:o}=t,l=[];return $(()=>{let u=1;for(let f of r)l.push({gridColumn:u,gridRow:1,resource:void 0,start:xe(q(f),o.min),end:xe(q(f),o.max),dayStart:f,dayEnd:kt(q(f)),disabled:Tn(f,s),highlight:i.some(d=>$e(d,f))}),++u}),[l]}}function Ou(e,t){return()=>{let{filteredEvents:r}=e,{grid:i}=t,s=[],o=[],l=[],u=[];return $(()=>{for(let f of r)for(let d of i)gt(f.display)?(o=o.concat(si(f,d)),f.allDay&&(u=u.concat(En(f,d)))):f.allDay?l=l.concat(En(f,d)):s=s.concat(si(f,d));Pu(s),Fs(l)}),{chunks:s,bgChunks:o,allDayChunks:l,allDayBgChunks:u}}}function Nu(e,t){return()=>{let{iEvents:r}=e,{grid:i}=t,s=[],o=[];for(let[,l]of r)l&&$(()=>{for(let u of i)l.allDay?o=o.concat(En(l,u)):s=s.concat(si(l,u))});return{iChunks:s,allDayIChunks:o}}}function Fu(e){return()=>{let{filteredEvents:t,viewDates:r,options:{flexibleSlotTimeLimits:i,slotMinTime:s,slotMaxTime:o}}=e,l;return $(()=>{l=Ys(s,o,i,r,t)}),l}}function Hu(e){return()=>{let{options:{slotDuration:t,slotLabelInterval:r}}=e,i;return $(()=>{i=r===void 0?ye(t)<3600?2:1:Ka(ye(r)/ye(t))||1}),i}}function Uu(e,t){return()=>{let{options:{slotDuration:r}}=e,{intlSlotLabel:i,slotLabelPeriodicity:s,slotTimeLimits:o}=t,l;return $(()=>{l=Bs(Ct(It()),r,s,o,i)}),l}}function Wu(e){return()=>{let{options:{slotDuration:t,snapDuration:r}}=e;return r??=t,{duration:r,ratio:ye(r)/ye(t)}}}function ui(){return class{#e;get intlSlotLabel(){return n(this.#e)}set intlSlotLabel(e){b(this.#e,e)}#t;get slotLabelPeriodicity(){return n(this.#t)}set slotLabelPeriodicity(e){b(this.#t,e)}#n;get sidebarWidth(){return n(this.#n)}set sidebarWidth(e){b(this.#n,e,!0)}#r;get snap(){return n(this.#r)}set snap(e){b(this.#r,e)}constructor(e){this.#e=a(cn(e,"slotLabelFormat")),this.#t=a(Hu(e)),this.#n=K(0),this.#r=a(Wu(e))}}}function eo(e){return class extends e{#e;get slotTimeLimits(){return n(this.#e)}set slotTimeLimits(t){b(this.#e,t)}#t;get slots(){return n(this.#t)}set slots(t){b(this.#t,t)}#n;get chunks(){return n(this.#n)}set chunks(t){b(this.#n,t)}#r;get bgChunks(){return n(this.#r)}set bgChunks(t){b(this.#r,t)}#s;get allDayChunks(){return n(this.#s)}set allDayChunks(t){b(this.#s,t)}#i;get allDayBgChunks(){return n(this.#i)}set allDayBgChunks(t){b(this.#i,t)}#o;get iChunks(){return n(this.#o)}set iChunks(t){b(this.#o,t)}#a;get allDayIChunks(){return n(this.#a)}set allDayIChunks(t){b(this.#a,t)}constructor(t){super(t),this.#e=a(Fu(t)),this.#t=a(Uu(t,this));let r=a(Ou(t,this)),i=a(()=>n(r).chunks),s=a(()=>n(r).bgChunks),o=a(()=>n(r).allDayChunks),l=a(()=>n(r).allDayBgChunks);this.#n=a(()=>n(i)),this.#r=a(()=>n(s)),this.#s=a(()=>n(o)),this.#i=a(()=>n(l));let u=a(Nu(t,this)),f=a(()=>n(u).iChunks),d=a(()=>n(u).allDayIChunks);this.#o=a(()=>n(f)),this.#a=a(()=>n(d))}}}let zu=class extends eo(ui()){#e;get grid(){return n(this.#e)}set grid(t){b(this.#e,t)}constructor(t){super(t),this.#e=a(Au(t,this))}};function Vu(e){return()=>{let{activeRange:t,filteredEvents:r,options:{filterResourcesWithEvents:i,resources:s},extensions:{viewResources:o}}=e,l=o?o(s):s;return $(()=>{i&&(l=s.filter(u=>r.some(f=>Bn(f,t.start,t.end,u)))),l.length||(l=Ws([{}]))}),l}}function Bu(e,t){return()=>{let{viewDates:r,options:{datesAboveResources:i,highlightedDates:s,validRange:o}}=e,{slotTimeLimits:l,viewResources:u}=t,f=[];return $(()=>{let d=1,h=i?[r,u]:[u,r];for(let g of h[0]){let c=[];for(let v of h[1]){let _=i?g:v,p=i?v:g;c.push({gridColumn:d,gridRow:1,resource:p,start:xe(q(_),l.min),end:xe(q(_),l.max),dayStart:_,dayEnd:kt(q(_)),disabled:Tn(_,o),highlight:s.some(m=>$e(m,_))}),++d}f.push(c)}}),f}}function to(e){return class extends e{#e;get viewResources(){return n(this.#e)}set viewResources(t){b(this.#e,t)}constructor(t){super(t),this.#e=a(Vu(t))}}}let Yu=class extends to(eo(ui())){#e;get grid(){return n(this.#e)}set grid(t){b(this.#e,t)}constructor(t){super(t),this.#e=a(Bu(t,this))}};var Gu=ee("<span></span>");function fi(e,t){be(t,!0);let r=De(t,"date",3,void 0),i=De(t,"setLabel",3,void 0),s=a(()=>te("state")),o=a(()=>n(s).intlDayHeaderAL),l=a(()=>n(s).options.resourceLabelContent),u=a(()=>n(s).options.resourceLabelDidMount),f=K(void 0),d=a(()=>n(l)?Ce(n(l))?n(l)({resource:t.resource,date:r()?Fe(r()):void 0}):n(l):t.resource.title),h=K(void 0);Ge(()=>{n(d),$(()=>{r()?b(h,n(o).format(r())+", "+n(f).innerText):i()&&(b(h,void 0),i()(n(f).innerText))})}),zn(()=>{Ce(n(u))&&n(u)({resource:t.resource,date:r()?Fe(r()):void 0,el:n(f)})});var g=Gu();nt(g,c=>b(f,c),()=>n(f)),Me(g,()=>Xe(n(d))),se(()=>Pe(g,"aria-label",n(h))),T(e,g),ke()}function no(e,t){be(t,!0);let r=De(t,"allDay",3,!1),i=a(()=>te("state")),s=a(()=>n(i).options.slotHeight),o=a(()=>te("view-state")),l=a(()=>n(o).snap),u=a(()=>t.day.dayStart),f=a(()=>t.day.start),d=a(()=>t.day.resource),h=a(()=>t.day.disabled),g=a(()=>t.day.highlight),c=K(void 0);function v(_,p){if(r())return n(u);{let m=Qt(n(c)),y=m.height/n(c).offsetHeight;return xe(q(n(f)),n(l).duration,Kr((p-m.top)/(n(s)*n(l).ratio*y)))}}mr(e,{get date(){return n(u)},get allDay(){return r()},get resource(){return n(d)},dateFromPoint:v,get disabled(){return n(h)},get highlight(){return n(g)},get noIeb(){return t.noIeb},get noBeb(){return t.noBeb},get el(){return n(c)},set el(_){b(c,_,!0)}}),ke()}function di(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.slotEventOverlap),s=a(()=>n(r).options.slotDuration),o=a(()=>n(r).options.slotHeight),l=a(()=>u=>{let f=ye(n(s)),d=t.chunk.top/f*n(o),h=t.chunk.height/f*n(o)||n(o),g=t.chunk.maxHeight/f*n(o);u["grid-column"]=t.chunk.gridColumn,u["inset-block-start"]=`${d}px`,u["min-block-size"]=`${h}px`,u["block-size"]=`${h}px`,u["max-block-size"]=`${g}px`;let c="100% - var(--ec-event-col-gap)";if(t.chunk.group){let v=t.chunk.group.columns.length;u["z-index"]=`${t.chunk.groupColumn+1}`,u["inset-inline-start"]=`calc((${c}) / ${v} * ${t.chunk.groupColumn})`,u["inline-size"]=`calc((${c}) / ${v} * ${n(i)?.5*(1+v-t.chunk.groupColumn):1})`}return u});_r(e,{get chunk(){return t.chunk},get styles(){return n(l)},axis:"y"}),ke()}function ci(e,t){be(t,!0);let r=K(void 0),i=K(0),s=a(()=>t.chunk.event),o=a(()=>f=>(f["grid-column"]=`${t.chunk.gridColumn} / span ${t.chunk.dates.length}`,(n(i)||n(s)._margin)&&(f["margin-block-start"]=`${n(s)._margin??n(i)}px`),f));function l(){b(i,Hs(t.chunk,dn(n(r))),!0)}var u={reposition:l};return _r(e,{get chunk(){return t.chunk},get styles(){return n(o)},axis:"x",get forceMargin(){return n(i)},get el(){return n(r)},set el(f){b(r,f,!0)}}),ke(u)}var qu=ee("<div></div>");function br(e,t){be(t,!0);let r=De(t,"span",3,1),i=a(()=>te("state")),s=a(()=>n(i).mainEl),o=a(()=>n(i).now),l=a(()=>n(i).today),u=a(()=>n(i).options.slotDuration),f=a(()=>n(i).options.slotHeight),d=a(()=>n(i).options.theme),h=a(()=>te("view-state")),g=a(()=>n(h).sidebarWidth),c=a(()=>{for(let w of t.days)if($e(w.dayStart,n(l)))return w;return{}}),v=a(()=>n(c).gridColumn),_=a(()=>n(c).start),p=a(()=>n(c).end),m=a(()=>{if(n(o)<n(_)||n(o)>n(p))return null;let w=ye(n(u));return(n(o)-n(_))/1e3/w*n(f)}),y=a(()=>({root:n(s),rootMargin:Cn()?`0px -${n(g)+5.5}px 0px 0px`:`0px 0px 0px -${n(g)+5.5}px`,threshold:0}));function k(w,E){w.classList.toggle(n(d).hidden,!E.isIntersecting)}var S=he(),D=J(S);{var C=w=>{var E=qu();let P;Me(E,()=>Ds(k,n(y))),se(()=>{O(E,1,n(d).nowIndicator),P=bt(E,"",P,{"grid-column":`${n(v)+1} / span ${r()??""}`,"inset-block-start":`${n(m)??""}px`})}),T(w,E)};pe(D,w=>{n(v)&&n(m)!==null&&w(C)})}T(e,S),ke()}var Xu=ee('<div><aside></aside> <div role="row"></div> <div><!> <!> <!></div></div>'),Ku=ee("<div><time></time></div>"),Zu=ee('<section><header><aside></aside> <div role="row"><!></div> <!></header> <div role="rowgroup"><aside aria-hidden="true"></aside> <div role="row"></div> <div><!> <!> <!></div></div> <!></section>');function ro(e,t){be(t,!0);let r=De(t,"viewState",7),i=te("state");r()||r(new zu(i)),In("view-state",r());let s=a(()=>i.mainEl),o=a(()=>i.viewDates),l=a(()=>i.options.allDayContent),u=a(()=>i.options.allDaySlot),f=a(()=>i.options.columnWidth),d=a(()=>i.options.nowIndicator),h=a(()=>i.options.scrollTime),g=a(()=>i.options.slotHeight),c=a(()=>i.options.slotDuration),v=a(()=>i.options.theme),_=a(()=>r().allDayChunks),p=a(()=>r().allDayBgChunks),m=a(()=>r().allDayIChunks),y=a(()=>r().bgChunks),k=a(()=>r().chunks),S=a(()=>r().iChunks),D=a(()=>r().grid),C=a(()=>r().sidebarWidth),w=a(()=>r().slots),E=a(()=>r().slotLabelPeriodicity),P=a(()=>r().slotTimeLimits),F=K(0),I=a(()=>Mu(n(l)));Ge(()=>{n(o),n(h),Hn().then(ue)});function ue(){n(s).scrollTop=((ye(n(h))-ye(n(P).min))/ye(n(c))-.5)*n(g)}let B=[];function Z(){$r(B,n(_))}Ge(Z);var X=Zu();let N;var M=le(X),Q=le(M),ve=ne(Q,2),H=le(ve);{var re=W=>{var z=he(),G=J(z);zt(G,()=>t.header),T(W,z)},Ee=W=>{var z=he(),G=J(z);ie(G,17,()=>n(D)[0],oe,(de,Se,we)=>{let Re=()=>n(Se).dayStart,Ae=()=>n(Se).disabled,ce=()=>n(Se).highlight;Gn(de,{get date(){return Re()},colIndex:1+we,get disabled(){return Ae()},get highlight(){return ce()},children:(ze,dt)=>{pr(ze,{get date(){return Re()}})},$$slots:{default:!0}})}),T(W,z)};pe(H,W=>{t.header?W(re):W(Ee,!1)})}var U=ne(ve,2);{var L=W=>{var z=Xu(),G=le(z);Me(G,()=>Xe(n(I)));var de=ne(G,2);ie(de,21,()=>n(D),oe,(ce,ze,dt)=>{var et=he(),pt=J(et);ie(pt,17,()=>n(ze),oe,(Oe,hn,Bt)=>{{let jt=a(()=>dt+1===n(D).length&&Bt+1===n(ze).length);no(Oe,{get day(){return n(hn)},allDay:!0,get noIeb(){return n(jt)}})}}),T(ce,et)});var Se=ne(de,2),we=le(Se);ie(we,17,()=>n(_),oe,(ce,ze,dt)=>{nt(ci(ce,{get chunk(){return n(ze)}}),(et,pt)=>B[pt]=et,et=>B?.[et],()=>[dt])});var Re=ne(we,2);ie(Re,17,()=>n(p),oe,(ce,ze)=>{ci(ce,{get chunk(){return n(ze)}})});var Ae=ne(Re,2);ie(Ae,17,()=>n(m),oe,(ce,ze)=>{ci(ce,{get chunk(){return n(ze)}})}),se(()=>{O(z,1,n(v).allDay),O(G,1,n(v).sidebar),O(de,1,n(v).grid),O(Se,1,n(v).events)}),T(W,z)};pe(U,W=>{n(u)&&W(L)})}var V=ne(M,2),R=le(V);ie(R,21,()=>n(w),oe,(W,z,G)=>{var de=Ku();let Se;var we=le(de);Me(we,()=>Xe(n(z)[1])),se(()=>{O(de,1,Rt([n(v).slot,!G&&n(v).hidden])),Se=bt(de,"",Se,{"--ec-slot-label-periodicity":n(z)[2]}),Pe(we,"datetime",n(z)[0])}),T(W,de)});var fe=ne(R,2);ie(fe,21,()=>n(D),oe,(W,z,G)=>{var de=he(),Se=J(de);ie(Se,17,()=>n(z),oe,(we,Re,Ae)=>{{let ce=a(()=>G+1===n(D).length&&Ae+1===n(z).length);no(we,{get day(){return n(Re)},get noIeb(){return n(ce)},noBeb:!0})}}),T(W,de)});var rt=ne(fe,2),He=le(rt);ie(He,17,()=>n(k),oe,(W,z)=>{di(W,{get chunk(){return n(z)}})});var Pt=ne(He,2);ie(Pt,17,()=>n(y),oe,(W,z)=>{di(W,{get chunk(){return n(z)}})});var Y=ne(Pt,2);ie(Y,17,()=>n(S),oe,(W,z)=>{di(W,{get chunk(){return n(z)}})});var ae=ne(V,2);{var Ie=W=>{var z=he(),G=J(z);{var de=we=>{var Re=he(),Ae=J(Re);zt(Ae,()=>t.nowIndicator),T(we,Re)},Se=we=>{br(we,{get days(){return n(D)[0]}})};pe(G,we=>{t.nowIndicator?we(de):we(Se,!1)})}T(W,z)};pe(ae,W=>{n(d)&&W(Ie)})}nt(X,W=>i.mainEl=W,()=>i?.mainEl),Me(X,()=>qr(Z)),se(()=>{O(X,1,n(v).main),N=bt(X,"",N,{"--ec-grid-cols":n(D).length*n(D)[0].length,"--ec-col-group-span":n(D)[0].length,"--ec-col-width":n(f)??"minmax(0, 1fr)","--ec-slot-label-periodicity":n(E),"--ec-slot-height":`${n(g)??""}px`,"--ec-header-height":`${n(F)??""}px`,"--ec-sidebar-width":`${n(C)??""}px`}),O(M,1,n(v).header),O(Q,1,n(v).sidebar),O(ve,1,n(v).grid),O(V,1,n(v).body),O(R,1,n(v).sidebar),O(fe,1,n(v).grid),O(rt,1,n(v).events)}),or(Q,"offsetWidth",W=>r().sidebarWidth=W),or(M,"offsetHeight",W=>b(F,W)),T(e,X),ke()}var Ju=ee("<!> <!>",1);function Qu(e,t){be(t,!0);let r=te("state"),i=new Yu(r),s=a(()=>r.today),o=a(()=>r.mainEl),l=a(()=>r.viewDates),u=a(()=>r.options.scrollTime),f=a(()=>r.options.datesAboveResources),d=a(()=>r.options.theme),h=a(()=>i.grid),g=a(()=>i.sidebarWidth),c=Je([]);Ge(()=>{n(f)&&(n(l),n(u),Hn().then(v))});function v(){if(n(s)>=n(l)[0]&&n(s)<=n(l).at(-1))for(let _ of n(h)){let p=_[0];if($e(p.dayStart,n(s))){n(o).scrollLeft=(n(o).scrollWidth-n(g))/(n(h).length*_.length)*(p.gridColumn-1)*(Cn()?-1:1);break}}}ro(e,{get viewState(){return i},header:m=>{var y=Ju(),k=J(y);ie(k,17,()=>n(h),oe,(C,w,E)=>{const P=a(()=>{const{dayStart:F,resource:I,disabled:ue,highlight:B}=n(w)[0];return{date:F,resource:I,disabled:ue,highlight:B}});{let F=a(()=>n(h)[0].length>1?n(d).colGroup:void 0),I=a(()=>1+E*n(w).length),ue=a(()=>n(f)&&n(P).disabled),B=a(()=>n(f)&&n(P).highlight);Gn(C,{get date(){return n(P).date},get className(){return n(F)},get weekday(){return n(f)},get colSpan(){return n(w).length},get colIndex(){return n(I)},get disabled(){return n(ue)},get highlight(){return n(B)},children:(Z,X)=>{var N=he(),M=J(N);{var Q=H=>{pr(H,{get date(){return n(P).date}})},ve=H=>{fi(H,{get resource(){return n(P).resource},setLabel:re=>c[E]=re+", "})};pe(M,H=>{n(f)?H(Q):H(ve,!1)})}T(Z,N)},$$slots:{default:!0}})}});var S=ne(k,2);{var D=C=>{var w=he(),E=J(w);ie(E,17,()=>n(h),oe,(P,F,I)=>{var ue=he(),B=J(ue);ie(B,17,()=>n(F),oe,(Z,X,N)=>{const M=a(()=>{const{dayStart:Q,resource:ve,disabled:H,highlight:re}=n(X);return{date:Q,resource:ve,disabled:H,highlight:re}});{let Q=a(()=>1+N+I*n(F).length);Gn(Z,{get date(){return n(M).date},get colIndex(){return n(Q)},get disabled(){return n(M).disabled},get highlight(){return n(M).highlight},children:(ve,H)=>{var re=he(),Ee=J(re);{var U=V=>{fi(V,{get resource(){return n(M).resource},get date(){return n(M).date}})},L=V=>{pr(V,{get date(){return n(M).date},get alPrefix(){return c[I]}})};pe(Ee,V=>{n(f)?V(U):V(L,!1)})}T(ve,re)},$$slots:{default:!0}})}}),T(P,ue)}),T(C,w)};pe(S,C=>{n(h)[0].length>1&&C(D)})}T(m,y)},nowIndicator:m=>{var y=he(),k=J(y);{var S=C=>{{let w=a(()=>n(h).flat());br(C,{get days(){return n(w)},get span(){return n(h)[0].length}})}},D=C=>{var w=he(),E=J(w);{var P=I=>{var ue=he(),B=J(ue);ie(B,17,()=>n(h),oe,(Z,X)=>{br(Z,{get days(){return n(X)}})}),T(I,ue)},F=I=>{{let ue=a(()=>n(h).flat());br(I,{get days(){return n(ue)},get span(){return n(h).length}})}};pe(E,I=>{n(h)[0].length>1?I(P):I(F,!1)})}T(C,w)};pe(k,C=>{n(f)?C(S):C(D,!1)})}T(m,y)},$$slots:{header:!0,nowIndicator:!0}}),ke()}const ju={createOptions(e){js(e),ai(e),$s(e),_e(e,{datesAboveResources:!1,view:"resourceTimeGridWeek"}),_e(e.buttonText,{resourceTimeGridDay:"resources",resourceTimeGridWeek:"resources"}),_e(e.theme,{colGroup:"ec-col-group"}),_e(e.views,{resourceTimeGridDay:{buttonText:hr,component:io,dayHeaderFormat:{weekday:"long"},duration:{days:1},theme:mt("ec-resource ec-time-grid ec-day-view")},resourceTimeGridWeek:{buttonText:vr,component:io,duration:{weeks:1},theme:mt("ec-resource ec-time-grid ec-week-view")}})},createParsers(e){li(e)}};function io(e){return oi(e),Qu}function hi(e,t){let r=[],i,s,o,l,u,f=0;for(let{gridColumn:d,gridRow:h,resource:g,dayStart:c,start:v,end:_,disabled:p}of t)!p&&Bn(e,v,_,g)&&(r.length||(i=v,o=d,l=h,u=ft(e.start-v,0)/1e3),r.push(c),s=_,f+=(Lt(_,e.end)-ft(v,e.start))/1e3);if(r.length){let d=Yn(e,i,s);return _e(d,{gridColumn:o,gridRow:l,dates:r,left:u,width:f}),[d]}return[]}function $u(e){let t={};for(let r of e){let{gridColumn:i,gridRow:s}=r;for(let l=0;l<r.dates.length;++l){let u=`${s}_${i+l}`;t[u]?t[u].push(r):t[u]=[r]}let o=`${s}_${i}`;r.day=t[o]}}function ef(e,t,r){let i=0,s=i+t,o=e.day;o.sort((l,u)=>(l.top??Number.POSITIVE_INFINITY)-(u.top??Number.POSITIVE_INFINITY));for(let l of o)if(!(l===e||!("top"in l))&&(r||e.start<l.end&&e.end>l.start)&&i<l.bottom&&s>l.top){let u=l.bottom-i+1;i+=u,s+=u}return _e(e,{top:i,bottom:s}),i}function tf(e,t){return e[t.getTime()]??{min:Ne(0),max:Ne("24:00:00")}}function nf(e,t){return()=>{let{viewDates:r,options:{highlightedDates:i,validRange:s}}=e,{dayTimeLimits:o,viewResources:l}=t,u=[];return $(()=>{let f=1;for(let d of l){let h=[],g=1;for(let c of r){let v=o[c.getTime()];h.push({gridColumn:g,gridRow:f,resource:d,start:xe(q(c),v.min),end:xe(q(c),v.max),dayStart:c,dayEnd:kt(q(c)),disabled:Tn(c,s),highlight:i.some(_=>$e(_,c))}),++g}u.push(h),++f}}),u}}function rf(e,t){return()=>{let{filteredEvents:r}=e,{grid:i}=t,s=[],o=[];return $(()=>{for(let l of r)for(let u of i)gt(l.display)?o=o.concat(hi(l,u)):s=s.concat(hi(l,u));$u(s)}),{chunks:s,bgChunks:o}}}function sf(e,t){return()=>{let{iEvents:r}=e,{grid:i}=t,s=[];for(let[,o]of r)o&&$(()=>{for(let l of i)s=s.concat(hi(o,l))});return s}}function of(e){return()=>{let{filteredEvents:t,viewDates:r,options:{flexibleSlotTimeLimits:i,slotMinTime:s,slotMaxTime:o}}=e,l={};return $(()=>{for(let u of r)l[u.getTime()]=Ys(s,o,i,[u],t)}),l}}function af(e,t){return()=>{let{viewDates:r,options:{slotDuration:i}}=e,{dayTimeLimits:s,intlSlotLabel:o,slotLabelPeriodicity:l}=t,u={};return $(()=>{for(let f of r){let d=f.getTime();u[d]=d in s?Bs(f,i,l,s[d],o):[]}}),u}}function lf(e){return()=>{let{options:{resources:t}}=e,r;return $(()=>{r=t.some(i=>Vt(i).children.length)}),r}}function uf(e){return()=>{let{options:{slotDuration:t}}=e,r;return $(()=>{r=!ye(t)}),r}}class ff extends to(ui()){#e;get dayTimeLimits(){return n(this.#e)}set dayTimeLimits(t){b(this.#e,t)}#t;get daySlots(){return n(this.#t)}set daySlots(t){b(this.#t,t)}#n;get grid(){return n(this.#n)}set grid(t){b(this.#n,t)}#r;get chunks(){return n(this.#r)}set chunks(t){b(this.#r,t)}#s;get bgChunks(){return n(this.#s)}set bgChunks(t){b(this.#s,t)}#i;get iChunks(){return n(this.#i)}set iChunks(t){b(this.#i,t)}#o;get monthView(){return n(this.#o)}set monthView(t){b(this.#o,t)}#a;get nestedResources(){return n(this.#a)}set nestedResources(t){b(this.#a,t)}constructor(t){super(t),this.#e=a(of(t)),this.#t=a(af(t,this)),this.#n=a(nf(t,this));let r=a(rf(t,this)),i=a(()=>n(r).chunks),s=a(()=>n(r).bgChunks);this.#r=a(()=>n(i)),this.#s=a(()=>n(s)),this.#i=a(sf(t,this)),this.#o=a(uf(t)),this.#a=a(lf(t))}}function df(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.slotWidth),s=a(()=>te("view-state")),o=a(()=>n(s).monthView),l=a(()=>n(s).snap),u=a(()=>t.day.dayStart),f=a(()=>t.day.start),d=a(()=>t.day.resource),h=a(()=>t.day.disabled),g=a(()=>t.day.highlight),c=K(void 0);function v(_,p){if(n(o))return n(u);{let m=Qt(n(c)),y=m.width/n(c).offsetWidth;return xe(q(n(f)),n(l).duration,Kr((Cn()?m.right-_:_-m.left)/(n(i)*n(l).ratio*y)))}}mr(e,{get allDay(){return n(o)},get date(){return n(u)},get resource(){return n(d)},dateFromPoint:v,get disabled(){return n(h)},get highlight(){return n(g)},get noIeb(){return t.noIeb},get noBeb(){return t.noBeb},get el(){return n(c)},set el(_){b(c,_,!0)}}),ke()}function vi(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.slotDuration),s=a(()=>n(r).options.slotWidth),o=a(()=>te("view-state")),l=a(()=>n(o).monthView),u=K(void 0),f=K(0),d=a(()=>t.chunk.event),h=a(()=>v=>{if(v["grid-column"]=`${t.chunk.gridColumn} / span ${t.chunk.dates.length}`,v["grid-row"]=t.chunk.gridRow,!n(l)){let p=t.chunk.left/ye(n(i))*n(s);v["inset-inline-start"]=`${p}px`,v["inline-size"]=`${t.chunk.width/ye(n(i))*n(s)}px`}let _=n(f);if(n(d)._margin){let[p,m]=n(d)._margin;t.chunk.gridRow===m&&(_=p)}return v["margin-block-start"]=`${_}px`,v});function g(){b(f,ef(t.chunk,dn(n(u)),n(l)),!0)}var c={reposition:g};{let v=a(()=>[n(f),t.chunk.gridRow]);_r(e,{get chunk(){return t.chunk},get styles(){return n(h)},axis:"x",get forceMargin(){return n(v)},get el(){return n(u)},set el(_){b(u,_,!0)}})}return ke(c)}var cf=ee("<span></span>"),hf=ee("<button><!></button>"),vf=ee("<!> <span><!></span>",1);function gf(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options),s=a(()=>n(i).resources),o=a(()=>n(i).theme),l=K({}),u=K(!0);on(()=>{b(l,Vt(t.resource)),b(u,n(l).expanded,!0)});function f(){b(u,!n(u)),n(l).expanded=n(u),d(n(l).children,n(u)),n(i).resources=[...n(s)]}function d(p,m){for(let y of p){let k=Vt(y);k.hidden=!m,k.expanded&&d(k.children,m)}}var h=vf(),g=J(h);ie(g,17,()=>Array(n(l).level),oe,(p,m)=>{var y=cf();se(()=>O(y,1,n(o).expander)),T(p,y)});var c=ne(g,2),v=le(c);{var _=p=>{var m=hf();m.__click=f;var y=le(m);{var k=D=>{var C=ms("−");T(D,C)},S=D=>{var C=ms("+");T(D,C)};pe(y,D=>{n(u)?D(k):D(S,!1)})}se(()=>O(m,1,n(o).button)),T(p,m)};pe(v,p=>{n(l).children?.length&&p(_)})}se(()=>O(c,1,n(o).expander)),T(e,h),ke()}Zt(["click"]);var mf=ee("<div></div>");function pf(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).mainEl),s=a(()=>n(r).now),o=a(()=>n(r).today),l=a(()=>n(r).options.slotDuration),u=a(()=>n(r).options.slotWidth),f=a(()=>n(r).options.theme),d=a(()=>te("view-state")),h=a(()=>n(d).grid),g=a(()=>n(d).sidebarWidth),c=a(()=>{for(let w of n(h)[0])if($e(w.dayStart,n(o)))return w;return{}}),v=a(()=>n(c).gridColumn),_=a(()=>n(c).start),p=a(()=>n(c).end),m=a(()=>{if(n(s)<n(_)||n(s)>n(p))return null;let w=ye(n(l));return(n(s)-n(_))/1e3/w*n(u)}),y=a(()=>({root:n(i),rootMargin:Cn()?`0px -${n(g)+1}px 0px 0px`:`0px 0px 0px -${n(g)+1}px`,threshold:0}));function k(w,E){w.classList.toggle(n(f).hidden,!E.isIntersecting)}var S=he(),D=J(S);{var C=w=>{var E=mf();let P;Me(E,()=>Ds(k,n(y))),se(()=>{O(E,1,n(f).nowIndicator),P=bt(E,"",P,{"grid-column":n(v)+1,"grid-row":`2 / span ${n(h).length??""}`,"inset-inline-start":`${n(m)??""}px`})}),T(w,E)};pe(D,w=>{n(v)&&n(m)!==null&&w(C)})}T(e,S),ke()}var _f=ee("<div><time></time></div>"),yf=ee('<div role="rowheader"><!> <!></div>'),wf=ee('<section><header><aside></aside> <div role="row"><!> <!></div></header> <div role="rowgroup"><aside></aside> <div role="row"></div> <div><!> <!> <!></div></div> <!></section>');function bf(e,t){be(t,!0);let r=te("state"),i=new ff(r);In("view-state",i);let s=a(()=>r.mainEl),o=a(()=>r.today),l=a(()=>r.viewDates),u=a(()=>r.options.columnWidth),f=a(()=>r.options.nowIndicator),d=a(()=>r.options.scrollTime),h=a(()=>r.options.slotDuration),g=a(()=>r.options.slotHeight),c=a(()=>r.options.slotWidth),v=a(()=>r.options.theme),_=a(()=>i.chunks),p=a(()=>i.bgChunks),m=a(()=>i.iChunks),y=a(()=>i.daySlots),k=a(()=>i.dayTimeLimits),S=a(()=>i.grid),D=a(()=>i.monthView),C=a(()=>i.nestedResources),w=a(()=>i.sidebarWidth),E=a(()=>i.slotLabelPeriodicity),P=a(()=>i.viewResources),F=K(0);Ge(()=>{n(l),n(d),Hn().then(I)});function I(){if(n(D))return;let Y=0,ae=n(o)<n(l)[0]||n(o)>n(l).at(-1);for(let Ie of n(l)){let W=tf(n(k),Ie);if(ae||$e(Ie,n(o))){Y+=ft(Lt(ye(n(d)),ye(W.max))-ye(W.min),0);break}else Y+=ye(W.max)-ye(W.min)}n(s).scrollLeft=Y/ye(n(h))*n(c)*(Cn()?-1:1)}let ue=[];function B(){$r(ue,n(_))}Ge(B);var Z=wf();let X;var N=le(Z),M=le(N),Q=ne(M,2),ve=le(Q);ie(ve,17,()=>n(S)[0],oe,(Y,ae,Ie)=>{let W=()=>n(ae).dayStart,z=()=>n(ae).disabled,G=()=>n(ae).highlight;Gn(Y,{get date(){return W()},colIndex:1+Ie,get disabled(){return z()},get highlight(){return G()},children:(de,Se)=>{pr(de,{get date(){return W()}})},$$slots:{default:!0}})});var H=ne(ve,2);{var re=Y=>{var ae=he(),Ie=J(ae);ie(Ie,17,()=>n(S)[0],oe,(W,z)=>{let G=()=>n(z).dayStart,de=()=>n(z).disabled,Se=()=>n(z).highlight;Gn(W,{get date(){return G()},get className(){return n(v).slots},get disabled(){return de()},get highlight(){return Se()},ariaHidden:!0,children:(we,Re)=>{var Ae=he(),ce=J(Ae);ie(ce,17,()=>n(y)[G().getTime()],oe,(ze,dt)=>{var et=_f();let pt;var Oe=le(et);Me(Oe,()=>Xe(n(dt)[1])),se(()=>{O(et,1,n(v).slot),pt=bt(et,"",pt,{"--ec-slot-label-periodicity":n(dt)[2]}),Pe(Oe,"datetime",n(dt)[0])}),T(ze,et)}),T(we,Ae)},$$slots:{default:!0}})}),T(Y,ae)};pe(H,Y=>{n(D)||Y(re)})}var Ee=ne(N,2),U=le(Ee);ie(U,21,()=>n(P),oe,(Y,ae)=>{var Ie=yf(),W=le(Ie);{var z=de=>{gf(de,{get resource(){return n(ae)}})};pe(W,de=>{n(C)&&de(z)})}var G=ne(W,2);fi(G,{get resource(){return n(ae)}}),se(()=>O(Ie,1,n(v).rowHead)),T(Y,Ie)});var L=ne(U,2);ie(L,21,()=>n(S),oe,(Y,ae,Ie)=>{var W=he(),z=J(W);ie(z,17,()=>n(ae),oe,(G,de,Se)=>{{let we=a(()=>Se+1===n(ae).length),Re=a(()=>Ie+1===n(S).length);df(G,{get day(){return n(de)},get noIeb(){return n(we)},get noBeb(){return n(Re)}})}}),T(Y,W)});var V=ne(L,2),R=le(V);ie(R,17,()=>n(_),oe,(Y,ae,Ie)=>{nt(vi(Y,{get chunk(){return n(ae)}}),(W,z)=>ue[z]=W,W=>ue?.[W],()=>[Ie])});var fe=ne(R,2);ie(fe,17,()=>n(p),oe,(Y,ae)=>{vi(Y,{get chunk(){return n(ae)}})});var rt=ne(fe,2);ie(rt,17,()=>n(m),oe,(Y,ae)=>{vi(Y,{get chunk(){return n(ae)}})});var He=ne(Ee,2);{var Pt=Y=>{pf(Y,{})};pe(He,Y=>{n(f)&&!n(D)&&Y(Pt)})}nt(Z,Y=>r.mainEl=Y,()=>r?.mainEl),Me(Z,()=>qr(B)),se(()=>{O(Z,1,n(v).main),X=bt(Z,"",X,{"--ec-grid-cols":n(S)[0].length,"--ec-grid-rows":`${n(S).length>1?`repeat(${n(S).length-1}, auto)`:""} 1fr`,"--ec-col-width":n(u)??"minmax(4em, 1fr)","--ec-slot-label-periodicity":n(E),"--ec-slot-height":`${n(g)??""}px`,"--ec-slot-width":`${n(c)??""}px`,"--ec-header-height":`${n(F)??""}px`,"--ec-sidebar-width":`${n(w)??""}px`}),O(N,1,n(v).header),O(M,1,n(v).sidebar),O(Q,1,n(v).grid),O(Ee,1,n(v).body),O(U,1,n(v).sidebar),O(L,1,n(v).grid),O(V,1,n(v).events)}),or(M,"offsetWidth",Y=>i.sidebarWidth=Y),or(N,"offsetHeight",Y=>b(F,Y)),T(e,Z),ke()}const kf={createOptions(e){ai(e),$s(e),e.slotWidth=32,e.buttonText.resourceTimelineDay="timeline",e.buttonText.resourceTimelineWeek="timeline",e.buttonText.resourceTimelineMonth="timeline",e.theme.expander="ec-expander",e.theme.rowHead="ec-row-head",e.theme.slots="ec-slots",e.view="resourceTimelineWeek",e.views.resourceTimelineDay={buttonText:hr,component:so,displayEventEnd:!1,dayHeaderFormat:{weekday:"long"},duration:{days:1},theme:mt("ec-resource ec-timeline ec-day-view"),titleFormat:{year:"numeric",month:"long",day:"numeric"}},e.views.resourceTimelineWeek={buttonText:vr,component:so,displayEventEnd:!1,duration:{weeks:1},theme:mt("ec-resource ec-timeline ec-week-view")},e.views.resourceTimelineMonth={buttonText:ei,component:oo,displayEventEnd:!1,dayHeaderFormat:{weekday:"short",day:"numeric"},duration:{months:1},slotDuration:{days:1},theme:mt("ec-resource ec-timeline ec-month-view"),titleFormat:{year:"numeric",month:"long"}}},createParsers(e){li(e)}};function so(e){return oi(e),oo(e)}function oo(e){return e.features=["timeline"],e.extensions.viewResources=t=>t.filter(r=>!Vt(r).hidden),bf}const Cf={createOptions(e){ai(e),js(e),_e(e.buttonText,{timeGridDay:"day",timeGridWeek:"week"}),_e(e,{view:"timeGridWeek"}),_e(e.views,{timeGridDay:{buttonText:hr,component:ao,dayHeaderFormat:{weekday:"long"},duration:{days:1},theme:mt("ec-time-grid ec-day-view"),titleFormat:{year:"numeric",month:"long",day:"numeric"}},timeGridWeek:{buttonText:vr,component:ao,duration:{weeks:1},theme:mt("ec-time-grid ec-week-view")}})},createParsers(e){li(e)}};function ao(e){return oi(e),ro}function Df(e,t,r){return Da(zl,{target:e,props:{plugins:t,options:r}})}function Ef(e){return Ta(e)}function Tf(e,t){return Df(e,[au,ku,Lu,ju,kf,Cf],t)}return Kn.create=Tf,Kn.destroy=Ef,Object.defineProperty(Kn,Symbol.toStringTag,{value:"Module"}),Kn})({});
|
|
5
|
+
var EventCalendar=(function(Kn){"use strict";var bi=Array.isArray,_o=Array.prototype.indexOf,Zn=Array.from,ki=Object.defineProperty,mn=Object.getOwnPropertyDescriptor,yo=Object.getOwnPropertyDescriptors,wo=Object.prototype,bo=Array.prototype,Ci=Object.getPrototypeOf,Di=Object.isExtensible;const Yt=()=>{};function ko(e){for(var t=0;t<e.length;t++)e[t]()}function Ei(){var e,t,r=new Promise((i,s)=>{e=i,t=s});return{promise:r,resolve:e,reject:t}}function Co(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const r=[];for(const i of e)if(r.push(i),r.length===t)break;return r}const Ue=2,Er=4,Jn=8,Ti=1<<24,Mt=16,At=32,en=64,Qn=128,_t=512,Ve=1024,it=2048,Dt=4096,st=8192,Ot=16384,Tr=32768,Gt=65536,xi=1<<17,Si=1<<18,pn=1<<19,Ri=1<<20,Nt=1<<25,tn=32768,xr=1<<21,Sr=1<<22,qt=1<<23,In=Symbol("$state"),Do=Symbol("legacy props"),Eo=Symbol(""),_n=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function Ii(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function To(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function xo(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function So(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ro(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Io(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Lo(){throw new Error("https://svelte.dev/e/get_abort_signal_outside_reaction")}function Po(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Mo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ao(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Oo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function No(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Fo=1,Ho=2,Li=4,Uo=8,Wo=16,zo=1,Vo=4,Bo=8,Yo=16,Go=1,qo=2,Be=Symbol(),Xo="http://www.w3.org/1999/xhtml";function Ko(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Pi(e){return e===this.v}function Zo(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Mi(e){return!Zo(e,this.v)}let Xf=!1,Ye=null;function yn(e){Ye=e}function te(e){return Oi().get(e)}function Ln(e,t){return Oi().set(e,t),t}function be(e,t=!1,r){Ye={p:Ye,i:!1,c:null,e:null,s:e,x:null,l:null}}function ke(e){var t=Ye,r=t.e;if(r!==null){t.e=null;for(var i of r)$i(i)}return e!==void 0&&(t.x=e),t.i=!0,Ye=t.p,e??{}}function Ai(){return!0}function Oi(e){return Ye===null&&Ii(),Ye.c??=new Map(Jo(Ye)||void 0)}function Jo(e){let t=e.p;for(;t!==null;){const r=t.c;if(r!==null)return r;t=t.p}return null}let nn=[];function Ni(){var e=nn;nn=[],ko(e)}function rn(e){if(nn.length===0&&!Pn){var t=nn;queueMicrotask(()=>{t===nn&&Ni()})}nn.push(e)}function Qo(){for(;nn.length>0;)Ni()}function Fi(e){var t=Te;if(t===null)return ge.f|=qt,e;if((t.f&Tr)===0){if((t.f&Qn)===0)throw e;t.b.error(e)}else wn(e,t)}function wn(e,t){for(;t!==null;){if((t.f&Qn)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const jn=new Set;let Le=null,ct=null,ht=[],$n=null,Rr=!1,Pn=!1;class Et{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#s=null;#i=new Set;#o=new Set;skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){ht=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[]};for(const i of t)this.#a(i,r);this.is_fork||this.#f(),this.is_deferred()?(this.#l(r.effects),this.#l(r.render_effects)):(Le=null,Ui(r.render_effects),Ui(r.effects),this.#s?.resolve()),ct=null}#a(t,r){t.f^=Ve;for(var i=t.first;i!==null;){var s=i.f,o=(s&(At|en))!==0,l=o&&(s&Ve)!==0,u=l||(s&st)!==0||this.skipped_effects.has(i);if((i.f&Qn)!==0&&i.b?.is_pending()&&(r={parent:r,effect:i,effects:[],render_effects:[]}),!u&&i.fn!==null){o?i.f^=Ve:(s&Er)!==0?r.effects.push(i):Fn(i)&&((i.f&Mt)!==0&&this.#i.add(i),Hn(i));var f=i.first;if(f!==null){i=f;continue}}var d=i.parent;for(i=i.next;i===null&&d!==null;)d===r.effect&&(this.#l(r.effects),this.#l(r.render_effects),r=r.parent),i=d.next,d=d.parent}}#l(t){for(const r of t)(r.f&it)!==0?this.#i.add(r):(r.f&Dt)!==0&&this.#o.add(r),this.#u(r.deps),qe(r,Ve)}#u(t){if(t!==null)for(const r of t)(r.f&Ue)===0||(r.f&tn)===0||(r.f^=tn,this.#u(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&qt)===0&&(this.current.set(t,t.v),ct?.set(t,t.v))}activate(){Le=this,this.apply()}deactivate(){Le===this&&(Le=null,ct=null)}flush(){if(this.activate(),ht.length>0){if(Hi(),Le!==null&&Le!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#f(){if(this.#r===0){for(const t of this.#e)t();this.#e.clear()}this.#n===0&&this.#d()}#d(){if(jn.size>1){this.previous.clear();var t=ct,r=!0,i={parent:null,effect:null,effects:[],render_effects:[]};for(const o of jn){if(o===this){r=!1;continue}const l=[];for(const[f,d]of this.current){if(o.current.has(f))if(r&&d!==o.current.get(f))o.current.set(f,d);else continue;l.push(f)}if(l.length===0)continue;const u=[...o.current.keys()].filter(f=>!this.current.has(f));if(u.length>0){var s=ht;ht=[];const f=new Set,d=new Map;for(const h of l)Wi(h,u,f,d);if(ht.length>0){Le=o,o.apply();for(const h of ht)o.#a(h,i);o.deactivate()}ht=s}}Le=null,ct=t}this.committed=!0,jn.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#i)this.#o.delete(t),qe(t,it),sn(t);for(const t of this.#o)qe(t,Dt),sn(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#s??=Ei()).promise}static ensure(){if(Le===null){const t=Le=new Et;jn.add(Le),Pn||Et.enqueue(()=>{Le===t&&t.flush()})}return Le}static enqueue(t){rn(t)}apply(){}}function jo(e){var t=Pn;Pn=!0;try{for(var r;;){if(Qo(),ht.length===0&&(Le?.flush(),ht.length===0))return $n=null,r;Hi()}}finally{Pn=t}}function Hi(){var e=ln;Rr=!0;var t=null;try{var r=0;for(rr(!0);ht.length>0;){var i=Et.ensure();if(r++>1e3){var s,o;$o()}i.process(ht),Xt.clear()}}finally{Rr=!1,rr(e),$n=null}}function $o(){try{Io()}catch(e){wn(e,$n)}}let Ft=null;function Ui(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var i=e[r++];if((i.f&(Ot|st))===0&&Fn(i)&&(Ft=new Set,Hn(i),i.deps===null&&i.first===null&&i.nodes===null&&(i.teardown===null&&i.ac===null?rs(i):i.fn=null),Ft?.size>0)){Xt.clear();for(const s of Ft){if((s.f&(Ot|st))!==0)continue;const o=[s];let l=s.parent;for(;l!==null;)Ft.has(l)&&(Ft.delete(l),o.push(l)),l=l.parent;for(let u=o.length-1;u>=0;u--){const f=o[u];(f.f&(Ot|st))===0&&Hn(f)}}Ft.clear()}}Ft=null}}function Wi(e,t,r,i){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const o=s.f;(o&Ue)!==0?Wi(s,t,r,i):(o&(Sr|Mt))!==0&&(o&it)===0&&zi(s,t,i)&&(qe(s,it),sn(s))}}function zi(e,t,r){const i=r.get(e);if(i!==void 0)return i;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&Ue)!==0&&zi(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function sn(e){for(var t=$n=e;t.parent!==null;){t=t.parent;var r=t.f;if(Rr&&t===Te&&(r&Mt)!==0&&(r&Si)===0)return;if((r&(en|At))!==0){if((r&Ve)===0)return;t.f^=Ve}}ht.push(t)}function ea(e){let t=0,r=Kt(0),i;return()=>{An()&&(n(r),es(()=>(t===0&&(i=$(()=>e(()=>Tt(r)))),t+=1,()=>{rn(()=>{t-=1,t===0&&(i?.(),i=void 0,Tt(r))})})))}}var ta=Gt|pn|Qn;function na(e,t,r){new ra(e,t,r)}class ra{parent;#e=!1;#t;#n=null;#r;#s;#i;#o=null;#a=null;#l=null;#u=null;#f=null;#d=0;#c=0;#v=!1;#h=null;#y=ea(()=>(this.#h=Kt(this.#d),()=>{this.#h=null}));constructor(t,r,i){this.#t=t,this.#r=r,this.#s=i,this.parent=Te.b,this.#e=!!this.#r.pending,this.#i=On(()=>{Te.b=this;{var s=this.#p();try{this.#o=ot(()=>i(s))}catch(o){this.error(o)}this.#c>0?this.#m():this.#e=!1}return()=>{this.#f?.remove()}},ta)}#w(){try{this.#o=ot(()=>this.#s(this.#t))}catch(t){this.error(t)}this.#e=!1}#b(){const t=this.#r.pending;t&&(this.#a=ot(()=>t(this.#t)),Et.enqueue(()=>{var r=this.#p();this.#o=this.#g(()=>(Et.ensure(),ot(()=>this.#s(r)))),this.#c>0?this.#m():(an(this.#a,()=>{this.#a=null}),this.#e=!1)}))}#p(){var t=this.#t;return this.#e&&(this.#f=Ht(),this.#t.before(this.#f),t=this.#f),t}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#g(t){var r=Te,i=ge,s=Ye;St(this.#i),tt(this.#i),yn(this.#i.ctx);try{return t()}catch(o){return Fi(o),null}finally{St(r),tt(i),yn(s)}}#m(){const t=this.#r.pending;this.#o!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#f),os(this.#o,this.#u)),this.#a===null&&(this.#a=ot(()=>t(this.#t)))}#_(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#_(t);return}this.#c+=t,this.#c===0&&(this.#e=!1,this.#a&&an(this.#a,()=>{this.#a=null}),this.#u&&(this.#t.before(this.#u),this.#u=null))}update_pending_count(t){this.#_(t),this.#d+=t,this.#h&&bn(this.#h,this.#d)}get_effect_pending(){return this.#y(),n(this.#h)}error(t){var r=this.#r.onerror;let i=this.#r.failed;if(this.#v||!r&&!i)throw t;this.#o&&(Qe(this.#o),this.#o=null),this.#a&&(Qe(this.#a),this.#a=null),this.#l&&(Qe(this.#l),this.#l=null);var s=!1,o=!1;const l=()=>{if(s){Ko();return}s=!0,o&&No(),Et.ensure(),this.#d=0,this.#l!==null&&an(this.#l,()=>{this.#l=null}),this.#e=this.has_pending_snippet(),this.#o=this.#g(()=>(this.#v=!1,ot(()=>this.#s(this.#t)))),this.#c>0?this.#m():this.#e=!1};var u=ge;try{tt(null),o=!0,r?.(t,l),o=!1}catch(f){wn(f,this.#i&&this.#i.parent)}finally{tt(u)}i&&rn(()=>{this.#l=this.#g(()=>{Et.ensure(),this.#v=!0;try{return ot(()=>{i(this.#t,()=>t,()=>l)})}catch(f){return wn(f,this.#i.parent),null}finally{this.#v=!1}})})}}function ia(e,t,r,i){const s=tr;if(r.length===0&&e.length===0){i(t.map(s));return}var o=Le,l=Te,u=sa();function f(){Promise.all(r.map(d=>oa(d))).then(d=>{u();try{i([...t.map(s),...d])}catch(h){(l.f&Ot)===0&&wn(h,l)}o?.deactivate(),er()}).catch(d=>{wn(d,l)})}e.length>0?Promise.all(e).then(()=>{u();try{return f()}finally{o?.deactivate(),er()}}):f()}function sa(){var e=Te,t=ge,r=Ye,i=Le;return function(o=!0){St(e),tt(t),yn(r),o&&i?.activate()}}function er(){St(null),tt(null),yn(null)}function tr(e){var t=Ue|it,r=ge!==null&&(ge.f&Ue)!==0?ge:null;return Te!==null&&(Te.f|=pn),{ctx:Ye,deps:null,effects:null,equals:Pi,f:t,fn:e,reactions:null,rv:0,v:Be,wv:0,parent:r??Te,ac:null}}function oa(e,t){let r=Te;r===null&&To();var i=r.b,s=void 0,o=Kt(Be),l=!ge,u=new Map;return va(()=>{var f=Ei();s=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{d===Le&&d.committed&&d.deactivate(),er()})}catch(c){f.reject(c),er()}var d=Le;if(l){var h=!i.is_pending();i.update_pending_count(1),d.increment(h),u.get(d)?.reject(_n),u.delete(d),u.set(d,f)}const g=(c,v=void 0)=>{if(d.activate(),v)v!==_n&&(o.f|=qt,bn(o,v));else{(o.f&qt)!==0&&(o.f^=qt),bn(o,c);for(const[_,p]of u){if(u.delete(_),_===d)break;p.reject(_n)}}l&&(i.update_pending_count(-1),d.decrement(h))};f.promise.then(g,c=>g(null,c||"unknown"))}),Mr(()=>{for(const f of u.values())f.reject(_n)}),new Promise(f=>{function d(h){function g(){h===s?f(o):d(s)}h.then(g,g)}d(s)})}function a(e){const t=tr(e);return ls(t),t}function Vi(e){const t=tr(e);return t.equals=Mi,t}function Bi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Qe(t[r])}}function aa(e){for(var t=e.parent;t!==null;){if((t.f&Ue)===0)return(t.f&Ot)===0?t:null;t=t.parent}return null}function Ir(e){var t,r=Te;St(aa(e));try{e.f&=~tn,Bi(e),t=hs(e)}finally{St(r)}return t}function Yi(e){var t=Ir(e);if(e.equals(t)||(Le?.is_fork||(e.v=t),e.wv=ds()),!un)if(ct!==null)(An()||Le?.is_fork)&&ct.set(e,t);else{var r=(e.f&_t)===0?Dt:Ve;qe(e,r)}}let Lr=new Set;const Xt=new Map;let Gi=!1;function Kt(e,t){var r={f:0,v:e,reactions:null,equals:Pi,rv:0,wv:0};return r}function K(e,t){const r=Kt(e);return ls(r),r}function qi(e,t=!1,r=!0){const i=Kt(e);return t||(i.equals=Mi),i}function b(e,t,r=!1){ge!==null&&(!xt||(ge.f&xi)!==0)&&Ai()&&(ge.f&(Ue|Mt|Sr|xi))!==0&&!Ut?.includes(e)&&Oo();let i=r?et(t):t;return bn(e,i)}function bn(e,t){if(!e.equals(t)){var r=e.v;un?Xt.set(e,t):Xt.set(e,r),e.v=t;var i=Et.ensure();i.capture(e,r),(e.f&Ue)!==0&&((e.f&it)!==0&&Ir(e),qe(e,(e.f&_t)!==0?Ve:Dt)),e.wv=ds(),Xi(e,it),Te!==null&&(Te.f&Ve)!==0&&(Te.f&(At|en))===0&&(vt===null?_a([e]):vt.push(e)),!i.is_fork&&Lr.size>0&&!Gi&&la()}return t}function la(){Gi=!1;var e=ln;rr(!0);const t=Array.from(Lr);try{for(const r of t)(r.f&Ve)!==0&&qe(r,Dt),Fn(r)&&Hn(r)}finally{rr(e)}Lr.clear()}function Tt(e){b(e,e.v+1)}function Xi(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,u=(l&it)===0;if(u&&qe(o,t),(l&Ue)!==0){var f=o;ct?.delete(f),(l&tn)===0&&(l&_t&&(o.f|=tn),Xi(f,Dt))}else u&&((l&Mt)!==0&&Ft!==null&&Ft.add(o),sn(o))}}function et(e){if(typeof e!="object"||e===null||In in e)return e;const t=Ci(e);if(t!==wo&&t!==bo)return e;var r=new Map,i=bi(e),s=K(0),o=Wt,l=u=>{if(Wt===o)return u();var f=ge,d=Wt;tt(null),fs(o);var h=u();return tt(f),fs(d),h};return i&&r.set("length",K(e.length)),new Proxy(e,{defineProperty(u,f,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Mo();var h=r.get(f);return h===void 0?h=l(()=>{var g=K(d.value);return r.set(f,g),g}):b(h,d.value,!0),!0},deleteProperty(u,f){var d=r.get(f);if(d===void 0){if(f in u){const h=l(()=>K(Be));r.set(f,h),Tt(s)}}else b(d,Be),Tt(s);return!0},get(u,f,d){if(f===In)return e;var h=r.get(f),g=f in u;if(h===void 0&&(!g||mn(u,f)?.writable)&&(h=l(()=>{var v=et(g?u[f]:Be),_=K(v);return _}),r.set(f,h)),h!==void 0){var c=n(h);return c===Be?void 0:c}return Reflect.get(u,f,d)},getOwnPropertyDescriptor(u,f){var d=Reflect.getOwnPropertyDescriptor(u,f);if(d&&"value"in d){var h=r.get(f);h&&(d.value=n(h))}else if(d===void 0){var g=r.get(f),c=g?.v;if(g!==void 0&&c!==Be)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return d},has(u,f){if(f===In)return!0;var d=r.get(f),h=d!==void 0&&d.v!==Be||Reflect.has(u,f);if(d!==void 0||Te!==null&&(!h||mn(u,f)?.writable)){d===void 0&&(d=l(()=>{var c=h?et(u[f]):Be,v=K(c);return v}),r.set(f,d));var g=n(d);if(g===Be)return!1}return h},set(u,f,d,h){var g=r.get(f),c=f in u;if(i&&f==="length")for(var v=d;v<g.v;v+=1){var _=r.get(v+"");_!==void 0?b(_,Be):v in u&&(_=l(()=>K(Be)),r.set(v+"",_))}if(g===void 0)(!c||mn(u,f)?.writable)&&(g=l(()=>K(void 0)),b(g,et(d)),r.set(f,g));else{c=g.v!==Be;var p=l(()=>et(d));b(g,p)}var m=Reflect.getOwnPropertyDescriptor(u,f);if(m?.set&&m.set.call(h,d),!c){if(i&&typeof f=="string"){var y=r.get("length"),k=Number(f);Number.isInteger(k)&&k>=y.v&&b(y,k+1)}Tt(s)}return!0},ownKeys(u){n(s);var f=Reflect.ownKeys(u).filter(g=>{var c=r.get(g);return c===void 0||c.v!==Be});for(var[d,h]of r)h.v!==Be&&!(d in u)&&f.push(d);return f},setPrototypeOf(){Ao()}})}var yt,Ki,Zi,Ji;function ua(){if(yt===void 0){yt=window,Ki=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Zi=mn(t,"firstChild").get,Ji=mn(t,"nextSibling").get,Di(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Di(r)&&(r.__t=void 0)}}function Ht(e=""){return document.createTextNode(e)}function nr(e){return Zi.call(e)}function Mn(e){return Ji.call(e)}function le(e,t){return nr(e)}function J(e,t=!1){{var r=nr(e);return r instanceof Comment&&r.data===""?Mn(r):r}}function ne(e,t=1,r=!1){let i=e;for(;t--;)i=Mn(i);return i}function fa(e){e.textContent=""}function Qi(){return!1}function da(e,t){{const r=document.body;e.autofocus=!0,rn(()=>{document.activeElement===r&&e.focus()})}}function Pr(e){var t=ge,r=Te;tt(null),St(null);try{return e()}finally{tt(t),St(r)}}function ji(e){Te===null&&(ge===null&&Ro(),So()),un&&xo()}function ca(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function wt(e,t,r){var i=Te;i!==null&&(i.f&st)!==0&&(e|=st);var s={ctx:Ye,deps:null,nodes:null,f:e|it|_t,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,wv:0,ac:null};if(r)try{Hn(s),s.f|=Tr}catch(u){throw Qe(s),u}else t!==null&&sn(s);var o=s;if(r&&o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&pn)===0&&(o=o.first,(e&Mt)!==0&&(e&Gt)!==0&&o!==null&&(o.f|=Gt)),o!==null&&(o.parent=i,i!==null&&ca(o,i),ge!==null&&(ge.f&Ue)!==0&&(e&en)===0)){var l=ge;(l.effects??=[]).push(o)}return s}function An(){return ge!==null&&!xt}function Mr(e){const t=wt(Jn,null,!1);return qe(t,Ve),t.teardown=e,t}function Ge(e){ji();var t=Te.f,r=!ge&&(t&At)!==0&&(t&Tr)===0;if(r){var i=Ye;(i.e??=[]).push(e)}else return $i(e)}function $i(e){return wt(Er|Ri,e,!1)}function on(e){return ji(),wt(Jn|Ri,e,!0)}function ha(e){Et.ensure();const t=wt(en|pn,e,!0);return(r={})=>new Promise(i=>{r.outro?an(t,()=>{Qe(t),i(void 0)}):(Qe(t),i(void 0))})}function Ar(e){return wt(Er,e,!1)}function va(e){return wt(Sr|pn,e,!0)}function es(e,t=0){return wt(Jn|t,e,!0)}function se(e,t=[],r=[],i=[]){ia(i,t,r,s=>{wt(Jn,()=>e(...s.map(n)),!0)})}function On(e,t=0){var r=wt(Mt|t,e,!0);return r}function ga(e,t=0){var r=wt(Ti|t,e,!0);return r}function ot(e){return wt(At|pn,e,!0)}function ts(e){var t=e.teardown;if(t!==null){const r=un,i=ge;as(!0),tt(null);try{t.call(null)}finally{as(r),tt(i)}}}function ns(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&Pr(()=>{s.abort(_n)});var i=r.next;(r.f&en)!==0?r.parent=null:Qe(r,t),r=i}}function ma(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&At)===0&&Qe(t),t=r}}function Qe(e,t=!0){var r=!1;(t||(e.f&Si)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(pa(e.nodes.start,e.nodes.end),r=!0),ns(e,t&&!r),ir(e,0),qe(e,Ot);var i=e.nodes&&e.nodes.t;if(i!==null)for(const o of i)o.stop();ts(e);var s=e.parent;s!==null&&s.first!==null&&rs(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function pa(e,t){for(;e!==null;){var r=e===t?null:Mn(e);e.remove(),e=r}}function rs(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function an(e,t,r=!0){var i=[];is(e,i,!0);var s=()=>{r&&Qe(e),t&&t()},o=i.length;if(o>0){var l=()=>--o||s();for(var u of i)u.out(l)}else s()}function is(e,t,r){if((e.f&st)===0){e.f^=st;var i=e.nodes&&e.nodes.t;if(i!==null)for(const u of i)(u.is_global||r)&&t.push(u);for(var s=e.first;s!==null;){var o=s.next,l=(s.f&Gt)!==0||(s.f&At)!==0&&(e.f&Mt)!==0;is(s,t,l?r:!1),s=o}}}function Or(e){ss(e,!0)}function ss(e,t){if((e.f&st)!==0){e.f^=st,(e.f&Ve)===0&&(qe(e,it),sn(e));for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Gt)!==0||(r.f&At)!==0;ss(r,s?t:!1),r=i}var o=e.nodes&&e.nodes.t;if(o!==null)for(const l of o)(l.is_global||t)&&l.in()}}function os(e,t){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end;r!==null;){var s=r===i?null:Mn(r);t.append(r),r=s}}let ln=!1;function rr(e){ln=e}let un=!1;function as(e){un=e}let ge=null,xt=!1;function tt(e){ge=e}let Te=null;function St(e){Te=e}let Ut=null;function ls(e){ge!==null&&(Ut===null?Ut=[e]:Ut.push(e))}let je=null,at=0,vt=null;function _a(e){vt=e}let us=1,Nn=0,Wt=Nn;function fs(e){Wt=e}function ds(){return++us}function Fn(e){var t=e.f;if((t&it)!==0)return!0;if(t&Ue&&(e.f&=~tn),(t&Dt)!==0){var r=e.deps;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s];if(Fn(o)&&Yi(o),o.wv>e.wv)return!0}(t&_t)!==0&&ct===null&&qe(e,Ve)}return!1}function cs(e,t,r=!0){var i=e.reactions;if(i!==null&&!Ut?.includes(e))for(var s=0;s<i.length;s++){var o=i[s];(o.f&Ue)!==0?cs(o,t,!1):t===o&&(r?qe(o,it):(o.f&Ve)!==0&&qe(o,Dt),sn(o))}}function hs(e){var t=je,r=at,i=vt,s=ge,o=Ut,l=Ye,u=xt,f=Wt,d=e.f;je=null,at=0,vt=null,ge=(d&(At|en))===0?e:null,Ut=null,yn(e.ctx),xt=!1,Wt=++Nn,e.ac!==null&&(Pr(()=>{e.ac.abort(_n)}),e.ac=null);try{e.f|=xr;var h=e.fn,g=h(),c=e.deps;if(je!==null){var v;if(ir(e,at),c!==null&&at>0)for(c.length=at+je.length,v=0;v<je.length;v++)c[at+v]=je[v];else e.deps=c=je;if(An()&&(e.f&_t)!==0)for(v=at;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&at<c.length&&(ir(e,at),c.length=at);if(Ai()&&vt!==null&&!xt&&c!==null&&(e.f&(Ue|Dt|it))===0)for(v=0;v<vt.length;v++)cs(vt[v],e);return s!==null&&s!==e&&(Nn++,vt!==null&&(i===null?i=vt:i.push(...vt))),(e.f&qt)!==0&&(e.f^=qt),g}catch(_){return Fi(_)}finally{e.f^=xr,je=t,at=r,vt=i,ge=s,Ut=o,yn(l),xt=u,Wt=f}}function ya(e,t){let r=t.reactions;if(r!==null){var i=_o.call(r,e);if(i!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[i]=r[s],r.pop())}}r===null&&(t.f&Ue)!==0&&(je===null||!je.includes(t))&&(qe(t,Dt),(t.f&_t)!==0&&(t.f^=_t,t.f&=~tn),Bi(t),ir(t,0))}function ir(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)ya(e,r[i])}function Hn(e){var t=e.f;if((t&Ot)===0){qe(e,Ve);var r=Te,i=ln;Te=e,ln=!0;try{(t&(Mt|Ti))!==0?ma(e):ns(e),ts(e);var s=hs(e);e.teardown=typeof s=="function"?s:null,e.wv=us;var o}finally{ln=i,Te=r}}}async function Un(){await Promise.resolve(),jo()}function n(e){var t=e.f,r=(t&Ue)!==0;if(ge!==null&&!xt){var i=Te!==null&&(Te.f&Ot)!==0;if(!i&&!Ut?.includes(e)){var s=ge.deps;if((ge.f&xr)!==0)e.rv<Nn&&(e.rv=Nn,je===null&&s!==null&&s[at]===e?at++:je===null?je=[e]:je.includes(e)||je.push(e));else{(ge.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[ge]:o.includes(ge)||o.push(ge)}}}if(un){if(Xt.has(e))return Xt.get(e);if(r){var l=e,u=l.v;return((l.f&Ve)===0&&l.reactions!==null||gs(l))&&(u=Ir(l)),Xt.set(l,u),u}}else r&&(!ct?.has(e)||Le?.is_fork&&!An())&&(l=e,Fn(l)&&Yi(l),ln&&An()&&(l.f&_t)===0&&vs(l));if(ct?.has(e))return ct.get(e);if((e.f&qt)!==0)throw e.v;return e.v}function vs(e){if(e.deps!==null){e.f^=_t;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&Ue)!==0&&(t.f&_t)===0&&vs(t)}}function gs(e){if(e.v===Be)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Xt.has(t)||(t.f&Ue)!==0&&gs(t))return!0;return!1}function $(e){var t=xt;try{return xt=!0,e()}finally{xt=t}}const wa=-7169;function qe(e,t){e.f=e.f&wa|t}const ba=["touchstart","touchmove"];function ka(e){return ba.includes(e)}const ms=new Set,Nr=new Set;function Ca(e,t,r,i={}){function s(o){if(i.capture||Wn.call(t,o),!o.cancelBubble)return Pr(()=>r?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?rn(()=>{t.addEventListener(e,s,i)}):t.addEventListener(e,s,i),s}function lt(e,t,r,i,s){var o={capture:i,passive:s},l=Ca(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Mr(()=>{t.removeEventListener(e,l,o)})}function Zt(e){for(var t=0;t<e.length;t++)ms.add(e[t]);for(var r of Nr)r(e)}let ps=null;function Wn(e){var t=this,r=t.ownerDocument,i=e.type,s=e.composedPath?.()||[],o=s[0]||e.target;ps=e;var l=0,u=ps===e&&e.__root;if(u){var f=s.indexOf(u);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var d=s.indexOf(t);if(d===-1)return;f<=d&&(l=f)}if(o=s[l]||e.target,o!==t){ki(e,"currentTarget",{configurable:!0,get(){return o||r}});var h=ge,g=Te;tt(null),St(null);try{for(var c,v=[];o!==null;){var _=o.assignedSlot||o.parentNode||o.host||null;try{var p=o["__"+i];p!=null&&(!o.disabled||e.target===o)&&p.call(o,e)}catch(m){c?v.push(m):c=m}if(e.cancelBubble||_===t||_===null)break;o=_}if(c){for(let m of v)queueMicrotask(()=>{throw m});throw c}}finally{e.__root=t,delete e.currentTarget,tt(h),St(g)}}}function Da(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function sr(e,t){var r=Te;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function ee(e,t){var r=(t&Go)!==0,i=(t&qo)!==0,s,o=!e.startsWith("<!>");return()=>{s===void 0&&(s=Da(o?e:"<!>"+e),r||(s=nr(s)));var l=i||Ki?document.importNode(s,!0):s.cloneNode(!0);if(r){var u=nr(l),f=l.lastChild;sr(u,f)}else sr(l,l);return l}}function _s(e=""){{var t=Ht(e+"");return sr(t,t),t}}function he(){var e=document.createDocumentFragment(),t=document.createComment(""),r=Ht();return e.append(t,r),sr(t,r),e}function T(e,t){e!==null&&e.before(t)}function ys(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Ea(e,t){return Ta(e,t)}const kn=new Map;function Ta(e,{target:t,anchor:r,props:i={},events:s,context:o,intro:l=!0}){ua();var u=new Set,f=g=>{for(var c=0;c<g.length;c++){var v=g[c];if(!u.has(v)){u.add(v);var _=ka(v);t.addEventListener(v,Wn,{passive:_});var p=kn.get(v);p===void 0?(document.addEventListener(v,Wn,{passive:_}),kn.set(v,1)):kn.set(v,p+1)}}};f(Zn(ms)),Nr.add(f);var d=void 0,h=ha(()=>{var g=r??t.appendChild(Ht());return na(g,{pending:()=>{}},c=>{if(o){be({});var v=Ye;v.c=o}s&&(i.$$events=s),d=e(c,i)||{},o&&ke()}),()=>{for(var c of u){t.removeEventListener(c,Wn);var v=kn.get(c);--v===0?(document.removeEventListener(c,Wn),kn.delete(c)):kn.set(c,v)}Nr.delete(f),g!==r&&g.parentNode?.removeChild(g)}});return Fr.set(d,h),d}let Fr=new WeakMap;function xa(e,t){const r=Fr.get(e);return r?(Fr.delete(e),r(t)):Promise.resolve()}class Hr{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#s=!0;constructor(t,r=!0){this.anchor=t,this.#s=r}#i=()=>{var t=Le;if(this.#e.has(t)){var r=this.#e.get(t),i=this.#t.get(r);if(i)Or(i),this.#r.delete(r);else{var s=this.#n.get(r);s&&(this.#t.set(r,s.effect),this.#n.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),i=s.effect)}for(const[o,l]of this.#e){if(this.#e.delete(o),o===t)break;const u=this.#n.get(l);u&&(Qe(u.effect),this.#n.delete(l))}for(const[o,l]of this.#t){if(o===r||this.#r.has(o))continue;const u=()=>{if(Array.from(this.#e.values()).includes(o)){var d=document.createDocumentFragment();os(l,d),d.append(Ht()),this.#n.set(o,{effect:l,fragment:d})}else Qe(l);this.#r.delete(o),this.#t.delete(o)};this.#s||!i?(this.#r.add(o),an(l,u,!1)):u()}}};#o=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[i,s]of this.#n)r.includes(i)||(Qe(s.effect),this.#n.delete(i))};ensure(t,r){var i=Le,s=Qi();if(r&&!this.#t.has(t)&&!this.#n.has(t))if(s){var o=document.createDocumentFragment(),l=Ht();o.append(l),this.#n.set(t,{effect:ot(()=>r(l)),fragment:o})}else this.#t.set(t,ot(()=>r(this.anchor)));if(this.#e.set(i,t),s){for(const[u,f]of this.#t)u===t?i.skipped_effects.delete(f):i.skipped_effects.add(f);for(const[u,f]of this.#n)u===t?i.skipped_effects.delete(f.effect):i.skipped_effects.add(f.effect);i.oncommit(this.#i),i.ondiscard(this.#o)}else this.#i()}}function _e(e,t,r=!1){var i=new Hr(e),s=r?Gt:0;function o(l,u){i.ensure(l,u)}On(()=>{var l=!1;t((u,f=!0)=>{l=!0,o(f,u)}),l||o(!1,null)},s)}function oe(e,t){return t}function Sa(e,t,r){for(var i=[],s=t.length,o,l=t.length,u=0;u<s;u++){let g=t[u];an(g,()=>{if(o){if(o.pending.delete(g),o.done.add(g),o.pending.size===0){var c=e.outrogroups;Ur(Zn(o.done)),c.delete(o),c.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var f=i.length===0&&r!==null;if(f){var d=r,h=d.parentNode;fa(h),h.append(d),e.items.clear()}Ur(t,!f)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function Ur(e,t=!0){for(var r=0;r<e.length;r++)Qe(e[r],t)}var ws;function re(e,t,r,i,s,o=null){var l=e,u=new Map,f=(t&Li)!==0;if(f){var d=e;l=d.appendChild(Ht())}var h=null,g=Vi(()=>{var y=r();return bi(y)?y:y==null?[]:Zn(y)}),c,v=!0;function _(){m.fallback=h,Ra(m,c,l,t,i),h!==null&&(c.length===0?(h.f&Nt)===0?Or(h):(h.f^=Nt,zn(h,null,l)):an(h,()=>{h=null}))}var p=On(()=>{c=n(g);for(var y=c.length,k=new Set,S=Le,D=Qi(),C=0;C<y;C+=1){var w=c[C],E=i(w,C),P=v?null:u.get(E);P?(P.v&&bn(P.v,w),P.i&&bn(P.i,C),D&&S.skipped_effects.delete(P.e)):(P=Ia(u,v?l:ws??=Ht(),w,E,C,s,t,r),v||(P.e.f|=Nt),u.set(E,P)),k.add(E)}if(y===0&&o&&!h&&(v?h=ot(()=>o(l)):(h=ot(()=>o(ws??=Ht())),h.f|=Nt)),!v)if(D){for(const[H,L]of u)k.has(H)||S.skipped_effects.add(L.e);S.oncommit(_),S.ondiscard(()=>{})}else _();n(g)}),m={effect:p,items:u,outrogroups:null,fallback:h};v=!1}function Ra(e,t,r,i,s){var o=(i&Uo)!==0,l=t.length,u=e.items,f=e.effect.first,d,h=null,g,c=[],v=[],_,p,m,y;if(o)for(y=0;y<l;y+=1)_=t[y],p=s(_,y),m=u.get(p).e,(m.f&Nt)===0&&(m.nodes?.a?.measure(),(g??=new Set).add(m));for(y=0;y<l;y+=1){if(_=t[y],p=s(_,y),m=u.get(p).e,e.outrogroups!==null)for(const L of e.outrogroups)L.pending.delete(m),L.done.delete(m);if((m.f&Nt)!==0)if(m.f^=Nt,m===f)zn(m,null,r);else{var k=h?h.next:f;m===e.effect.last&&(e.effect.last=m.prev),m.prev&&(m.prev.next=m.next),m.next&&(m.next.prev=m.prev),Jt(e,h,m),Jt(e,m,k),zn(m,k,r),h=m,c=[],v=[],f=h.next;continue}if((m.f&st)!==0&&(Or(m),o&&(m.nodes?.a?.unfix(),(g??=new Set).delete(m))),m!==f){if(d!==void 0&&d.has(m)){if(c.length<v.length){var S=v[0],D;h=S.prev;var C=c[0],w=c[c.length-1];for(D=0;D<c.length;D+=1)zn(c[D],S,r);for(D=0;D<v.length;D+=1)d.delete(v[D]);Jt(e,C.prev,w.next),Jt(e,h,C),Jt(e,w,S),f=S,h=w,y-=1,c=[],v=[]}else d.delete(m),zn(m,f,r),Jt(e,m.prev,m.next),Jt(e,m,h===null?e.effect.first:h.next),Jt(e,h,m),h=m;continue}for(c=[],v=[];f!==null&&f!==m;)(d??=new Set).add(f),v.push(f),f=f.next;if(f===null)continue}(m.f&Nt)===0&&c.push(m),h=m,f=m.next}if(e.outrogroups!==null){for(const L of e.outrogroups)L.pending.size===0&&(Ur(Zn(L.done)),e.outrogroups?.delete(L));e.outrogroups.size===0&&(e.outrogroups=null)}if(f!==null||d!==void 0){var E=[];if(d!==void 0)for(m of d)(m.f&st)===0&&E.push(m);for(;f!==null;)(f.f&st)===0&&f!==e.fallback&&E.push(f),f=f.next;var P=E.length;if(P>0){var H=(i&Li)!==0&&l===0?r:null;if(o){for(y=0;y<P;y+=1)E[y].nodes?.a?.measure();for(y=0;y<P;y+=1)E[y].nodes?.a?.fix()}Sa(e,E,H)}}o&&rn(()=>{if(g!==void 0)for(m of g)m.nodes?.a?.apply()})}function Ia(e,t,r,i,s,o,l,u){var f=(l&Fo)!==0?(l&Wo)===0?qi(r,!1,!1):Kt(r):null,d=(l&Ho)!==0?Kt(s):null;return{v:f,i:d,e:ot(()=>(o(t,f??r,d??s,u),()=>{e.delete(i)}))}}function zn(e,t,r){if(e.nodes)for(var i=e.nodes.start,s=e.nodes.end,o=t&&(t.f&Nt)===0?t.nodes.start:r;i!==null;){var l=Mn(i);if(o.before(i),i===s)return;i=l}}function Jt(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function zt(e,t,...r){var i=new Hr(e);On(()=>{const s=t()??null;i.ensure(s,s&&(o=>s(o,...r)))},Gt)}function Wr(e,t,r){var i=new Hr(e);On(()=>{var s=t()??null;i.ensure(s,s&&(o=>r(o,s)))},Gt)}function Me(e,t){var r=void 0,i;ga(()=>{r!==(r=t())&&(i&&(Qe(i),i=null),r&&(i=ot(()=>{Ar(()=>r(e))})))})}function bs(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=bs(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function La(){for(var e,t,r=0,i="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=bs(e))&&(i&&(i+=" "),i+=t);return i}function Rt(e){return typeof e=="object"?La(e):e??""}function Pa(e,t,r){var i=e==null?"":""+e;return i===""?null:i}function ks(e,t=!1){var r=t?" !important;":";",i="";for(var s in e){var o=e[s];o!=null&&o!==""&&(i+=" "+s+": "+o+r)}return i}function zr(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Ma(e,t){if(t){var r="",i,s;if(Array.isArray(t)?(i=t[0],s=t[1]):i=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,l=0,u=!1,f=[];i&&f.push(...Object.keys(i).map(zr)),s&&f.push(...Object.keys(s).map(zr));var d=0,h=-1;const p=e.length;for(var g=0;g<p;g++){var c=e[g];if(u?c==="/"&&e[g-1]==="*"&&(u=!1):o?o===c&&(o=!1):c==="/"&&e[g+1]==="*"?u=!0:c==='"'||c==="'"?o=c:c==="("?l++:c===")"&&l--,!u&&o===!1&&l===0){if(c===":"&&h===-1)h=g;else if(c===";"||g===p-1){if(h!==-1){var v=zr(e.substring(d,h).trim());if(!f.includes(v)){c!==";"&&g++;var _=e.substring(d,g).trim();r+=" "+_+";"}}d=g+1,h=-1}}}}return i&&(r+=ks(i)),s&&(r+=ks(s,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function O(e,t,r,i,s,o){var l=e.__className;if(l!==r||l===void 0){var u=Pa(r);u==null?e.removeAttribute("class"):e.className=u,e.__className=r}return o}function Vr(e,t={},r,i){for(var s in r){var o=r[s];t[s]!==o&&(r[s]==null?e.style.removeProperty(s):e.style.setProperty(s,o,i))}}function bt(e,t,r,i){var s=e.__style;if(s!==t){var o=Ma(t,i);o==null?e.removeAttribute("style"):e.style.cssText=o,e.__style=t}else i&&(Array.isArray(i)?(Vr(e,r?.[0],i[0]),Vr(e,r?.[1],i[1],"important")):Vr(e,r,i));return i}const Aa=Symbol("is custom element"),Oa=Symbol("is html");function Pe(e,t,r,i){var s=Na(e);s[t]!==(s[t]=r)&&(t==="loading"&&(e[Eo]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Fa(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Na(e){return e.__attributes??={[Aa]:e.nodeName.includes("-"),[Oa]:e.namespaceURI===Xo}}var Cs=new Map;function Fa(e){var t=e.getAttribute("is")||e.nodeName,r=Cs.get(t);if(r)return r;Cs.set(t,r=[]);for(var i,s=e,o=Element.prototype;o!==s;){i=yo(s);for(var l in i)i[l].set&&r.push(l);s=Ci(s)}return r}class Br{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(t){this.#n=t}observe(t,r){var i=this.#e.get(t)||new Set;return i.add(r),this.#e.set(t,i),this.#r().observe(t,this.#n),()=>{var s=this.#e.get(t);s.delete(r),s.size===0&&(this.#e.delete(t),this.#t.unobserve(t))}}#r(){return this.#t??(this.#t=new ResizeObserver(t=>{for(var r of t){Br.entries.set(r.target,r);for(var i of this.#e.get(r.target)||[])i(r)}}))}}var Ha=new Br({box:"border-box"});function or(e,t,r){var i=Ha.observe(e,()=>r(e[t]));Ar(()=>($(()=>r(e[t])),i))}function Ds(e,t){return e===t||e?.[In]===t}function nt(e={},t,r,i){return Ar(()=>{var s,o;return es(()=>{s=o,o=i?.()||[],$(()=>{e!==r(...o)&&(t(e,...o),s&&Ds(r(...s),e)&&t(null,...s))})}),()=>{rn(()=>{o&&Ds(r(...o),e)&&t(null,...o)})}}),e}function Es(e,t,r){if(e==null)return t(void 0),Yt;const i=$(()=>e.subscribe(t,r));return i.unsubscribe?()=>i.unsubscribe():i}function Ua(e){let t;return Es(e,r=>t=r)(),t}let ar=!1,Yr=Symbol();function Wa(e,t,r){const i=r[t]??={store:null,source:qi(void 0),unsubscribe:Yt};if(i.store!==e&&!(Yr in r))if(i.unsubscribe(),i.store=e??null,e==null)i.source.v=void 0,i.unsubscribe=Yt;else{var s=!0;i.unsubscribe=Es(e,o=>{s?i.source.v=o:b(i.source,o)}),s=!1}return e&&Yr in r?Ua(e):n(i.source)}function za(){const e={};function t(){Mr(()=>{for(var r in e)e[r].unsubscribe();ki(e,Yr,{enumerable:!1,value:!0})})}return[e,t]}function Va(e){var t=ar;try{return ar=!1,[e(),ar]}finally{ar=t}}function De(e,t,r,i){var s=(r&Bo)!==0,o=(r&Yo)!==0,l=i,u=!0,f=()=>(u&&(u=!1,l=o?$(i):i),l),d;if(s){var h=In in e||Do in e;d=mn(e,t)?.set??(h&&t in e?k=>e[t]=k:void 0)}var g,c=!1;s?[g,c]=Va(()=>e[t]):g=e[t],g===void 0&&i!==void 0&&(g=f(),d&&(Po(),d(g)));var v;if(v=()=>{var k=e[t];return k===void 0?f():(u=!0,k)},(r&Vo)===0)return v;if(d){var _=e.$$legacy;return(function(k,S){return arguments.length>0?((!S||_||c)&&d(S?v():k),k):v()})}var p=!1,m=((r&zo)!==0?tr:Vi)(()=>(p=!1,v()));s&&n(m);var y=Te;return(function(k,S){if(arguments.length>0){const D=S?n(m):s?et(k):k;return b(m,D),p=!0,l!==void 0&&(l=D),k}return un&&p||(y.f&Ot)!==0?m.v:n(m)})}function Ba(){return ge===null&&Lo(),(ge.ac??=new AbortController).signal}function Vn(e){Ye===null&&Ii(),Ge(()=>{const t=$(e);if(typeof t=="function")return t})}const Ya="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(Ya);function Gr(e,t=void 0){return function(r){return r.key==="Enter"||r.key===" "&&!r.preventDefault()?e.call(t,r):void 0}}function Xe(e){return t=>{typeof e=="string"?t.innerText=e:e?.domNodes?t.replaceChildren(...e.domNodes):e?.html&&(t.innerHTML=e.html)}}function Ga(e){return t=>{let r=i=>{t&&!t.contains(i.target)&&t.dispatchEvent(new CustomEvent(e+"outside",{detail:{jsEvent:i}}))};return document.addEventListener(e,r,!0),()=>{document.removeEventListener(e,r,!0)}}}function qr(e){return t=>{let r=new ResizeObserver(i=>{for(let s of i)e(t,s)});return r.observe(t),()=>{r.unobserve(t)}}}function Ts(e,t){return r=>{let i=new IntersectionObserver(s=>{for(let o of s)e(r,o)},t);return i.observe(r),()=>{i.unobserve(r)}}}function me(...e){return Object.assign(...e)}function fn(e){return Object.keys(e)}function xs(e){return Object.entries(e)}function Xr(e){return Math.floor(e)}function qa(e){return Math.ceil(e)}function It(...e){return Math.min(...e)}function ut(...e){return Math.max(...e)}function Xa(){return Symbol("ec")}function Kr(e){return Array.isArray(e)}function Ce(e){return typeof e=="function"}function Ka(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Zr(e){return e instanceof Date}function Za(e){return e()}function Ja(e){e.forEach(Za)}function Qa(){}const lr=e=>e;function Jr(e,t=void 0){return function(r){r.stopPropagation(),e&&e.call(t,r)}}function dn(){return window.getComputedStyle(document.documentElement).direction==="rtl"}const ur=86400;function Lt(e=void 0){return e!==void 0?Zr(e)?Ps(e):el(e):Ps(new Date)}function Ne(e){if(typeof e=="number")e={seconds:e};else if(typeof e=="string"){let r=0,i=2;for(let s of e.split(":",3))r+=parseInt(s,10)*Math.pow(60,i--);e={seconds:r}}else Zr(e)&&(e={hours:e.getUTCHours(),minutes:e.getUTCMinutes(),seconds:e.getUTCSeconds()});let t=e.weeks||e.week||0;return{years:e.years||e.year||0,months:e.months||e.month||0,days:t*7+(e.days||e.day||0),seconds:(e.hours||e.hour||0)*60*60+(e.minutes||e.minute||0)*60+(e.seconds||e.second||0),inWeeks:!!t}}function q(e){return new Date(e.getTime())}function Se(e,t,r=1){e.setUTCFullYear(e.getUTCFullYear()+r*t.years);let i=e.getUTCMonth()+r*t.months;for(e.setUTCMonth(i),i%=12,i<0&&(i+=12);e.getUTCMonth()!==i;)Cn(e);return e.setUTCDate(e.getUTCDate()+r*t.days),e.setUTCSeconds(e.getUTCSeconds()+r*t.seconds),e}function fr(e,t,r=1){return Se(e,t,-r)}function kt(e,t=1){return e.setUTCDate(e.getUTCDate()+t),e}function Cn(e,t=1){return kt(e,-t)}function Ct(e){return e.setUTCHours(0,0,0,0),e}function Fe(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function ft(e,t=19){return e.toISOString().substring(0,t)}function Ke(e,...t){return t.every(r=>e.getTime()===r.getTime())}function ja(e,t){let r=t-e.getUTCDay();return e.setUTCDate(e.getUTCDate()+(r>=0?r:r+7)),e}function Ss(e,t){let r=t-e.getUTCDay();return e.setUTCDate(e.getUTCDate()+(r<=0?r:r-7)),e}function Rs(e){return typeof e=="string"&&e.length<=10}function Qr(e,t){return e.setUTCHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),0),e}function ye(e){return e.seconds}function Is(e,t){return Se(e,t),e}function Ls(e,t,r){if(fr(e,t),r.length&&r.length<7)for(;r.includes(e.getUTCDay());)Cn(e);return e}function $a(e,t){e=q(e),t===0?e.setUTCDate(e.getUTCDate()+6-e.getUTCDay()):e.setUTCDate(e.getUTCDate()+4-(e.getUTCDay()||7));let r=new Date(Date.UTC(e.getUTCFullYear(),0,1));return Math.ceil(((e-r)/1e3/ur+1)/7)}function Ps(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds()))}function el(e){const t=e.match(/\d+/g);return new Date(Date.UTC(Number(t[0]),Number(t[1])-1,Number(t[2]),Number(t[3]||0),Number(t[4]||0),Number(t[5]||0)))}let jr=Xa();function Ms(e,t){e[jr]=t}function tl(e){return!!e?.[jr]}function Vt(e){return e[jr]}function As(e,t,r,i=[]){let s=document.createElement(e);s.className=t,typeof r=="string"?s.innerText=r:r.domNodes?s.replaceChildren(...r.domNodes):r.html&&(s.innerHTML=r.html);for(let o of i)s.setAttribute(...o);return s}function Qt(e){return e.getBoundingClientRect()}function Os(e,t){for(;t--;)e=e.parentElement;return e}function cn(e){return Qt(e).height}function Dn(e,t,r=document,i=[]){i.push(r);for(let s of r.elementsFromPoint(e,t)){if(tl(s))return s;if(s.shadowRoot&&!i.includes(s.shadowRoot)){let o=Dn(e,t,s.shadowRoot,i);if(o)return o}}return null}function Bn(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function nl(e,t,r,i){return{type:e,title:t,currentStart:r.start,currentEnd:r.end,activeStart:i.start,activeEnd:i.end,calendar:void 0}}function Ze(e){return e=me({},e),e.currentStart=Fe(e.currentStart),e.currentEnd=Fe(e.currentEnd),e.activeStart=Fe(e.activeStart),e.activeEnd=Fe(e.activeEnd),e}let rl=1;function dr(e){return e.map(t=>{let r={id:"id"in t?String(t.id):`{generated-${rl++}}`,resourceIds:$r(t,"resourceId").map(String),allDay:t.allDay??(Rs(t.start)&&Rs(t.end)),start:Lt(t.start),end:Lt(t.end),title:t.title??"",editable:t.editable,startEditable:t.startEditable,durationEditable:t.durationEditable,display:t.display??"auto",extendedProps:t.extendedProps??{},backgroundColor:t.backgroundColor??t.color,textColor:t.textColor,classNames:$r(t,"className"),styles:$r(t,"style")};if(r.allDay){Ct(r.start);let i=q(r.end);Ct(r.end),(!Ke(r.end,i)||Ke(r.end,r.start))&&kt(r.end)}return r})}function $r(e,t){let r=e[t+"s"]??e[t]??[];return Kr(r)?r:[r]}function il(e){return e.map(t=>({events:t.events,url:t.url&&t.url.trimEnd("&")||"",method:t.method&&t.method.toUpperCase()||"GET",extraParams:t.extraParams||{}}))}function sl(e,t,r,i,s,o){let l=s.formatRange(e.start,t&&e.event.display!=="pointer"&&!e.zeroDuration?Qr(q(e.start),e.end):e.start),u;if(r&&(u=Ce(r)?r({event:We(e.event),timeText:l,view:Ze(o)}):r),u===void 0){let f;switch(e.event.display){case"background":f=[];break;case"pointer":f=e.event.allDay?[]:[Ns(l,e,i)];break;default:f=[...e.event.allDay?[]:[Ns(l,e,i)],As("h4",i.eventTitle,e.event.title)]}u={domNodes:f}}return[l,u]}function Ns(e,t,r){return As("time",r.eventTime,e,[["datetime",ft(t.start)]])}function ol(e,t,r){let i=t.classNames;return e&&(Ce(e)&&(e=e({event:We(t),view:Ze(r)})),i=[...Kr(e)?e:[e],...i]),i}function We(e){return Fs(e,Fe)}function ei(e){return Fs(e,q)}function Fs(e,t){return e=me({},e),e.start=t(e.start),e.end=t(e.end),e}function ti(e,t){e.length=t.length;for(let r of e)r?.reposition()}function En(e,t,r,i=void 0){return(!i||e.resourceIds.includes(i.id))&&e.start<r&&e.end>t}function cr(e){return al(e)||ll(e)||ul(e)}function gt(e){return e==="background"}function al(e){return e==="preview"}function ll(e){return e==="ghost"}function ul(e){return e==="pointer"}function Yn(e,t,r){let i={start:e.start>t?e.start:t,end:e.end<r?e.end:r,event:e};return i.zeroDuration=Ke(i.start,i.end),i}function Tn(e,t){let r=[],i,s,o;for(let{gridColumn:l,gridRow:u,resource:f,dayStart:d,dayEnd:h,disabled:g}of t)!g&&En(e,d,h,f)&&(r.push(d),i=h,s||(s=l,o=u));if(r.length){let l=Yn(e,r[0],i);return me(l,{gridColumn:s,gridRow:o,dates:r}),[l]}return[]}function Hs(e){let t={},r={};for(let i of e){let{gridColumn:s,gridRow:o}=i;for(let u=1;u<i.dates.length;++u){let f=`${o}_${s+u}`;r[f]?r[f].chunks.push(i):r[f]={sorted:!1,chunks:[i]}}let l=`${o}_${s}`;i.long=r[l],i.prev=t[l],t[l]=i}}function Us(e,t,r=0){e.prev&&(r=e.prev.bottom+1);let i=r+t;if(e.long){let s=e.long;s.sorted||(s.chunks.sort((o,l)=>o.top-l.top),s.sorted=!0);for(let o of s.chunks)if(r<o.bottom&&i>o.top){let l=o.bottom-r+1;r+=l,i+=l}}return me(e,{top:r,bottom:i}),r}function hn(e,t){return()=>{let{options:{locale:r}}=e,i=e.options[t],s;return $(()=>{s=Ce(i)?{format:i}:new Intl.DateTimeFormat(r,i)}),{format:o=>s.format(Fe(o))}}}function Ws(e,t){return()=>{let{options:{locale:r}}=e,i=e.options[t],s;return $(()=>{if(Ce(i))s=i;else{let o=new Intl.DateTimeFormat(r,i);s=(l,u)=>{if(l<=u)return o.formatRange(l,u);{let f=o.formatRangeToParts(u,l),d="",h=["startRange","endRange"],g=[!1,!1];for(let c of f){let v=h.indexOf(c.source);v>=0?g[v]||(d+=fl(h[1-v],f),g[v]=!0):d+=c.value}return d}}}}),{formatRange:(o,l)=>s(Fe(o),Fe(l))}}}function fl(e,t){let r="";for(let i of t)i.source==e&&(r+=i.value);return r}function hr(e){return gr(e,"day")}function vr(e){return gr(e,"week")}function ni(e){return gr(e,"month")}function dl(e){return gr(e,"year")}function gr(e,t){return{...e,next:"Next "+t,prev:"Previous "+t}}function mt(e){return t=>({...t,view:e})}function cl(e){let t,r;return e&&({start:t,end:r}=e,t&&(t=Ct(Lt(t))),r&&(r=Ct(Lt(r)))),{start:t,end:r}}function xn(e,t){return t.start&&e<t.start||t.end&&e>t.end}function zs(e){let t=[];return Vs(e,0,t),t}function Vs(e,t,r){let i=[];for(let s of e){let o=hl(s);i.push(o),r.push(o);let l={level:t,children:[],expanded:!0,hidden:!1};Ms(o,l),s.children&&(l.children=Vs(s.children,t+1,r))}return i}function hl(e){return{id:String(e.id),title:e.title||"",eventBackgroundColor:e.eventBackgroundColor,eventTextColor:e.eventTextColor,extendedProps:e.extendedProps??{}}}function vl(e,t){return Bs(e,t)?.eventBackgroundColor}function gl(e,t){return Bs(e,t)?.eventTextColor}function Bs(e,t){return t.find(r=>e.resourceIds.includes(r.id))}function Ys(e,t,r,i,s){let o=[];e=q(e);let l=q(e);for(Se(e,i.min),Se(l,i.max);e<l;)o.push([ft(e),s.format(e)]),Se(e,t,r);let u=Xr((e-l)/1e3/ye(t));return u&&u!==r&&(o.at(-1)[2]=r-u),o}function Gs(e,t,r,i,s){let o=Ne(e),l=Ne(t);if(r){let u=Ne(It(ye(o),ut(0,ye(l)-ur))),f=Ne(ut(ye(l),ye(u)+ur)),d=Ce(r?.eventFilter)?r.eventFilter:h=>!gt(h.display);e:for(let h of i){let g=Se(q(h),o),c=Se(q(h),l),v=Se(q(h),u),_=Se(q(h),f);for(let p of s)if(!p.allDay&&d(p)&&p.start<_&&p.end>v){if(p.start<g){let m=ut((p.start-h)/1e3,ye(u));m<ye(o)&&(o.seconds=m)}if(p.end>c){let m=It((p.end-h)/1e3,ye(f));m>ye(l)&&(l.seconds=m)}if(ye(o)===ye(u)&&ye(l)===ye(f))break e}}}return{min:o,max:l}}class ri extends Map{#e=new Map;#t=K(0);#n=K(0);#r=Wt||-1;constructor(t){if(super(),t){for(var[r,i]of t)super.set(r,i);this.#n.v=super.size}}#s(t){return Wt===this.#r?K(t):Kt(t)}has(t){var r=this.#e,i=r.get(t);if(i===void 0){var s=super.get(t);if(s!==void 0)i=this.#s(0),r.set(t,i);else return n(this.#t),!1}return n(i),!0}forEach(t,r){this.#i(),super.forEach(t,r)}get(t){var r=this.#e,i=r.get(t);if(i===void 0){var s=super.get(t);if(s!==void 0)i=this.#s(0),r.set(t,i);else{n(this.#t);return}}return n(i),super.get(t)}set(t,r){var i=this.#e,s=i.get(t),o=super.get(t),l=super.set(t,r),u=this.#t;if(s===void 0)s=this.#s(0),i.set(t,s),b(this.#n,super.size),Tt(u);else if(o!==r){Tt(s);var f=u.reactions===null?null:new Set(u.reactions),d=f===null||!s.reactions?.every(h=>f.has(h));d&&Tt(u)}return l}delete(t){var r=this.#e,i=r.get(t),s=super.delete(t);return i!==void 0&&(r.delete(t),b(this.#n,super.size),b(i,-1),Tt(this.#t)),s}clear(){if(super.size!==0){super.clear();var t=this.#e;b(this.#n,0);for(var r of t.values())b(r,-1);Tt(this.#t),t.clear()}}#i(){n(this.#t);var t=this.#e;if(this.#n.v!==t.size){for(var r of super.keys())if(!t.has(r)){var i=this.#s(0);t.set(r,i)}}for([,i]of this.#e)n(i)}keys(){return n(this.#t),super.keys()}values(){return this.#i(),super.values()}entries(){return this.#i(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return n(this.#n),super.size}}function ml(e){let t={buttonText:{today:"today"},customButtons:{},date:new Date,datesSet:void 0,dayHeaderFormat:{weekday:"short",month:"numeric",day:"numeric"},dayHeaderAriaLabelFormat:{dateStyle:"full"},displayEventEnd:!0,duration:{weeks:1},events:[],eventAllUpdated:void 0,eventBackgroundColor:void 0,eventClassNames:void 0,eventClick:void 0,eventColor:void 0,eventContent:void 0,eventDidMount:void 0,eventFilter:void 0,eventMouseEnter:void 0,eventMouseLeave:void 0,eventOrder:void 0,eventSources:[],eventTextColor:void 0,eventTimeFormat:{hour:"numeric",minute:"2-digit"},filterEventsWithResources:!1,firstDay:0,headerToolbar:{start:"title",center:"",end:"today prev,next"},height:void 0,hiddenDays:[],highlightedDates:[],lazyFetching:!0,loading:void 0,locale:void 0,resources:[],selectable:!1,theme:{active:"ec-active",bgEvent:"ec-bg-event",bgEvents:"ec-bg-events",body:"ec-body",button:"ec-button",buttonGroup:"ec-button-group",calendar:"ec",colHead:"ec-col-head",day:"ec-day",dayHead:"ec-day-head",disabled:"ec-disabled",event:"ec-event",eventBody:"ec-event-body",eventTime:"ec-event-time",eventTitle:"ec-event-title",events:"ec-events",grid:"ec-grid",header:"ec-header",hidden:"ec-hidden",highlight:"ec-highlight",icon:"ec-icon",main:"ec-main",noBeb:"ec-no-beb",noIeb:"ec-no-ieb",today:"ec-today",title:"ec-title",toolbar:"ec-toolbar",view:"",weekdays:["ec-sun","ec-mon","ec-tue","ec-wed","ec-thu","ec-fri","ec-sat"]},titleFormat:{year:"numeric",month:"short",day:"numeric"},validRange:void 0,view:void 0,viewDidMount:void 0,views:{}};for(let r of e)r.createOptions?.(t);return t}function pl(e){let t={date:r=>Ct(Lt(r)),duration:Ne,events:dr,eventSources:il,hiddenDays:r=>[...new Set(r)],highlightedDates:r=>r.map(i=>Ct(Lt(i))),resources:zs,validRange:cl};for(let r of e)r.createParsers?.(t);return t}const qs=["buttonText","customButtons","theme"];function _l(e,t,r){let i=ml(t),s=pl(t);i=ii(i,s),r=ii(r,s);let o=si(i,"views")??{},l=si(r,"views")??{},u=new ri;Ks(u,i);let f={},d={};function h(){r.view&&u.set("view",r.view);let g=new Set([...fn(o),...fn(l)]);for(let c of g){let v=l[c]??{},_=Xs(i,o[c]??o[v.type]??{}),p=Xs(_,r,v),m=si(p,"component");delete p.view;for(let y of fn(p))u.has(y)?(f[y]||(f[y]=[]),f[y].push(qs.includes(y)?k=>p[y]=Ce(k)?k(_[y]):k:k=>p[y]=k)):delete p[y];on(()=>{let y=u.get("view");$(()=>{y===c&&(e.setViewComponent(m),d=p,Ks(u,p))})})}}return{proxy:new Proxy(u,{set(g,c,v){return d[c]=v,g.set(c,v),!0},get(g,c){return g.get(c)}}),setOption(g,c,v){u.has(g)&&(!v&&g in s&&(c=s[g](c)),f[g]?.forEach(_=>_(c)),u.set(g,d[g]??c))},initEffects:h}}function ii(e,t){let r={...e};for(let i of fn(t))i in r&&(r[i]=t[i](r[i]));if(e.views){r.views={};for(let i of fn(e.views))r.views[i]=ii(e.views[i],t)}return r}function si(e,t){let r=e[t];return delete e[t],r}function Xs(...e){let t={};for(let r of e){let i={};for(let s of qs)Ce(r[s])&&(i[s]=r[s](t[s]));t={...t,...r,...i}}return t}function Ks(e,t){for(let[r,i]of xs(t))e.set(r,i)}function yl(e,t){let r=[];for(let i of fn(e))e[i]!==t[i]&&r.push([i,e[i]]);return r}function wl(e){let t=0;return()=>{let{activeRange:r,fetchedRange:i,options:{events:s,eventSources:o,lazyFetching:l,loading:u}}=e;$(()=>{if(o.length||(e.events=s),!i.start||i.start>r.start||i.end<r.end||!l){Ce(u)&&!t&&u(!0);let f=()=>{--t===0&&Ce(u)&&u(!1)},d=[],h=_=>f(),g=_=>{d=d.concat(dr(_)),e.events=d,f()},c=ft(r.start),v=ft(r.end);for(let _ of o){if(Ce(_.events)){let p=_.events({start:Fe(r.start),end:Fe(r.end),startStr:c,endStr:v},g,h);p!==void 0&&Promise.resolve(p).then(g,h)}else{let p=Ce(_.extraParams)?_.extraParams():me({},_.extraParams);p.start=c,p.end=v,p=new URLSearchParams(p);let m=_.url,y={},k;["GET","HEAD"].includes(_.method)?m+=(m.includes("?")?"&":"?")+p:(y["content-type"]="application/x-www-form-urlencoded;charset=UTF-8",k=String(p)),fetch(m,{method:_.method,headers:y,body:k,signal:Ba(),credentials:"same-origin"}).then(S=>S.json()).then(g).catch(h)}++t}me(i,r)}})}}function bl(e){return()=>{let t=setInterval(()=>{let r=Lt(),i=Ct(q(r));e.now=r,Ke(e.today,i)||(e.today=i)},1e3);return()=>clearInterval(t)}}function kl(e){return()=>{let{activeRange:t,options:{datesSet:r}}=e;$(()=>{Ce(r)&&r({start:Fe(t.start),end:Fe(t.end),startStr:ft(t.start),endStr:ft(t.end),view:Ze(e.view)})})}}function Cl(e){let t;return()=>{let{filteredEvents:r,options:{eventAllUpdated:i}}=e;$(()=>{Ce(i)&&(t||(t=setTimeout(()=>{t=null,i({view:Ze(e.view)})})))})}}function Dl(e){return()=>{let{options:{view:t,viewDidMount:r}}=e;$(()=>{Ce(r)&&Un().then(()=>r({view:Ze(e.view)}))})}}function El(e){return()=>{let{options:{date:t,duration:r,firstDay:i}}=e,s,o;return $(()=>{s=q(t),r.months?s.setUTCDate(1):r.inWeeks&&Ss(s,i),o=Se(q(s),r)}),{start:s,end:o}}}function Tl(e){return()=>{let{currentRange:t,extensions:{activeRange:r}}=e,i,s;return $(()=>{i=q(t.start),s=q(t.end)}),r?r(i,s):{start:i,end:s}}}function xl(e){return()=>{let{events:t,options:{eventFilter:r,eventOrder:i,filterEventsWithResources:s,resources:o}}=e,l=[...t];return $(()=>{if(Ce(r)){let u=t.map(We),f=Ze(e.view);l=l.filter((d,h)=>r({event:We(d),index:h,events:u,view:f}))}s&&(l=l.filter(u=>o.some(f=>u.resourceIds.includes(f.id)))),Ce(i)?l.sort((u,f)=>i(We(u),We(f))):l.sort((u,f)=>u.start-f.start||f.allDay-u.allDay)}),l}}function Sl(e){return()=>{let{options:t,activeRange:r}=e,{hiddenDays:i}=t,s=[];return $(()=>{let o=Ct(q(r.start)),l=Ct(q(r.end));for(;o<l;)i.includes(o.getUTCDay())||s.push(q(o)),kt(o);if(!s.length&&i.length&&i.length<7)for(;i.includes(t.date.getUTCDay());)e.setOption("date",kt(q(t.date)))}),s}}function Rl(e){return()=>{let{activeRange:t,intlTitle:r,features:i,options:{date:s}}=e,o;return $(()=>{o=i.includes("day-grid")?r.formatRange(s,s):r.formatRange(t.start,Cn(q(t.end)))}),o}}function Il(e){return()=>{let{activeRange:t,currentRange:r,viewTitle:i,options:{view:s}}=e,o;return $(()=>{o=nl(s,i,r,t)}),o}}class Ll{#e;get auxComponents(){return n(this.#e)}set auxComponents(t){b(this.#e,t,!0)}#t;get currentRange(){return n(this.#t)}set currentRange(t){b(this.#t,t)}#n;get activeRange(){return n(this.#n)}set activeRange(t){b(this.#n,t)}#r;get fetchedRange(){return n(this.#r)}set fetchedRange(t){b(this.#r,t)}#s;get events(){return n(this.#s)}set events(t){b(this.#s,t)}#i;get filteredEvents(){return n(this.#i)}set filteredEvents(t){b(this.#i,t)}#o;get mainEl(){return n(this.#o)}set mainEl(t){b(this.#o,t,!0)}#a;get now(){return n(this.#a)}set now(t){b(this.#a,t,!0)}#l;get today(){return n(this.#l)}set today(t){b(this.#l,t,!0)}#u;get intlEventTime(){return n(this.#u)}set intlEventTime(t){b(this.#u,t)}#f;get intlDayHeader(){return n(this.#f)}set intlDayHeader(t){b(this.#f,t)}#d;get intlDayHeaderAL(){return n(this.#d)}set intlDayHeaderAL(t){b(this.#d,t)}#c;get intlTitle(){return n(this.#c)}set intlTitle(t){b(this.#c,t)}#v;get viewDates(){return n(this.#v)}set viewDates(t){b(this.#v,t)}#h;get viewTitle(){return n(this.#h)}set viewTitle(t){b(this.#h,t)}#y;get view(){return n(this.#y)}set view(t){b(this.#y,t)}#w;get viewComponent(){return n(this.#w)}set viewComponent(t){b(this.#w,t,!0)}#b;get extensions(){return n(this.#b)}set extensions(t){b(this.#b,t,!0)}#p;get features(){return n(this.#p)}set features(t){b(this.#p,t,!0)}#g;get interaction(){return n(this.#g)}set interaction(t){b(this.#g,t,!0)}#m;get iClasses(){return n(this.#m)}set iClasses(t){b(this.#m,t,!0)}#_;get iClass(){return n(this.#_)}set iClass(t){b(this.#_,t,!0)}#k;constructor(t,r){let{proxy:i,setOption:s,initEffects:o}=_l(this,t,r);this.options=i,this.#k=s,this.#e=K(et([])),this.#t=a(El(this)),this.#n=a(Tl(this)),this.#r=K({start:void 0,end:void 0}),this.#s=K([]),this.#i=a(xl(this)),this.#o=K(),this.#a=K(et(Lt())),this.#l=K(et(Ct(Lt()))),this.#u=a(Ws(this,"eventTimeFormat")),this.#f=a(hn(this,"dayHeaderFormat")),this.#d=a(hn(this,"dayHeaderAriaLabelFormat")),this.#c=a(Ws(this,"titleFormat")),this.#v=a(Sl(this)),this.#h=a(Rl(this)),this.#y=a(Il(this)),this.#w=K(),this.#b=K(et({})),this.#p=K(et([])),this.#g=K(et({})),this.iEvents=new ri,this.#m=K(et(lr)),this.#_=K();for(let l of t)l.initState?.(this);o(),this.#C()}#C(){on(bl(this)),Ge(wl(this)),Ge(kl(this)),Ge(Cl(this)),Ge(Dl(this))}setViewComponent(t){this.extensions={},this.features=[],this.viewComponent=t(this)}setOption(t,r,i=!0){this.#k(t,r,i)}}var Pl=ee("<h2></h2>"),Ml=ee("<button><i></i></button>"),Al=ee("<button><i></i></button>"),Ol=ee("<button> </button>"),Nl=ee("<button></button>"),Fl=ee("<button> </button>");function Zs(e,t){be(t,!0);let r=te("state"),i=a(()=>r.currentRange),s=a(()=>r.today),o=a(()=>r.viewTitle),l=a(()=>r.viewDates),u=a(()=>r.options.buttonText),f=a(()=>r.options.customButtons),d=a(()=>r.options.date),h=a(()=>r.options.duration),g=a(()=>r.options.hiddenDays),c=a(()=>r.options.theme),v=a(()=>r.options.validRange),_=a(()=>r.options.view),p=K(!1),m=K(!1),y=K(!1),k=!1;on(()=>{n(l),n(v),t.buttons,$(()=>{k||(k=!0,t.buttons.includes("prev")&&(b(p,!1),n(v).start&&b(p,S(D),!0)),t.buttons.includes("next")&&(b(m,!1),n(v).end&&b(m,S(C),!0)),t.buttons.includes("today")&&(b(y,n(s)>=n(i).start&&n(s)<n(i).end,!0),!n(y)&&(n(v).start||n(v).end)&&b(y,S(w),!0)),Un().then(()=>k=!1))})});function S(H){let L=n(d);H();let ue=n(l).every(B=>xn(B,n(v)));return r.setOption("date",L),ue}function D(){r.setOption("date",Ls(q(n(d)),n(h),n(g)))}function C(){r.setOption("date",Is(q(n(d)),n(h)))}function w(){r.setOption("date",q(n(s)))}var E=he(),P=J(E);re(P,17,()=>t.buttons,oe,(H,L)=>{var ue=he(),B=J(ue);{var Z=N=>{var A=Pl();Me(A,()=>Xe(n(o))),se(()=>O(A,1,n(c).title)),T(N,A)},X=N=>{var A=he(),Q=J(A);{var ve=ae=>{var Ee=Ml();Ee.__click=D;var W=le(Ee);se(()=>{O(Ee,1,`${n(c).button??""} ec-${n(L)??""}`),Pe(Ee,"aria-label",n(u).prev),Pe(Ee,"title",n(u).prev),Ee.disabled=n(p),O(W,1,`${n(c).icon??""} ec-${n(L)??""}`)}),T(ae,Ee)},U=ae=>{var Ee=he(),W=J(Ee);{var R=I=>{var fe=Al();fe.__click=C;var rt=le(fe);se(()=>{O(fe,1,`${n(c).button??""} ec-${n(L)??""}`),Pe(fe,"aria-label",n(u).next),Pe(fe,"title",n(u).next),fe.disabled=n(m),O(rt,1,`${n(c).icon??""} ec-${n(L)??""}`)}),T(I,fe)},V=I=>{var fe=he(),rt=J(fe);{var He=Y=>{var ie=Ol();ie.__click=w;var xe=le(ie);se(()=>{O(ie,1,`${n(c).button??""} ec-${n(L)??""}`),ie.disabled=n(y),ys(xe,n(u)[n(L)])}),T(Y,ie)},Pt=Y=>{var ie=he(),xe=J(ie);{var F=G=>{var de=Nl();de.__click=function(...Re){n(f)[n(L)].click?.apply(this,Re)},Me(de,()=>Xe(n(f)[n(L)].text)),se(()=>O(de,1,Rt([n(c).button,`ec-${n(L)}`,n(f)[n(L)].active&&n(c).active]))),T(G,de)},z=G=>{var de=he(),Re=J(de);{var we=Ie=>{var Ae=Fl();Ae.__click=()=>r.setOption("view",n(L));var ce=le(Ae);se(()=>{O(Ae,1,Rt([n(c).button,`ec-${n(L)}`,n(_)===n(L)&&n(c).active])),ys(ce,n(u)[n(L)])}),T(Ie,Ae)};_e(Re,Ie=>{n(L)!==""&&Ie(we)},!0)}T(G,de)};_e(xe,G=>{n(f)[n(L)]?G(F):G(z,!1)},!0)}T(Y,ie)};_e(rt,Y=>{n(L)==="today"?Y(He):Y(Pt,!1)},!0)}T(I,fe)};_e(W,I=>{n(L)==="next"?I(R):I(V,!1)},!0)}T(ae,Ee)};_e(Q,ae=>{n(L)==="prev"?ae(ve):ae(U,!1)},!0)}T(N,A)};_e(B,N=>{n(L)==="title"?N(Z):N(X,!1)})}T(H,ue)}),T(e,E),ke()}Zt(["click"]);var Hl=ee("<div><!></div>"),Ul=ee("<div></div>"),Wl=ee("<nav></nav>");function zl(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.headerToolbar),s=a(()=>n(r).options.theme),o=a(()=>{let u={};for(let f of["start","center","end"])u[f]=n(i)[f]?.split(" ").map(d=>d.split(","))??[];return u});var l=Wl();re(l,21,()=>fn(n(o)),oe,(u,f)=>{var d=Ul();re(d,21,()=>n(o)[n(f)],oe,(h,g)=>{var c=he(),v=J(c);{var _=m=>{var y=Hl(),k=le(y);Zs(k,{get buttons(){return n(g)}}),se(()=>O(y,1,n(s).buttonGroup)),T(m,y)},p=m=>{Zs(m,{get buttons(){return n(g)}})};_e(v,m=>{n(g).length>1?m(_):m(p,!1)})}T(h,c)}),se(()=>O(d,1,`ec-${n(f)??""}`)),T(u,d)}),se(()=>O(l,1,n(s).toolbar)),T(e,l),ke()}var Vl=ee("<div><!> <!> <!></div>");function Bl(e,t){be(t,!0);let r=De(t,"plugins",19,()=>[]),i=De(t,"options",19,()=>({})),s=new Ll(r(),i());Ln("state",s);let o=a(()=>s.auxComponents),l=a(()=>s.features),u=a(()=>s.events),f=a(()=>s.interaction),d=a(()=>s.iClass),h=a(()=>s.view),g=a(()=>s.viewComponent),c=a(()=>s.options.date),v=a(()=>s.options.duration),_=a(()=>s.options.height),p=a(()=>s.options.hiddenDays),m=a(()=>s.options.theme),y={...i()};on(()=>{for(let[W,R]of yl(i(),y))$(()=>{k(W,R)});me(y,i())});function k(W,R){return Ka(R)&&(R={...R}),Kr(R)&&(R=[...R]),s.setOption(W,R,!1),this}function S(W){let R=s.options[W];return Zr(R)?Fe(R):R}function D(){return s.fetchedRange={start:void 0,end:void 0},this}function C(){return n(u).map(We)}function w(W){W=String(W);for(let R of n(u))if(R.id===W)return We(R);return null}function E(W){return W=dr([W])[0],n(u).push(W),s.events=[...n(u)],We(W)}function P(W){let R=String(W.id),V=n(u).findIndex(I=>I.id===R);return V>=0?(W=dr([W])[0],n(u)[V]=W,s.events=[...n(u)],We(W)):null}function H(W){W=String(W);let R=n(u).findIndex(V=>V.id===W);return R>=0&&(n(u).splice(R,1),s.events=[...n(u)]),this}function L(){return Ze(n(h))}function ue(){return n(f).action?.unselect(),this}function B(W,R){let V=Dn(W,R);if(V){let I=Vt(V)(W,R);return I.date=Fe(I.date),I}return null}function Z(){return s.setOption("date",Is(q(n(c)),n(v))),this}function X(){return s.setOption("date",Ls(q(n(c)),n(v),n(p))),this}var N={setOption:k,getOption:S,refetchEvents:D,getEvents:C,getEventById:w,addEvent:E,updateEvent:P,removeEventById:H,getView:L,unselect:ue,dateFromPoint:B,next:Z,prev:X},A=Vl();let Q;var ve=le(A);zl(ve,{});var U=ne(ve,2);{var ae=W=>{var R=he(),V=J(R);Wr(V,()=>n(g),(I,fe)=>{fe(I,{})}),T(W,R)};_e(U,W=>{n(g)&&W(ae)})}var Ee=ne(U,2);return re(Ee,17,()=>n(o),oe,(W,R)=>{var V=he(),I=J(V);Wr(I,()=>n(R),(fe,rt)=>{rt(fe,{})}),T(W,V)}),se(W=>{O(A,1,Rt([n(m).calendar,n(m).view,n(d)&&n(m)[n(d)]])),Pe(A,"role",W),Q=bt(A,"",Q,{height:n(_)})},[()=>n(l).includes("list")?"list":"table"]),T(e,A),ke(N)}function Yl(e){return()=>{let{options:{hiddenDays:t}}=e,r;return $(()=>r=7-t.length),r}}function Gl(e,t){return()=>{let{options:{highlightedDates:r,validRange:i},viewDates:s}=e,{colsCount:o}=t,l=[];return $(()=>{let u=[],f=1,d=1;for(let h of s)u.push({gridColumn:f,gridRow:d,resource:void 0,dayStart:h,dayEnd:kt(q(h)),disabled:xn(h,i),highlight:r.some(g=>Ke(g,h))}),f===o&&(l.push(u),u=[],f=0,++d),++f}),l}}function ql(e,t){return()=>{let{filteredEvents:r}=e,{grid:i}=t,s=[],o=[];return $(()=>{for(let l of r)for(let u of i)gt(l.display)?l.allDay&&(o=o.concat(Tn(l,u))):s=s.concat(Tn(l,u));Hs(s)}),{chunks:s,bgChunks:o}}}function Xl(e,t){return()=>{let{iEvents:r}=e,{grid:i}=t,s=[];for(let[,o]of r)o&&$(()=>{for(let l of i)s=s.concat(Tn(o,l))});return s}}let Kl=class{#e;get colsCount(){return n(this.#e)}set colsCount(t){b(this.#e,t)}#t;get grid(){return n(this.#t)}set grid(t){b(this.#t,t)}#n;get gridEl(){return n(this.#n)}set gridEl(t){b(this.#n,t,!0)}#r;get chunks(){return n(this.#r)}set chunks(t){b(this.#r,t)}#s;get bgChunks(){return n(this.#s)}set bgChunks(t){b(this.#s,t)}#i;get iChunks(){return n(this.#i)}set iChunks(t){b(this.#i,t)}#o;get intlDayCell(){return n(this.#o)}set intlDayCell(t){b(this.#o,t)}#a;get intlDayPopover(){return n(this.#a)}set intlDayPopover(t){b(this.#a,t)}#l;get popupDay(){return n(this.#l)}set popupDay(t){b(this.#l,t,!0)}constructor(t){this.#e=a(Yl(t)),this.#t=a(Gl(t,this)),this.#n=K();let r=a(ql(t,this)),i=a(()=>n(r).chunks),s=a(()=>n(r).bgChunks);this.#r=a(()=>n(i)),this.#s=a(()=>n(s)),this.#i=a(Xl(t,this)),this.hiddenChunks=new ri,this.#o=a(hn(t,"dayCellFormat")),this.#a=a(hn(t,"dayPopoverFormat")),this.#l=K(null)}};var Zl=ee("<div><!></div>");function mr(e,t){be(t,!0);let r=De(t,"el",15),i=De(t,"allDay",3,!1),s=De(t,"resource",3,void 0),o=De(t,"dateFromPoint",3,()=>t.date),l=De(t,"classes",3,lr),u=De(t,"disabled",3,!1),f=De(t,"highlight",3,!1),d=De(t,"role",3,"cell"),h=De(t,"noIeb",3,!1),g=De(t,"noBeb",3,!1),c=a(()=>te("state")),v=a(()=>n(c).today),_=a(()=>n(c).interaction.action),p=a(()=>n(c).options.theme),m=a(()=>te("view-state")),y=a(()=>n(m).snap),k=a(()=>Ke(t.date,n(v))),S=a(()=>l()([n(p).day,n(p).weekdays?.[t.date.getUTCDay()],n(k)&&n(p).today,f()&&n(p).highlight,u()&&n(p).disabled,h()&&n(p).noIeb,g()&&n(p).noBeb]));Vn(()=>{Ms(r(),(E,P)=>({allDay:i(),date:o()(E,P),resource:s(),dayEl:r(),disabled:u()}))});let D=a(()=>!u()&&n(_)?E=>n(_).select(E,n(y)):void 0);var C=Zl();C.__pointerdown=function(...E){n(D)?.apply(this,E)};var w=le(C);zt(w,()=>t.children??Yt),nt(C,E=>r(E),()=>r()),se(()=>{O(C,1,Rt(n(S))),Pe(C,"role",d())}),T(e,C),ke()}Zt(["pointerdown"]);var Jl=ee("<div></div>"),Ql=ee("<article><!></article>");function Js(e,t){be(t,!0);let r=De(t,"el",15),i=De(t,"classes",3,lr),s=De(t,"styles",3,lr),o=a(()=>te("state")),l=a(()=>n(o).intlEventTime),u=a(()=>n(o).view),f=a(()=>n(o).options.displayEventEnd),d=a(()=>n(o).options.eventBackgroundColor),h=a(()=>n(o).options.eventColor),g=a(()=>n(o).options.eventContent),c=a(()=>n(o).options.eventClick),v=a(()=>n(o).options.eventDidMount),_=a(()=>n(o).options.eventClassNames),p=a(()=>n(o).options.eventMouseEnter),m=a(()=>n(o).options.eventMouseLeave),y=a(()=>n(o).options.eventTextColor),k=a(()=>n(o).options.resources),S=a(()=>n(o).options.theme),D=a(()=>t.chunk.event),C=a(()=>t.chunk.event.display),w=a(()=>n(D).backgroundColor??vl(n(D),n(k))??n(d)??n(h)),E=a(()=>n(D).textColor??gl(n(D),n(k))??n(y)),P=a(()=>xs(s()({"background-color":n(w),color:n(E)})).map(R=>`${R[0]}:${R[1]}`).concat(n(D).styles).join(";")),H=a(()=>i()([gt(n(C))?n(S).bgEvent:n(S).event,...ol(n(_),n(D),n(u))])),L=a(()=>sl(t.chunk,n(f),n(g),n(S),n(l),n(u))),ue=a(()=>Co(n(L),2)),B=a(()=>n(ue)[0]),Z=a(()=>n(ue)[1]);Vn(()=>{Ce(n(v))&&n(v)({event:We(n(D)),timeText:n(B),el:r(),view:Ze(n(u))})});function X(R,V){return Ce(R)&&!cr(V)?I=>R({event:We(n(D)),el:r(),jsEvent:I,view:Ze(n(u))}):void 0}let N=a(()=>!gt(n(C))&&X(n(c),n(C))||void 0),A=a(()=>n(N)&&Gr(n(N))),Q=a(()=>X(n(p),n(C))),ve=a(()=>X(n(m),n(C)));var U=Ql();U.__click=function(...R){n(N)?.apply(this,R)},U.__keydown=function(...R){n(A)?.apply(this,R)},U.__pointerdown=function(...R){t.onpointerdown?.apply(this,R)};{const R=V=>{var I=Jl();Me(I,()=>Xe(n(Z))),se(()=>O(I,1,Rt(n(S).eventBody))),T(V,I)};var ae=le(U);{var Ee=V=>{var I=he(),fe=J(I);zt(fe,()=>t.body,()=>R,()=>n(w),()=>n(E)),T(V,I)},W=V=>{R(V)};_e(ae,V=>{t.body?V(Ee):V(W,!1)})}nt(U,V=>r(V),()=>r())}se(()=>{O(U,1,Rt(n(H))),bt(U,n(P)),Pe(U,"role",n(N)?"button":void 0),Pe(U,"tabindex",n(N)?0:void 0)}),lt("mouseenter",U,function(...R){n(Q)?.apply(this,R)}),lt("mouseleave",U,function(...R){n(ve)?.apply(this,R)}),T(e,U),ke()}Zt(["click","keydown","pointerdown"]);var jl=ee("<div><!></div>");function Gn(e,t){be(t,!0);let r=De(t,"weekday",3,!0),i=De(t,"colSpan",3,1),s=De(t,"ariaHidden",3,!1),o=De(t,"disabled",3,!1),l=De(t,"highlight",3,!1),u=a(()=>te("state")),f=a(()=>n(u).today),d=a(()=>n(u).options.theme);var h=jl(),g=le(h);zt(g,()=>t.children),se(c=>{O(h,1,c),Pe(h,"role",s()?null:"columnheader"),Pe(h,"aria-colspan",s()||i()<=1?null:i()),Pe(h,"aria-colindex",s()?null:t.colIndex),Pe(h,"aria-hidden",s()?"true":null)},[()=>Rt([t.className??n(d).colHead,r()&&n(d).weekdays?.[t.date.getUTCDay()],r()&&Ke(t.date,n(f))&&n(d).today,l()&&n(d).highlight,o()&&n(d).disabled])]),T(e,h),ke()}var $l=ee("<time></time>");function pr(e,t){be(t,!0);let r=De(t,"alPrefix",3,""),i=a(()=>te("state")),s=a(()=>n(i).intlDayHeader),o=a(()=>n(i).intlDayHeaderAL);var l=$l();Me(l,()=>Xe(n(s).format(t.date))),se((u,f)=>{Pe(l,"datetime",u),Pe(l,"aria-label",`${r()??""}${f??""}`)},[()=>ft(t.date,10),()=>n(o).format(t.date)]),T(e,l),ke()}function _r(e,t){be(t,!0);let r=De(t,"el",15),i=a(()=>te("state")),s=a(()=>n(i).iClasses),o=a(()=>n(i).interaction.action),l=a(()=>n(i).interaction.resizer),u=a(()=>te("view-state")),f=a(()=>n(u).snap),d=a(()=>t.chunk.event),h=a(()=>t.chunk.event.display),g=a(()=>_=>n(s)(_,n(d)));function c(_){return n(o)?.draggable(_)?p=>n(o).drag(_,p,t.forceDate,t.forceMargin,n(f)):n(o)?.noAction}let v=a(()=>!gt(n(h))&&!cr(n(h))?c(n(d)):void 0);Js(e,{get chunk(){return t.chunk},get classes(){return n(g)},get styles(){return t.styles},get onpointerdown(){return n(v)},get el(){return r()},set el(p){r(p)},body:(p,m=Yt)=>{var y=he(),k=J(y);{var S=C=>{var w=he(),E=J(w);Wr(E,()=>n(l),(P,H)=>{H(P,{get chunk(){return t.chunk},get axis(){return t.axis},get forceDate(){return t.forceDate},get forceMargin(){return t.forceMargin},children:(L,ue)=>{var B=he(),Z=J(B);zt(Z,m),T(L,B)},$$slots:{default:!0}})}),T(C,w)},D=C=>{var w=he(),E=J(w);zt(E,m),T(C,w)};_e(k,C=>{n(l)?C(S):C(D,!1)})}T(p,y)},$$slots:{body:!0}}),ke()}var eu=ee("<span></span>"),tu=ee('<a role="button" tabindex="0" aria-haspopup="dialog"></a>'),nu=ee("<div><time></time> <!></div> <div><!></div>",1);function ru(e,t){be(t,!0);const r=()=>Wa(n(f),"$firstDay",i),[i,s]=za();let o=te("state"),l=te("view-state"),u=a(()=>o.options.date),f=a(()=>o.options.firstDay),d=a(()=>o.options.moreLinkContent),h=a(()=>o.options.theme),g=a(()=>o.options.weekNumbers),c=a(()=>o.options.weekNumberContent),v=a(()=>l.hiddenChunks),_=a(()=>l.intlDayCell),p=a(()=>t.day.dayStart),m=a(()=>t.day.disabled),y=a(()=>t.day.highlight),k=a(()=>n(p).getUTCMonth()!==n(u).getUTCMonth()),S=a(()=>H=>[...H,n(k)&&n(h).otherMonth]),D=a(()=>n(g)&&n(p).getUTCDay()===(n(f)?1:0)),C=a(()=>{let H;if(n(D)){let L=$a(n(p),r());n(c)?H=Ce(n(c))?n(c)({date:Fe(n(p)),week:L}):n(c):H="W"+String(L).padStart(2,"0")}return H}),w=a(()=>n(v).get(n(p).getTime())),E=a(()=>{let H="";if(n(w)){let L="+"+n(w).length+" more";n(d)?H=Ce(n(d))?n(d)({num:n(w).length,text:L}):n(d):H=L}return H});function P(){l.popupDay=t.day}mr(e,{get date(){return n(p)},allDay:!0,get classes(){return n(S)},get disabled(){return n(m)},get highlight(){return n(y)},get noIeb(){return t.noIeb},get noBeb(){return t.noBeb},children:(H,L)=>{var ue=nu(),B=J(ue),Z=le(B);Me(Z,()=>Xe(n(_).format(n(p))));var X=ne(Z,2);{var N=U=>{var ae=eu();Me(ae,()=>Xe(n(C))),se(()=>O(ae,1,n(h).weekNumber)),T(U,ae)};_e(X,U=>{n(D)&&U(N)})}var A=ne(B,2),Q=le(A);{var ve=U=>{var ae=tu(),Ee=a(()=>Jr(P));ae.__click=function(...V){n(Ee)?.apply(this,V)};var W=a(()=>Gr(P));ae.__keydown=function(...V){n(W)?.apply(this,V)};var R=a(Jr);ae.__pointerdown=function(...V){n(R)?.apply(this,V)},Me(ae,()=>Xe(n(E))),T(U,ae)};_e(Q,U=>{n(w)&&U(ve)})}se(U=>{O(B,1,n(h).dayHead),Pe(Z,"datetime",U),O(A,1,n(h).dayFoot)},[()=>ft(n(p),10)]),T(H,ue)},$$slots:{default:!0}}),ke(),s()}Zt(["click","keydown","pointerdown"]);function yr(e,t){be(t,!0);let r=De(t,"inPopup",3,!1),i=a(()=>te("state")),s=a(()=>n(i).options.dayMaxEvents),o=a(()=>te("view-state")),l=a(()=>n(o).colsCount),u=a(()=>n(o).gridEl),f=a(()=>n(o).hiddenChunks),d=a(()=>n(o).popupDay),h=K(void 0),g=K(0),c=K(!1),v=a(()=>t.chunk.event),_=a(()=>t.chunk.event.display),p=a(()=>n(u).children.item((t.chunk.gridRow-1)*n(l)+t.chunk.gridColumn-1));Ge(()=>{r()||b(g,cn(n(p).firstElementChild),!0)});let m=a(()=>C=>{if(C["grid-column"]=`${t.chunk.gridColumn} / span ${t.chunk.dates.length}`,C["grid-row"]=t.chunk.gridRow,!gt(n(_))){let w=r()?1:n(g);if(n(v)._margin){let[E,P]=n(v)._margin;E>w&&t.chunk.gridRow===P&&(w=E)}C["margin-block-start"]=`${w}px`}return n(c)&&(C.visibility="hidden"),C});function y(){b(g,Us(t.chunk,cn(n(h)),cn(n(p).firstElementChild)),!0)}function k(){if(n(s)===!0){let C=cn(n(p))-S(n(p));if(b(c,t.chunk.bottom>C),n(c))for(let w of t.chunk.dates){let E=w.getTime();if(n(f).has(E)){let P=n(f).get(E);P.includes(t.chunk)||n(f).set(E,[...P,t.chunk])}else n(f).set(E,[t.chunk])}}else b(c,!1),n(f).size&&n(f).clear()}function S(C){let w=0;for(let E=0;E<t.chunk.dates.length&&(w=ut(w,cn(C.lastElementChild)),C=C.nextElementSibling,!!C);++E);return w}var D={reposition:y,hide:k};{let C=a(()=>r()&&n(d).dayStart),w=a(()=>[n(g),t.chunk.gridRow]);_r(e,{get chunk(){return t.chunk},get styles(){return n(m)},axis:"x",get forceDate(){return n(C)},get forceMargin(){return n(w)},get el(){return n(h)},set el(E){b(h,E,!0)}})}return ke(D)}var iu=ee('<dialog closedby="closerequest"><header><time></time> <a role="button" tabindex="0">×</a></header> <div></div></dialog>');function su(e,t){be(t,!0);let r=te("view-state"),i=a(()=>te("state")),s=a(()=>n(i).interaction),o=a(()=>n(i).options.buttonText),l=a(()=>n(i).options.theme),u=a(()=>r.colsCount),f=a(()=>r.chunks),d=a(()=>r.gridEl),h=a(()=>r.intlDayPopover),g=a(()=>r.popupDay),c=K(void 0),v=K(""),_=a(()=>n(g).gridColumn),p=a(()=>n(g).gridRow),m=a(()=>n(g).dayStart),y=a(()=>n(g).dayEnd),k=a(()=>{let X=[];for(let N of n(f))N.gridRow===n(p)&&N.gridColumn<=n(_)&&N.gridColumn+N.dates.length>n(_)&&X.push(me({},N,Yn(N.event,n(m),n(y))));return X.sort((N,A)=>N.top-A.top),X});Vn(()=>{n(c).show()}),Ge(()=>{n(k).length?$(S):D()});function S(){let X=n(d).children.item((n(p)-1)*n(u)+n(_)-1),N=Qt(n(c)),A=Qt(X),Q=Qt(n(d));b(v,"");let ve;if(N.width>=Q.width){ve=Q.left-A.left;let ae=A.right-Q.right;b(v,n(v)+`inset-inline-end:${ae}px;`)}else ve=(A.width-N.width)/2,A.left+ve<Q.left?ve=Q.left-A.left:A.left+ve+N.width>Q.right&&(ve=Q.right-A.left-N.width);b(v,n(v)+`inset-inline-start:${ve}px;`);let U;N.height>=Q.height?(U=Q.top-A.top,b(v,n(v)+`block-size:${Q.height}px;`)):(U=(A.height-N.height)/2,A.top+U<Q.top?U=Q.top-A.top:A.top+U+N.height>Q.bottom&&(U=Q.bottom-A.top-N.height)),b(v,n(v)+`inset-block-start:${U}px;`)}function D(){r.popupDay=null}function C(){D(),n(s).action?.noClick()}var w=iu();let E;var P=le(w),H=le(P);Me(H,()=>Xe(n(h).format(n(m))));var L=ne(H,2);da(L);var ue=a(()=>Jr(D));L.__click=function(...X){n(ue)?.apply(this,X)};var B=a(()=>Gr(D));L.__keydown=function(...X){n(B)?.apply(this,X)};var Z=ne(P,2);re(Z,21,()=>n(k),oe,(X,N)=>{yr(X,{get chunk(){return n(N)},inPopup:!0})}),nt(w,X=>b(c,X),()=>n(c)),Me(w,()=>Ga("pointerdown")),se(X=>{O(w,1,n(l).popup),E=bt(w,n(v),E,{"grid-area":`${n(p)+1} / ${n(_)}`}),O(P,1,n(l).dayHead),Pe(H,"datetime",X),Pe(L,"aria-label",n(o).close),O(Z,1,n(l).events)},[()=>ft(n(m),10)]),lt("pointerdownoutside",w,C),lt("close",w,D),T(e,w),ke()}Zt(["click","keydown"]);var ou=ee('<div role="columnheader"><span></span></div>'),au=ee('<section><header><div role="row"></div></header> <div><div></div> <div><!> <!> <!></div></div> <!></section>');function lu(e,t){be(t,!0);let r=te("state"),i=new Kl(r);Ln("view-state",i);let s=a(()=>r.intlDayHeader),o=a(()=>r.intlDayHeaderAL),l=a(()=>r.options.dayMaxEvents),u=a(()=>r.options.theme),f=a(()=>i.grid),d=a(()=>i.chunks),h=a(()=>i.bgChunks),g=a(()=>i.iChunks),c=a(()=>i.hiddenChunks),v=a(()=>i.popupDay),_=[];function p(){n(c).clear(),ti(_,n(d))}Ge(p),Ge(()=>{n(d),_.forEach(B=>B.hide())});var m=au();let y;var k=le(m),S=le(k);re(S,21,()=>n(f)[0],oe,(B,Z,X)=>{let N=()=>n(Z).dayStart;var A=ou();Pe(A,"aria-colindex",1+X);var Q=le(A);Me(Q,()=>Xe(n(s).format(N()))),se((ve,U)=>{O(A,1,ve),Pe(Q,"aria-label",U)},[()=>Rt([n(u).colHead,n(u).weekdays?.[N().getUTCDay()]]),()=>n(o).format(N())]),T(B,A)});var D=ne(k,2),C=le(D);re(C,21,()=>n(f),oe,(B,Z,X)=>{var N=he(),A=J(N);re(A,17,()=>n(Z),oe,(Q,ve,U)=>{{let ae=a(()=>U+1===n(Z).length),Ee=a(()=>X+1===n(f).length);ru(Q,{get day(){return n(ve)},get noIeb(){return n(ae)},get noBeb(){return n(Ee)}})}}),T(B,N)}),nt(C,B=>i.gridEl=B,()=>i?.gridEl);var w=ne(C,2),E=le(w);re(E,17,()=>n(d),oe,(B,Z,X)=>{nt(yr(B,{get chunk(){return n(Z)}}),(N,A)=>_[A]=N,N=>_?.[N],()=>[X])});var P=ne(E,2);re(P,17,()=>n(h),oe,(B,Z)=>{yr(B,{get chunk(){return n(Z)}})});var H=ne(P,2);re(H,17,()=>n(g),oe,(B,Z)=>{yr(B,{get chunk(){return n(Z)}})});var L=ne(D,2);{var ue=B=>{su(B,{})};_e(L,B=>{n(v)&&B(ue)})}nt(m,B=>r.mainEl=B,()=>r?.mainEl),Me(m,()=>qr(p)),se(()=>{O(m,1,Rt([n(u).main,n(l)===!0&&n(u).uniform])),y=bt(m,"",y,{"--ec-grid-cols":n(f)[0].length,"--ec-grid-rows":n(f).length}),O(k,1,n(u).header),O(S,1,n(u).grid),O(D,1,n(u).body),O(C,1,n(u).grid),O(w,1,n(u).events)}),T(e,m),ke()}const uu={createOptions(e){me(e,{dayMaxEvents:!1,dayCellFormat:{day:"numeric"},dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},moreLinkContent:void 0,weekNumbers:!1,weekNumberContent:void 0,view:"dayGridMonth"}),me(e.buttonText,{dayGridMonth:"month",close:"Close"}),me(e.theme,{uniform:"ec-uniform",dayFoot:"ec-day-foot",otherMonth:"ec-other-month",popup:"ec-popup",weekNumber:"ec-week-number"}),me(e.views,{dayGridMonth:{buttonText:ni,component:fu,dayHeaderFormat:{weekday:"short"},dayHeaderAriaLabelFormat:{weekday:"long"},displayEventEnd:!1,duration:{months:1},theme:mt("ec-day-grid ec-month-view"),titleFormat:{year:"numeric",month:"long"}}})}};function fu(e){return e.features=["day-grid"],e.extensions.activeRange=(t,r)=>{let{options:{firstDay:i}}=e;return{start:Ss(t,i),end:ja(r,i)}},lu}function Qs(e,t,r){return e.startEditable??t??e.editable??r}function du(e,t,r){return e.durationEditable??t??e.editable??r}let oi=!1;function cu(e){oi||(oi=!0,window.requestAnimationFrame(()=>{e(),oi=!1}))}function js(e,t,r){return ut(t,It(r,e))}function hu(e){return()=>{let{options:{editable:t,eventStartEditable:r,theme:i}}=e;e.iClasses=(s,o)=>{let{display:l}=o;return[...s,cr(l)?[i[l]]:!gt(l)&&Qs(o,r,t)?[i.draggable]:[]]}}}function vu(e){return()=>{let{interaction:t,mainEl:r}=e;if(r)return Bn(r,"scroll",()=>{t.action.handleScroll(),t.pointer?.handleScroll()})}}class gu{constructor(t){this.#e(t)}#e(t){on(hu(t)),Ge(vu(t))}}function mu(e,t){be(t,!0);let r=te("state"),i=a(()=>r.events),s=a(()=>r.iEvents),o=a(()=>r.features),l=a(()=>r.view),u=a(()=>r.mainEl),f=a(()=>r.options.dateClick),d=a(()=>r.options.dragConstraint),h=a(()=>r.options.dragScroll),g=a(()=>r.options.editable),c=a(()=>r.options.eventStartEditable),v=a(()=>r.options.eventDragMinDistance),_=a(()=>r.options.eventDragStart),p=a(()=>r.options.eventDragStop),m=a(()=>r.options.eventDrop),y=a(()=>r.options.eventLongPressDelay),k=a(()=>r.options.eventResizeStart),S=a(()=>r.options.eventResizeStop),D=a(()=>r.options.eventResize),C=a(()=>r.options.longPressDelay),w=a(()=>r.options.resizeConstraint),E=a(()=>r.options.selectable),P=a(()=>r.options.select),H=a(()=>r.options.selectBackgroundColor),L=a(()=>r.options.selectConstraint),ue=a(()=>r.options.selectLongPressDelay),B=a(()=>r.options.selectMinDistance),Z=a(()=>r.options.unselect),X=a(()=>r.options.unselectAuto),N=a(()=>r.options.unselectCancel),A=a(()=>r.options.validRange);const Q=1,ve=2,U=3,ae=4,Ee=5,W=6;let R,V,I,fe,rt,He,Pt,Y,ie,xe,F,z,G,de,Re,we,Ie,Ae,ce,ze,dt,$e,pt,Oe,vn,Bt,jt;function Rf(x){return Qs(x,n(c),n(g))}function If(x,M,pe,j,Je){R||(R=_i(M)?Q:W,gn()&&(I=x,pi(M,Je),pe&&(He=pe),j&&(vn=j),Ae="dragging",Sn(M)))}function Lf(x,M,pe,j,Je,Xn,wi,Gf){R||(R=_i(M)?pe?U:ve:W,gn()&&(I=x,pi(M,Gf),Je&&(He=Je),Xn&&(vn=Xn),Ae=j==="x"?"resizingX":"resizingY",Cr()?(ce=q(I.end),Ie?(Qr(ce,I.start),ce>=I.end&&Cn(ce)):(fr(ce,Bt),ce<I.start&&(ce=I.start),He=I.start)):(ce=q(I.start),Ie?(Qr(ce,I.end),ce<=I.start&&!wi&&kt(ce)):(Se(ce,Bt),ce>I.end&&(ce=I.end),He=I.end,wi||(He=fr(q(He),Bt))),wi&&!Ie&&(jt=Bt)),Sn(M)))}function Pf(x,M){R||(R=_i(x)?n(E)&&!n(o).includes("list")?ae:Ee:W,gn()&&(pi(x,M),Ae="selecting",ze=Ie?Ne({day:1}):Bt,I={allDay:Ie,start:He,end:Se(q(He),ze),resourceIds:Y?[Y.id]:[]},Sn(x)))}function Mf(){R||(R=W)}function pi(x,M){window.getSelection().removeAllRanges(),xe=z=x.clientX,F=G=x.clientY,Bt=M?.duration;let pe=Dn(z,G);({allDay:Ie,date:He,resource:Y}=Vt(pe)(z,G)),Re=n(u)!==Os(pe,3),de=Os(pe,1),co(),x.pointerType!=="mouse"&&(pt=setTimeout(()=>{R&&(V=!0,Sn(x))},($t()?n(ue):n(y))??n(C)))}function Sn(x){if(V||x&&x.pointerType==="mouse"&&Hf()>=($t()?n(B):n(v))){V=!0,Dr(x),r.iClass=Ae,fe||($t()?Ff():Nf(x,Rn()?n(k):n(_)));let M=qn(Of());if(M){let pe;if({allDay:pe,date:Pt,resource:ie}=M,pe===Ie){let j=kr({},fe),Je=n(w);we=Ne((Pt-He)/1e3),Cr()?(j.start=Se(q(I.start),we),j.start>ce&&(j.start=ce,we=Ne((ce-I.start)/1e3))):(j.end=Se(q(I.end),we),jt&&Se(j.end,jt),Rn()?j.end<ce&&(j.end=ce,we=Ne((ce-I.end)/1e3)):$t()?(j.end<I.end?(j.start=fr(j.end,ze),j.end=I.end):j.start=I.start,Je=n(L)):(j.start=Se(q(I.start),we),Y&&(j.resourceIds=I.resourceIds.filter(Xn=>Xn!==Y.id),j.resourceIds.push(ie.id)),Je=n(d)));do{if(Je!==void 0&&(j=kr(ei(I),j),Je($t()?mo(j,x):po(j,I,x))===!1)){go(I);break}go(j)}while(!1)}}}if(n(h)){let M=24,pe=24;cu(()=>{Oe&&(Re||(G<Oe.top+M&&(n(u).scrollTop+=ut(-8,(G-Oe.top-M)/3)),G>Oe.bottom-M&&(n(u).scrollTop+=It(8,(G-Oe.bottom+M)/3))),z<Oe.left+pe&&(n(u).scrollLeft+=ut(-8,(z-Oe.left-pe)/3)),z>Oe.right-pe&&(n(u).scrollLeft+=It(8,(z-Oe.right+pe)/3)),G<M&&window.scrollBy(0,ut(-8,(G-M)/3)),G>window.innerHeight-M&&window.scrollBy(0,It(8,(G-window.innerHeight+M)/3)))})}}function uo(){gn()&&(co(),Sn())}function Af(x){gn()&&x.isPrimary&&(z=x.clientX,G=x.clientY,Sn(x))}function fo(x){if(dt&&n(X)&&!(n(N)&&x.target.closest(n(N)))&&Dr(x),R&&x.isPrimary){if(V)if($t()){if(dt=!0,Ce(n(P))){let M=mo(fe,x);n(P)(M)}}else{I.display=rt;let M=Rn()?n(S):n(p);Ce(M)&&M({event:We(I),jsEvent:x,view:Ze(n(l))});let pe=ei(I);if(vo(I,fe),ho(),M=Rn()?n(D):n(m),Ce(M)){let j=I,Je=po(I,pe,x);M(me(Je,{revert(){vo(j,pe)}}))}}else if((Uf()||$t())&&Ce(n(f))&&!$e){z=x.clientX,G=x.clientY;let M=Dn(z,G);if(M){let{allDay:pe,date:j,resource:Je}=Vt(M)(z,G);n(f)({allDay:pe,date:Fe(j),dateStr:ft(j),dayEl:M,jsEvent:x,view:Ze(n(l)),resource:Je})}}V=!1,R=xe=F=z=G=I=rt=He=Pt=Y=ie=we=jt=Ie=ce=ze=vn=de=Oe=Bt=void 0,r.iClass=void 0,pt&&(clearTimeout(pt),pt=void 0)}$e=!1}function Of(){return Dn(js(z,Oe.left,Oe.right),js(G,Oe.top,Oe.bottom))}function qn(x){if(x){let M=Vt(x)(z,G);if(M.disabled){if(!n(A).end||M.date<n(A).end)return qn(x.nextElementSibling);if(!n(A).start||M.date>n(A).start)return qn(x.previousElementSibling)}else return($t()||Rn())&&M.resource&&!fe.resourceIds.includes(M.resource.id)&&!n(o).includes("timeline")?z>xe?qn(x.previousElementSibling):qn(x.nextElementSibling):M}return null}function co(){let x=Qt(n(u)),M=Qt(de),pe=x.width/n(u).offsetWidth,j=x.height/n(u).offsetHeight,Je=dn();Oe={left:ut(0,Je?x.right-n(u).clientWidth*pe:M.left+n(u).scrollLeft*pe),right:It(document.documentElement.clientWidth,Je?M.right+n(u).scrollLeft*pe:x.left+n(u).clientWidth*pe)-2,top:ut(0,M.top+(Re?0:n(u).scrollTop)*j),bottom:It(document.documentElement.clientHeight,Re?M.bottom:x.top+n(u).clientHeight*j)-2}}function Nf(x,M){Ce(M)&&M({event:We(I),jsEvent:x,view:Ze(n(l))}),rt=I.display,I.display="preview",fe=ei(I),vn!==void 0&&(fe._margin=vn),jt&&Se(fe.end,jt),I.display="ghost",r.events=[...n(i)]}function Ff(){fe={id:"{select}",allDay:I.allDay,start:I.start,title:"",display:"preview",extendedProps:{},backgroundColor:n(H),resourceIds:I.resourceIds,classNames:[],styles:[]}}function ho(){fe=void 0,n(s).delete("action")}function kr(x,M){return x.start=M.start,x.end=M.end,x.resourceIds=M.resourceIds,{...x}}function vo(x,M){kr(x,M),r.events=[...n(i)]}function go(x){fe=kr(fe,x),n(s).set("action",fe)}function mo(x,M){let{start:pe,end:j}=We(x);return{start:pe,end:j,startStr:ft(x.start),endStr:ft(x.end),allDay:Ie,view:Ze(n(l)),resource:Y,jsEvent:M}}function po(x,M,pe){let j;return Rn()?j=Cr()?{startDelta:we,endDelta:Ne(0)}:{startDelta:Ne(0),endDelta:we}:j={delta:we,oldResource:Y!==ie?Y:void 0,newResource:Y!==ie?ie:void 0},me(j,{event:We(x),oldEvent:We(M),view:Ze(n(l)),jsEvent:pe}),j}function Hf(){return Math.sqrt(Math.pow(z-xe,2)+Math.pow(G-F,2))}function Rn(){return R===ve||Cr()}function Cr(){return R===U}function Uf(){return R===Ee}function $t(){return R===ae}function gn(){return R&&R<Ee}function _i(x){return x.isPrimary&&(x.pointerType!=="mouse"||x.buttons&1)}function Dr(x){dt&&(dt=!1,ho(),Ce(n(Z))&&n(Z)({jsEvent:x,view:Ze(n(l))}))}on(()=>{n(l),Dr()});function Wf(){$e=!0}function zf(x){if(gn()){let M=x.target,pe=[],j=()=>Ja(pe);pe.push(Bn(M,"touchmove",yi(()=>V))),pe.push(Bn(M,"touchend",j)),pe.push(Bn(M,"touchcancel",j))}}function yi(x){return M=>{x()&&M.preventDefault()}}Vn(()=>Bn(window,"touchmove",Qa,{passive:!1}));var Vf={draggable:Rf,drag:If,resize:Lf,select:Pf,noAction:Mf,handleScroll:uo,unselect:Dr,noClick:Wf};lt("pointermove",yt,Af),lt("pointerup",yt,fo),lt("pointercancel",yt,fo),lt("scroll",yt,uo);var Bf=a(()=>yi(gn));lt("selectstart",yt,function(...x){n(Bf)?.apply(this,x)});var Yf=a(()=>yi(()=>pt));return lt("contextmenu",yt,function(...x){n(Yf)?.apply(this,x)}),lt("touchstart",yt,zf,void 0,!0),ke(Vf)}function pu(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).iEvents),s=a(()=>n(r).options.slotDuration),o=0,l=0,u;function f(){let p=Dn(o,l);if(p&&!n(i).has("action")){let{allDay:m,date:y,resource:k,disabled:S}=Vt(p)(o,l);if(!S){u||g(),u.allDay=m,u.start=y,u.end=Se(q(y),n(s)),u.resourceIds=k?[k.id]:[],n(i).set("pointer",{...u});return}}c()}function d(){f()}function h(p){v(p)&&(o=p.clientX,l=p.clientY,f())}function g(){u={id:"{pointer}",title:"",display:"pointer",extendedProps:{},backgroundColor:"transparent",classNames:[],styles:[]}}function c(){u=void 0,n(i).delete("pointer")}function v(p){return p.isPrimary&&p.pointerType==="mouse"}var _={handleScroll:d};return lt("pointermove",yt,h),lt("scroll",yt,d),ke(_)}var _u=ee("<div></div>"),yu=ee("<div></div>"),wu=ee("<!> <!> <!>",1);function bu(e,t){be(t,!0);let r=De(t,"forceDate",3,void 0),i=De(t,"forceMargin",3,void 0),s=a(()=>te("state")),o=a(()=>n(s).interaction.action),l=a(()=>n(s).options.editable),u=a(()=>n(s).options.eventDurationEditable),f=a(()=>n(s).options.eventResizableFromStart),d=a(()=>n(s).options.theme),h=a(()=>te("view-state")),g=a(()=>n(h).snap),c=a(()=>t.chunk.event),v=a(()=>t.chunk.event.display),_=a(()=>!gt(n(v))&&!cr(n(v))&&du(n(c),n(u),n(l)));function p(w){return E=>n(o).resize(n(c),E,w,t.axis,r(),i(),t.chunk.zeroDuration,n(g))}var m=wu(),y=J(m);{var k=w=>{var E=_u(),P=a(()=>p(!0));E.__pointerdown=function(...H){n(P)?.apply(this,H)},se(()=>O(E,1,`${n(d).resizer??""} ${n(d).start??""}`)),T(w,E)};_e(y,w=>{n(_)&&n(f)&&w(k)})}var S=ne(y,2);zt(S,()=>t.children);var D=ne(S,2);{var C=w=>{var E=yu(),P=a(()=>p(!1));E.__pointerdown=function(...H){n(P)?.apply(this,H)},se(()=>O(E,1,n(d).resizer)),T(w,E)};_e(D,w=>{n(_)&&w(C)})}T(e,m),ke()}Zt(["pointerdown"]);var ku=ee("<!> <!>",1);function Cu(e,t){be(t,!0);let r=te("state");new gu(r);let i=a(()=>r.interaction),s=a(()=>r.options.pointer);n(i).resizer=bu;var o=ku(),l=J(o);nt(mu(l,{}),d=>n(i).action=d,()=>n(i)?.action);var u=ne(l,2);{var f=d=>{nt(pu(d,{}),h=>n(i).pointer=h,()=>n(i)?.pointer)};_e(u,d=>{n(s)&&d(f)})}T(e,o),ke()}const Du={createOptions(e){me(e,{dateClick:void 0,dragConstraint:void 0,dragScroll:!0,editable:!1,eventDragMinDistance:5,eventDragStart:void 0,eventDragStop:void 0,eventDrop:void 0,eventDurationEditable:!0,eventLongPressDelay:void 0,eventResizableFromStart:!1,eventResizeStart:void 0,eventResizeStop:void 0,eventResize:void 0,eventStartEditable:!0,longPressDelay:1e3,pointer:!1,resizeConstraint:void 0,select:void 0,selectBackgroundColor:void 0,selectConstraint:void 0,selectLongPressDelay:void 0,selectMinDistance:5,snapDuration:void 0,unselect:void 0,unselectAuto:!0,unselectCancel:""}),me(e.theme,{draggable:"ec-draggable",ghost:"ec-ghost",preview:"ec-preview",pointer:"ec-pointer",resizer:"ec-resizer",start:"ec-start",dragging:"ec-dragging",resizingY:"ec-resizing-y",resizingX:"ec-resizing-x",selecting:"ec-selecting"})},initState(e){e.auxComponents.push(Cu)}};let Eu=class{#e;get intlListDay(){return n(this.#e)}set intlListDay(t){b(this.#e,t)}#t;get intlListDaySide(){return n(this.#t)}set intlListDaySide(t){b(this.#t,t)}constructor(t){this.#e=a(hn(t,"listDayFormat")),this.#t=a(hn(t,"listDaySideFormat"))}};var Tu=ee("<div></div> <!>",1);function xu(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).interaction),s=a(()=>n(r).options.theme),o=a(()=>l=>(delete l["background-color"],delete l.color,l));{const l=(f,d=Yt,h=Yt,g=Yt)=>{var c=Tu(),v=J(c);let _;var p=ne(v,2);zt(p,d),se(()=>{O(v,1,n(s).eventTag),_=bt(v,"",_,{"background-color":h()})}),T(f,c)};let u=a(()=>n(i).action?.noAction);Js(e,{get chunk(){return t.chunk},get styles(){return n(o)},get onpointerdown(){return n(u)},body:l,$$slots:{body:!0}})}ke()}var Su=ee("<h4><time></time> <time></time></h4> <!>",1);function Ru(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).filteredEvents),s=a(()=>n(r).options.highlightedDates),o=a(()=>n(r).options.theme),l=a(()=>n(r).options.validRange),u=a(()=>te("view-state")),f=a(()=>n(u).intlListDay),d=a(()=>n(u).intlListDaySide),h=a(()=>n(s).some(y=>Ke(y,t.date))),g=a(()=>xn(t.date,n(l))),c=a(()=>ft(t.date,10)),v=a(()=>{let y=[];if(!n(g)){let k=t.date,S=kt(q(t.date));for(let D of n(i))if(!gt(D.display)&&En(D,k,S)){let C=Yn(D,k,S);y.push(C)}}return y});var _=he(),p=J(_);{var m=y=>{mr(y,{get date(){return t.date},allDay:!0,role:"listitem",get disabled(){return n(g)},get highlight(){return n(h)},children:(k,S)=>{var D=Su(),C=J(D),w=le(C);Me(w,()=>Xe(n(f).format(t.date)));var E=ne(w,2);Me(E,()=>Xe(n(d).format(t.date)));var P=ne(C,2);re(P,17,()=>n(v),H=>H.event,(H,L)=>{xu(H,{get chunk(){return n(L)}})}),se(()=>{O(C,1,n(o).dayHead),Pe(w,"datetime",n(c)),O(E,1,n(o).daySide),Pe(E,"datetime",n(c))}),T(k,D)},$$slots:{default:!0}})};_e(p,y=>{n(v).length&&y(m)})}T(e,_),ke()}var Iu=ee("<div></div>"),Lu=ee("<section><!></section>");function Pu(e,t){be(t,!0);let r=te("state"),i=new Eu(r);Ln("view-state",i);let s=a(()=>r.filteredEvents),o=a(()=>r.view),l=a(()=>r.viewDates),u=a(()=>r.options.noEventsClick),f=a(()=>r.options.noEventsContent),d=a(()=>r.options.theme),h=a(()=>{let y=!0;if(n(l).length){let k=n(l)[0],S=kt(q(n(l).at(-1)));for(let D of n(s))if(!gt(D.display)&&D.start<S&&D.end>k){y=!1;break}}return y}),g=a(()=>Ce(n(f))?n(f)():n(f));function c(y){Ce(n(u))&&n(u)({jsEvent:y,view:Ze(n(o))})}var v=Lu(),_=le(v);{var p=y=>{var k=Iu();k.__click=c,Me(k,()=>Xe(n(g))),se(()=>O(k,1,n(d).noEvents)),T(y,k)},m=y=>{var k=he(),S=J(k);re(S,17,()=>n(l),oe,(D,C)=>{Ru(D,{get date(){return n(C)}})}),T(y,k)};_e(_,y=>{n(h)?y(p):y(m,!1)})}nt(v,y=>r.mainEl=y,()=>r?.mainEl),se(()=>O(v,1,n(d).main)),T(e,v),ke()}Zt(["click"]);const Mu={createOptions(e){me(e,{listDayFormat:{weekday:"long"},listDaySideFormat:{year:"numeric",month:"long",day:"numeric"},noEventsClick:void 0,noEventsContent:"No events",view:"listWeek"}),me(e.buttonText,{listDay:"list",listWeek:"list",listMonth:"list",listYear:"list"}),me(e.theme,{daySide:"ec-day-side",eventTag:"ec-event-tag",noEvents:"ec-no-events"}),me(e.views,{listDay:{buttonText:hr,component:wr,duration:{days:1},theme:mt("ec-list ec-day-view")},listWeek:{buttonText:vr,component:wr,duration:{weeks:1},theme:mt("ec-list ec-week-view")},listMonth:{buttonText:ni,component:wr,duration:{months:1},theme:mt("ec-list ec-month-view")},listYear:{buttonText:dl,component:wr,duration:{years:1},theme:mt("ec-list ec-year-view")}})}};function wr(e){return e.features=["list"],Pu}function ai(e,t){let r=[];for(let{gridColumn:i,gridRow:s,resource:o,start:l,end:u,disabled:f}of t)if(!f&&En(e,l,u,o)){let d=Yn(e,l,u);me(d,{gridColumn:i,gridRow:s,top:(d.start-l)/1e3,height:(d.end-d.start)/1e3,maxHeight:(u-d.start)/1e3}),r.push(d)}return r}function Au(e){let t={};for(let r of e){let{gridColumn:i}=r,s=t[i],o=0;if(s&&r.start<s.end){for(;o<s.columns.length&&!(s.columns[o].at(-1).end<=r.start);++o);r.end>s.end&&(s.end=r.end)}else s={columns:[],end:r.end};s.columns.length<o+1&&s.columns.push([]),s.columns[o].push(r),t[i]=s,r.group=s,r.groupColumn=o}}function Ou(e){let t="all-day",r;return e?(r=Ce(e)?e({text:t}):e,typeof r=="string"&&(r={html:r})):r={html:t},r}function li(e){e.extensions.activeRange=(t,r)=>{let{options:{slotMaxTime:i}}=e;if(i.days||i.seconds>ur){Se(Cn(r),i);let s=Cn(q(r));s<t&&(t=s)}return{start:t,end:r}}}function ui(e){"scrollTime"in e||(me(e,{columnWidth:void 0,flexibleSlotTimeLimits:!1,nowIndicator:!1,scrollTime:"06:00:00",slotDuration:"00:30:00",slotHeight:24,slotLabelInterval:void 0,slotLabelFormat:{hour:"numeric",minute:"2-digit"},slotMaxTime:"24:00:00",slotMinTime:"00:00:00",snapDuration:void 0}),me(e.theme,{nowIndicator:"ec-now-indicator",sidebar:"ec-sidebar",slot:"ec-slot"}))}function $s(e){"allDaySlot"in e||(me(e,{allDayContent:void 0,allDaySlot:!0,slotEventOverlap:!0}),me(e.theme,{allDay:"ec-all-day"}))}function fi(e){"scrollTime"in e||me(e,{scrollTime:Ne,slotDuration:Ne,slotLabelInterval:t=>t!==void 0?Ne(t):void 0,slotMaxTime:Ne,slotMinTime:Ne,snapDuration:t=>t!==void 0?Ne(t):void 0})}function eo(e){"resourceLabelContent"in e||(e.filterResourcesWithEvents=!1,e.resourceLabelContent=void 0,e.resourceLabelDidMount=void 0)}function Nu(e,t){return()=>{let{viewDates:r,options:{highlightedDates:i,validRange:s}}=e,{slotTimeLimits:o}=t,l=[];return $(()=>{let u=1;for(let f of r)l.push({gridColumn:u,gridRow:1,resource:void 0,start:Se(q(f),o.min),end:Se(q(f),o.max),dayStart:f,dayEnd:kt(q(f)),disabled:xn(f,s),highlight:i.some(d=>Ke(d,f))}),++u}),[l]}}function Fu(e,t){return()=>{let{filteredEvents:r}=e,{grid:i}=t,s=[],o=[],l=[],u=[];return $(()=>{for(let f of r)for(let d of i)gt(f.display)?(o=o.concat(ai(f,d)),f.allDay&&(u=u.concat(Tn(f,d)))):f.allDay?l=l.concat(Tn(f,d)):s=s.concat(ai(f,d));Au(s),Hs(l)}),{chunks:s,bgChunks:o,allDayChunks:l,allDayBgChunks:u}}}function Hu(e,t){return()=>{let{iEvents:r}=e,{grid:i}=t,s=[],o=[];for(let[,l]of r)l&&$(()=>{for(let u of i)l.allDay?o=o.concat(Tn(l,u)):s=s.concat(ai(l,u))});return{iChunks:s,allDayIChunks:o}}}function Uu(e){return()=>{let{filteredEvents:t,viewDates:r,options:{flexibleSlotTimeLimits:i,slotMinTime:s,slotMaxTime:o}}=e,l;return $(()=>{l=Gs(s,o,i,r,t)}),l}}function Wu(e){return()=>{let{options:{slotDuration:t,slotLabelInterval:r}}=e,i;return $(()=>{i=r===void 0?ye(t)<3600?2:1:qa(ye(r)/ye(t))||1}),i}}function zu(e,t){return()=>{let{options:{slotDuration:r}}=e,{intlSlotLabel:i,slotLabelPeriodicity:s,slotTimeLimits:o}=t,l;return $(()=>{l=Ys(Ct(Lt()),r,s,o,i)}),l}}function Vu(e){return()=>{let{options:{slotDuration:t,snapDuration:r}}=e;return r??=t,{duration:r,ratio:ye(r)/ye(t)}}}function di(){return class{#e;get intlSlotLabel(){return n(this.#e)}set intlSlotLabel(e){b(this.#e,e)}#t;get slotLabelPeriodicity(){return n(this.#t)}set slotLabelPeriodicity(e){b(this.#t,e)}#n;get sidebarWidth(){return n(this.#n)}set sidebarWidth(e){b(this.#n,e,!0)}#r;get snap(){return n(this.#r)}set snap(e){b(this.#r,e)}constructor(e){this.#e=a(hn(e,"slotLabelFormat")),this.#t=a(Wu(e)),this.#n=K(0),this.#r=a(Vu(e))}}}function to(e){return class extends e{#e;get slotTimeLimits(){return n(this.#e)}set slotTimeLimits(t){b(this.#e,t)}#t;get slots(){return n(this.#t)}set slots(t){b(this.#t,t)}#n;get chunks(){return n(this.#n)}set chunks(t){b(this.#n,t)}#r;get bgChunks(){return n(this.#r)}set bgChunks(t){b(this.#r,t)}#s;get allDayChunks(){return n(this.#s)}set allDayChunks(t){b(this.#s,t)}#i;get allDayBgChunks(){return n(this.#i)}set allDayBgChunks(t){b(this.#i,t)}#o;get iChunks(){return n(this.#o)}set iChunks(t){b(this.#o,t)}#a;get allDayIChunks(){return n(this.#a)}set allDayIChunks(t){b(this.#a,t)}constructor(t){super(t),this.#e=a(Uu(t)),this.#t=a(zu(t,this));let r=a(Fu(t,this)),i=a(()=>n(r).chunks),s=a(()=>n(r).bgChunks),o=a(()=>n(r).allDayChunks),l=a(()=>n(r).allDayBgChunks);this.#n=a(()=>n(i)),this.#r=a(()=>n(s)),this.#s=a(()=>n(o)),this.#i=a(()=>n(l));let u=a(Hu(t,this)),f=a(()=>n(u).iChunks),d=a(()=>n(u).allDayIChunks);this.#o=a(()=>n(f)),this.#a=a(()=>n(d))}}}let Bu=class extends to(di()){#e;get grid(){return n(this.#e)}set grid(t){b(this.#e,t)}constructor(t){super(t),this.#e=a(Nu(t,this))}};function Yu(e){return()=>{let{activeRange:t,filteredEvents:r,options:{filterResourcesWithEvents:i,resources:s},extensions:{viewResources:o}}=e,l=o?o(s):s;return $(()=>{i&&(l=s.filter(u=>r.some(f=>En(f,t.start,t.end,u)))),l.length||(l=zs([{}]))}),l}}function Gu(e,t){return()=>{let{viewDates:r,options:{datesAboveResources:i,highlightedDates:s,validRange:o}}=e,{slotTimeLimits:l,viewResources:u}=t,f=[];return $(()=>{let d=1,h=i?[r,u]:[u,r];for(let g of h[0]){let c=[];for(let v of h[1]){let _=i?g:v,p=i?v:g;c.push({gridColumn:d,gridRow:1,resource:p,start:Se(q(_),l.min),end:Se(q(_),l.max),dayStart:_,dayEnd:kt(q(_)),disabled:xn(_,o),highlight:s.some(m=>Ke(m,_))}),++d}f.push(c)}}),f}}function no(e){return class extends e{#e;get viewResources(){return n(this.#e)}set viewResources(t){b(this.#e,t)}constructor(t){super(t),this.#e=a(Yu(t))}}}let qu=class extends no(to(di())){#e;get grid(){return n(this.#e)}set grid(t){b(this.#e,t)}constructor(t){super(t),this.#e=a(Gu(t,this))}};var Xu=ee("<span></span>");function ci(e,t){be(t,!0);let r=De(t,"date",3,void 0),i=De(t,"setLabel",3,void 0),s=a(()=>te("state")),o=a(()=>n(s).intlDayHeaderAL),l=a(()=>n(s).options.resourceLabelContent),u=a(()=>n(s).options.resourceLabelDidMount),f=K(void 0),d=a(()=>n(l)?Ce(n(l))?n(l)({resource:t.resource,date:r()?Fe(r()):void 0}):n(l):t.resource.title),h=K(void 0);Ge(()=>{n(d),$(()=>{r()?b(h,n(o).format(r())+", "+n(f).innerText):i()&&(b(h,void 0),i()(n(f).innerText))})}),Vn(()=>{Ce(n(u))&&n(u)({resource:t.resource,date:r()?Fe(r()):void 0,el:n(f)})});var g=Xu();nt(g,c=>b(f,c),()=>n(f)),Me(g,()=>Xe(n(d))),se(()=>Pe(g,"aria-label",n(h))),T(e,g),ke()}function ro(e,t){be(t,!0);let r=De(t,"allDay",3,!1),i=a(()=>te("state")),s=a(()=>n(i).options.slotHeight),o=a(()=>te("view-state")),l=a(()=>n(o).snap),u=a(()=>t.day.dayStart),f=a(()=>t.day.start),d=a(()=>t.day.resource),h=a(()=>t.day.disabled),g=a(()=>t.day.highlight),c=K(void 0);function v(_,p){if(r())return n(u);{let m=Qt(n(c)),y=m.height/n(c).offsetHeight;return Se(q(n(f)),n(l).duration,Xr((p-m.top)/(n(s)*n(l).ratio*y)))}}mr(e,{get date(){return n(u)},get allDay(){return r()},get resource(){return n(d)},dateFromPoint:v,get disabled(){return n(h)},get highlight(){return n(g)},get noIeb(){return t.noIeb},get noBeb(){return t.noBeb},get el(){return n(c)},set el(_){b(c,_,!0)}}),ke()}function hi(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.slotEventOverlap),s=a(()=>n(r).options.slotDuration),o=a(()=>n(r).options.slotHeight),l=a(()=>u=>{let f=ye(n(s)),d=t.chunk.top/f*n(o),h=t.chunk.height/f*n(o)||n(o),g=t.chunk.maxHeight/f*n(o);u["grid-column"]=t.chunk.gridColumn,u["inset-block-start"]=`${d}px`,u["min-block-size"]=`${h}px`,u["block-size"]=`${h}px`,u["max-block-size"]=`${g}px`;let c="100% - var(--ec-event-col-gap)";if(t.chunk.group){let v=t.chunk.group.columns.length;u["z-index"]=`${t.chunk.groupColumn+1}`,u["inset-inline-start"]=`calc((${c}) / ${v} * ${t.chunk.groupColumn})`,u["inline-size"]=`calc((${c}) / ${v} * ${n(i)?.5*(1+v-t.chunk.groupColumn):1})`}return u});_r(e,{get chunk(){return t.chunk},get styles(){return n(l)},axis:"y"}),ke()}function vi(e,t){be(t,!0);let r=K(void 0),i=K(0),s=a(()=>t.chunk.event),o=a(()=>f=>(f["grid-column"]=`${t.chunk.gridColumn} / span ${t.chunk.dates.length}`,(n(i)||n(s)._margin)&&(f["margin-block-start"]=`${n(s)._margin??n(i)}px`),f));function l(){b(i,Us(t.chunk,cn(n(r))),!0)}var u={reposition:l};return _r(e,{get chunk(){return t.chunk},get styles(){return n(o)},axis:"x",get forceMargin(){return n(i)},get el(){return n(r)},set el(f){b(r,f,!0)}}),ke(u)}var Ku=ee("<div></div>");function br(e,t){be(t,!0);let r=De(t,"span",3,1),i=a(()=>te("state")),s=a(()=>n(i).mainEl),o=a(()=>n(i).now),l=a(()=>n(i).today),u=a(()=>n(i).options.slotDuration),f=a(()=>n(i).options.slotHeight),d=a(()=>n(i).options.theme),h=a(()=>te("view-state")),g=a(()=>n(h).sidebarWidth),c=a(()=>{for(let w of t.days)if(Ke(w.dayStart,n(l)))return w;return{}}),v=a(()=>n(c).gridColumn),_=a(()=>n(c).start),p=a(()=>n(c).end),m=a(()=>{if(n(o)<n(_)||n(o)>n(p))return null;let w=ye(n(u));return(n(o)-n(_))/1e3/w*n(f)}),y=a(()=>({root:n(s),rootMargin:dn()?`0px -${n(g)+5.5}px 0px 0px`:`0px 0px 0px -${n(g)+5.5}px`,threshold:0}));function k(w,E){w.classList.toggle(n(d).hidden,!E.isIntersecting)}var S=he(),D=J(S);{var C=w=>{var E=Ku();let P;Me(E,()=>Ts(k,n(y))),se(()=>{O(E,1,n(d).nowIndicator),P=bt(E,"",P,{"grid-column":`${n(v)+1} / span ${r()??""}`,"inset-block-start":`${n(m)??""}px`})}),T(w,E)};_e(D,w=>{n(v)&&n(m)!==null&&w(C)})}T(e,S),ke()}var Zu=ee('<div><aside></aside> <div role="row"></div> <div><!> <!> <!></div></div>'),Ju=ee("<div><time></time></div>"),Qu=ee('<section><header><aside></aside> <div role="row"><!></div> <!></header> <div role="rowgroup"><aside aria-hidden="true"></aside> <div role="row"></div> <div><!> <!> <!></div></div> <!></section>');function io(e,t){be(t,!0);let r=De(t,"viewState",7),i=te("state");r()||r(new Bu(i)),Ln("view-state",r());let s=a(()=>i.mainEl),o=a(()=>i.viewDates),l=a(()=>i.options.allDayContent),u=a(()=>i.options.allDaySlot),f=a(()=>i.options.columnWidth),d=a(()=>i.options.nowIndicator),h=a(()=>i.options.scrollTime),g=a(()=>i.options.slotHeight),c=a(()=>i.options.slotDuration),v=a(()=>i.options.theme),_=a(()=>r().allDayChunks),p=a(()=>r().allDayBgChunks),m=a(()=>r().allDayIChunks),y=a(()=>r().bgChunks),k=a(()=>r().chunks),S=a(()=>r().iChunks),D=a(()=>r().grid),C=a(()=>r().sidebarWidth),w=a(()=>r().slots),E=a(()=>r().slotLabelPeriodicity),P=a(()=>r().slotTimeLimits),H=K(0),L=a(()=>Ou(n(l)));Ge(()=>{n(o),n(h),Un().then(ue)});function ue(){n(s).scrollTop=((ye(n(h))-ye(n(P).min))/ye(n(c))-.5)*n(g)}let B=[];function Z(){ti(B,n(_))}Ge(Z);var X=Qu();let N;var A=le(X),Q=le(A),ve=ne(Q,2),U=le(ve);{var ae=F=>{var z=he(),G=J(z);zt(G,()=>t.header),T(F,z)},Ee=F=>{var z=he(),G=J(z);re(G,17,()=>n(D)[0],oe,(de,Re,we)=>{let Ie=()=>n(Re).dayStart,Ae=()=>n(Re).disabled,ce=()=>n(Re).highlight;Gn(de,{get date(){return Ie()},colIndex:1+we,get disabled(){return Ae()},get highlight(){return ce()},children:(ze,dt)=>{pr(ze,{get date(){return Ie()}})},$$slots:{default:!0}})}),T(F,z)};_e(U,F=>{t.header?F(ae):F(Ee,!1)})}var W=ne(ve,2);{var R=F=>{var z=Zu(),G=le(z);Me(G,()=>Xe(n(L)));var de=ne(G,2);re(de,21,()=>n(D),oe,(ce,ze,dt)=>{var $e=he(),pt=J($e);re(pt,17,()=>n(ze),oe,(Oe,vn,Bt)=>{{let jt=a(()=>dt+1===n(D).length&&Bt+1===n(ze).length);ro(Oe,{get day(){return n(vn)},allDay:!0,get noIeb(){return n(jt)}})}}),T(ce,$e)});var Re=ne(de,2),we=le(Re);re(we,17,()=>n(_),oe,(ce,ze,dt)=>{nt(vi(ce,{get chunk(){return n(ze)}}),($e,pt)=>B[pt]=$e,$e=>B?.[$e],()=>[dt])});var Ie=ne(we,2);re(Ie,17,()=>n(p),oe,(ce,ze)=>{vi(ce,{get chunk(){return n(ze)}})});var Ae=ne(Ie,2);re(Ae,17,()=>n(m),oe,(ce,ze)=>{vi(ce,{get chunk(){return n(ze)}})}),se(()=>{O(z,1,n(v).allDay),O(G,1,n(v).sidebar),O(de,1,n(v).grid),O(Re,1,n(v).events)}),T(F,z)};_e(W,F=>{n(u)&&F(R)})}var V=ne(A,2),I=le(V);re(I,21,()=>n(w),oe,(F,z,G)=>{var de=Ju();let Re;var we=le(de);Me(we,()=>Xe(n(z)[1])),se(()=>{O(de,1,Rt([n(v).slot,!G&&n(v).hidden])),Re=bt(de,"",Re,{"--ec-slot-label-periodicity":n(z)[2]}),Pe(we,"datetime",n(z)[0])}),T(F,de)});var fe=ne(I,2);re(fe,21,()=>n(D),oe,(F,z,G)=>{var de=he(),Re=J(de);re(Re,17,()=>n(z),oe,(we,Ie,Ae)=>{{let ce=a(()=>G+1===n(D).length&&Ae+1===n(z).length);ro(we,{get day(){return n(Ie)},get noIeb(){return n(ce)},noBeb:!0})}}),T(F,de)});var rt=ne(fe,2),He=le(rt);re(He,17,()=>n(k),oe,(F,z)=>{hi(F,{get chunk(){return n(z)}})});var Pt=ne(He,2);re(Pt,17,()=>n(y),oe,(F,z)=>{hi(F,{get chunk(){return n(z)}})});var Y=ne(Pt,2);re(Y,17,()=>n(S),oe,(F,z)=>{hi(F,{get chunk(){return n(z)}})});var ie=ne(V,2);{var xe=F=>{var z=he(),G=J(z);{var de=we=>{var Ie=he(),Ae=J(Ie);zt(Ae,()=>t.nowIndicator),T(we,Ie)},Re=we=>{br(we,{get days(){return n(D)[0]}})};_e(G,we=>{t.nowIndicator?we(de):we(Re,!1)})}T(F,z)};_e(ie,F=>{n(d)&&F(xe)})}nt(X,F=>i.mainEl=F,()=>i?.mainEl),Me(X,()=>qr(Z)),se(()=>{O(X,1,n(v).main),N=bt(X,"",N,{"--ec-grid-cols":n(D).length*n(D)[0].length,"--ec-col-group-span":n(D)[0].length,"--ec-col-width":n(f)??"minmax(0, 1fr)","--ec-slot-label-periodicity":n(E),"--ec-slot-height":`${n(g)??""}px`,"--ec-header-height":`${n(H)??""}px`,"--ec-sidebar-width":`${n(C)??""}px`}),O(A,1,n(v).header),O(Q,1,n(v).sidebar),O(ve,1,n(v).grid),O(V,1,n(v).body),O(I,1,n(v).sidebar),O(fe,1,n(v).grid),O(rt,1,n(v).events)}),or(Q,"offsetWidth",F=>r().sidebarWidth=F),or(A,"offsetHeight",F=>b(H,F)),T(e,X),ke()}var ju=ee("<!> <!>",1);function $u(e,t){be(t,!0);let r=te("state"),i=new qu(r),s=a(()=>r.today),o=a(()=>r.mainEl),l=a(()=>r.viewDates),u=a(()=>r.options.scrollTime),f=a(()=>r.options.datesAboveResources),d=a(()=>r.options.theme),h=a(()=>i.grid),g=a(()=>i.sidebarWidth),c=et([]);Ge(()=>{n(f)&&(n(l),n(u),Un().then(v))});function v(){if(n(s)>=n(l)[0]&&n(s)<=n(l).at(-1))for(let _ of n(h)){let p=_[0];if(Ke(p.dayStart,n(s))){n(o).scrollLeft=(n(o).scrollWidth-n(g))/(n(h).length*_.length)*(p.gridColumn-1)*(dn()?-1:1);break}}}io(e,{get viewState(){return i},header:m=>{var y=ju(),k=J(y);re(k,17,()=>n(h),oe,(C,w,E)=>{const P=a(()=>{const{dayStart:H,resource:L,disabled:ue,highlight:B}=n(w)[0];return{date:H,resource:L,disabled:ue,highlight:B}});{let H=a(()=>n(h)[0].length>1?n(d).colGroup:void 0),L=a(()=>1+E*n(w).length),ue=a(()=>n(f)&&n(P).disabled),B=a(()=>n(f)&&n(P).highlight);Gn(C,{get date(){return n(P).date},get className(){return n(H)},get weekday(){return n(f)},get colSpan(){return n(w).length},get colIndex(){return n(L)},get disabled(){return n(ue)},get highlight(){return n(B)},children:(Z,X)=>{var N=he(),A=J(N);{var Q=U=>{pr(U,{get date(){return n(P).date}})},ve=U=>{ci(U,{get resource(){return n(P).resource},setLabel:ae=>c[E]=ae+", "})};_e(A,U=>{n(f)?U(Q):U(ve,!1)})}T(Z,N)},$$slots:{default:!0}})}});var S=ne(k,2);{var D=C=>{var w=he(),E=J(w);re(E,17,()=>n(h),oe,(P,H,L)=>{var ue=he(),B=J(ue);re(B,17,()=>n(H),oe,(Z,X,N)=>{const A=a(()=>{const{dayStart:Q,resource:ve,disabled:U,highlight:ae}=n(X);return{date:Q,resource:ve,disabled:U,highlight:ae}});{let Q=a(()=>1+N+L*n(H).length);Gn(Z,{get date(){return n(A).date},get colIndex(){return n(Q)},get disabled(){return n(A).disabled},get highlight(){return n(A).highlight},children:(ve,U)=>{var ae=he(),Ee=J(ae);{var W=V=>{ci(V,{get resource(){return n(A).resource},get date(){return n(A).date}})},R=V=>{pr(V,{get date(){return n(A).date},get alPrefix(){return c[L]}})};_e(Ee,V=>{n(f)?V(W):V(R,!1)})}T(ve,ae)},$$slots:{default:!0}})}}),T(P,ue)}),T(C,w)};_e(S,C=>{n(h)[0].length>1&&C(D)})}T(m,y)},nowIndicator:m=>{var y=he(),k=J(y);{var S=C=>{{let w=a(()=>n(h).flat());br(C,{get days(){return n(w)},get span(){return n(h)[0].length}})}},D=C=>{var w=he(),E=J(w);{var P=L=>{var ue=he(),B=J(ue);re(B,17,()=>n(h),oe,(Z,X)=>{br(Z,{get days(){return n(X)}})}),T(L,ue)},H=L=>{{let ue=a(()=>n(h).flat());br(L,{get days(){return n(ue)},get span(){return n(h).length}})}};_e(E,L=>{n(h)[0].length>1?L(P):L(H,!1)})}T(C,w)};_e(k,C=>{n(f)?C(S):C(D,!1)})}T(m,y)},$$slots:{header:!0,nowIndicator:!0}}),ke()}const ef={createOptions(e){$s(e),ui(e),eo(e),me(e,{datesAboveResources:!1,view:"resourceTimeGridWeek"}),me(e.buttonText,{resourceTimeGridDay:"resources",resourceTimeGridWeek:"resources"}),me(e.theme,{colGroup:"ec-col-group"}),me(e.views,{resourceTimeGridDay:{buttonText:hr,component:so,dayHeaderFormat:{weekday:"long"},duration:{days:1},theme:mt("ec-resource ec-time-grid ec-day-view")},resourceTimeGridWeek:{buttonText:vr,component:so,duration:{weeks:1},theme:mt("ec-resource ec-time-grid ec-week-view")}})},createParsers(e){fi(e)}};function so(e){return li(e),$u}function gi(e,t,r){let i=[],s,o,l,u,f,d=0;for(let{gridColumn:h,gridRow:g,resource:c,dayStart:v,dayEnd:_,start:p,end:m,disabled:y}of t)y||(r?En(e,v,_,c)&&(i.length||(s=v,l=h,u=g),i.push(v),o=m):En(e,p,m,c)&&(i.length||(s=p,l=h,u=g,f=ut(e.start-p,0)/1e3),i.push(v),o=m,d+=(It(m,e.end)-ut(p,e.start))/1e3));if(i.length){let h=Yn(e,s,o);return me(h,{gridColumn:l,gridRow:u,dates:i,left:f,width:d}),[h]}return[]}function tf(e){let t={};for(let r of e){let{gridColumn:i,gridRow:s}=r;for(let l=0;l<r.dates.length;++l){let u=`${s}_${i+l}`;t[u]?t[u].push(r):t[u]=[r]}let o=`${s}_${i}`;r.day=t[o]}}function nf(e,t,r){let i=0,s=i+t,o=e.day;o.sort((l,u)=>(l.top??Number.POSITIVE_INFINITY)-(u.top??Number.POSITIVE_INFINITY));for(let l of o)if(!(l===e||!("top"in l))&&(r||e.start<l.end&&e.end>l.start)&&i<l.bottom&&s>l.top){let u=l.bottom-i+1;i+=u,s+=u}return me(e,{top:i,bottom:s}),i}function rf(e,t){return e[t.getTime()]??{min:Ne(0),max:Ne("24:00:00")}}function sf(e,t){return()=>{let{viewDates:r,options:{highlightedDates:i,validRange:s}}=e,{dayTimeLimits:o,viewResources:l}=t,u=[];return $(()=>{let f=1;for(let d of l){let h=[],g=1;for(let c of r){let v=o[c.getTime()];h.push({gridColumn:g,gridRow:f,resource:d,start:Se(q(c),v.min),end:Se(q(c),v.max),dayStart:c,dayEnd:kt(q(c)),disabled:xn(c,s),highlight:i.some(_=>Ke(_,c))}),++g}u.push(h),++f}}),u}}function of(e,t){return()=>{let{filteredEvents:r}=e,{grid:i,monthView:s}=t,o=[],l=[];return $(()=>{for(let u of r)for(let f of i)gt(u.display)?(!s||u.allDay)&&(l=l.concat(gi(u,f,s))):o=o.concat(gi(u,f,s));tf(o)}),{chunks:o,bgChunks:l}}}function af(e,t){return()=>{let{iEvents:r}=e,{grid:i}=t,s=[];for(let[,o]of r)o&&$(()=>{for(let l of i)s=s.concat(gi(o,l))});return s}}function lf(e){return()=>{let{filteredEvents:t,viewDates:r,options:{flexibleSlotTimeLimits:i,slotMinTime:s,slotMaxTime:o}}=e,l={};return $(()=>{for(let u of r)l[u.getTime()]=Gs(s,o,i,[u],t)}),l}}function uf(e,t){return()=>{let{viewDates:r,options:{slotDuration:i}}=e,{dayTimeLimits:s,intlSlotLabel:o,slotLabelPeriodicity:l}=t,u={};return $(()=>{for(let f of r){let d=f.getTime();u[d]=d in s?Ys(f,i,l,s[d],o):[]}}),u}}function ff(e){return()=>{let{options:{resources:t}}=e,r;return $(()=>{r=t.some(i=>Vt(i).children.length)}),r}}function df(e){return()=>{let{options:{slotDuration:t}}=e,r;return $(()=>{r=!ye(t)}),r}}class cf extends no(di()){#e;get dayTimeLimits(){return n(this.#e)}set dayTimeLimits(t){b(this.#e,t)}#t;get daySlots(){return n(this.#t)}set daySlots(t){b(this.#t,t)}#n;get grid(){return n(this.#n)}set grid(t){b(this.#n,t)}#r;get monthView(){return n(this.#r)}set monthView(t){b(this.#r,t)}#s;get chunks(){return n(this.#s)}set chunks(t){b(this.#s,t)}#i;get bgChunks(){return n(this.#i)}set bgChunks(t){b(this.#i,t)}#o;get iChunks(){return n(this.#o)}set iChunks(t){b(this.#o,t)}#a;get nestedResources(){return n(this.#a)}set nestedResources(t){b(this.#a,t)}constructor(t){super(t),this.#e=a(lf(t)),this.#t=a(uf(t,this)),this.#n=a(sf(t,this)),this.#r=a(df(t));let r=a(of(t,this)),i=a(()=>n(r).chunks),s=a(()=>n(r).bgChunks);this.#s=a(()=>n(i)),this.#i=a(()=>n(s)),this.#o=a(af(t,this)),this.#a=a(ff(t))}}function hf(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.slotWidth),s=a(()=>te("view-state")),o=a(()=>n(s).monthView),l=a(()=>n(s).snap),u=a(()=>t.day.dayStart),f=a(()=>t.day.start),d=a(()=>t.day.resource),h=a(()=>t.day.disabled),g=a(()=>t.day.highlight),c=K(void 0);function v(_,p){if(n(o))return n(u);{let m=Qt(n(c)),y=m.width/n(c).offsetWidth;return Se(q(n(f)),n(l).duration,Xr((dn()?m.right-_:_-m.left)/(n(i)*n(l).ratio*y)))}}mr(e,{get allDay(){return n(o)},get date(){return n(u)},get resource(){return n(d)},dateFromPoint:v,get disabled(){return n(h)},get highlight(){return n(g)},get noIeb(){return t.noIeb},get noBeb(){return t.noBeb},get el(){return n(c)},set el(_){b(c,_,!0)}}),ke()}function mi(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options.slotDuration),s=a(()=>n(r).options.slotWidth),o=a(()=>te("view-state")),l=a(()=>n(o).monthView),u=K(void 0),f=K(0),d=a(()=>t.chunk.event),h=a(()=>v=>{if(v["grid-column"]=`${t.chunk.gridColumn} / span ${t.chunk.dates.length}`,v["grid-row"]=t.chunk.gridRow,!n(l)){let p=t.chunk.left/ye(n(i))*n(s);v["inset-inline-start"]=`${p}px`,v["inline-size"]=`${t.chunk.width/ye(n(i))*n(s)}px`}let _=n(f);if(n(d)._margin){let[p,m]=n(d)._margin;t.chunk.gridRow===m&&(_=p)}return v["margin-block-start"]=`${_}px`,v});function g(){b(f,nf(t.chunk,cn(n(u)),n(l)),!0)}var c={reposition:g};{let v=a(()=>[n(f),t.chunk.gridRow]);_r(e,{get chunk(){return t.chunk},get styles(){return n(h)},axis:"x",get forceMargin(){return n(v)},get el(){return n(u)},set el(_){b(u,_,!0)}})}return ke(c)}var vf=ee("<span></span>"),gf=ee("<button><!></button>"),mf=ee("<!> <span><!></span>",1);function pf(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).options),s=a(()=>n(i).resources),o=a(()=>n(i).theme),l=K({}),u=K(!0);on(()=>{b(l,Vt(t.resource)),b(u,n(l).expanded,!0)});function f(){b(u,!n(u)),n(l).expanded=n(u),d(n(l).children,n(u)),n(i).resources=[...n(s)]}function d(p,m){for(let y of p){let k=Vt(y);k.hidden=!m,k.expanded&&d(k.children,m)}}var h=mf(),g=J(h);re(g,17,()=>Array(n(l).level),oe,(p,m)=>{var y=vf();se(()=>O(y,1,n(o).expander)),T(p,y)});var c=ne(g,2),v=le(c);{var _=p=>{var m=gf();m.__click=f;var y=le(m);{var k=D=>{var C=_s("−");T(D,C)},S=D=>{var C=_s("+");T(D,C)};_e(y,D=>{n(u)?D(k):D(S,!1)})}se(()=>O(m,1,n(o).button)),T(p,m)};_e(v,p=>{n(l).children?.length&&p(_)})}se(()=>O(c,1,n(o).expander)),T(e,h),ke()}Zt(["click"]);var _f=ee("<div></div>");function yf(e,t){be(t,!0);let r=a(()=>te("state")),i=a(()=>n(r).mainEl),s=a(()=>n(r).now),o=a(()=>n(r).today),l=a(()=>n(r).options.slotDuration),u=a(()=>n(r).options.slotWidth),f=a(()=>n(r).options.theme),d=a(()=>te("view-state")),h=a(()=>n(d).grid),g=a(()=>n(d).sidebarWidth),c=a(()=>{for(let w of n(h)[0])if(Ke(w.dayStart,n(o)))return w;return{}}),v=a(()=>n(c).gridColumn),_=a(()=>n(c).start),p=a(()=>n(c).end),m=a(()=>{if(n(s)<n(_)||n(s)>n(p))return null;let w=ye(n(l));return(n(s)-n(_))/1e3/w*n(u)}),y=a(()=>({root:n(i),rootMargin:dn()?`0px -${n(g)+1}px 0px 0px`:`0px 0px 0px -${n(g)+1}px`,threshold:0}));function k(w,E){w.classList.toggle(n(f).hidden,!E.isIntersecting)}var S=he(),D=J(S);{var C=w=>{var E=_f();let P;Me(E,()=>Ts(k,n(y))),se(()=>{O(E,1,n(f).nowIndicator),P=bt(E,"",P,{"grid-column":n(v)+1,"grid-row":`2 / span ${n(h).length??""}`,"inset-inline-start":`${n(m)??""}px`})}),T(w,E)};_e(D,w=>{n(v)&&n(m)!==null&&w(C)})}T(e,S),ke()}var wf=ee("<div><time></time></div>"),bf=ee('<div role="rowheader"><!> <!></div>'),kf=ee('<section><header><aside></aside> <div role="row"><!> <!></div></header> <div role="rowgroup"><aside></aside> <div role="row"></div> <div><!> <!> <!></div></div> <!></section>');function Cf(e,t){be(t,!0);let r=te("state"),i=new cf(r);Ln("view-state",i);let s=a(()=>r.mainEl),o=a(()=>r.today),l=a(()=>r.viewDates),u=a(()=>r.options.columnWidth),f=a(()=>r.options.nowIndicator),d=a(()=>r.options.scrollTime),h=a(()=>r.options.slotDuration),g=a(()=>r.options.slotHeight),c=a(()=>r.options.slotWidth),v=a(()=>r.options.theme),_=a(()=>i.chunks),p=a(()=>i.bgChunks),m=a(()=>i.iChunks),y=a(()=>i.daySlots),k=a(()=>i.dayTimeLimits),S=a(()=>i.grid),D=a(()=>i.monthView),C=a(()=>i.nestedResources),w=a(()=>i.sidebarWidth),E=a(()=>i.slotLabelPeriodicity),P=a(()=>i.viewResources),H=K(0);Ge(()=>{n(l),n(d),Un().then(L)});function L(){let Y=0,ie=n(o)<n(l)[0]||n(o)>n(l).at(-1);if(n(D)){if(!ie){let xe=n(S)[0];for(let F of xe)if(Ke(F.dayStart,n(o))){n(s).scrollLeft=(n(s).scrollWidth-n(w))/xe.length*(F.gridColumn-1)*(dn()?-1:1);break}}}else{for(let xe of n(l)){let F=rf(n(k),xe);if(ie||Ke(xe,n(o))){Y+=ut(It(ye(n(d)),ye(F.max))-ye(F.min),0);break}else Y+=ye(F.max)-ye(F.min)}n(s).scrollLeft=Y/ye(n(h))*n(c)*(dn()?-1:1)}}let ue=[];function B(){ti(ue,n(_))}Ge(B);var Z=kf();let X;var N=le(Z),A=le(N),Q=ne(A,2),ve=le(Q);re(ve,17,()=>n(S)[0],oe,(Y,ie,xe)=>{let F=()=>n(ie).dayStart,z=()=>n(ie).disabled,G=()=>n(ie).highlight;Gn(Y,{get date(){return F()},colIndex:1+xe,get disabled(){return z()},get highlight(){return G()},children:(de,Re)=>{pr(de,{get date(){return F()}})},$$slots:{default:!0}})});var U=ne(ve,2);{var ae=Y=>{var ie=he(),xe=J(ie);re(xe,17,()=>n(S)[0],oe,(F,z)=>{let G=()=>n(z).dayStart,de=()=>n(z).disabled,Re=()=>n(z).highlight;Gn(F,{get date(){return G()},get className(){return n(v).slots},get disabled(){return de()},get highlight(){return Re()},ariaHidden:!0,children:(we,Ie)=>{var Ae=he(),ce=J(Ae);re(ce,17,()=>n(y)[G().getTime()],oe,(ze,dt)=>{var $e=wf();let pt;var Oe=le($e);Me(Oe,()=>Xe(n(dt)[1])),se(()=>{O($e,1,n(v).slot),pt=bt($e,"",pt,{"--ec-slot-label-periodicity":n(dt)[2]}),Pe(Oe,"datetime",n(dt)[0])}),T(ze,$e)}),T(we,Ae)},$$slots:{default:!0}})}),T(Y,ie)};_e(U,Y=>{n(D)||Y(ae)})}var Ee=ne(N,2),W=le(Ee);re(W,21,()=>n(P),oe,(Y,ie)=>{var xe=bf(),F=le(xe);{var z=de=>{pf(de,{get resource(){return n(ie)}})};_e(F,de=>{n(C)&&de(z)})}var G=ne(F,2);ci(G,{get resource(){return n(ie)}}),se(()=>O(xe,1,n(v).rowHead)),T(Y,xe)});var R=ne(W,2);re(R,21,()=>n(S),oe,(Y,ie,xe)=>{var F=he(),z=J(F);re(z,17,()=>n(ie),oe,(G,de,Re)=>{{let we=a(()=>Re+1===n(ie).length),Ie=a(()=>xe+1===n(S).length);hf(G,{get day(){return n(de)},get noIeb(){return n(we)},get noBeb(){return n(Ie)}})}}),T(Y,F)});var V=ne(R,2),I=le(V);re(I,17,()=>n(_),oe,(Y,ie,xe)=>{nt(mi(Y,{get chunk(){return n(ie)}}),(F,z)=>ue[z]=F,F=>ue?.[F],()=>[xe])});var fe=ne(I,2);re(fe,17,()=>n(p),oe,(Y,ie)=>{mi(Y,{get chunk(){return n(ie)}})});var rt=ne(fe,2);re(rt,17,()=>n(m),oe,(Y,ie)=>{mi(Y,{get chunk(){return n(ie)}})});var He=ne(Ee,2);{var Pt=Y=>{yf(Y,{})};_e(He,Y=>{n(f)&&!n(D)&&Y(Pt)})}nt(Z,Y=>r.mainEl=Y,()=>r?.mainEl),Me(Z,()=>qr(B)),se(()=>{O(Z,1,n(v).main),X=bt(Z,"",X,{"--ec-grid-cols":n(S)[0].length,"--ec-grid-rows":`${n(S).length>1?`repeat(${n(S).length-1}, auto)`:""} 1fr`,"--ec-col-width":n(u)??"minmax(4em, 1fr)","--ec-slot-label-periodicity":n(E),"--ec-slot-height":`${n(g)??""}px`,"--ec-slot-width":`${n(c)??""}px`,"--ec-header-height":`${n(H)??""}px`,"--ec-sidebar-width":`${n(w)??""}px`}),O(N,1,n(v).header),O(A,1,n(v).sidebar),O(Q,1,n(v).grid),O(Ee,1,n(v).body),O(W,1,n(v).sidebar),O(R,1,n(v).grid),O(V,1,n(v).events)}),or(A,"offsetWidth",Y=>i.sidebarWidth=Y),or(N,"offsetHeight",Y=>b(H,Y)),T(e,Z),ke()}const Df={createOptions(e){ui(e),eo(e),e.slotWidth=32,e.buttonText.resourceTimelineDay="timeline",e.buttonText.resourceTimelineWeek="timeline",e.buttonText.resourceTimelineMonth="timeline",e.theme.expander="ec-expander",e.theme.rowHead="ec-row-head",e.theme.slots="ec-slots",e.view="resourceTimelineWeek",e.views.resourceTimelineDay={buttonText:hr,component:oo,displayEventEnd:!1,dayHeaderFormat:{weekday:"long"},duration:{days:1},theme:mt("ec-resource ec-timeline ec-day-view"),titleFormat:{year:"numeric",month:"long",day:"numeric"}},e.views.resourceTimelineWeek={buttonText:vr,component:oo,displayEventEnd:!1,duration:{weeks:1},theme:mt("ec-resource ec-timeline ec-week-view")},e.views.resourceTimelineMonth={buttonText:ni,component:ao,displayEventEnd:!1,dayHeaderFormat:{weekday:"short",day:"numeric"},duration:{months:1},slotDuration:{days:1},theme:mt("ec-resource ec-timeline ec-month-view"),titleFormat:{year:"numeric",month:"long"}}},createParsers(e){fi(e)}};function oo(e){return li(e),ao(e)}function ao(e){return e.features=["timeline"],e.extensions.viewResources=t=>t.filter(r=>!Vt(r).hidden),Cf}const Ef={createOptions(e){ui(e),$s(e),me(e.buttonText,{timeGridDay:"day",timeGridWeek:"week"}),me(e,{view:"timeGridWeek"}),me(e.views,{timeGridDay:{buttonText:hr,component:lo,dayHeaderFormat:{weekday:"long"},duration:{days:1},theme:mt("ec-time-grid ec-day-view"),titleFormat:{year:"numeric",month:"long",day:"numeric"}},timeGridWeek:{buttonText:vr,component:lo,duration:{weeks:1},theme:mt("ec-time-grid ec-week-view")}})},createParsers(e){fi(e)}};function lo(e){return li(e),io}function Tf(e,t,r){return Ea(Bl,{target:e,props:{plugins:t,options:r}})}function xf(e){return xa(e)}function Sf(e,t){return Tf(e,[uu,Du,Mu,ef,Df,Ef],t)}return Kn.create=Sf,Kn.destroy=xf,Object.defineProperty(Kn,Symbol.toStringTag,{value:"Module"}),Kn})({});
|
|
6
6
|
//# sourceMappingURL=event-calendar.min.js.map
|