@htmlbricks/hb-cookie-law-banner 0.62.0 → 0.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,8 +1,8 @@
1
- (function(yt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Rn=2,bt="[",it="[!",$t="]",_e={},E=Symbol(),On="http://www.w3.org/1999/xhtml",Et=!1;var Ln=Array.isArray,Dn=Array.prototype.indexOf,Pn=Array.from,ze=Object.keys,Be=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,Mn=Object.getOwnPropertyDescriptors,In=Object.prototype,Fn=Array.prototype,kt=Object.getPrototypeOf,Tt=Object.isExtensible;function jn(e){for(var t=0;t<e.length;t++)e[t]()}function xt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const k=2,We=4,st=8,U=16,G=32,te=64,Ye=128,I=512,T=1024,C=2048,J=4096,z=8192,ne=16384,ot=32768,ge=65536,At=1<<17,Ct=1<<18,le=1<<19,qn=1<<20,xe=32768,at=1<<21,lt=1<<22,re=1<<23,ft=Symbol("$state"),zn=Symbol("legacy props"),we=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ut=3,Ae=8;function Bn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Wn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Yn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Hn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Vn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Un(){throw new Error("https://svelte.dev/e/hydration_failed")}function Gn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Jn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Kn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Xn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function He(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Zn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function me(e){w=e}let m;function F(e){if(e===null)throw He(),_e;return m=e}function Ve(){return F(oe(m))}function ie(e){if(w){if(oe(m)!==null)throw He(),_e;m=e}}function Qn(e=1){if(w){for(var t=e,n=m;t--;)n=oe(n);m=n}}function Nt(e=!0){for(var t=0,n=m;;){if(n.nodeType===Ae){var r=n.data;if(r===$t){if(t===0)return n;t-=1}else(r===bt||r===it)&&(t+=1)}var i=oe(n);e&&n.remove(),n=i}}function er(e){if(!e||e.nodeType!==Ae)throw He(),_e;return e.data}function St(e){return e===this.v}function tr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function nr(e){return!tr(e,this.v)}let rr=!1,D=null;function ye(e){D=e}function Rt(e,t=!1,n){D={p:D,i:!1,c:null,e:null,s:e,x:null,l:null}}function Ot(e){var t=D,n=t.e;if(n!==null){t.e=null;for(var r of n)Kt(r)}return e!==void 0&&(t.x=e),t.i=!0,D=t.p,e??{}}function Lt(){return!0}let fe=[];function Dt(){var e=fe;fe=[],jn(e)}function ct(e){if(fe.length===0&&!Ce){var t=fe;queueMicrotask(()=>{t===fe&&Dt()})}fe.push(e)}function ir(){for(;fe.length>0;)Dt()}function Pt(e){var t=_;if(t===null)return v.f|=re,e;if((t.f&ot)===0){if((t.f&Ye)===0)throw e;t.b.error(e)}else be(e,t)}function be(e,t){for(;t!==null;){if((t.f&Ye)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ue=new Set;let b=null,R=null,B=[],Ge=null,ht=!1,Ce=!1;class j{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#l=null;#o=[];#a=[];skipped_effects=new Set;is_fork=!1;process(t){B=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#i(r,n);this.is_fork||this.#f(),this.#r>0||this.is_fork?(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects)):(b=null,It(n.render_effects),It(n.effects),this.#l?.resolve()),R=null}#i(t,n){t.f^=T;for(var r=t.first;r!==null;){var i=r.f,s=(i&(G|te))!==0,o=s&&(i&T)!==0,a=o||(i&z)!==0||this.skipped_effects.has(r);if((r.f&Ye)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!a&&r.fn!==null){s?r.f^=T:(i&We)!==0?n.effects.push(r):De(r)&&((r.f&U)!==0&&n.block_effects.push(r),Pe(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#s(t){for(const n of t)((n.f&C)!==0?this.#o:this.#a).push(n),x(n,T)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&re)===0&&(this.current.set(t,t.v),R?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b=null,R=null}flush(){if(this.activate(),B.length>0){if(Mt(),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()}#f(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#u()}#u(){if(Ue.size>1){this.previous.clear();var t=R,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Ue){if(i===this){n=!1;continue}const s=[];for(const[a,l]of this.current){if(i.current.has(a))if(n&&l!==i.current.get(a))i.current.set(a,l);else continue;s.push(a)}if(s.length===0)continue;const o=[...i.current.keys()].filter(a=>!this.current.has(a));if(o.length>0){const a=new Set,l=new Map;for(const f of s)Ft(f,o,a,l);if(B.length>0){b=i,i.apply();for(const f of B)i.#i(f,r);B=[],i.deactivate()}}}b=null,R=t}this.committed=!0,Ue.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.#o)x(t,C),ue(t);for(const t of this.#a)x(t,J),ue(t);this.#o=[],this.#a=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=xt()).promise}static ensure(){if(b===null){const t=b=new j;Ue.add(b),Ce||j.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){ct(t)}apply(){}}function $e(e){var t=Ce;Ce=!0;try{for(var n;;){if(ir(),B.length===0&&(b?.flush(),B.length===0))return Ge=null,n;Mt()}}finally{Ce=t}}function Mt(){var e=ce;ht=!0;try{var t=0;for(on(!0);B.length>0;){var n=j.ensure();if(t++>1e3){var r,i;sr()}n.process(B),se.clear()}}finally{ht=!1,on(e),Ge=null}}function sr(){try{Vn()}catch(e){be(e,Ge)}}let K=null;function It(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ne|z))===0&&De(r)&&(K=new Set,Pe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?tn(r):r.fn=null),K?.size>0)){se.clear();for(const i of K){if((i.f&(ne|z))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)K.has(o)&&(K.delete(o),s.push(o)),o=o.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];(l.f&(ne|z))===0&&Pe(l)}}K.clear()}}K=null}}function Ft(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?Ft(i,t,n,r):(s&(lt|U))!==0&&(s&C)===0&&jt(i,t,r)&&(x(i,C),ue(i))}}function jt(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&&jt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ue(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var n=t.f;if(ht&&t===_&&(n&U)!==0&&(n&Ct)===0)return;if((n&(te|G))!==0){if((n&T)===0)return;t.f^=T}}B.push(t)}function or(e){let t=0,n=Ne(0),r;return()=>{Qe()&&(y(n),Xt(()=>(t===0&&(r=Lr(()=>e(()=>Se(n)))),t+=1,()=>{ct(()=>{t-=1,t===0&&(r?.(),r=void 0,Se(n))})})))}}var ar=ge|le|Ye;function lr(e,t,n){new fr(e,t,n)}class fr{parent;#t=!1;#e;#n=w?m:null;#r;#l;#o;#a=null;#i=null;#s=null;#f=null;#u=null;#d=0;#c=0;#v=!1;#h=null;#m=or(()=>(this.#h=Ne(this.#d),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#l=r,this.parent=_.b,this.#t=!!this.#r.pending,this.#o=Zt(()=>{if(_.b=this,w){const s=this.#n;Ve(),s.nodeType===Ae&&s.data===it?this.#b():this.#y()}else{var i=this.#g();try{this.#a=Z(()=>r(i))}catch(s){this.error(s)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},ar),w&&(this.#e=m)}#y(){try{this.#a=Z(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#b(){const t=this.#r.pending;t&&(this.#i=Z(()=>t(this.#e)),j.enqueue(()=>{var n=this.#g();this.#a=this.#_(()=>(j.ensure(),Z(()=>this.#l(n)))),this.#c>0?this.#p():(Oe(this.#i,()=>{this.#i=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=X(),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=_,r=v,i=D;V(this.#o),S(this.#o),ye(this.#o.ctx);try{return t()}catch(s){return Pt(s),null}finally{V(n),S(r),ye(i)}}#p(){const t=this.#r.pending;this.#a!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),sn(this.#a,this.#f)),this.#i===null&&(this.#i=Z(()=>t(this.#e)))}#w(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#i&&Oe(this.#i,()=>{this.#i=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#w(t),this.#d+=t,this.#h&&Ke(this.#h,this.#d)}get_effect_pending(){return this.#m(),y(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#a&&(N(this.#a),this.#a=null),this.#i&&(N(this.#i),this.#i=null),this.#s&&(N(this.#s),this.#s=null),w&&(F(this.#n),Qn(),F(Nt()));var i=!1,s=!1;const o=()=>{if(i){Zn();return}i=!0,s&&Xn(),j.ensure(),this.#d=0,this.#s!==null&&Oe(this.#s,()=>{this.#s=null}),this.#t=this.has_pending_snippet(),this.#a=this.#_(()=>(this.#v=!1,Z(()=>this.#l(this.#e)))),this.#c>0?this.#p():this.#t=!1};var a=v;try{S(null),s=!0,n?.(t,o),s=!1}catch(l){be(l,this.#o&&this.#o.parent)}finally{S(a)}r&&ct(()=>{this.#s=this.#_(()=>{j.ensure(),this.#v=!0;try{return Z(()=>{r(this.#e,()=>t,()=>o)})}catch(l){return be(l,this.#o.parent),null}finally{this.#v=!1}})})}}function ur(e,t,n,r){const i=qt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=b,o=_,a=cr();function l(){Promise.all(n.map(f=>hr(f))).then(f=>{a();try{r([...t.map(i),...f])}catch(c){(o.f&ne)===0&&be(c,o)}s?.deactivate(),Je()}).catch(f=>{be(f,o)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{s?.deactivate(),Je()}}):l()}function cr(){var e=_,t=v,n=D,r=b;return function(s=!0){V(e),S(t),ye(n),s&&r?.activate()}}function Je(){V(null),S(null),ye(null)}function qt(e){var t=k|C,n=v!==null&&(v.f&k)!==0?v:null;return _!==null&&(_.f|=le),{ctx:D,deps:null,effects:null,equals:St,f:t,fn:e,reactions:null,rv:0,v:E,wv:0,parent:n??_,ac:null}}function hr(e,t){let n=_;n===null&&Bn();var r=n.b,i=void 0,s=Ne(E),o=!v,a=new Map;return Tr(()=>{var l=xt();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===b&&f.committed&&f.deactivate(),Je()})}catch(u){l.reject(u),Je()}var f=b;if(o){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),a.get(f)?.reject(we),a.delete(f),a.set(f,l)}const d=(u,h=void 0)=>{if(f.activate(),h)h!==we&&(s.f|=re,Ke(s,h));else{(s.f&re)!==0&&(s.f^=re),Ke(s,u);for(const[g,L]of a){if(a.delete(g),g===f)break;L.reject(we)}}o&&(r.update_pending_count(-1),f.decrement(c))};l.promise.then(d,u=>d(null,u||"unknown"))}),yr(()=>{for(const l of a.values())l.reject(we)}),new Promise(l=>{function f(c){function d(){c===i?l(s):f(i)}c.then(d,d)}f(i)})}function zt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)N(t[n])}}function dr(e){for(var t=e.parent;t!==null;){if((t.f&k)===0)return t;t=t.parent}return null}function dt(e){var t,n=_;V(dr(e));try{e.f&=~xe,zt(e),t=hn(e)}finally{V(n)}return t}function Bt(e){var t=dt(e);if(e.equals(t)||(e.v=t,e.wv=un()),!he)if(R!==null)Qe()&&R.set(e,e.v);else{var n=(e.f&I)===0?J:T;x(e,n)}}let vt=new Set;const se=new Map;let Wt=!1;function Ne(e,t){var n={f:0,v:e,reactions:null,equals:St,rv:0,wv:0};return n}function W(e,t){const n=Ne(e);return Sr(n),n}function vr(e,t=!1,n=!0){const r=Ne(e);return t||(r.equals=nr),r}function P(e,t,n=!1){v!==null&&(!H||(v.f&At)!==0)&&Lt()&&(v.f&(k|U|lt|At))!==0&&!Q?.includes(e)&&Kn();let r=n?Ee(t):t;return Ke(e,r)}function Ke(e,t){if(!e.equals(t)){var n=e.v;he?se.set(e,t):se.set(e,n),e.v=t;var r=j.ensure();r.capture(e,n),(e.f&k)!==0&&((e.f&C)!==0&&dt(e),x(e,(e.f&I)!==0?T:J)),e.wv=un(),Yt(e,C),_!==null&&(_.f&T)!==0&&(_.f&(G|te))===0&&(M===null?Rr([e]):M.push(e)),!r.is_fork&&vt.size>0&&!Wt&&_r()}return t}function _r(){Wt=!1;const e=Array.from(vt);for(const t of e)(t.f&T)!==0&&x(t,J),De(t)&&Pe(t);vt.clear()}function Se(e){P(e,e.v+1)}function Yt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],o=s.f,a=(o&C)===0;if(a&&x(s,t),(o&k)!==0){var l=s;R?.delete(l),(o&xe)===0&&(o&I&&(s.f|=xe),Yt(l,J))}else a&&((o&U)!==0&&K!==null&&K.add(s),ue(s))}}function Ee(e){if(typeof e!="object"||e===null||ft in e)return e;const t=kt(e);if(t!==In&&t!==Fn)return e;var n=new Map,r=Ln(e),i=W(0),s=de,o=a=>{if(de===s)return a();var l=v,f=de;S(null),fn(s);var c=a();return S(l),fn(f),c};return r&&n.set("length",W(e.length)),new Proxy(e,{defineProperty(a,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Gn();var c=n.get(l);return c===void 0?c=o(()=>{var d=W(f.value);return n.set(l,d),d}):P(c,f.value,!0),!0},deleteProperty(a,l){var f=n.get(l);if(f===void 0){if(l in a){const c=o(()=>W(E));n.set(l,c),Se(i)}}else P(f,E),Se(i);return!0},get(a,l,f){if(l===ft)return e;var c=n.get(l),d=l in a;if(c===void 0&&(!d||pe(a,l)?.writable)&&(c=o(()=>{var h=Ee(d?a[l]:E),g=W(h);return g}),n.set(l,c)),c!==void 0){var u=y(c);return u===E?void 0:u}return Reflect.get(a,l,f)},getOwnPropertyDescriptor(a,l){var f=Reflect.getOwnPropertyDescriptor(a,l);if(f&&"value"in f){var c=n.get(l);c&&(f.value=y(c))}else if(f===void 0){var d=n.get(l),u=d?.v;if(d!==void 0&&u!==E)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(a,l){if(l===ft)return!0;var f=n.get(l),c=f!==void 0&&f.v!==E||Reflect.has(a,l);if(f!==void 0||_!==null&&(!c||pe(a,l)?.writable)){f===void 0&&(f=o(()=>{var u=c?Ee(a[l]):E,h=W(u);return h}),n.set(l,f));var d=y(f);if(d===E)return!1}return c},set(a,l,f,c){var d=n.get(l),u=l in a;if(r&&l==="length")for(var h=f;h<d.v;h+=1){var g=n.get(h+"");g!==void 0?P(g,E):h in a&&(g=o(()=>W(E)),n.set(h+"",g))}if(d===void 0)(!u||pe(a,l)?.writable)&&(d=o(()=>W(void 0)),P(d,Ee(f)),n.set(l,d));else{u=d.v!==E;var L=o(()=>Ee(f));P(d,L)}var q=Reflect.getOwnPropertyDescriptor(a,l);if(q?.set&&q.set.call(c,f),!u){if(r&&typeof l=="string"){var rt=n.get("length"),je=Number(l);Number.isInteger(je)&&je>=rt.v&&P(rt,je+1)}Se(i)}return!0},ownKeys(a){y(i);var l=Reflect.ownKeys(a).filter(d=>{var u=n.get(d);return u===void 0||u.v!==E});for(var[f,c]of n)c.v!==E&&!(f in a)&&l.push(f);return l},setPrototypeOf(){Jn()}})}var Ht,Vt,Ut,Gt;function _t(){if(Ht===void 0){Ht=window,Vt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Ut=pe(t,"firstChild").get,Gt=pe(t,"nextSibling").get,Tt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Tt(n)&&(n.__t=void 0)}}function X(e=""){return document.createTextNode(e)}function Xe(e){return Ut.call(e)}function oe(e){return Gt.call(e)}function ae(e,t){if(!w)return Xe(e);var n=Xe(m);if(n===null)n=m.appendChild(X());else if(t&&n.nodeType!==ut){var r=X();return n?.before(r),F(r),r}return F(n),n}function Ze(e,t=1,n=!1){let r=w?m:e;for(var i;t--;)i=r,r=oe(r);if(!w)return r;if(n&&r?.nodeType!==ut){var s=X();return r===null?i?.after(s):r.before(s),F(s),s}return F(r),r}function pr(e){e.textContent=""}function gr(){return!1}function Jt(e){var t=v,n=_;S(null),V(null);try{return e()}finally{S(t),V(n)}}function wr(e){_===null&&(v===null&&Hn(),Yn()),he&&Wn()}function mr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Y(e,t,n,r=!0){var i=_;i!==null&&(i.f&z)!==0&&(e|=z);var s={ctx:D,deps:null,nodes_start:null,nodes_end:null,f:e|C|I,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Pe(s),s.f|=ot}catch(l){throw N(s),l}else t!==null&&ue(s);if(r){var o=s;if(n&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&le)===0&&(o=o.first,(e&U)!==0&&(e&ge)!==0&&o!==null&&(o.f|=ge)),o!==null&&(o.parent=i,i!==null&&mr(o,i),v!==null&&(v.f&k)!==0&&(e&te)===0)){var a=v;(a.effects??=[]).push(o)}}return s}function Qe(){return v!==null&&!H}function yr(e){const t=Y(st,null,!1);return x(t,T),t.teardown=e,t}function br(e){wr();var t=_.f,n=!v&&(t&G)!==0&&(t&ot)===0;if(n){var r=D;(r.e??=[]).push(e)}else return Kt(e)}function Kt(e){return Y(We|qn,e,!1)}function $r(e){j.ensure();const t=Y(te|le,e,!0);return()=>{N(t)}}function Er(e){j.ensure();const t=Y(te|le,e,!0);return(n={})=>new Promise(r=>{n.outro?Oe(t,()=>{N(t),r(void 0)}):(N(t),r(void 0))})}function kr(e){return Y(We,e,!1)}function Tr(e){return Y(lt|le,e,!0)}function Xt(e,t=0){return Y(st|t,e,!0)}function Re(e,t=[],n=[],r=[],i=!1){ur(r,t,n,s=>{Y(i?We:st,()=>e(...s.map(y)),!0)})}function Zt(e,t=0){var n=Y(U|t,e,!0);return n}function Z(e,t=!0){return Y(G|le,e,!0,t)}function Qt(e){var t=e.teardown;if(t!==null){const n=he,r=v;an(!0),S(null);try{t.call(null)}finally{an(n),S(r)}}}function en(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Jt(()=>{i.abort(we)});var r=n.next;(n.f&te)!==0?n.parent=null:N(n,t),n=r}}function xr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&G)===0&&N(t),t=n}}function N(e,t=!0){var n=!1;(t||(e.f&Ct)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Ar(e.nodes_start,e.nodes_end),n=!0),en(e,t&&!n),et(e,0),x(e,ne);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Qt(e);var i=e.parent;i!==null&&i.first!==null&&tn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Ar(e,t){for(;e!==null;){var n=e===t?null:oe(e);e.remove(),e=n}}function tn(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 Oe(e,t,n=!0){var r=[];nn(e,r,!0),Cr(r,()=>{n&&N(e),t&&t()})}function Cr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function nn(e,t,n){if((e.f&z)===0){if(e.f^=z,e.transitions!==null)for(const o of e.transitions)(o.is_global||n)&&t.push(o);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ge)!==0||(r.f&G)!==0&&(e.f&U)!==0;nn(r,t,s?n:!1),r=i}}}function Nr(e){rn(e,!0)}function rn(e,t){if((e.f&z)!==0){e.f^=z,(e.f&T)===0&&(x(e,C),ue(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ge)!==0||(n.f&G)!==0;rn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function sn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:oe(n);t.append(n),n=i}}let ce=!1;function on(e){ce=e}let he=!1;function an(e){he=e}let v=null,H=!1;function S(e){v=e}let _=null;function V(e){_=e}let Q=null;function Sr(e){v!==null&&(Q===null?Q=[e]:Q.push(e))}let A=null,O=0,M=null;function Rr(e){M=e}let ln=1,Le=0,de=Le;function fn(e){de=e}function un(){return++ln}function De(e){var t=e.f;if((t&C)!==0)return!0;if(t&k&&(e.f&=~xe),(t&J)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(De(s)&&Bt(s),s.wv>e.wv)return!0}(t&I)!==0&&R===null&&x(e,T)}return!1}function cn(e,t,n=!0){var r=e.reactions;if(r!==null&&!Q?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&k)!==0?cn(s,t,!1):t===s&&(n?x(s,C):(s.f&T)!==0&&x(s,J),ue(s))}}function hn(e){var t=A,n=O,r=M,i=v,s=Q,o=D,a=H,l=de,f=e.f;A=null,O=0,M=null,v=(f&(G|te))===0?e:null,Q=null,ye(e.ctx),H=!1,de=++Le,e.ac!==null&&(Jt(()=>{e.ac.abort(we)}),e.ac=null);try{e.f|=at;var c=e.fn,d=c(),u=e.deps;if(A!==null){var h;if(et(e,O),u!==null&&O>0)for(u.length=O+A.length,h=0;h<A.length;h++)u[O+h]=A[h];else e.deps=u=A;if(ce&&Qe()&&(e.f&I)!==0)for(h=O;h<u.length;h++)(u[h].reactions??=[]).push(e)}else u!==null&&O<u.length&&(et(e,O),u.length=O);if(Lt()&&M!==null&&!H&&u!==null&&(e.f&(k|J|C))===0)for(h=0;h<M.length;h++)cn(M[h],e);return i!==null&&i!==e&&(Le++,M!==null&&(r===null?r=M:r.push(...M))),(e.f&re)!==0&&(e.f^=re),d}catch(g){return Pt(g)}finally{e.f^=at,A=t,O=n,M=r,v=i,Q=s,ye(o),H=a,de=l}}function Or(e,t){let n=t.reactions;if(n!==null){var r=Dn.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&&(A===null||!A.includes(t))&&(x(t,J),(t.f&I)!==0&&(t.f^=I,t.f&=~xe),zt(t),et(t,0))}function et(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Or(e,n[r])}function Pe(e){var t=e.f;if((t&ne)===0){x(e,T);var n=_,r=ce;_=e,ce=!0;try{(t&U)!==0?xr(e):en(e),Qt(e);var i=hn(e);e.teardown=typeof i=="function"?i:null,e.wv=ln;var s;Et&&rr&&(e.f&C)!==0&&e.deps}finally{ce=r,_=n}}}function y(e){var t=e.f,n=(t&k)!==0;if(v!==null&&!H){var r=_!==null&&(_.f&ne)!==0;if(!r&&!Q?.includes(e)){var i=v.deps;if((v.f&at)!==0)e.rv<Le&&(e.rv=Le,A===null&&i!==null&&i[O]===e?O++:A===null?A=[e]:A.includes(e)||A.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:s.includes(v)||s.push(v)}}}if(he){if(se.has(e))return se.get(e);if(n){var o=e,a=o.v;return((o.f&T)===0&&o.reactions!==null||vn(o))&&(a=dt(o)),se.set(o,a),a}}else if(n){if(o=e,R?.has(o))return R.get(o);De(o)&&Bt(o),ce&&Qe()&&(o.f&I)===0&&dn(o)}else if(R?.has(e))return R.get(e);if((e.f&re)!==0)throw e.v;return e.v}function dn(e){if(e.deps!==null){e.f^=I;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&k)!==0&&(t.f&I)===0&&dn(t)}}function vn(e){if(e.v===E)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&k)!==0&&vn(t))return!0;return!1}function Lr(e){var t=H;try{return H=!0,e()}finally{H=t}}const Dr=-7169;function x(e,t){e.f=e.f&Dr|t}const _n=new Set,pt=new Set;function Pr(e){for(var t=0;t<e.length;t++)_n.add(e[t]);for(var n of pt)n(e)}let pn=null;function tt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;pn=e;var o=0,a=pn===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(o=l)}if(s=i[o]||e.target,s!==t){Be(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=v,d=_;S(null),V(null);try{for(var u,h=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var L=s["__"+r];L!=null&&(!s.disabled||e.target===s)&&L.call(s,e)}catch(q){u?h.push(q):u=q}if(e.cancelBubble||g===t||g===null)break;s=g}if(u){for(let q of h)queueMicrotask(()=>{throw q});throw u}}finally{e.__root=t,delete e.currentTarget,S(c),V(d)}}}function Mr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Me(e,t){var n=_;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function gt(e,t){var n=(t&Rn)!==0,r,i=!e.startsWith("<!>");return()=>{if(w)return Me(m,null),m;r===void 0&&(r=Mr(i?e:"<!>"+e),r=Xe(r));var s=n||Vt?document.importNode(r,!0):r.cloneNode(!0);return Me(s,s),s}}function gn(e=""){if(!w){var t=X(e+"");return Me(t,t),t}var n=m;return n.nodeType!==ut&&(n.before(n=X()),F(n)),Me(n,n),n}function ke(e,t){if(w){_.nodes_end=m,Ve();return}e!==null&&e.before(t)}const Ir=["touchstart","touchmove"];function Fr(e){return Ir.includes(e)}function Ie(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function wn(e,t){return mn(e,t)}function jr(e,t){_t(),t.intro=t.intro??!1;const n=t.target,r=w,i=m;try{for(var s=Xe(n);s&&(s.nodeType!==Ae||s.data!==bt);)s=oe(s);if(!s)throw _e;me(!0),F(s);const o=mn(e,{...t,anchor:s});return me(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==_e&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Un(),_t(),pr(n),me(!1),wn(e,t)}finally{me(r),F(i)}}const Te=new Map;function mn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0}){_t();var a=new Set,l=d=>{for(var u=0;u<d.length;u++){var h=d[u];if(!a.has(h)){a.add(h);var g=Fr(h);t.addEventListener(h,tt,{passive:g});var L=Te.get(h);L===void 0?(document.addEventListener(h,tt,{passive:g}),Te.set(h,1)):Te.set(h,L+1)}}};l(Pn(_n)),pt.add(l);var f=void 0,c=Er(()=>{var d=n??t.appendChild(X());return lr(d,{pending:()=>{}},u=>{if(s){Rt({});var h=D;h.c=s}if(i&&(r.$$events=i),w&&Me(u,null),f=e(u,r)||{},w&&(_.nodes_end=m,m===null||m.nodeType!==Ae||m.data!==$t))throw He(),_e;s&&Ot()}),()=>{for(var u of a){t.removeEventListener(u,tt);var h=Te.get(u);--h===0?(document.removeEventListener(u,tt),Te.delete(u)):Te.set(u,h)}pt.delete(l),d!==n&&d.parentNode?.removeChild(d)}});return wt.set(f,c),f}let wt=new WeakMap;function qr(e,t){const n=wt.get(e);return n?(wt.delete(e),n(t)):Promise.resolve()}class zr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#l=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Nr(r);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,o]of this.#t){if(this.#t.delete(s),s===t)break;const a=this.#n.get(o);a&&(N(a.effect),this.#n.delete(o))}for(const[s,o]of this.#e){if(s===n)continue;const a=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();sn(o,f),f.append(X()),this.#n.set(s,{effect:o,fragment:f})}else N(o);this.#e.delete(s)};this.#r||!r?Oe(o,a,!1):a()}}};#o=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(N(i.effect),this.#n.delete(r))};ensure(t,n){var r=b,i=gr();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),o=X();s.append(o),this.#n.set(t,{effect:Z(()=>n(o)),fragment:s})}else this.#e.set(t,Z(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[a,l]of this.#e)a===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[a,l]of this.#n)a===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#l),r.ondiscard(this.#o)}else w&&(this.anchor=m),this.#l()}}function yn(e,t,n=!1){w&&Ve();var r=new zr(e),i=n?ge:0;function s(o,a){if(w){const f=er(e)===it;if(o===f){var l=Nt();F(l),r.anchor=l,me(!1),r.ensure(o,a),me(!0);return}}r.ensure(o,a)}Zt(()=>{var o=!1;t((a,l=!0)=>{o=!0,s(l,a)}),o||s(!1,null)},i)}function bn(e,t,n,r,i){w&&Ve();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 Br(e,t){kr(()=>{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 Wr(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function Yr(e,t,n,r,i,s){var o=e.__className;if(w||o!==n||o===void 0){var a=Wr(n,r);(!w||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=n}return s}const Hr=Symbol("is custom element"),Vr=Symbol("is html");function Ur(e,t,n,r){var i=Gr(e);w&&(i[t]=e.getAttribute(t),e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&Jr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Gr(e){return e.__attributes??={[Hr]:e.nodeName.includes("-"),[Vr]:e.namespaceURI===On}}var $n=new Map;function Jr(e){var t=e.getAttribute("is")||e.nodeName,n=$n.get(t);if(n)return n;$n.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Mn(i);for(var o in r)r[o].set&&n.push(o);i=kt(i)}return n}function Fe(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),a;a=e[t],a===void 0&&r!==void 0&&(a=o());var l;l=()=>{var u=e[t];return u===void 0?o():(s=!0,u)};var f=!1,c=qt(()=>(f=!1,l())),d=_;return(function(u,h){if(arguments.length>0){const g=h?y(c):u;return P(c,g),f=!0,i!==void 0&&(i=g),u}return he&&f||(d.f&ne)!==0?c.v:y(c)})}function Kr(e){return new Xr(e)}class Xr{#t;#e;constructor(t){var n=new Map,r=(s,o)=>{var a=vr(o,!1,!1);return n.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return y(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===zn?!0:(y(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,a){return P(n.get(o)??r(o,a),a),Reflect.set(s,o,a)}});this.#e=(t.hydrate?jr:wn)(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)&&$e(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Be(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{qr(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 En;typeof HTMLElement=="function"&&(En=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),ke(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Zr(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=nt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Kr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=$r(()=>{Xt(()=>{this.$$r=!0;for(const r of ze(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=nt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=nt(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return ze(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function nt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Zr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Qr(e,t,n,r,i,s){let o=class extends En{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ze(t).map(a=>(t[a].attribute||a).toLowerCase())}};return ze(t).forEach(a=>{Be(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=nt(a,l,t),this.$$d[a]=l;var f=this.$$c;if(f){var c=pe(f,a)?.get;c?f[a]=l:f.$set({[a]:l})}}})}),r.forEach(a=>{Be(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}const kn={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"}};var ve={},Tn;function ei(){if(Tn)return ve;Tn=1,Object.defineProperty(ve,"__esModule",{value:!0}),ve.LanguageTranslator=void 0,ve.getChildStyleToPass=e,ve.addComponent=t;function e(r,i){var s,o,a="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((o=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||o===void 0)&&o.length))for(var l=function(u){var h=i?.filter(function(g){return g.name===u&&g.defaultValue!==r[u]});h&&(a+="".concat(u,":").concat(r[u],";"))},f=0,c=Object.keys(r);f<c.length;f++){var d=c[f];l(d)}}catch(u){console.error("error getting child style to pass",u)}finally{return a}}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 o=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var a=document.createElement("script");if(a.id=s+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(o),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(o)}document.head.appendChild(a)}catch(f){console.warn(f)}}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,o){return r.formatDate(i,s,o||this.lang)},r.getDefaultLang=function(){var i,s,o,a="en";return navigator?.languages&&(!((o=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||o===void 0)&&o.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},r.getDictionaryWord=function(i,s,o){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(o&&(!((a=s[o])===null||a===void 0)&&a[i]))return s[o][i];var l="",f=r.getDefaultLang();if(!o||f!==o){var c=s?.[f];c?.[i]&&(l=c[i])}return l},r.formatDate=function(i,s,o){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(o||r.getDefaultLang(),s);return a.format(i)},r})();return ve.LanguageTranslator=n,ve}var xn=ei(),ti=gt('<a target="_blank" class="svelte-1a3taka"> </a>'),ni=gt('<button type="button" class="svelte-1a3taka"> </button>'),ri=gt('<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 ii={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($t){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Rn=2,kt="[",st="[!",Et="]",pe={},E=Symbol(),On="http://www.w3.org/1999/xhtml",ot=!1;var Ln=Array.isArray,Dn=Array.prototype.indexOf,Pn=Array.from,ze=Object.keys,Be=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,Mn=Object.getOwnPropertyDescriptors,In=Object.prototype,Fn=Array.prototype,Tt=Object.getPrototypeOf,xt=Object.isExtensible;function jn(e){for(var t=0;t<e.length;t++)e[t]()}function At(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const k=2,lt=4,at=8,U=16,G=32,ne=64,We=128,F=512,T=1024,C=2048,J=4096,B=8192,K=16384,Ye=32768,we=65536,Ct=1<<17,Nt=1<<18,fe=1<<19,qn=1<<20,ue=32768,ft=1<<21,ut=1<<22,re=1<<23,ct=Symbol("$state"),zn=Symbol("legacy props"),me=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ht=3,Ae=8;function Bn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Wn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Yn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Hn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Vn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Un(){throw new Error("https://svelte.dev/e/hydration_failed")}function Gn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Jn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Kn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Xn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function He(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Zn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function ye(e){w=e}let m;function j(e){if(e===null)throw He(),pe;return m=e}function Ve(){return j(oe(m))}function ie(e){if(w){if(oe(m)!==null)throw He(),pe;m=e}}function Qn(e=1){if(w){for(var t=e,n=m;t--;)n=oe(n);m=n}}function St(e=!0){for(var t=0,n=m;;){if(n.nodeType===Ae){var r=n.data;if(r===Et){if(t===0)return n;t-=1}else(r===kt||r===st)&&(t+=1)}var i=oe(n);e&&n.remove(),n=i}}function er(e){if(!e||e.nodeType!==Ae)throw He(),pe;return e.data}function Rt(e){return e===this.v}function tr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function nr(e){return!tr(e,this.v)}let rr=!1,L=null;function be(e){L=e}function Ot(e,t=!1,n){L={p:L,i:!1,c:null,e:null,s:e,x:null,l:null}}function Lt(e){var t=L,n=t.e;if(n!==null){t.e=null;for(var r of n)Xt(r)}return e!==void 0&&(t.x=e),t.i=!0,L=t.p,e??{}}function Dt(){return!0}let ce=[];function Pt(){var e=ce;ce=[],jn(e)}function dt(e){if(ce.length===0&&!Ce){var t=ce;queueMicrotask(()=>{t===ce&&Pt()})}ce.push(e)}function ir(){for(;ce.length>0;)Pt()}function Mt(e){var t=_;if(t===null)return v.f|=re,e;if((t.f&Ye)===0){if((t.f&We)===0)throw e;t.b.error(e)}else $e(e,t)}function $e(e,t){for(;t!==null;){if((t.f&We)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ue=new Set;let y=null,D=null,P=[],Ge=null,vt=!1,Ce=!1;class q{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){P=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#o(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(y=null,Ft(n.render_effects),Ft(n.effects),this.#a?.resolve()),D=null}#o(t,n){t.f^=T;for(var r=t.first;r!==null;){var i=r.f,s=(i&(G|ne))!==0,o=s&&(i&T)!==0,l=o||(i&B)!==0||this.skipped_effects.has(r);if((r.f&We)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){s?r.f^=T:(i&lt)!==0?n.effects.push(r):De(r)&&((r.f&U)!==0&&n.block_effects.push(r),Pe(r));var a=r.first;if(a!==null){r=a;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#l(t){for(const n of t)((n.f&C)!==0?this.#s:this.#i).push(n),this.#f(n.deps),x(n,T)}#f(t){if(t!==null)for(const n of t)(n.f&k)===0||(n.f&ue)===0||(n.f^=ue,this.#f(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&re)===0&&(this.current.set(t,t.v),D?.set(t,t.v))}activate(){y=this,this.apply()}deactivate(){y===this&&(y=null,D=null)}flush(){if(this.activate(),P.length>0){if(It(),y!==null&&y!==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(Ue.size>1){this.previous.clear();var t=D,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Ue){if(s===this){n=!1;continue}const o=[];for(const[a,f]of this.current){if(s.current.has(a))if(n&&f!==s.current.get(a))s.current.set(a,f);else continue;o.push(a)}if(o.length===0)continue;const l=[...s.current.keys()].filter(a=>!this.current.has(a));if(l.length>0){var i=P;P=[];const a=new Set,f=new Map;for(const c of o)jt(c,l,a,f);if(P.length>0){y=s,s.apply();for(const c of P)s.#o(c,r);s.deactivate()}P=i}}y=null,D=t}this.committed=!0,Ue.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)x(t,C),he(t);for(const t of this.#i)x(t,J),he(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=At()).promise}static ensure(){if(y===null){const t=y=new q;Ue.add(y),Ce||q.enqueue(()=>{y===t&&t.flush()})}return y}static enqueue(t){dt(t)}apply(){}}function ke(e){var t=Ce;Ce=!0;try{for(var n;;){if(ir(),P.length===0&&(y?.flush(),P.length===0))return Ge=null,n;It()}}finally{Ce=t}}function It(){var e=ae;vt=!0;var t=null;try{var n=0;for(et(!0);P.length>0;){var r=q.ensure();if(n++>1e3){var i,s;sr()}r.process(P),se.clear()}}finally{vt=!1,et(e),Ge=null}}function sr(){try{Vn()}catch(e){$e(e,Ge)}}let X=null;function Ft(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(K|B))===0&&De(r)&&(X=new Set,Pe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?nn(r):r.fn=null),X?.size>0)){se.clear();for(const i of X){if((i.f&(K|B))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)X.has(o)&&(X.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(K|B))===0&&Pe(a)}}X.clear()}}X=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&k)!==0?jt(i,t,n,r):(s&(ut|U))!==0&&(s&C)===0&&qt(i,t,r)&&(x(i,C),he(i))}}function qt(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&&qt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function he(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var n=t.f;if(vt&&t===_&&(n&U)!==0&&(n&Nt)===0)return;if((n&(ne|G))!==0){if((n&T)===0)return;t.f^=T}}P.push(t)}function or(e){let t=0,n=Ne(0),r;return()=>{Qe()&&(b(n),Zt(()=>(t===0&&(r=Lr(()=>e(()=>Se(n)))),t+=1,()=>{dt(()=>{t-=1,t===0&&(r?.(),r=void 0,Se(n))})})))}}var lr=we|fe|We;function ar(e,t,n){new fr(e,t,n)}class fr{parent;#t=!1;#e;#n=w?m:null;#r;#a;#s;#i=null;#o=null;#l=null;#f=null;#u=null;#c=0;#h=0;#v=!1;#d=null;#m=or(()=>(this.#d=Ne(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=_.b,this.#t=!!this.#r.pending,this.#s=Qt(()=>{if(_.b=this,w){const s=this.#n;Ve(),s.nodeType===Ae&&s.data===st?this.#b():this.#y()}else{var i=this.#g();try{this.#i=Q(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},lr),w&&(this.#e=m)}#y(){try{this.#i=Q(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#b(){const t=this.#r.pending;t&&(this.#o=Q(()=>t(this.#e)),q.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(q.ensure(),Q(()=>this.#a(n)))),this.#h>0?this.#p():(Oe(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=Z(),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=_,r=v,i=L;V(this.#s),S(this.#s),be(this.#s.ctx);try{return t()}catch(s){return Mt(s),null}finally{V(n),S(r),be(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),on(this.#i,this.#f)),this.#o===null&&(this.#o=Q(()=>t(this.#e)))}#w(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#o&&Oe(this.#o,()=>{this.#o=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#w(t),this.#c+=t,this.#d&&Ke(this.#d,this.#c)}get_effect_pending(){return this.#m(),b(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(N(this.#i),this.#i=null),this.#o&&(N(this.#o),this.#o=null),this.#l&&(N(this.#l),this.#l=null),w&&(j(this.#n),Qn(),j(St()));var i=!1,s=!1;const o=()=>{if(i){Zn();return}i=!0,s&&Xn(),q.ensure(),this.#c=0,this.#l!==null&&Oe(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,Q(()=>this.#a(this.#e)))),this.#h>0?this.#p():this.#t=!1};var l=v;try{S(null),s=!0,n?.(t,o),s=!1}catch(a){$e(a,this.#s&&this.#s.parent)}finally{S(l)}r&&dt(()=>{this.#l=this.#_(()=>{q.ensure(),this.#v=!0;try{return Q(()=>{r(this.#e,()=>t,()=>o)})}catch(a){return $e(a,this.#s.parent),null}finally{this.#v=!1}})})}}function ur(e,t,n,r){const i=zt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=y,o=_,l=cr();function a(){Promise.all(n.map(f=>hr(f))).then(f=>{l();try{r([...t.map(i),...f])}catch(c){(o.f&K)===0&&$e(c,o)}s?.deactivate(),Je()}).catch(f=>{$e(f,o)})}e.length>0?Promise.all(e).then(()=>{l();try{return a()}finally{s?.deactivate(),Je()}}):a()}function cr(){var e=_,t=v,n=L,r=y;return function(s=!0){V(e),S(t),be(n),s&&r?.activate()}}function Je(){V(null),S(null),be(null)}function zt(e){var t=k|C,n=v!==null&&(v.f&k)!==0?v:null;return _!==null&&(_.f|=fe),{ctx:L,deps:null,effects:null,equals:Rt,f:t,fn:e,reactions:null,rv:0,v:E,wv:0,parent:n??_,ac:null}}function hr(e,t){let n=_;n===null&&Bn();var r=n.b,i=void 0,s=Ne(E),o=!v,l=new Map;return Tr(()=>{var a=At();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{f===y&&f.committed&&f.deactivate(),Je()})}catch(u){a.reject(u),Je()}var f=y;if(o){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),l.get(f)?.reject(me),l.delete(f),l.set(f,a)}const d=(u,h=void 0)=>{if(f.activate(),h)h!==me&&(s.f|=re,Ke(s,h));else{(s.f&re)!==0&&(s.f^=re),Ke(s,u);for(const[g,O]of l){if(l.delete(g),g===f)break;O.reject(me)}}o&&(r.update_pending_count(-1),f.decrement(c))};a.promise.then(d,u=>d(null,u||"unknown"))}),yr(()=>{for(const a of l.values())a.reject(me)}),new Promise(a=>{function f(c){function d(){c===i?a(s):f(i)}c.then(d,d)}f(i)})}function Bt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)N(t[n])}}function dr(e){for(var t=e.parent;t!==null;){if((t.f&k)===0)return(t.f&K)===0?t:null;t=t.parent}return null}function _t(e){var t,n=_;V(dr(e));try{e.f&=~ue,Bt(e),t=hn(e)}finally{V(n)}return t}function Wt(e){var t=_t(e);if(e.equals(t)||(y?.is_fork||(e.v=t),e.wv=un()),!de)if(D!==null)Qe()&&D.set(e,t);else{var n=(e.f&F)===0?J:T;x(e,n)}}let pt=new Set;const se=new Map;let Yt=!1;function Ne(e,t){var n={f:0,v:e,reactions:null,equals:Rt,rv:0,wv:0};return n}function W(e,t){const n=Ne(e);return Sr(n),n}function vr(e,t=!1,n=!0){const r=Ne(e);return t||(r.equals=nr),r}function M(e,t,n=!1){v!==null&&(!H||(v.f&Ct)!==0)&&Dt()&&(v.f&(k|U|ut|Ct))!==0&&!ee?.includes(e)&&Kn();let r=n?Ee(t):t;return Ke(e,r)}function Ke(e,t){if(!e.equals(t)){var n=e.v;de?se.set(e,t):se.set(e,n),e.v=t;var r=q.ensure();r.capture(e,n),(e.f&k)!==0&&((e.f&C)!==0&&_t(e),x(e,(e.f&F)!==0?T:J)),e.wv=un(),Ht(e,C),_!==null&&(_.f&T)!==0&&(_.f&(G|ne))===0&&(I===null?Rr([e]):I.push(e)),!r.is_fork&&pt.size>0&&!Yt&&_r()}return t}function _r(){Yt=!1;var e=ae;et(!0);const t=Array.from(pt);try{for(const n of t)(n.f&T)!==0&&x(n,J),De(n)&&Pe(n)}finally{et(e)}pt.clear()}function Se(e){M(e,e.v+1)}function Ht(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],o=s.f,l=(o&C)===0;if(l&&x(s,t),(o&k)!==0){var a=s;D?.delete(a),(o&ue)===0&&(o&F&&(s.f|=ue),Ht(a,J))}else l&&((o&U)!==0&&X!==null&&X.add(s),he(s))}}function Ee(e){if(typeof e!="object"||e===null||ct in e)return e;const t=Tt(e);if(t!==In&&t!==Fn)return e;var n=new Map,r=Ln(e),i=W(0),s=ve,o=l=>{if(ve===s)return l();var a=v,f=ve;S(null),fn(s);var c=l();return S(a),fn(f),c};return r&&n.set("length",W(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Gn();var c=n.get(a);return c===void 0?c=o(()=>{var d=W(f.value);return n.set(a,d),d}):M(c,f.value,!0),!0},deleteProperty(l,a){var f=n.get(a);if(f===void 0){if(a in l){const c=o(()=>W(E));n.set(a,c),Se(i)}}else M(f,E),Se(i);return!0},get(l,a,f){if(a===ct)return e;var c=n.get(a),d=a in l;if(c===void 0&&(!d||ge(l,a)?.writable)&&(c=o(()=>{var h=Ee(d?l[a]:E),g=W(h);return g}),n.set(a,c)),c!==void 0){var u=b(c);return u===E?void 0:u}return Reflect.get(l,a,f)},getOwnPropertyDescriptor(l,a){var f=Reflect.getOwnPropertyDescriptor(l,a);if(f&&"value"in f){var c=n.get(a);c&&(f.value=b(c))}else if(f===void 0){var d=n.get(a),u=d?.v;if(d!==void 0&&u!==E)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(l,a){if(a===ct)return!0;var f=n.get(a),c=f!==void 0&&f.v!==E||Reflect.has(l,a);if(f!==void 0||_!==null&&(!c||ge(l,a)?.writable)){f===void 0&&(f=o(()=>{var u=c?Ee(l[a]):E,h=W(u);return h}),n.set(a,f));var d=b(f);if(d===E)return!1}return c},set(l,a,f,c){var d=n.get(a),u=a in l;if(r&&a==="length")for(var h=f;h<d.v;h+=1){var g=n.get(h+"");g!==void 0?M(g,E):h in l&&(g=o(()=>W(E)),n.set(h+"",g))}if(d===void 0)(!u||ge(l,a)?.writable)&&(d=o(()=>W(void 0)),M(d,Ee(f)),n.set(a,d));else{u=d.v!==E;var O=o(()=>Ee(f));M(d,O)}var z=Reflect.getOwnPropertyDescriptor(l,a);if(z?.set&&z.set.call(c,f),!u){if(r&&typeof a=="string"){var it=n.get("length"),je=Number(a);Number.isInteger(je)&&je>=it.v&&M(it,je+1)}Se(i)}return!0},ownKeys(l){b(i);var a=Reflect.ownKeys(l).filter(d=>{var u=n.get(d);return u===void 0||u.v!==E});for(var[f,c]of n)c.v!==E&&!(f in l)&&a.push(f);return a},setPrototypeOf(){Jn()}})}var Vt,Ut,Gt,Jt;function gt(){if(Vt===void 0){Vt=window,Ut=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Gt=ge(t,"firstChild").get,Jt=ge(t,"nextSibling").get,xt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),xt(n)&&(n.__t=void 0)}}function Z(e=""){return document.createTextNode(e)}function Xe(e){return Gt.call(e)}function oe(e){return Jt.call(e)}function le(e,t){if(!w)return Xe(e);var n=Xe(m);if(n===null)n=m.appendChild(Z());else if(t&&n.nodeType!==ht){var r=Z();return n?.before(r),j(r),r}return j(n),n}function Ze(e,t=1,n=!1){let r=w?m:e;for(var i;t--;)i=r,r=oe(r);if(!w)return r;if(n&&r?.nodeType!==ht){var s=Z();return r===null?i?.after(s):r.before(s),j(s),s}return j(r),r}function pr(e){e.textContent=""}function gr(){return!1}function Kt(e){var t=v,n=_;S(null),V(null);try{return e()}finally{S(t),V(n)}}function wr(e){_===null&&(v===null&&Hn(),Yn()),de&&Wn()}function mr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Y(e,t,n){var r=_;r!==null&&(r.f&B)!==0&&(e|=B);var i={ctx:L,deps:null,nodes_start:null,nodes_end:null,f:e|C|F,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{Pe(i),i.f|=Ye}catch(l){throw N(i),l}else t!==null&&he(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&fe)===0&&(s=s.first,(e&U)!==0&&(e&we)!==0&&s!==null&&(s.f|=we)),s!==null&&(s.parent=r,r!==null&&mr(s,r),v!==null&&(v.f&k)!==0&&(e&ne)===0)){var o=v;(o.effects??=[]).push(s)}return i}function Qe(){return v!==null&&!H}function yr(e){const t=Y(at,null,!1);return x(t,T),t.teardown=e,t}function br(e){wr();var t=_.f,n=!v&&(t&G)!==0&&(t&Ye)===0;if(n){var r=L;(r.e??=[]).push(e)}else return Xt(e)}function Xt(e){return Y(lt|qn,e,!1)}function $r(e){q.ensure();const t=Y(ne|fe,e,!0);return()=>{N(t)}}function kr(e){q.ensure();const t=Y(ne|fe,e,!0);return(n={})=>new Promise(r=>{n.outro?Oe(t,()=>{N(t),r(void 0)}):(N(t),r(void 0))})}function Er(e){return Y(lt,e,!1)}function Tr(e){return Y(ut|fe,e,!0)}function Zt(e,t=0){return Y(at|t,e,!0)}function Re(e,t=[],n=[],r=[]){ur(r,t,n,i=>{Y(at,()=>e(...i.map(b)),!0)})}function Qt(e,t=0){var n=Y(U|t,e,!0);return n}function Q(e){return Y(G|fe,e,!0)}function en(e){var t=e.teardown;if(t!==null){const n=de,r=v;ln(!0),S(null);try{t.call(null)}finally{ln(n),S(r)}}}function tn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Kt(()=>{i.abort(me)});var r=n.next;(n.f&ne)!==0?n.parent=null:N(n,t),n=r}}function xr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&G)===0&&N(t),t=n}}function N(e,t=!0){var n=!1;(t||(e.f&Nt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Ar(e.nodes_start,e.nodes_end),n=!0),tn(e,t&&!n),tt(e,0),x(e,K);var r=e.transitions;if(r!==null)for(const s of r)s.stop();en(e);var i=e.parent;i!==null&&i.first!==null&&nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Ar(e,t){for(;e!==null;){var n=e===t?null:oe(e);e.remove(),e=n}}function nn(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 Oe(e,t,n=!0){var r=[];rn(e,r,!0),Cr(r,()=>{n&&N(e),t&&t()})}function Cr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function rn(e,t,n){if((e.f&B)===0){if(e.f^=B,e.transitions!==null)for(const o of e.transitions)(o.is_global||n)&&t.push(o);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&we)!==0||(r.f&G)!==0&&(e.f&U)!==0;rn(r,t,s?n:!1),r=i}}}function Nr(e){sn(e,!0)}function sn(e,t){if((e.f&B)!==0){e.f^=B,(e.f&T)===0&&(x(e,C),he(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&we)!==0||(n.f&G)!==0;sn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function on(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:oe(n);t.append(n),n=i}}let ae=!1;function et(e){ae=e}let de=!1;function ln(e){de=e}let v=null,H=!1;function S(e){v=e}let _=null;function V(e){_=e}let ee=null;function Sr(e){v!==null&&(ee===null?ee=[e]:ee.push(e))}let A=null,R=0,I=null;function Rr(e){I=e}let an=1,Le=0,ve=Le;function fn(e){ve=e}function un(){return++an}function De(e){var t=e.f;if((t&C)!==0)return!0;if(t&k&&(e.f&=~ue),(t&J)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(De(s)&&Wt(s),s.wv>e.wv)return!0}(t&F)!==0&&D===null&&x(e,T)}return!1}function cn(e,t,n=!0){var r=e.reactions;if(r!==null&&!ee?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&k)!==0?cn(s,t,!1):t===s&&(n?x(s,C):(s.f&T)!==0&&x(s,J),he(s))}}function hn(e){var t=A,n=R,r=I,i=v,s=ee,o=L,l=H,a=ve,f=e.f;A=null,R=0,I=null,v=(f&(G|ne))===0?e:null,ee=null,be(e.ctx),H=!1,ve=++Le,e.ac!==null&&(Kt(()=>{e.ac.abort(me)}),e.ac=null);try{e.f|=ft;var c=e.fn,d=c(),u=e.deps;if(A!==null){var h;if(tt(e,R),u!==null&&R>0)for(u.length=R+A.length,h=0;h<A.length;h++)u[R+h]=A[h];else e.deps=u=A;if(ae&&Qe()&&(e.f&F)!==0)for(h=R;h<u.length;h++)(u[h].reactions??=[]).push(e)}else u!==null&&R<u.length&&(tt(e,R),u.length=R);if(Dt()&&I!==null&&!H&&u!==null&&(e.f&(k|J|C))===0)for(h=0;h<I.length;h++)cn(I[h],e);return i!==null&&i!==e&&(Le++,I!==null&&(r===null?r=I:r.push(...I))),(e.f&re)!==0&&(e.f^=re),d}catch(g){return Mt(g)}finally{e.f^=ft,A=t,R=n,I=r,v=i,ee=s,be(o),H=l,ve=a}}function Or(e,t){let n=t.reactions;if(n!==null){var r=Dn.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&&(A===null||!A.includes(t))&&(x(t,J),(t.f&F)!==0&&(t.f^=F,t.f&=~ue),Bt(t),tt(t,0))}function tt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Or(e,n[r])}function Pe(e){var t=e.f;if((t&K)===0){x(e,T);var n=_,r=ae;_=e,ae=!0;try{(t&U)!==0?xr(e):tn(e),en(e);var i=hn(e);e.teardown=typeof i=="function"?i:null,e.wv=an;var s;ot&&rr&&(e.f&C)!==0&&e.deps}finally{ae=r,_=n}}}function b(e){var t=e.f,n=(t&k)!==0;if(v!==null&&!H){var r=_!==null&&(_.f&K)!==0;if(!r&&!ee?.includes(e)){var i=v.deps;if((v.f&ft)!==0)e.rv<Le&&(e.rv=Le,A===null&&i!==null&&i[R]===e?R++:A===null?A=[e]:A.includes(e)||A.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:s.includes(v)||s.push(v)}}}if(de){if(se.has(e))return se.get(e);if(n){var o=e,l=o.v;return((o.f&T)===0&&o.reactions!==null||vn(o))&&(l=_t(o)),se.set(o,l),l}}else n&&!D?.has(e)&&(o=e,De(o)&&Wt(o),ae&&Qe()&&(o.f&F)===0&&dn(o));if(D?.has(e))return D.get(e);if((e.f&re)!==0)throw e.v;return e.v}function dn(e){if(e.deps!==null){e.f^=F;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&k)!==0&&(t.f&F)===0&&dn(t)}}function vn(e){if(e.v===E)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&k)!==0&&vn(t))return!0;return!1}function Lr(e){var t=H;try{return H=!0,e()}finally{H=t}}const Dr=-7169;function x(e,t){e.f=e.f&Dr|t}const _n=new Set,wt=new Set;function Pr(e){for(var t=0;t<e.length;t++)_n.add(e[t]);for(var n of wt)n(e)}let pn=null;function nt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;pn=e;var o=0,l=pn===e&&e.__root;if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;a<=f&&(o=a)}if(s=i[o]||e.target,s!==t){Be(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=v,d=_;S(null),V(null);try{for(var u,h=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var O=s["__"+r];O!=null&&(!s.disabled||e.target===s)&&O.call(s,e)}catch(z){u?h.push(z):u=z}if(e.cancelBubble||g===t||g===null)break;s=g}if(u){for(let z of h)queueMicrotask(()=>{throw z});throw u}}finally{e.__root=t,delete e.currentTarget,S(c),V(d)}}}function Mr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Me(e,t){var n=_;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function mt(e,t){var n=(t&Rn)!==0,r,i=!e.startsWith("<!>");return()=>{if(w)return Me(m,null),m;r===void 0&&(r=Mr(i?e:"<!>"+e),r=Xe(r));var s=n||Ut?document.importNode(r,!0):r.cloneNode(!0);return Me(s,s),s}}function gn(e=""){if(!w){var t=Z(e+"");return Me(t,t),t}var n=m;return n.nodeType!==ht&&(n.before(n=Z()),j(n)),Me(n,n),n}function Te(e,t){if(w){var n=_;((n.f&Ye)===0||n.nodes_end===null)&&(n.nodes_end=m),Ve();return}e!==null&&e.before(t)}const Ir=["touchstart","touchmove"];function Fr(e){return Ir.includes(e)}function Ie(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function wn(e,t){return mn(e,t)}function jr(e,t){gt(),t.intro=t.intro??!1;const n=t.target,r=w,i=m;try{for(var s=Xe(n);s&&(s.nodeType!==Ae||s.data!==kt);)s=oe(s);if(!s)throw pe;ye(!0),j(s);const o=mn(e,{...t,anchor:s});return ye(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==pe&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Un(),gt(),pr(n),ye(!1),wn(e,t)}finally{ye(r),j(i)}}const xe=new Map;function mn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0}){gt();var l=new Set,a=d=>{for(var u=0;u<d.length;u++){var h=d[u];if(!l.has(h)){l.add(h);var g=Fr(h);t.addEventListener(h,nt,{passive:g});var O=xe.get(h);O===void 0?(document.addEventListener(h,nt,{passive:g}),xe.set(h,1)):xe.set(h,O+1)}}};a(Pn(_n)),wt.add(a);var f=void 0,c=kr(()=>{var d=n??t.appendChild(Z());return ar(d,{pending:()=>{}},u=>{if(s){Ot({});var h=L;h.c=s}if(i&&(r.$$events=i),w&&Me(u,null),f=e(u,r)||{},w&&(_.nodes_end=m,m===null||m.nodeType!==Ae||m.data!==Et))throw He(),pe;s&&Lt()}),()=>{for(var u of l){t.removeEventListener(u,nt);var h=xe.get(u);--h===0?(document.removeEventListener(u,nt),xe.delete(u)):xe.set(u,h)}wt.delete(a),d!==n&&d.parentNode?.removeChild(d)}});return yt.set(f,c),f}let yt=new WeakMap;function qr(e,t){const n=yt.get(e);return n?(yt.delete(e),n(t)):Promise.resolve()}class zr{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=y;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Nr(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,o]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#n.get(o);l&&(N(l.effect),this.#n.delete(o))}for(const[s,o]of this.#e){if(s===n||this.#r.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();on(o,f),f.append(Z()),this.#n.set(s,{effect:o,fragment:f})}else N(o);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),Oe(o,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(N(i.effect),this.#n.delete(r))};ensure(t,n){var r=y,i=gr();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),o=Z();s.append(o),this.#n.set(t,{effect:Q(()=>n(o)),fragment:s})}else this.#e.set(t,Q(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[l,a]of this.#e)l===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[l,a]of this.#n)l===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else w&&(this.anchor=m),this.#s()}}function yn(e,t,n=!1){w&&Ve();var r=new zr(e),i=n?we:0;function s(o,l){if(w){const f=er(e)===st;if(o===f){var a=St();j(a),r.anchor=a,ye(!1),r.ensure(o,l),ye(!0);return}}r.ensure(o,l)}Qt(()=>{var o=!1;t((l,a=!0)=>{o=!0,s(a,l)}),o||s(!1,null)},i)}function bn(e,t,n,r,i){w&&Ve();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 Br(e,t){Er(()=>{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 Wr(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function Yr(e,t,n,r,i,s){var o=e.__className;if(w||o!==n||o===void 0){var l=Wr(n,r);(!w||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const Hr=Symbol("is custom element"),Vr=Symbol("is html");function Ur(e,t,n,r){var i=Gr(e);w&&(i[t]=e.getAttribute(t),e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&Jr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Gr(e){return e.__attributes??={[Hr]:e.nodeName.includes("-"),[Vr]:e.namespaceURI===On}}var $n=new Map;function Jr(e){var t=e.getAttribute("is")||e.nodeName,n=$n.get(t);if(n)return n;$n.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Mn(i);for(var o in r)r[o].set&&n.push(o);i=Tt(i)}return n}function Fe(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var a;a=()=>{var u=e[t];return u===void 0?o():(s=!0,u)};var f=!1,c=zt(()=>(f=!1,a())),d=_;return(function(u,h){if(arguments.length>0){const g=h?b(c):u;return M(c,g),f=!0,i!==void 0&&(i=g),u}return de&&f||(d.f&K)!==0?c.v:b(c)})}function Kr(e){return new Xr(e)}class Xr{#t;#e;constructor(t){var n=new Map,r=(s,o)=>{var l=vr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return b(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===zn?!0:(b(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return M(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#e=(t.hydrate?jr:wn)(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)&&ke(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Be(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{qr(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 kn;typeof HTMLElement=="function"&&(kn=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),Te(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Zr(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]=rt(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=Kr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=$r(()=>{Zt(()=>{this.$$r=!0;for(const r of ze(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=rt(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]=rt(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 ze(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rt(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 Zr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Qr(e,t,n,r,i,s){let o=class extends kn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ze(t).map(l=>(t[l].attribute||l).toLowerCase())}};return ze(t).forEach(l=>{Be(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=rt(l,a,t),this.$$d[l]=a;var f=this.$$c;if(f){var c=ge(f,l)?.get;c?f[l]=a:f.$set({[l]:a})}}})}),r.forEach(l=>{Be(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const En={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"}};var _e={},Tn;function ei(){if(Tn)return _e;Tn=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.LanguageTranslator=void 0,_e.getChildStyleToPass=e,_e.addComponent=t;function e(r,i){var s,o,l="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((o=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||o===void 0)&&o.length))for(var a=function(u){var h=i?.filter(function(g){return g.name===u&&g.defaultValue!==r[u]});h&&(l+="".concat(u,":").concat(r[u],";"))},f=0,c=Object.keys(r);f<c.length;f++){var d=c[f];a(d)}}catch(u){console.error("error getting child style to pass",u)}finally{return l}}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 o=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(o),r?.local)l.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(o)}document.head.appendChild(l)}catch(f){console.warn(f)}}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,o){return r.formatDate(i,s,o||this.lang)},r.getDefaultLang=function(){var i,s,o,l="en";return navigator?.languages&&(!((o=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||o===void 0)&&o.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},r.getDictionaryWord=function(i,s,o){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(o&&(!((l=s[o])===null||l===void 0)&&l[i]))return s[o][i];var a="",f=r.getDefaultLang();if(!o||f!==o){var c=s?.[f];c?.[i]&&(a=c[i])}return a},r.formatDate=function(i,s,o){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||r.getDefaultLang(),s);return l.format(i)},r})();return _e.LanguageTranslator=n,_e}var xn=ei(),ti=mt('<a target="_blank" class="svelte-1a3taka"> </a>'),ni=mt('<button type="button" class="svelte-1a3taka"> </button>'),ri=mt('<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 ii={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
3
  /*
4
4
  * Bootstrap Cookie Alert by Wruczek
5
5
  * https://github.com/Wruczek/Bootstrap-Cookie-Alert
6
6
  * 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 An(e,t){Rt(t,!0),Br(e,ii);function n(p,$){t.$$host.dispatchEvent(new CustomEvent(p,{detail:$}))}let r=Fe(t,"id",7,""),i=Fe(t,"cookielawuri4more",7,""),s=Fe(t,"capabilities",7,void 0),o=Fe(t,"allowdecline",7,"no"),a=Fe(t,"i18nlang"),l=W(!1),f=W(Ee(new xn.LanguageTranslator({dictionary:kn,lang:a()})));br(()=>{if(typeof s()=="string")try{s(JSON.parse(s()))}catch{}P(l,!!localStorage.getItem(c),!0),o()!=="yes"&&o("no"),y(f)&&a()&&y(f).lang&&y(f).lang!==a()&&P(f,new xn.LanguageTranslator({dictionary:kn,lang:a()}),!0)});const c="cookielaw";function d(p){console.info("accept cookie law");const $="acceptCookieLaw",ee={accepted:p},qe=p?"yes":"no";localStorage.setItem(c,qe),P(l,!0),n($,ee)}var u={get id(){return r()},set id(p=""){r(p),$e()},get cookielawuri4more(){return i()},set cookielawuri4more(p=""){i(p),$e()},get capabilities(){return s()},set capabilities(p=void 0){s(p),$e()},get allowdecline(){return o()},set allowdecline(p="no"){o(p),$e()},get i18nlang(){return a()},set i18nlang(p){a(p),$e()}},h=ri(),g=ae(h),L=ae(g),q=ae(L),rt=ae(q);bn(rt,t,"title",{},p=>{var $=gn();Re(ee=>Ie($,ee),[()=>y(f).translateWord("cookieLawTitle")]),ke(p,$)}),ie(q);var je=Ze(q,2);bn(je,t,"text",{},p=>{var $=gn();Re(ee=>Ie($,ee),[()=>y(f).translateWord("basicCookieLaw")]),ke(p,$)}),ie(L);var Cn=Ze(L,2),Nn=ae(Cn);{var si=p=>{var $=ti(),ee=ae($,!0);ie($),Re(qe=>{Ur($,"href",i()||"https://wikipedia.org/wiki/HTTP_cookie"),Ie(ee,qe)},[()=>y(f).translateWord("learnmore")]),ke(p,$)};yn(Nn,p=>{i()!=="no"&&p(si)})}var Sn=Ze(Nn,2);{var oi=p=>{var $=ni();$.__click=()=>d(!1);var ee=ae($,!0);ie($),Re(qe=>Ie(ee,qe),[()=>y(f).translateWord("decline")]),ke(p,$)};yn(Sn,p=>{o()==="yes"&&p(oi)})}var mt=Ze(Sn,2);mt.__click=()=>d(!0);var ai=ae(mt,!0);return ie(mt),ie(Cn),ie(g),ie(h),Re(p=>{Yr(h,1,`alert text-center ${y(l)?"":"show"}`,"svelte-1a3taka"),Ie(ai,p)},[()=>y(f).translateWord("accept")]),ke(e,h),Ot(u)}Pr(["click"]),customElements.define("hb-cookie-law-banner",Qr(An,{id:{},cookielawuri4more:{},capabilities:{},allowdecline:{},i18nlang:{}},["title","text"],[],!0)),yt.Component=An,Object.defineProperty(yt,Symbol.toStringTag,{value:"Module"})})(this["cookie-law-banner"]=this["cookie-law-banner"]||{});
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 An(e,t){Ot(t,!0),Br(e,ii);function n(p,$){t.$$host.dispatchEvent(new CustomEvent(p,{detail:$}))}let r=Fe(t,"id",7,""),i=Fe(t,"cookielawuri4more",7,""),s=Fe(t,"capabilities",7,void 0),o=Fe(t,"allowdecline",7,"no"),l=Fe(t,"i18nlang"),a=W(!1),f=W(Ee(new xn.LanguageTranslator({dictionary:En,lang:l()})));br(()=>{if(typeof s()=="string")try{s(JSON.parse(s()))}catch{}M(a,!!localStorage.getItem(c),!0),o()!=="yes"&&o("no"),b(f)&&l()&&b(f).lang&&b(f).lang!==l()&&M(f,new xn.LanguageTranslator({dictionary:En,lang:l()}),!0)});const c="cookielaw";function d(p){console.info("accept cookie law");const $="acceptCookieLaw",te={accepted:p},qe=p?"yes":"no";localStorage.setItem(c,qe),M(a,!0),n($,te)}var u={get id(){return r()},set id(p=""){r(p),ke()},get cookielawuri4more(){return i()},set cookielawuri4more(p=""){i(p),ke()},get capabilities(){return s()},set capabilities(p=void 0){s(p),ke()},get allowdecline(){return o()},set allowdecline(p="no"){o(p),ke()},get i18nlang(){return l()},set i18nlang(p){l(p),ke()}},h=ri(),g=le(h),O=le(g),z=le(O),it=le(z);bn(it,t,"title",{},p=>{var $=gn();Re(te=>Ie($,te),[()=>b(f).translateWord("cookieLawTitle")]),Te(p,$)}),ie(z);var je=Ze(z,2);bn(je,t,"text",{},p=>{var $=gn();Re(te=>Ie($,te),[()=>b(f).translateWord("basicCookieLaw")]),Te(p,$)}),ie(O);var Cn=Ze(O,2),Nn=le(Cn);{var si=p=>{var $=ti(),te=le($,!0);ie($),Re(qe=>{Ur($,"href",i()||"https://wikipedia.org/wiki/HTTP_cookie"),Ie(te,qe)},[()=>b(f).translateWord("learnmore")]),Te(p,$)};yn(Nn,p=>{i()!=="no"&&p(si)})}var Sn=Ze(Nn,2);{var oi=p=>{var $=ni();$.__click=()=>d(!1);var te=le($,!0);ie($),Re(qe=>Ie(te,qe),[()=>b(f).translateWord("decline")]),Te(p,$)};yn(Sn,p=>{o()==="yes"&&p(oi)})}var bt=Ze(Sn,2);bt.__click=()=>d(!0);var li=le(bt,!0);return ie(bt),ie(Cn),ie(g),ie(h),Re(p=>{Yr(h,1,`alert text-center ${b(a)?"":"show"}`,"svelte-1a3taka"),Ie(li,p)},[()=>b(f).translateWord("accept")]),Te(e,h),Lt(u)}Pr(["click"]),customElements.define("hb-cookie-law-banner",Qr(An,{id:{},cookielawuri4more:{},capabilities:{},allowdecline:{},i18nlang:{}},["title","text"],[],!0)),$t.Component=An,Object.defineProperty($t,Symbol.toStringTag,{value:"Module"})})(this["cookie-law-banner"]=this["cookie-law-banner"]||{});
8
8
  //# sourceMappingURL=main.iife.js.map