@htmlbricks/hb-card-video 0.65.22 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,12 +1,12 @@
1
- (function(Qt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Qr=1,Xr=2,Xt="[",Rt="[!",er="]",ze={},R=Symbol(),en="http://www.w3.org/1999/xhtml",Lt=!1;var tn=Array.isArray,rn=Array.prototype.indexOf,nn=Array.from,bt=Object.keys,vt=Object.defineProperty,Be=Object.getOwnPropertyDescriptor,sn=Object.getOwnPropertyDescriptors,an=Object.prototype,on=Array.prototype,tr=Object.getPrototypeOf,rr=Object.isExtensible;function ln(e){for(var t=0;t<e.length;t++)e[t]()}function nr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const N=2,Yt=4,jt=8,de=16,$e=32,xe=64,_t=128,Q=512,L=1024,P=2048,he=4096,se=8192,be=16384,It=32768,Ve=65536,sr=1<<17,Pt=1<<18,Ae=1<<19,fn=1<<20,Ce=32768,Ft=1<<21,Ht=1<<22,ke=1<<23,qt=Symbol("$state"),un=Symbol("legacy props"),cn=Symbol(""),We=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ut=3,Je=8;function dn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function hn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function bn(){throw new Error("https://svelte.dev/e/hydration_failed")}function vn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function _n(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function pn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function gn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function pt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function mn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let D=!1;function Ee(e){D=e}let T;function z(e){if(e===null)throw pt(),ze;return T=e}function gt(){return z(te(T))}function ie(e){if(D){if(te(T)!==null)throw pt(),ze;T=e}}function ir(e=1){if(D){for(var t=e,r=T;t--;)r=te(r);T=r}}function ar(e=!0){for(var t=0,r=T;;){if(r.nodeType===Je){var n=r.data;if(n===er){if(t===0)return r;t-=1}else(n===Xt||n===Rt)&&(t+=1)}var i=te(r);e&&r.remove(),r=i}}function yn(e){if(!e||e.nodeType!==Je)throw pt(),ze;return e.data}function or(e){return e===this.v}function wn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function $n(e){return!wn(e,this.v)}let xn=!1,X=null;function Ke(e){X=e}function lr(e,t=!1,r){X={p:X,i:!1,c:null,e:null,s:e,x:null,l:null}}function fr(e){var t=X,r=t.e;if(r!==null){t.e=null;for(var n of r)Hn(n)}return e!==void 0&&(t.x=e),t.i=!0,X=t.p,e??{}}function ur(){return!0}let Ne=[];function cr(){var e=Ne;Ne=[],ln(e)}function zt(e){if(Ne.length===0&&!rt){var t=Ne;queueMicrotask(()=>{t===Ne&&cr()})}Ne.push(e)}function kn(){for(;Ne.length>0;)cr()}function dr(e){var t=M;if(t===null)return k.f|=ke,e;if((t.f&It)===0){if((t.f&_t)===0)throw e;t.b.error(e)}else Ge(e,t)}function Ge(e,t){for(;t!==null;){if((t.f&_t)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const mt=new Set;let O=null,J=null,K=[],yt=null,Bt=!1,rt=!1;class ee{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){K=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#a(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects)):(O=null,br(r.render_effects),br(r.effects),this.#l?.resolve()),J=null}#a(t,r){t.f^=L;for(var n=t.first;n!==null;){var i=n.f,s=(i&($e|xe))!==0,a=s&&(i&L)!==0,o=a||(i&se)!==0||this.skipped_effects.has(n);if((n.f&_t)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!o&&n.fn!==null){s?n.f^=L:(i&Yt)!==0?r.effects.push(n):lt(n)&&((n.f&de)!==0&&r.block_effects.push(n),ft(n));var l=n.first;if(l!==null){n=l;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&P)!==0?this.#i:this.#s).push(r),this.#f(r.deps),Y(r,L)}#f(t){if(t!==null)for(const r of t)(r.f&N)===0||(r.f&Ce)===0||(r.f^=Ce,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&ke)===0&&(this.current.set(t,t.v),J?.set(t,t.v))}activate(){O=this,this.apply()}deactivate(){O===this&&(O=null,J=null)}flush(){if(this.activate(),K.length>0){if(hr(),O!==null&&O!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(mt.size>1){this.previous.clear();var t=J,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of mt){if(s===this){r=!1;continue}const a=[];for(const[l,f]of this.current){if(s.current.has(l))if(r&&f!==s.current.get(l))s.current.set(l,f);else continue;a.push(l)}if(a.length===0)continue;const o=[...s.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var i=K;K=[];const l=new Set,f=new Map;for(const b of a)vr(b,o,l,f);if(K.length>0){O=s,s.apply();for(const b of K)s.#a(b,n);s.deactivate()}K=i}}O=null,J=t}this.committed=!0,mt.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#i)Y(t,P),Re(t);for(const t of this.#s)Y(t,he),Re(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=nr()).promise}static ensure(){if(O===null){const t=O=new ee;mt.add(O),rt||ee.enqueue(()=>{O===t&&t.flush()})}return O}static enqueue(t){zt(t)}apply(){}}function ae(e){var t=rt;rt=!0;try{for(var r;;){if(kn(),K.length===0&&(O?.flush(),K.length===0))return yt=null,r;hr()}}finally{rt=t}}function hr(){var e=Te;Bt=!0;var t=null;try{var r=0;for(kt(!0);K.length>0;){var n=ee.ensure();if(r++>1e3){var i,s;En()}n.process(K),Me.clear()}}finally{Bt=!1,kt(e),yt=null}}function En(){try{hn()}catch(e){Ge(e,yt)}}let ve=null;function br(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(be|se))===0&&lt(n)&&(ve=new Set,ft(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Or(n):n.fn=null),ve?.size>0)){Me.clear();for(const i of ve){if((i.f&(be|se))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)ve.has(a)&&(ve.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(be|se))===0&&ft(l)}}ve.clear()}}ve=null}}function vr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&N)!==0?vr(i,t,r,n):(s&(Ht|de))!==0&&(s&P)===0&&_r(i,t,n)&&(Y(i,P),Re(i))}}function _r(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&N)!==0&&_r(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function Re(e){for(var t=yt=e;t.parent!==null;){t=t.parent;var r=t.f;if(Bt&&t===M&&(r&de)!==0&&(r&Pt)===0)return;if((r&(xe|$e))!==0){if((r&L)===0)return;t.f^=L}}K.push(t)}function Mn(e){let t=0,r=nt(0),n;return()=>{xt()&&(re(r),Sr(()=>(t===0&&(n=Xn(()=>e(()=>st(r)))),t+=1,()=>{zt(()=>{t-=1,t===0&&(n?.(),n=void 0,st(r))})})))}}var Sn=Ve|Ae|_t;function Tn(e,t,r){new Dn(e,t,r)}class Dn{parent;#t=!1;#e;#r=D?T:null;#n;#l;#i;#s=null;#a=null;#o=null;#f=null;#u=null;#c=0;#d=0;#b=!1;#h=null;#m=Mn(()=>(this.#h=nt(this.#c),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=M.b,this.#t=!!this.#n.pending,this.#i=Kt(()=>{if(M.b=this,D){const s=this.#r;gt(),s.nodeType===Je&&s.data===Rt?this.#w():this.#y()}else{var i=this.#p();try{this.#s=ge(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},Sn),D&&(this.#e=T)}#y(){try{this.#s=ge(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#a=ge(()=>t(this.#e)),ee.enqueue(()=>{var r=this.#p();this.#s=this.#v(()=>(ee.ensure(),ge(()=>this.#l(r)))),this.#d>0?this.#_():(at(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#u=pe(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#v(t){var r=M,n=k,i=X;ue(this.#i),H(this.#i),Ke(this.#i.ctx);try{return t()}catch(s){return dr(s),null}finally{ue(r),H(n),Ke(i)}}#_(){const t=this.#n.pending;this.#s!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),Nr(this.#s,this.#f)),this.#a===null&&(this.#a=ge(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&at(this.#a,()=>{this.#a=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#h&&$t(this.#h,this.#c)}get_effect_pending(){return this.#m(),re(this.#h)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#b||!r&&!n)throw t;this.#s&&(F(this.#s),this.#s=null),this.#a&&(F(this.#a),this.#a=null),this.#o&&(F(this.#o),this.#o=null),D&&(z(this.#r),ir(),z(ar()));var i=!1,s=!1;const a=()=>{if(i){mn();return}i=!0,s&&gn(),ee.ensure(),this.#c=0,this.#o!==null&&at(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#b=!1,ge(()=>this.#l(this.#e)))),this.#d>0?this.#_():this.#t=!1};var o=k;try{H(null),s=!0,r?.(t,a),s=!1}catch(l){Ge(l,this.#i&&this.#i.parent)}finally{H(o)}n&&zt(()=>{this.#o=this.#v(()=>{ee.ensure(),this.#b=!0;try{return ge(()=>{n(this.#e,()=>t,()=>a)})}catch(l){return Ge(l,this.#i.parent),null}finally{this.#b=!1}})})}}function On(e,t,r,n){const i=pr;if(r.length===0&&e.length===0){n(t.map(i));return}var s=O,a=M,o=An();function l(){Promise.all(r.map(f=>Cn(f))).then(f=>{o();try{n([...t.map(i),...f])}catch(b){(a.f&be)===0&&Ge(b,a)}s?.deactivate(),wt()}).catch(f=>{Ge(f,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{s?.deactivate(),wt()}}):l()}function An(){var e=M,t=k,r=X,n=O;return function(s=!0){ue(e),H(t),Ke(r),s&&n?.activate()}}function wt(){ue(null),H(null),Ke(null)}function pr(e){var t=N|P,r=k!==null&&(k.f&N)!==0?k:null;return M!==null&&(M.f|=Ae),{ctx:X,deps:null,effects:null,equals:or,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:r??M,ac:null}}function Cn(e,t){let r=M;r===null&&dn();var n=r.b,i=void 0,s=nt(R),a=!k,o=new Map;return Bn(()=>{var l=nr();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===O&&f.committed&&f.deactivate(),wt()})}catch(h){l.reject(h),wt()}var f=O;if(a){var b=!n.is_pending();n.update_pending_count(1),f.increment(b),o.get(f)?.reject(We),o.delete(f),o.set(f,l)}const p=(h,v=void 0)=>{if(f.activate(),v)v!==We&&(s.f|=ke,$t(s,v));else{(s.f&ke)!==0&&(s.f^=ke),$t(s,h);for(const[E,q]of o){if(o.delete(E),E===f)break;q.reject(We)}}a&&(n.update_pending_count(-1),f.decrement(b))};l.promise.then(p,h=>p(null,h||"unknown"))}),Fn(()=>{for(const l of o.values())l.reject(We)}),new Promise(l=>{function f(b){function p(){b===i?l(s):f(i)}b.then(p,p)}f(i)})}function gr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)F(t[r])}}function Nn(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&be)===0?t:null;t=t.parent}return null}function Vt(e){var t,r=M;ue(Nn(e));try{e.f&=~Ce,gr(e),t=Pr(e)}finally{ue(r)}return t}function mr(e){var t=Vt(e);if(e.equals(t)||(O?.is_fork||(e.v=t),e.wv=jr()),!Ze)if(J!==null)xt()&&J.set(e,t);else{var r=(e.f&Q)===0?he:L;Y(e,r)}}let Wt=new Set;const Me=new Map;let yr=!1;function nt(e,t){var r={f:0,v:e,reactions:null,equals:or,rv:0,wv:0};return r}function Se(e,t){const r=nt(e);return Gn(r),r}function Rn(e,t=!1,r=!0){const n=nt(e);return t||(n.equals=$n),n}function _e(e,t,r=!1){k!==null&&(!fe||(k.f&sr)!==0)&&ur()&&(k.f&(N|de|Ht|sr))!==0&&!me?.includes(e)&&pn();let n=r?it(t):t;return $t(e,n)}function $t(e,t){if(!e.equals(t)){var r=e.v;Ze?Me.set(e,t):Me.set(e,r),e.v=t;var n=ee.ensure();n.capture(e,r),(e.f&N)!==0&&((e.f&P)!==0&&Vt(e),Y(e,(e.f&Q)!==0?L:he)),e.wv=jr(),wr(e,P),M!==null&&(M.f&L)!==0&&(M.f&($e|xe))===0&&(G===null?Zn([e]):G.push(e)),!n.is_fork&&Wt.size>0&&!yr&&Ln()}return t}function Ln(){yr=!1;var e=Te;kt(!0);const t=Array.from(Wt);try{for(const r of t)(r.f&L)!==0&&Y(r,he),lt(r)&&ft(r)}finally{kt(e)}Wt.clear()}function st(e){_e(e,e.v+1)}function wr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,o=(a&P)===0;if(o&&Y(s,t),(a&N)!==0){var l=s;J?.delete(l),(a&Ce)===0&&(a&Q&&(s.f|=Ce),wr(l,he))}else o&&((a&de)!==0&&ve!==null&&ve.add(s),Re(s))}}function it(e){if(typeof e!="object"||e===null||qt in e)return e;const t=tr(e);if(t!==an&&t!==on)return e;var r=new Map,n=tn(e),i=Se(0),s=Ie,a=o=>{if(Ie===s)return o();var l=k,f=Ie;H(null),Yr(s);var b=o();return H(l),Yr(f),b};return n&&r.set("length",Se(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&vn();var b=r.get(l);return b===void 0?b=a(()=>{var p=Se(f.value);return r.set(l,p),p}):_e(b,f.value,!0),!0},deleteProperty(o,l){var f=r.get(l);if(f===void 0){if(l in o){const b=a(()=>Se(R));r.set(l,b),st(i)}}else _e(f,R),st(i);return!0},get(o,l,f){if(l===qt)return e;var b=r.get(l),p=l in o;if(b===void 0&&(!p||Be(o,l)?.writable)&&(b=a(()=>{var v=it(p?o[l]:R),E=Se(v);return E}),r.set(l,b)),b!==void 0){var h=re(b);return h===R?void 0:h}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var b=r.get(l);b&&(f.value=re(b))}else if(f===void 0){var p=r.get(l),h=p?.v;if(p!==void 0&&h!==R)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(o,l){if(l===qt)return!0;var f=r.get(l),b=f!==void 0&&f.v!==R||Reflect.has(o,l);if(f!==void 0||M!==null&&(!b||Be(o,l)?.writable)){f===void 0&&(f=a(()=>{var h=b?it(o[l]):R,v=Se(h);return v}),r.set(l,f));var p=re(f);if(p===R)return!1}return b},set(o,l,f,b){var p=r.get(l),h=l in o;if(n&&l==="length")for(var v=f;v<p.v;v+=1){var E=r.get(v+"");E!==void 0?_e(E,R):v in o&&(E=a(()=>Se(R)),r.set(v+"",E))}if(p===void 0)(!h||Be(o,l)?.writable)&&(p=a(()=>Se(void 0)),_e(p,it(f)),r.set(l,p));else{h=p.v!==R;var q=a(()=>it(f));_e(p,q)}var V=Reflect.getOwnPropertyDescriptor(o,l);if(V?.set&&V.set.call(b,f),!h){if(n&&typeof l=="string"){var Pe=r.get("length"),Fe=Number(l);Number.isInteger(Fe)&&Fe>=Pe.v&&_e(Pe,Fe+1)}st(i)}return!0},ownKeys(o){re(i);var l=Reflect.ownKeys(o).filter(p=>{var h=r.get(p);return h===void 0||h.v!==R});for(var[f,b]of r)b.v!==R&&!(f in o)&&l.push(f);return l},setPrototypeOf(){_n()}})}var $r,xr,kr,Er;function Jt(){if($r===void 0){$r=window,xr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;kr=Be(t,"firstChild").get,Er=Be(t,"nextSibling").get,rr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),rr(r)&&(r.__t=void 0)}}function pe(e=""){return document.createTextNode(e)}function Le(e){return kr.call(e)}function te(e){return Er.call(e)}function oe(e,t){if(!D)return Le(e);var r=Le(T);if(r===null)r=T.appendChild(pe());else if(t&&r.nodeType!==Ut){var n=pe();return r?.before(n),z(n),n}return z(r),r}function Yn(e,t=!1){if(!D){var r=Le(e);return r instanceof Comment&&r.data===""?te(r):r}if(t&&T?.nodeType!==Ut){var n=pe();return T?.before(n),z(n),n}return T}function Ye(e,t=1,r=!1){let n=D?T:e;for(var i;t--;)i=n,n=te(n);if(!D)return n;if(r&&n?.nodeType!==Ut){var s=pe();return n===null?i?.after(s):n.before(s),z(s),s}return z(n),n}function jn(e){e.textContent=""}function In(){return!1}function Mr(e){var t=k,r=M;H(null),ue(null);try{return e()}finally{H(t),ue(r)}}function Pn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function le(e,t,r){var n=M;n!==null&&(n.f&se)!==0&&(e|=se);var i={ctx:X,deps:null,nodes_start:null,nodes_end:null,f:e|P|Q,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{ft(i),i.f|=It}catch(o){throw F(i),o}else t!==null&&Re(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ae)===0&&(s=s.first,(e&de)!==0&&(e&Ve)!==0&&s!==null&&(s.f|=Ve)),s!==null&&(s.parent=n,n!==null&&Pn(s,n),k!==null&&(k.f&N)!==0&&(e&xe)===0)){var a=k;(a.effects??=[]).push(s)}return i}function xt(){return k!==null&&!fe}function Fn(e){const t=le(jt,null,!1);return Y(t,L),t.teardown=e,t}function Hn(e){return le(Yt|fn,e,!1)}function qn(e){ee.ensure();const t=le(xe|Ae,e,!0);return()=>{F(t)}}function Un(e){ee.ensure();const t=le(xe|Ae,e,!0);return(r={})=>new Promise(n=>{r.outro?at(t,()=>{F(t),n(void 0)}):(F(t),n(void 0))})}function zn(e){return le(Yt,e,!1)}function Bn(e){return le(Ht|Ae,e,!0)}function Sr(e,t=0){return le(jt|t,e,!0)}function je(e,t=[],r=[],n=[]){On(n,t,r,i=>{le(jt,()=>e(...i.map(re)),!0)})}function Kt(e,t=0){var r=le(de|t,e,!0);return r}function ge(e){return le($e|Ae,e,!0)}function Tr(e){var t=e.teardown;if(t!==null){const r=Ze,n=k;Rr(!0),H(null);try{t.call(null)}finally{Rr(r),H(n)}}}function Dr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Mr(()=>{i.abort(We)});var n=r.next;(r.f&xe)!==0?r.parent=null:F(r,t),r=n}}function Vn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&$e)===0&&F(t),t=r}}function F(e,t=!0){var r=!1;(t||(e.f&Pt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Wn(e.nodes_start,e.nodes_end),r=!0),Dr(e,t&&!r),Et(e,0),Y(e,be);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Tr(e);var i=e.parent;i!==null&&i.first!==null&&Or(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Wn(e,t){for(;e!==null;){var r=e===t?null:te(e);e.remove(),e=r}}function Or(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function at(e,t,r=!0){var n=[];Ar(e,n,!0),Jn(n,()=>{r&&F(e),t&&t()})}function Jn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Ar(e,t,r){if((e.f&se)===0){if(e.f^=se,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Ve)!==0||(n.f&$e)!==0&&(e.f&de)!==0;Ar(n,t,s?r:!1),n=i}}}function Kn(e){Cr(e,!0)}function Cr(e,t){if((e.f&se)!==0){e.f^=se,(e.f&L)===0&&(Y(e,P),Re(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ve)!==0||(r.f&$e)!==0;Cr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Nr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:te(r);t.append(r),r=i}}let Te=!1;function kt(e){Te=e}let Ze=!1;function Rr(e){Ze=e}let k=null,fe=!1;function H(e){k=e}let M=null;function ue(e){M=e}let me=null;function Gn(e){k!==null&&(me===null?me=[e]:me.push(e))}let I=null,B=0,G=null;function Zn(e){G=e}let Lr=1,ot=0,Ie=ot;function Yr(e){Ie=e}function jr(){return++Lr}function lt(e){var t=e.f;if((t&P)!==0)return!0;if(t&N&&(e.f&=~Ce),(t&he)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(lt(s)&&mr(s),s.wv>e.wv)return!0}(t&Q)!==0&&J===null&&Y(e,L)}return!1}function Ir(e,t,r=!0){var n=e.reactions;if(n!==null&&!me?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&N)!==0?Ir(s,t,!1):t===s&&(r?Y(s,P):(s.f&L)!==0&&Y(s,he),Re(s))}}function Pr(e){var t=I,r=B,n=G,i=k,s=me,a=X,o=fe,l=Ie,f=e.f;I=null,B=0,G=null,k=(f&($e|xe))===0?e:null,me=null,Ke(e.ctx),fe=!1,Ie=++ot,e.ac!==null&&(Mr(()=>{e.ac.abort(We)}),e.ac=null);try{e.f|=Ft;var b=e.fn,p=b(),h=e.deps;if(I!==null){var v;if(Et(e,B),h!==null&&B>0)for(h.length=B+I.length,v=0;v<I.length;v++)h[B+v]=I[v];else e.deps=h=I;if(Te&&xt()&&(e.f&Q)!==0)for(v=B;v<h.length;v++)(h[v].reactions??=[]).push(e)}else h!==null&&B<h.length&&(Et(e,B),h.length=B);if(ur()&&G!==null&&!fe&&h!==null&&(e.f&(N|he|P))===0)for(v=0;v<G.length;v++)Ir(G[v],e);return i!==null&&i!==e&&(ot++,G!==null&&(n===null?n=G:n.push(...G))),(e.f&ke)!==0&&(e.f^=ke),p}catch(E){return dr(E)}finally{e.f^=Ft,I=t,B=r,G=n,k=i,me=s,Ke(a),fe=o,Ie=l}}function Qn(e,t){let r=t.reactions;if(r!==null){var n=rn.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&N)!==0&&(I===null||!I.includes(t))&&(Y(t,he),(t.f&Q)!==0&&(t.f^=Q,t.f&=~Ce),gr(t),Et(t,0))}function Et(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Qn(e,r[n])}function ft(e){var t=e.f;if((t&be)===0){Y(e,L);var r=M,n=Te;M=e,Te=!0;try{(t&de)!==0?Vn(e):Dr(e),Tr(e);var i=Pr(e);e.teardown=typeof i=="function"?i:null,e.wv=Lr;var s;Lt&&xn&&(e.f&P)!==0&&e.deps}finally{Te=n,M=r}}}function re(e){var t=e.f,r=(t&N)!==0;if(k!==null&&!fe){var n=M!==null&&(M.f&be)!==0;if(!n&&!me?.includes(e)){var i=k.deps;if((k.f&Ft)!==0)e.rv<ot&&(e.rv=ot,I===null&&i!==null&&i[B]===e?B++:I===null?I=[e]:I.includes(e)||I.push(e));else{(k.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[k]:s.includes(k)||s.push(k)}}}if(Ze){if(Me.has(e))return Me.get(e);if(r){var a=e,o=a.v;return((a.f&L)===0&&a.reactions!==null||Hr(a))&&(o=Vt(a)),Me.set(a,o),o}}else r&&!J?.has(e)&&(a=e,lt(a)&&mr(a),Te&&xt()&&(a.f&Q)===0&&Fr(a));if(J?.has(e))return J.get(e);if((e.f&ke)!==0)throw e.v;return e.v}function Fr(e){if(e.deps!==null){e.f^=Q;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&Q)===0&&Fr(t)}}function Hr(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Me.has(t)||(t.f&N)!==0&&Hr(t))return!0;return!1}function Xn(e){var t=fe;try{return fe=!0,e()}finally{fe=t}}const es=-7169;function Y(e,t){e.f=e.f&es|t}const ts=new Set,qr=new Set;let Ur=null;function Mt(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Ur=e;var a=0,o=Ur===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){vt(e,"currentTarget",{configurable:!0,get(){return s||r}});var b=k,p=M;H(null),ue(null);try{for(var h,v=[];s!==null;){var E=s.assignedSlot||s.parentNode||s.host||null;try{var q=s["__"+n];q!=null&&(!s.disabled||e.target===s)&&q.call(s,e)}catch(V){h?v.push(V):h=V}if(e.cancelBubble||E===t||E===null)break;s=E}if(h){for(let V of v)queueMicrotask(()=>{throw V});throw h}}finally{e.__root=t,delete e.currentTarget,H(b),ue(p)}}}function rs(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function St(e,t){var r=M;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ce(e,t){var r=(t&Qr)!==0,n=(t&Xr)!==0,i,s=!e.startsWith("<!>");return()=>{if(D)return St(T,null),T;i===void 0&&(i=rs(s?e:"<!>"+e),r||(i=Le(i)));var a=n||xr?document.importNode(i,!0):i.cloneNode(!0);if(r){var o=Le(a),l=a.lastChild;St(o,l)}else St(a,a);return a}}function ne(e,t){if(D){var r=M;((r.f&It)===0||r.nodes_end===null)&&(r.nodes_end=T),gt();return}e!==null&&e.before(t)}const ns=["touchstart","touchmove"];function ss(e){return ns.includes(e)}function Tt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function zr(e,t){return Br(e,t)}function is(e,t){Jt(),t.intro=t.intro??!1;const r=t.target,n=D,i=T;try{for(var s=Le(r);s&&(s.nodeType!==Je||s.data!==Xt);)s=te(s);if(!s)throw ze;Ee(!0),z(s);const a=Br(e,{...t,anchor:s});return Ee(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==ze&&console.warn("Failed to hydrate: ",a),t.recover===!1&&bn(),Jt(),jn(r),Ee(!1),zr(e,t)}finally{Ee(n),z(i)}}const Qe=new Map;function Br(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Jt();var o=new Set,l=p=>{for(var h=0;h<p.length;h++){var v=p[h];if(!o.has(v)){o.add(v);var E=ss(v);t.addEventListener(v,Mt,{passive:E});var q=Qe.get(v);q===void 0?(document.addEventListener(v,Mt,{passive:E}),Qe.set(v,1)):Qe.set(v,q+1)}}};l(nn(ts)),qr.add(l);var f=void 0,b=Un(()=>{var p=r??t.appendChild(pe());return Tn(p,{pending:()=>{}},h=>{if(s){lr({});var v=X;v.c=s}if(i&&(n.$$events=i),D&&St(h,null),f=e(h,n)||{},D&&(M.nodes_end=T,T===null||T.nodeType!==Je||T.data!==er))throw pt(),ze;s&&fr()}),()=>{for(var h of o){t.removeEventListener(h,Mt);var v=Qe.get(h);--v===0?(document.removeEventListener(h,Mt),Qe.delete(h)):Qe.set(h,v)}qr.delete(l),p!==r&&p.parentNode?.removeChild(p)}});return Gt.set(f,b),f}let Gt=new WeakMap;function as(e,t){const r=Gt.get(e);return r?(Gt.delete(e),r(t)):Promise.resolve()}class os{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#i=()=>{var t=O;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Kn(n),this.#n.delete(r);else{var i=this.#r.get(r);i&&(this.#e.set(r,i.effect),this.#r.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,a]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#r.get(a);o&&(F(o.effect),this.#r.delete(a))}for(const[s,a]of this.#e){if(s===r||this.#n.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();Nr(a,f),f.append(pe()),this.#r.set(s,{effect:a,fragment:f})}else F(a);this.#n.delete(s),this.#e.delete(s)};this.#l||!n?(this.#n.add(s),at(a,o,!1)):o()}}};#s=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(F(i.effect),this.#r.delete(n))};ensure(t,r){var n=O,i=In();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),a=pe();s.append(a),this.#r.set(t,{effect:ge(()=>r(a)),fragment:s})}else this.#e.set(t,ge(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[o,l]of this.#e)o===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[o,l]of this.#r)o===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#i),n.ondiscard(this.#s)}else D&&(this.anchor=T),this.#i()}}function Xe(e,t,r=!1){D&&gt();var n=new os(e),i=r?Ve:0;function s(a,o){if(D){const f=yn(e)===Rt;if(a===f){var l=ar();z(l),n.anchor=l,Ee(!1),n.ensure(a,o),Ee(!0);return}}n.ensure(a,o)}Kt(()=>{var a=!1;t((o,l=!0)=>{a=!0,s(l,o)}),a||s(!1,null)},i)}function ls(e,t,r,n,i){D&&gt();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>n:n)}function fs(e,t){let r=null,n=D;var i;if(D){r=T;for(var s=Le(document.head);s!==null&&(s.nodeType!==Je||s.data!==e);)s=te(s);if(s===null)Ee(!1);else{var a=te(s);s.remove(),z(a)}}D||(i=document.head.appendChild(pe()));try{Kt(()=>t(i),Pt)}finally{n&&(Ee(!0),z(r))}}function us(e,t){zn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}const cs=Symbol("is custom element"),ds=Symbol("is html");function ut(e,t,r,n){var i=hs(e);D&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[cn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&bs(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function hs(e){return e.__attributes??={[cs]:e.nodeName.includes("-"),[ds]:e.namespaceURI===en}}var Vr=new Map;function bs(e){var t=e.getAttribute("is")||e.nodeName,r=Vr.get(t);if(r)return r;Vr.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=sn(i);for(var a in n)n[a].set&&r.push(a);i=tr(i)}return r}function ye(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),o;o=e[t],o===void 0&&n!==void 0&&(o=a());var l;l=()=>{var h=e[t];return h===void 0?a():(s=!0,h)};var f=!1,b=pr(()=>(f=!1,l())),p=M;return(function(h,v){if(arguments.length>0){const E=v?re(b):h;return _e(b,E),f=!0,i!==void 0&&(i=E),h}return Ze&&f||(p.f&be)!==0?b.v:re(b)})}function vs(e){return new _s(e)}class _s{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var o=Rn(a,!1,!1);return r.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return re(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===un?!0:(re(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return _e(r.get(a)??n(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?is:zr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ae(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||vt(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{as(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Wr;typeof HTMLElement=="function"&&(Wr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),ne(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ps(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Dt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=vs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qn(()=>{Sr(()=>{this.$$r=!0;for(const n of bt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Dt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Dt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return bt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Dt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ps(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function gs(e,t,r,n,i,s){let a=class extends Wr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return bt(t).map(o=>(t[o].attribute||o).toLowerCase())}};return bt(t).forEach(o=>{vt(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=Dt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var b=Be(f,o)?.get;b?f[o]=l:f.$set({[o]:l})}}})}),n.forEach(o=>{vt(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}function ms(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ot={exports:{}},ys=Ot.exports,Jr;function Kr(){return Jr||(Jr=1,(function(e,t){(function(r,n){e.exports=n()})(ys,(function(){var r=1e3,n=6e4,i=36e5,s="millisecond",a="second",o="minute",l="hour",f="day",b="week",p="month",h="quarter",v="year",E="date",q="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Pe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Fe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var c=["th","st","nd","rd"],u=g%100;return"["+g+(c[(u-20)%10]||c[u]||c[0])+"]"}},et=function(g,c,u){var _=String(g);return!_||_.length>=c?g:""+Array(c+1-_.length).join(u)+g},Zt={s:et,z:function(g){var c=-g.utcOffset(),u=Math.abs(c),_=Math.floor(u/60),d=u%60;return(c<=0?"+":"-")+et(_,2,"0")+":"+et(d,2,"0")},m:function g(c,u){if(c.date()<u.date())return-g(u,c);var _=12*(u.year()-c.year())+(u.month()-c.month()),d=c.clone().add(_,p),$=u-d<0,x=c.clone().add(_+($?-1:1),p);return+(-(_+(u-d)/($?d-x:x-d))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:p,y:v,w:b,d:f,D:E,h:l,m:o,s:a,ms:s,Q:h}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},He="en",we={};we[He]=Fe;var Ct="$isDayjsObject",ct=function(g){return g instanceof W||!(!g||!g[Ct])},m=function g(c,u,_){var d;if(!c)return He;if(typeof c=="string"){var $=c.toLowerCase();we[$]&&(d=$),u&&(we[$]=u,d=$);var x=c.split("-");if(!d&&x.length>1)return g(x[0])}else{var S=c.name;we[S]=c,d=S}return!_&&d&&(He=d),d||!_&&He},y=function(g,c){if(ct(g))return g.clone();var u=typeof c=="object"?c:{};return u.date=g,u.args=arguments,new W(u)},w=Zt;w.l=m,w.i=ct,w.w=function(g,c){return y(g,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var W=(function(){function g(u){this.$L=m(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[Ct]=!0}var c=g.prototype;return c.parse=function(u){this.$d=(function(_){var d=_.date,$=_.utc;if(d===null)return new Date(NaN);if(w.u(d))return new Date;if(d instanceof Date)return new Date(d);if(typeof d=="string"&&!/Z$/i.test(d)){var x=d.match(V);if(x){var S=x[2]-1||0,A=(x[7]||"0").substring(0,3);return $?new Date(Date.UTC(x[1],S,x[3]||1,x[4]||0,x[5]||0,x[6]||0,A)):new Date(x[1],S,x[3]||1,x[4]||0,x[5]||0,x[6]||0,A)}}return new Date(d)})(u),this.init()},c.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},c.$utils=function(){return w},c.isValid=function(){return this.$d.toString()!==q},c.isSame=function(u,_){var d=y(u);return this.startOf(_)<=d&&d<=this.endOf(_)},c.isAfter=function(u,_){return y(u)<this.startOf(_)},c.isBefore=function(u,_){return this.endOf(_)<y(u)},c.$g=function(u,_,d){return w.u(u)?this[_]:this.set(d,u)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(u,_){var d=this,$=!!w.u(_)||_,x=w.p(u),S=function(Ue,U){var Oe=w.w(d.$u?Date.UTC(d.$y,U,Ue):new Date(d.$y,U,Ue),d);return $?Oe:Oe.endOf(f)},A=function(Ue,U){return w.w(d.toDate()[Ue].apply(d.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(U)),d)},C=this.$W,j=this.$M,Z=this.$D,tt="set"+(this.$u?"UTC":"");switch(x){case v:return $?S(1,0):S(31,11);case p:return $?S(1,j):S(0,j+1);case b:var qe=this.$locale().weekStart||0,dt=(C<qe?C+7:C)-qe;return S($?Z-dt:Z+(6-dt),j);case f:case E:return A(tt+"Hours",0);case l:return A(tt+"Minutes",1);case o:return A(tt+"Seconds",2);case a:return A(tt+"Milliseconds",3);default:return this.clone()}},c.endOf=function(u){return this.startOf(u,!1)},c.$set=function(u,_){var d,$=w.p(u),x="set"+(this.$u?"UTC":""),S=(d={},d[f]=x+"Date",d[E]=x+"Date",d[p]=x+"Month",d[v]=x+"FullYear",d[l]=x+"Hours",d[o]=x+"Minutes",d[a]=x+"Seconds",d[s]=x+"Milliseconds",d)[$],A=$===f?this.$D+(_-this.$W):_;if($===p||$===v){var C=this.clone().set(E,1);C.$d[S](A),C.init(),this.$d=C.set(E,Math.min(this.$D,C.daysInMonth())).$d}else S&&this.$d[S](A);return this.init(),this},c.set=function(u,_){return this.clone().$set(u,_)},c.get=function(u){return this[w.p(u)]()},c.add=function(u,_){var d,$=this;u=Number(u);var x=w.p(_),S=function(j){var Z=y($);return w.w(Z.date(Z.date()+Math.round(j*u)),$)};if(x===p)return this.set(p,this.$M+u);if(x===v)return this.set(v,this.$y+u);if(x===f)return S(1);if(x===b)return S(7);var A=(d={},d[o]=n,d[l]=i,d[a]=r,d)[x]||1,C=this.$d.getTime()+u*A;return w.w(C,this)},c.subtract=function(u,_){return this.add(-1*u,_)},c.format=function(u){var _=this,d=this.$locale();if(!this.isValid())return d.invalidDate||q;var $=u||"YYYY-MM-DDTHH:mm:ssZ",x=w.z(this),S=this.$H,A=this.$m,C=this.$M,j=d.weekdays,Z=d.months,tt=d.meridiem,qe=function(U,Oe,ht,Nt){return U&&(U[Oe]||U(_,$))||ht[Oe].slice(0,Nt)},dt=function(U){return w.s(S%12||12,U,"0")},Ue=tt||function(U,Oe,ht){var Nt=U<12?"AM":"PM";return ht?Nt.toLowerCase():Nt};return $.replace(Pe,(function(U,Oe){return Oe||(function(ht){switch(ht){case"YY":return String(_.$y).slice(-2);case"YYYY":return w.s(_.$y,4,"0");case"M":return C+1;case"MM":return w.s(C+1,2,"0");case"MMM":return qe(d.monthsShort,C,Z,3);case"MMMM":return qe(Z,C);case"D":return _.$D;case"DD":return w.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return qe(d.weekdaysMin,_.$W,j,2);case"ddd":return qe(d.weekdaysShort,_.$W,j,3);case"dddd":return j[_.$W];case"H":return String(S);case"HH":return w.s(S,2,"0");case"h":return dt(1);case"hh":return dt(2);case"a":return Ue(S,A,!0);case"A":return Ue(S,A,!1);case"m":return String(A);case"mm":return w.s(A,2,"0");case"s":return String(_.$s);case"ss":return w.s(_.$s,2,"0");case"SSS":return w.s(_.$ms,3,"0");case"Z":return x}return null})(U)||x.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(u,_,d){var $,x=this,S=w.p(_),A=y(u),C=(A.utcOffset()-this.utcOffset())*n,j=this-A,Z=function(){return w.m(x,A)};switch(S){case v:$=Z()/12;break;case p:$=Z();break;case h:$=Z()/3;break;case b:$=(j-C)/6048e5;break;case f:$=(j-C)/864e5;break;case l:$=j/i;break;case o:$=j/n;break;case a:$=j/r;break;default:$=j}return d?$:w.a($)},c.daysInMonth=function(){return this.endOf(p).$D},c.$locale=function(){return we[this.$L]},c.locale=function(u,_){if(!u)return this.$L;var d=this.clone(),$=m(u,_,!0);return $&&(d.$L=$),d},c.clone=function(){return w.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},g})(),De=W.prototype;return y.prototype=De,[["$ms",s],["$s",a],["$m",o],["$H",l],["$W",f],["$M",p],["$y",v],["$D",E]].forEach((function(g){De[g[1]]=function(c){return this.$g(c,g[0],g[1])}})),y.extend=function(g,c){return g.$i||(g(c,W,y),g.$i=!0),y},y.locale=m,y.isDayjs=ct,y.unix=function(g){return y(1e3*g)},y.en=we[He],y.Ls=we,y.p={},y}))})(Ot)),Ot.exports}var ws=Kr();const $s=ms(ws);var At={exports:{}},xs=At.exports,Gr;function ks(){return Gr||(Gr=1,(function(e,t){(function(r,n){e.exports=n(Kr())})(xs,(function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return i.default.locale(s,null,!0),s}))})(At)),At.exports}ks();var Es=ce('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-p77t8a"/>'),Ms=ce('<div class="ratio ratio-16x9 svelte-p77t8a"><iframe title="YouTube video" allowfullscreen="" class="svelte-p77t8a"></iframe></div>'),Ss=ce('<div class="ratio ratio-16x9 svelte-p77t8a" style="background-color: black;"><video controls class="ratio ratio-16x9 svelte-p77t8a"><source type="video/mp4" class="svelte-p77t8a"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-p77t8a"/> Your browser does not support the video tag.</video></div>',2),Ts=ce('<h5 class="card-title svelte-p77t8a"> </h5>'),Ds=ce('<p class="card-text svelte-p77t8a"> </p>'),Os=ce('<a class="btn btn-primary svelte-p77t8a"> </a>'),As=ce('<div class="fb-like card-link svelte-p77t8a" data-layout="button" data-action="like" data-size="small" data-show-faces="false" data-share="false"></div> <a class="twitter-share-button card-link svelte-p77t8a" href="https://twitter.com/intent/tweet">Tweet</a> <br class="svelte-p77t8a"/> <!>',1),Cs=ce('<small class="text-muted svelte-p77t8a"><i class="bi bi-clock svelte-p77t8a" style="margin-right:8px"></i> </small>'),Ns=ce('<div class="card-footer svelte-p77t8a"><!></div>'),Rs=ce('<div class="card h-100 svelte-p77t8a"><!> <div class="card-body svelte-p77t8a"><!> <!> <!></div> <!></div>');const Ls={hash:"svelte-p77t8a",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
1
+ (function(Qt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Qr=1,Xr=2,Xt="[",Rt="[!",er="]",Be={},R=Symbol(),en="http://www.w3.org/1999/xhtml",Lt=!1;var tn=Array.isArray,rn=Array.prototype.indexOf,nn=Array.from,vt=Object.keys,_t=Object.defineProperty,ze=Object.getOwnPropertyDescriptor,sn=Object.getOwnPropertyDescriptors,an=Object.prototype,on=Array.prototype,tr=Object.getPrototypeOf,rr=Object.isExtensible;function ln(e){for(var t=0;t<e.length;t++)e[t]()}function nr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const N=2,Yt=4,jt=8,de=16,$e=32,xe=64,pt=128,Q=512,L=1024,P=2048,he=4096,se=8192,ve=16384,It=32768,Ve=65536,sr=1<<17,Pt=1<<18,Ae=1<<19,fn=1<<20,Ce=32768,Ft=1<<21,Ht=1<<22,ke=1<<23,qt=Symbol("$state"),un=Symbol("legacy props"),cn=Symbol(""),We=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ut=3,Je=8;function dn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function hn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function vn(){throw new Error("https://svelte.dev/e/hydration_failed")}function _n(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function pn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function bn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function mn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function bt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function gn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let D=!1;function Ee(e){D=e}let T;function B(e){if(e===null)throw bt(),Be;return T=e}function mt(){return B(te(T))}function ie(e){if(D){if(te(T)!==null)throw bt(),Be;T=e}}function ir(e=1){if(D){for(var t=e,r=T;t--;)r=te(r);T=r}}function ar(e=!0){for(var t=0,r=T;;){if(r.nodeType===Je){var n=r.data;if(n===er){if(t===0)return r;t-=1}else(n===Xt||n===Rt)&&(t+=1)}var i=te(r);e&&r.remove(),r=i}}function yn(e){if(!e||e.nodeType!==Je)throw bt(),Be;return e.data}function or(e){return e===this.v}function wn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function $n(e){return!wn(e,this.v)}let xn=!1,X=null;function Ke(e){X=e}function lr(e,t=!1,r){X={p:X,i:!1,c:null,e:null,s:e,x:null,l:null}}function fr(e){var t=X,r=t.e;if(r!==null){t.e=null;for(var n of r)Hn(n)}return e!==void 0&&(t.x=e),t.i=!0,X=t.p,e??{}}function ur(){return!0}let Ne=[];function cr(){var e=Ne;Ne=[],ln(e)}function Bt(e){if(Ne.length===0&&!rt){var t=Ne;queueMicrotask(()=>{t===Ne&&cr()})}Ne.push(e)}function kn(){for(;Ne.length>0;)cr()}function dr(e){var t=M;if(t===null)return k.f|=ke,e;if((t.f&It)===0){if((t.f&pt)===0)throw e;t.b.error(e)}else Ge(e,t)}function Ge(e,t){for(;t!==null;){if((t.f&pt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const gt=new Set;let O=null,J=null,K=[],yt=null,zt=!1,rt=!1;class ee{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){K=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#a(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects)):(O=null,vr(r.render_effects),vr(r.effects),this.#l?.resolve()),J=null}#a(t,r){t.f^=L;for(var n=t.first;n!==null;){var i=n.f,s=(i&($e|xe))!==0,a=s&&(i&L)!==0,o=a||(i&se)!==0||this.skipped_effects.has(n);if((n.f&pt)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!o&&n.fn!==null){s?n.f^=L:(i&Yt)!==0?r.effects.push(n):lt(n)&&((n.f&de)!==0&&r.block_effects.push(n),ft(n));var l=n.first;if(l!==null){n=l;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&P)!==0?this.#i:this.#s).push(r),this.#f(r.deps),Y(r,L)}#f(t){if(t!==null)for(const r of t)(r.f&N)===0||(r.f&Ce)===0||(r.f^=Ce,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&ke)===0&&(this.current.set(t,t.v),J?.set(t,t.v))}activate(){O=this,this.apply()}deactivate(){O===this&&(O=null,J=null)}flush(){if(this.activate(),K.length>0){if(hr(),O!==null&&O!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(gt.size>1){this.previous.clear();var t=J,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of gt){if(s===this){r=!1;continue}const a=[];for(const[l,f]of this.current){if(s.current.has(l))if(r&&f!==s.current.get(l))s.current.set(l,f);else continue;a.push(l)}if(a.length===0)continue;const o=[...s.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var i=K;K=[];const l=new Set,f=new Map;for(const v of a)_r(v,o,l,f);if(K.length>0){O=s,s.apply();for(const v of K)s.#a(v,n);s.deactivate()}K=i}}O=null,J=t}this.committed=!0,gt.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#i)Y(t,P),Re(t);for(const t of this.#s)Y(t,he),Re(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=nr()).promise}static ensure(){if(O===null){const t=O=new ee;gt.add(O),rt||ee.enqueue(()=>{O===t&&t.flush()})}return O}static enqueue(t){Bt(t)}apply(){}}function ae(e){var t=rt;rt=!0;try{for(var r;;){if(kn(),K.length===0&&(O?.flush(),K.length===0))return yt=null,r;hr()}}finally{rt=t}}function hr(){var e=Te;zt=!0;var t=null;try{var r=0;for(kt(!0);K.length>0;){var n=ee.ensure();if(r++>1e3){var i,s;En()}n.process(K),Me.clear()}}finally{zt=!1,kt(e),yt=null}}function En(){try{hn()}catch(e){Ge(e,yt)}}let _e=null;function vr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(ve|se))===0&&lt(n)&&(_e=new Set,ft(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Or(n):n.fn=null),_e?.size>0)){Me.clear();for(const i of _e){if((i.f&(ve|se))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)_e.has(a)&&(_e.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(ve|se))===0&&ft(l)}}_e.clear()}}_e=null}}function _r(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&N)!==0?_r(i,t,r,n):(s&(Ht|de))!==0&&(s&P)===0&&pr(i,t,n)&&(Y(i,P),Re(i))}}function pr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&N)!==0&&pr(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function Re(e){for(var t=yt=e;t.parent!==null;){t=t.parent;var r=t.f;if(zt&&t===M&&(r&de)!==0&&(r&Pt)===0)return;if((r&(xe|$e))!==0){if((r&L)===0)return;t.f^=L}}K.push(t)}function Mn(e){let t=0,r=nt(0),n;return()=>{xt()&&(re(r),Sr(()=>(t===0&&(n=Xn(()=>e(()=>st(r)))),t+=1,()=>{Bt(()=>{t-=1,t===0&&(n?.(),n=void 0,st(r))})})))}}var Sn=Ve|Ae|pt;function Tn(e,t,r){new Dn(e,t,r)}class Dn{parent;#t=!1;#e;#r=D?T:null;#n;#l;#i;#s=null;#a=null;#o=null;#f=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#g=Mn(()=>(this.#h=nt(this.#c),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=M.b,this.#t=!!this.#n.pending,this.#i=Kt(()=>{if(M.b=this,D){const s=this.#r;mt(),s.nodeType===Je&&s.data===Rt?this.#w():this.#y()}else{var i=this.#b();try{this.#s=me(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Sn),D&&(this.#e=T)}#y(){try{this.#s=me(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#a=me(()=>t(this.#e)),ee.enqueue(()=>{var r=this.#b();this.#s=this.#_(()=>(ee.ensure(),me(()=>this.#l(r)))),this.#d>0?this.#p():(at(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#u=be(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#_(t){var r=M,n=k,i=X;ue(this.#i),H(this.#i),Ke(this.#i.ctx);try{return t()}catch(s){return dr(s),null}finally{ue(r),H(n),Ke(i)}}#p(){const t=this.#n.pending;this.#s!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),Nr(this.#s,this.#f)),this.#a===null&&(this.#a=me(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&at(this.#a,()=>{this.#a=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#h&&$t(this.#h,this.#c)}get_effect_pending(){return this.#g(),re(this.#h)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#v||!r&&!n)throw t;this.#s&&(F(this.#s),this.#s=null),this.#a&&(F(this.#a),this.#a=null),this.#o&&(F(this.#o),this.#o=null),D&&(B(this.#r),ir(),B(ar()));var i=!1,s=!1;const a=()=>{if(i){gn();return}i=!0,s&&mn(),ee.ensure(),this.#c=0,this.#o!==null&&at(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#s=this.#_(()=>(this.#v=!1,me(()=>this.#l(this.#e)))),this.#d>0?this.#p():this.#t=!1};var o=k;try{H(null),s=!0,r?.(t,a),s=!1}catch(l){Ge(l,this.#i&&this.#i.parent)}finally{H(o)}n&&Bt(()=>{this.#o=this.#_(()=>{ee.ensure(),this.#v=!0;try{return me(()=>{n(this.#e,()=>t,()=>a)})}catch(l){return Ge(l,this.#i.parent),null}finally{this.#v=!1}})})}}function On(e,t,r,n){const i=br;if(r.length===0&&e.length===0){n(t.map(i));return}var s=O,a=M,o=An();function l(){Promise.all(r.map(f=>Cn(f))).then(f=>{o();try{n([...t.map(i),...f])}catch(v){(a.f&ve)===0&&Ge(v,a)}s?.deactivate(),wt()}).catch(f=>{Ge(f,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{s?.deactivate(),wt()}}):l()}function An(){var e=M,t=k,r=X,n=O;return function(s=!0){ue(e),H(t),Ke(r),s&&n?.activate()}}function wt(){ue(null),H(null),Ke(null)}function br(e){var t=N|P,r=k!==null&&(k.f&N)!==0?k:null;return M!==null&&(M.f|=Ae),{ctx:X,deps:null,effects:null,equals:or,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:r??M,ac:null}}function Cn(e,t){let r=M;r===null&&dn();var n=r.b,i=void 0,s=nt(R),a=!k,o=new Map;return zn(()=>{var l=nr();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===O&&f.committed&&f.deactivate(),wt()})}catch(h){l.reject(h),wt()}var f=O;if(a){var v=!n.is_pending();n.update_pending_count(1),f.increment(v),o.get(f)?.reject(We),o.delete(f),o.set(f,l)}const b=(h,_=void 0)=>{if(f.activate(),_)_!==We&&(s.f|=ke,$t(s,_));else{(s.f&ke)!==0&&(s.f^=ke),$t(s,h);for(const[E,q]of o){if(o.delete(E),E===f)break;q.reject(We)}}a&&(n.update_pending_count(-1),f.decrement(v))};l.promise.then(b,h=>b(null,h||"unknown"))}),Fn(()=>{for(const l of o.values())l.reject(We)}),new Promise(l=>{function f(v){function b(){v===i?l(s):f(i)}v.then(b,b)}f(i)})}function mr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)F(t[r])}}function Nn(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&ve)===0?t:null;t=t.parent}return null}function Vt(e){var t,r=M;ue(Nn(e));try{e.f&=~Ce,mr(e),t=Pr(e)}finally{ue(r)}return t}function gr(e){var t=Vt(e);if(e.equals(t)||(O?.is_fork||(e.v=t),e.wv=jr()),!Ze)if(J!==null)xt()&&J.set(e,t);else{var r=(e.f&Q)===0?he:L;Y(e,r)}}let Wt=new Set;const Me=new Map;let yr=!1;function nt(e,t){var r={f:0,v:e,reactions:null,equals:or,rv:0,wv:0};return r}function Se(e,t){const r=nt(e);return Gn(r),r}function Rn(e,t=!1,r=!0){const n=nt(e);return t||(n.equals=$n),n}function pe(e,t,r=!1){k!==null&&(!fe||(k.f&sr)!==0)&&ur()&&(k.f&(N|de|Ht|sr))!==0&&!ge?.includes(e)&&bn();let n=r?it(t):t;return $t(e,n)}function $t(e,t){if(!e.equals(t)){var r=e.v;Ze?Me.set(e,t):Me.set(e,r),e.v=t;var n=ee.ensure();n.capture(e,r),(e.f&N)!==0&&((e.f&P)!==0&&Vt(e),Y(e,(e.f&Q)!==0?L:he)),e.wv=jr(),wr(e,P),M!==null&&(M.f&L)!==0&&(M.f&($e|xe))===0&&(G===null?Zn([e]):G.push(e)),!n.is_fork&&Wt.size>0&&!yr&&Ln()}return t}function Ln(){yr=!1;var e=Te;kt(!0);const t=Array.from(Wt);try{for(const r of t)(r.f&L)!==0&&Y(r,he),lt(r)&&ft(r)}finally{kt(e)}Wt.clear()}function st(e){pe(e,e.v+1)}function wr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,o=(a&P)===0;if(o&&Y(s,t),(a&N)!==0){var l=s;J?.delete(l),(a&Ce)===0&&(a&Q&&(s.f|=Ce),wr(l,he))}else o&&((a&de)!==0&&_e!==null&&_e.add(s),Re(s))}}function it(e){if(typeof e!="object"||e===null||qt in e)return e;const t=tr(e);if(t!==an&&t!==on)return e;var r=new Map,n=tn(e),i=Se(0),s=Ie,a=o=>{if(Ie===s)return o();var l=k,f=Ie;H(null),Yr(s);var v=o();return H(l),Yr(f),v};return n&&r.set("length",Se(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&_n();var v=r.get(l);return v===void 0?v=a(()=>{var b=Se(f.value);return r.set(l,b),b}):pe(v,f.value,!0),!0},deleteProperty(o,l){var f=r.get(l);if(f===void 0){if(l in o){const v=a(()=>Se(R));r.set(l,v),st(i)}}else pe(f,R),st(i);return!0},get(o,l,f){if(l===qt)return e;var v=r.get(l),b=l in o;if(v===void 0&&(!b||ze(o,l)?.writable)&&(v=a(()=>{var _=it(b?o[l]:R),E=Se(_);return E}),r.set(l,v)),v!==void 0){var h=re(v);return h===R?void 0:h}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var v=r.get(l);v&&(f.value=re(v))}else if(f===void 0){var b=r.get(l),h=b?.v;if(b!==void 0&&h!==R)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(o,l){if(l===qt)return!0;var f=r.get(l),v=f!==void 0&&f.v!==R||Reflect.has(o,l);if(f!==void 0||M!==null&&(!v||ze(o,l)?.writable)){f===void 0&&(f=a(()=>{var h=v?it(o[l]):R,_=Se(h);return _}),r.set(l,f));var b=re(f);if(b===R)return!1}return v},set(o,l,f,v){var b=r.get(l),h=l in o;if(n&&l==="length")for(var _=f;_<b.v;_+=1){var E=r.get(_+"");E!==void 0?pe(E,R):_ in o&&(E=a(()=>Se(R)),r.set(_+"",E))}if(b===void 0)(!h||ze(o,l)?.writable)&&(b=a(()=>Se(void 0)),pe(b,it(f)),r.set(l,b));else{h=b.v!==R;var q=a(()=>it(f));pe(b,q)}var V=Reflect.getOwnPropertyDescriptor(o,l);if(V?.set&&V.set.call(v,f),!h){if(n&&typeof l=="string"){var Pe=r.get("length"),Fe=Number(l);Number.isInteger(Fe)&&Fe>=Pe.v&&pe(Pe,Fe+1)}st(i)}return!0},ownKeys(o){re(i);var l=Reflect.ownKeys(o).filter(b=>{var h=r.get(b);return h===void 0||h.v!==R});for(var[f,v]of r)v.v!==R&&!(f in o)&&l.push(f);return l},setPrototypeOf(){pn()}})}var $r,xr,kr,Er;function Jt(){if($r===void 0){$r=window,xr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;kr=ze(t,"firstChild").get,Er=ze(t,"nextSibling").get,rr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),rr(r)&&(r.__t=void 0)}}function be(e=""){return document.createTextNode(e)}function Le(e){return kr.call(e)}function te(e){return Er.call(e)}function oe(e,t){if(!D)return Le(e);var r=Le(T);if(r===null)r=T.appendChild(be());else if(t&&r.nodeType!==Ut){var n=be();return r?.before(n),B(n),n}return B(r),r}function Yn(e,t=!1){if(!D){var r=Le(e);return r instanceof Comment&&r.data===""?te(r):r}if(t&&T?.nodeType!==Ut){var n=be();return T?.before(n),B(n),n}return T}function Ye(e,t=1,r=!1){let n=D?T:e;for(var i;t--;)i=n,n=te(n);if(!D)return n;if(r&&n?.nodeType!==Ut){var s=be();return n===null?i?.after(s):n.before(s),B(s),s}return B(n),n}function jn(e){e.textContent=""}function In(){return!1}function Mr(e){var t=k,r=M;H(null),ue(null);try{return e()}finally{H(t),ue(r)}}function Pn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function le(e,t,r){var n=M;n!==null&&(n.f&se)!==0&&(e|=se);var i={ctx:X,deps:null,nodes_start:null,nodes_end:null,f:e|P|Q,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{ft(i),i.f|=It}catch(o){throw F(i),o}else t!==null&&Re(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ae)===0&&(s=s.first,(e&de)!==0&&(e&Ve)!==0&&s!==null&&(s.f|=Ve)),s!==null&&(s.parent=n,n!==null&&Pn(s,n),k!==null&&(k.f&N)!==0&&(e&xe)===0)){var a=k;(a.effects??=[]).push(s)}return i}function xt(){return k!==null&&!fe}function Fn(e){const t=le(jt,null,!1);return Y(t,L),t.teardown=e,t}function Hn(e){return le(Yt|fn,e,!1)}function qn(e){ee.ensure();const t=le(xe|Ae,e,!0);return()=>{F(t)}}function Un(e){ee.ensure();const t=le(xe|Ae,e,!0);return(r={})=>new Promise(n=>{r.outro?at(t,()=>{F(t),n(void 0)}):(F(t),n(void 0))})}function Bn(e){return le(Yt,e,!1)}function zn(e){return le(Ht|Ae,e,!0)}function Sr(e,t=0){return le(jt|t,e,!0)}function je(e,t=[],r=[],n=[]){On(n,t,r,i=>{le(jt,()=>e(...i.map(re)),!0)})}function Kt(e,t=0){var r=le(de|t,e,!0);return r}function me(e){return le($e|Ae,e,!0)}function Tr(e){var t=e.teardown;if(t!==null){const r=Ze,n=k;Rr(!0),H(null);try{t.call(null)}finally{Rr(r),H(n)}}}function Dr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Mr(()=>{i.abort(We)});var n=r.next;(r.f&xe)!==0?r.parent=null:F(r,t),r=n}}function Vn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&$e)===0&&F(t),t=r}}function F(e,t=!0){var r=!1;(t||(e.f&Pt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Wn(e.nodes_start,e.nodes_end),r=!0),Dr(e,t&&!r),Et(e,0),Y(e,ve);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Tr(e);var i=e.parent;i!==null&&i.first!==null&&Or(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Wn(e,t){for(;e!==null;){var r=e===t?null:te(e);e.remove(),e=r}}function Or(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function at(e,t,r=!0){var n=[];Ar(e,n,!0),Jn(n,()=>{r&&F(e),t&&t()})}function Jn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Ar(e,t,r){if((e.f&se)===0){if(e.f^=se,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Ve)!==0||(n.f&$e)!==0&&(e.f&de)!==0;Ar(n,t,s?r:!1),n=i}}}function Kn(e){Cr(e,!0)}function Cr(e,t){if((e.f&se)!==0){e.f^=se,(e.f&L)===0&&(Y(e,P),Re(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ve)!==0||(r.f&$e)!==0;Cr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Nr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:te(r);t.append(r),r=i}}let Te=!1;function kt(e){Te=e}let Ze=!1;function Rr(e){Ze=e}let k=null,fe=!1;function H(e){k=e}let M=null;function ue(e){M=e}let ge=null;function Gn(e){k!==null&&(ge===null?ge=[e]:ge.push(e))}let I=null,z=0,G=null;function Zn(e){G=e}let Lr=1,ot=0,Ie=ot;function Yr(e){Ie=e}function jr(){return++Lr}function lt(e){var t=e.f;if((t&P)!==0)return!0;if(t&N&&(e.f&=~Ce),(t&he)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(lt(s)&&gr(s),s.wv>e.wv)return!0}(t&Q)!==0&&J===null&&Y(e,L)}return!1}function Ir(e,t,r=!0){var n=e.reactions;if(n!==null&&!ge?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&N)!==0?Ir(s,t,!1):t===s&&(r?Y(s,P):(s.f&L)!==0&&Y(s,he),Re(s))}}function Pr(e){var t=I,r=z,n=G,i=k,s=ge,a=X,o=fe,l=Ie,f=e.f;I=null,z=0,G=null,k=(f&($e|xe))===0?e:null,ge=null,Ke(e.ctx),fe=!1,Ie=++ot,e.ac!==null&&(Mr(()=>{e.ac.abort(We)}),e.ac=null);try{e.f|=Ft;var v=e.fn,b=v(),h=e.deps;if(I!==null){var _;if(Et(e,z),h!==null&&z>0)for(h.length=z+I.length,_=0;_<I.length;_++)h[z+_]=I[_];else e.deps=h=I;if(Te&&xt()&&(e.f&Q)!==0)for(_=z;_<h.length;_++)(h[_].reactions??=[]).push(e)}else h!==null&&z<h.length&&(Et(e,z),h.length=z);if(ur()&&G!==null&&!fe&&h!==null&&(e.f&(N|he|P))===0)for(_=0;_<G.length;_++)Ir(G[_],e);return i!==null&&i!==e&&(ot++,G!==null&&(n===null?n=G:n.push(...G))),(e.f&ke)!==0&&(e.f^=ke),b}catch(E){return dr(E)}finally{e.f^=Ft,I=t,z=r,G=n,k=i,ge=s,Ke(a),fe=o,Ie=l}}function Qn(e,t){let r=t.reactions;if(r!==null){var n=rn.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&N)!==0&&(I===null||!I.includes(t))&&(Y(t,he),(t.f&Q)!==0&&(t.f^=Q,t.f&=~Ce),mr(t),Et(t,0))}function Et(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Qn(e,r[n])}function ft(e){var t=e.f;if((t&ve)===0){Y(e,L);var r=M,n=Te;M=e,Te=!0;try{(t&de)!==0?Vn(e):Dr(e),Tr(e);var i=Pr(e);e.teardown=typeof i=="function"?i:null,e.wv=Lr;var s;Lt&&xn&&(e.f&P)!==0&&e.deps}finally{Te=n,M=r}}}function re(e){var t=e.f,r=(t&N)!==0;if(k!==null&&!fe){var n=M!==null&&(M.f&ve)!==0;if(!n&&!ge?.includes(e)){var i=k.deps;if((k.f&Ft)!==0)e.rv<ot&&(e.rv=ot,I===null&&i!==null&&i[z]===e?z++:I===null?I=[e]:I.includes(e)||I.push(e));else{(k.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[k]:s.includes(k)||s.push(k)}}}if(Ze){if(Me.has(e))return Me.get(e);if(r){var a=e,o=a.v;return((a.f&L)===0&&a.reactions!==null||Hr(a))&&(o=Vt(a)),Me.set(a,o),o}}else r&&!J?.has(e)&&(a=e,lt(a)&&gr(a),Te&&xt()&&(a.f&Q)===0&&Fr(a));if(J?.has(e))return J.get(e);if((e.f&ke)!==0)throw e.v;return e.v}function Fr(e){if(e.deps!==null){e.f^=Q;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&Q)===0&&Fr(t)}}function Hr(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Me.has(t)||(t.f&N)!==0&&Hr(t))return!0;return!1}function Xn(e){var t=fe;try{return fe=!0,e()}finally{fe=t}}const es=-7169;function Y(e,t){e.f=e.f&es|t}const ts=new Set,qr=new Set;let Ur=null;function Mt(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Ur=e;var a=0,o=Ur===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){_t(e,"currentTarget",{configurable:!0,get(){return s||r}});var v=k,b=M;H(null),ue(null);try{for(var h,_=[];s!==null;){var E=s.assignedSlot||s.parentNode||s.host||null;try{var q=s["__"+n];q!=null&&(!s.disabled||e.target===s)&&q.call(s,e)}catch(V){h?_.push(V):h=V}if(e.cancelBubble||E===t||E===null)break;s=E}if(h){for(let V of _)queueMicrotask(()=>{throw V});throw h}}finally{e.__root=t,delete e.currentTarget,H(v),ue(b)}}}function rs(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function St(e,t){var r=M;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ce(e,t){var r=(t&Qr)!==0,n=(t&Xr)!==0,i,s=!e.startsWith("<!>");return()=>{if(D)return St(T,null),T;i===void 0&&(i=rs(s?e:"<!>"+e),r||(i=Le(i)));var a=n||xr?document.importNode(i,!0):i.cloneNode(!0);if(r){var o=Le(a),l=a.lastChild;St(o,l)}else St(a,a);return a}}function ne(e,t){if(D){var r=M;((r.f&It)===0||r.nodes_end===null)&&(r.nodes_end=T),mt();return}e!==null&&e.before(t)}const ns=["touchstart","touchmove"];function ss(e){return ns.includes(e)}function Tt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Br(e,t){return zr(e,t)}function is(e,t){Jt(),t.intro=t.intro??!1;const r=t.target,n=D,i=T;try{for(var s=Le(r);s&&(s.nodeType!==Je||s.data!==Xt);)s=te(s);if(!s)throw Be;Ee(!0),B(s);const a=zr(e,{...t,anchor:s});return Ee(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==Be&&console.warn("Failed to hydrate: ",a),t.recover===!1&&vn(),Jt(),jn(r),Ee(!1),Br(e,t)}finally{Ee(n),B(i)}}const Qe=new Map;function zr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Jt();var o=new Set,l=b=>{for(var h=0;h<b.length;h++){var _=b[h];if(!o.has(_)){o.add(_);var E=ss(_);t.addEventListener(_,Mt,{passive:E});var q=Qe.get(_);q===void 0?(document.addEventListener(_,Mt,{passive:E}),Qe.set(_,1)):Qe.set(_,q+1)}}};l(nn(ts)),qr.add(l);var f=void 0,v=Un(()=>{var b=r??t.appendChild(be());return Tn(b,{pending:()=>{}},h=>{if(s){lr({});var _=X;_.c=s}if(i&&(n.$$events=i),D&&St(h,null),f=e(h,n)||{},D&&(M.nodes_end=T,T===null||T.nodeType!==Je||T.data!==er))throw bt(),Be;s&&fr()}),()=>{for(var h of o){t.removeEventListener(h,Mt);var _=Qe.get(h);--_===0?(document.removeEventListener(h,Mt),Qe.delete(h)):Qe.set(h,_)}qr.delete(l),b!==r&&b.parentNode?.removeChild(b)}});return Gt.set(f,v),f}let Gt=new WeakMap;function as(e,t){const r=Gt.get(e);return r?(Gt.delete(e),r(t)):Promise.resolve()}class os{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#i=()=>{var t=O;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Kn(n),this.#n.delete(r);else{var i=this.#r.get(r);i&&(this.#e.set(r,i.effect),this.#r.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,a]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#r.get(a);o&&(F(o.effect),this.#r.delete(a))}for(const[s,a]of this.#e){if(s===r||this.#n.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();Nr(a,f),f.append(be()),this.#r.set(s,{effect:a,fragment:f})}else F(a);this.#n.delete(s),this.#e.delete(s)};this.#l||!n?(this.#n.add(s),at(a,o,!1)):o()}}};#s=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(F(i.effect),this.#r.delete(n))};ensure(t,r){var n=O,i=In();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),a=be();s.append(a),this.#r.set(t,{effect:me(()=>r(a)),fragment:s})}else this.#e.set(t,me(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[o,l]of this.#e)o===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[o,l]of this.#r)o===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#i),n.ondiscard(this.#s)}else D&&(this.anchor=T),this.#i()}}function Xe(e,t,r=!1){D&&mt();var n=new os(e),i=r?Ve:0;function s(a,o){if(D){const f=yn(e)===Rt;if(a===f){var l=ar();B(l),n.anchor=l,Ee(!1),n.ensure(a,o),Ee(!0);return}}n.ensure(a,o)}Kt(()=>{var a=!1;t((o,l=!0)=>{a=!0,s(l,o)}),a||s(!1,null)},i)}function ls(e,t,r,n,i){D&&mt();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>n:n)}function fs(e,t){let r=null,n=D;var i;if(D){r=T;for(var s=Le(document.head);s!==null&&(s.nodeType!==Je||s.data!==e);)s=te(s);if(s===null)Ee(!1);else{var a=te(s);s.remove(),B(a)}}D||(i=document.head.appendChild(be()));try{Kt(()=>t(i),Pt)}finally{n&&(Ee(!0),B(r))}}function us(e,t){Bn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}const cs=Symbol("is custom element"),ds=Symbol("is html");function ut(e,t,r,n){var i=hs(e);D&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[cn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&vs(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function hs(e){return e.__attributes??={[cs]:e.nodeName.includes("-"),[ds]:e.namespaceURI===en}}var Vr=new Map;function vs(e){var t=e.getAttribute("is")||e.nodeName,r=Vr.get(t);if(r)return r;Vr.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=sn(i);for(var a in n)n[a].set&&r.push(a);i=tr(i)}return r}function ye(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),o;o=e[t],o===void 0&&n!==void 0&&(o=a());var l;l=()=>{var h=e[t];return h===void 0?a():(s=!0,h)};var f=!1,v=br(()=>(f=!1,l())),b=M;return(function(h,_){if(arguments.length>0){const E=_?re(v):h;return pe(v,E),f=!0,i!==void 0&&(i=E),h}return Ze&&f||(b.f&ve)!==0?v.v:re(v)})}function _s(e){return new ps(e)}class ps{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var o=Rn(a,!1,!1);return r.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return re(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===un?!0:(re(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return pe(r.get(a)??n(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?is:Br)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ae(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||_t(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{as(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Wr;typeof HTMLElement=="function"&&(Wr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),ne(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=bs(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Dt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=_s({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qn(()=>{Sr(()=>{this.$$r=!0;for(const n of vt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Dt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Dt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return vt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Dt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function bs(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ms(e,t,r,n,i,s){let a=class extends Wr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return vt(t).map(o=>(t[o].attribute||o).toLowerCase())}};return vt(t).forEach(o=>{_t(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=Dt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var v=ze(f,o)?.get;v?f[o]=l:f.$set({[o]:l})}}})}),n.forEach(o=>{_t(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}function gs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ot={exports:{}},ys=Ot.exports,Jr;function Kr(){return Jr||(Jr=1,(function(e,t){(function(r,n){e.exports=n()})(ys,(function(){var r=1e3,n=6e4,i=36e5,s="millisecond",a="second",o="minute",l="hour",f="day",v="week",b="month",h="quarter",_="year",E="date",q="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Pe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Fe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var c=["th","st","nd","rd"],u=m%100;return"["+m+(c[(u-20)%10]||c[u]||c[0])+"]"}},et=function(m,c,u){var p=String(m);return!p||p.length>=c?m:""+Array(c+1-p.length).join(u)+m},Zt={s:et,z:function(m){var c=-m.utcOffset(),u=Math.abs(c),p=Math.floor(u/60),d=u%60;return(c<=0?"+":"-")+et(p,2,"0")+":"+et(d,2,"0")},m:function m(c,u){if(c.date()<u.date())return-m(u,c);var p=12*(u.year()-c.year())+(u.month()-c.month()),d=c.clone().add(p,b),$=u-d<0,x=c.clone().add(p+($?-1:1),b);return+(-(p+(u-d)/($?d-x:x-d))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:b,y:_,w:v,d:f,D:E,h:l,m:o,s:a,ms:s,Q:h}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},He="en",we={};we[He]=Fe;var Ct="$isDayjsObject",ct=function(m){return m instanceof W||!(!m||!m[Ct])},g=function m(c,u,p){var d;if(!c)return He;if(typeof c=="string"){var $=c.toLowerCase();we[$]&&(d=$),u&&(we[$]=u,d=$);var x=c.split("-");if(!d&&x.length>1)return m(x[0])}else{var S=c.name;we[S]=c,d=S}return!p&&d&&(He=d),d||!p&&He},y=function(m,c){if(ct(m))return m.clone();var u=typeof c=="object"?c:{};return u.date=m,u.args=arguments,new W(u)},w=Zt;w.l=g,w.i=ct,w.w=function(m,c){return y(m,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var W=(function(){function m(u){this.$L=g(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[Ct]=!0}var c=m.prototype;return c.parse=function(u){this.$d=(function(p){var d=p.date,$=p.utc;if(d===null)return new Date(NaN);if(w.u(d))return new Date;if(d instanceof Date)return new Date(d);if(typeof d=="string"&&!/Z$/i.test(d)){var x=d.match(V);if(x){var S=x[2]-1||0,A=(x[7]||"0").substring(0,3);return $?new Date(Date.UTC(x[1],S,x[3]||1,x[4]||0,x[5]||0,x[6]||0,A)):new Date(x[1],S,x[3]||1,x[4]||0,x[5]||0,x[6]||0,A)}}return new Date(d)})(u),this.init()},c.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},c.$utils=function(){return w},c.isValid=function(){return this.$d.toString()!==q},c.isSame=function(u,p){var d=y(u);return this.startOf(p)<=d&&d<=this.endOf(p)},c.isAfter=function(u,p){return y(u)<this.startOf(p)},c.isBefore=function(u,p){return this.endOf(p)<y(u)},c.$g=function(u,p,d){return w.u(u)?this[p]:this.set(d,u)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(u,p){var d=this,$=!!w.u(p)||p,x=w.p(u),S=function(Ue,U){var Oe=w.w(d.$u?Date.UTC(d.$y,U,Ue):new Date(d.$y,U,Ue),d);return $?Oe:Oe.endOf(f)},A=function(Ue,U){return w.w(d.toDate()[Ue].apply(d.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(U)),d)},C=this.$W,j=this.$M,Z=this.$D,tt="set"+(this.$u?"UTC":"");switch(x){case _:return $?S(1,0):S(31,11);case b:return $?S(1,j):S(0,j+1);case v:var qe=this.$locale().weekStart||0,dt=(C<qe?C+7:C)-qe;return S($?Z-dt:Z+(6-dt),j);case f:case E:return A(tt+"Hours",0);case l:return A(tt+"Minutes",1);case o:return A(tt+"Seconds",2);case a:return A(tt+"Milliseconds",3);default:return this.clone()}},c.endOf=function(u){return this.startOf(u,!1)},c.$set=function(u,p){var d,$=w.p(u),x="set"+(this.$u?"UTC":""),S=(d={},d[f]=x+"Date",d[E]=x+"Date",d[b]=x+"Month",d[_]=x+"FullYear",d[l]=x+"Hours",d[o]=x+"Minutes",d[a]=x+"Seconds",d[s]=x+"Milliseconds",d)[$],A=$===f?this.$D+(p-this.$W):p;if($===b||$===_){var C=this.clone().set(E,1);C.$d[S](A),C.init(),this.$d=C.set(E,Math.min(this.$D,C.daysInMonth())).$d}else S&&this.$d[S](A);return this.init(),this},c.set=function(u,p){return this.clone().$set(u,p)},c.get=function(u){return this[w.p(u)]()},c.add=function(u,p){var d,$=this;u=Number(u);var x=w.p(p),S=function(j){var Z=y($);return w.w(Z.date(Z.date()+Math.round(j*u)),$)};if(x===b)return this.set(b,this.$M+u);if(x===_)return this.set(_,this.$y+u);if(x===f)return S(1);if(x===v)return S(7);var A=(d={},d[o]=n,d[l]=i,d[a]=r,d)[x]||1,C=this.$d.getTime()+u*A;return w.w(C,this)},c.subtract=function(u,p){return this.add(-1*u,p)},c.format=function(u){var p=this,d=this.$locale();if(!this.isValid())return d.invalidDate||q;var $=u||"YYYY-MM-DDTHH:mm:ssZ",x=w.z(this),S=this.$H,A=this.$m,C=this.$M,j=d.weekdays,Z=d.months,tt=d.meridiem,qe=function(U,Oe,ht,Nt){return U&&(U[Oe]||U(p,$))||ht[Oe].slice(0,Nt)},dt=function(U){return w.s(S%12||12,U,"0")},Ue=tt||function(U,Oe,ht){var Nt=U<12?"AM":"PM";return ht?Nt.toLowerCase():Nt};return $.replace(Pe,(function(U,Oe){return Oe||(function(ht){switch(ht){case"YY":return String(p.$y).slice(-2);case"YYYY":return w.s(p.$y,4,"0");case"M":return C+1;case"MM":return w.s(C+1,2,"0");case"MMM":return qe(d.monthsShort,C,Z,3);case"MMMM":return qe(Z,C);case"D":return p.$D;case"DD":return w.s(p.$D,2,"0");case"d":return String(p.$W);case"dd":return qe(d.weekdaysMin,p.$W,j,2);case"ddd":return qe(d.weekdaysShort,p.$W,j,3);case"dddd":return j[p.$W];case"H":return String(S);case"HH":return w.s(S,2,"0");case"h":return dt(1);case"hh":return dt(2);case"a":return Ue(S,A,!0);case"A":return Ue(S,A,!1);case"m":return String(A);case"mm":return w.s(A,2,"0");case"s":return String(p.$s);case"ss":return w.s(p.$s,2,"0");case"SSS":return w.s(p.$ms,3,"0");case"Z":return x}return null})(U)||x.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(u,p,d){var $,x=this,S=w.p(p),A=y(u),C=(A.utcOffset()-this.utcOffset())*n,j=this-A,Z=function(){return w.m(x,A)};switch(S){case _:$=Z()/12;break;case b:$=Z();break;case h:$=Z()/3;break;case v:$=(j-C)/6048e5;break;case f:$=(j-C)/864e5;break;case l:$=j/i;break;case o:$=j/n;break;case a:$=j/r;break;default:$=j}return d?$:w.a($)},c.daysInMonth=function(){return this.endOf(b).$D},c.$locale=function(){return we[this.$L]},c.locale=function(u,p){if(!u)return this.$L;var d=this.clone(),$=g(u,p,!0);return $&&(d.$L=$),d},c.clone=function(){return w.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},m})(),De=W.prototype;return y.prototype=De,[["$ms",s],["$s",a],["$m",o],["$H",l],["$W",f],["$M",b],["$y",_],["$D",E]].forEach((function(m){De[m[1]]=function(c){return this.$g(c,m[0],m[1])}})),y.extend=function(m,c){return m.$i||(m(c,W,y),m.$i=!0),y},y.locale=g,y.isDayjs=ct,y.unix=function(m){return y(1e3*m)},y.en=we[He],y.Ls=we,y.p={},y}))})(Ot)),Ot.exports}var ws=Kr();const $s=gs(ws);var At={exports:{}},xs=At.exports,Gr;function ks(){return Gr||(Gr=1,(function(e,t){(function(r,n){e.exports=n(Kr())})(xs,(function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return i.default.locale(s,null,!0),s}))})(At)),At.exports}ks();var Es=ce('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-p77t8a"/>'),Ms=ce('<div class="ratio ratio-16x9 svelte-p77t8a"><iframe title="YouTube video" allowfullscreen="" class="svelte-p77t8a"></iframe></div>'),Ss=ce('<div class="ratio ratio-16x9 svelte-p77t8a" style="background-color: black;"><video controls class="ratio ratio-16x9 svelte-p77t8a"><source type="video/mp4" class="svelte-p77t8a"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-p77t8a"/> Your browser does not support the video tag.</video></div>',2),Ts=ce('<h5 class="card-title svelte-p77t8a"> </h5>'),Ds=ce('<p class="card-text svelte-p77t8a"> </p>'),Os=ce('<a class="btn btn-primary svelte-p77t8a"> </a>'),As=ce('<div class="fb-like card-link svelte-p77t8a" data-layout="button" data-action="like" data-size="small" data-show-faces="false" data-share="false"></div> <a class="twitter-share-button card-link svelte-p77t8a" href="https://twitter.com/intent/tweet">Tweet</a> <br class="svelte-p77t8a"/> <!>',1),Cs=ce('<small class="text-muted svelte-p77t8a"><i class="bi bi-clock svelte-p77t8a" style="margin-right:8px"></i> </small>'),Ns=ce('<div class="card-footer svelte-p77t8a"><!></div>'),Rs=ce('<div class="card h-100 svelte-p77t8a"><!> <div class="card-body svelte-p77t8a"><!> <!> <!></div> <!></div>');const Ls={hash:"svelte-p77t8a",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
3
3
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
4
4
  /*!
5
5
  * Bootstrap v5.3.8 (https://getbootstrap.com/)
6
6
  * Copyright 2011-2021 The Bootstrap Authors
7
7
  * Copyright 2011-2021 Twitter, Inc.
8
8
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
9
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-p77t8a,
9
+ */.svelte-p77t8a,
10
10
  .svelte-p77t8a::before,
11
11
  .svelte-p77t8a::after {box-sizing:border-box;}
12
12
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -50,5 +50,5 @@
50
50
  @media (min-width: 1200px) {
51
51
  }
52
52
  @media (min-width: 1400px) {
53
- }:host {font-family:"Roboto", sans-serif;}`};function Zr(e,t){lr(t,!0),us(e,Ls);let r=ye(t,"id",7,""),n=ye(t,"title",7,void 0),i=ye(t,"description",7,void 0),s=ye(t,"videosrc",7,""),a=ye(t,"provider",7,void 0),o=ye(t,"pageuri",7,void 0),l=ye(t,"linklabel",7,"read more"),f=ye(t,"time",7,void 0),b=ye(t,"dateformat",7,"dddd DD MMMM YYYY HH:mm");var p={get id(){return r()},set id(m=""){r(m),ae()},get title(){return n()},set title(m=void 0){n(m),ae()},get description(){return i()},set description(m=void 0){i(m),ae()},get videosrc(){return s()},set videosrc(m=""){s(m),ae()},get provider(){return a()},set provider(m=void 0){a(m),ae()},get pageuri(){return o()},set pageuri(m=void 0){o(m),ae()},get linklabel(){return l()},set linklabel(m="read more"){l(m),ae()},get time(){return f()},set time(m=void 0){f(m),ae()},get dateformat(){return b()},set dateformat(m="dddd DD MMMM YYYY HH:mm"){b(m),ae()}},h=Rs();fs("p77t8a",m=>{var y=Es();ne(m,y)});var v=oe(h);{var E=m=>{var y=Ms(),w=oe(y);ie(y),je(()=>ut(w,"src",s())),ne(m,y)},q=m=>{var y=Ss(),w=oe(y),W=oe(w);ir(3),ie(w),ie(y),je(()=>ut(W,"src",s())),ne(m,y)};Xe(v,m=>{a()==="youtube"?m(E):m(q,!1)})}var V=Ye(v,2),Pe=oe(V);{var Fe=m=>{var y=Ts(),w=oe(y,!0);ie(y),je(()=>Tt(w,n())),ne(m,y)};Xe(Pe,m=>{n()&&m(Fe)})}var et=Ye(Pe,2);{var Zt=m=>{var y=Ds(),w=oe(y,!0);ie(y),je(W=>Tt(w,W),[()=>i().length>100?i().slice(0,100):i()?i():""]),ne(m,y)};Xe(et,m=>{i()&&m(Zt)})}var He=Ye(et,2);{var we=m=>{var y=As(),w=Yn(y),W=Ye(w,2),De=Ye(W,4);{var g=c=>{var u=Os(),_=oe(u,!0);ie(u),je(()=>{ut(u,"href",o()),Tt(_,l())}),ne(c,u)};Xe(De,c=>{l()?.length&&c(g)})}je(()=>{ut(w,"data-href",o()),ut(W,"data-url",o())}),ne(m,y)};Xe(He,m=>{o()&&m(we)})}ie(V);var Ct=Ye(V,2);{var ct=m=>{var y=Ns(),w=oe(y);ls(w,t,"card-footer",{},W=>{var De=Cs(),g=Ye(oe(De),1,!0);ie(De),je(c=>Tt(g,c),[()=>$s(f()).locale(navigator.language).format(b()).replace(/\b\w/g,c=>c.toUpperCase())]),ne(W,De)}),ie(y),ne(m,y)};Xe(Ct,m=>{f()&&m(ct)})}return ie(h),ne(e,h),fr(p)}customElements.define("hb-card-video",gs(Zr,{id:{},title:{},description:{},videosrc:{},provider:{},pageuri:{},linklabel:{},time:{},dateformat:{}},["card-footer"],[],!0)),Qt.Component=Zr,Object.defineProperty(Qt,Symbol.toStringTag,{value:"Module"})})(this["card-video"]=this["card-video"]||{});
53
+ }:host {font-family:"Roboto", sans-serif;}`};function Zr(e,t){lr(t,!0),us(e,Ls);let r=ye(t,"id",7,""),n=ye(t,"title",7,void 0),i=ye(t,"description",7,void 0),s=ye(t,"videosrc",7,""),a=ye(t,"provider",7,void 0),o=ye(t,"pageuri",7,void 0),l=ye(t,"linklabel",7,"read more"),f=ye(t,"time",7,void 0),v=ye(t,"dateformat",7,"dddd DD MMMM YYYY HH:mm");var b={get id(){return r()},set id(g=""){r(g),ae()},get title(){return n()},set title(g=void 0){n(g),ae()},get description(){return i()},set description(g=void 0){i(g),ae()},get videosrc(){return s()},set videosrc(g=""){s(g),ae()},get provider(){return a()},set provider(g=void 0){a(g),ae()},get pageuri(){return o()},set pageuri(g=void 0){o(g),ae()},get linklabel(){return l()},set linklabel(g="read more"){l(g),ae()},get time(){return f()},set time(g=void 0){f(g),ae()},get dateformat(){return v()},set dateformat(g="dddd DD MMMM YYYY HH:mm"){v(g),ae()}},h=Rs();fs("p77t8a",g=>{var y=Es();ne(g,y)});var _=oe(h);{var E=g=>{var y=Ms(),w=oe(y);ie(y),je(()=>ut(w,"src",s())),ne(g,y)},q=g=>{var y=Ss(),w=oe(y),W=oe(w);ir(3),ie(w),ie(y),je(()=>ut(W,"src",s())),ne(g,y)};Xe(_,g=>{a()==="youtube"?g(E):g(q,!1)})}var V=Ye(_,2),Pe=oe(V);{var Fe=g=>{var y=Ts(),w=oe(y,!0);ie(y),je(()=>Tt(w,n())),ne(g,y)};Xe(Pe,g=>{n()&&g(Fe)})}var et=Ye(Pe,2);{var Zt=g=>{var y=Ds(),w=oe(y,!0);ie(y),je(W=>Tt(w,W),[()=>i().length>100?i().slice(0,100):i()?i():""]),ne(g,y)};Xe(et,g=>{i()&&g(Zt)})}var He=Ye(et,2);{var we=g=>{var y=As(),w=Yn(y),W=Ye(w,2),De=Ye(W,4);{var m=c=>{var u=Os(),p=oe(u,!0);ie(u),je(()=>{ut(u,"href",o()),Tt(p,l())}),ne(c,u)};Xe(De,c=>{l()?.length&&c(m)})}je(()=>{ut(w,"data-href",o()),ut(W,"data-url",o())}),ne(g,y)};Xe(He,g=>{o()&&g(we)})}ie(V);var Ct=Ye(V,2);{var ct=g=>{var y=Ns(),w=oe(y);ls(w,t,"card-footer",{},W=>{var De=Cs(),m=Ye(oe(De),1,!0);ie(De),je(c=>Tt(m,c),[()=>$s(f()).locale(navigator.language).format(v()).replace(/\b\w/g,c=>c.toUpperCase())]),ne(W,De)}),ie(y),ne(g,y)};Xe(Ct,g=>{f()&&g(ct)})}return ie(h),ne(e,h),fr(b)}customElements.define("hb-card-video",ms(Zr,{id:{},title:{},description:{},videosrc:{},provider:{},pageuri:{},linklabel:{},time:{},dateformat:{}},["card-footer"],[],!0)),Qt.Component=Zr,Object.defineProperty(Qt,Symbol.toStringTag,{value:"Module"})})(this["card-video"]=this["card-video"]||{});
54
54
  //# sourceMappingURL=main.iife.js.map
package/manifest.json CHANGED
@@ -61,7 +61,7 @@
61
61
  }
62
62
  }
63
63
  },
64
- "description": "",
64
+ "description": "Bootstrap card with a 16:9 media area: YouTube embed when `provider` is `youtube`, otherwise an HTML5 `<video>` with MP4 source. Optional title, truncated description (100 chars), formatted `time` via Day.js (`dateformat`), “read more” link label, and social share placeholders (Facebook/Twitter widgets) when `pageuri` is set.",
65
65
  "storybookArgs": {
66
66
  "videosrc": {
67
67
  "control": {
@@ -138,12 +138,13 @@
138
138
  ],
139
139
  "readmePath": "README.md",
140
140
  "name": "hb-card-video",
141
- "category": "components",
141
+ "category": "media",
142
142
  "tags": [
143
- "components"
143
+ "media",
144
+ "video"
144
145
  ],
145
146
  "size": {},
146
147
  "iifePath": "main.iife.js",
147
148
  "repoName": "@htmlbricks/hb-card-video",
148
- "version": "0.65.22"
149
+ "version": "0.66.0"
149
150
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-card-video",
3
- "version": "0.65.22",
3
+ "version": "0.66.0",
4
4
  "contributors": [],
5
- "description": "",
5
+ "description": "Bootstrap card with a 16:9 media area: YouTube embed when `provider` is `youtube`, otherwise an HTML5 `<video>` with MP4 source. Optional title, truncated description (100 chars), formatted `time` via Day.js (`dateformat`), “read more” link label, and social share placeholders (Facebook/Twitter widgets) when `pageuri` is set.",
6
6
  "licenses": [
7
7
  {
8
8
  "type": "Apache-2.0",