@htmlbricks/hb-site-slideshow 0.66.5 → 0.66.7

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,5 +1,5 @@
1
- (function(cn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Er=1,Tr=2,Sr=16,kr=1,Ar=2,hn="[",Mt="[!",dn="[?",Dt="]",ze={},O=Symbol(),vn="http://www.w3.org/1999/xhtml",Nr=!1;var _n=Array.isArray,Rr=Array.prototype.indexOf,He=Array.prototype.includes,ct=Array.from,ht=Object.keys,dt=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Cr=Object.getOwnPropertyDescriptors,Or=Object.prototype,Mr=Array.prototype,pn=Object.getPrototypeOf,gn=Object.isExtensible;const Dr=()=>{};function Ir(e){for(var t=0;t<e.length;t++)e[t]()}function mn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const R=2,Ve=4,vt=8,wn=1<<24,ge=16,X=32,me=64,It=128,B=512,A=1024,M=2048,te=4096,L=8192,Y=16384,we=32768,bn=1<<25,qe=65536,yn=1<<17,Fr=1<<18,Ne=1<<19,Pr=1<<20,ce=1<<25,Re=65536,Ft=1<<21,Pt=1<<22,be=1<<23,Lt=Symbol("$state"),Lr=Symbol("legacy props"),he=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ke=3,Je=8;function zr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Hr(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function jr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Vr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function qr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Br(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Yr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ur(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Wr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Gr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Kr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function _t(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Jr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function de(e){$=e}let b;function F(e){if(e===null)throw _t(),ze;return b=e}function Xe(){return F(ie(b))}function ne(e){if($){if(ie(b)!==null)throw _t(),ze;b=e}}function Xr(e=1){if($){for(var t=e,n=b;t--;)n=ie(n);b=n}}function pt(e=!0){for(var t=0,n=b;;){if(n.nodeType===Je){var r=n.data;if(r===Dt){if(t===0)return n;t-=1}else(r===hn||r===Mt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ie(n);e&&n.remove(),n=i}}function $n(e){if(!e||e.nodeType!==Je)throw _t(),ze;return e.data}function xn(e){return e===this.v}function Zr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function En(e){return!Zr(e,this.v)}let Qr=!1,U=null;function Be(e){U=e}function Tn(e,t=!1,n){U={p:U,i:!1,c:null,e:null,s:e,x:null,r:w,l:null}}function Sn(e){var t=U,n=t.e;if(n!==null){t.e=null;for(var r of n)Zn(r)}return e!==void 0&&(t.x=e),t.i=!0,U=t.p,e??{}}function kn(){return!0}let Ce=[];function An(){var e=Ce;Ce=[],Ir(e)}function Oe(e){if(Ce.length===0&&!Ze){var t=Ce;queueMicrotask(()=>{t===Ce&&An()})}Ce.push(e)}function ei(){for(;Ce.length>0;)An()}function Nn(e){var t=w;if(t===null)return m.f|=be,e;if((t.f&we)===0&&(t.f&Ve)===0)throw e;ye(e,t)}function ye(e,t){for(;t!==null;){if((t.f&It)!==0){if((t.f&we)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const ti=-7169;function S(e,t){e.f=e.f&ti|t}function zt(e){(e.f&B)!==0||e.deps===null?S(e,A):S(e,te)}function Rn(e){if(e!==null)for(const t of e)(t.f&R)===0||(t.f&Re)===0||(t.f^=Re,Rn(t.deps))}function Cn(e,t,n){(e.f&M)!==0?t.add(e):(e.f&te)!==0&&n.add(e),Rn(e.deps),S(e,A)}const $e=new Set;let E=null,Z=null,Ht=null,Ze=!1,jt=!1,Ye=null,gt=null;var On=0;let ni=1;class ve{id=ni++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#o=new Set;#f=new Map;is_fork=!1;#c=!1;#a=new Set;#h(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#a)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#f.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#f.has(t)||this.#f.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#f.get(t);if(n){this.#f.delete(t);for(var r of n.d)S(r,M),this.schedule(r);for(r of n.m)S(r,te),this.schedule(r)}}#d(){if(On++>1e3&&($e.delete(this),ri()),!this.#h()){for(const l of this.#l)this.#o.delete(l),S(l,M),this.schedule(l);for(const l of this.#o)S(l,te),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Ye=[],r=[],i=gt=[];for(const l of t)try{this.#u(l,n,r)}catch(a){throw Pn(l),a}if(E=null,i.length>0){var s=ve.ensure();for(const l of i)s.schedule(l)}if(Ye=null,gt=null,this.#h()||this.#v()){this.#_(r),this.#_(n);for(const[l,a]of this.#f)Fn(l,a)}else{this.#t.size===0&&$e.delete(this),this.#l.clear(),this.#o.clear();for(const l of this.#e)l(this);this.#e.clear(),Mn(r),Mn(n),this.#s?.resolve()}var o=E;if(this.#r.length>0){const l=o??=this;l.#r.push(...this.#r.filter(a=>!l.#r.includes(a)))}o!==null&&($e.add(o),o.#d()),$e.has(this)||this.#p()}#u(t,n,r){t.f^=A;for(var i=t.first;i!==null;){var s=i.f,o=(s&(X|me))!==0,l=o&&(s&A)!==0,a=l||(s&L)!==0||this.#f.has(i);if(!a&&i.fn!==null){o?i.f^=A:(s&Ve)!==0?n.push(i):rt(i)&&((s&ge)!==0&&this.#o.add(i),Ge(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)Cn(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==O&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&be)===0&&(this.current.set(t,[t.v,r]),Z?.set(t,t.v))}activate(){E=this}deactivate(){E=null,Z=null}flush(){try{jt=!0,E=this,this.#d()}finally{On=0,Ht=null,Ye=null,gt=null,jt=!1,E=null,Z=null,xe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),$e.delete(this)}#p(){for(const f of $e){var t=f.id<this.id,n=[];for(const[u,[v,h]]of this.current){if(f.current.has(u)){var r=f.current.get(u)[0];if(t&&v!==r)f.current.set(u,[v,h]);else continue}n.push(u)}var i=[...f.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&f.discard();else if(n.length>0){f.activate();var s=new Set,o=new Map;for(var l of n)Dn(l,i,s,o);if(f.#r.length>0){f.apply();for(var a of f.#r)f.#u(a,[],[]);f.#r=[]}f.deactivate()}}for(const f of $e)f.#a.has(this)&&(f.#a.delete(this),f.#a.size===0&&!f.#h()&&(f.activate(),f.#d()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Oe(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#o.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=mn()).promise}static ensure(){if(E===null){const t=E=new ve;jt||($e.add(E),Ze||Oe(()=>{E===t&&t.flush()}))}return E}apply(){{Z=null;return}}schedule(t){if(Ht=t,t.b?.is_pending&&(t.f&(Ve|vt|wn))!==0&&(t.f&we)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Ye!==null&&n===w&&(m===null||(m.f&R)===0))return;if((r&(me|X))!==0){if((r&A)===0)return;n.f^=A}}this.#r.push(n)}}function Qe(e){var t=Ze;Ze=!0;try{for(var n;;){if(ei(),E===null)return n;E.flush()}}finally{Ze=t}}function ri(){try{Br()}catch(e){ye(e,Ht)}}let _e=null;function Mn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Y|L))===0&&rt(r)&&(_e=new Set,Ge(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&tr(r),_e?.size>0)){xe.clear();for(const i of _e){if((i.f&(Y|L))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)_e.has(o)&&(_e.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(Y|L))===0&&Ge(a)}}_e.clear()}}_e=null}}function Dn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&R)!==0?Dn(i,t,n,r):(s&(Pt|ge))!==0&&(s&M)===0&&In(i,t,r)&&(S(i,M),Vt(i))}}function In(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(He.call(t,i))return!0;if((i.f&R)!==0&&In(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Vt(e){E.schedule(e)}function Fn(e,t){if(!((e.f&X)!==0&&(e.f&A)!==0)){(e.f&M)!==0?t.d.push(e):(e.f&te)!==0&&t.m.push(e),S(e,A);for(var n=e.first;n!==null;)Fn(n,t),n=n.next}}function Pn(e){S(e,A);for(var t=e.first;t!==null;)Pn(t),t=t.next}function ii(e){let t=0,n=Me(0),r;return()=>{Gt()&&(d(n),Qn(()=>(t===0&&(r=ki(()=>e(()=>et(n)))),t+=1,()=>{Oe(()=>{t-=1,t===0&&(r?.(),r=void 0,et(n))})})))}}var si=qe|Ne;function li(e,t,n,r){new oi(e,t,n,r)}class oi{parent;is_pending=!1;transform_error;#e;#n=$?b:null;#t;#i;#s;#r=null;#l=null;#o=null;#f=null;#c=0;#a=0;#h=!1;#v=new Set;#d=new Set;#u=null;#_=ii(()=>(this.#u=Me(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var o=w;o.b=this,o.f|=It,r(s)},this.parent=w.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=Kt(()=>{if($){const s=this.#n;Xe();const o=s.data===Mt;if(s.data.startsWith(dn)){const a=JSON.parse(s.data.slice(dn.length));this.#y(a)}else o?this.#$():this.#p()}else this.#w()},si),$&&(this.#e=b)}#p(){try{this.#r=W(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#o=W(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=W(()=>t(this.#e)),Oe(()=>{var n=this.#f=document.createDocumentFragment(),r=z();n.append(r),this.#r=this.#m(()=>W(()=>this.#i(r))),this.#a===0&&(this.#e.before(n),this.#f=null,De(this.#l,()=>{this.#l=null}),this.#g(E))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#a=0,this.#c=0,this.#r=W(()=>{this.#i(this.#e)}),this.#a>0){var t=this.#f=document.createDocumentFragment();Zt(this.#r,t);const n=this.#t.pending;this.#l=W(()=>n(this.#e))}else this.#g(E)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#d)}defer_effect(t){Cn(t,this.#v,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=w,r=m,i=U;oe(this.#s),G(this.#s),Be(this.#s.ctx);try{return ve.ensure(),t()}catch(s){return Nn(s),null}finally{oe(n),G(r),Be(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#a+=t,this.#a===0&&(this.#g(n),this.#l&&De(this.#l,()=>{this.#l=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,Oe(()=>{this.#h=!1,this.#u&&Ue(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),d(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(I(this.#r),this.#r=null),this.#l&&(I(this.#l),this.#l=null),this.#o&&(I(this.#o),this.#o=null),$&&(F(this.#n),Xr(),F(pt()));var i=!1,s=!1;const o=()=>{if(i){Jr();return}i=!0,s&&Kr(),this.#o!==null&&De(this.#o,()=>{this.#o=null}),this.#m(()=>{this.#w()})},l=a=>{try{s=!0,n?.(a,o),s=!1}catch(f){ye(f,this.#s&&this.#s.parent)}r&&(this.#o=this.#m(()=>{try{return W(()=>{var f=w;f.b=this,f.f|=It,r(this.#e,()=>a,()=>o)})}catch(f){return ye(f,this.#s.parent),null}}))};Oe(()=>{var a;try{a=this.transform_error(t)}catch(f){ye(f,this.#s&&this.#s.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(l,f=>ye(f,this.#s&&this.#s.parent)):l(a)})}}function fi(e,t,n,r){const i=wt;var s=e.filter(h=>!h.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=w,l=ai(),a=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(h=>h.promise)):null;function f(h){l();try{r(h)}catch(_){(o.f&Y)===0&&ye(_,o)}mt()}if(n.length===0){a.then(()=>f(t.map(i)));return}var u=Ln();function v(){Promise.all(n.map(h=>ui(h))).then(h=>f([...t.map(i),...h])).catch(h=>ye(h,o)).finally(()=>u())}a?a.then(()=>{l(),v(),mt()}):v()}function ai(){var e=w,t=m,n=U,r=E;return function(s=!0){oe(e),G(t),Be(n),s&&(e.f&Y)===0&&(r?.activate(),r?.apply())}}function mt(e=!0){oe(null),G(null),Be(null),e&&E?.deactivate()}function Ln(){var e=w,t=e.b,n=E,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function wt(e){var t=R|M,n=m!==null&&(m.f&R)!==0?m:null;return w!==null&&(w.f|=Ne),{ctx:U,deps:null,effects:null,equals:xn,f:t,fn:e,reactions:null,rv:0,v:O,wv:0,parent:n??w,ac:null}}function ui(e,t,n){let r=w;r===null&&zr();var i=void 0,s=Me(O),o=!m,l=new Map;return $i(()=>{var a=w,f=mn();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(mt)}catch(_){f.reject(_),mt()}var u=E;if(o){if((a.f&we)!==0)var v=Ln();if(r.b.is_rendered())l.get(u)?.reject(he),l.delete(u);else{for(const _ of l.values())_.reject(he);l.clear()}l.set(u,f)}const h=(_,c=void 0)=>{if(v){var g=c===he;v(g)}if(!(c===he||(a.f&Y)!==0)){if(u.activate(),c)s.f|=be,Ue(s,c);else{(s.f&be)!==0&&(s.f^=be),Ue(s,_);for(const[x,y]of l){if(l.delete(x),x===u)break;y.reject(he)}}u.deactivate()}};f.promise.then(h,_=>h(null,_||"unknown"))}),Jn(()=>{for(const a of l.values())a.reject(he)}),new Promise(a=>{function f(u){function v(){u===i?a(s):f(i)}u.then(v,v)}f(i)})}function bt(e){const t=wt(e);return sr(t),t}function ci(e){const t=wt(e);return t.equals=En,t}function hi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)I(t[n])}}function di(e){for(var t=e.parent;t!==null;){if((t.f&R)===0)return(t.f&Y)===0?t:null;t=t.parent}return null}function qt(e){var t,n=w;oe(di(e));try{e.f&=~Re,hi(e),t=ur(e)}finally{oe(n)}return t}function zn(e){var t=e.v,n=qt(e);if(!e.equals(n)&&(e.wv=fr(),(!E?.is_fork||e.deps===null)&&(e.v=n,E?.capture(e,t,!0),e.deps===null))){S(e,A);return}Ee||(Z!==null?(Gt()||E?.is_fork)&&Z.set(e,n):zt(e))}function vi(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(he),t.teardown=Dr,t.ac=null,it(t,0),Jt(t))}function Hn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ge(t)}let Bt=new Set;const xe=new Map;let jn=!1;function Me(e,t){var n={f:0,v:e,reactions:null,equals:xn,rv:0,wv:0};return n}function re(e,t){const n=Me(e);return sr(n),n}function Vn(e,t=!1,n=!0){const r=Me(e);return t||(r.equals=En),r}function k(e,t,n=!1){m!==null&&(!Q||(m.f&yn)!==0)&&kn()&&(m.f&(R|ge|Pt|yn))!==0&&(K===null||!He.call(K,e))&&Gr();let r=n?tt(t):t;return Ue(e,r,gt)}function Ue(e,t,n=null){if(!e.equals(t)){var r=e.v;Ee?xe.set(e,t):xe.set(e,r),e.v=t;var i=ve.ensure();if(i.capture(e,r),(e.f&R)!==0){const s=e;(e.f&M)!==0&&qt(s),Z===null&&zt(s)}e.wv=fr(),qn(e,M,n),w!==null&&(w.f&A)!==0&&(w.f&(X|me))===0&&(J===null?Ti([e]):J.push(e)),!i.is_fork&&Bt.size>0&&!jn&&_i()}return t}function _i(){jn=!1;for(const e of Bt)(e.f&A)!==0&&S(e,te),rt(e)&&Ge(e);Bt.clear()}function pi(e,t=1){var n=d(e),r=t===1?n++:n--;return k(e,n),r}function et(e){k(e,e.v+1)}function qn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,a=(l&M)===0;if(a&&S(o,t),(l&R)!==0){var f=o;Z?.delete(f),(l&Re)===0&&(l&B&&(o.f|=Re),qn(f,te,n))}else if(a){var u=o;(l&ge)!==0&&_e!==null&&_e.add(u),n!==null?n.push(u):Vt(u)}}}function tt(e){if(typeof e!="object"||e===null||Lt in e)return e;const t=pn(e);if(t!==Or&&t!==Mr)return e;var n=new Map,r=_n(e),i=re(0),s=Fe,o=l=>{if(Fe===s)return l();var a=m,f=Fe;G(null),or(s);var u=l();return G(a),or(f),u};return r&&n.set("length",re(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Ur();var u=n.get(a);return u===void 0?o(()=>{var v=re(f.value);return n.set(a,v),v}):k(u,f.value,!0),!0},deleteProperty(l,a){var f=n.get(a);if(f===void 0){if(a in l){const u=o(()=>re(O));n.set(a,u),et(i)}}else k(f,O),et(i);return!0},get(l,a,f){if(a===Lt)return e;var u=n.get(a),v=a in l;if(u===void 0&&(!v||je(l,a)?.writable)&&(u=o(()=>{var _=tt(v?l[a]:O),c=re(_);return c}),n.set(a,u)),u!==void 0){var h=d(u);return h===O?void 0:h}return Reflect.get(l,a,f)},getOwnPropertyDescriptor(l,a){var f=Reflect.getOwnPropertyDescriptor(l,a);if(f&&"value"in f){var u=n.get(a);u&&(f.value=d(u))}else if(f===void 0){var v=n.get(a),h=v?.v;if(v!==void 0&&h!==O)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(l,a){if(a===Lt)return!0;var f=n.get(a),u=f!==void 0&&f.v!==O||Reflect.has(l,a);if(f!==void 0||w!==null&&(!u||je(l,a)?.writable)){f===void 0&&(f=o(()=>{var h=u?tt(l[a]):O,_=re(h);return _}),n.set(a,f));var v=d(f);if(v===O)return!1}return u},set(l,a,f,u){var v=n.get(a),h=a in l;if(r&&a==="length")for(var _=f;_<v.v;_+=1){var c=n.get(_+"");c!==void 0?k(c,O):_ in l&&(c=o(()=>re(O)),n.set(_+"",c))}if(v===void 0)(!h||je(l,a)?.writable)&&(v=o(()=>re(void 0)),k(v,tt(f)),n.set(a,v));else{h=v.v!==O;var g=o(()=>tt(f));k(v,g)}var x=Reflect.getOwnPropertyDescriptor(l,a);if(x?.set&&x.set.call(u,f),!h){if(r&&typeof a=="string"){var y=n.get("length"),T=Number(a);Number.isInteger(T)&&T>=y.v&&k(y,T+1)}et(i)}return!0},ownKeys(l){d(i);var a=Reflect.ownKeys(l).filter(v=>{var h=n.get(v);return h===void 0||h.v!==O});for(var[f,u]of n)u.v!==O&&!(f in l)&&a.push(f);return a},setPrototypeOf(){Wr()}})}var Bn,Yn,Un,Wn;function Yt(){if(Bn===void 0){Bn=window,Yn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Un=je(t,"firstChild").get,Wn=je(t,"nextSibling").get,gn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),gn(n)&&(n.__t=void 0)}}function z(e=""){return document.createTextNode(e)}function We(e){return Un.call(e)}function ie(e){return Wn.call(e)}function se(e,t){if(!$)return We(e);var n=We(b);if(n===null)n=b.appendChild(z());else if(t&&n.nodeType!==Ke){var r=z();return n?.before(r),F(r),r}return t&&$t(n),F(n),n}function yt(e,t=!1){if(!$){var n=We(e);return n instanceof Comment&&n.data===""?ie(n):n}if(t){if(b?.nodeType!==Ke){var r=z();return b?.before(r),F(r),r}$t(b)}return b}function nt(e,t=1,n=!1){let r=$?b:e;for(var i;t--;)i=r,r=ie(r);if(!$)return r;if(n){if(r?.nodeType!==Ke){var s=z();return r===null?i?.after(s):r.before(s),F(s),s}$t(r)}return F(r),r}function Gn(e){e.textContent=""}function Kn(){return!1}function Ut(e,t,n){return document.createElementNS(vn,e,void 0)}function $t(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Ke;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Wt(e){var t=m,n=w;G(null),oe(null);try{return e()}finally{G(t),oe(n)}}function gi(e){w===null&&(m===null&&qr(),Vr()),Ee&&jr()}function mi(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function le(e,t){var n=w;n!==null&&(n.f&L)!==0&&(e|=L);var r={ctx:U,deps:null,nodes:null,f:e|M|B,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&Ve)!==0)Ye!==null?Ye.push(r):ve.ensure().schedule(r);else if(t!==null){try{Ge(r)}catch(o){throw I(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ne)===0&&(i=i.first,(e&ge)!==0&&(e&qe)!==0&&i!==null&&(i.f|=qe))}if(i!==null&&(i.parent=n,n!==null&&mi(i,n),m!==null&&(m.f&R)!==0&&(e&me)===0)){var s=m;(s.effects??=[]).push(i)}return r}function Gt(){return m!==null&&!Q}function Jn(e){const t=le(vt,null);return S(t,A),t.teardown=e,t}function Xn(e){gi();var t=w.f,n=!m&&(t&X)!==0&&(t&we)===0;if(n){var r=U;(r.e??=[]).push(e)}else return Zn(e)}function Zn(e){return le(Ve|Pr,e)}function wi(e){ve.ensure();const t=le(me|Ne,e);return()=>{I(t)}}function bi(e){ve.ensure();const t=le(me|Ne,e);return(n={})=>new Promise(r=>{n.outro?De(t,()=>{I(t),r(void 0)}):(I(t),r(void 0))})}function yi(e){return le(Ve,e)}function $i(e){return le(Pt|Ne,e)}function Qn(e,t=0){return le(vt|t,e)}function xt(e,t=[],n=[],r=[]){fi(r,t,n,i=>{le(vt,()=>e(...i.map(d)))})}function Kt(e,t=0){var n=le(ge|t,e);return n}function W(e){return le(X|Ne,e)}function er(e){var t=e.teardown;if(t!==null){const n=Ee,r=m;ir(!0),G(null);try{t.call(null)}finally{ir(n),G(r)}}}function Jt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Wt(()=>{i.abort(he)});var r=n.next;(n.f&me)!==0?n.parent=null:I(n,t),n=r}}function xi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&X)===0&&I(t),t=n}}function I(e,t=!0){var n=!1;(t||(e.f&Fr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Ei(e.nodes.start,e.nodes.end),n=!0),S(e,bn),Jt(e,t&&!n),it(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();er(e),e.f^=bn,e.f|=Y;var i=e.parent;i!==null&&i.first!==null&&tr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ei(e,t){for(;e!==null;){var n=e===t?null:ie(e);e.remove(),e=n}}function tr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function De(e,t,n=!0){var r=[];nr(e,r,!0);var i=()=>{n&&I(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function nr(e,t,n){if((e.f&L)===0){e.f^=L;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&qe)!==0||(i.f&X)!==0&&(e.f&ge)!==0;nr(i,t,o?n:!1),i=s}}}function Xt(e){rr(e,!0)}function rr(e,t){if((e.f&L)!==0){e.f^=L,(e.f&A)===0&&(S(e,M),ve.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&qe)!==0||(n.f&X)!==0;rr(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function Zt(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ie(n);t.append(n),n=i}}let Et=!1,Ee=!1;function ir(e){Ee=e}let m=null,Q=!1;function G(e){m=e}let w=null;function oe(e){w=e}let K=null;function sr(e){m!==null&&(K===null?K=[e]:K.push(e))}let P=null,H=0,J=null;function Ti(e){J=e}let lr=1,Ie=0,Fe=Ie;function or(e){Fe=e}function fr(){return++lr}function rt(e){var t=e.f;if((t&M)!==0)return!0;if(t&R&&(e.f&=~Re),(t&te)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(rt(s)&&zn(s),s.wv>e.wv)return!0}(t&B)!==0&&Z===null&&S(e,A)}return!1}function ar(e,t,n=!0){var r=e.reactions;if(r!==null&&!(K!==null&&He.call(K,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&R)!==0?ar(s,t,!1):t===s&&(n?S(s,M):(s.f&A)!==0&&S(s,te),Vt(s))}}function ur(e){var t=P,n=H,r=J,i=m,s=K,o=U,l=Q,a=Fe,f=e.f;P=null,H=0,J=null,m=(f&(X|me))===0?e:null,K=null,Be(e.ctx),Q=!1,Fe=++Ie,e.ac!==null&&(Wt(()=>{e.ac.abort(he)}),e.ac=null);try{e.f|=Ft;var u=e.fn,v=u();e.f|=we;var h=e.deps,_=E?.is_fork;if(P!==null){var c;if(_||it(e,H),h!==null&&H>0)for(h.length=H+P.length,c=0;c<P.length;c++)h[H+c]=P[c];else e.deps=h=P;if(Gt()&&(e.f&B)!==0)for(c=H;c<h.length;c++)(h[c].reactions??=[]).push(e)}else!_&&h!==null&&H<h.length&&(it(e,H),h.length=H);if(kn()&&J!==null&&!Q&&h!==null&&(e.f&(R|te|M))===0)for(c=0;c<J.length;c++)ar(J[c],e);if(i!==null&&i!==e){if(Ie++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=Ie;if(t!==null)for(const g of t)g.rv=Ie;J!==null&&(r===null?r=J:r.push(...J))}return(e.f&be)!==0&&(e.f^=be),v}catch(g){return Nn(g)}finally{e.f^=Ft,P=t,H=n,J=r,m=i,K=s,Be(o),Q=l,Fe=a}}function Si(e,t){let n=t.reactions;if(n!==null){var r=Rr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&R)!==0&&(P===null||!He.call(P,t))){var s=t;(s.f&B)!==0&&(s.f^=B,s.f&=~Re),zt(s),vi(s),it(s,0)}}function it(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Si(e,n[r])}function Ge(e){var t=e.f;if((t&Y)===0){S(e,A);var n=w,r=Et;w=e,Et=!0;try{(t&(ge|wn))!==0?xi(e):Jt(e),er(e);var i=ur(e);e.teardown=typeof i=="function"?i:null,e.wv=lr;var s;Nr&&Qr&&(e.f&M)!==0&&e.deps}finally{Et=r,w=n}}}function d(e){var t=e.f,n=(t&R)!==0;if(m!==null&&!Q){var r=w!==null&&(w.f&Y)!==0;if(!r&&(K===null||!He.call(K,e))){var i=m.deps;if((m.f&Ft)!==0)e.rv<Ie&&(e.rv=Ie,P===null&&i!==null&&i[H]===e?H++:P===null?P=[e]:P.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:He.call(s,m)||s.push(m)}}}if(Ee&&xe.has(e))return xe.get(e);if(n){var o=e;if(Ee){var l=o.v;return((o.f&A)===0&&o.reactions!==null||hr(o))&&(l=qt(o)),xe.set(o,l),l}var a=(o.f&B)===0&&!Q&&m!==null&&(Et||(m.f&B)!==0),f=(o.f&we)===0;rt(o)&&(a&&(o.f|=B),zn(o)),a&&!f&&(Hn(o),cr(o))}if(Z?.has(e))return Z.get(e);if((e.f&be)!==0)throw e.v;return e.v}function cr(e){if(e.f|=B,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&R)!==0&&(t.f&B)===0&&(Hn(t),cr(t))}function hr(e){if(e.v===O)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(xe.has(t)||(t.f&R)!==0&&hr(t))return!0;return!1}function ki(e){var t=Q;try{return Q=!0,e()}finally{Q=t}}const st=Symbol("events"),dr=new Set,Qt=new Set;function Ai(e,t,n,r={}){function i(s){if(r.capture||tn.call(t,s),!s.cancelBubble)return Wt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Oe(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Tt(e,t,n,r,i){var s={capture:r,passive:i},o=Ai(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Jn(()=>{t.removeEventListener(e,o,s)})}function en(e,t,n){(t[st]??={})[e]=n}function Ni(e){for(var t=0;t<e.length;t++)dr.add(e[t]);for(var n of Qt)n(e)}let vr=null;function tn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;vr=e;var o=0,l=vr===e&&e[st];if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e[st]=t;return}var f=i.indexOf(t);if(f===-1)return;a<=f&&(o=a)}if(s=i[o]||e.target,s!==t){dt(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=m,v=w;G(null),oe(null);try{for(var h,_=[];s!==null;){var c=s.assignedSlot||s.parentNode||s.host||null;try{var g=s[st]?.[r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(x){h?_.push(x):h=x}if(e.cancelBubble||c===t||c===null)break;s=c}if(h){for(let x of _)queueMicrotask(()=>{throw x});throw h}}finally{e[st]=t,delete e.currentTarget,G(u),oe(v)}}}const Ri=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ci(e){return Ri?.createHTML(e)??e}function Oi(e){var t=Ut("template");return t.innerHTML=Ci(e.replaceAll("<!>","<!---->")),t.content}function Te(e,t){var n=w;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function lt(e,t){var n=(t&kr)!==0,r=(t&Ar)!==0,i,s=!e.startsWith("<!>");return()=>{if($)return Te(b,null),b;i===void 0&&(i=Oi(s?e:"<!>"+e),n||(i=We(i)));var o=r||Yn?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=We(o),a=o.lastChild;Te(l,a)}else Te(o,o);return o}}function St(e=""){if(!$){var t=z(e+"");return Te(t,t),t}var n=b;return n.nodeType!==Ke?(n.before(n=z()),F(n)):$t(n),Te(n,n),n}function nn(){if($)return Te(b,null),b;var e=document.createDocumentFragment(),t=document.createComment(""),n=z();return e.append(t,n),Te(t,n),e}function j(e,t){if($){var n=w;((n.f&we)===0||n.nodes.end===null)&&(n.nodes.end=b),Xe();return}e!==null&&e.before(t)}const Mi=["touchstart","touchmove"];function Di(e){return Mi.includes(e)}function Ii(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function _r(e,t){return pr(e,t)}function Fi(e,t){Yt(),t.intro=t.intro??!1;const n=t.target,r=$,i=b;try{for(var s=We(n);s&&(s.nodeType!==Je||s.data!==hn);)s=ie(s);if(!s)throw ze;de(!0),F(s);const o=pr(e,{...t,anchor:s});return de(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==ze&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Yr(),Yt(),Gn(n),de(!1),_r(e,t)}finally{de(r),F(i)}}const kt=new Map;function pr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){Yt();var a=void 0,f=bi(()=>{var u=n??t.appendChild(z());li(u,{pending:()=>{}},_=>{Tn({});var c=U;if(s&&(c.c=s),i&&(r.$$events=i),$&&Te(_,null),a=e(_,r)||{},$&&(w.nodes.end=b,b===null||b.nodeType!==Je||b.data!==Dt))throw _t(),ze;Sn()},l);var v=new Set,h=_=>{for(var c=0;c<_.length;c++){var g=_[c];if(!v.has(g)){v.add(g);var x=Di(g);for(const fe of[t,document]){var y=kt.get(fe);y===void 0&&(y=new Map,kt.set(fe,y));var T=y.get(g);T===void 0?(fe.addEventListener(g,tn,{passive:x}),y.set(g,1)):y.set(g,T+1)}}}};return h(ct(dr)),Qt.add(h),()=>{for(var _ of v)for(const x of[t,document]){var c=kt.get(x),g=c.get(_);--g==0?(x.removeEventListener(_,tn),c.delete(_),c.size===0&&kt.delete(x)):c.set(_,g)}Qt.delete(h),u!==n&&u.parentNode?.removeChild(u)}});return rn.set(a,f),a}let rn=new WeakMap;function Pi(e,t){const n=rn.get(e);return n?(rn.delete(e),n(t)):Promise.resolve()}class Li{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Xt(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,o]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(o);l&&(I(l.effect),this.#t.delete(o))}for(const[s,o]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var f=document.createDocumentFragment();Zt(o,f),f.append(z()),this.#t.set(s,{effect:o,fragment:f})}else I(o);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),De(o,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(I(i.effect),this.#t.delete(r))};ensure(t,n){var r=E,i=Kn();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),o=z();s.append(o),this.#t.set(t,{effect:W(()=>n(o)),fragment:s})}else this.#n.set(t,W(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,a]of this.#n)l===t?r.unskip_effect(a):r.skip_effect(a);for(const[l,a]of this.#t)l===t?r.unskip_effect(a.effect):r.skip_effect(a.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else $&&(this.anchor=b),this.#r(r)}}function sn(e,t,n=!1){var r;$&&(r=b,Xe());var i=new Li(e),s=n?qe:0;function o(l,a){if($){var f=$n(r);if(l!==parseInt(f.substring(1))){var u=pt();F(u),i.anchor=u,de(!1),i.ensure(l,a),de(!0);return}}i.ensure(l,a)}Kt(()=>{var l=!1;t((a,f=0)=>{l=!0,o(f,a)}),l||o(-1,null)},s)}function zi(e,t,n){for(var r=[],i=t.length,s,o=t.length,l=0;l<i;l++){let v=t[l];De(v,()=>{if(s){if(s.pending.delete(v),s.done.add(v),s.pending.size===0){var h=e.outrogroups;ln(e,ct(s.done)),h.delete(s),h.size===0&&(e.outrogroups=null)}}else o-=1},!1)}if(o===0){var a=r.length===0&&n!==null;if(a){var f=n,u=f.parentNode;Gn(u),u.append(f),e.items.clear()}ln(e,t,!a)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function ln(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const o of e.pending.values())for(const l of o)r.add(e.items.get(l).e)}for(var i=0;i<t.length;i++){var s=t[i];if(r?.has(s)){s.f|=ce;const o=document.createDocumentFragment();Zt(s,o)}else I(t[i],n)}}var gr;function mr(e,t,n,r,i,s=null){var o=e,l=new Map;$&&Xe();var a=null,f=ci(()=>{var y=n();return _n(y)?y:y==null?[]:ct(y)}),u,v=new Map,h=!0;function _(y){(x.effect.f&Y)===0&&(x.pending.delete(y),x.fallback=a,Hi(x,u,o,t,r),a!==null&&(u.length===0?(a.f&ce)===0?Xt(a):(a.f^=ce,ft(a,null,o)):De(a,()=>{a=null})))}function c(y){x.pending.delete(y)}var g=Kt(()=>{u=d(f);var y=u.length;let T=!1;if($){var fe=$n(o)===Mt;fe!==(y===0)&&(o=pt(),F(o),de(!1),T=!0)}for(var ae=new Set,V=E,p=Kn(),D=0;D<y;D+=1){$&&b.nodeType===Je&&b.data===Dt&&(o=b,T=!0,de(!1));var N=u[D],ke=r(N,D),ee=h?null:l.get(ke);ee?(ee.v&&Ue(ee.v,N),ee.i&&Ue(ee.i,D),p&&V.unskip_effect(ee.e)):(ee=ji(l,h?o:gr??=z(),N,ke,D,i,t,n),h||(ee.e.f|=ce),l.set(ke,ee)),ae.add(ke)}if(y===0&&s&&!a&&(h?a=W(()=>s(o)):(a=W(()=>s(gr??=z())),a.f|=ce)),y>ae.size&&Hr(),$&&y>0&&F(pt()),!h)if(v.set(V,ae),p){for(const[Ae,ue]of l)ae.has(Ae)||V.skip_effect(ue.e);V.oncommit(_),V.ondiscard(c)}else _(V);T&&de(!0),d(f)}),x={effect:g,items:l,pending:v,outrogroups:null,fallback:a};h=!1,$&&(o=b)}function ot(e){for(;e!==null&&(e.f&X)===0;)e=e.next;return e}function Hi(e,t,n,r,i){var s=t.length,o=e.items,l=ot(e.effect.first),a,f=null,u=[],v=[],h,_,c,g;for(g=0;g<s;g+=1){if(h=t[g],_=i(h,g),c=o.get(_).e,e.outrogroups!==null)for(const N of e.outrogroups)N.pending.delete(c),N.done.delete(c);if((c.f&L)!==0&&Xt(c),(c.f&ce)!==0)if(c.f^=ce,c===l)ft(c,null,n);else{var x=f?f.next:l;c===e.effect.last&&(e.effect.last=c.prev),c.prev&&(c.prev.next=c.next),c.next&&(c.next.prev=c.prev),Se(e,f,c),Se(e,c,x),ft(c,x,n),f=c,u=[],v=[],l=ot(f.next);continue}if(c!==l){if(a!==void 0&&a.has(c)){if(u.length<v.length){var y=v[0],T;f=y.prev;var fe=u[0],ae=u[u.length-1];for(T=0;T<u.length;T+=1)ft(u[T],y,n);for(T=0;T<v.length;T+=1)a.delete(v[T]);Se(e,fe.prev,ae.next),Se(e,f,fe),Se(e,ae,y),l=y,f=ae,g-=1,u=[],v=[]}else a.delete(c),ft(c,l,n),Se(e,c.prev,c.next),Se(e,c,f===null?e.effect.first:f.next),Se(e,f,c),f=c;continue}for(u=[],v=[];l!==null&&l!==c;)(a??=new Set).add(l),v.push(l),l=ot(l.next);if(l===null)continue}(c.f&ce)===0&&u.push(c),f=c,l=ot(c.next)}if(e.outrogroups!==null){for(const N of e.outrogroups)N.pending.size===0&&(ln(e,ct(N.done)),e.outrogroups?.delete(N));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||a!==void 0){var V=[];if(a!==void 0)for(c of a)(c.f&L)===0&&V.push(c);for(;l!==null;)(l.f&L)===0&&l!==e.fallback&&V.push(l),l=ot(l.next);var p=V.length;if(p>0){var D=null;zi(e,V,D)}}}function ji(e,t,n,r,i,s,o,l){var a=(o&Er)!==0?(o&Sr)===0?Vn(n,!1,!1):Me(n):null,f=(o&Tr)!==0?Me(i):null;return{v:a,i:f,e:W(()=>(s(t,a??n,f??i,l),()=>{e.delete(r)}))}}function ft(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,s=t&&(t.f&ce)===0?t.nodes.start:n;r!==null;){var o=ie(r);if(s.before(r),r===i)return;r=o}}function Se(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function at(e,t,n,r,i){$&&Xe();var s=t.$$slots?.[n],o=!1;s===!0&&(s=t[n==="default"?"children":n],o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>r:r)}function Vi(e){const t={};e.children&&(t.default=!0);for(const n in e.$$slots)t[n]=!0;return t}function qi(e,t){yi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=Ut("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Bi(e,t){return e==null?null:String(e)}function on(e,t,n,r){var i=e.__style;if($||i!==t){var s=Bi(t);(!$||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Yi=Symbol("is custom element"),Ui=Symbol("is html");function Wi(e,t,n,r){var i=Gi(e);if($){i[t]=e.getAttribute(t);return}i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&Ki(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Gi(e){return e.__attributes??={[Yi]:e.nodeName.includes("-"),[Ui]:e.namespaceURI===vn}}var wr=new Map;function Ki(e){var t=e.getAttribute("is")||e.nodeName,n=wr.get(t);if(n)return n;wr.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Cr(i);for(var o in r)r[o].set&&n.push(o);i=pn(i)}return n}function At(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var a;a=()=>{var h=e[t];return h===void 0?o():(s=!0,h)};var f=!1,u=wt(()=>(f=!1,a())),v=w;return(function(h,_){if(arguments.length>0){const c=_?d(u):h;return k(u,c),f=!0,i!==void 0&&(i=c),h}return Ee&&f||(v.f&Y)!==0?u.v:d(u)})}function Ji(e){return new Xi(e)}class Xi{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=Vn(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return d(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===Lr?!0:(d(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return k(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?Fi:_r)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Qe(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||dt(this,s,{get(){return this.#n[s]},set(o){this.#n[s]=o},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Pi(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let br;typeof HTMLElement=="function"&&(br=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=Ut("slot");r!=="default"&&(s.name=r),j(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Zi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Nt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Ji({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=wi(()=>{Qn(()=>{this.$$r=!0;for(const r of ht(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Nt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Nt(e,n,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 ht(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Nt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="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 Zi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Qi(e,t,n,r,i,s){let o=class extends br{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ht(t).map(l=>(t[l].attribute||l).toLowerCase())}};return ht(t).forEach(l=>{dt(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=Nt(l,a,t),this.$$d[l]=a;var f=this.$$c;if(f){var u=je(f,l)?.get;u?f[l]=a:f.$set({[l]:a})}}})}),r.forEach(l=>{dt(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var es=lt('<div class="mySlides fade svelte-hth59o"><img alt="" class="svelte-hth59o"/></div>'),ts=lt('<span part="dot" class="dot svelte-hth59o"></span>'),ns=lt('<div part="caption_container" id="caption" class="svelte-hth59o"><div part="caption_content" class="text svelte-hth59o"> </div></div>'),rs=lt('<div id="cover_on_images" part="cover_on_images" class="svelte-hth59o"><!></div> <div class="slideshow-container svelte-hth59o"><div id="content" class="svelte-hth59o"><!> <span class="prev svelte-hth59o"><!></span> <span class="next svelte-hth59o"><!></span></div></div> <div id="dots" part="dots" class="svelte-hth59o"><!></div> <!>',1),is=lt('<div id="overlay" class="svelte-hth59o"><!></div>');const ss={hash:"svelte-hth59o",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");.svelte-hth59o {box-sizing:border-box;}:host {font-family:"Roboto", sans-serif;position:absolute;height:100%;max-height:100%;width:100%;overflow:hidden;}#cover_on_images.svelte-hth59o {position:absolute;width:100%;height:100%;z-index:2;}#content.svelte-hth59o {width:100%;height:100%;}#overlay.svelte-hth59o {width:100%;height:100%;}
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var y=1024,b=2048,x=4096,S=8192,ee=16384,C=32768,te=1<<25,ne=65536,re=1<<19,ie=1<<20,ae=1<<25,oe=65536,se=1<<21,ce=1<<22,le=1<<23,ue=Symbol(`$state`),de=Symbol(`legacy props`),fe=Symbol(``),pe=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},me=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function he(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ge(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function _e(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function ve(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function ye(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function be(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function xe(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Se(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Ce(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function we(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Te(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ee(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function De(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Oe(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var w=!1;function T(e){w=e}var E;function D(e){if(e===null)throw De(),t;return E=e}function ke(){return D(R(E))}function O(e){if(w){if(R(E)!==null)throw De(),t;E=e}}function Ae(e=1){if(w){for(var t=e,n=E;t--;)n=R(n);E=n}}function je(e=!0){for(var t=0,n=E;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=R(n);e&&n.remove(),n=i}}function Me(e){if(!e||e.nodeType!==8)throw De(),t;return e.data}function Ne(e){return e===this.v}function Pe(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Fe(e){return!Pe(e,this.v)}var Ie=!1,Le=!1,k=null;function Re(e){k=e}function ze(e,t=!1,n){k={p:k,i:!1,c:null,e:null,s:e,x:null,r:K,l:Le&&!t?{s:null,u:null,$:[]}:null}}function Be(e){var t=k,n=t.e;if(n!==null){t.e=null;for(var r of n)dn(r)}return e!==void 0&&(t.x=e),t.i=!0,k=t.p,e??{}}function Ve(){return!Le||k!==null&&k.l===null}var He=[];function Ue(){var e=He;He=[],_(e)}function We(e){if(He.length===0&&!nt){var t=He;queueMicrotask(()=>{t===He&&Ue()})}He.push(e)}function Ge(){for(;He.length>0;)Ue()}function Ke(e){var t=K;if(t===null)return U.f|=le,e;if(!(t.f&32768)&&!(t.f&4))throw e;qe(e,t)}function qe(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Je=~(b|x|y);function A(e,t){e.f=e.f&Je|t}function Ye(e){e.f&512||e.deps===null?A(e,y):A(e,x)}function Xe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=oe,Xe(t.deps))}function Ze(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Xe(e.deps),A(e,y)}var Qe=!1,$e=!1;function et(e){var t=$e;try{return $e=!1,[e(),$e]}finally{$e=t}}var j=new Set,M=null,N=null,tt=null,nt=!1,rt=!1,it=null,at=null,ot=0,st=1,ct=class e{id=st++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)A(n,b),this.schedule(n);for(n of t.m)A(n,x),this.schedule(n)}}#p(){if(ot++>1e3&&(j.delete(this),ut()),!this.#d()){for(let e of this.#o)this.#s.delete(e),A(e,b),this.schedule(e);for(let e of this.#s)A(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=it=[],r=[],i=at=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw gt(e),t}if(M=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(it=null,at=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)ht(e,t)}else{this.#n.size===0&&j.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),dt(r),dt(n),this.#i?.resolve()}var o=M;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(j.add(o),o.#p()),j.has(this)||this.#g()}#m(e,t,n){e.f^=y;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=y:i&4?t.push(r):Ie&&i&16777224?n.push(r):Bn(r)&&(i&16&&this.#s.add(r),Gn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)Ze(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),N?.set(e,e.v))}activate(){M=this}deactivate(){M=null,N=null}flush(){try{rt=!0,M=this,this.#p()}finally{ot=0,tt=null,it=null,at=null,rt=!1,M=null,N=null,It.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),j.delete(this)}#g(){for(let c of j){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)ft(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of j)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,We(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(M===null){let t=M=new e;rt||(j.add(M),nt||We(()=>{M===t&&t.flush()}))}return M}apply(){if(!Ie||!this.is_fork&&j.size===1){N=null;return}N=new Map;for(let[e,[t]]of this.current)N.set(e,t);for(let n of j)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)N.has(e)||N.set(e,t)}}schedule(e){if(tt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(it!==null&&t===K&&(Ie||(U===null||!(U.f&2))&&!Qe))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function lt(e){var t=nt;nt=!0;try{var n;for(e&&(M!==null&&!M.is_fork&&M.flush(),n=e());;){if(Ge(),M===null)return n;M.flush()}}finally{nt=t}}function ut(){try{be()}catch(e){qe(e,tt)}}var P=null;function dt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Bn(r)&&(P=new Set,Gn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Cn(r),P?.size>0)){It.clear();for(let e of P){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)P.has(n)&&(P.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Gn(n)}}P.clear()}}P=null}}function ft(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?ft(i,t,n,r):e&4194320&&!(e&2048)&&pt(i,t,r)&&(A(i,b),mt(i))}}function pt(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&pt(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function mt(e){M.schedule(e)}function ht(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),A(e,y);for(var n=e.first;n!==null;)ht(n,t),n=n.next}}function gt(e){A(e,y);for(var t=e.first;t!==null;)gt(t),t=t.next}function _t(e){let t=0,n=Rt(0),r;return()=>{cn()&&(Q(n),gn(()=>(t===0&&(r=Jn(()=>e(()=>Ut(n)))),t+=1,()=>{We(()=>{--t,t===0&&(r?.(),r=void 0,Ut(n))})})))}}var vt=ne|re;function yt(e,t,n,r){new bt(e,t,n,r)}var bt=class{parent;is_pending=!1;transform_error;#e;#t=w?E:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=_t(()=>(this.#m=Rt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=K;t.b=this,t.f|=128,n(e)},this.parent=K.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=vn(()=>{if(w){let e=this.#t;ke();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},vt),w&&(this.#e=E)}#g(){try{this.#a=V(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=V(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=V(()=>e(this.#e)),We(()=>{var e=this.#c=document.createDocumentFragment(),t=L();e.append(t),this.#a=this.#x(()=>V(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,wn(this.#o,()=>{this.#o=null}),this.#b(M))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=V(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();On(this.#a,e);let t=this.#n.pending;this.#o=V(()=>t(this.#e))}else this.#b(M)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Ze(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=K,n=U,r=k;q(this.#i),G(this.#i),Re(this.#i.ctx);try{return ct.ensure(),e()}catch(e){return Ke(e),null}finally{q(t),G(n),Re(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&wn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,We(()=>{this.#d=!1,this.#m&&Bt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Q(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(H(this.#a),null),this.#o&&=(H(this.#o),null),this.#s&&=(H(this.#s),null),w&&(D(this.#t),Ae(),D(je()));var r=!1,i=!1;let a=()=>{if(r){Oe();return}r=!0,i&&Ee(),this.#s!==null&&wn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){qe(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return V(()=>{var t=K;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return qe(e,this.#i.parent),null}}))};We(()=>{var t;try{t=this.transform_error(e)}catch(e){qe(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>qe(e,this.#i&&this.#i.parent)):o(t)})}};function xt(e,t,n,r){let i=Ve()?Tt:Ot;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=K,s=St(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||qe(e,o)}Ct()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=wt();function d(){Promise.all(n.map(e=>Et(e))).then(e=>l([...t.map(i),...e])).catch(e=>qe(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Ct()}):d()}function St(){var e=K,t=U,n=k,r=M;return function(i=!0){q(e),G(t),Re(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Ct(e=!0){q(null),G(null),Re(null),e&&M?.deactivate()}function wt(){var e=K,t=e.b,n=M,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function Tt(e){var t=2|b,r=U!==null&&U.f&2?U:null;return K!==null&&(K.f|=re),{ctx:k,deps:null,effects:null,equals:Ne,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??K,ac:null}}function Et(e,t,r){let i=K;i===null&&he();var a=void 0,o=Rt(n),s=!U,c=new Map;return hn(()=>{var t=K,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Ct)}catch(e){n.reject(e),Ct()}var r=M;if(s){if(t.f&32768)var l=wt();if(i.b.is_rendered())c.get(r)?.reject(pe),c.delete(r);else{for(let e of c.values())e.reject(pe);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===pe),!(n===pe||t.f&16384)){if(r.activate(),n)o.f|=le,Bt(o,n);else{o.f&8388608&&(o.f^=le),Bt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(pe)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),ln(()=>{for(let e of c.values())e.reject(pe)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function Dt(e){let t=Tt(e);return Ie||Nn(t),t}function Ot(e){let t=Tt(e);return t.equals=Fe,t}function kt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)H(t[n])}}function At(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function jt(e){var t,n=K;q(At(e));try{e.f&=~oe,kt(e),t=Hn(e)}finally{q(n)}return t}function Mt(e){var t=e.v,n=jt(e);if(!e.equals(n)&&(e.wv=zn(),(!M?.is_fork||e.deps===null)&&(e.v=n,M?.capture(e,t,!0),e.deps===null))){A(e,y);return}jn||(N===null?Ye(e):(cn()||M?.is_fork)&&N.set(e,n))}function Nt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(pe),t.teardown=g,t.ac=null,Wn(t,0),bn(t))}function Pt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Gn(t)}var Ft=new Set,It=new Map,Lt=!1;function Rt(e,t){return{f:0,v:e,reactions:null,equals:Ne,rv:0,wv:0}}function F(e,t){let n=Rt(e,t);return Nn(n),n}function zt(e,t=!1,n=!0){let r=Rt(e);return t||(r.equals=Fe),Le&&n&&k!==null&&k.l!==null&&(k.l.s??=[]).push(r),r}function I(e,t,n=!1){return U!==null&&(!W||U.f&131072)&&Ve()&&U.f&4325394&&(J===null||!o.call(J,e))&&Te(),Bt(e,n?Gt(t):t,at)}function Bt(e,t,n=null){if(!e.equals(t)){var r=e.v;jn?It.set(e,t):It.set(e,r),e.v=t;var i=ct.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&jt(t),N===null&&Ye(t)}e.wv=zn(),Wt(e,b,n),Ve()&&K!==null&&K.f&1024&&!(K.f&96)&&(Z===null?Pn([e]):Z.push(e)),!i.is_fork&&Ft.size>0&&!Lt&&Vt()}return t}function Vt(){Lt=!1;for(let e of Ft)e.f&1024&&A(e,x),Bn(e)&&Gn(e);Ft.clear()}function Ht(e,t=1){var n=Q(e),r=t===1?n++:n--;return I(e,n),r}function Ut(e){I(e,e.v+1)}function Wt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ve(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===K)){var l=(c&b)===0;if(l&&A(s,t),c&2){var u=s;N?.delete(u),c&65536||(c&512&&(s.f|=oe),Wt(u,x,n))}else if(l){var d=s;c&16&&P!==null&&P.add(d),n===null?mt(d):n.push(d)}}}}function Gt(e){if(typeof e!=`object`||!e||ue in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=F(0),s=null,c=Ln,l=e=>{if(Ln===c)return e();var t=U,n=Ln;G(null),Rn(c);var r=e();return G(t),Rn(n),r};return a&&r.set(`length`,F(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Ce();var i=r.get(t);return i===void 0?l(()=>{var e=F(n.value,s);return r.set(t,e),e}):I(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>F(n,s));r.set(t,e),Ut(o)}}else I(i,n),Ut(o);return!0},get(t,i,a){if(i===ue)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>F(Gt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=Q(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=Q(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===ue)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||K!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>F(a?Gt(e[t]):n,s)),r.set(t,i)),Q(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>F(n,s)),r.set(p+``,m)):I(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>F(void 0,s)),I(d,Gt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Gt(i));I(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&I(_,v+1)}Ut(o)}return!0},ownKeys(e){Q(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){we()}})}var Kt,qt,Jt,Yt;function Xt(){if(Kt===void 0){Kt=window,qt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Jt=u(t,`firstChild`).get,Yt=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function L(e=``){return document.createTextNode(e)}function Zt(e){return Jt.call(e)}function R(e){return Yt.call(e)}function z(e,t){if(!w)return Zt(e);var n=Zt(E);if(n===null)n=E.appendChild(L());else if(t&&n.nodeType!==3){var r=L();return n?.before(r),D(r),r}return t&&rn(n),D(n),n}function Qt(e,t=!1){if(!w){var n=Zt(e);return n instanceof Comment&&n.data===``?R(n):n}if(t){if(E?.nodeType!==3){var r=L();return E?.before(r),D(r),r}rn(E)}return E}function $t(e,t=1,n=!1){let r=w?E:e;for(var i;t--;)i=r,r=R(r);if(!w)return r;if(n){if(r?.nodeType!==3){var a=L();return r===null?i?.after(a):r.before(a),D(a),a}rn(r)}return D(r),r}function en(e){e.textContent=``}function tn(){return!Ie||P!==null?!1:(K.f&C)!==0}function nn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function rn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function an(e){var t=U,n=K;G(null),q(null);try{return e()}finally{G(t),q(n)}}function on(e){K===null&&(U===null&&ye(e),ve()),jn&&_e(e)}function sn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function B(e,t){var n=K;n!==null&&n.f&8192&&(e|=S);var r={ctx:k,deps:null,nodes:null,f:e|b|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)it===null?ct.ensure().schedule(r):it.push(r);else if(t!==null){try{Gn(r)}catch(e){throw H(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ne))}if(i!==null&&(i.parent=n,n!==null&&sn(i,n),U!==null&&U.f&2&&!(e&64))){var a=U;(a.effects??=[]).push(i)}return r}function cn(){return U!==null&&!W}function ln(e){let t=B(8,null);return A(t,y),t.teardown=e,t}function un(e){on(`$effect`);var t=K.f;if(!U&&t&32&&!(t&32768)){var n=k;(n.e??=[]).push(e)}else return dn(e)}function dn(e){return B(4|ie,e)}function fn(e){ct.ensure();let t=B(64|re,e);return()=>{H(t)}}function pn(e){ct.ensure();let t=B(64|re,e);return(e={})=>new Promise(n=>{e.outro?wn(t,()=>{H(t),n(void 0)}):(H(t),n(void 0))})}function mn(e){return B(4,e)}function hn(e){return B(ce|re,e)}function gn(e,t=0){return B(8|t,e)}function _n(e,t=[],n=[],r=[]){xt(r,t,n,t=>{B(8,()=>e(...t.map(Q)))})}function vn(e,t=0){return B(16|t,e)}function V(e){return B(32|re,e)}function yn(e){var t=e.teardown;if(t!==null){let e=jn,n=U;Mn(!0),G(null);try{t.call(null)}finally{Mn(e),G(n)}}}function bn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&an(()=>{e.abort(pe)});var r=n.next;n.f&64?n.parent=null:H(n,t),n=r}}function xn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||H(t),t=n}}function H(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Sn(e.nodes.start,e.nodes.end),n=!0),A(e,te),bn(e,t&&!n),Wn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();yn(e),e.f^=te,e.f|=ee;var i=e.parent;i!==null&&i.first!==null&&Cn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Sn(e,t){for(;e!==null;){var n=e===t?null:R(e);e.remove(),e=n}}function Cn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function wn(e,t,n=!0){var r=[];Tn(e,r,!0);var i=()=>{n&&H(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Tn(e,t,n){if(!(e.f&8192)){e.f^=S;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;Tn(i,t,o?n:!1),i=a}}}function En(e){Dn(e,!0)}function Dn(e,t){if(e.f&8192){e.f^=S,e.f&1024||(A(e,b),ct.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Dn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function On(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:R(n);t.append(n),n=i}}var kn=null,An=!1,jn=!1;function Mn(e){jn=e}var U=null,W=!1;function G(e){U=e}var K=null;function q(e){K=e}var J=null;function Nn(e){U!==null&&(!Ie||U.f&2)&&(J===null?J=[e]:J.push(e))}var Y=null,X=0,Z=null;function Pn(e){Z=e}var Fn=1,In=0,Ln=In;function Rn(e){Ln=e}function zn(){return++Fn}function Bn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~oe),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Bn(a)&&Mt(a),a.wv>e.wv)return!0}t&512&&N===null&&A(e,y)}return!1}function Vn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Ie&&J!==null&&o.call(J,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Vn(a,t,!1):t===a&&(n?A(a,b):a.f&1024&&A(a,x),mt(a))}}function Hn(e){var t=Y,n=X,r=Z,i=U,a=J,o=k,s=W,c=Ln,l=e.f;Y=null,X=0,Z=null,U=l&96?null:e,J=null,Re(e.ctx),W=!1,Ln=++In,e.ac!==null&&(an(()=>{e.ac.abort(pe)}),e.ac=null);try{e.f|=se;var u=e.fn,d=u();e.f|=C;var f=e.deps,p=M?.is_fork;if(Y!==null){var m;if(p||Wn(e,X),f!==null&&X>0)for(f.length=X+Y.length,m=0;m<Y.length;m++)f[X+m]=Y[m];else e.deps=f=Y;if(cn()&&e.f&512)for(m=X;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&X<f.length&&(Wn(e,X),f.length=X);if(Ve()&&Z!==null&&!W&&f!==null&&!(e.f&6146))for(m=0;m<Z.length;m++)Vn(Z[m],e);if(i!==null&&i!==e){if(In++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=In;if(t!==null)for(let e of t)e.rv=In;Z!==null&&(r===null?r=Z:r.push(...Z))}return e.f&8388608&&(e.f^=le),d}catch(e){return Ke(e)}finally{e.f^=se,Y=t,X=n,Z=r,U=i,J=a,Re(o),W=s,Ln=c}}function Un(e,t){let n=t.reactions;if(n!==null){var r=a.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(Y===null||!o.call(Y,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~oe),Ye(s),Nt(s),Wn(s,0)}}function Wn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Un(e,n[r])}function Gn(e){var t=e.f;if(!(t&16384)){A(e,y);var n=K,r=An;K=e,An=!0;try{t&16777232?xn(e):bn(e),yn(e);var i=Hn(e);e.teardown=typeof i==`function`?i:null,e.wv=Fn}finally{An=r,K=n}}}function Q(e){var t=(e.f&2)!=0;if(kn?.add(e),U!==null&&!W&&!(K!==null&&K.f&16384)&&(J===null||!o.call(J,e))){var n=U.deps;if(U.f&2097152)e.rv<In&&(e.rv=In,Y===null&&n!==null&&n[X]===e?X++:Y===null?Y=[e]:Y.push(e));else{(U.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[U]:o.call(r,U)||r.push(U)}}if(jn&&It.has(e))return It.get(e);if(t){var i=e;if(jn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||qn(i))&&(a=jt(i)),It.set(i,a),a}var s=(i.f&512)==0&&!W&&U!==null&&(An||(U.f&512)!=0),c=(i.f&C)===0;Bn(i)&&(s&&(i.f|=512),Mt(i)),s&&!c&&(Pt(i),Kn(i))}if(N?.has(e))return N.get(e);if(e.f&8388608)throw e.v;return e.v}function Kn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Pt(t),Kn(t))}function qn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(It.has(t)||t.f&2&&qn(t))return!0;return!1}function Jn(e){var t=W;try{return W=!0,e()}finally{W=t}}var Yn=Symbol(`events`),Xn=new Set,Zn=new Set;function Qn(e,t,n,r={}){function i(e){if(r.capture||rr.call(t,e),!e.cancelBubble)return an(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?We(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function $n(e,t,n,r,i){var a={capture:r,passive:i},o=Qn(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ln(()=>{t.removeEventListener(e,o,a)})}function er(e,t,n){(t[Yn]??={})[e]=n}function tr(e){for(var t=0;t<e.length;t++)Xn.add(e[t]);for(var n of Zn)n(e)}var nr=null;function rr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;nr=e;var o=0,s=nr===e&&e[Yn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Yn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=U,f=K;G(null),q(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Yn]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Yn]=t,delete e.currentTarget,G(d),q(f)}}}var ir=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function ar(e){return ir?.createHTML(e)??e}function or(e){var t=nn(`template`);return t.innerHTML=ar(e.replaceAll(`<!>`,`<!---->`)),t.content}function sr(e,t){var n=K;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function cr(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(w)return sr(E,null),E;i===void 0&&(i=or(a?e:`<!>`+e),n||(i=Zt(i)));var t=r||qt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Zt(t),s=t.lastChild;sr(o,s)}else sr(t,t);return t}}function lr(e=``){if(!w){var t=L(e+``);return sr(t,t),t}var n=E;return n.nodeType===3?rn(n):(n.before(n=L()),D(n)),sr(n,n),n}function ur(){if(w)return sr(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(``),n=L();return e.append(t,n),sr(t,n),e}function $(e,t){if(w){var n=K;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=E),ke();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var dr=[`touchstart`,`touchmove`];function fr(e){return dr.includes(e)}function pr(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function mr(e,t){return _r(e,t)}function hr(e,n){Xt(),n.intro=n.intro??!1;let r=n.target,i=w,a=E;try{for(var o=Zt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=R(o);if(!o)throw t;T(!0),D(o);let i=_r(e,{...n,anchor:o});return T(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&xe(),Xt(),en(r),T(!1),mr(e,n)}finally{T(i),D(a)}}var gr=new Map;function _r(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Xt();var u=void 0,d=pn(()=>{var c=r??n.appendChild(L());yt(c,{pending:()=>{}},n=>{ze({});var r=k;if(o&&(r.c=o),a&&(i.$$events=a),w&&sr(n,null),u=e(n,i)||{},w&&(K.nodes.end=E,E===null||E.nodeType!==8||E.data!==`]`))throw De(),t;Be()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=fr(r);for(let e of[n,document]){var a=gr.get(e);a===void 0&&(a=new Map,gr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,rr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(Xn)),Zn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=gr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,rr),t.delete(e),t.size===0&&gr.delete(r)):t.set(e,i)}Zn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return vr.set(u,d),u}var vr=new WeakMap;function yr(e,t){let n=vr.get(e);return n?(vr.delete(e),n(t)):Promise.resolve()}var br=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)En(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(H(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();On(r,t),t.append(L()),this.#n.set(e,{effect:r,fragment:t})}else H(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),wn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(H(n.effect),this.#n.delete(e))};ensure(e,t){var n=M,r=tn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=L();i.append(a),this.#n.set(e,{effect:V(()=>t(a)),fragment:i})}else this.#t.set(e,V(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else w&&(this.anchor=E),this.#a(n)}};function xr(e,t,n=!1){var r;w&&(r=E,ke());var i=new br(e),a=n?ne:0;function o(e,t){if(w){var n=Me(r);if(e!==parseInt(n.substring(1))){var a=je();D(a),i.anchor=a,T(!1),i.ensure(e,t),T(!0);return}}i.ensure(e,t)}vn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function Sr(e,t,n){for(var r=[],i=t.length,a,o=t.length,c=0;c<i;c++){let n=t[c];wn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;Cr(e,s(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;en(d),d.append(u),e.items.clear()}Cr(e,t,!l)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function Cr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=ae,On(a,document.createDocumentFragment())):H(t[i],n)}}var wr;function Tr(e,t,n,r,a,o=null){var c=e,l=new Map;if(t&4){var u=e;c=w?D(Zt(u)):u.appendChild(L())}w&&ke();var d=null,f=Ot(()=>{var e=n();return i(e)?e:e==null?[]:s(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Dr(v,p,c,t,r),d!==null&&(p.length===0?d.f&33554432?(d.f^=ae,kr(d,null,c)):En(d):wn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:vn(()=>{p=Q(f);var e=p.length;let i=!1;w&&Me(c)===`[!`!=(e===0)&&(c=je(),D(c),T(!1),i=!0);for(var s=new Set,u=M,v=tn(),y=0;y<e;y+=1){w&&E.nodeType===8&&E.data===`]`&&(c=E,i=!0,T(!1));var b=p[y],x=r(b,y),S=h?null:l.get(x);S?(S.v&&Bt(S.v,b),S.i&&Bt(S.i,y),v&&u.unskip_effect(S.e)):(S=Or(l,h?c:wr??=L(),b,x,y,a,t,n),h||(S.e.f|=ae),l.set(x,S)),s.add(x)}if(e===0&&o&&!d&&(h?d=V(()=>o(c)):(d=V(()=>o(wr??=L())),d.f|=ae)),e>s.size&&ge(``,``,``),w&&e>0&&D(je()),!h)if(m.set(u,s),v){for(let[e,t]of l)s.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);i&&T(!0),Q(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,w&&(c=E)}function Er(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Dr(e,t,n,r,i){var a=(r&8)!=0,o=t.length,c=e.items,l=Er(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(a)for(v=0;v<o;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<o;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(En(_),a&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=ae,_===l)kr(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Ar(e,d,_),Ar(e,_,y),kr(_,y,n),d=_,p=[],m=[],l=Er(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)kr(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);Ar(e,S.prev,ee.next),Ar(e,d,S),Ar(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),kr(_,l,n),Ar(e,_.prev,_.next),Ar(e,_,d===null?e.effect.first:d.next),Ar(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Er(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Er(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(Cr(e,s(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var C=[];if(u!==void 0)for(_ of u)_.f&8192||C.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&C.push(l),l=Er(l.next);var te=C.length;if(te>0){var ne=r&4&&o===0?n:null;if(a){for(v=0;v<te;v+=1)C[v].nodes?.a?.measure();for(v=0;v<te;v+=1)C[v].nodes?.a?.fix()}Sr(e,C,ne)}}a&&We(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Or(e,t,n,r,i,a,o,s){var c=o&1?o&16?Rt(n):zt(n,!1,!1):null,l=o&2?Rt(i):null;return{v:c,i:l,e:V(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function kr(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=R(r);if(a.before(r),r===i)return;r=o}}function Ar(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function jr(e,t,n,r,i){w&&ke();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function Mr(e){let t={};e.children&&(t.default=!0);for(let n in e.$$slots)t[n]=!0;return t}function Nr(e,t){mn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=nn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function Pr(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Fr(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Ir(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Fr)),i&&c.push(...Object.keys(i).map(Fr));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Fr(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Pr(r)),i&&(n+=Pr(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Lr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Rr(e,t,n,r){var i=e.__style;if(w||i!==t){var a=Ir(t,r);(!w||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(Lr(e,n?.[0],r[0]),Lr(e,n?.[1],r[1],`important`)):Lr(e,n,r));return r}var zr=Symbol(`is custom element`),Br=Symbol(`is html`),Vr=me?`link`:`LINK`;function Hr(e,t,n,r){var i=Ur(e);w&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Vr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[fe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Gr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ur(e){return e.__attributes??={[zr]:e.nodeName.includes(`-`),[Br]:e.namespaceURI===r}}var Wr=new Map;function Gr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Wr.get(t);if(n)return n;Wr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Kr(e,t,n,r){var i=!Le||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Jn(r):r),s);let d;if(a){var f=ue in e||de in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=et(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&Se(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?Tt:Ot)(()=>(_=!1,h()));a&&Q(v);var y=K;return(function(e,t){if(arguments.length>0){let n=t?Q(v):i&&a?Gt(e):e;return I(v,n),_=!0,s!==void 0&&(s=n),e}return jn&&_||y.f&16384?v.v:Q(v)})}function qr(e){return new Jr(e)}var Jr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=zt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Q(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===de?!0:(Q(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return I(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?hr:mr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Ie&&(!e?.props?.$$host||e.sync===!1)&&lt(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{yr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Yr;typeof HTMLElement==`function`&&(Yr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=nn(`slot`);e!==`default`&&(n.name=e),$(t,n)}}let t={},n=Zr(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Xr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=qr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=fn(()=>{gn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Xr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Xr(e,n,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 c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Xr(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`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 Zr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Qr(e,t,n,r,i,a){let o=class extends Yr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Xr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var $r=cr(`<div class="mySlides fade svelte-hth59o"><img alt="" class="svelte-hth59o"/></div>`),ei=cr(`<span part="dot" class="dot svelte-hth59o"></span>`),ti=cr(`<div part="caption_container" id="caption" class="svelte-hth59o"><div part="caption_content" class="text svelte-hth59o"> </div></div>`),ni=cr(`<div id="cover_on_images" part="cover_on_images" class="svelte-hth59o"><!></div> <div class="slideshow-container svelte-hth59o"><div id="content" class="svelte-hth59o"><!> <span class="prev svelte-hth59o"><!></span> <span class="next svelte-hth59o"><!></span></div></div> <div id="dots" part="dots" class="svelte-hth59o"><!></div> <!>`,1),ri=cr(`<div id="overlay" class="svelte-hth59o"><!></div>`),ii={hash:`svelte-hth59o`,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");.svelte-hth59o {box-sizing:border-box;}:host {font-family:"Roboto", sans-serif;position:absolute;height:100%;max-height:100%;width:100%;overflow:hidden;}#cover_on_images.svelte-hth59o {position:absolute;width:100%;height:100%;z-index:2;}#content.svelte-hth59o {width:100%;height:100%;}#overlay.svelte-hth59o {width:100%;height:100%;}
3
3
  /* Slideshow container */.slideshow-container.svelte-hth59o {max-width:100%;max-height:100%;position:relative;margin:auto;width:100%;height:100%;display:block;}
4
4
  /* Hide the images by default */.mySlides.svelte-hth59o {display:none;width:100%;height:100%;max-width:100%;max-height:100%;}img.svelte-hth59o {max-width:100%;max-height:100%;width:100%;height:100%;object-fit:cover;}#dots.svelte-hth59o {margin-bottom:10px;text-align:center;position:relative;bottom:50px;z-index:3;}
5
5
  /* Next & previous buttons */.prev.svelte-hth59o,
@@ -20,5 +20,5 @@
20
20
  to {
21
21
  opacity: 1;
22
22
  }
23
- }`};function yr(e,t){const n=Vi(t);Tn(t,!0),qi(e,ss);function r(p,D){t.$$host.dispatchEvent(new CustomEvent(p,{detail:D}))}let i=At(t,"id",7,""),s=At(t,"data"),o=At(t,"index",7,0),l=At(t,"timer"),a=re(!1),f=re(0),u;const v=bt(()=>!!n.overlay),h=bt(()=>{let p=s();if(typeof s()=="string")try{p=JSON.parse(s())}catch(N){return console.error("error parsing data",N),[]}return p?.length?p.filter(N=>N?.href).map((N,ke)=>({...N,index:N.index??ke})):[]}),_=bt(()=>{let p=o();return typeof o()=="string"&&(p=Number(o())),!p||p<0||p>d(h).length-1?0:p});Xn(()=>{k(f,d(_),!0)});const c=bt(()=>{if(!l())return;let p=l();return typeof l()=="string"&&(p=Number(l())),p<100?100:p});Xn(()=>{if(console.log(d(v),"overlayed"),d(c)&&d(h).length>0)return console.log("activate timer",d(c)),u&&clearInterval(u),u=setInterval(()=>{d(a)||(console.log("debug timer"),d(f)+1>d(h).length-1?k(f,0):pi(f),r("changeSlide",{index:d(f)}))},d(c)),()=>{u&&(clearInterval(u),u=void 0)}});function g(p){d(f)+p>d(h).length-1||d(f)+p<0?d(f)+p>d(h).length-1?k(f,0):k(f,d(h).length-1):k(f,d(f)+p),r("changeSlide",{index:d(f)})}function x(p){d(f)+p>d(h).length||d(f)+p<0?console.warn("Slide index out of range"):(k(f,p,!0),r("changeSlide",{index:d(f)}))}var y={get id(){return i()},set id(p=""){i(p),Qe()},get data(){return s()},set data(p){s(p),Qe()},get index(){return o()},set index(p=0){o(p),Qe()},get timer(){return l()},set timer(p){l(p),Qe()}},T=nn(),fe=yt(T);{var ae=p=>{var D=nn(),N=yt(D);{var ke=Ae=>{var ue=rs(),ut=yt(ue),fn=se(ut);at(fn,t,"cover_on_images",{},null),ne(ut);var Pe=nt(ut,2),$r=se(Pe),xr=se($r);mr(xr,17,()=>d(h),C=>C.index+C.href,(C,q)=>{var pe=es(),Le=se(pe);ne(pe),xt(()=>{on(pe,d(q).index===d(f)?"display:block;":"display:none;"),Wi(Le,"src",d(q).href)}),j(C,pe)});var Rt=nt(xr,2),ls=se(Rt);at(ls,t,"prev",{},C=>{var q=St("❮");j(C,q)}),ne(Rt);var an=nt(Rt,2),os=se(an);at(os,t,"next",{},C=>{var q=St("❯");j(C,q)}),ne(an),ne($r),ne(Pe);var Ct=nt(Pe,2),fs=se(Ct);at(fs,t,"dots",{},C=>{var q=nn(),pe=yt(q);mr(pe,17,()=>d(h),Le=>Le.index,(Le,Ot)=>{var un=ts();xt(()=>on(un,d(Ot).index===d(f)?"background-color: #717171;":"")),en("click",un,()=>{(d(Ot).index||d(Ot).index===0)&&x(d(Ot).index)}),j(Le,un)}),j(C,q)}),ne(Ct);var as=nt(Ct,2);{var us=C=>{var q=ns(),pe=se(q),Le=se(pe,!0);ne(pe),ne(q),xt(()=>Ii(Le,d(h)[d(f)].caption)),j(C,q)};sn(as,C=>{d(h)?.[d(f)]?.caption&&C(us)})}xt(C=>on(Ct,C),[()=>d(h)?.find?.(C=>C.caption)?"bottom: 100px;":""]),Tt("mouseenter",Pe,()=>{k(a,!0),r("onHover",{index:d(f),hover:d(a)})}),Tt("mouseleave",Pe,()=>{k(a,!1),r("onHover",{index:d(f),hover:d(a)})}),en("click",Rt,()=>g(-1)),en("click",an,()=>g(1)),j(Ae,ue)},ee=Ae=>{var ue=is(),ut=se(ue);at(ut,t,"overlay",{},fn=>{var Pe=St("overlay");j(fn,Pe)}),ne(ue),Tt("mouseenter",ue,()=>{k(a,!0)}),Tt("mouseleave",ue,()=>{k(a,!1),r("onHover",{index:d(f),hover:d(a)})}),j(Ae,ue)};sn(N,Ae=>{!d(v)||!d(a)?Ae(ke):Ae(ee,-1)})}j(p,D)},V=p=>{var D=St("no image provided as data");j(p,D)};sn(fe,p=>{d(h)?.length?p(ae):p(V,-1)})}return j(e,T),Sn(y)}Ni(["click"]),customElements.define("hb-site-slideshow",Qi(yr,{id:{},data:{},index:{},timer:{}},["cover_on_images","prev","next","dots","overlay"],[],{mode:"open"})),cn.Component=yr,Object.defineProperty(cn,Symbol.toStringTag,{value:"Module"})})(this["site-slideshow"]=this["site-slideshow"]||{});
24
- //# sourceMappingURL=main.iife.js.map
23
+ }`};function ai(e,t){let n=Mr(t);ze(t,!0),Nr(e,ii);function r(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}let i=Kr(t,`id`,7,``),a=Kr(t,`data`,7),o=Kr(t,`index`,7,0),s=Kr(t,`timer`,7),c=F(!1),l=F(0),u,d=Dt(()=>!!n.overlay),f=Dt(()=>{let e=a();if(typeof a()==`string`)try{e=JSON.parse(a())}catch(e){return console.error(`error parsing data`,e),[]}return e?.length?e.filter(e=>e?.href).map((e,t)=>({...e,index:e.index??t})):[]}),p=Dt(()=>{let e=o();return typeof o()==`string`&&(e=Number(o())),!e||e<0||e>Q(f).length-1?0:e});un(()=>{I(l,Q(p),!0)});let m=Dt(()=>{if(!s())return;let e=s();return typeof s()==`string`&&(e=Number(s())),e<100?100:e});un(()=>{if(console.log(Q(d),`overlayed`),Q(m)&&Q(f).length>0)return console.log(`activate timer`,Q(m)),u&&clearInterval(u),u=setInterval(()=>{Q(c)||(console.log(`debug timer`),Q(l)+1>Q(f).length-1?I(l,0):Ht(l),r(`changeSlide`,{index:Q(l)}))},Q(m)),()=>{u&&=(clearInterval(u),void 0)}});function h(e){Q(l)+e>Q(f).length-1||Q(l)+e<0?Q(l)+e>Q(f).length-1?I(l,0):I(l,Q(f).length-1):I(l,Q(l)+e),r(`changeSlide`,{index:Q(l)})}function g(e){Q(l)+e>Q(f).length||Q(l)+e<0?console.warn(`Slide index out of range`):(I(l,e,!0),r(`changeSlide`,{index:Q(l)}))}var _={get id(){return i()},set id(e=``){i(e),lt()},get data(){return a()},set data(e){a(e),lt()},get index(){return o()},set index(e=0){o(e),lt()},get timer(){return s()},set timer(e){s(e),lt()}},v=ur(),y=Qt(v),b=e=>{var n=ur(),i=Qt(n),a=e=>{var n=ni(),i=Qt(n);jr(z(i),t,`cover_on_images`,{},null),O(i);var a=$t(i,2),o=z(a),s=z(o);Tr(s,17,()=>Q(f),e=>e.index+e.href,(e,t)=>{var n=$r(),r=z(n);O(n),_n(()=>{Rr(n,Q(t).index===Q(l)?`display:block;`:`display:none;`),Hr(r,`src`,Q(t).href)}),$(e,n)});var u=$t(s,2);jr(z(u),t,`prev`,{},e=>{$(e,lr(`❮`))}),O(u);var d=$t(u,2);jr(z(d),t,`next`,{},e=>{$(e,lr(`❯`))}),O(d),O(o),O(a);var p=$t(a,2);jr(z(p),t,`dots`,{},e=>{var t=ur();Tr(Qt(t),17,()=>Q(f),e=>e.index,(e,t)=>{var n=ei();_n(()=>Rr(n,Q(t).index===Q(l)?`background-color: #717171;`:``)),er(`click`,n,()=>{(Q(t).index||Q(t).index===0)&&g(Q(t).index)}),$(e,n)}),$(e,t)}),O(p);var m=$t(p,2),_=e=>{var t=ti(),n=z(t),r=z(n,!0);O(n),O(t),_n(()=>pr(r,Q(f)[Q(l)].caption)),$(e,t)};xr(m,e=>{Q(f)?.[Q(l)]?.caption&&e(_)}),_n(e=>Rr(p,e),[()=>Q(f)?.find?.(e=>e.caption)?`bottom: 100px;`:``]),$n(`mouseenter`,a,()=>{I(c,!0),r(`onHover`,{index:Q(l),hover:Q(c)})}),$n(`mouseleave`,a,()=>{I(c,!1),r(`onHover`,{index:Q(l),hover:Q(c)})}),er(`click`,u,()=>h(-1)),er(`click`,d,()=>h(1)),$(e,n)},o=e=>{var n=ri();jr(z(n),t,`overlay`,{},e=>{$(e,lr(`overlay`))}),O(n),$n(`mouseenter`,n,()=>{I(c,!0)}),$n(`mouseleave`,n,()=>{I(c,!1),r(`onHover`,{index:Q(l),hover:Q(c)})}),$(e,n)};xr(i,e=>{!Q(d)||!Q(c)?e(a):e(o,-1)}),$(e,n)},x=e=>{$(e,lr(`no image provided as data`))};return xr(y,e=>{Q(f)?.length?e(b):e(x,-1)}),$(e,v),Be(_)}tr([`click`]),customElements.define(`hb-site-slideshow`,Qr(ai,{id:{},data:{},index:{},timer:{}},[`cover_on_images`,`prev`,`next`,`dots`,`overlay`],[],{mode:`open`})),e.Component=ai})(this[`site-slideshow`]=this[`site-slideshow`]||{});
24
+ //# sourceMappingURL=main.iife.js.map