@htmlbricks/hb-cookie-law-banner 0.66.6 → 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 +5 -4
- package/main.iife.js.map +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
(function(xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Yn=2,St="[",At="[!",Nt="[?",Rt="]",be={},A=Symbol(),Ct="http://www.w3.org/1999/xhtml",Wn=!1;var Bn=Array.isArray,Vn=Array.prototype.indexOf,ye=Array.prototype.includes,qn=Array.from,qe=Object.keys,Ue=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Un=Object.getOwnPropertyDescriptors,Gn=Object.prototype,Jn=Array.prototype,Dt=Object.getPrototypeOf,Ot=Object.isExtensible;const Kn=()=>{};function Xn(e){for(var t=0;t<e.length;t++)e[t]()}function Lt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const S=2,ke=4,Ge=8,Mt=1<<24,ne=16,B=32,re=64,ot=128,L=512,T=1024,N=2048,V=4096,q=8192,z=16384,ie=32768,It=1<<25,Ee=65536,Pt=1<<17,Zn=1<<18,ve=1<<19,Qn=1<<20,pe=65536,at=1<<21,ft=1<<22,se=1<<23,ut=Symbol("$state"),er=Symbol("legacy props"),K=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},tr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Je=3,Ke=8;function nr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function rr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ir(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function sr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function or(){throw new Error("https://svelte.dev/e/hydration_failed")}function ar(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function fr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ur(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function cr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Xe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function hr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function Te(e){b=e}let y;function H(e){if(e===null)throw Xe(),be;return y=e}function Ze(){return H(ue(y))}function le(e){if(b){if(ue(y)!==null)throw Xe(),be;y=e}}function dr(e=1){if(b){for(var t=e,n=y;t--;)n=ue(n);y=n}}function Ft(e=!0){for(var t=0,n=y;;){if(n.nodeType===Ke){var r=n.data;if(r===Rt){if(t===0)return n;t-=1}else(r===St||r===At||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ue(n);e&&n.remove(),n=i}}function _r(e){if(!e||e.nodeType!==Ke)throw Xe(),be;return e.data}function jt(e){return e===this.v}function vr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function pr(e){return!vr(e,this.v)}let gr=!1,M=null;function xe(e){M=e}function zt(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function Ht(e){var t=M,n=t.e;if(n!==null){t.e=null;for(var r of n)cn(r)}return e!==void 0&&(t.x=e),t.i=!0,M=t.p,e??{}}function Yt(){return!0}let ge=[];function Wt(){var e=ge;ge=[],Xn(e)}function Se(e){if(ge.length===0&&!Le){var t=ge;queueMicrotask(()=>{t===ge&&Wt()})}ge.push(e)}function wr(){for(;ge.length>0;)Wt()}function Bt(e){var t=p;if(t===null)return v.f|=se,e;if((t.f&ie)===0&&(t.f&ke)===0)throw e;oe(e,t)}function oe(e,t){for(;t!==null;){if((t.f&ot)!==0){if((t.f&ie)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const mr=-7169;function $(e,t){e.f=e.f&mr|t}function ct(e){(e.f&L)!==0||e.deps===null?$(e,T):$(e,V)}function Vt(e){if(e!==null)for(const t of e)(t.f&S)===0||(t.f&pe)===0||(t.f^=pe,Vt(t.deps))}function qt(e,t,n){(e.f&N)!==0?t.add(e):(e.f&V)!==0&&n.add(e),Vt(e.deps),$(e,T)}const ae=new Set;let m=null,Y=null,ht=null,Le=!1,dt=!1,Ae=null,Qe=null;var Ut=0;let br=1;class X{id=br++;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;#a=new Map;is_fork=!1;#c=!1;#f=new Set;#h(){return this.is_fork||this.#i.size>0}#_(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)$(r,N),this.schedule(r);for(r of n.m)$(r,V),this.schedule(r)}}#d(){if(Ut++>1e3&&(ae.delete(this),yr()),!this.#h()){for(const l of this.#l)this.#o.delete(l),$(l,N),this.schedule(l);for(const l of this.#o)$(l,V),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Ae=[],r=[],i=Qe=[];for(const l of t)try{this.#u(l,n,r)}catch(f){throw Zt(l),f}if(m=null,i.length>0){var s=X.ensure();for(const l of i)s.schedule(l)}if(Ae=null,Qe=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,f]of this.#a)Xt(l,f)}else{this.#t.size===0&&ae.delete(this),this.#l.clear(),this.#o.clear();for(const l of this.#e)l(this);this.#e.clear(),Gt(r),Gt(n),this.#s?.resolve()}var o=m;if(this.#r.length>0){const l=o??=this;l.#r.push(...this.#r.filter(f=>!l.#r.includes(f)))}o!==null&&(ae.add(o),o.#d()),ae.has(this)||this.#p()}#u(t,n,r){t.f^=T;for(var i=t.first;i!==null;){var s=i.f,o=(s&(B|re))!==0,l=o&&(s&T)!==0,f=l||(s&q)!==0||this.#a.has(i);if(!f&&i.fn!==null){o?i.f^=T:(s&ke)!==0?n.push(i):je(i)&&((s&ne)!==0&&this.#o.add(i),Ce(i));var a=i.first;if(a!==null){i=a;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#v(t){for(var n=0;n<t.length;n+=1)qt(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==A&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&se)===0&&(this.current.set(t,[t.v,r]),Y?.set(t,t.v))}activate(){m=this}deactivate(){m=null,Y=null}flush(){try{dt=!0,m=this,this.#d()}finally{Ut=0,ht=null,Ae=null,Qe=null,dt=!1,m=null,Y=null,fe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ae.delete(this)}#p(){for(const a of ae){var t=a.id<this.id,n=[];for(const[u,[d,c]]of this.current){if(a.current.has(u)){var r=a.current.get(u)[0];if(t&&d!==r)a.current.set(u,[d,c]);else continue}n.push(u)}var i=[...a.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&a.discard();else if(n.length>0){a.activate();var s=new Set,o=new Map;for(var l of n)Jt(l,i,s,o);if(a.#r.length>0){a.apply();for(var f of a.#r)a.#u(f,[],[]);a.#r=[]}a.deactivate()}}for(const a of ae)a.#f.has(this)&&(a.#f.delete(this),a.#f.size===0&&!a.#h()&&(a.activate(),a.#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,Se(()=>{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??=Lt()).promise}static ensure(){if(m===null){const t=m=new X;dt||(ae.add(m),Le||Se(()=>{m===t&&t.flush()}))}return m}apply(){{Y=null;return}}schedule(t){if(ht=t,t.b?.is_pending&&(t.f&(ke|Ge|Mt))!==0&&(t.f&ie)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Ae!==null&&n===p&&(v===null||(v.f&S)===0))return;if((r&(re|B))!==0){if((r&T)===0)return;n.f^=T}}this.#r.push(n)}}function Ne(e){var t=Le;Le=!0;try{for(var n;;){if(wr(),m===null)return n;m.flush()}}finally{Le=t}}function yr(){try{lr()}catch(e){oe(e,ht)}}let Z=null;function Gt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(z|q))===0&&je(r)&&(Z=new Set,Ce(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&vn(r),Z?.size>0)){fe.clear();for(const i of Z){if((i.f&(z|q))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)Z.has(o)&&(Z.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const f=s[l];(f.f&(z|q))===0&&Ce(f)}}Z.clear()}}Z=null}}function Jt(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&S)!==0?Jt(i,t,n,r):(s&(ft|ne))!==0&&(s&N)===0&&Kt(i,t,r)&&($(i,N),_t(i))}}function Kt(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(ye.call(t,i))return!0;if((i.f&S)!==0&&Kt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function _t(e){m.schedule(e)}function Xt(e,t){if(!((e.f&B)!==0&&(e.f&T)!==0)){(e.f&N)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),$(e,T);for(var n=e.first;n!==null;)Xt(n,t),n=n.next}}function Zt(e){$(e,T);for(var t=e.first;t!==null;)Zt(t),t=t.next}function $r(e){let t=0,n=Me(0),r;return()=>{bt()&&(k(n),hn(()=>(t===0&&(r=Kr(()=>e(()=>Ie(n)))),t+=1,()=>{Se(()=>{t-=1,t===0&&(r?.(),r=void 0,Ie(n))})})))}}var kr=Ee|ve;function Er(e,t,n,r){new Tr(e,t,n,r)}class Tr{parent;is_pending=!1;transform_error;#e;#n=b?y:null;#t;#i;#s;#r=null;#l=null;#o=null;#a=null;#c=0;#f=0;#h=!1;#_=new Set;#d=new Set;#u=null;#v=$r(()=>(this.#u=Me(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var o=p;o.b=this,o.f|=ot,r(s)},this.parent=p.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=dn(()=>{if(b){const s=this.#n;Ze();const o=s.data===At;if(s.data.startsWith(Nt)){const f=JSON.parse(s.data.slice(Nt.length));this.#y(f)}else o?this.#$():this.#p()}else this.#m()},kr),b&&(this.#e=y)}#p(){try{this.#r=ee(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#o=ee(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=ee(()=>t(this.#e)),Se(()=>{var n=this.#a=document.createDocumentFragment(),r=Q();n.append(r),this.#r=this.#w(()=>ee(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,Fe(this.#l,()=>{this.#l=null}),this.#g(m))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=ee(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();wn(this.#r,t);const n=this.#t.pending;this.#l=ee(()=>n(this.#e))}else this.#g(m)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){qt(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#w(t){var n=p,r=v,i=M;J(this.#s),P(this.#s),xe(this.#s.ctx);try{return X.ensure(),t()}catch(s){return Bt(s),null}finally{J(n),P(r),xe(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&Fe(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,Se(()=>{this.#h=!1,this.#u&&tt(this.#u,this.#c)}))}get_effect_pending(){return this.#v(),k(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(R(this.#r),this.#r=null),this.#l&&(R(this.#l),this.#l=null),this.#o&&(R(this.#o),this.#o=null),b&&(H(this.#n),dr(),H(Ft()));var i=!1,s=!1;const o=()=>{if(i){hr();return}i=!0,s&&cr(),this.#o!==null&&Fe(this.#o,()=>{this.#o=null}),this.#w(()=>{this.#m()})},l=f=>{try{s=!0,n?.(f,o),s=!1}catch(a){oe(a,this.#s&&this.#s.parent)}r&&(this.#o=this.#w(()=>{try{return ee(()=>{var a=p;a.b=this,a.f|=ot,r(this.#e,()=>f,()=>o)})}catch(a){return oe(a,this.#s.parent),null}}))};Se(()=>{var f;try{f=this.transform_error(t)}catch(a){oe(a,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(l,a=>oe(a,this.#s&&this.#s.parent)):l(f)})}}function xr(e,t,n,r){const i=en;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=p,l=Sr(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function a(c){l();try{r(c)}catch(_){(o.f&z)===0&&oe(_,o)}et()}if(n.length===0){f.then(()=>a(t.map(i)));return}var u=Qt();function d(){Promise.all(n.map(c=>Ar(c))).then(c=>a([...t.map(i),...c])).catch(c=>oe(c,o)).finally(()=>u())}f?f.then(()=>{l(),d(),et()}):d()}function Sr(){var e=p,t=v,n=M,r=m;return function(s=!0){J(e),P(t),xe(n),s&&(e.f&z)===0&&(r?.activate(),r?.apply())}}function et(e=!0){J(null),P(null),xe(null),e&&m?.deactivate()}function Qt(){var e=p,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 en(e){var t=S|N,n=v!==null&&(v.f&S)!==0?v:null;return p!==null&&(p.f|=ve),{ctx:M,deps:null,effects:null,equals:jt,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??p,ac:null}}function Ar(e,t,n){let r=p;r===null&&nr();var i=void 0,s=Me(A),o=!v,l=new Map;return Wr(()=>{var f=p,a=Lt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(et)}catch(_){a.reject(_),et()}var u=m;if(o){if((f.f&ie)!==0)var d=Qt();if(r.b.is_rendered())l.get(u)?.reject(K),l.delete(u);else{for(const _ of l.values())_.reject(K);l.clear()}l.set(u,a)}const c=(_,h=void 0)=>{if(d){var g=h===K;d(g)}if(!(h===K||(f.f&z)!==0)){if(u.activate(),h)s.f|=se,tt(s,h);else{(s.f&se)!==0&&(s.f^=se),tt(s,_);for(const[E,O]of l){if(l.delete(E),E===u)break;O.reject(K)}}u.deactivate()}};a.promise.then(c,_=>c(null,_||"unknown"))}),Fr(()=>{for(const f of l.values())f.reject(K)}),new Promise(f=>{function a(u){function d(){u===i?f(s):a(i)}u.then(d,d)}a(i)})}function Nr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)R(t[n])}}function Rr(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return(t.f&z)===0?t:null;t=t.parent}return null}function vt(e){var t,n=p;J(Rr(e));try{e.f&=~pe,Nr(e),t=En(e)}finally{J(n)}return t}function tn(e){var t=e.v,n=vt(e);if(!e.equals(n)&&(e.wv=$n(),(!m?.is_fork||e.deps===null)&&(e.v=n,m?.capture(e,t,!0),e.deps===null))){$(e,T);return}he||(Y!==null?(bt()||m?.is_fork)&&Y.set(e,n):ct(e))}function Cr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(K),t.teardown=Kn,t.ac=null,ze(t,0),yt(t))}function nn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ce(t)}let pt=new Set;const fe=new Map;let rn=!1;function Me(e,t){var n={f:0,v:e,reactions:null,equals:jt,rv:0,wv:0};return n}function U(e,t){const n=Me(e);return Ur(n),n}function Dr(e,t=!1,n=!0){const r=Me(e);return t||(r.equals=pr),r}function I(e,t,n=!1){v!==null&&(!W||(v.f&Pt)!==0)&&Yt()&&(v.f&(S|ne|ft|Pt))!==0&&(F===null||!ye.call(F,e))&&ur();let r=n?Re(t):t;return tt(e,r,Qe)}function tt(e,t,n=null){if(!e.equals(t)){var r=e.v;he?fe.set(e,t):fe.set(e,r),e.v=t;var i=X.ensure();if(i.capture(e,r),(e.f&S)!==0){const s=e;(e.f&N)!==0&&vt(s),Y===null&&ct(s)}e.wv=$n(),sn(e,N,n),p!==null&&(p.f&T)!==0&&(p.f&(B|re))===0&&(j===null?Gr([e]):j.push(e)),!i.is_fork&&pt.size>0&&!rn&&Or()}return t}function Or(){rn=!1;for(const e of pt)(e.f&T)!==0&&$(e,V),je(e)&&Ce(e);pt.clear()}function Ie(e){I(e,e.v+1)}function sn(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,f=(l&N)===0;if(f&&$(o,t),(l&S)!==0){var a=o;Y?.delete(a),(l&pe)===0&&(l&L&&(o.f|=pe),sn(a,V,n))}else if(f){var u=o;(l&ne)!==0&&Z!==null&&Z.add(u),n!==null?n.push(u):_t(u)}}}function Re(e){if(typeof e!="object"||e===null||ut in e)return e;const t=Dt(e);if(t!==Gn&&t!==Jn)return e;var n=new Map,r=Bn(e),i=U(0),s=me,o=l=>{if(me===s)return l();var f=v,a=me;P(null),yn(s);var u=l();return P(f),yn(a),u};return r&&n.set("length",U(e.length)),new Proxy(e,{defineProperty(l,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&ar();var u=n.get(f);return u===void 0?o(()=>{var d=U(a.value);return n.set(f,d),d}):I(u,a.value,!0),!0},deleteProperty(l,f){var a=n.get(f);if(a===void 0){if(f in l){const u=o(()=>U(A));n.set(f,u),Ie(i)}}else I(a,A),Ie(i);return!0},get(l,f,a){if(f===ut)return e;var u=n.get(f),d=f in l;if(u===void 0&&(!d||$e(l,f)?.writable)&&(u=o(()=>{var _=Re(d?l[f]:A),h=U(_);return h}),n.set(f,u)),u!==void 0){var c=k(u);return c===A?void 0:c}return Reflect.get(l,f,a)},getOwnPropertyDescriptor(l,f){var a=Reflect.getOwnPropertyDescriptor(l,f);if(a&&"value"in a){var u=n.get(f);u&&(a.value=k(u))}else if(a===void 0){var d=n.get(f),c=d?.v;if(d!==void 0&&c!==A)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return a},has(l,f){if(f===ut)return!0;var a=n.get(f),u=a!==void 0&&a.v!==A||Reflect.has(l,f);if(a!==void 0||p!==null&&(!u||$e(l,f)?.writable)){a===void 0&&(a=o(()=>{var c=u?Re(l[f]):A,_=U(c);return _}),n.set(f,a));var d=k(a);if(d===A)return!1}return u},set(l,f,a,u){var d=n.get(f),c=f in l;if(r&&f==="length")for(var _=a;_<d.v;_+=1){var h=n.get(_+"");h!==void 0?I(h,A):_ in l&&(h=o(()=>U(A)),n.set(_+"",h))}if(d===void 0)(!c||$e(l,f)?.writable)&&(d=o(()=>U(void 0)),I(d,Re(a)),n.set(f,d));else{c=d.v!==A;var g=o(()=>Re(a));I(d,g)}var E=Reflect.getOwnPropertyDescriptor(l,f);if(E?.set&&E.set.call(u,a),!c){if(r&&typeof f=="string"){var O=n.get("length"),_e=Number(f);Number.isInteger(_e)&&_e>=O.v&&I(O,_e+1)}Ie(i)}return!0},ownKeys(l){k(i);var f=Reflect.ownKeys(l).filter(d=>{var c=n.get(d);return c===void 0||c.v!==A});for(var[a,u]of n)u.v!==A&&!(a in l)&&f.push(a);return f},setPrototypeOf(){fr()}})}var ln,on,an,fn;function gt(){if(ln===void 0){ln=window,on=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;an=$e(t,"firstChild").get,fn=$e(t,"nextSibling").get,Ot(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ot(n)&&(n.__t=void 0)}}function Q(e=""){return document.createTextNode(e)}function nt(e){return an.call(e)}function ue(e){return fn.call(e)}function ce(e,t){if(!b)return nt(e);var n=nt(y);if(n===null)n=y.appendChild(Q());else if(t&&n.nodeType!==Je){var r=Q();return n?.before(r),H(r),r}return t&&mt(n),H(n),n}function rt(e,t=1,n=!1){let r=b?y:e;for(var i;t--;)i=r,r=ue(r);if(!b)return r;if(n){if(r?.nodeType!==Je){var s=Q();return r===null?i?.after(s):r.before(s),H(s),s}mt(r)}return H(r),r}function Lr(e){e.textContent=""}function Mr(){return!1}function wt(e,t,n){return document.createElementNS(Ct,e,void 0)}function mt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Je;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function un(e){var t=v,n=p;P(null),J(null);try{return e()}finally{P(t),J(n)}}function Ir(e){p===null&&(v===null&&sr(),ir()),he&&rr()}function Pr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function G(e,t){var n=p;n!==null&&(n.f&q)!==0&&(e|=q);var r={ctx:M,deps:null,nodes:null,f:e|N|L,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&ke)!==0)Ae!==null?Ae.push(r):X.ensure().schedule(r);else if(t!==null){try{Ce(r)}catch(o){throw R(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ve)===0&&(i=i.first,(e&ne)!==0&&(e&Ee)!==0&&i!==null&&(i.f|=Ee))}if(i!==null&&(i.parent=n,n!==null&&Pr(i,n),v!==null&&(v.f&S)!==0&&(e&re)===0)){var s=v;(s.effects??=[]).push(i)}return r}function bt(){return v!==null&&!W}function Fr(e){const t=G(Ge,null);return $(t,T),t.teardown=e,t}function jr(e){Ir();var t=p.f,n=!v&&(t&B)!==0&&(t&ie)===0;if(n){var r=M;(r.e??=[]).push(e)}else return cn(e)}function cn(e){return G(ke|Qn,e)}function zr(e){X.ensure();const t=G(re|ve,e);return()=>{R(t)}}function Hr(e){X.ensure();const t=G(re|ve,e);return(n={})=>new Promise(r=>{n.outro?Fe(t,()=>{R(t),r(void 0)}):(R(t),r(void 0))})}function Yr(e){return G(ke,e)}function Wr(e){return G(ft|ve,e)}function hn(e,t=0){return G(Ge|t,e)}function Pe(e,t=[],n=[],r=[]){xr(r,t,n,i=>{G(Ge,()=>e(...i.map(k)))})}function dn(e,t=0){var n=G(ne|t,e);return n}function ee(e){return G(B|ve,e)}function _n(e){var t=e.teardown;if(t!==null){const n=he,r=v;mn(!0),P(null);try{t.call(null)}finally{mn(n),P(r)}}}function yt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&un(()=>{i.abort(K)});var r=n.next;(n.f&re)!==0?n.parent=null:R(n,t),n=r}}function Br(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&B)===0&&R(t),t=n}}function R(e,t=!0){var n=!1;(t||(e.f&Zn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Vr(e.nodes.start,e.nodes.end),n=!0),$(e,It),yt(e,t&&!n),ze(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();_n(e),e.f^=It,e.f|=z;var i=e.parent;i!==null&&i.first!==null&&vn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Vr(e,t){for(;e!==null;){var n=e===t?null:ue(e);e.remove(),e=n}}function vn(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 Fe(e,t,n=!0){var r=[];pn(e,r,!0);var i=()=>{n&&R(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function pn(e,t,n){if((e.f&q)===0){e.f^=q;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&Ee)!==0||(i.f&B)!==0&&(e.f&ne)!==0;pn(i,t,o?n:!1),i=s}}}function qr(e){gn(e,!0)}function gn(e,t){if((e.f&q)!==0){e.f^=q,(e.f&T)===0&&($(e,N),X.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ee)!==0||(n.f&B)!==0;gn(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 wn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ue(n);t.append(n),n=i}}let it=!1,he=!1;function mn(e){he=e}let v=null,W=!1;function P(e){v=e}let p=null;function J(e){p=e}let F=null;function Ur(e){v!==null&&(F===null?F=[e]:F.push(e))}let C=null,D=0,j=null;function Gr(e){j=e}let bn=1,we=0,me=we;function yn(e){me=e}function $n(){return++bn}function je(e){var t=e.f;if((t&N)!==0)return!0;if(t&S&&(e.f&=~pe),(t&V)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(je(s)&&tn(s),s.wv>e.wv)return!0}(t&L)!==0&&Y===null&&$(e,T)}return!1}function kn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(F!==null&&ye.call(F,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&S)!==0?kn(s,t,!1):t===s&&(n?$(s,N):(s.f&T)!==0&&$(s,V),_t(s))}}function En(e){var t=C,n=D,r=j,i=v,s=F,o=M,l=W,f=me,a=e.f;C=null,D=0,j=null,v=(a&(B|re))===0?e:null,F=null,xe(e.ctx),W=!1,me=++we,e.ac!==null&&(un(()=>{e.ac.abort(K)}),e.ac=null);try{e.f|=at;var u=e.fn,d=u();e.f|=ie;var c=e.deps,_=m?.is_fork;if(C!==null){var h;if(_||ze(e,D),c!==null&&D>0)for(c.length=D+C.length,h=0;h<C.length;h++)c[D+h]=C[h];else e.deps=c=C;if(bt()&&(e.f&L)!==0)for(h=D;h<c.length;h++)(c[h].reactions??=[]).push(e)}else!_&&c!==null&&D<c.length&&(ze(e,D),c.length=D);if(Yt()&&j!==null&&!W&&c!==null&&(e.f&(S|V|N))===0)for(h=0;h<j.length;h++)kn(j[h],e);if(i!==null&&i!==e){if(we++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=we;if(t!==null)for(const g of t)g.rv=we;j!==null&&(r===null?r=j:r.push(...j))}return(e.f&se)!==0&&(e.f^=se),d}catch(g){return Bt(g)}finally{e.f^=at,C=t,D=n,j=r,v=i,F=s,xe(o),W=l,me=f}}function Jr(e,t){let n=t.reactions;if(n!==null){var r=Vn.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&S)!==0&&(C===null||!ye.call(C,t))){var s=t;(s.f&L)!==0&&(s.f^=L,s.f&=~pe),ct(s),Cr(s),ze(s,0)}}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Jr(e,n[r])}function Ce(e){var t=e.f;if((t&z)===0){$(e,T);var n=p,r=it;p=e,it=!0;try{(t&(ne|Mt))!==0?Br(e):yt(e),_n(e);var i=En(e);e.teardown=typeof i=="function"?i:null,e.wv=bn;var s;Wn&&gr&&(e.f&N)!==0&&e.deps}finally{it=r,p=n}}}function k(e){var t=e.f,n=(t&S)!==0;if(v!==null&&!W){var r=p!==null&&(p.f&z)!==0;if(!r&&(F===null||!ye.call(F,e))){var i=v.deps;if((v.f&at)!==0)e.rv<we&&(e.rv=we,C===null&&i!==null&&i[D]===e?D++:C===null?C=[e]:C.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:ye.call(s,v)||s.push(v)}}}if(he&&fe.has(e))return fe.get(e);if(n){var o=e;if(he){var l=o.v;return((o.f&T)===0&&o.reactions!==null||xn(o))&&(l=vt(o)),fe.set(o,l),l}var f=(o.f&L)===0&&!W&&v!==null&&(it||(v.f&L)!==0),a=(o.f&ie)===0;je(o)&&(f&&(o.f|=L),tn(o)),f&&!a&&(nn(o),Tn(o))}if(Y?.has(e))return Y.get(e);if((e.f&se)!==0)throw e.v;return e.v}function Tn(e){if(e.f|=L,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&S)!==0&&(t.f&L)===0&&(nn(t),Tn(t))}function xn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(fe.has(t)||(t.f&S)!==0&&xn(t))return!0;return!1}function Kr(e){var t=W;try{return W=!0,e()}finally{W=t}}const He=Symbol("events"),Sn=new Set,$t=new Set;function An(e,t,n){(t[He]??={})[e]=n}function Xr(e){for(var t=0;t<e.length;t++)Sn.add(e[t]);for(var n of $t)n(e)}let Nn=null;function Rn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Nn=e;var o=0,l=Nn===e&&e[He];if(l){var f=i.indexOf(l);if(f!==-1&&(t===document||t===window)){e[He]=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(o=f)}if(s=i[o]||e.target,s!==t){Ue(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=v,d=p;P(null),J(null);try{for(var c,_=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var g=s[He]?.[r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(E){c?_.push(E):c=E}if(e.cancelBubble||h===t||h===null)break;s=h}if(c){for(let E of _)queueMicrotask(()=>{throw E});throw c}}finally{e[He]=t,delete e.currentTarget,P(u),J(d)}}}const Zr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Qr(e){return Zr?.createHTML(e)??e}function ei(e){var t=wt("template");return t.innerHTML=Qr(e.replaceAll("<!>","<!---->")),t.content}function Ye(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function kt(e,t){var n=(t&Yn)!==0,r,i=!e.startsWith("<!>");return()=>{if(b)return Ye(y,null),y;r===void 0&&(r=ei(i?e:"<!>"+e),r=nt(r));var s=n||on?document.importNode(r,!0):r.cloneNode(!0);return Ye(s,s),s}}function Cn(e=""){if(!b){var t=Q(e+"");return Ye(t,t),t}var n=y;return n.nodeType!==Je?(n.before(n=Q()),H(n)):mt(n),Ye(n,n),n}function De(e,t){if(b){var n=p;((n.f&ie)===0||n.nodes.end===null)&&(n.nodes.end=y),Ze();return}e!==null&&e.before(t)}const ti=["touchstart","touchmove"];function ni(e){return ti.includes(e)}function We(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Dn(e,t){return On(e,t)}function ri(e,t){gt(),t.intro=t.intro??!1;const n=t.target,r=b,i=y;try{for(var s=nt(n);s&&(s.nodeType!==Ke||s.data!==St);)s=ue(s);if(!s)throw be;Te(!0),H(s);const o=On(e,{...t,anchor:s});return Te(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==be&&console.warn("Failed to hydrate: ",o),t.recover===!1&&or(),gt(),Lr(n),Te(!1),Dn(e,t)}finally{Te(r),H(i)}}const st=new Map;function On(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){gt();var f=void 0,a=Hr(()=>{var u=n??t.appendChild(Q());Er(u,{pending:()=>{}},_=>{zt({});var h=M;if(s&&(h.c=s),i&&(r.$$events=i),b&&Ye(_,null),f=e(_,r)||{},b&&(p.nodes.end=y,y===null||y.nodeType!==Ke||y.data!==Rt))throw Xe(),be;Ht()},l);var d=new Set,c=_=>{for(var h=0;h<_.length;h++){var g=_[h];if(!d.has(g)){d.add(g);var E=ni(g);for(const Oe of[t,document]){var O=st.get(Oe);O===void 0&&(O=new Map,st.set(Oe,O));var _e=O.get(g);_e===void 0?(Oe.addEventListener(g,Rn,{passive:E}),O.set(g,1)):O.set(g,_e+1)}}}};return c(qn(Sn)),$t.add(c),()=>{for(var _ of d)for(const E of[t,document]){var h=st.get(E),g=h.get(_);--g==0?(E.removeEventListener(_,Rn),h.delete(_),h.size===0&&st.delete(E)):h.set(_,g)}$t.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Et.set(f,a),f}let Et=new WeakMap;function ii(e,t){const n=Et.get(e);return n?(Et.delete(e),n(t)):Promise.resolve()}class si{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)qr(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&&(R(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 a=document.createDocumentFragment();wn(o,a),a.append(Q()),this.#t.set(s,{effect:o,fragment:a})}else R(o);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Fe(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)||(R(i.effect),this.#t.delete(r))};ensure(t,n){var r=m,i=Mr();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),o=Q();s.append(o),this.#t.set(t,{effect:ee(()=>n(o)),fragment:s})}else this.#n.set(t,ee(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,f]of this.#n)l===t?r.unskip_effect(f):r.skip_effect(f);for(const[l,f]of this.#t)l===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else b&&(this.anchor=y),this.#r(r)}}function Ln(e,t,n=!1){var r;b&&(r=y,Ze());var i=new si(e),s=n?Ee:0;function o(l,f){if(b){var a=_r(r);if(l!==parseInt(a.substring(1))){var u=Ft();H(u),i.anchor=u,Te(!1),i.ensure(l,f),Te(!0);return}}i.ensure(l,f)}dn(()=>{var l=!1;t((f,a=0)=>{l=!0,o(a,f)}),l||o(-1,null)},s)}function Mn(e,t,n,r,i){b&&Ze();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 li(e,t){Yr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=wt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function oi(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ai(e,t,n,r,i,s){var o=e.__className;if(b||o!==n||o===void 0){var l=oi(n,r);(!b||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const fi=Symbol("is custom element"),ui=Symbol("is html"),ci=tr?"link":"LINK";function hi(e,t,n,r){var i=di(e);b&&(i[t]=e.getAttribute(t),e.nodeName===ci)||i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&_i(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function di(e){return e.__attributes??={[fi]:e.nodeName.includes("-"),[ui]:e.namespaceURI===Ct}}var In=new Map;function _i(e){var t=e.getAttribute("is")||e.nodeName,n=In.get(t);if(n)return n;In.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Un(i);for(var o in r)r[o].set&&n.push(o);i=Dt(i)}return n}function Be(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 f;f=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var a=!1,u=en(()=>(a=!1,f())),d=p;return(function(c,_){if(arguments.length>0){const h=_?k(u):c;return I(u,h),a=!0,i!==void 0&&(i=h),c}return he&&a||(d.f&z)!==0?u.v:k(u)})}function vi(e){return new pi(e)}class pi{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=Dr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return k(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===er?!0:(k(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return I(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?ri:Dn)(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)&&Ne(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Ue(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=()=>{ii(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 Pn;typeof HTMLElement=="function"&&(Pn=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=wt("slot");r!=="default"&&(s.name=r),De(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=gi(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]=lt(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=vi({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=zr(()=>{hn(()=>{this.$$r=!0;for(const r of qe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=lt(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]=lt(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 qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function lt(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 gi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function wi(e,t,n,r,i,s){let o=class extends Pn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return qe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return qe(t).forEach(l=>{Ue(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(f){f=lt(l,f,t),this.$$d[l]=f;var a=this.$$c;if(a){var u=$e(a,l)?.get;u?a[l]=f:a.$set({[l]:f})}}})}),r.forEach(l=>{Ue(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const Fn={en:{accept:"I Agree",decline:"I Decline",learnmore:"Learn more",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Cookie Informations"},it:{accept:"Accetto",decline:"Rifiuto",learnmore:"Approfondisci",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Informativa sui cookie"}};class de{dictionary;lang="";constructor(t){if(!t?.dictionary)throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(t?.lang)}setLang(t){t||(t=de.getDefaultLang()),this.lang=t}translateWord(t,n){return de.getDictionaryWord(t,this.dictionary,n||this.lang)}translateDate(t,n,r){return de.formatDate(t,n,r||this.lang)}static getDefaultLang(){let t="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(t=navigator.languages[0].split("-")[0].toLowerCase()),t}static getDictionaryWord(t,n,r){if(!t)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(r&&n[r]?.[t])return n[r][t];let i="";const s=de.getDefaultLang();if(!r||s!==r){const o=n?.[s];o?.[t]&&(i=o[t])}return i}static formatDate(t,n,r){if(!t)throw new Error("no date provided");if(typeof t.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(r||de.getDefaultLang(),n).format(t)}}var mi=kt('<a target="_blank" class="svelte-1a3taka"> </a>'),bi=kt('<button type="button" class="svelte-1a3taka"> </button>'),yi=kt('<div id="cookiealert" role="alert"><div id="cookielaw_container" class="svelte-1a3taka"><div id="cookielaw_content" class="svelte-1a3taka"><h3><!></h3> <!></div> <div id="cookielaw_buttons" class="svelte-1a3taka"><!> <!> <button type="button" class="svelte-1a3taka"> </button></div></div></div>');const $i={hash:"svelte-1a3taka",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");:host {font-family:"Roboto", sans-serif;}
|
|
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,ee=8192,te=16384,ne=32768,re=1<<25,ie=65536,ae=1<<19,oe=1<<20,se=65536,ce=1<<21,le=1<<22,ue=1<<23,de=Symbol(`$state`),fe=Symbol(`legacy props`),pe=Symbol(``),S=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){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function _e(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function ve(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function ye(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function be(){throw Error(`https://svelte.dev/e/hydration_failed`)}function xe(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Se(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ce(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function we(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Te(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Ee(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function De(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var C=!1;function Oe(e){C=e}var w;function T(e){if(e===null)throw Ee(),t;return w=e}function ke(){return T(R(w))}function E(e){if(C){if(R(w)!==null)throw Ee(),t;w=e}}function Ae(e=1){if(C){for(var t=e,n=w;t--;)n=R(n);w=n}}function je(e=!0){for(var t=0,n=w;;){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 Ee(),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,D=null;function Re(e){D=e}function ze(e,t=!1,n){D={p:D,i:!1,c:null,e:null,s:e,x:null,r:q,l:Le&&!t?{s:null,u:null,$:[]}:null}}function Be(e){var t=D,n=t.e;if(n!==null){t.e=null;for(var r of n)on(r)}return e!==void 0&&(t.x=e),t.i=!0,D=t.p,e??{}}function Ve(){return!Le||D!==null&&D.l===null}var He=[];function Ue(){var e=He;He=[],_(e)}function We(e){if(He.length===0&&!tt){var t=He;queueMicrotask(()=>{t===He&&Ue()})}He.push(e)}function Ge(){for(;He.length>0;)Ue()}function Ke(e){var t=q;if(t===null)return W.f|=ue,e;if(!(t.f&32768)&&!(t.f&4))throw e;O(e,t)}function O(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 qe=~(b|x|y);function k(e,t){e.f=e.f&qe|t}function Je(e){e.f&512||e.deps===null?k(e,y):k(e,x)}function Ye(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=se,Ye(t.deps))}function Xe(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ye(e.deps),k(e,y)}var Ze=!1,Qe=!1;function $e(e){var t=Qe;try{return Qe=!1,[e(),Qe]}finally{Qe=t}}var A=new Set,j=null,M=null,et=null,tt=!1,nt=!1,rt=null,it=null,at=0,ot=1,st=class e{id=ot++;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)k(n,b),this.schedule(n);for(n of t.m)k(n,x),this.schedule(n)}}#p(){if(at++>1e3&&(A.delete(this),lt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),k(e,b),this.schedule(e);for(let e of this.#s)k(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=rt=[],r=[],i=it=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw ht(e),t}if(j=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(rt=null,it=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)mt(e,t)}else{this.#n.size===0&&A.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ut(r),ut(n),this.#i?.resolve()}var o=j;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(A.add(o),o.#p()),A.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):Pn(r)&&(i&16&&this.#s.add(r),zn(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)Xe(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]),M?.set(e,e.v))}activate(){j=this}deactivate(){j=null,M=null}flush(){try{nt=!0,j=this,this.#p()}finally{at=0,et=null,rt=null,it=null,nt=!1,j=null,M=null,P.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),A.delete(this)}#g(){for(let c of A){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)dt(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 A)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(j===null){let t=j=new e;nt||(A.add(j),tt||We(()=>{j===t&&t.flush()}))}return j}apply(){if(!Ie||!this.is_fork&&A.size===1){M=null;return}M=new Map;for(let[e,[t]]of this.current)M.set(e,t);for(let n of A)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)M.has(e)||M.set(e,t)}}schedule(e){if(et=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(rt!==null&&t===q&&(Ie||(W===null||!(W.f&2))&&!Ze))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function ct(e){var t=tt;tt=!0;try{var n;for(e&&(j!==null&&!j.is_fork&&j.flush(),n=e());;){if(Ge(),j===null)return n;j.flush()}}finally{tt=t}}function lt(){try{ye()}catch(e){O(e,et)}}var N=null;function ut(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Pn(r)&&(N=new Set,zn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&vn(r),N?.size>0)){P.clear();for(let e of N){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)N.has(n)&&(N.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||zn(n)}}N.clear()}}N=null}}function dt(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?dt(i,t,n,r):e&4194320&&!(e&2048)&&ft(i,t,r)&&(k(i,b),pt(i))}}function ft(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&&ft(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function pt(e){j.schedule(e)}function mt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),k(e,y);for(var n=e.first;n!==null;)mt(n,t),n=n.next}}function ht(e){k(e,y);for(var t=e.first;t!==null;)ht(t),t=t.next}function gt(e){let t=0,n=Ft(0),r;return()=>{nn()&&($(n),dn(()=>(t===0&&(r=Hn(()=>e(()=>zt(n)))),t+=1,()=>{We(()=>{--t,t===0&&(r?.(),r=void 0,zt(n))})})))}}var _t=ie|ae;function vt(e,t,n,r){new yt(e,t,n,r)}var yt=class{parent;is_pending=!1;transform_error;#e;#t=C?w: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=gt(()=>(this.#m=Ft(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=q;t.b=this,t.f|=128,n(e)},this.parent=q.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=pn(()=>{if(C){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()},_t),C&&(this.#e=w)}#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,yn(this.#o,()=>{this.#o=null}),this.#b(j))}))}#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();Cn(this.#a,e);let t=this.#n.pending;this.#o=V(()=>t(this.#e))}else this.#b(j)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Xe(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=q,n=W,r=D;J(this.#i),K(this.#i),Re(this.#i.ctx);try{return st.ensure(),e()}catch(e){return Ke(e),null}finally{J(t),K(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&&yn(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&&Lt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),$(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),C&&(T(this.#t),Ae(),T(je()));var r=!1,i=!1;let a=()=>{if(r){De();return}r=!0,i&&Te(),this.#s!==null&&yn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){O(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return V(()=>{var t=q;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return O(e,this.#i.parent),null}}))};We(()=>{var t;try{t=this.transform_error(e)}catch(e){O(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>O(e,this.#i&&this.#i.parent)):o(t)})}};function bt(e,t,n,r){let i=Ve()?wt:Et;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=q,s=xt(),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||O(e,o)}St()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Ct();function d(){Promise.all(n.map(e=>Tt(e))).then(e=>l([...t.map(i),...e])).catch(e=>O(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),St()}):d()}function xt(){var e=q,t=W,n=D,r=j;return function(i=!0){J(e),K(t),Re(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function St(e=!0){J(null),K(null),Re(null),e&&j?.deactivate()}function Ct(){var e=q,t=e.b,n=j,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=2|b,r=W!==null&&W.f&2?W:null;return q!==null&&(q.f|=ae),{ctx:D,deps:null,effects:null,equals:Ne,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??q,ac:null}}function Tt(e,t,r){let i=q;i===null&&he();var a=void 0,o=Ft(n),s=!W,c=new Map;return un(()=>{var t=q,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(St)}catch(e){n.reject(e),St()}var r=j;if(s){if(t.f&32768)var l=Ct();if(i.b.is_rendered())c.get(r)?.reject(S),c.delete(r);else{for(let e of c.values())e.reject(S);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===S),!(n===S||t.f&16384)){if(r.activate(),n)o.f|=ue,Lt(o,n);else{o.f&8388608&&(o.f^=ue),Lt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(S)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),rn(()=>{for(let e of c.values())e.reject(S)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function Et(e){let t=wt(e);return t.equals=Fe,t}function Dt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)H(t[n])}}function Ot(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function kt(e){var t,n=q;J(Ot(e));try{e.f&=~se,Dt(e),t=In(e)}finally{J(n)}return t}function At(e){var t=e.v,n=kt(e);if(!e.equals(n)&&(e.wv=Nn(),(!j?.is_fork||e.deps===null)&&(e.v=n,j?.capture(e,t,!0),e.deps===null))){k(e,y);return}U||(M===null?Je(e):(nn()||j?.is_fork)&&M.set(e,n))}function jt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(S),t.teardown=g,t.ac=null,Rn(t,0),hn(t))}function Mt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&zn(t)}var Nt=new Set,P=new Map,Pt=!1;function Ft(e,t){return{f:0,v:e,reactions:null,equals:Ne,rv:0,wv:0}}function F(e,t){let n=Ft(e,t);return Dn(n),n}function It(e,t=!1,n=!0){let r=Ft(e);return t||(r.equals=Fe),Le&&n&&D!==null&&D.l!==null&&(D.l.s??=[]).push(r),r}function I(e,t,n=!1){return W!==null&&(!G||W.f&131072)&&Ve()&&W.f&4325394&&(Y===null||!o.call(Y,e))&&we(),Lt(e,n?Vt(t):t,it)}function Lt(e,t,n=null){if(!e.equals(t)){var r=e.v;U?P.set(e,t):P.set(e,r),e.v=t;var i=st.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&kt(t),M===null&&Je(t)}e.wv=Nn(),Bt(e,b,n),Ve()&&q!==null&&q.f&1024&&!(q.f&96)&&(Q===null?On([e]):Q.push(e)),!i.is_fork&&Nt.size>0&&!Pt&&Rt()}return t}function Rt(){Pt=!1;for(let e of Nt)e.f&1024&&k(e,x),Pn(e)&&zn(e);Nt.clear()}function zt(e){I(e,e.v+1)}function Bt(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===q)){var l=(c&b)===0;if(l&&k(s,t),c&2){var u=s;M?.delete(u),c&65536||(c&512&&(s.f|=se),Bt(u,x,n))}else if(l){var d=s;c&16&&N!==null&&N.add(d),n===null?pt(d):n.push(d)}}}}function Vt(e){if(typeof e!=`object`||!e||de 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=jn,l=e=>{if(jn===c)return e();var t=W,n=jn;K(null),Mn(c);var r=e();return K(t),Mn(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)&&Se();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),zt(o)}}else I(i,n),zt(o);return!0},get(t,i,a){if(i===de)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>F(Vt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=$(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=$(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===de)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||q!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>F(a?Vt(e[t]):n,s)),r.set(t,i)),$(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,Vt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Vt(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)}zt(o)}return!0},ownKeys(e){$(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(){Ce()}})}var Ht,Ut,Wt,Gt;function Kt(){if(Ht===void 0){Ht=window,Ut=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Wt=u(t,`firstChild`).get,Gt=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 qt(e){return Wt.call(e)}function R(e){return Gt.call(e)}function z(e,t){if(!C)return qt(e);var n=qt(w);if(n===null)n=w.appendChild(L());else if(t&&n.nodeType!==3){var r=L();return n?.before(r),T(r),r}return t&&Qt(n),T(n),n}function Jt(e,t=1,n=!1){let r=C?w:e;for(var i;t--;)i=r,r=R(r);if(!C)return r;if(n){if(r?.nodeType!==3){var a=L();return r===null?i?.after(a):r.before(a),T(a),a}Qt(r)}return T(r),r}function Yt(e){e.textContent=``}function Xt(){return!Ie||N!==null?!1:(q.f&ne)!==0}function Zt(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function Qt(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 $t(e){var t=W,n=q;K(null),J(null);try{return e()}finally{K(t),J(n)}}function en(e){q===null&&(W===null&&ve(e),_e()),U&&ge(e)}function tn(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=q;n!==null&&n.f&8192&&(e|=ee);var r={ctx:D,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)rt===null?st.ensure().schedule(r):rt.push(r);else if(t!==null){try{zn(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|=ie))}if(i!==null&&(i.parent=n,n!==null&&tn(i,n),W!==null&&W.f&2&&!(e&64))){var a=W;(a.effects??=[]).push(i)}return r}function nn(){return W!==null&&!G}function rn(e){let t=B(8,null);return k(t,y),t.teardown=e,t}function an(e){en(`$effect`);var t=q.f;if(!W&&t&32&&!(t&32768)){var n=D;(n.e??=[]).push(e)}else return on(e)}function on(e){return B(4|oe,e)}function sn(e){st.ensure();let t=B(64|ae,e);return()=>{H(t)}}function cn(e){st.ensure();let t=B(64|ae,e);return(e={})=>new Promise(n=>{e.outro?yn(t,()=>{H(t),n(void 0)}):(H(t),n(void 0))})}function ln(e){return B(4,e)}function un(e){return B(le|ae,e)}function dn(e,t=0){return B(8|t,e)}function fn(e,t=[],n=[],r=[]){bt(r,t,n,t=>{B(8,()=>e(...t.map($)))})}function pn(e,t=0){return B(16|t,e)}function V(e){return B(32|ae,e)}function mn(e){var t=e.teardown;if(t!==null){let e=U,n=W;En(!0),K(null);try{t.call(null)}finally{En(e),K(n)}}}function hn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&$t(()=>{e.abort(S)});var r=n.next;n.f&64?n.parent=null:H(n,t),n=r}}function gn(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&&(_n(e.nodes.start,e.nodes.end),n=!0),k(e,re),hn(e,t&&!n),Rn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();mn(e),e.f^=re,e.f|=te;var i=e.parent;i!==null&&i.first!==null&&vn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function _n(e,t){for(;e!==null;){var n=e===t?null:R(e);e.remove(),e=n}}function vn(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 yn(e,t,n=!0){var r=[];bn(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 bn(e,t,n){if(!(e.f&8192)){e.f^=ee;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;bn(i,t,o?n:!1),i=a}}}function xn(e){Sn(e,!0)}function Sn(e,t){if(e.f&8192){e.f^=ee,e.f&1024||(k(e,b),st.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Sn(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 Cn(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 wn=null,Tn=!1,U=!1;function En(e){U=e}var W=null,G=!1;function K(e){W=e}var q=null;function J(e){q=e}var Y=null;function Dn(e){W!==null&&(!Ie||W.f&2)&&(Y===null?Y=[e]:Y.push(e))}var X=null,Z=0,Q=null;function On(e){Q=e}var kn=1,An=0,jn=An;function Mn(e){jn=e}function Nn(){return++kn}function Pn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~se),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Pn(a)&&At(a),a.wv>e.wv)return!0}t&512&&M===null&&k(e,y)}return!1}function Fn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Ie&&Y!==null&&o.call(Y,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Fn(a,t,!1):t===a&&(n?k(a,b):a.f&1024&&k(a,x),pt(a))}}function In(e){var t=X,n=Z,r=Q,i=W,a=Y,o=D,s=G,c=jn,l=e.f;X=null,Z=0,Q=null,W=l&96?null:e,Y=null,Re(e.ctx),G=!1,jn=++An,e.ac!==null&&($t(()=>{e.ac.abort(S)}),e.ac=null);try{e.f|=ce;var u=e.fn,d=u();e.f|=ne;var f=e.deps,p=j?.is_fork;if(X!==null){var m;if(p||Rn(e,Z),f!==null&&Z>0)for(f.length=Z+X.length,m=0;m<X.length;m++)f[Z+m]=X[m];else e.deps=f=X;if(nn()&&e.f&512)for(m=Z;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Z<f.length&&(Rn(e,Z),f.length=Z);if(Ve()&&Q!==null&&!G&&f!==null&&!(e.f&6146))for(m=0;m<Q.length;m++)Fn(Q[m],e);if(i!==null&&i!==e){if(An++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=An;if(t!==null)for(let e of t)e.rv=An;Q!==null&&(r===null?r=Q:r.push(...Q))}return e.f&8388608&&(e.f^=ue),d}catch(e){return Ke(e)}finally{e.f^=ce,X=t,Z=n,Q=r,W=i,Y=a,Re(o),G=s,jn=c}}function Ln(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&&(X===null||!o.call(X,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~se),Je(s),jt(s),Rn(s,0)}}function Rn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ln(e,n[r])}function zn(e){var t=e.f;if(!(t&16384)){k(e,y);var n=q,r=Tn;q=e,Tn=!0;try{t&16777232?gn(e):hn(e),mn(e);var i=In(e);e.teardown=typeof i==`function`?i:null,e.wv=kn}finally{Tn=r,q=n}}}function $(e){var t=(e.f&2)!=0;if(wn?.add(e),W!==null&&!G&&!(q!==null&&q.f&16384)&&(Y===null||!o.call(Y,e))){var n=W.deps;if(W.f&2097152)e.rv<An&&(e.rv=An,X===null&&n!==null&&n[Z]===e?Z++:X===null?X=[e]:X.push(e));else{(W.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[W]:o.call(r,W)||r.push(W)}}if(U&&P.has(e))return P.get(e);if(t){var i=e;if(U){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Vn(i))&&(a=kt(i)),P.set(i,a),a}var s=(i.f&512)==0&&!G&&W!==null&&(Tn||(W.f&512)!=0),c=(i.f&ne)===0;Pn(i)&&(s&&(i.f|=512),At(i)),s&&!c&&(Mt(i),Bn(i))}if(M?.has(e))return M.get(e);if(e.f&8388608)throw e.v;return e.v}function Bn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Mt(t),Bn(t))}function Vn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(P.has(t)||t.f&2&&Vn(t))return!0;return!1}function Hn(e){var t=G;try{return G=!0,e()}finally{G=t}}var Un=Symbol(`events`),Wn=new Set,Gn=new Set;function Kn(e,t,n){(t[Un]??={})[e]=n}function qn(e){for(var t=0;t<e.length;t++)Wn.add(e[t]);for(var n of Gn)n(e)}var Jn=null;function Yn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Jn=e;var o=0,s=Jn===e&&e[Un];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Un]=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=W,f=q;K(null),J(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Un]?.[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[Un]=t,delete e.currentTarget,K(d),J(f)}}}var Xn=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Zn(e){return Xn?.createHTML(e)??e}function Qn(e){var t=Zt(`template`);return t.innerHTML=Zn(e.replaceAll(`<!>`,`<!---->`)),t.content}function $n(e,t){var n=q;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function er(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(C)return $n(w,null),w;i===void 0&&(i=Qn(a?e:`<!>`+e),n||(i=qt(i)));var t=r||Ut?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=qt(t),s=t.lastChild;$n(o,s)}else $n(t,t);return t}}function tr(e=``){if(!C){var t=L(e+``);return $n(t,t),t}var n=w;return n.nodeType===3?Qt(n):(n.before(n=L()),T(n)),$n(n,n),n}function nr(e,t){if(C){var n=q;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=w),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 rr=[`touchstart`,`touchmove`];function ir(e){return rr.includes(e)}function ar(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function or(e,t){return lr(e,t)}function sr(e,n){Kt(),n.intro=n.intro??!1;let r=n.target,i=C,a=w;try{for(var o=qt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=R(o);if(!o)throw t;Oe(!0),T(o);let i=lr(e,{...n,anchor:o});return Oe(!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&&be(),Kt(),Yt(r),Oe(!1),or(e,n)}finally{Oe(i),T(a)}}var cr=new Map;function lr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Kt();var u=void 0,d=cn(()=>{var c=r??n.appendChild(L());vt(c,{pending:()=>{}},n=>{ze({});var r=D;if(o&&(r.c=o),a&&(i.$$events=a),C&&$n(n,null),u=e(n,i)||{},C&&(q.nodes.end=w,w===null||w.nodeType!==8||w.data!==`]`))throw Ee(),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=ir(r);for(let e of[n,document]){var a=cr.get(e);a===void 0&&(a=new Map,cr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Yn,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(Wn)),Gn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=cr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,Yn),t.delete(e),t.size===0&&cr.delete(r)):t.set(e,i)}Gn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return ur.set(u,d),u}var ur=new WeakMap;function dr(e,t){let n=ur.get(e);return n?(ur.delete(e),n(t)):Promise.resolve()}var fr=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)xn(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();Cn(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),yn(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=j,r=Xt();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 C&&(this.anchor=w),this.#a(n)}};function pr(e,t,n=!1){var r;C&&(r=w,ke());var i=new fr(e),a=n?ie:0;function o(e,t){if(C){var n=Me(r);if(e!==parseInt(n.substring(1))){var a=je();T(a),i.anchor=a,Oe(!1),i.ensure(e,t),Oe(!0);return}}i.ensure(e,t)}pn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function mr(e,t,n,r,i){C&&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 hr(e,t){ln(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Zt(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var gr=[...`
|
|
3
|
+
\r\f\xA0\v`];function _r(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||gr.includes(r[o-1]))&&(s===r.length||gr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function vr(e,t,n,r,i,a){var o=e.__className;if(C||o!==n||o===void 0){var s=_r(n,r,a);(!C||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}var yr=Symbol(`is custom element`),br=Symbol(`is html`),xr=me?`link`:`LINK`;function Sr(e,t,n,r){var i=Cr(e);C&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===xr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[pe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Tr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Cr(e){return e.__attributes??={[yr]:e.nodeName.includes(`-`),[br]:e.namespaceURI===r}}var wr=new Map;function Tr(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 Er(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?Hn(r):r),s);let d;if(a){var f=de in e||fe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=$e(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&xe(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?wt:Et)(()=>(_=!1,h()));a&&$(v);var y=q;return(function(e,t){if(arguments.length>0){let n=t?$(v):i&&a?Vt(e):e;return I(v,n),_=!0,s!==void 0&&(s=n),e}return U&&_||y.f&16384?v.v:$(v)})}function Dr(e){return new Or(e)}var Or=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=It(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return $(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===fe?!0:($(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?sr:or)(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)&&ct(),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=()=>{dr(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()}},kr;typeof HTMLElement==`function`&&(kr=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=Zt(`slot`);e!==`default`&&(n.name=e),nr(t,n)}}let t={},n=jr(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]=Ar(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=Dr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=sn(()=>{dn(()=>{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=Ar(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]=Ar(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 Ar(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 jr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Mr(e,t,n,r,i,a){let o=class extends kr{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=Ar(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 Nr={en:{accept:`I Agree`,decline:`I Decline`,learnmore:`Learn more`,basicCookieLaw:`Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.`,cookieLawTitle:`Cookie Informations`},it:{accept:`Accetto`,decline:`Rifiuto`,learnmore:`Approfondisci`,basicCookieLaw:`Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.`,cookieLawTitle:`Informativa sui cookie`}},Pr=class e{dictionary;lang=``;constructor(e){if(!e?.dictionary)throw Error(`no dictionary provided`);this.dictionary=e.dictionary,this.setLang(e?.lang)}setLang(t){t||=e.getDefaultLang(),this.lang=t}translateWord(t,n){return e.getDictionaryWord(t,this.dictionary,n||this.lang)}translateDate(t,n,r){return e.formatDate(t,n,r||this.lang)}static getDefaultLang(){let e=`en`;return navigator?.languages&&navigator.languages[0]?.split(`-`)[0]?.toLowerCase()?.length&&(e=navigator.languages[0].split(`-`)[0].toLowerCase()),e}static getDictionaryWord(t,n,r){if(!t)throw Error(`no wordKey provided`);if(!n)throw Error(`no dictionary provided`);if(r&&n[r]?.[t])return n[r][t];let i=``,a=e.getDefaultLang();if(!r||a!==r){let e=n?.[a];e?.[t]&&(i=e[t])}return i}static formatDate(t,n,r){if(!t)throw Error(`no date provided`);if(typeof t.getMonth!=`function`)throw Error(`wrong date format`);return new Intl.DateTimeFormat(r||e.getDefaultLang(),n).format(t)}},Fr=er(`<a target="_blank" class="svelte-1a3taka"> </a>`),Ir=er(`<button type="button" class="svelte-1a3taka"> </button>`),Lr=er(`<div id="cookiealert" role="alert"><div id="cookielaw_container" class="svelte-1a3taka"><div id="cookielaw_content" class="svelte-1a3taka"><h3><!></h3> <!></div> <div id="cookielaw_buttons" class="svelte-1a3taka"><!> <!> <button type="button" class="svelte-1a3taka"> </button></div></div></div>`),Rr={hash:`svelte-1a3taka`,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");:host {font-family:"Roboto", sans-serif;}
|
|
3
4
|
/*
|
|
4
5
|
* Bootstrap Cookie Alert by Wruczek
|
|
5
6
|
* https://github.com/Wruczek/Bootstrap-Cookie-Alert
|
|
6
7
|
* Released under MIT license
|
|
7
|
-
*/#cookiealert.svelte-1a3taka {position:fixed;bottom:0;left:0;width:100%;margin:0 !important;z-index:999;opacity:0;visibility:hidden;border-radius:0;transform:translateY(100%);transition:all 500ms ease-out;color:#ecf0f1;background:#212327;}#cookiealert.show.svelte-1a3taka {opacity:1;visibility:visible;transform:translateY(0%);transition-delay:1000ms;}#cookielaw_container.svelte-1a3taka {margin:5px 10px 5px 10px;}#cookielaw_content.svelte-1a3taka {min-height:90px;line-height:30px;vertical-align:middle;}#cookielaw_buttons.svelte-1a3taka {text-align:right;line-height:30px;vertical-align:middle;padding-right:3vh;margin-bottom:10px;}#cookielaw_buttons.svelte-1a3taka button:where(.svelte-1a3taka) {margin-left:5px;font-size:1.2em;}#cookiealert.svelte-1a3taka a:where(.svelte-1a3taka) {text-decoration:underline;color:white;font-size:1.2em;}`};function
|
|
8
|
-
//# sourceMappingURL=main.iife.js.map
|
|
8
|
+
*/#cookiealert.svelte-1a3taka {position:fixed;bottom:0;left:0;width:100%;margin:0 !important;z-index:999;opacity:0;visibility:hidden;border-radius:0;transform:translateY(100%);transition:all 500ms ease-out;color:#ecf0f1;background:#212327;}#cookiealert.show.svelte-1a3taka {opacity:1;visibility:visible;transform:translateY(0%);transition-delay:1000ms;}#cookielaw_container.svelte-1a3taka {margin:5px 10px 5px 10px;}#cookielaw_content.svelte-1a3taka {min-height:90px;line-height:30px;vertical-align:middle;}#cookielaw_buttons.svelte-1a3taka {text-align:right;line-height:30px;vertical-align:middle;padding-right:3vh;margin-bottom:10px;}#cookielaw_buttons.svelte-1a3taka button:where(.svelte-1a3taka) {margin-left:5px;font-size:1.2em;}#cookiealert.svelte-1a3taka a:where(.svelte-1a3taka) {text-decoration:underline;color:white;font-size:1.2em;}`};function zr(e,t){ze(t,!0),hr(e,Rr);function n(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}let r=Er(t,`id`,7,``),i=Er(t,`cookielawuri4more`,7,``),a=Er(t,`capabilities`,7,void 0),o=Er(t,`allowdecline`,7,`no`),s=Er(t,`i18nlang`,7),c=F(!1),l=F(Vt(new Pr({dictionary:Nr,lang:s()})));an(()=>{if(typeof a()==`string`)try{a(JSON.parse(a()))}catch{}I(c,!!localStorage.getItem(u),!0),o()!==`yes`&&o(`no`),$(l)&&s()&&$(l).lang&&$(l).lang!==s()&&I(l,new Pr({dictionary:Nr,lang:s()}),!0)});let u=`cookielaw`;function d(e){console.info(`accept cookie law`);let t={accepted:e},r=e?`yes`:`no`;localStorage.setItem(u,r),I(c,!0),n(`acceptCookieLaw`,t)}var f={get id(){return r()},set id(e=``){r(e),ct()},get cookielawuri4more(){return i()},set cookielawuri4more(e=``){i(e),ct()},get capabilities(){return a()},set capabilities(e=void 0){a(e),ct()},get allowdecline(){return o()},set allowdecline(e=`no`){o(e),ct()},get i18nlang(){return s()},set i18nlang(e){s(e),ct()}},p=Lr(),m=z(p),h=z(m),g=z(h);mr(z(g),t,`title`,{},e=>{var t=tr();fn(e=>ar(t,e),[()=>$(l).translateWord(`cookieLawTitle`)]),nr(e,t)}),E(g),mr(Jt(g,2),t,`text`,{},e=>{var t=tr();fn(e=>ar(t,e),[()=>$(l).translateWord(`basicCookieLaw`)]),nr(e,t)}),E(h);var _=Jt(h,2),v=z(_),y=e=>{var t=Fr(),n=z(t,!0);E(t),fn(e=>{Sr(t,`href`,i()||`https://wikipedia.org/wiki/HTTP_cookie`),ar(n,e)},[()=>$(l).translateWord(`learnmore`)]),nr(e,t)};pr(v,e=>{i()!==`no`&&e(y)});var b=Jt(v,2),x=e=>{var t=Ir(),n=z(t,!0);E(t),fn(e=>ar(n,e),[()=>$(l).translateWord(`decline`)]),Kn(`click`,t,()=>d(!1)),nr(e,t)};pr(b,e=>{o()===`yes`&&e(x)});var ee=Jt(b,2),te=z(ee,!0);return E(ee),E(_),E(m),E(p),fn(e=>{vr(p,1,`alert text-center ${$(c)?``:`show`}`,`svelte-1a3taka`),ar(te,e)},[()=>$(l).translateWord(`accept`)]),Kn(`click`,ee,()=>d(!0)),nr(e,p),Be(f)}qn([`click`]),customElements.define(`hb-cookie-law-banner`,Mr(zr,{id:{},cookielawuri4more:{},capabilities:{},allowdecline:{},i18nlang:{}},[`title`,`text`],[],{mode:`open`})),e.Component=zr})(this[`cookie-law-banner`]=this[`cookie-law-banner`]||{});
|
|
9
|
+
//# sourceMappingURL=main.iife.js.map
|