@htmlbricks/hb-site-slideshow 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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +5 -4
- package/package.json +2 -2
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(nn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ur=1,cr=2,hr=16,dr=1,vr=2,rn="[",lt="[!",Ot="]",Le={},S=Symbol(),_r="http://www.w3.org/1999/xhtml",Dt=!1;var sn=Array.isArray,pr=Array.prototype.indexOf,Mt=Array.from,ot=Object.keys,at=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,gr=Object.getOwnPropertyDescriptors,mr=Object.prototype,wr=Array.prototype,ln=Object.getPrototypeOf,on=Object.isExtensible;function yr(e){for(var t=0;t<e.length;t++)e[t]()}function an(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const k=2,Pt=4,Lt=8,fe=16,ue=32,me=64,ft=128,K=512,C=1024,M=2048,ce=4096,I=8192,he=16384,ut=32768,Fe=65536,fn=1<<17,un=1<<18,Ee=1<<19,br=1<<20,Te=32768,It=1<<21,Ft=1<<22,we=1<<23,jt=Symbol("$state"),$r=Symbol("legacy props"),je=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ct=3,qe=8;function xr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Er(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Tr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function kr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Sr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Cr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Rr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Or(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ht(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function de(e){y=e}let m;function P(e){if(e===null)throw ht(),Le;return m=e}function We(){return P(ne(m))}function ee(e){if(y){if(ne(m)!==null)throw ht(),Le;m=e}}function Mr(e=1){if(y){for(var t=e,n=m;t--;)n=ne(n);m=n}}function dt(e=!0){for(var t=0,n=m;;){if(n.nodeType===qe){var r=n.data;if(r===Ot){if(t===0)return n;t-=1}else(r===rn||r===lt)&&(t+=1)}var i=ne(n);e&&n.remove(),n=i}}function cn(e){if(!e||e.nodeType!==qe)throw ht(),Le;return e.data}function hn(e){return e===this.v}function Pr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function dn(e){return!Pr(e,this.v)}let Lr=!1,V=null;function He(e){V=e}function vn(e,t=!1,n){V={p:V,i:!1,c:null,e:null,s:e,x:null,l:null}}function _n(e){var t=V,n=t.e;if(n!==null){t.e=null;for(var r of n)In(r)}return e!==void 0&&(t.x=e),t.i=!0,V=t.p,e??{}}function pn(){return!0}let ke=[];function gn(){var e=ke;ke=[],yr(e)}function vt(e){if(ke.length===0&&!Ge){var t=ke;queueMicrotask(()=>{t===ke&&gn()})}ke.push(e)}function Ir(){for(;ke.length>0;)gn()}function mn(e){var t=w;if(t===null)return g.f|=we,e;if((t.f&ut)===0){if((t.f&ft)===0)throw e;t.b.error(e)}else Be(e,t)}function Be(e,t){for(;t!==null;){if((t.f&ft)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const _t=new Set;let b=null,z=null,U=[],pt=null,qt=!1,Ge=!1;class X{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){U=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#l(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects)):(b=null,yn(n.render_effects),yn(n.effects),this.#a?.resolve()),z=null}#l(t,n){t.f^=C;for(var r=t.first;r!==null;){var i=r.f,s=(i&(ue|me))!==0,l=s&&(i&C)!==0,o=l||(i&I)!==0||this.skipped_effects.has(r);if((r.f&ft)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){s?r.f^=C:(i&Pt)!==0?n.effects.push(r):et(r)&&((r.f&fe)!==0&&n.block_effects.push(r),tt(r));var f=r.first;if(f!==null){r=f;continue}}var a=r.parent;for(r=r.next;r===null&&a!==null;)a===n.effect&&(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects),n=n.parent),r=a.next,a=a.parent}}#o(t){for(const n of t)((n.f&M)!==0?this.#s:this.#i).push(n),this.#f(n.deps),N(n,C)}#f(t){if(t!==null)for(const n of t)(n.f&k)===0||(n.f&Te)===0||(n.f^=Te,this.#f(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&we)===0&&(this.current.set(t,t.v),z?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,z=null)}flush(){if(this.activate(),U.length>0){if(wn(),b!==null&&b!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(_t.size>1){this.previous.clear();var t=z,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of _t){if(s===this){n=!1;continue}const l=[];for(const[f,a]of this.current){if(s.current.has(f))if(n&&a!==s.current.get(f))s.current.set(f,a);else continue;l.push(f)}if(l.length===0)continue;const o=[...s.current.keys()].filter(f=>!this.current.has(f));if(o.length>0){var i=U;U=[];const f=new Set,a=new Map;for(const c of l)bn(c,o,f,a);if(U.length>0){b=s,s.apply();for(const c of U)s.#l(c,r);s.deactivate()}U=i}}b=null,z=t}this.committed=!0,_t.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)N(t,M),Ae(t);for(const t of this.#i)N(t,ce),Ae(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=an()).promise}static ensure(){if(b===null){const t=b=new X;_t.add(b),Ge||X.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){vt(t)}apply(){}}function Je(e){var t=Ge;Ge=!0;try{for(var n;;){if(Ir(),U.length===0&&(b?.flush(),U.length===0))return pt=null,n;wn()}}finally{Ge=t}}function wn(){var e=be;qt=!0;var t=null;try{var n=0;for(xt(!0);U.length>0;){var r=X.ensure();if(n++>1e3){var i,s;Fr()}r.process(U),ye.clear()}}finally{qt=!1,xt(e),pt=null}}function Fr(){try{Ar()}catch(e){Be(e,pt)}}let ve=null;function yn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(he|I))===0&&et(r)&&(ve=new Set,tt(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Hn(r):r.fn=null),ve?.size>0)){ye.clear();for(const i of ve){if((i.f&(he|I))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)ve.has(l)&&(ve.delete(l),s.push(l)),l=l.parent;for(let o=s.length-1;o>=0;o--){const f=s[o];(f.f&(he|I))===0&&tt(f)}}ve.clear()}}ve=null}}function bn(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&k)!==0?bn(i,t,n,r):(s&(Ft|fe))!==0&&(s&M)===0&&$n(i,t,r)&&(N(i,M),Ae(i))}}function $n(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(t.includes(i))return!0;if((i.f&k)!==0&&$n(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Ae(e){for(var t=pt=e;t.parent!==null;){t=t.parent;var n=t.f;if(qt&&t===w&&(n&fe)!==0&&(n&un)===0)return;if((n&(me|ue))!==0){if((n&C)===0)return;t.f^=C}}U.push(t)}function jr(e){let t=0,n=Se(0),r;return()=>{bt()&&(d(n),Fn(()=>(t===0&&(r=fi(()=>e(()=>Xe(n)))),t+=1,()=>{vt(()=>{t-=1,t===0&&(r?.(),r=void 0,Xe(n))})})))}}var qr=Fe|Ee|ft;function Hr(e,t,n){new Br(e,t,n)}class Br{parent;#t=!1;#e;#n=y?m:null;#r;#a;#s;#i=null;#l=null;#o=null;#f=null;#u=null;#c=0;#h=0;#v=!1;#d=null;#w=jr(()=>(this.#d=Se(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=w.b,this.#t=!!this.#r.pending,this.#s=Yt(()=>{if(w.b=this,y){const s=this.#n;We(),s.nodeType===qe&&s.data===lt?this.#b():this.#y()}else{var i=this.#g();try{this.#i=Y(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},qr),y&&(this.#e=m)}#y(){try{this.#i=Y(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#b(){const t=this.#r.pending;t&&(this.#l=Y(()=>t(this.#e)),X.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(X.ensure(),Y(()=>this.#a(n)))),this.#h>0?this.#p():(Ue(this.#l,()=>{this.#l=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=F(),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.#r.pending}#_(t){var n=w,r=g,i=V;le(this.#s),L(this.#s),He(this.#s.ctx);try{return t()}catch(s){return mn(s),null}finally{le(n),L(r),He(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),zn(this.#i,this.#f)),this.#l===null&&(this.#l=Y(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#l&&Ue(this.#l,()=>{this.#l=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#d&&Ke(this.#d,this.#c)}get_effect_pending(){return this.#w(),d(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(O(this.#i),this.#i=null),this.#l&&(O(this.#l),this.#l=null),this.#o&&(O(this.#o),this.#o=null),y&&(P(this.#n),Mr(),P(dt()));var i=!1,s=!1;const l=()=>{if(i){Dr();return}i=!0,s&&Or(),X.ensure(),this.#c=0,this.#o!==null&&Ue(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,Y(()=>this.#a(this.#e)))),this.#h>0?this.#p():this.#t=!1};var o=g;try{L(null),s=!0,n?.(t,l),s=!1}catch(f){Be(f,this.#s&&this.#s.parent)}finally{L(o)}r&&vt(()=>{this.#o=this.#_(()=>{X.ensure(),this.#v=!0;try{return Y(()=>{r(this.#e,()=>t,()=>l)})}catch(f){return Be(f,this.#s.parent),null}finally{this.#v=!1}})})}}function Vr(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)Wt(t[s].e,r,!0);Bn(r,()=>{var l=r.length===0&&n!==null;if(l){var o=n,f=o.parentNode;Dn(f),f.append(o),e.items.clear(),te(e,t[0].prev,t[i-1].next)}for(var a=0;a<i;a++){var c=t[a];l||(e.items.delete(c.k),te(e,c.prev,c.next)),O(c.e,!l)}e.first===t[0]&&(e.first=t[0].prev)})}function xn(e,t,n,r,i,s=null){var l=e,o=new Map,f=null;y&&We();var a=null,c=Jr(()=>{var $=n();return sn($)?$:$==null?[]:Mt($)}),h,u=!0;function v(){zr(x,h,l,t,r),a!==null&&(h.length===0?(a.fragment?(l.before(a.fragment),a.fragment=null):Gt(a.effect),_.first=a.effect):Ue(a.effect,()=>{a=null}))}var _=Yt(()=>{h=d(c);var $=h.length;let H=!1;if(y){var A=cn(l)===lt;A!==($===0)&&(l=dt(),P(l),de(!1),H=!0)}for(var Oe=new Set,oe=b,ae=null,p=Mn(),R=0;R<$;R+=1){y&&m.nodeType===qe&&m.data===Ot&&(l=m,H=!0,de(!1));var G=h[R],xe=r(G,R),J=u?null:o.get(xe);J?(Ke(J.v,G),J.i=R,p&&oe.skipped_effects.delete(J.e)):(J=Ur(u?l:null,ae,G,xe,R,i,t,n),u&&(J.o=!0,ae===null?f=J:ae.next=J,ae=J),o.set(xe,J)),Oe.add(xe)}if($===0&&s&&!a)if(u)a={fragment:null,effect:Y(()=>s(l))};else{var pe=document.createDocumentFragment(),Q=F();pe.append(Q),a={fragment:pe,effect:Y(()=>s(Q))}}if(y&&$>0&&P(dt()),!u)if(p){for(const[De,st]of o)Oe.has(De)||oe.skipped_effects.add(st.e);oe.oncommit(v),oe.ondiscard(()=>{})}else v();H&&de(!0),d(c)}),x={effect:_,items:o,first:f};u=!1,y&&(l=m)}function zr(e,t,n,r,i){var s=t.length,l=e.items,o=e.first,f,a=null,c=[],h=[],u,v,_,x;for(x=0;x<s;x+=1){if(u=t[x],v=i(u,x),_=l.get(v),e.first??=_,!_.o){_.o=!0;var $=a?a.next:o;te(e,a,_),te(e,_,$),Ht(_,$,n),a=_,c=[],h=[],o=a.next;continue}if((_.e.f&I)!==0&&Gt(_.e),_!==o){if(f!==void 0&&f.has(_)){if(c.length<h.length){var H=h[0],A;a=H.prev;var Oe=c[0],oe=c[c.length-1];for(A=0;A<c.length;A+=1)Ht(c[A],H,n);for(A=0;A<h.length;A+=1)f.delete(h[A]);te(e,Oe.prev,oe.next),te(e,a,Oe),te(e,oe,H),o=H,a=oe,x-=1,c=[],h=[]}else f.delete(_),Ht(_,o,n),te(e,_.prev,_.next),te(e,_,a===null?e.first:a.next),te(e,a,_),a=_;continue}for(c=[],h=[];o!==null&&o.k!==v;)(o.e.f&I)===0&&(f??=new Set).add(o),h.push(o),o=o.next;if(o===null)continue;_=o}c.push(_),a=_,o=_.next}if(o!==null||f!==void 0){for(var ae=f===void 0?[]:Mt(f);o!==null;)(o.e.f&I)===0&&ae.push(o),o=o.next;var p=ae.length;if(p>0){var R=null;Vr(e,ae,R)}}}function Ur(e,t,n,r,i,s,l,o){var f=(l&ur)!==0,a=(l&hr)===0,c=f?a?An(n,!1,!1):Se(n):n,h=(l&cr)===0?i:Se(i),u={i:h,v:c,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=F())}return u.e=Y(()=>s(e,c,h,o)),t!==null&&(t.next=u),u}finally{}}function Ht(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var l=ne(s);i.before(s),s=l}}function te(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Yr(e,t,n,r){const i=mt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=b,l=w,o=Wr();function f(){Promise.all(n.map(a=>Gr(a))).then(a=>{o();try{r([...t.map(i),...a])}catch(c){(l.f&he)===0&&Be(c,l)}s?.deactivate(),gt()}).catch(a=>{Be(a,l)})}e.length>0?Promise.all(e).then(()=>{o();try{return f()}finally{s?.deactivate(),gt()}}):f()}function Wr(){var e=w,t=g,n=V,r=b;return function(s=!0){le(e),L(t),He(n),s&&r?.activate()}}function gt(){le(null),L(null),He(null)}function mt(e){var t=k|M,n=g!==null&&(g.f&k)!==0?g:null;return w!==null&&(w.f|=Ee),{ctx:V,deps:null,effects:null,equals:hn,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??w,ac:null}}function Gr(e,t){let n=w;n===null&&xr();var r=n.b,i=void 0,s=Se(S),l=!g,o=new Map;return ii(()=>{var f=an();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{a===b&&a.committed&&a.deactivate(),gt()})}catch(u){f.reject(u),gt()}var a=b;if(l){var c=!r.is_pending();r.update_pending_count(1),a.increment(c),o.get(a)?.reject(je),o.delete(a),o.set(a,f)}const h=(u,v=void 0)=>{if(a.activate(),v)v!==je&&(s.f|=we,Ke(s,v));else{(s.f&we)!==0&&(s.f^=we),Ke(s,u);for(const[_,x]of o){if(o.delete(_),_===a)break;x.reject(je)}}l&&(r.update_pending_count(-1),a.decrement(c))};f.promise.then(h,u=>h(null,u||"unknown"))}),Pn(()=>{for(const f of o.values())f.reject(je)}),new Promise(f=>{function a(c){function h(){c===i?f(s):a(i)}c.then(h,h)}a(i)})}function wt(e){const t=mt(e);return Yn(t),t}function Jr(e){const t=mt(e);return t.equals=dn,t}function En(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)O(t[n])}}function Kr(e){for(var t=e.parent;t!==null;){if((t.f&k)===0)return(t.f&he)===0?t:null;t=t.parent}return null}function Bt(e){var t,n=w;le(Kr(e));try{e.f&=~Te,En(e),t=Xn(e)}finally{le(n)}return t}function Tn(e){var t=Bt(e);if(e.equals(t)||(b?.is_fork||(e.v=t),e.wv=Jn()),!Ce)if(z!==null)bt()&&z.set(e,t);else{var n=(e.f&K)===0?ce:C;N(e,n)}}let Vt=new Set;const ye=new Map;let kn=!1;function Se(e,t){var n={f:0,v:e,reactions:null,equals:hn,rv:0,wv:0};return n}function Z(e,t){const n=Se(e);return Yn(n),n}function An(e,t=!1,n=!0){const r=Se(e);return t||(r.equals=dn),r}function E(e,t,n=!1){g!==null&&(!se||(g.f&fn)!==0)&&pn()&&(g.f&(k|fe|Ft|fn))!==0&&!_e?.includes(e)&&Rr();let r=n?Ve(t):t;return Ke(e,r)}function Ke(e,t){if(!e.equals(t)){var n=e.v;Ce?ye.set(e,t):ye.set(e,n),e.v=t;var r=X.ensure();r.capture(e,n),(e.f&k)!==0&&((e.f&M)!==0&&Bt(e),N(e,(e.f&K)!==0?C:ce)),e.wv=Jn(),Sn(e,M),w!==null&&(w.f&C)!==0&&(w.f&(ue|me))===0&&(W===null?oi([e]):W.push(e)),!r.is_fork&&Vt.size>0&&!kn&&Xr()}return t}function Xr(){kn=!1;var e=be;xt(!0);const t=Array.from(Vt);try{for(const n of t)(n.f&C)!==0&&N(n,ce),et(n)&&tt(n)}finally{xt(e)}Vt.clear()}function Zr(e,t=1){var n=d(e),r=t===1?n++:n--;return E(e,n),r}function Xe(e){E(e,e.v+1)}function Sn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,o=(l&M)===0;if(o&&N(s,t),(l&k)!==0){var f=s;z?.delete(f),(l&Te)===0&&(l&K&&(s.f|=Te),Sn(f,ce))}else o&&((l&fe)!==0&&ve!==null&&ve.add(s),Ae(s))}}function Ve(e){if(typeof e!="object"||e===null||jt in e)return e;const t=ln(e);if(t!==mr&&t!==wr)return e;var n=new Map,r=sn(e),i=Z(0),s=Ne,l=o=>{if(Ne===s)return o();var f=g,a=Ne;L(null),Gn(s);var c=o();return L(f),Gn(a),c};return r&&n.set("length",Z(e.length)),new Proxy(e,{defineProperty(o,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&Cr();var c=n.get(f);return c===void 0?c=l(()=>{var h=Z(a.value);return n.set(f,h),h}):E(c,a.value,!0),!0},deleteProperty(o,f){var a=n.get(f);if(a===void 0){if(f in o){const c=l(()=>Z(S));n.set(f,c),Xe(i)}}else E(a,S),Xe(i);return!0},get(o,f,a){if(f===jt)return e;var c=n.get(f),h=f in o;if(c===void 0&&(!h||Ie(o,f)?.writable)&&(c=l(()=>{var v=Ve(h?o[f]:S),_=Z(v);return _}),n.set(f,c)),c!==void 0){var u=d(c);return u===S?void 0:u}return Reflect.get(o,f,a)},getOwnPropertyDescriptor(o,f){var a=Reflect.getOwnPropertyDescriptor(o,f);if(a&&"value"in a){var c=n.get(f);c&&(a.value=d(c))}else if(a===void 0){var h=n.get(f),u=h?.v;if(h!==void 0&&u!==S)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return a},has(o,f){if(f===jt)return!0;var a=n.get(f),c=a!==void 0&&a.v!==S||Reflect.has(o,f);if(a!==void 0||w!==null&&(!c||Ie(o,f)?.writable)){a===void 0&&(a=l(()=>{var u=c?Ve(o[f]):S,v=Z(u);return v}),n.set(f,a));var h=d(a);if(h===S)return!1}return c},set(o,f,a,c){var h=n.get(f),u=f in o;if(r&&f==="length")for(var v=a;v<h.v;v+=1){var _=n.get(v+"");_!==void 0?E(_,S):v in o&&(_=l(()=>Z(S)),n.set(v+"",_))}if(h===void 0)(!u||Ie(o,f)?.writable)&&(h=l(()=>Z(void 0)),E(h,Ve(a)),n.set(f,h));else{u=h.v!==S;var x=l(()=>Ve(a));E(h,x)}var $=Reflect.getOwnPropertyDescriptor(o,f);if($?.set&&$.set.call(c,a),!u){if(r&&typeof f=="string"){var H=n.get("length"),A=Number(f);Number.isInteger(A)&&A>=H.v&&E(H,A+1)}Xe(i)}return!0},ownKeys(o){d(i);var f=Reflect.ownKeys(o).filter(h=>{var u=n.get(h);return u===void 0||u.v!==S});for(var[a,c]of n)c.v!==S&&!(a in o)&&f.push(a);return f},setPrototypeOf(){Nr()}})}var Cn,Nn,Rn,On;function zt(){if(Cn===void 0){Cn=window,Nn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Rn=Ie(t,"firstChild").get,On=Ie(t,"nextSibling").get,on(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),on(n)&&(n.__t=void 0)}}function F(e=""){return document.createTextNode(e)}function ze(e){return Rn.call(e)}function ne(e){return On.call(e)}function re(e,t){if(!y)return ze(e);var n=ze(m);if(n===null)n=m.appendChild(F());else if(t&&n.nodeType!==ct){var r=F();return n?.before(r),P(r),r}return P(n),n}function yt(e,t=!1){if(!y){var n=ze(e);return n instanceof Comment&&n.data===""?ne(n):n}if(t&&m?.nodeType!==ct){var r=F();return m?.before(r),P(r),r}return m}function Ze(e,t=1,n=!1){let r=y?m:e;for(var i;t--;)i=r,r=ne(r);if(!y)return r;if(n&&r?.nodeType!==ct){var s=F();return r===null?i?.after(s):r.before(s),P(s),s}return P(r),r}function Dn(e){e.textContent=""}function Mn(){return!1}function Ut(e){var t=g,n=w;L(null),le(null);try{return e()}finally{L(t),le(n)}}function Qr(e){w===null&&(g===null&&kr(),Tr()),Ce&&Er()}function ei(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ie(e,t,n){var r=w;r!==null&&(r.f&I)!==0&&(e|=I);var i={ctx:V,deps:null,nodes_start:null,nodes_end:null,f:e|M|K,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{tt(i),i.f|=ut}catch(o){throw O(i),o}else t!==null&&Ae(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ee)===0&&(s=s.first,(e&fe)!==0&&(e&Fe)!==0&&s!==null&&(s.f|=Fe)),s!==null&&(s.parent=r,r!==null&&ei(s,r),g!==null&&(g.f&k)!==0&&(e&me)===0)){var l=g;(l.effects??=[]).push(s)}return i}function bt(){return g!==null&&!se}function Pn(e){const t=ie(Lt,null,!1);return N(t,C),t.teardown=e,t}function Ln(e){Qr();var t=w.f,n=!g&&(t&ue)!==0&&(t&ut)===0;if(n){var r=V;(r.e??=[]).push(e)}else return In(e)}function In(e){return ie(Pt|br,e,!1)}function ti(e){X.ensure();const t=ie(me|Ee,e,!0);return()=>{O(t)}}function ni(e){X.ensure();const t=ie(me|Ee,e,!0);return(n={})=>new Promise(r=>{n.outro?Ue(t,()=>{O(t),r(void 0)}):(O(t),r(void 0))})}function ri(e){return ie(Pt,e,!1)}function ii(e){return ie(Ft|Ee,e,!0)}function Fn(e,t=0){return ie(Lt|t,e,!0)}function $t(e,t=[],n=[],r=[]){Yr(r,t,n,i=>{ie(Lt,()=>e(...i.map(d)),!0)})}function Yt(e,t=0){var n=ie(fe|t,e,!0);return n}function Y(e){return ie(ue|Ee,e,!0)}function jn(e){var t=e.teardown;if(t!==null){const n=Ce,r=g;Un(!0),L(null);try{t.call(null)}finally{Un(n),L(r)}}}function qn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ut(()=>{i.abort(je)});var r=n.next;(n.f&me)!==0?n.parent=null:O(n,t),n=r}}function si(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ue)===0&&O(t),t=n}}function O(e,t=!0){var n=!1;(t||(e.f&un)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(li(e.nodes_start,e.nodes_end),n=!0),qn(e,t&&!n),Et(e,0),N(e,he);var r=e.transitions;if(r!==null)for(const s of r)s.stop();jn(e);var i=e.parent;i!==null&&i.first!==null&&Hn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function li(e,t){for(;e!==null;){var n=e===t?null:ne(e);e.remove(),e=n}}function Hn(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 Ue(e,t,n=!0){var r=[];Wt(e,r,!0),Bn(r,()=>{n&&O(e),t&&t()})}function Bn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Wt(e,t,n){if((e.f&I)===0){if(e.f^=I,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Fe)!==0||(r.f&ue)!==0&&(e.f&fe)!==0;Wt(r,t,s?n:!1),r=i}}}function Gt(e){Vn(e,!0)}function Vn(e,t){if((e.f&I)!==0){e.f^=I,(e.f&C)===0&&(N(e,M),Ae(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Fe)!==0||(n.f&ue)!==0;Vn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function zn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:ne(n);t.append(n),n=i}}let be=!1;function xt(e){be=e}let Ce=!1;function Un(e){Ce=e}let g=null,se=!1;function L(e){g=e}let w=null;function le(e){w=e}let _e=null;function Yn(e){g!==null&&(_e===null?_e=[e]:_e.push(e))}let D=null,j=0,W=null;function oi(e){W=e}let Wn=1,Qe=0,Ne=Qe;function Gn(e){Ne=e}function Jn(){return++Wn}function et(e){var t=e.f;if((t&M)!==0)return!0;if(t&k&&(e.f&=~Te),(t&ce)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(et(s)&&Tn(s),s.wv>e.wv)return!0}(t&K)!==0&&z===null&&N(e,C)}return!1}function Kn(e,t,n=!0){var r=e.reactions;if(r!==null&&!_e?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&k)!==0?Kn(s,t,!1):t===s&&(n?N(s,M):(s.f&C)!==0&&N(s,ce),Ae(s))}}function Xn(e){var t=D,n=j,r=W,i=g,s=_e,l=V,o=se,f=Ne,a=e.f;D=null,j=0,W=null,g=(a&(ue|me))===0?e:null,_e=null,He(e.ctx),se=!1,Ne=++Qe,e.ac!==null&&(Ut(()=>{e.ac.abort(je)}),e.ac=null);try{e.f|=It;var c=e.fn,h=c(),u=e.deps;if(D!==null){var v;if(Et(e,j),u!==null&&j>0)for(u.length=j+D.length,v=0;v<D.length;v++)u[j+v]=D[v];else e.deps=u=D;if(be&&bt()&&(e.f&K)!==0)for(v=j;v<u.length;v++)(u[v].reactions??=[]).push(e)}else u!==null&&j<u.length&&(Et(e,j),u.length=j);if(pn()&&W!==null&&!se&&u!==null&&(e.f&(k|ce|M))===0)for(v=0;v<W.length;v++)Kn(W[v],e);return i!==null&&i!==e&&(Qe++,W!==null&&(r===null?r=W:r.push(...W))),(e.f&we)!==0&&(e.f^=we),h}catch(_){return mn(_)}finally{e.f^=It,D=t,j=n,W=r,g=i,_e=s,He(l),se=o,Ne=f}}function ai(e,t){let n=t.reactions;if(n!==null){var r=pr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&k)!==0&&(D===null||!D.includes(t))&&(N(t,ce),(t.f&K)!==0&&(t.f^=K,t.f&=~Te),En(t),Et(t,0))}function Et(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ai(e,n[r])}function tt(e){var t=e.f;if((t&he)===0){N(e,C);var n=w,r=be;w=e,be=!0;try{(t&fe)!==0?si(e):qn(e),jn(e);var i=Xn(e);e.teardown=typeof i=="function"?i:null,e.wv=Wn;var s;Dt&&Lr&&(e.f&M)!==0&&e.deps}finally{be=r,w=n}}}function d(e){var t=e.f,n=(t&k)!==0;if(g!==null&&!se){var r=w!==null&&(w.f&he)!==0;if(!r&&!_e?.includes(e)){var i=g.deps;if((g.f&It)!==0)e.rv<Qe&&(e.rv=Qe,D===null&&i!==null&&i[j]===e?j++:D===null?D=[e]:D.includes(e)||D.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:s.includes(g)||s.push(g)}}}if(Ce){if(ye.has(e))return ye.get(e);if(n){var l=e,o=l.v;return((l.f&C)===0&&l.reactions!==null||Qn(l))&&(o=Bt(l)),ye.set(l,o),o}}else n&&!z?.has(e)&&(l=e,et(l)&&Tn(l),be&&bt()&&(l.f&K)===0&&Zn(l));if(z?.has(e))return z.get(e);if((e.f&we)!==0)throw e.v;return e.v}function Zn(e){if(e.deps!==null){e.f^=K;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&k)!==0&&(t.f&K)===0&&Zn(t)}}function Qn(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ye.has(t)||(t.f&k)!==0&&Qn(t))return!0;return!1}function fi(e){var t=se;try{return se=!0,e()}finally{se=t}}const ui=-7169;function N(e,t){e.f=e.f&ui|t}const er=new Set,Jt=new Set;function ci(e,t,n,r={}){function i(s){if(r.capture||nt.call(t,s),!s.cancelBubble)return Ut(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?vt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Tt(e,t,n,r,i){var s={capture:r,passive:i},l=ci(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Pn(()=>{t.removeEventListener(e,l,s)})}function hi(e){for(var t=0;t<e.length;t++)er.add(e[t]);for(var n of Jt)n(e)}let tr=null;function nt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;tr=e;var l=0,o=tr===e&&e.__root;if(o){var f=i.indexOf(o);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(l=f)}if(s=i[l]||e.target,s!==t){at(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=g,h=w;L(null),le(null);try{for(var u,v=[];s!==null;){var _=s.assignedSlot||s.parentNode||s.host||null;try{var x=s["__"+r];x!=null&&(!s.disabled||e.target===s)&&x.call(s,e)}catch($){u?v.push($):u=$}if(e.cancelBubble||_===t||_===null)break;s=_}if(u){for(let $ of v)queueMicrotask(()=>{throw $});throw u}}finally{e.__root=t,delete e.currentTarget,L(c),le(h)}}}function di(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function $e(e,t){var n=w;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function rt(e,t){var n=(t&dr)!==0,r=(t&vr)!==0,i,s=!e.startsWith("<!>");return()=>{if(y)return $e(m,null),m;i===void 0&&(i=di(s?e:"<!>"+e),n||(i=ze(i)));var l=r||Nn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=ze(l),f=l.lastChild;$e(o,f)}else $e(l,l);return l}}function kt(e=""){if(!y){var t=F(e+"");return $e(t,t),t}var n=m;return n.nodeType!==ct&&(n.before(n=F()),P(n)),$e(n,n),n}function Kt(){if(y)return $e(m,null),m;var e=document.createDocumentFragment(),t=document.createComment(""),n=F();return e.append(t,n),$e(t,n),e}function q(e,t){if(y){var n=w;((n.f&ut)===0||n.nodes_end===null)&&(n.nodes_end=m),We();return}e!==null&&e.before(t)}const vi=["touchstart","touchmove"];function _i(e){return vi.includes(e)}function pi(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function nr(e,t){return rr(e,t)}function gi(e,t){zt(),t.intro=t.intro??!1;const n=t.target,r=y,i=m;try{for(var s=ze(n);s&&(s.nodeType!==qe||s.data!==rn);)s=ne(s);if(!s)throw Le;de(!0),P(s);const l=rr(e,{...t,anchor:s});return de(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw l;return l!==Le&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Sr(),zt(),Dn(n),de(!1),nr(e,t)}finally{de(r),P(i)}}const Ye=new Map;function rr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){zt();var o=new Set,f=h=>{for(var u=0;u<h.length;u++){var v=h[u];if(!o.has(v)){o.add(v);var _=_i(v);t.addEventListener(v,nt,{passive:_});var x=Ye.get(v);x===void 0?(document.addEventListener(v,nt,{passive:_}),Ye.set(v,1)):Ye.set(v,x+1)}}};f(Mt(er)),Jt.add(f);var a=void 0,c=ni(()=>{var h=n??t.appendChild(F());return Hr(h,{pending:()=>{}},u=>{if(s){vn({});var v=V;v.c=s}if(i&&(r.$$events=i),y&&$e(u,null),a=e(u,r)||{},y&&(w.nodes_end=m,m===null||m.nodeType!==qe||m.data!==Ot))throw ht(),Le;s&&_n()}),()=>{for(var u of o){t.removeEventListener(u,nt);var v=Ye.get(u);--v===0?(document.removeEventListener(u,nt),Ye.delete(u)):Ye.set(u,v)}Jt.delete(f),h!==n&&h.parentNode?.removeChild(h)}});return Xt.set(a,c),a}let Xt=new WeakMap;function mi(e,t){const n=Xt.get(e);return n?(Xt.delete(e),n(t)):Promise.resolve()}class wi{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#a=!0;constructor(t,n=!0){this.anchor=t,this.#a=n}#s=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Gt(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#n.get(l);o&&(O(o.effect),this.#n.delete(l))}for(const[s,l]of this.#e){if(s===n||this.#r.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var a=document.createDocumentFragment();zn(l,a),a.append(F()),this.#n.set(s,{effect:l,fragment:a})}else O(l);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),Ue(l,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(O(i.effect),this.#n.delete(r))};ensure(t,n){var r=b,i=Mn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),l=F();s.append(l),this.#n.set(t,{effect:Y(()=>n(l)),fragment:s})}else this.#e.set(t,Y(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[o,f]of this.#e)o===t?r.skipped_effects.delete(f):r.skipped_effects.add(f);for(const[o,f]of this.#n)o===t?r.skipped_effects.delete(f.effect):r.skipped_effects.add(f.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else y&&(this.anchor=m),this.#s()}}function Zt(e,t,n=!1){y&&We();var r=new wi(e),i=n?Fe:0;function s(l,o){if(y){const a=cn(e)===lt;if(l===a){var f=dt();P(f),r.anchor=f,de(!1),r.ensure(l,o),de(!0);return}}r.ensure(l,o)}Yt(()=>{var l=!1;t((o,f=!0)=>{l=!0,s(f,o)}),l||s(!1,null)},i)}function it(e,t,n,r,i){y&&We();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function yi(e){const t={};e.children&&(t.default=!0);for(const n in e.$$slots)t[n]=!0;return t}function bi(e,t){ri(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function $i(e,t){return e==null?null:String(e)}function Qt(e,t,n,r){var i=e.__style;if(y||i!==t){var s=$i(t);(!y||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const xi=Symbol("is custom element"),Ei=Symbol("is html");function Ti(e,t,n,r){var i=ki(e);if(y){i[t]=e.getAttribute(t);return}i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&Ai(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ki(e){return e.__attributes??={[xi]:e.nodeName.includes("-"),[Ei]:e.namespaceURI===_r}}var ir=new Map;function Ai(e){var t=e.getAttribute("is")||e.nodeName,n=ir.get(t);if(n)return n;ir.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=gr(i);for(var l in r)r[l].set&&n.push(l);i=ln(i)}return n}function At(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),o;o=e[t],o===void 0&&r!==void 0&&(o=l());var f;f=()=>{var u=e[t];return u===void 0?l():(s=!0,u)};var a=!1,c=mt(()=>(a=!1,f())),h=w;return(function(u,v){if(arguments.length>0){const _=v?d(c):u;return E(c,_),a=!0,i!==void 0&&(i=_),u}return Ce&&a||(h.f&he)!==0?c.v:d(c)})}function Si(e){return new Ci(e)}class Ci{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var o=An(l,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return d(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===$r?!0:(d(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,o){return E(n.get(l)??r(l,o),o),Reflect.set(s,l,o)}});this.#e=(t.hydrate?gi:nr)(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)&&Je(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||at(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{mi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let sr;typeof HTMLElement=="function"&&(sr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}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=document.createElement("slot");r!=="default"&&(s.name=r),q(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ni(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]=St(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=Si({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ti(()=>{Fn(()=>{this.$$r=!0;for(const r of ot(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=St(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]=St(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 ot(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function St(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 Ni(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Ri(e,t,n,r,i,s){let l=class extends sr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ot(t).map(o=>(t[o].attribute||o).toLowerCase())}};return ot(t).forEach(o=>{at(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(f){f=St(o,f,t),this.$$d[o]=f;var a=this.$$c;if(a){var c=Ie(a,o)?.get;c?a[o]=f:a.$set({[o]:f})}}})}),r.forEach(o=>{at(l.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=l,l}var Re={},lr;function Oi(){if(lr)return Re;lr=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.LanguageTranslator=void 0,Re.getChildStyleToPass=e,Re.addComponent=t;function e(r,i){var s,l,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||l===void 0)&&l.length))for(var f=function(u){var v=i?.filter(function(_){return _.name===u&&_.defaultValue!==r[u]});v&&(o+="".concat(u,":").concat(r[u],";"))},a=0,c=Object.keys(r);a<c.length;a++){var h=c[a];f(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(l)}document.head.appendChild(o)}catch(a){console.warn(a)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,o="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,l){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((o=s[l])===null||o===void 0)&&o[i]))return s[l][i];var f="",a=r.getDefaultLang();if(!l||a!==l){var c=s?.[a];c?.[i]&&(f=c[i])}return f},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return o.format(i)},r})();return Re.LanguageTranslator=n,Re}Oi();var Di=rt('<div class="mySlides fade svelte-hth59o"><img alt="" class="svelte-hth59o"/></div>'),Mi=rt('<span part="dot" class="dot svelte-hth59o"></span>'),Pi=rt('<div part="caption_container" id="caption" class="svelte-hth59o"><div part="caption_content" class="text svelte-hth59o"> </div></div>'),Li=rt('<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),Ii=rt('<div id="overlay" class="svelte-hth59o"><!></div>');const Fi={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(nn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ur=1,cr=2,hr=16,dr=1,vr=2,rn="[",lt="[!",Ot="]",Le={},S=Symbol(),_r="http://www.w3.org/1999/xhtml",Dt=!1;var sn=Array.isArray,pr=Array.prototype.indexOf,Mt=Array.from,ot=Object.keys,at=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,gr=Object.getOwnPropertyDescriptors,mr=Object.prototype,wr=Array.prototype,ln=Object.getPrototypeOf,on=Object.isExtensible;function yr(e){for(var t=0;t<e.length;t++)e[t]()}function an(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const k=2,Pt=4,Lt=8,fe=16,ue=32,me=64,ft=128,K=512,C=1024,M=2048,ce=4096,I=8192,he=16384,ut=32768,Fe=65536,fn=1<<17,un=1<<18,Ee=1<<19,br=1<<20,Te=32768,It=1<<21,Ft=1<<22,we=1<<23,jt=Symbol("$state"),$r=Symbol("legacy props"),je=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ct=3,qe=8;function xr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Er(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Tr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function kr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Sr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Cr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Rr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Or(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ht(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function de(e){y=e}let m;function P(e){if(e===null)throw ht(),Le;return m=e}function Ye(){return P(ne(m))}function Q(e){if(y){if(ne(m)!==null)throw ht(),Le;m=e}}function Mr(e=1){if(y){for(var t=e,n=m;t--;)n=ne(n);m=n}}function dt(e=!0){for(var t=0,n=m;;){if(n.nodeType===qe){var r=n.data;if(r===Ot){if(t===0)return n;t-=1}else(r===rn||r===lt)&&(t+=1)}var i=ne(n);e&&n.remove(),n=i}}function cn(e){if(!e||e.nodeType!==qe)throw ht(),Le;return e.data}function hn(e){return e===this.v}function Pr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function dn(e){return!Pr(e,this.v)}let Lr=!1,V=null;function He(e){V=e}function vn(e,t=!1,n){V={p:V,i:!1,c:null,e:null,s:e,x:null,l:null}}function _n(e){var t=V,n=t.e;if(n!==null){t.e=null;for(var r of n)In(r)}return e!==void 0&&(t.x=e),t.i=!0,V=t.p,e??{}}function pn(){return!0}let ke=[];function gn(){var e=ke;ke=[],yr(e)}function vt(e){if(ke.length===0&&!We){var t=ke;queueMicrotask(()=>{t===ke&&gn()})}ke.push(e)}function Ir(){for(;ke.length>0;)gn()}function mn(e){var t=w;if(t===null)return g.f|=we,e;if((t.f&ut)===0){if((t.f&ft)===0)throw e;t.b.error(e)}else Be(e,t)}function Be(e,t){for(;t!==null;){if((t.f&ft)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const _t=new Set;let b=null,z=null,U=[],pt=null,qt=!1,We=!1;class X{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){U=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#l(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects)):(b=null,yn(n.render_effects),yn(n.effects),this.#a?.resolve()),z=null}#l(t,n){t.f^=C;for(var r=t.first;r!==null;){var i=r.f,s=(i&(ue|me))!==0,l=s&&(i&C)!==0,o=l||(i&I)!==0||this.skipped_effects.has(r);if((r.f&ft)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){s?r.f^=C:(i&Pt)!==0?n.effects.push(r):et(r)&&((r.f&fe)!==0&&n.block_effects.push(r),tt(r));var f=r.first;if(f!==null){r=f;continue}}var a=r.parent;for(r=r.next;r===null&&a!==null;)a===n.effect&&(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects),n=n.parent),r=a.next,a=a.parent}}#o(t){for(const n of t)((n.f&M)!==0?this.#s:this.#i).push(n),this.#f(n.deps),N(n,C)}#f(t){if(t!==null)for(const n of t)(n.f&k)===0||(n.f&Te)===0||(n.f^=Te,this.#f(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&we)===0&&(this.current.set(t,t.v),z?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,z=null)}flush(){if(this.activate(),U.length>0){if(wn(),b!==null&&b!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(_t.size>1){this.previous.clear();var t=z,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of _t){if(s===this){n=!1;continue}const l=[];for(const[f,a]of this.current){if(s.current.has(f))if(n&&a!==s.current.get(f))s.current.set(f,a);else continue;l.push(f)}if(l.length===0)continue;const o=[...s.current.keys()].filter(f=>!this.current.has(f));if(o.length>0){var i=U;U=[];const f=new Set,a=new Map;for(const c of l)bn(c,o,f,a);if(U.length>0){b=s,s.apply();for(const c of U)s.#l(c,r);s.deactivate()}U=i}}b=null,z=t}this.committed=!0,_t.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)N(t,M),Ae(t);for(const t of this.#i)N(t,ce),Ae(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=an()).promise}static ensure(){if(b===null){const t=b=new X;_t.add(b),We||X.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){vt(t)}apply(){}}function Ge(e){var t=We;We=!0;try{for(var n;;){if(Ir(),U.length===0&&(b?.flush(),U.length===0))return pt=null,n;wn()}}finally{We=t}}function wn(){var e=be;qt=!0;var t=null;try{var n=0;for(xt(!0);U.length>0;){var r=X.ensure();if(n++>1e3){var i,s;Fr()}r.process(U),ye.clear()}}finally{qt=!1,xt(e),pt=null}}function Fr(){try{Ar()}catch(e){Be(e,pt)}}let ve=null;function yn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(he|I))===0&&et(r)&&(ve=new Set,tt(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Hn(r):r.fn=null),ve?.size>0)){ye.clear();for(const i of ve){if((i.f&(he|I))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)ve.has(l)&&(ve.delete(l),s.push(l)),l=l.parent;for(let o=s.length-1;o>=0;o--){const f=s[o];(f.f&(he|I))===0&&tt(f)}}ve.clear()}}ve=null}}function bn(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&k)!==0?bn(i,t,n,r):(s&(Ft|fe))!==0&&(s&M)===0&&$n(i,t,r)&&(N(i,M),Ae(i))}}function $n(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(t.includes(i))return!0;if((i.f&k)!==0&&$n(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Ae(e){for(var t=pt=e;t.parent!==null;){t=t.parent;var n=t.f;if(qt&&t===w&&(n&fe)!==0&&(n&un)===0)return;if((n&(me|ue))!==0){if((n&C)===0)return;t.f^=C}}U.push(t)}function jr(e){let t=0,n=Se(0),r;return()=>{bt()&&(d(n),Fn(()=>(t===0&&(r=fi(()=>e(()=>Ke(n)))),t+=1,()=>{vt(()=>{t-=1,t===0&&(r?.(),r=void 0,Ke(n))})})))}}var qr=Fe|Ee|ft;function Hr(e,t,n){new Br(e,t,n)}class Br{parent;#t=!1;#e;#n=y?m:null;#r;#a;#s;#i=null;#l=null;#o=null;#f=null;#u=null;#c=0;#h=0;#v=!1;#d=null;#w=jr(()=>(this.#d=Se(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=w.b,this.#t=!!this.#r.pending,this.#s=Yt(()=>{if(w.b=this,y){const s=this.#n;Ye(),s.nodeType===qe&&s.data===lt?this.#b():this.#y()}else{var i=this.#g();try{this.#i=Y(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},qr),y&&(this.#e=m)}#y(){try{this.#i=Y(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#b(){const t=this.#r.pending;t&&(this.#l=Y(()=>t(this.#e)),X.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(X.ensure(),Y(()=>this.#a(n)))),this.#h>0?this.#p():(ze(this.#l,()=>{this.#l=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=F(),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.#r.pending}#_(t){var n=w,r=g,i=V;le(this.#s),L(this.#s),He(this.#s.ctx);try{return t()}catch(s){return mn(s),null}finally{le(n),L(r),He(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),zn(this.#i,this.#f)),this.#l===null&&(this.#l=Y(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#l&&ze(this.#l,()=>{this.#l=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#d&&Je(this.#d,this.#c)}get_effect_pending(){return this.#w(),d(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(O(this.#i),this.#i=null),this.#l&&(O(this.#l),this.#l=null),this.#o&&(O(this.#o),this.#o=null),y&&(P(this.#n),Mr(),P(dt()));var i=!1,s=!1;const l=()=>{if(i){Dr();return}i=!0,s&&Or(),X.ensure(),this.#c=0,this.#o!==null&&ze(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,Y(()=>this.#a(this.#e)))),this.#h>0?this.#p():this.#t=!1};var o=g;try{L(null),s=!0,n?.(t,l),s=!1}catch(f){Be(f,this.#s&&this.#s.parent)}finally{L(o)}r&&vt(()=>{this.#o=this.#_(()=>{X.ensure(),this.#v=!0;try{return Y(()=>{r(this.#e,()=>t,()=>l)})}catch(f){return Be(f,this.#s.parent),null}finally{this.#v=!1}})})}}function Vr(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)Wt(t[s].e,r,!0);Bn(r,()=>{var l=r.length===0&&n!==null;if(l){var o=n,f=o.parentNode;Dn(f),f.append(o),e.items.clear(),ee(e,t[0].prev,t[i-1].next)}for(var a=0;a<i;a++){var c=t[a];l||(e.items.delete(c.k),ee(e,c.prev,c.next)),O(c.e,!l)}e.first===t[0]&&(e.first=t[0].prev)})}function xn(e,t,n,r,i,s=null){var l=e,o=new Map,f=null;y&&Ye();var a=null,c=Jr(()=>{var $=n();return sn($)?$:$==null?[]:Mt($)}),h,u=!0;function v(){zr(x,h,l,t,r),a!==null&&(h.length===0?(a.fragment?(l.before(a.fragment),a.fragment=null):Gt(a.effect),_.first=a.effect):ze(a.effect,()=>{a=null}))}var _=Yt(()=>{h=d(c);var $=h.length;let H=!1;if(y){var A=cn(l)===lt;A!==($===0)&&(l=dt(),P(l),de(!1),H=!0)}for(var Oe=new Set,oe=b,ae=null,p=Mn(),R=0;R<$;R+=1){y&&m.nodeType===qe&&m.data===Ot&&(l=m,H=!0,de(!1));var G=h[R],xe=r(G,R),J=u?null:o.get(xe);J?(Je(J.v,G),J.i=R,p&&oe.skipped_effects.delete(J.e)):(J=Ur(u?l:null,ae,G,xe,R,i,t,n),u&&(J.o=!0,ae===null?f=J:ae.next=J,ae=J),o.set(xe,J)),Oe.add(xe)}if($===0&&s&&!a)if(u)a={fragment:null,effect:Y(()=>s(l))};else{var pe=document.createDocumentFragment(),Z=F();pe.append(Z),a={fragment:pe,effect:Y(()=>s(Z))}}if(y&&$>0&&P(dt()),!u)if(p){for(const[De,st]of o)Oe.has(De)||oe.skipped_effects.add(st.e);oe.oncommit(v),oe.ondiscard(()=>{})}else v();H&&de(!0),d(c)}),x={effect:_,items:o,first:f};u=!1,y&&(l=m)}function zr(e,t,n,r,i){var s=t.length,l=e.items,o=e.first,f,a=null,c=[],h=[],u,v,_,x;for(x=0;x<s;x+=1){if(u=t[x],v=i(u,x),_=l.get(v),e.first??=_,!_.o){_.o=!0;var $=a?a.next:o;ee(e,a,_),ee(e,_,$),Ht(_,$,n),a=_,c=[],h=[],o=a.next;continue}if((_.e.f&I)!==0&&Gt(_.e),_!==o){if(f!==void 0&&f.has(_)){if(c.length<h.length){var H=h[0],A;a=H.prev;var Oe=c[0],oe=c[c.length-1];for(A=0;A<c.length;A+=1)Ht(c[A],H,n);for(A=0;A<h.length;A+=1)f.delete(h[A]);ee(e,Oe.prev,oe.next),ee(e,a,Oe),ee(e,oe,H),o=H,a=oe,x-=1,c=[],h=[]}else f.delete(_),Ht(_,o,n),ee(e,_.prev,_.next),ee(e,_,a===null?e.first:a.next),ee(e,a,_),a=_;continue}for(c=[],h=[];o!==null&&o.k!==v;)(o.e.f&I)===0&&(f??=new Set).add(o),h.push(o),o=o.next;if(o===null)continue;_=o}c.push(_),a=_,o=_.next}if(o!==null||f!==void 0){for(var ae=f===void 0?[]:Mt(f);o!==null;)(o.e.f&I)===0&&ae.push(o),o=o.next;var p=ae.length;if(p>0){var R=null;Vr(e,ae,R)}}}function Ur(e,t,n,r,i,s,l,o){var f=(l&ur)!==0,a=(l&hr)===0,c=f?a?An(n,!1,!1):Se(n):n,h=(l&cr)===0?i:Se(i),u={i:h,v:c,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=F())}return u.e=Y(()=>s(e,c,h,o)),t!==null&&(t.next=u),u}finally{}}function Ht(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var l=ne(s);i.before(s),s=l}}function ee(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Yr(e,t,n,r){const i=mt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=b,l=w,o=Wr();function f(){Promise.all(n.map(a=>Gr(a))).then(a=>{o();try{r([...t.map(i),...a])}catch(c){(l.f&he)===0&&Be(c,l)}s?.deactivate(),gt()}).catch(a=>{Be(a,l)})}e.length>0?Promise.all(e).then(()=>{o();try{return f()}finally{s?.deactivate(),gt()}}):f()}function Wr(){var e=w,t=g,n=V,r=b;return function(s=!0){le(e),L(t),He(n),s&&r?.activate()}}function gt(){le(null),L(null),He(null)}function mt(e){var t=k|M,n=g!==null&&(g.f&k)!==0?g:null;return w!==null&&(w.f|=Ee),{ctx:V,deps:null,effects:null,equals:hn,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??w,ac:null}}function Gr(e,t){let n=w;n===null&&xr();var r=n.b,i=void 0,s=Se(S),l=!g,o=new Map;return ii(()=>{var f=an();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{a===b&&a.committed&&a.deactivate(),gt()})}catch(u){f.reject(u),gt()}var a=b;if(l){var c=!r.is_pending();r.update_pending_count(1),a.increment(c),o.get(a)?.reject(je),o.delete(a),o.set(a,f)}const h=(u,v=void 0)=>{if(a.activate(),v)v!==je&&(s.f|=we,Je(s,v));else{(s.f&we)!==0&&(s.f^=we),Je(s,u);for(const[_,x]of o){if(o.delete(_),_===a)break;x.reject(je)}}l&&(r.update_pending_count(-1),a.decrement(c))};f.promise.then(h,u=>h(null,u||"unknown"))}),Pn(()=>{for(const f of o.values())f.reject(je)}),new Promise(f=>{function a(c){function h(){c===i?f(s):a(i)}c.then(h,h)}a(i)})}function wt(e){const t=mt(e);return Yn(t),t}function Jr(e){const t=mt(e);return t.equals=dn,t}function En(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)O(t[n])}}function Kr(e){for(var t=e.parent;t!==null;){if((t.f&k)===0)return(t.f&he)===0?t:null;t=t.parent}return null}function Bt(e){var t,n=w;le(Kr(e));try{e.f&=~Te,En(e),t=Xn(e)}finally{le(n)}return t}function Tn(e){var t=Bt(e);if(e.equals(t)||(b?.is_fork||(e.v=t),e.wv=Jn()),!Ce)if(z!==null)bt()&&z.set(e,t);else{var n=(e.f&K)===0?ce:C;N(e,n)}}let Vt=new Set;const ye=new Map;let kn=!1;function Se(e,t){var n={f:0,v:e,reactions:null,equals:hn,rv:0,wv:0};return n}function te(e,t){const n=Se(e);return Yn(n),n}function An(e,t=!1,n=!0){const r=Se(e);return t||(r.equals=dn),r}function E(e,t,n=!1){g!==null&&(!se||(g.f&fn)!==0)&&pn()&&(g.f&(k|fe|Ft|fn))!==0&&!_e?.includes(e)&&Rr();let r=n?Xe(t):t;return Je(e,r)}function Je(e,t){if(!e.equals(t)){var n=e.v;Ce?ye.set(e,t):ye.set(e,n),e.v=t;var r=X.ensure();r.capture(e,n),(e.f&k)!==0&&((e.f&M)!==0&&Bt(e),N(e,(e.f&K)!==0?C:ce)),e.wv=Jn(),Sn(e,M),w!==null&&(w.f&C)!==0&&(w.f&(ue|me))===0&&(W===null?oi([e]):W.push(e)),!r.is_fork&&Vt.size>0&&!kn&&Xr()}return t}function Xr(){kn=!1;var e=be;xt(!0);const t=Array.from(Vt);try{for(const n of t)(n.f&C)!==0&&N(n,ce),et(n)&&tt(n)}finally{xt(e)}Vt.clear()}function Zr(e,t=1){var n=d(e),r=t===1?n++:n--;return E(e,n),r}function Ke(e){E(e,e.v+1)}function Sn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,o=(l&M)===0;if(o&&N(s,t),(l&k)!==0){var f=s;z?.delete(f),(l&Te)===0&&(l&K&&(s.f|=Te),Sn(f,ce))}else o&&((l&fe)!==0&&ve!==null&&ve.add(s),Ae(s))}}function Xe(e){if(typeof e!="object"||e===null||jt in e)return e;const t=ln(e);if(t!==mr&&t!==wr)return e;var n=new Map,r=sn(e),i=te(0),s=Ne,l=o=>{if(Ne===s)return o();var f=g,a=Ne;L(null),Gn(s);var c=o();return L(f),Gn(a),c};return r&&n.set("length",te(e.length)),new Proxy(e,{defineProperty(o,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&Cr();var c=n.get(f);return c===void 0?c=l(()=>{var h=te(a.value);return n.set(f,h),h}):E(c,a.value,!0),!0},deleteProperty(o,f){var a=n.get(f);if(a===void 0){if(f in o){const c=l(()=>te(S));n.set(f,c),Ke(i)}}else E(a,S),Ke(i);return!0},get(o,f,a){if(f===jt)return e;var c=n.get(f),h=f in o;if(c===void 0&&(!h||Ie(o,f)?.writable)&&(c=l(()=>{var v=Xe(h?o[f]:S),_=te(v);return _}),n.set(f,c)),c!==void 0){var u=d(c);return u===S?void 0:u}return Reflect.get(o,f,a)},getOwnPropertyDescriptor(o,f){var a=Reflect.getOwnPropertyDescriptor(o,f);if(a&&"value"in a){var c=n.get(f);c&&(a.value=d(c))}else if(a===void 0){var h=n.get(f),u=h?.v;if(h!==void 0&&u!==S)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return a},has(o,f){if(f===jt)return!0;var a=n.get(f),c=a!==void 0&&a.v!==S||Reflect.has(o,f);if(a!==void 0||w!==null&&(!c||Ie(o,f)?.writable)){a===void 0&&(a=l(()=>{var u=c?Xe(o[f]):S,v=te(u);return v}),n.set(f,a));var h=d(a);if(h===S)return!1}return c},set(o,f,a,c){var h=n.get(f),u=f in o;if(r&&f==="length")for(var v=a;v<h.v;v+=1){var _=n.get(v+"");_!==void 0?E(_,S):v in o&&(_=l(()=>te(S)),n.set(v+"",_))}if(h===void 0)(!u||Ie(o,f)?.writable)&&(h=l(()=>te(void 0)),E(h,Xe(a)),n.set(f,h));else{u=h.v!==S;var x=l(()=>Xe(a));E(h,x)}var $=Reflect.getOwnPropertyDescriptor(o,f);if($?.set&&$.set.call(c,a),!u){if(r&&typeof f=="string"){var H=n.get("length"),A=Number(f);Number.isInteger(A)&&A>=H.v&&E(H,A+1)}Ke(i)}return!0},ownKeys(o){d(i);var f=Reflect.ownKeys(o).filter(h=>{var u=n.get(h);return u===void 0||u.v!==S});for(var[a,c]of n)c.v!==S&&!(a in o)&&f.push(a);return f},setPrototypeOf(){Nr()}})}var Cn,Nn,Rn,On;function zt(){if(Cn===void 0){Cn=window,Nn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Rn=Ie(t,"firstChild").get,On=Ie(t,"nextSibling").get,on(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),on(n)&&(n.__t=void 0)}}function F(e=""){return document.createTextNode(e)}function Ve(e){return Rn.call(e)}function ne(e){return On.call(e)}function re(e,t){if(!y)return Ve(e);var n=Ve(m);if(n===null)n=m.appendChild(F());else if(t&&n.nodeType!==ct){var r=F();return n?.before(r),P(r),r}return P(n),n}function yt(e,t=!1){if(!y){var n=Ve(e);return n instanceof Comment&&n.data===""?ne(n):n}if(t&&m?.nodeType!==ct){var r=F();return m?.before(r),P(r),r}return m}function Ze(e,t=1,n=!1){let r=y?m:e;for(var i;t--;)i=r,r=ne(r);if(!y)return r;if(n&&r?.nodeType!==ct){var s=F();return r===null?i?.after(s):r.before(s),P(s),s}return P(r),r}function Dn(e){e.textContent=""}function Mn(){return!1}function Ut(e){var t=g,n=w;L(null),le(null);try{return e()}finally{L(t),le(n)}}function Qr(e){w===null&&(g===null&&kr(),Tr()),Ce&&Er()}function ei(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ie(e,t,n){var r=w;r!==null&&(r.f&I)!==0&&(e|=I);var i={ctx:V,deps:null,nodes_start:null,nodes_end:null,f:e|M|K,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{tt(i),i.f|=ut}catch(o){throw O(i),o}else t!==null&&Ae(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ee)===0&&(s=s.first,(e&fe)!==0&&(e&Fe)!==0&&s!==null&&(s.f|=Fe)),s!==null&&(s.parent=r,r!==null&&ei(s,r),g!==null&&(g.f&k)!==0&&(e&me)===0)){var l=g;(l.effects??=[]).push(s)}return i}function bt(){return g!==null&&!se}function Pn(e){const t=ie(Lt,null,!1);return N(t,C),t.teardown=e,t}function Ln(e){Qr();var t=w.f,n=!g&&(t&ue)!==0&&(t&ut)===0;if(n){var r=V;(r.e??=[]).push(e)}else return In(e)}function In(e){return ie(Pt|br,e,!1)}function ti(e){X.ensure();const t=ie(me|Ee,e,!0);return()=>{O(t)}}function ni(e){X.ensure();const t=ie(me|Ee,e,!0);return(n={})=>new Promise(r=>{n.outro?ze(t,()=>{O(t),r(void 0)}):(O(t),r(void 0))})}function ri(e){return ie(Pt,e,!1)}function ii(e){return ie(Ft|Ee,e,!0)}function Fn(e,t=0){return ie(Lt|t,e,!0)}function $t(e,t=[],n=[],r=[]){Yr(r,t,n,i=>{ie(Lt,()=>e(...i.map(d)),!0)})}function Yt(e,t=0){var n=ie(fe|t,e,!0);return n}function Y(e){return ie(ue|Ee,e,!0)}function jn(e){var t=e.teardown;if(t!==null){const n=Ce,r=g;Un(!0),L(null);try{t.call(null)}finally{Un(n),L(r)}}}function qn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ut(()=>{i.abort(je)});var r=n.next;(n.f&me)!==0?n.parent=null:O(n,t),n=r}}function si(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ue)===0&&O(t),t=n}}function O(e,t=!0){var n=!1;(t||(e.f&un)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(li(e.nodes_start,e.nodes_end),n=!0),qn(e,t&&!n),Et(e,0),N(e,he);var r=e.transitions;if(r!==null)for(const s of r)s.stop();jn(e);var i=e.parent;i!==null&&i.first!==null&&Hn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function li(e,t){for(;e!==null;){var n=e===t?null:ne(e);e.remove(),e=n}}function Hn(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 ze(e,t,n=!0){var r=[];Wt(e,r,!0),Bn(r,()=>{n&&O(e),t&&t()})}function Bn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Wt(e,t,n){if((e.f&I)===0){if(e.f^=I,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Fe)!==0||(r.f&ue)!==0&&(e.f&fe)!==0;Wt(r,t,s?n:!1),r=i}}}function Gt(e){Vn(e,!0)}function Vn(e,t){if((e.f&I)!==0){e.f^=I,(e.f&C)===0&&(N(e,M),Ae(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Fe)!==0||(n.f&ue)!==0;Vn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function zn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:ne(n);t.append(n),n=i}}let be=!1;function xt(e){be=e}let Ce=!1;function Un(e){Ce=e}let g=null,se=!1;function L(e){g=e}let w=null;function le(e){w=e}let _e=null;function Yn(e){g!==null&&(_e===null?_e=[e]:_e.push(e))}let D=null,j=0,W=null;function oi(e){W=e}let Wn=1,Qe=0,Ne=Qe;function Gn(e){Ne=e}function Jn(){return++Wn}function et(e){var t=e.f;if((t&M)!==0)return!0;if(t&k&&(e.f&=~Te),(t&ce)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(et(s)&&Tn(s),s.wv>e.wv)return!0}(t&K)!==0&&z===null&&N(e,C)}return!1}function Kn(e,t,n=!0){var r=e.reactions;if(r!==null&&!_e?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&k)!==0?Kn(s,t,!1):t===s&&(n?N(s,M):(s.f&C)!==0&&N(s,ce),Ae(s))}}function Xn(e){var t=D,n=j,r=W,i=g,s=_e,l=V,o=se,f=Ne,a=e.f;D=null,j=0,W=null,g=(a&(ue|me))===0?e:null,_e=null,He(e.ctx),se=!1,Ne=++Qe,e.ac!==null&&(Ut(()=>{e.ac.abort(je)}),e.ac=null);try{e.f|=It;var c=e.fn,h=c(),u=e.deps;if(D!==null){var v;if(Et(e,j),u!==null&&j>0)for(u.length=j+D.length,v=0;v<D.length;v++)u[j+v]=D[v];else e.deps=u=D;if(be&&bt()&&(e.f&K)!==0)for(v=j;v<u.length;v++)(u[v].reactions??=[]).push(e)}else u!==null&&j<u.length&&(Et(e,j),u.length=j);if(pn()&&W!==null&&!se&&u!==null&&(e.f&(k|ce|M))===0)for(v=0;v<W.length;v++)Kn(W[v],e);return i!==null&&i!==e&&(Qe++,W!==null&&(r===null?r=W:r.push(...W))),(e.f&we)!==0&&(e.f^=we),h}catch(_){return mn(_)}finally{e.f^=It,D=t,j=n,W=r,g=i,_e=s,He(l),se=o,Ne=f}}function ai(e,t){let n=t.reactions;if(n!==null){var r=pr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&k)!==0&&(D===null||!D.includes(t))&&(N(t,ce),(t.f&K)!==0&&(t.f^=K,t.f&=~Te),En(t),Et(t,0))}function Et(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ai(e,n[r])}function tt(e){var t=e.f;if((t&he)===0){N(e,C);var n=w,r=be;w=e,be=!0;try{(t&fe)!==0?si(e):qn(e),jn(e);var i=Xn(e);e.teardown=typeof i=="function"?i:null,e.wv=Wn;var s;Dt&&Lr&&(e.f&M)!==0&&e.deps}finally{be=r,w=n}}}function d(e){var t=e.f,n=(t&k)!==0;if(g!==null&&!se){var r=w!==null&&(w.f&he)!==0;if(!r&&!_e?.includes(e)){var i=g.deps;if((g.f&It)!==0)e.rv<Qe&&(e.rv=Qe,D===null&&i!==null&&i[j]===e?j++:D===null?D=[e]:D.includes(e)||D.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:s.includes(g)||s.push(g)}}}if(Ce){if(ye.has(e))return ye.get(e);if(n){var l=e,o=l.v;return((l.f&C)===0&&l.reactions!==null||Qn(l))&&(o=Bt(l)),ye.set(l,o),o}}else n&&!z?.has(e)&&(l=e,et(l)&&Tn(l),be&&bt()&&(l.f&K)===0&&Zn(l));if(z?.has(e))return z.get(e);if((e.f&we)!==0)throw e.v;return e.v}function Zn(e){if(e.deps!==null){e.f^=K;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&k)!==0&&(t.f&K)===0&&Zn(t)}}function Qn(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ye.has(t)||(t.f&k)!==0&&Qn(t))return!0;return!1}function fi(e){var t=se;try{return se=!0,e()}finally{se=t}}const ui=-7169;function N(e,t){e.f=e.f&ui|t}const er=new Set,Jt=new Set;function ci(e,t,n,r={}){function i(s){if(r.capture||nt.call(t,s),!s.cancelBubble)return Ut(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?vt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Tt(e,t,n,r,i){var s={capture:r,passive:i},l=ci(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Pn(()=>{t.removeEventListener(e,l,s)})}function hi(e){for(var t=0;t<e.length;t++)er.add(e[t]);for(var n of Jt)n(e)}let tr=null;function nt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;tr=e;var l=0,o=tr===e&&e.__root;if(o){var f=i.indexOf(o);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(l=f)}if(s=i[l]||e.target,s!==t){at(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=g,h=w;L(null),le(null);try{for(var u,v=[];s!==null;){var _=s.assignedSlot||s.parentNode||s.host||null;try{var x=s["__"+r];x!=null&&(!s.disabled||e.target===s)&&x.call(s,e)}catch($){u?v.push($):u=$}if(e.cancelBubble||_===t||_===null)break;s=_}if(u){for(let $ of v)queueMicrotask(()=>{throw $});throw u}}finally{e.__root=t,delete e.currentTarget,L(c),le(h)}}}function di(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function $e(e,t){var n=w;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function rt(e,t){var n=(t&dr)!==0,r=(t&vr)!==0,i,s=!e.startsWith("<!>");return()=>{if(y)return $e(m,null),m;i===void 0&&(i=di(s?e:"<!>"+e),n||(i=Ve(i)));var l=r||Nn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Ve(l),f=l.lastChild;$e(o,f)}else $e(l,l);return l}}function kt(e=""){if(!y){var t=F(e+"");return $e(t,t),t}var n=m;return n.nodeType!==ct&&(n.before(n=F()),P(n)),$e(n,n),n}function Kt(){if(y)return $e(m,null),m;var e=document.createDocumentFragment(),t=document.createComment(""),n=F();return e.append(t,n),$e(t,n),e}function q(e,t){if(y){var n=w;((n.f&ut)===0||n.nodes_end===null)&&(n.nodes_end=m),Ye();return}e!==null&&e.before(t)}const vi=["touchstart","touchmove"];function _i(e){return vi.includes(e)}function pi(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function nr(e,t){return rr(e,t)}function gi(e,t){zt(),t.intro=t.intro??!1;const n=t.target,r=y,i=m;try{for(var s=Ve(n);s&&(s.nodeType!==qe||s.data!==rn);)s=ne(s);if(!s)throw Le;de(!0),P(s);const l=rr(e,{...t,anchor:s});return de(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw l;return l!==Le&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Sr(),zt(),Dn(n),de(!1),nr(e,t)}finally{de(r),P(i)}}const Ue=new Map;function rr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){zt();var o=new Set,f=h=>{for(var u=0;u<h.length;u++){var v=h[u];if(!o.has(v)){o.add(v);var _=_i(v);t.addEventListener(v,nt,{passive:_});var x=Ue.get(v);x===void 0?(document.addEventListener(v,nt,{passive:_}),Ue.set(v,1)):Ue.set(v,x+1)}}};f(Mt(er)),Jt.add(f);var a=void 0,c=ni(()=>{var h=n??t.appendChild(F());return Hr(h,{pending:()=>{}},u=>{if(s){vn({});var v=V;v.c=s}if(i&&(r.$$events=i),y&&$e(u,null),a=e(u,r)||{},y&&(w.nodes_end=m,m===null||m.nodeType!==qe||m.data!==Ot))throw ht(),Le;s&&_n()}),()=>{for(var u of o){t.removeEventListener(u,nt);var v=Ue.get(u);--v===0?(document.removeEventListener(u,nt),Ue.delete(u)):Ue.set(u,v)}Jt.delete(f),h!==n&&h.parentNode?.removeChild(h)}});return Xt.set(a,c),a}let Xt=new WeakMap;function mi(e,t){const n=Xt.get(e);return n?(Xt.delete(e),n(t)):Promise.resolve()}class wi{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#a=!0;constructor(t,n=!0){this.anchor=t,this.#a=n}#s=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Gt(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#n.get(l);o&&(O(o.effect),this.#n.delete(l))}for(const[s,l]of this.#e){if(s===n||this.#r.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var a=document.createDocumentFragment();zn(l,a),a.append(F()),this.#n.set(s,{effect:l,fragment:a})}else O(l);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),ze(l,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(O(i.effect),this.#n.delete(r))};ensure(t,n){var r=b,i=Mn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),l=F();s.append(l),this.#n.set(t,{effect:Y(()=>n(l)),fragment:s})}else this.#e.set(t,Y(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[o,f]of this.#e)o===t?r.skipped_effects.delete(f):r.skipped_effects.add(f);for(const[o,f]of this.#n)o===t?r.skipped_effects.delete(f.effect):r.skipped_effects.add(f.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else y&&(this.anchor=m),this.#s()}}function Zt(e,t,n=!1){y&&Ye();var r=new wi(e),i=n?Fe:0;function s(l,o){if(y){const a=cn(e)===lt;if(l===a){var f=dt();P(f),r.anchor=f,de(!1),r.ensure(l,o),de(!0);return}}r.ensure(l,o)}Yt(()=>{var l=!1;t((o,f=!0)=>{l=!0,s(f,o)}),l||s(!1,null)},i)}function it(e,t,n,r,i){y&&Ye();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function yi(e){const t={};e.children&&(t.default=!0);for(const n in e.$$slots)t[n]=!0;return t}function bi(e,t){ri(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function $i(e,t){return e==null?null:String(e)}function Qt(e,t,n,r){var i=e.__style;if(y||i!==t){var s=$i(t);(!y||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const xi=Symbol("is custom element"),Ei=Symbol("is html");function Ti(e,t,n,r){var i=ki(e);if(y){i[t]=e.getAttribute(t);return}i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&Ai(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ki(e){return e.__attributes??={[xi]:e.nodeName.includes("-"),[Ei]:e.namespaceURI===_r}}var ir=new Map;function Ai(e){var t=e.getAttribute("is")||e.nodeName,n=ir.get(t);if(n)return n;ir.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=gr(i);for(var l in r)r[l].set&&n.push(l);i=ln(i)}return n}function At(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),o;o=e[t],o===void 0&&r!==void 0&&(o=l());var f;f=()=>{var u=e[t];return u===void 0?l():(s=!0,u)};var a=!1,c=mt(()=>(a=!1,f())),h=w;return(function(u,v){if(arguments.length>0){const _=v?d(c):u;return E(c,_),a=!0,i!==void 0&&(i=_),u}return Ce&&a||(h.f&he)!==0?c.v:d(c)})}function Si(e){return new Ci(e)}class Ci{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var o=An(l,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return d(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===$r?!0:(d(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,o){return E(n.get(l)??r(l,o),o),Reflect.set(s,l,o)}});this.#e=(t.hydrate?gi:nr)(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)&&Ge(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||at(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{mi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let sr;typeof HTMLElement=="function"&&(sr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}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=document.createElement("slot");r!=="default"&&(s.name=r),q(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ni(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]=St(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=Si({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ti(()=>{Fn(()=>{this.$$r=!0;for(const r of ot(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=St(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]=St(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 ot(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function St(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 Ni(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Ri(e,t,n,r,i,s){let l=class extends sr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ot(t).map(o=>(t[o].attribute||o).toLowerCase())}};return ot(t).forEach(o=>{at(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(f){f=St(o,f,t),this.$$d[o]=f;var a=this.$$c;if(a){var c=Ie(a,o)?.get;c?a[o]=f:a.$set({[o]:f})}}})}),r.forEach(o=>{at(l.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=l,l}var Re={},lr;function Oi(){if(lr)return Re;lr=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.LanguageTranslator=void 0,Re.getChildStyleToPass=e,Re.addComponent=t;function e(r,i){var s,l,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||l===void 0)&&l.length))for(var f=function(u){var v=i?.filter(function(_){return _.name===u&&_.defaultValue!==r[u]});v&&(o+="".concat(u,":").concat(r[u],";"))},a=0,c=Object.keys(r);a<c.length;a++){var h=c[a];f(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(l)}document.head.appendChild(o)}catch(a){console.warn(a)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,o="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,l){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((o=s[l])===null||o===void 0)&&o[i]))return s[l][i];var f="",a=r.getDefaultLang();if(!l||a!==l){var c=s?.[a];c?.[i]&&(f=c[i])}return f},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return o.format(i)},r})();return Re.LanguageTranslator=n,Re}Oi();var Di=rt('<div class="mySlides fade svelte-hth59o"><img alt="" class="svelte-hth59o"/></div>'),Mi=rt('<span part="dot" class="dot svelte-hth59o"></span>'),Pi=rt('<div part="caption_container" id="caption" class="svelte-hth59o"><div part="caption_content" class="text svelte-hth59o"> </div></div>'),Li=rt('<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),Ii=rt('<div id="overlay" class="svelte-hth59o"><!></div>');const Fi={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 or(e,t){const n=yi(t);vn(t,!0),bi(e,Fi);function r(p,R){t.$$host.dispatchEvent(new CustomEvent(p,{detail:R}))}let i=At(t,"id",7,""),s=At(t,"data"),l=At(t,"index",7,0),o=At(t,"timer")
|
|
23
|
+
}`};function or(e,t){const n=yi(t);vn(t,!0),bi(e,Fi);function r(p,R){t.$$host.dispatchEvent(new CustomEvent(p,{detail:R}))}let i=At(t,"id",7,""),s=At(t,"data"),l=At(t,"index",7,0),o=At(t,"timer"),f=te(!1),a=te(0),c;const h=wt(()=>!!n.overlay),u=wt(()=>{let p=s();if(typeof s()=="string")try{p=JSON.parse(s())}catch(G){return console.error("error parsing data",G),[]}return p?.length?p.filter(G=>G?.href).map((G,xe)=>({...G,index:G.index??xe})):[]}),v=wt(()=>{let p=l();return typeof l()=="string"&&(p=Number(l())),!p||p<0||p>d(u).length-1?0:p});Ln(()=>{E(a,d(v),!0)});const _=wt(()=>{if(!o())return;let p=o();return typeof o()=="string"&&(p=Number(o())),p<100?100:p});Ln(()=>{if(console.log(d(h),"overlayed"),d(_)&&d(u).length>0)return console.log("activate timer",d(_)),c&&clearInterval(c),c=setInterval(()=>{d(f)||(console.log("debug timer"),d(a)+1>d(u).length-1?E(a,0):Zr(a),r("changeSlide",{index:d(a)}))},d(_)),()=>{c&&(clearInterval(c),c=void 0)}});function x(p){d(a)+p>d(u).length-1||d(a)+p<0?d(a)+p>d(u).length-1?E(a,0):E(a,d(u).length-1):E(a,d(a)+p),r("changeSlide",{index:d(a)})}function $(p){d(a)+p>d(u).length||d(a)+p<0?console.warn("Slide index out of range"):(E(a,p,!0),r("changeSlide",{index:d(a)}))}var H={get id(){return i()},set id(p=""){i(p),Ge()},get data(){return s()},set data(p){s(p),Ge()},get index(){return l()},set index(p=0){l(p),Ge()},get timer(){return o()},set timer(p){o(p),Ge()}},A=Kt(),Oe=yt(A);{var oe=p=>{var R=Kt(),G=yt(R);{var xe=pe=>{var Z=Li(),De=yt(Z),st=re(De);it(st,t,"cover_on_images",{},null),Q(De);var Me=Ze(De,2),ar=re(Me),fr=re(ar);xn(fr,17,()=>d(u),T=>T.index+T.href,(T,B)=>{var ge=Di(),Pe=re(ge);Q(ge),$t(()=>{Qt(ge,d(B).index===d(a)?"display:block;":"display:none;"),Ti(Pe,"src",d(B).href)}),q(T,ge)});var Ct=Ze(fr,2);Ct.__click=()=>x(-1);var ji=re(Ct);it(ji,t,"prev",{},T=>{var B=kt("❮");q(T,B)}),Q(Ct);var en=Ze(Ct,2);en.__click=()=>x(1);var qi=re(en);it(qi,t,"next",{},T=>{var B=kt("❯");q(T,B)}),Q(en),Q(ar),Q(Me);var Nt=Ze(Me,2),Hi=re(Nt);it(Hi,t,"dots",{},T=>{var B=Kt(),ge=yt(B);xn(ge,17,()=>d(u),Pe=>Pe.index,(Pe,Rt)=>{var tn=Mi();tn.__click=()=>{(d(Rt).index||d(Rt).index===0)&&$(d(Rt).index)},$t(()=>Qt(tn,d(Rt).index===d(a)?"background-color: #717171;":"")),q(Pe,tn)}),q(T,B)}),Q(Nt);var Bi=Ze(Nt,2);{var Vi=T=>{var B=Pi(),ge=re(B),Pe=re(ge,!0);Q(ge),Q(B),$t(()=>pi(Pe,d(u)[d(a)].caption)),q(T,B)};Zt(Bi,T=>{d(u)?.[d(a)]?.caption&&T(Vi)})}$t(T=>Qt(Nt,T),[()=>d(u)?.find?.(T=>T.caption)?"bottom: 100px;":""]),Tt("mouseenter",Me,()=>{E(f,!0),r("onHover",{index:d(a),hover:d(f)})}),Tt("mouseleave",Me,()=>{E(f,!1),r("onHover",{index:d(a),hover:d(f)})}),q(pe,Z)},J=pe=>{var Z=Ii(),De=re(Z);it(De,t,"overlay",{},st=>{var Me=kt("overlay");q(st,Me)}),Q(Z),Tt("mouseenter",Z,()=>{E(f,!0)}),Tt("mouseleave",Z,()=>{E(f,!1),r("onHover",{index:d(a),hover:d(f)})}),q(pe,Z)};Zt(G,pe=>{!d(h)||!d(f)?pe(xe):pe(J,!1)})}q(p,R)},ae=p=>{var R=kt("no image provided as data");q(p,R)};Zt(Oe,p=>{d(u)?.length?p(oe):p(ae,!1)})}return q(e,A),_n(H)}hi(["click"]),customElements.define("hb-site-slideshow",Ri(or,{id:{},data:{},index:{},timer:{}},["cover_on_images","prev","next","dots","overlay"],[],!0)),nn.Component=or,Object.defineProperty(nn,Symbol.toStringTag,{value:"Module"})})(this["site-slideshow"]=this["site-slideshow"]||{});
|
|
24
24
|
//# sourceMappingURL=main.iife.js.map
|