@htmlbricks/hb-cookie-law-banner 0.66.0 → 0.66.2
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($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<)!==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;}
|
|
1
|
+
(function(xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Bn=2,Nt="[",St="[!",At="[?",Ct="]",be={},S=Symbol(),Rt="http://www.w3.org/1999/xhtml",Vn=!1;var Wn=Array.isArray,Un=Array.prototype.indexOf,ye=Array.prototype.includes,Gn=Array.from,We=Object.keys,Ue=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Jn=Object.getOwnPropertyDescriptors,Kn=Object.prototype,Xn=Array.prototype,Ot=Object.getPrototypeOf,Lt=Object.isExtensible;const Zn=()=>{};function Qn(e){for(var t=0;t<e.length;t++)e[t]()}function Dt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const N=2,ke=4,Ge=8,Mt=1<<24,ne=16,B=32,re=64,ot=128,D=512,T=1024,A=2048,V=4096,W=8192,z=16384,ie=32768,Pt=1<<25,Ee=65536,It=1<<17,er=1<<18,ve=1<<19,tr=1<<20,_e=65536,at=1<<21,ft=1<<22,se=1<<23,ut=Symbol("$state"),nr=Symbol("legacy props"),K=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},rr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Je=3,Ke=8;function ir(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function sr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function lr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function fr(){throw new Error("https://svelte.dev/e/hydration_failed")}function ur(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function cr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Xe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function vr(){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 _r(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===Ct){if(t===0)return n;t-=1}else(r===Nt||r===St||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ue(n);e&&n.remove(),n=i}}function pr(e){if(!e||e.nodeType!==Ke)throw Xe(),be;return e.data}function jt(e){return e===this.v}function gr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wr(e){return!gr(e,this.v)}let mr=!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 pe=[];function qt(){var e=pe;pe=[],Qn(e)}function Ne(e){if(pe.length===0&&!De){var t=pe;queueMicrotask(()=>{t===pe&&qt()})}pe.push(e)}function br(){for(;pe.length>0;)qt()}function Bt(e){var t=p;if(t===null)return _.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 yr=-7169;function $(e,t){e.f=e.f&yr|t}function ct(e){(e.f&D)!==0||e.deps===null?$(e,T):$(e,V)}function Vt(e){if(e!==null)for(const t of e)(t.f&N)===0||(t.f&_e)===0||(t.f^=_e,Vt(t.deps))}function Wt(e,t,n){(e.f&A)!==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,De=!1,dt=!1,Se=null,Qe=null;var Ut=0;let $r=1;class X{id=$r++;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}#v(){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,A),this.schedule(r);for(r of n.m)$(r,V),this.schedule(r)}}#d(){if(Ut++>1e3&&(ae.delete(this),kr()),!this.#h()){for(const l of this.#l)this.#o.delete(l),$(l,A),this.schedule(l);for(const l of this.#o)$(l,V),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Se=[],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(Se=null,Qe=null,this.#h()||this.#v()){this.#_(r),this.#_(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&W)!==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),Re(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}}}#_(t){for(var n=0;n<t.length;n+=1)Wt(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==S&&!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,Se=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,Ne(()=>{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??=Dt()).promise}static ensure(){if(m===null){const t=m=new X;dt||(ae.add(m),De||Ne(()=>{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(Se!==null&&n===p&&(_===null||(_.f&N)===0))return;if((r&(re|B))!==0){if((r&T)===0)return;n.f^=T}}this.#r.push(n)}}function Ae(e){var t=De;De=!0;try{for(var n;;){if(br(),m===null)return n;m.flush()}}finally{De=t}}function kr(){try{ar()}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|W))===0&&je(r)&&(Z=new Set,Re(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&_n(r),Z?.size>0)){fe.clear();for(const i of Z){if((i.f&(z|W))!==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|W))===0&&Re(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&N)!==0?Jt(i,t,n,r):(s&(ft|ne))!==0&&(s&A)===0&&Kt(i,t,r)&&($(i,A),vt(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&N)!==0&&Kt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function vt(e){m.schedule(e)}function Xt(e,t){if(!((e.f&B)!==0&&(e.f&T)!==0)){(e.f&A)!==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 Er(e){let t=0,n=Me(0),r;return()=>{bt()&&(k(n),hn(()=>(t===0&&(r=Zr(()=>e(()=>Pe(n)))),t+=1,()=>{Ne(()=>{t-=1,t===0&&(r?.(),r=void 0,Pe(n))})})))}}var Tr=Ee|ve;function xr(e,t,n,r){new Nr(e,t,n,r)}class Nr{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;#v=new Set;#d=new Set;#u=null;#_=Er(()=>(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===St;if(s.data.startsWith(At)){const f=JSON.parse(s.data.slice(At.length));this.#y(f)}else o?this.#$():this.#p()}else this.#m()},Tr),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)),Ne(()=>{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.#v,this.#d)}defer_effect(t){Wt(t,this.#v,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=_,i=M;J(this.#s),I(this.#s),xe(this.#s.ctx);try{return X.ensure(),t()}catch(s){return Bt(s),null}finally{J(n),I(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,Ne(()=>{this.#h=!1,this.#u&&tt(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),k(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(C(this.#r),this.#r=null),this.#l&&(C(this.#l),this.#l=null),this.#o&&(C(this.#o),this.#o=null),b&&(H(this.#n),_r(),H(Ft()));var i=!1,s=!1;const o=()=>{if(i){vr();return}i=!0,s&&dr(),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}}))};Ne(()=>{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 Sr(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=Ar(),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(v){(o.f&z)===0&&oe(v,o)}et()}if(n.length===0){f.then(()=>a(t.map(i)));return}var u=Qt();function d(){Promise.all(n.map(c=>Cr(c))).then(c=>a([...t.map(i),...c])).catch(c=>oe(c,o)).finally(()=>u())}f?f.then(()=>{l(),d(),et()}):d()}function Ar(){var e=p,t=_,n=M,r=m;return function(s=!0){J(e),I(t),xe(n),s&&(e.f&z)===0&&(r?.activate(),r?.apply())}}function et(e=!0){J(null),I(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=N|A,n=_!==null&&(_.f&N)!==0?_:null;return p!==null&&(p.f|=ve),{ctx:M,deps:null,effects:null,equals:jt,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??p,ac:null}}function Cr(e,t,n){let r=p;r===null&&ir();var i=void 0,s=Me(S),o=!_,l=new Map;return Vr(()=>{var f=p,a=Dt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(et)}catch(v){a.reject(v),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 v of l.values())v.reject(K);l.clear()}l.set(u,a)}const c=(v,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,v);for(const[E,L]of l){if(l.delete(E),E===u)break;L.reject(K)}}u.deactivate()}};a.promise.then(c,v=>c(null,v||"unknown"))}),zr(()=>{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 Rr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)C(t[n])}}function Or(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&z)===0?t:null;t=t.parent}return null}function _t(e){var t,n=p;J(Or(e));try{e.f&=~_e,Rr(e),t=En(e)}finally{J(n)}return t}function tn(e){var t=e.v,n=_t(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 Lr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(K),t.teardown=Zn,t.ac=null,ze(t,0),yt(t))}function nn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Re(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 Jr(n),n}function Dr(e,t=!1,n=!0){const r=Me(e);return t||(r.equals=wr),r}function P(e,t,n=!1){_!==null&&(!q||(_.f&It)!==0)&&Yt()&&(_.f&(N|ne|ft|It))!==0&&(F===null||!ye.call(F,e))&&hr();let r=n?Ce(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&N)!==0){const s=e;(e.f&A)!==0&&_t(s),Y===null&&ct(s)}e.wv=$n(),sn(e,A,n),p!==null&&(p.f&T)!==0&&(p.f&(B|re))===0&&(j===null?Kr([e]):j.push(e)),!i.is_fork&&pt.size>0&&!rn&&Mr()}return t}function Mr(){rn=!1;for(const e of pt)(e.f&T)!==0&&$(e,V),je(e)&&Re(e);pt.clear()}function Pe(e){P(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&A)===0;if(f&&$(o,t),(l&N)!==0){var a=o;Y?.delete(a),(l&_e)===0&&(l&D&&(o.f|=_e),sn(a,V,n))}else if(f){var u=o;(l&ne)!==0&&Z!==null&&Z.add(u),n!==null?n.push(u):vt(u)}}}function Ce(e){if(typeof e!="object"||e===null||ut in e)return e;const t=Ot(e);if(t!==Kn&&t!==Xn)return e;var n=new Map,r=Wn(e),i=U(0),s=we,o=l=>{if(we===s)return l();var f=_,a=we;I(null),yn(s);var u=l();return I(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)&&ur();var u=n.get(f);return u===void 0?o(()=>{var d=U(a.value);return n.set(f,d),d}):P(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(S));n.set(f,u),Pe(i)}}else P(a,S),Pe(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 v=Ce(d?l[f]:S),h=U(v);return h}),n.set(f,u)),u!==void 0){var c=k(u);return c===S?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!==S)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!==S||Reflect.has(l,f);if(a!==void 0||p!==null&&(!u||$e(l,f)?.writable)){a===void 0&&(a=o(()=>{var c=u?Ce(l[f]):S,v=U(c);return v}),n.set(f,a));var d=k(a);if(d===S)return!1}return u},set(l,f,a,u){var d=n.get(f),c=f in l;if(r&&f==="length")for(var v=a;v<d.v;v+=1){var h=n.get(v+"");h!==void 0?P(h,S):v in l&&(h=o(()=>U(S)),n.set(v+"",h))}if(d===void 0)(!c||$e(l,f)?.writable)&&(d=o(()=>U(void 0)),P(d,Ce(a)),n.set(f,d));else{c=d.v!==S;var g=o(()=>Ce(a));P(d,g)}var E=Reflect.getOwnPropertyDescriptor(l,f);if(E?.set&&E.set.call(u,a),!c){if(r&&typeof f=="string"){var L=n.get("length"),de=Number(f);Number.isInteger(de)&&de>=L.v&&P(L,de+1)}Pe(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!==S});for(var[a,u]of n)u.v!==S&&!(a in l)&&f.push(a);return f},setPrototypeOf(){cr()}})}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,Lt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Lt(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 Pr(e){e.textContent=""}function Ir(){return!1}function wt(e,t,n){return document.createElementNS(Rt,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=_,n=p;I(null),J(null);try{return e()}finally{I(t),J(n)}}function Fr(e){p===null&&(_===null&&or(),lr()),he&&sr()}function jr(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&W)!==0&&(e|=W);var r={ctx:M,deps:null,nodes:null,f:e|A|D,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)Se!==null?Se.push(r):X.ensure().schedule(r);else if(t!==null){try{Re(r)}catch(o){throw C(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&&jr(i,n),_!==null&&(_.f&N)!==0&&(e&re)===0)){var s=_;(s.effects??=[]).push(i)}return r}function bt(){return _!==null&&!q}function zr(e){const t=G(Ge,null);return $(t,T),t.teardown=e,t}function Hr(e){Fr();var t=p.f,n=!_&&(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|tr,e)}function Yr(e){X.ensure();const t=G(re|ve,e);return()=>{C(t)}}function qr(e){X.ensure();const t=G(re|ve,e);return(n={})=>new Promise(r=>{n.outro?Fe(t,()=>{C(t),r(void 0)}):(C(t),r(void 0))})}function Br(e){return G(ke,e)}function Vr(e){return G(ft|ve,e)}function hn(e,t=0){return G(Ge|t,e)}function Ie(e,t=[],n=[],r=[]){Sr(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 vn(e){var t=e.teardown;if(t!==null){const n=he,r=_;mn(!0),I(null);try{t.call(null)}finally{mn(n),I(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:C(n,t),n=r}}function Wr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&B)===0&&C(t),t=n}}function C(e,t=!0){var n=!1;(t||(e.f&er)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Ur(e.nodes.start,e.nodes.end),n=!0),$(e,Pt),yt(e,t&&!n),ze(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();vn(e),e.f^=Pt,e.f|=z;var i=e.parent;i!==null&&i.first!==null&&_n(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ur(e,t){for(;e!==null;){var n=e===t?null:ue(e);e.remove(),e=n}}function _n(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&&C(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&W)===0){e.f^=W;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 Gr(e){gn(e,!0)}function gn(e,t){if((e.f&W)!==0){e.f^=W,(e.f&T)===0&&($(e,A),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 _=null,q=!1;function I(e){_=e}let p=null;function J(e){p=e}let F=null;function Jr(e){_!==null&&(F===null?F=[e]:F.push(e))}let R=null,O=0,j=null;function Kr(e){j=e}let bn=1,ge=0,we=ge;function yn(e){we=e}function $n(){return++bn}function je(e){var t=e.f;if((t&A)!==0)return!0;if(t&N&&(e.f&=~_e),(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&D)!==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&N)!==0?kn(s,t,!1):t===s&&(n?$(s,A):(s.f&T)!==0&&$(s,V),vt(s))}}function En(e){var t=R,n=O,r=j,i=_,s=F,o=M,l=q,f=we,a=e.f;R=null,O=0,j=null,_=(a&(B|re))===0?e:null,F=null,xe(e.ctx),q=!1,we=++ge,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,v=m?.is_fork;if(R!==null){var h;if(v||ze(e,O),c!==null&&O>0)for(c.length=O+R.length,h=0;h<R.length;h++)c[O+h]=R[h];else e.deps=c=R;if(bt()&&(e.f&D)!==0)for(h=O;h<c.length;h++)(c[h].reactions??=[]).push(e)}else!v&&c!==null&&O<c.length&&(ze(e,O),c.length=O);if(Yt()&&j!==null&&!q&&c!==null&&(e.f&(N|V|A))===0)for(h=0;h<j.length;h++)kn(j[h],e);if(i!==null&&i!==e){if(ge++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=ge;if(t!==null)for(const g of t)g.rv=ge;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,R=t,O=n,j=r,_=i,F=s,xe(o),q=l,we=f}}function Xr(e,t){let n=t.reactions;if(n!==null){var r=Un.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&N)!==0&&(R===null||!ye.call(R,t))){var s=t;(s.f&D)!==0&&(s.f^=D,s.f&=~_e),ct(s),Lr(s),ze(s,0)}}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Xr(e,n[r])}function Re(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?Wr(e):yt(e),vn(e);var i=En(e);e.teardown=typeof i=="function"?i:null,e.wv=bn;var s;Vn&&mr&&(e.f&A)!==0&&e.deps}finally{it=r,p=n}}}function k(e){var t=e.f,n=(t&N)!==0;if(_!==null&&!q){var r=p!==null&&(p.f&z)!==0;if(!r&&(F===null||!ye.call(F,e))){var i=_.deps;if((_.f&at)!==0)e.rv<ge&&(e.rv=ge,R===null&&i!==null&&i[O]===e?O++:R===null?R=[e]:R.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:ye.call(s,_)||s.push(_)}}}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=_t(o)),fe.set(o,l),l}var f=(o.f&D)===0&&!q&&_!==null&&(it||(_.f&D)!==0),a=(o.f&ie)===0;je(o)&&(f&&(o.f|=D),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|=D,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&D)===0&&(nn(t),Tn(t))}function xn(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(fe.has(t)||(t.f&N)!==0&&xn(t))return!0;return!1}function Zr(e){var t=q;try{return q=!0,e()}finally{q=t}}const He=Symbol("events"),Nn=new Set,$t=new Set;function Sn(e,t,n){(t[He]??={})[e]=n}function Qr(e){for(var t=0;t<e.length;t++)Nn.add(e[t]);for(var n of $t)n(e)}let An=null;function Cn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;An=e;var o=0,l=An===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=_,d=p;I(null),J(null);try{for(var c,v=[];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?v.push(E):c=E}if(e.cancelBubble||h===t||h===null)break;s=h}if(c){for(let E of v)queueMicrotask(()=>{throw E});throw c}}finally{e[He]=t,delete e.currentTarget,I(u),J(d)}}}const ei=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ti(e){return ei?.createHTML(e)??e}function ni(e){var t=wt("template");return t.innerHTML=ti(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&Bn)!==0,r,i=!e.startsWith("<!>");return()=>{if(b)return Ye(y,null),y;r===void 0&&(r=ni(i?e:"<!>"+e),r=nt(r));var s=n||on?document.importNode(r,!0):r.cloneNode(!0);return Ye(s,s),s}}function Rn(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 Oe(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 ri=["touchstart","touchmove"];function ii(e){return ri.includes(e)}function qe(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function On(e,t){return Ln(e,t)}function si(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!==Nt);)s=ue(s);if(!s)throw be;Te(!0),H(s);const o=Ln(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&&fr(),gt(),Pr(n),Te(!1),On(e,t)}finally{Te(r),H(i)}}const st=new Map;function Ln(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){gt();var f=void 0,a=qr(()=>{var u=n??t.appendChild(Q());xr(u,{pending:()=>{}},v=>{zt({});var h=M;if(s&&(h.c=s),i&&(r.$$events=i),b&&Ye(v,null),f=e(v,r)||{},b&&(p.nodes.end=y,y===null||y.nodeType!==Ke||y.data!==Ct))throw Xe(),be;Ht()},l);var d=new Set,c=v=>{for(var h=0;h<v.length;h++){var g=v[h];if(!d.has(g)){d.add(g);var E=ii(g);for(const Le of[t,document]){var L=st.get(Le);L===void 0&&(L=new Map,st.set(Le,L));var de=L.get(g);de===void 0?(Le.addEventListener(g,Cn,{passive:E}),L.set(g,1)):L.set(g,de+1)}}}};return c(Gn(Nn)),$t.add(c),()=>{for(var v of d)for(const E of[t,document]){var h=st.get(E),g=h.get(v);--g==0?(E.removeEventListener(v,Cn),h.delete(v),h.size===0&&st.delete(E)):h.set(v,g)}$t.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Et.set(f,a),f}let Et=new WeakMap;function li(e,t){const n=Et.get(e);return n?(Et.delete(e),n(t)):Promise.resolve()}class oi{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)Gr(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&&(C(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 C(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)||(C(i.effect),this.#t.delete(r))};ensure(t,n){var r=m,i=Ir();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 Dn(e,t,n=!1){var r;b&&(r=y,Ze());var i=new oi(e),s=n?Ee:0;function o(l,f){if(b){var a=pr(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 ai(e,t){Br(()=>{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 fi(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ui(e,t,n,r,i,s){var o=e.__className;if(b||o!==n||o===void 0){var l=fi(n,r);(!b||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const ci=Symbol("is custom element"),hi=Symbol("is html"),di=rr?"link":"LINK";function vi(e,t,n,r){var i=_i(e);b&&(i[t]=e.getAttribute(t),e.nodeName===di)||i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&pi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function _i(e){return e.__attributes??={[ci]:e.nodeName.includes("-"),[hi]:e.namespaceURI===Rt}}var Pn=new Map;function pi(e){var t=e.getAttribute("is")||e.nodeName,n=Pn.get(t);if(n)return n;Pn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Jn(i);for(var o in r)r[o].set&&n.push(o);i=Ot(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,v){if(arguments.length>0){const h=v?k(u):c;return P(u,h),a=!0,i!==void 0&&(i=h),c}return he&&a||(d.f&z)!==0?u.v:k(u)})}function gi(e){return new wi(e)}class wi{#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===nr?!0:(k(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return P(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?si:On)(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)&&Ae(),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=()=>{li(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 In;typeof HTMLElement=="function"&&(In=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),Oe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=mi(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=gi({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Yr(()=>{hn(()=>{this.$$r=!0;for(const r of We(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 We(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 mi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function bi(e,t,n,r,i,s){let o=class extends In{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return We(t).map(l=>(t[l].attribute||l).toLowerCase())}};return We(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"}};var me={},jn;function yi(){if(jn)return me;jn=1,Object.defineProperty(me,"__esModule",{value:!0}),me.LanguageTranslator=void 0,me.getChildStyleToPass=e,me.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(c){return Object.keys(r).includes(c.name)}))===null||o===void 0)&&o.length))for(var f=function(c){var v=i?.filter(function(h){return h.name===c&&h.defaultValue!==r[c]});v&&(l+="".concat(c,":").concat(r[c],";"))},a=0,u=Object.keys(r);a<u.length;a++){var d=u[a];f(d)}}catch(c){console.error("error getting child style to pass",c)}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 f=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(o)}document.head.appendChild(l)}catch(a){console.warn(a)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,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 f="",a=r.getDefaultLang();if(!o||a!==o){var u=s?.[a];u?.[i]&&(f=u[i])}return f},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 me.LanguageTranslator=n,me}var zn=yi(),$i=kt('<a target="_blank" class="svelte-1a3taka"> </a>'),ki=kt('<button type="button" class="svelte-1a3taka"> </button>'),Ei=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 Ti={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
|
|
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 Hn(e,t){zt(t,!0),ai(e,Ti);function n(w,x){t.$$host.dispatchEvent(new CustomEvent(w,{detail:x}))}let r=Be(t,"id",7,""),i=Be(t,"cookielawuri4more",7,""),s=Be(t,"capabilities",7,void 0),o=Be(t,"allowdecline",7,"no"),l=Be(t,"i18nlang"),f=U(!1),a=U(Ce(new zn.LanguageTranslator({dictionary:Fn,lang:l()})));Hr(()=>{if(typeof s()=="string")try{s(JSON.parse(s()))}catch{}P(f,!!localStorage.getItem(u),!0),o()!=="yes"&&o("no"),k(a)&&l()&&k(a).lang&&k(a).lang!==l()&&P(a,new zn.LanguageTranslator({dictionary:Fn,lang:l()}),!0)});const u="cookielaw";function d(w){console.info("accept cookie law");const x="acceptCookieLaw",te={accepted:w},Ve=w?"yes":"no";localStorage.setItem(u,Ve),P(f,!0),n(x,te)}var c={get id(){return r()},set id(w=""){r(w),Ae()},get cookielawuri4more(){return i()},set cookielawuri4more(w=""){i(w),Ae()},get capabilities(){return s()},set capabilities(w=void 0){s(w),Ae()},get allowdecline(){return o()},set allowdecline(w="no"){o(w),Ae()},get i18nlang(){return l()},set i18nlang(w){l(w),Ae()}},v=Ei(),h=ce(v),g=ce(h),E=ce(g),L=ce(E);Mn(L,t,"title",{},w=>{var x=Rn();Ie(te=>qe(x,te),[()=>k(a).translateWord("cookieLawTitle")]),Oe(w,x)}),le(E);var de=rt(E,2);Mn(de,t,"text",{},w=>{var x=Rn();Ie(te=>qe(x,te),[()=>k(a).translateWord("basicCookieLaw")]),Oe(w,x)}),le(g);var Le=rt(g,2),Yn=ce(Le);{var xi=w=>{var x=$i(),te=ce(x,!0);le(x),Ie(Ve=>{vi(x,"href",i()||"https://wikipedia.org/wiki/HTTP_cookie"),qe(te,Ve)},[()=>k(a).translateWord("learnmore")]),Oe(w,x)};Dn(Yn,w=>{i()!=="no"&&w(xi)})}var qn=rt(Yn,2);{var Ni=w=>{var x=ki(),te=ce(x,!0);le(x),Ie(Ve=>qe(te,Ve),[()=>k(a).translateWord("decline")]),Sn("click",x,()=>d(!1)),Oe(w,x)};Dn(qn,w=>{o()==="yes"&&w(Ni)})}var Tt=rt(qn,2),Si=ce(Tt,!0);return le(Tt),le(Le),le(h),le(v),Ie(w=>{ui(v,1,`alert text-center ${k(f)?"":"show"}`,"svelte-1a3taka"),qe(Si,w)},[()=>k(a).translateWord("accept")]),Sn("click",Tt,()=>d(!0)),Oe(e,v),Ht(c)}Qr(["click"]),customElements.define("hb-cookie-law-banner",bi(Hn,{id:{},cookielawuri4more:{},capabilities:{},allowdecline:{},i18nlang:{}},["title","text"],[],{mode:"open"})),xt.Component=Hn,Object.defineProperty(xt,Symbol.toStringTag,{value:"Module"})})(this["cookie-law-banner"]=this["cookie-law-banner"]||{});
|
|
8
8
|
//# sourceMappingURL=main.iife.js.map
|