@htmlbricks/hb-site-paragraph-with-image 0.62.0 → 0.62.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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(It){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const qr=2,Ft="[",pt="[!",qt="]",Ae={},C=Symbol(),Br="http://www.w3.org/1999/xhtml",Bt=!1;var zr=Array.isArray,Ur=Array.prototype.indexOf,Yr=Array.from,rt=Object.keys,nt=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,Hr=Object.getOwnPropertyDescriptors,Vr=Object.prototype,Wr=Array.prototype,zt=Object.getPrototypeOf,Ut=Object.isExtensible;function Gr(e){for(var t=0;t<e.length;t++)e[t]()}function Yt(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const S=2,it=4,mt=8,ne=16,ie=32,he=64,st=128,Y=512,N=1024,L=2048,se=4096,J=8192,be=16384,wt=32768,Oe=65536,Ht=1<<17,Vt=1<<18,pe=1<<19,Jr=1<<20,Ue=32768,yt=1<<21,$t=1<<22,_e=1<<23,xt=Symbol("$state"),Kr=Symbol("legacy props"),Xr=Symbol(""),Le=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ot=3,Ye=8;function Zr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Qr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function en(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function tn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function rn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function nn(){throw new Error("https://svelte.dev/e/hydration_failed")}function sn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function on(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ln(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function an(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function lt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function fn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function De(e){y=e}let p;function q(e){if(e===null)throw lt(),Ae;return p=e}function Et(){return q(le(p))}function $(e){if(y){if(le(p)!==null)throw lt(),Ae;p=e}}function un(e=1){if(y){for(var t=e,r=p;t--;)r=le(r);p=r}}function Wt(e=!0){for(var t=0,r=p;;){if(r.nodeType===Ye){var n=r.data;if(n===qt){if(t===0)return r;t-=1}else(n===Ft||n===pt)&&(t+=1)}var i=le(r);e&&r.remove(),r=i}}function cn(e){if(!e||e.nodeType!==Ye)throw lt(),Ae;return e.data}function Gt(e){return e===this.v}function dn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function vn(e){return!dn(e,this.v)}let hn=!1,B=null;function Me(e){B=e}function Jt(e,t=!1,r){B={p:B,i:!1,c:null,e:null,s:e,x:null,l:null}}function Kt(e){var t=B,r=t.e;if(r!==null){t.e=null;for(var n of r)hr(n)}return e!==void 0&&(t.x=e),t.i=!0,B=t.p,e??{}}function Xt(){return!0}let me=[];function Zt(){var e=me;me=[],Gr(e)}function kt(e){if(me.length===0&&!He){var t=me;queueMicrotask(()=>{t===me&&Zt()})}me.push(e)}function bn(){for(;me.length>0;)Zt()}function Qt(e){var t=b;if(t===null)return h.f|=_e,e;if((t.f&wt)===0){if((t.f&st)===0)throw e;t.b.error(e)}else Pe(e,t)}function Pe(e,t){for(;t!==null;){if((t.f&st)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const at=new Set;let E=null,I=null,K=[],ft=null,jt=!1,He=!1;class H{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#a=null;#o=[];#l=[];skipped_effects=new Set;is_fork=!1;process(t){K=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#i(n,r);this.is_fork||this.#f(),this.#n>0||this.is_fork?(this.#s(r.effects),this.#s(r.render_effects),this.#s(r.block_effects)):(E=null,tr(r.render_effects),tr(r.effects),this.#a?.resolve()),I=null}#i(t,r){t.f^=N;for(var n=t.first;n!==null;){var i=n.f,s=(i&(ie|he))!==0,o=s&&(i&N)!==0,l=o||(i&J)!==0||this.skipped_effects.has(n);if((n.f&st)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!l&&n.fn!==null){s?n.f^=N:(i&it)!==0?r.effects.push(n):Xe(n)&&((n.f&ne)!==0&&r.block_effects.push(n),Ze(n));var a=n.first;if(a!==null){n=a;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#s(r.effects),this.#s(r.render_effects),this.#s(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#s(t){for(const r of t)((r.f&L)!==0?this.#o:this.#l).push(r),A(r,N)}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&_e)===0&&(this.current.set(t,t.v),I?.set(t,t.v))}activate(){E=this,this.apply()}deactivate(){E=null,I=null}flush(){if(this.activate(),K.length>0){if(er(),E!==null&&E!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#u()}#u(){if(at.size>1){this.previous.clear();var t=I,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of at){if(i===this){r=!1;continue}const s=[];for(const[l,a]of this.current){if(i.current.has(l))if(r&&a!==i.current.get(l))i.current.set(l,a);else continue;s.push(l)}if(s.length===0)continue;const o=[...i.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){const l=new Set,a=new Map;for(const f of s)rr(f,o,l,a);if(K.length>0){E=i,i.apply();for(const f of K)i.#i(f,n);K=[],i.deactivate()}}}E=null,I=t}this.committed=!0,at.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#o)A(t,L),we(t);for(const t of this.#l)A(t,se),we(t);this.#o=[],this.#l=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=Yt()).promise}static ensure(){if(E===null){const t=E=new H;at.add(E),He||H.enqueue(()=>{E===t&&t.flush()})}return E}static enqueue(t){kt(t)}apply(){}}function Ie(e){var t=He;He=!0;try{for(var r;;){if(bn(),K.length===0&&(E?.flush(),K.length===0))return ft=null,r;er()}}finally{He=t}}function er(){var e=$e;jt=!0;try{var t=0;for(xr(!0);K.length>0;){var r=H.ensure();if(t++>1e3){var n,i;_n()}r.process(K),ge.clear()}}finally{jt=!1,xr(e),ft=null}}function _n(){try{rn()}catch(e){Pe(e,ft)}}let oe=null;function tr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(be|J))===0&&Xe(n)&&(oe=new Set,Ze(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?mr(n):n.fn=null),oe?.size>0)){ge.clear();for(const i of oe){if((i.f&(be|J))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)oe.has(o)&&(oe.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(be|J))===0&&Ze(a)}}oe.clear()}}oe=null}}function rr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&S)!==0?rr(i,t,r,n):(s&($t|ne))!==0&&(s&L)===0&&nr(i,t,n)&&(A(i,L),we(i))}}function nr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&S)!==0&&nr(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function we(e){for(var t=ft=e;t.parent!==null;){t=t.parent;var r=t.f;if(jt&&t===b&&(r&ne)!==0&&(r&Vt)===0)return;if((r&(he|ie))!==0){if((r&N)===0)return;t.f^=N}}K.push(t)}function gn(e){let t=0,r=Ve(0),n;return()=>{dt()&&(U(r),br(()=>(t===0&&(n=Hn(()=>e(()=>We(r)))),t+=1,()=>{kt(()=>{t-=1,t===0&&(n?.(),n=void 0,We(r))})})))}}var pn=Oe|pe|st;function mn(e,t,r){new wn(e,t,r)}class wn{parent;#t=!1;#e;#r=y?p:null;#n;#a;#o;#l=null;#i=null;#s=null;#f=null;#u=null;#v=0;#c=0;#h=!1;#d=null;#m=gn(()=>(this.#d=Ve(this.#v),()=>{this.#d=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#a=n,this.parent=b.b,this.#t=!!this.#n.pending,this.#o=_r(()=>{if(b.b=this,y){const s=this.#r;Et(),s.nodeType===Ye&&s.data===pt?this.#y():this.#w()}else{var i=this.#g();try{this.#l=fe(()=>n(i))}catch(s){this.error(s)}this.#c>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},pn),y&&(this.#e=p)}#w(){try{this.#l=fe(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#n.pending;t&&(this.#i=fe(()=>t(this.#e)),H.enqueue(()=>{var r=this.#g();this.#l=this.#b(()=>(H.ensure(),fe(()=>this.#a(r)))),this.#c>0?this.#_():(Je(this.#i,()=>{this.#i=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=V(),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.#n.pending}#b(t){var r=b,n=h,i=B;te(this.#o),M(this.#o),Me(this.#o.ctx);try{return t()}catch(s){return Qt(s),null}finally{te(r),M(n),Me(i)}}#_(){const t=this.#n.pending;this.#l!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),$r(this.#l,this.#f)),this.#i===null&&(this.#i=fe(()=>t(this.#e)))}#p(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#p(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#i&&Je(this.#i,()=>{this.#i=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#p(t),this.#v+=t,this.#d&&ct(this.#d,this.#v)}get_effect_pending(){return this.#m(),U(this.#d)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#l&&(D(this.#l),this.#l=null),this.#i&&(D(this.#i),this.#i=null),this.#s&&(D(this.#s),this.#s=null),y&&(q(this.#r),un(),q(Wt()));var i=!1,s=!1;const o=()=>{if(i){fn();return}i=!0,s&&an(),H.ensure(),this.#v=0,this.#s!==null&&Je(this.#s,()=>{this.#s=null}),this.#t=this.has_pending_snippet(),this.#l=this.#b(()=>(this.#h=!1,fe(()=>this.#a(this.#e)))),this.#c>0?this.#_():this.#t=!1};var l=h;try{M(null),s=!0,r?.(t,o),s=!1}catch(a){Pe(a,this.#o&&this.#o.parent)}finally{M(l)}n&&kt(()=>{this.#s=this.#b(()=>{H.ensure(),this.#h=!0;try{return fe(()=>{n(this.#e,()=>t,()=>o)})}catch(a){return Pe(a,this.#o.parent),null}finally{this.#h=!1}})})}}function yn(e,t,r,n){const i=ir;if(r.length===0&&e.length===0){n(t.map(i));return}var s=E,o=b,l=$n();function a(){Promise.all(r.map(f=>xn(f))).then(f=>{l();try{n([...t.map(i),...f])}catch(c){(o.f&be)===0&&Pe(c,o)}s?.deactivate(),ut()}).catch(f=>{Pe(f,o)})}e.length>0?Promise.all(e).then(()=>{l();try{return a()}finally{s?.deactivate(),ut()}}):a()}function $n(){var e=b,t=h,r=B,n=E;return function(s=!0){te(e),M(t),Me(r),s&&n?.activate()}}function ut(){te(null),M(null),Me(null)}function ir(e){var t=S|L,r=h!==null&&(h.f&S)!==0?h:null;return b!==null&&(b.f|=pe),{ctx:B,deps:null,effects:null,equals:Gt,f:t,fn:e,reactions:null,rv:0,v:C,wv:0,parent:r??b,ac:null}}function xn(e,t){let r=b;r===null&&Zr();var n=r.b,i=void 0,s=Ve(C),o=!h,l=new Map;return Pn(()=>{var a=Yt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{f===E&&f.committed&&f.deactivate(),ut()})}catch(u){a.reject(u),ut()}var f=E;if(o){var c=!n.is_pending();n.update_pending_count(1),f.increment(c),l.get(f)?.reject(Le),l.delete(f),l.set(f,a)}const v=(u,d=void 0)=>{if(f.activate(),d)d!==Le&&(s.f|=_e,ct(s,d));else{(s.f&_e)!==0&&(s.f^=_e),ct(s,u);for(const[w,_]of l){if(l.delete(w),w===f)break;_.reject(Le)}}o&&(n.update_pending_count(-1),f.decrement(c))};a.promise.then(v,u=>v(null,u||"unknown"))}),vr(()=>{for(const a of l.values())a.reject(Le)}),new Promise(a=>{function f(c){function v(){c===i?a(s):f(i)}c.then(v,v)}f(i)})}function sr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)D(t[r])}}function En(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return t;t=t.parent}return null}function Tt(e){var t,r=b;te(En(e));try{e.f&=~Ue,sr(e),t=Sr(e)}finally{te(r)}return t}function or(e){var t=Tt(e);if(e.equals(t)||(e.v=t,e.wv=Tr()),!xe)if(I!==null)dt()&&I.set(e,e.v);else{var r=(e.f&Y)===0?se:N;A(e,r)}}let Ct=new Set;const ge=new Map;let lr=!1;function Ve(e,t){var r={f:0,v:e,reactions:null,equals:Gt,rv:0,wv:0};return r}function X(e,t){const r=Ve(e);return zn(r),r}function kn(e,t=!1,r=!0){const n=Ve(e);return t||(n.equals=vn),n}function Z(e,t,r=!1){h!==null&&(!ee||(h.f&Ht)!==0)&&Xt()&&(h.f&(S|ne|$t|Ht))!==0&&!ue?.includes(e)&&ln();let n=r?Fe(t):t;return ct(e,n)}function ct(e,t){if(!e.equals(t)){var r=e.v;xe?ge.set(e,t):ge.set(e,r),e.v=t;var n=H.ensure();n.capture(e,r),(e.f&S)!==0&&((e.f&L)!==0&&Tt(e),A(e,(e.f&Y)!==0?N:se)),e.wv=Tr(),ar(e,L),b!==null&&(b.f&N)!==0&&(b.f&(ie|he))===0&&(z===null?Un([e]):z.push(e)),!n.is_fork&&Ct.size>0&&!lr&&jn()}return t}function jn(){lr=!1;const e=Array.from(Ct);for(const t of e)(t.f&N)!==0&&A(t,se),Xe(t)&&Ze(t);Ct.clear()}function We(e){Z(e,e.v+1)}function ar(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],o=s.f,l=(o&L)===0;if(l&&A(s,t),(o&S)!==0){var a=s;I?.delete(a),(o&Ue)===0&&(o&Y&&(s.f|=Ue),ar(a,se))}else l&&((o&ne)!==0&&oe!==null&&oe.add(s),we(s))}}function Fe(e){if(typeof e!="object"||e===null||xt in e)return e;const t=zt(e);if(t!==Vr&&t!==Wr)return e;var r=new Map,n=zr(e),i=X(0),s=Ee,o=l=>{if(Ee===s)return l();var a=h,f=Ee;M(null),jr(s);var c=l();return M(a),jr(f),c};return n&&r.set("length",X(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&sn();var c=r.get(a);return c===void 0?c=o(()=>{var v=X(f.value);return r.set(a,v),v}):Z(c,f.value,!0),!0},deleteProperty(l,a){var f=r.get(a);if(f===void 0){if(a in l){const c=o(()=>X(C));r.set(a,c),We(i)}}else Z(f,C),We(i);return!0},get(l,a,f){if(a===xt)return e;var c=r.get(a),v=a in l;if(c===void 0&&(!v||Re(l,a)?.writable)&&(c=o(()=>{var d=Fe(v?l[a]:C),w=X(d);return w}),r.set(a,c)),c!==void 0){var u=U(c);return u===C?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=r.get(a);c&&(f.value=U(c))}else if(f===void 0){var v=r.get(a),u=v?.v;if(v!==void 0&&u!==C)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(l,a){if(a===xt)return!0;var f=r.get(a),c=f!==void 0&&f.v!==C||Reflect.has(l,a);if(f!==void 0||b!==null&&(!c||Re(l,a)?.writable)){f===void 0&&(f=o(()=>{var u=c?Fe(l[a]):C,d=X(u);return d}),r.set(a,f));var v=U(f);if(v===C)return!1}return c},set(l,a,f,c){var v=r.get(a),u=a in l;if(n&&a==="length")for(var d=f;d<v.v;d+=1){var w=r.get(d+"");w!==void 0?Z(w,C):d in l&&(w=o(()=>X(C)),r.set(d+"",w))}if(v===void 0)(!u||Re(l,a)?.writable)&&(v=o(()=>X(void 0)),Z(v,Fe(f)),r.set(a,v));else{u=v.v!==C;var _=o(()=>Fe(f));Z(v,_)}var j=Reflect.getOwnPropertyDescriptor(l,a);if(j?.set&&j.set.call(c,f),!u){if(n&&typeof a=="string"){var ce=r.get("length"),Te=Number(a);Number.isInteger(Te)&&Te>=ce.v&&Z(ce,Te+1)}We(i)}return!0},ownKeys(l){U(i);var a=Reflect.ownKeys(l).filter(v=>{var u=r.get(v);return u===void 0||u.v!==C});for(var[f,c]of r)c.v!==C&&!(f in l)&&a.push(f);return a},setPrototypeOf(){on()}})}var fr,ur,cr,dr;function St(){if(fr===void 0){fr=window,ur=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;cr=Re(t,"firstChild").get,dr=Re(t,"nextSibling").get,Ut(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ut(r)&&(r.__t=void 0)}}function V(e=""){return document.createTextNode(e)}function Ge(e){return cr.call(e)}function le(e){return dr.call(e)}function x(e,t){if(!y)return Ge(e);var r=Ge(p);if(r===null)r=p.appendChild(V());else if(t&&r.nodeType!==ot){var n=V();return r?.before(n),q(n),n}return q(r),r}function Tn(e,t=!1){if(!y){var r=Ge(e);return r instanceof Comment&&r.data===""?le(r):r}if(t&&p?.nodeType!==ot){var n=V();return p?.before(n),q(n),n}return p}function ye(e,t=1,r=!1){let n=y?p:e;for(var i;t--;)i=n,n=le(n);if(!y)return n;if(r&&n?.nodeType!==ot){var s=V();return n===null?i?.after(s):n.before(s),q(s),s}return q(n),n}function Cn(e){e.textContent=""}function Sn(){return!1}function Nn(e,t,r,n=!0){n&&r();for(var i of t)e.addEventListener(i,r);vr(()=>{for(var s of t)e.removeEventListener(s,r)})}function Nt(e){var t=h,r=b;M(null),te(null);try{return e()}finally{M(t),te(r)}}function An(e){b===null&&(h===null&&tn(),en()),xe&&Qr()}function Rn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Q(e,t,r,n=!0){var i=b;i!==null&&(i.f&J)!==0&&(e|=J);var s={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:e|L|Y,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(r)try{Ze(s),s.f|=wt}catch(a){throw D(s),a}else t!==null&&we(s);if(n){var o=s;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&pe)===0&&(o=o.first,(e&ne)!==0&&(e&Oe)!==0&&o!==null&&(o.f|=Oe)),o!==null&&(o.parent=i,i!==null&&Rn(o,i),h!==null&&(h.f&S)!==0&&(e&he)===0)){var l=h;(l.effects??=[]).push(o)}}return s}function dt(){return h!==null&&!ee}function vr(e){const t=Q(mt,null,!1);return A(t,N),t.teardown=e,t}function On(e){An();var t=b.f,r=!h&&(t&ie)!==0&&(t&wt)===0;if(r){var n=B;(n.e??=[]).push(e)}else return hr(e)}function hr(e){return Q(it|Jr,e,!1)}function Ln(e){H.ensure();const t=Q(he|pe,e,!0);return()=>{D(t)}}function Dn(e){H.ensure();const t=Q(he|pe,e,!0);return(r={})=>new Promise(n=>{r.outro?Je(t,()=>{D(t),n(void 0)}):(D(t),n(void 0))})}function Mn(e){return Q(it,e,!1)}function Pn(e){return Q($t|pe,e,!0)}function br(e,t=0){return Q(mt|t,e,!0)}function ae(e,t=[],r=[],n=[],i=!1){yn(n,t,r,s=>{Q(i?it:mt,()=>e(...s.map(U)),!0)})}function _r(e,t=0){var r=Q(ne|t,e,!0);return r}function fe(e,t=!0){return Q(ie|pe,e,!0,t)}function gr(e){var t=e.teardown;if(t!==null){const r=xe,n=h;Er(!0),M(null);try{t.call(null)}finally{Er(r),M(n)}}}function pr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Nt(()=>{i.abort(Le)});var n=r.next;(r.f&he)!==0?r.parent=null:D(r,t),r=n}}function In(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&ie)===0&&D(t),t=r}}function D(e,t=!0){var r=!1;(t||(e.f&Vt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Fn(e.nodes_start,e.nodes_end),r=!0),pr(e,t&&!r),vt(e,0),A(e,be);var n=e.transitions;if(n!==null)for(const s of n)s.stop();gr(e);var i=e.parent;i!==null&&i.first!==null&&mr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Fn(e,t){for(;e!==null;){var r=e===t?null:le(e);e.remove(),e=r}}function mr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Je(e,t,r=!0){var n=[];wr(e,n,!0),qn(n,()=>{r&&D(e),t&&t()})}function qn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function wr(e,t,r){if((e.f&J)===0){if(e.f^=J,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Oe)!==0||(n.f&ie)!==0&&(e.f&ne)!==0;wr(n,t,s?r:!1),n=i}}}function Bn(e){yr(e,!0)}function yr(e,t){if((e.f&J)!==0){e.f^=J,(e.f&N)===0&&(A(e,L),we(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Oe)!==0||(r.f&ie)!==0;yr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function $r(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:le(r);t.append(r),r=i}}let $e=!1;function xr(e){$e=e}let xe=!1;function Er(e){xe=e}let h=null,ee=!1;function M(e){h=e}let b=null;function te(e){b=e}let ue=null;function zn(e){h!==null&&(ue===null?ue=[e]:ue.push(e))}let R=null,F=0,z=null;function Un(e){z=e}let kr=1,Ke=0,Ee=Ke;function jr(e){Ee=e}function Tr(){return++kr}function Xe(e){var t=e.f;if((t&L)!==0)return!0;if(t&S&&(e.f&=~Ue),(t&se)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(Xe(s)&&or(s),s.wv>e.wv)return!0}(t&Y)!==0&&I===null&&A(e,N)}return!1}function Cr(e,t,r=!0){var n=e.reactions;if(n!==null&&!ue?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&S)!==0?Cr(s,t,!1):t===s&&(r?A(s,L):(s.f&N)!==0&&A(s,se),we(s))}}function Sr(e){var t=R,r=F,n=z,i=h,s=ue,o=B,l=ee,a=Ee,f=e.f;R=null,F=0,z=null,h=(f&(ie|he))===0?e:null,ue=null,Me(e.ctx),ee=!1,Ee=++Ke,e.ac!==null&&(Nt(()=>{e.ac.abort(Le)}),e.ac=null);try{e.f|=yt;var c=e.fn,v=c(),u=e.deps;if(R!==null){var d;if(vt(e,F),u!==null&&F>0)for(u.length=F+R.length,d=0;d<R.length;d++)u[F+d]=R[d];else e.deps=u=R;if($e&&dt()&&(e.f&Y)!==0)for(d=F;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&F<u.length&&(vt(e,F),u.length=F);if(Xt()&&z!==null&&!ee&&u!==null&&(e.f&(S|se|L))===0)for(d=0;d<z.length;d++)Cr(z[d],e);return i!==null&&i!==e&&(Ke++,z!==null&&(n===null?n=z:n.push(...z))),(e.f&_e)!==0&&(e.f^=_e),v}catch(w){return Qt(w)}finally{e.f^=yt,R=t,F=r,z=n,h=i,ue=s,Me(o),ee=l,Ee=a}}function Yn(e,t){let r=t.reactions;if(r!==null){var n=Ur.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&S)!==0&&(R===null||!R.includes(t))&&(A(t,se),(t.f&Y)!==0&&(t.f^=Y,t.f&=~Ue),sr(t),vt(t,0))}function vt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Yn(e,r[n])}function Ze(e){var t=e.f;if((t&be)===0){A(e,N);var r=b,n=$e;b=e,$e=!0;try{(t&ne)!==0?In(e):pr(e),gr(e);var i=Sr(e);e.teardown=typeof i=="function"?i:null,e.wv=kr;var s;Bt&&hn&&(e.f&L)!==0&&e.deps}finally{$e=n,b=r}}}function U(e){var t=e.f,r=(t&S)!==0;if(h!==null&&!ee){var n=b!==null&&(b.f&be)!==0;if(!n&&!ue?.includes(e)){var i=h.deps;if((h.f&yt)!==0)e.rv<Ke&&(e.rv=Ke,R===null&&i!==null&&i[F]===e?F++:R===null?R=[e]:R.includes(e)||R.push(e));else{(h.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[h]:s.includes(h)||s.push(h)}}}if(xe){if(ge.has(e))return ge.get(e);if(r){var o=e,l=o.v;return((o.f&N)===0&&o.reactions!==null||Ar(o))&&(l=Tt(o)),ge.set(o,l),l}}else if(r){if(o=e,I?.has(o))return I.get(o);Xe(o)&&or(o),$e&&dt()&&(o.f&Y)===0&&Nr(o)}else if(I?.has(e))return I.get(e);if((e.f&_e)!==0)throw e.v;return e.v}function Nr(e){if(e.deps!==null){e.f^=Y;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&S)!==0&&(t.f&Y)===0&&Nr(t)}}function Ar(e){if(e.v===C)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ge.has(t)||(t.f&S)!==0&&Ar(t))return!0;return!1}function Hn(e){var t=ee;try{return ee=!0,e()}finally{ee=t}}const Vn=-7169;function A(e,t){e.f=e.f&Vn|t}const Rr=new Set,At=new Set;function Wn(e){for(var t=0;t<e.length;t++)Rr.add(e[t]);for(var r of At)r(e)}let Or=null;function ht(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Or=e;var o=0,l=Or===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){nt(e,"currentTarget",{configurable:!0,get(){return s||r}});var c=h,v=b;M(null),te(null);try{for(var u,d=[];s!==null;){var w=s.assignedSlot||s.parentNode||s.host||null;try{var _=s["__"+n];_!=null&&(!s.disabled||e.target===s)&&_.call(s,e)}catch(j){u?d.push(j):u=j}if(e.cancelBubble||w===t||w===null)break;s=w}if(u){for(let j of d)queueMicrotask(()=>{throw j});throw u}}finally{e.__root=t,delete e.currentTarget,M(c),te(v)}}}function Gn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ke(e,t){var r=b;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function W(e,t){var r=(t&qr)!==0,n,i=!e.startsWith("<!>");return()=>{if(y)return ke(p,null),p;n===void 0&&(n=Gn(i?e:"<!>"+e),n=Ge(n));var s=r||ur?document.importNode(n,!0):n.cloneNode(!0);return ke(s,s),s}}function Qe(e=""){if(!y){var t=V(e+"");return ke(t,t),t}var r=p;return r.nodeType!==ot&&(r.before(r=V()),q(r)),ke(r,r),r}function Jn(){if(y)return ke(p,null),p;var e=document.createDocumentFragment(),t=document.createComment(""),r=V();return e.append(t,r),ke(t,r),e}function k(e,t){if(y){b.nodes_end=p,Et();return}e!==null&&e.before(t)}const Kn=["touchstart","touchmove"];function Xn(e){return Kn.includes(e)}function qe(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Lr(e,t){return Dr(e,t)}function Zn(e,t){St(),t.intro=t.intro??!1;const r=t.target,n=y,i=p;try{for(var s=Ge(r);s&&(s.nodeType!==Ye||s.data!==Ft);)s=le(s);if(!s)throw Ae;De(!0),q(s);const o=Dr(e,{...t,anchor:s});return De(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Ae&&console.warn("Failed to hydrate: ",o),t.recover===!1&&nn(),St(),Cn(r),De(!1),Lr(e,t)}finally{De(n),q(i)}}const Be=new Map;function Dr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0}){St();var l=new Set,a=v=>{for(var u=0;u<v.length;u++){var d=v[u];if(!l.has(d)){l.add(d);var w=Xn(d);t.addEventListener(d,ht,{passive:w});var _=Be.get(d);_===void 0?(document.addEventListener(d,ht,{passive:w}),Be.set(d,1)):Be.set(d,_+1)}}};a(Yr(Rr)),At.add(a);var f=void 0,c=Dn(()=>{var v=r??t.appendChild(V());return mn(v,{pending:()=>{}},u=>{if(s){Jt({});var d=B;d.c=s}if(i&&(n.$$events=i),y&&ke(u,null),f=e(u,n)||{},y&&(b.nodes_end=p,p===null||p.nodeType!==Ye||p.data!==qt))throw lt(),Ae;s&&Kt()}),()=>{for(var u of l){t.removeEventListener(u,ht);var d=Be.get(u);--d===0?(document.removeEventListener(u,ht),Be.delete(u)):Be.set(u,d)}At.delete(a),v!==r&&v.parentNode?.removeChild(v)}});return Rt.set(f,c),f}let Rt=new WeakMap;function Qn(e,t){const r=Rt.get(e);return r?(Rt.delete(e),r(t)):Promise.resolve()}class ei{anchor;#t=new Map;#e=new Map;#r=new Map;#n=!0;constructor(t,r=!0){this.anchor=t,this.#n=r}#a=()=>{var t=E;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Bn(n);else{var i=this.#r.get(r);i&&(this.#e.set(r,i.effect),this.#r.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,o]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#r.get(o);l&&(D(l.effect),this.#r.delete(o))}for(const[s,o]of this.#e){if(s===r)continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();$r(o,f),f.append(V()),this.#r.set(s,{effect:o,fragment:f})}else D(o);this.#e.delete(s)};this.#n||!n?Je(o,l,!1):l()}}};#o=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(D(i.effect),this.#r.delete(n))};ensure(t,r){var n=E,i=Sn();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),o=V();s.append(o),this.#r.set(t,{effect:fe(()=>r(o)),fragment:s})}else this.#e.set(t,fe(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[l,a]of this.#e)l===t?n.skipped_effects.delete(a):n.skipped_effects.add(a);for(const[l,a]of this.#r)l===t?n.skipped_effects.delete(a.effect):n.skipped_effects.add(a.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else y&&(this.anchor=p),this.#a()}}function re(e,t,r=!1){y&&Et();var n=new ei(e),i=r?Oe:0;function s(o,l){if(y){const f=cn(e)===pt;if(o===f){var a=Wt();q(a),n.anchor=a,De(!1),n.ensure(o,l),De(!0);return}}n.ensure(o,l)}_r(()=>{var o=!1;t((l,a=!0)=>{o=!0,s(a,l)}),o||s(!1,null)},i)}function ti(e,t){Mn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function ri(e,t){return e==null?null:String(e)}function bt(e,t,r,n){var i=e.__style;if(y||i!==t){var s=ri(t);(!y||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const ni=Symbol("is custom element"),ii=Symbol("is html");function ze(e,t,r,n){var i=si(e);y&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Xr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&oi(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function si(e){return e.__attributes??={[ni]:e.nodeName.includes("-"),[ii]:e.namespaceURI===Br}}var Mr=new Map;function oi(e){var t=e.getAttribute("is")||e.nodeName,r=Mr.get(t);if(r)return r;Mr.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=Hr(i);for(var o in n)n[o].set&&r.push(o);i=zt(i)}return r}function li(e,t){Nn(window,["resize"],()=>Nt(()=>t(window[e])))}function et(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var a;a=()=>{var u=e[t];return u===void 0?o():(s=!0,u)};var f=!1,c=ir(()=>(f=!1,a())),v=b;return(function(u,d){if(arguments.length>0){const w=d?U(c):u;return Z(c,w),f=!0,i!==void 0&&(i=w),u}return xe&&f||(v.f&be)!==0?c.v:U(c)})}function ai(e){return new fi(e)}class fi{#t;#e;constructor(t){var r=new Map,n=(s,o)=>{var l=kn(o,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return U(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Kr?!0:(U(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return Z(r.get(o)??n(o,l),l),Reflect.set(s,o,l)}});this.#e=(t.hydrate?Zn:Lr)(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)&&Ie(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||nt(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=()=>{Qn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Pr;typeof HTMLElement=="function"&&(Pr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),k(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ui(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=_t(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ai({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ln(()=>{br(()=>{this.$$r=!0;for(const n of rt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=_t(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=_t(e,r,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 rt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function _t(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 ui(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ci(e,t,r,n,i,s){let o=class extends Pr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return rt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return rt(t).forEach(l=>{nt(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=_t(l,a,t),this.$$d[l]=a;var f=this.$$c;if(f){var c=Re(f,l)?.get;c?f[l]=a:f.$set({[l]:a})}}})}),n.forEach(l=>{nt(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var je={},Ir;function di(){if(Ir)return je;Ir=1,Object.defineProperty(je,"__esModule",{value:!0}),je.LanguageTranslator=void 0,je.getChildStyleToPass=e,je.addComponent=t;function e(n,i){var s,o,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((o=i?.filter(function(u){return Object.keys(n).includes(u.name)}))===null||o===void 0)&&o.length))for(var a=function(u){var d=i?.filter(function(w){return w.name===u&&w.defaultValue!==n[u]});d&&(l+="".concat(u,":").concat(n[u],";"))},f=0,c=Object.keys(n);f<c.length;f++){var v=c[f];a(v)}}catch(u){console.error("error getting child style to pass",u)}finally{return l}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.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(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)l.src="".concat(n.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 r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,o){return n.formatDate(i,s,o||this.lang)},n.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},n.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=n.getDefaultLang();if(!o||f!==o){var c=s?.[f];c?.[i]&&(a=c[i])}return a},n.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||n.getDefaultLang(),s);return l.format(i)},n})();return je.LanguageTranslator=r,je}di();var vi=W('<p class="svelte-1f33vjl"><button part="mobile_link_button" class="btn btn-primary svelte-1f33vjl"> </button></p>'),hi=W('<div part="mobile_text_content" id="mobile_text_content" class="svelte-1f33vjl"><h1 id="mobile_title" part="mobile_title" class="svelte-1f33vjl"> </h1> <p part="mobile_text_body" class="svelte-1f33vjl"> </p> <!></div>'),bi=W('<div part="mobile_image_content" id="mobile_image_content" class="svelte-1f33vjl"><img id="mobile_img" class="svelte-1f33vjl"/></div>'),_i=W('<div id="mobile_container" class="svelte-1f33vjl"><div id="mobile_text_container" class="svelte-1f33vjl"><!></div> <div id="mobile_image_container" class="svelte-1f33vjl"><!></div></div>'),gi=W('<div part="image_content" id="image_content" class="svelte-1f33vjl"><img id="desktop_img" class="svelte-1f33vjl"/></div>'),pi=W('<div id="image_container" class="svelte-1f33vjl"><!></div>'),mi=W('<p class="svelte-1f33vjl"><button part="link_button" class="btn btn-primary svelte-1f33vjl"> </button></p>'),wi=W('<div part="text_content" id="text_content" class="svelte-1f33vjl"><h1 id="title" part="title" class="svelte-1f33vjl"> </h1> <p part="text_body" class="svelte-1f33vjl"> </p> <!></div>'),yi=W('<div part="image_content" id="image_content" class="svelte-1f33vjl"><img id="desktop_img" class="svelte-1f33vjl"/></div>'),$i=W('<div id="image_container" class="svelte-1f33vjl"><!></div>'),xi=W('<div id="row_container" class="svelte-1f33vjl"><!> <div id="text_container" class="svelte-1f33vjl"><!></div> <!></div>');const Ei={hash:"svelte-1f33vjl",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;padding:4vw;display:block;height:350px;}#mobile_img.svelte-1f33vjl {max-height:60vw;}#mobile_image_container.svelte-1f33vjl {width:100%;text-align:center;}#mobile_image_content.svelte-1f33vjl {width:80%;height:80%;margin:50px auto 0px auto;max-height:50vw;}#title.svelte-1f33vjl {margin:1em auto 0.5 auto;}#row_container.svelte-1f33vjl {display:flex;align-items:center;height:100%;}#image_container.svelte-1f33vjl {flex-grow:5;height:100%;position:relative;}#text_container.svelte-1f33vjl {flex-grow:5;height:100%;position:relative;display:flex;align-items:center;}#text_content.svelte-1f33vjl {position:absolute;margin:4vw;}#image_content.svelte-1f33vjl {padding:2vw;max-height:100%;max-width:100%;height:100%;width:100%;display:flex;position:absolute;}#desktop_img.svelte-1f33vjl {max-height:100%;max-width:100%;margin:auto;}
|
|
1
|
+
(function(qt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const qr=2,Bt="[",mt="[!",zt="]",Re={},S=Symbol(),Br="http://www.w3.org/1999/xhtml",wt=!1;var zr=Array.isArray,Ur=Array.prototype.indexOf,Yr=Array.from,rt=Object.keys,nt=Object.defineProperty,Oe=Object.getOwnPropertyDescriptor,Hr=Object.getOwnPropertyDescriptors,Vr=Object.prototype,Wr=Array.prototype,Ut=Object.getPrototypeOf,Yt=Object.isExtensible;function Gr(e){for(var t=0;t<e.length;t++)e[t]()}function Ht(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const j=2,yt=4,$t=8,ne=16,ie=32,be=64,it=128,H=512,N=1024,L=2048,se=4096,K=8192,oe=16384,st=32768,Le=65536,Vt=1<<17,Wt=1<<18,me=1<<19,Jr=1<<20,we=32768,xt=1<<21,kt=1<<22,_e=1<<23,Et=Symbol("$state"),Kr=Symbol("legacy props"),Xr=Symbol(""),De=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ot=3,Ye=8;function Zr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Qr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function en(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function tn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function rn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function nn(){throw new Error("https://svelte.dev/e/hydration_failed")}function sn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function on(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ln(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function an(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function lt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function fn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function Me(e){y=e}let p;function F(e){if(e===null)throw lt(),Re;return p=e}function jt(){return F(ae(p))}function x(e){if(y){if(ae(p)!==null)throw lt(),Re;p=e}}function un(e=1){if(y){for(var t=e,r=p;t--;)r=ae(r);p=r}}function Gt(e=!0){for(var t=0,r=p;;){if(r.nodeType===Ye){var n=r.data;if(n===zt){if(t===0)return r;t-=1}else(n===Bt||n===mt)&&(t+=1)}var s=ae(r);e&&r.remove(),r=s}}function cn(e){if(!e||e.nodeType!==Ye)throw lt(),Re;return e.data}function Jt(e){return e===this.v}function dn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function vn(e){return!dn(e,this.v)}let hn=!1,q=null;function Pe(e){q=e}function Kt(e,t=!1,r){q={p:q,i:!1,c:null,e:null,s:e,x:null,l:null}}function Xt(e){var t=q,r=t.e;if(r!==null){t.e=null;for(var n of r)br(n)}return e!==void 0&&(t.x=e),t.i=!0,q=t.p,e??{}}function Zt(){return!0}let ye=[];function Qt(){var e=ye;ye=[],Gr(e)}function Tt(e){if(ye.length===0&&!He){var t=ye;queueMicrotask(()=>{t===ye&&Qt()})}ye.push(e)}function bn(){for(;ye.length>0;)Qt()}function er(e){var t=b;if(t===null)return h.f|=_e,e;if((t.f&st)===0){if((t.f&it)===0)throw e;t.b.error(e)}else Ie(e,t)}function Ie(e,t){for(;t!==null;){if((t.f&it)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const at=new Set;let $=null,B=null,z=[],ft=null,Ct=!1,He=!1;class V{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#a=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){z=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#o(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects)):($=null,rr(r.render_effects),rr(r.effects),this.#a?.resolve()),B=null}#o(t,r){t.f^=N;for(var n=t.first;n!==null;){var s=n.f,i=(s&(ie|be))!==0,o=i&&(s&N)!==0,l=o||(s&K)!==0||this.skipped_effects.has(n);if((n.f&it)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!l&&n.fn!==null){i?n.f^=N:(s&yt)!==0?r.effects.push(n):Xe(n)&&((n.f&ne)!==0&&r.block_effects.push(n),Ze(n));var a=n.first;if(a!==null){n=a;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#l(t){for(const r of t)((r.f&L)!==0?this.#s:this.#i).push(r),this.#f(r.deps),A(r,N)}#f(t){if(t!==null)for(const r of t)(r.f&j)===0||(r.f&we)===0||(r.f^=we,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&_e)===0&&(this.current.set(t,t.v),B?.set(t,t.v))}activate(){$=this,this.apply()}deactivate(){$===this&&($=null,B=null)}flush(){if(this.activate(),z.length>0){if(tr(),$!==null&&$!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(at.size>1){this.previous.clear();var t=B,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of at){if(i===this){r=!1;continue}const o=[];for(const[a,f]of this.current){if(i.current.has(a))if(r&&f!==i.current.get(a))i.current.set(a,f);else continue;o.push(a)}if(o.length===0)continue;const l=[...i.current.keys()].filter(a=>!this.current.has(a));if(l.length>0){var s=z;z=[];const a=new Set,f=new Map;for(const c of o)nr(c,l,a,f);if(z.length>0){$=i,i.apply();for(const c of z)i.#o(c,n);i.deactivate()}z=s}}$=null,B=t}this.committed=!0,at.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#s)A(t,L),$e(t);for(const t of this.#i)A(t,se),$e(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=Ht()).promise}static ensure(){if($===null){const t=$=new V;at.add($),He||V.enqueue(()=>{$===t&&t.flush()})}return $}static enqueue(t){Tt(t)}apply(){}}function Fe(e){var t=He;He=!0;try{for(var r;;){if(bn(),z.length===0&&($?.flush(),z.length===0))return ft=null,r;tr()}}finally{He=t}}function tr(){var e=pe;Ct=!0;var t=null;try{var r=0;for(vt(!0);z.length>0;){var n=V.ensure();if(r++>1e3){var s,i;_n()}n.process(z),ge.clear()}}finally{Ct=!1,vt(e),ft=null}}function _n(){try{rn()}catch(e){Ie(e,ft)}}let le=null;function rr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(oe|K))===0&&Xe(n)&&(le=new Set,Ze(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?wr(n):n.fn=null),le?.size>0)){ge.clear();for(const s of le){if((s.f&(oe|K))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)le.has(o)&&(le.delete(o),i.push(o)),o=o.parent;for(let l=i.length-1;l>=0;l--){const a=i[l];(a.f&(oe|K))===0&&Ze(a)}}le.clear()}}le=null}}function nr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&j)!==0?nr(s,t,r,n):(i&(kt|ne))!==0&&(i&L)===0&&ir(s,t,n)&&(A(s,L),$e(s))}}function ir(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&j)!==0&&ir(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function $e(e){for(var t=ft=e;t.parent!==null;){t=t.parent;var r=t.f;if(Ct&&t===b&&(r&ne)!==0&&(r&Wt)===0)return;if((r&(be|ie))!==0){if((r&N)===0)return;t.f^=N}}z.push(t)}function gn(e){let t=0,r=Ve(0),n;return()=>{dt()&&(Y(r),_r(()=>(t===0&&(n=Hn(()=>e(()=>We(r)))),t+=1,()=>{Tt(()=>{t-=1,t===0&&(n?.(),n=void 0,We(r))})})))}}var pn=Le|me|it;function mn(e,t,r){new wn(e,t,r)}class wn{parent;#t=!1;#e;#r=y?p:null;#n;#a;#s;#i=null;#o=null;#l=null;#f=null;#u=null;#c=0;#d=0;#h=!1;#v=null;#m=gn(()=>(this.#v=Ve(this.#c),()=>{this.#v=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#a=n,this.parent=b.b,this.#t=!!this.#n.pending,this.#s=gr(()=>{if(b.b=this,y){const i=this.#r;jt(),i.nodeType===Ye&&i.data===mt?this.#y():this.#w()}else{var s=this.#g();try{this.#i=ue(()=>n(s))}catch(i){this.error(i)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},pn),y&&(this.#e=p)}#w(){try{this.#i=ue(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#n.pending;t&&(this.#o=ue(()=>t(this.#e)),V.enqueue(()=>{var r=this.#g();this.#i=this.#b(()=>(V.ensure(),ue(()=>this.#a(r)))),this.#d>0?this.#_():(Je(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=W(),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.#n.pending}#b(t){var r=b,n=h,s=q;te(this.#s),M(this.#s),Pe(this.#s.ctx);try{return t()}catch(i){return er(i),null}finally{te(r),M(n),Pe(s)}}#_(){const t=this.#n.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),xr(this.#i,this.#f)),this.#o===null&&(this.#o=ue(()=>t(this.#e)))}#p(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#p(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#o&&Je(this.#o,()=>{this.#o=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#p(t),this.#c+=t,this.#v&&ct(this.#v,this.#c)}get_effect_pending(){return this.#m(),Y(this.#v)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#i&&(D(this.#i),this.#i=null),this.#o&&(D(this.#o),this.#o=null),this.#l&&(D(this.#l),this.#l=null),y&&(F(this.#r),un(),F(Gt()));var s=!1,i=!1;const o=()=>{if(s){fn();return}s=!0,i&&an(),V.ensure(),this.#c=0,this.#l!==null&&Je(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#b(()=>(this.#h=!1,ue(()=>this.#a(this.#e)))),this.#d>0?this.#_():this.#t=!1};var l=h;try{M(null),i=!0,r?.(t,o),i=!1}catch(a){Ie(a,this.#s&&this.#s.parent)}finally{M(l)}n&&Tt(()=>{this.#l=this.#b(()=>{V.ensure(),this.#h=!0;try{return ue(()=>{n(this.#e,()=>t,()=>o)})}catch(a){return Ie(a,this.#s.parent),null}finally{this.#h=!1}})})}}function yn(e,t,r,n){const s=sr;if(r.length===0&&e.length===0){n(t.map(s));return}var i=$,o=b,l=$n();function a(){Promise.all(r.map(f=>xn(f))).then(f=>{l();try{n([...t.map(s),...f])}catch(c){(o.f&oe)===0&&Ie(c,o)}i?.deactivate(),ut()}).catch(f=>{Ie(f,o)})}e.length>0?Promise.all(e).then(()=>{l();try{return a()}finally{i?.deactivate(),ut()}}):a()}function $n(){var e=b,t=h,r=q,n=$;return function(i=!0){te(e),M(t),Pe(r),i&&n?.activate()}}function ut(){te(null),M(null),Pe(null)}function sr(e){var t=j|L,r=h!==null&&(h.f&j)!==0?h:null;return b!==null&&(b.f|=me),{ctx:q,deps:null,effects:null,equals:Jt,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:r??b,ac:null}}function xn(e,t){let r=b;r===null&&Zr();var n=r.b,s=void 0,i=Ve(S),o=!h,l=new Map;return Pn(()=>{var a=Ht();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{f===$&&f.committed&&f.deactivate(),ut()})}catch(u){a.reject(u),ut()}var f=$;if(o){var c=!n.is_pending();n.update_pending_count(1),f.increment(c),l.get(f)?.reject(De),l.delete(f),l.set(f,a)}const v=(u,d=void 0)=>{if(f.activate(),d)d!==De&&(i.f|=_e,ct(i,d));else{(i.f&_e)!==0&&(i.f^=_e),ct(i,u);for(const[w,_]of l){if(l.delete(w),w===f)break;_.reject(De)}}o&&(n.update_pending_count(-1),f.decrement(c))};a.promise.then(v,u=>v(null,u||"unknown"))}),hr(()=>{for(const a of l.values())a.reject(De)}),new Promise(a=>{function f(c){function v(){c===s?a(i):f(s)}c.then(v,v)}f(s)})}function or(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)D(t[r])}}function kn(e){for(var t=e.parent;t!==null;){if((t.f&j)===0)return(t.f&oe)===0?t:null;t=t.parent}return null}function St(e){var t,r=b;te(kn(e));try{e.f&=~we,or(e),t=Sr(e)}finally{te(r)}return t}function lr(e){var t=St(e);if(e.equals(t)||($?.is_fork||(e.v=t),e.wv=Tr()),!ke)if(B!==null)dt()&&B.set(e,t);else{var r=(e.f&H)===0?se:N;A(e,r)}}let Nt=new Set;const ge=new Map;let ar=!1;function Ve(e,t){var r={f:0,v:e,reactions:null,equals:Jt,rv:0,wv:0};return r}function X(e,t){const r=Ve(e);return zn(r),r}function En(e,t=!1,r=!0){const n=Ve(e);return t||(n.equals=vn),n}function Z(e,t,r=!1){h!==null&&(!ee||(h.f&Vt)!==0)&&Zt()&&(h.f&(j|ne|kt|Vt))!==0&&!ce?.includes(e)&&ln();let n=r?qe(t):t;return ct(e,n)}function ct(e,t){if(!e.equals(t)){var r=e.v;ke?ge.set(e,t):ge.set(e,r),e.v=t;var n=V.ensure();n.capture(e,r),(e.f&j)!==0&&((e.f&L)!==0&&St(e),A(e,(e.f&H)!==0?N:se)),e.wv=Tr(),fr(e,L),b!==null&&(b.f&N)!==0&&(b.f&(ie|be))===0&&(U===null?Un([e]):U.push(e)),!n.is_fork&&Nt.size>0&&!ar&&jn()}return t}function jn(){ar=!1;var e=pe;vt(!0);const t=Array.from(Nt);try{for(const r of t)(r.f&N)!==0&&A(r,se),Xe(r)&&Ze(r)}finally{vt(e)}Nt.clear()}function We(e){Z(e,e.v+1)}function fr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],o=i.f,l=(o&L)===0;if(l&&A(i,t),(o&j)!==0){var a=i;B?.delete(a),(o&we)===0&&(o&H&&(i.f|=we),fr(a,se))}else l&&((o&ne)!==0&&le!==null&&le.add(i),$e(i))}}function qe(e){if(typeof e!="object"||e===null||Et in e)return e;const t=Ut(e);if(t!==Vr&&t!==Wr)return e;var r=new Map,n=zr(e),s=X(0),i=Ee,o=l=>{if(Ee===i)return l();var a=h,f=Ee;M(null),jr(i);var c=l();return M(a),jr(f),c};return n&&r.set("length",X(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&sn();var c=r.get(a);return c===void 0?c=o(()=>{var v=X(f.value);return r.set(a,v),v}):Z(c,f.value,!0),!0},deleteProperty(l,a){var f=r.get(a);if(f===void 0){if(a in l){const c=o(()=>X(S));r.set(a,c),We(s)}}else Z(f,S),We(s);return!0},get(l,a,f){if(a===Et)return e;var c=r.get(a),v=a in l;if(c===void 0&&(!v||Oe(l,a)?.writable)&&(c=o(()=>{var d=qe(v?l[a]:S),w=X(d);return w}),r.set(a,c)),c!==void 0){var u=Y(c);return u===S?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=r.get(a);c&&(f.value=Y(c))}else if(f===void 0){var v=r.get(a),u=v?.v;if(v!==void 0&&u!==S)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(l,a){if(a===Et)return!0;var f=r.get(a),c=f!==void 0&&f.v!==S||Reflect.has(l,a);if(f!==void 0||b!==null&&(!c||Oe(l,a)?.writable)){f===void 0&&(f=o(()=>{var u=c?qe(l[a]):S,d=X(u);return d}),r.set(a,f));var v=Y(f);if(v===S)return!1}return c},set(l,a,f,c){var v=r.get(a),u=a in l;if(n&&a==="length")for(var d=f;d<v.v;d+=1){var w=r.get(d+"");w!==void 0?Z(w,S):d in l&&(w=o(()=>X(S)),r.set(d+"",w))}if(v===void 0)(!u||Oe(l,a)?.writable)&&(v=o(()=>X(void 0)),Z(v,qe(f)),r.set(a,v));else{u=v.v!==S;var _=o(()=>qe(f));Z(v,_)}var T=Reflect.getOwnPropertyDescriptor(l,a);if(T?.set&&T.set.call(c,f),!u){if(n&&typeof a=="string"){var de=r.get("length"),Ce=Number(a);Number.isInteger(Ce)&&Ce>=de.v&&Z(de,Ce+1)}We(s)}return!0},ownKeys(l){Y(s);var a=Reflect.ownKeys(l).filter(v=>{var u=r.get(v);return u===void 0||u.v!==S});for(var[f,c]of r)c.v!==S&&!(f in l)&&a.push(f);return a},setPrototypeOf(){on()}})}var ur,cr,dr,vr;function At(){if(ur===void 0){ur=window,cr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;dr=Oe(t,"firstChild").get,vr=Oe(t,"nextSibling").get,Yt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Yt(r)&&(r.__t=void 0)}}function W(e=""){return document.createTextNode(e)}function Ge(e){return dr.call(e)}function ae(e){return vr.call(e)}function k(e,t){if(!y)return Ge(e);var r=Ge(p);if(r===null)r=p.appendChild(W());else if(t&&r.nodeType!==ot){var n=W();return r?.before(n),F(n),n}return F(r),r}function Tn(e,t=!1){if(!y){var r=Ge(e);return r instanceof Comment&&r.data===""?ae(r):r}if(t&&p?.nodeType!==ot){var n=W();return p?.before(n),F(n),n}return p}function xe(e,t=1,r=!1){let n=y?p:e;for(var s;t--;)s=n,n=ae(n);if(!y)return n;if(r&&n?.nodeType!==ot){var i=W();return n===null?s?.after(i):n.before(i),F(i),i}return F(n),n}function Cn(e){e.textContent=""}function Sn(){return!1}function Nn(e,t,r,n=!0){n&&r();for(var s of t)e.addEventListener(s,r);hr(()=>{for(var i of t)e.removeEventListener(i,r)})}function Rt(e){var t=h,r=b;M(null),te(null);try{return e()}finally{M(t),te(r)}}function An(e){b===null&&(h===null&&tn(),en()),ke&&Qr()}function Rn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Q(e,t,r){var n=b;n!==null&&(n.f&K)!==0&&(e|=K);var s={ctx:q,deps:null,nodes_start:null,nodes_end:null,f:e|L|H,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ze(s),s.f|=st}catch(l){throw D(s),l}else t!==null&&$e(s);var i=s;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&me)===0&&(i=i.first,(e&ne)!==0&&(e&Le)!==0&&i!==null&&(i.f|=Le)),i!==null&&(i.parent=n,n!==null&&Rn(i,n),h!==null&&(h.f&j)!==0&&(e&be)===0)){var o=h;(o.effects??=[]).push(i)}return s}function dt(){return h!==null&&!ee}function hr(e){const t=Q($t,null,!1);return A(t,N),t.teardown=e,t}function On(e){An();var t=b.f,r=!h&&(t&ie)!==0&&(t&st)===0;if(r){var n=q;(n.e??=[]).push(e)}else return br(e)}function br(e){return Q(yt|Jr,e,!1)}function Ln(e){V.ensure();const t=Q(be|me,e,!0);return()=>{D(t)}}function Dn(e){V.ensure();const t=Q(be|me,e,!0);return(r={})=>new Promise(n=>{r.outro?Je(t,()=>{D(t),n(void 0)}):(D(t),n(void 0))})}function Mn(e){return Q(yt,e,!1)}function Pn(e){return Q(kt|me,e,!0)}function _r(e,t=0){return Q($t|t,e,!0)}function fe(e,t=[],r=[],n=[]){yn(n,t,r,s=>{Q($t,()=>e(...s.map(Y)),!0)})}function gr(e,t=0){var r=Q(ne|t,e,!0);return r}function ue(e){return Q(ie|me,e,!0)}function pr(e){var t=e.teardown;if(t!==null){const r=ke,n=h;kr(!0),M(null);try{t.call(null)}finally{kr(r),M(n)}}}function mr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&Rt(()=>{s.abort(De)});var n=r.next;(r.f&be)!==0?r.parent=null:D(r,t),r=n}}function In(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&ie)===0&&D(t),t=r}}function D(e,t=!0){var r=!1;(t||(e.f&Wt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Fn(e.nodes_start,e.nodes_end),r=!0),mr(e,t&&!r),ht(e,0),A(e,oe);var n=e.transitions;if(n!==null)for(const i of n)i.stop();pr(e);var s=e.parent;s!==null&&s.first!==null&&wr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Fn(e,t){for(;e!==null;){var r=e===t?null:ae(e);e.remove(),e=r}}function wr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Je(e,t,r=!0){var n=[];yr(e,n,!0),qn(n,()=>{r&&D(e),t&&t()})}function qn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function yr(e,t,r){if((e.f&K)===0){if(e.f^=K,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&Le)!==0||(n.f&ie)!==0&&(e.f&ne)!==0;yr(n,t,i?r:!1),n=s}}}function Bn(e){$r(e,!0)}function $r(e,t){if((e.f&K)!==0){e.f^=K,(e.f&N)===0&&(A(e,L),$e(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&Le)!==0||(r.f&ie)!==0;$r(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function xr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var s=r===n?null:ae(r);t.append(r),r=s}}let pe=!1;function vt(e){pe=e}let ke=!1;function kr(e){ke=e}let h=null,ee=!1;function M(e){h=e}let b=null;function te(e){b=e}let ce=null;function zn(e){h!==null&&(ce===null?ce=[e]:ce.push(e))}let R=null,I=0,U=null;function Un(e){U=e}let Er=1,Ke=0,Ee=Ke;function jr(e){Ee=e}function Tr(){return++Er}function Xe(e){var t=e.f;if((t&L)!==0)return!0;if(t&j&&(e.f&=~we),(t&se)!==0){var r=e.deps;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s];if(Xe(i)&&lr(i),i.wv>e.wv)return!0}(t&H)!==0&&B===null&&A(e,N)}return!1}function Cr(e,t,r=!0){var n=e.reactions;if(n!==null&&!ce?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&j)!==0?Cr(i,t,!1):t===i&&(r?A(i,L):(i.f&N)!==0&&A(i,se),$e(i))}}function Sr(e){var t=R,r=I,n=U,s=h,i=ce,o=q,l=ee,a=Ee,f=e.f;R=null,I=0,U=null,h=(f&(ie|be))===0?e:null,ce=null,Pe(e.ctx),ee=!1,Ee=++Ke,e.ac!==null&&(Rt(()=>{e.ac.abort(De)}),e.ac=null);try{e.f|=xt;var c=e.fn,v=c(),u=e.deps;if(R!==null){var d;if(ht(e,I),u!==null&&I>0)for(u.length=I+R.length,d=0;d<R.length;d++)u[I+d]=R[d];else e.deps=u=R;if(pe&&dt()&&(e.f&H)!==0)for(d=I;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&I<u.length&&(ht(e,I),u.length=I);if(Zt()&&U!==null&&!ee&&u!==null&&(e.f&(j|se|L))===0)for(d=0;d<U.length;d++)Cr(U[d],e);return s!==null&&s!==e&&(Ke++,U!==null&&(n===null?n=U:n.push(...U))),(e.f&_e)!==0&&(e.f^=_e),v}catch(w){return er(w)}finally{e.f^=xt,R=t,I=r,U=n,h=s,ce=i,Pe(o),ee=l,Ee=a}}function Yn(e,t){let r=t.reactions;if(r!==null){var n=Ur.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&j)!==0&&(R===null||!R.includes(t))&&(A(t,se),(t.f&H)!==0&&(t.f^=H,t.f&=~we),or(t),ht(t,0))}function ht(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Yn(e,r[n])}function Ze(e){var t=e.f;if((t&oe)===0){A(e,N);var r=b,n=pe;b=e,pe=!0;try{(t&ne)!==0?In(e):mr(e),pr(e);var s=Sr(e);e.teardown=typeof s=="function"?s:null,e.wv=Er;var i;wt&&hn&&(e.f&L)!==0&&e.deps}finally{pe=n,b=r}}}function Y(e){var t=e.f,r=(t&j)!==0;if(h!==null&&!ee){var n=b!==null&&(b.f&oe)!==0;if(!n&&!ce?.includes(e)){var s=h.deps;if((h.f&xt)!==0)e.rv<Ke&&(e.rv=Ke,R===null&&s!==null&&s[I]===e?I++:R===null?R=[e]:R.includes(e)||R.push(e));else{(h.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[h]:i.includes(h)||i.push(h)}}}if(ke){if(ge.has(e))return ge.get(e);if(r){var o=e,l=o.v;return((o.f&N)===0&&o.reactions!==null||Ar(o))&&(l=St(o)),ge.set(o,l),l}}else r&&!B?.has(e)&&(o=e,Xe(o)&&lr(o),pe&&dt()&&(o.f&H)===0&&Nr(o));if(B?.has(e))return B.get(e);if((e.f&_e)!==0)throw e.v;return e.v}function Nr(e){if(e.deps!==null){e.f^=H;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&j)!==0&&(t.f&H)===0&&Nr(t)}}function Ar(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ge.has(t)||(t.f&j)!==0&&Ar(t))return!0;return!1}function Hn(e){var t=ee;try{return ee=!0,e()}finally{ee=t}}const Vn=-7169;function A(e,t){e.f=e.f&Vn|t}const Rr=new Set,Ot=new Set;function Wn(e){for(var t=0;t<e.length;t++)Rr.add(e[t]);for(var r of Ot)r(e)}let Or=null;function bt(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Or=e;var o=0,l=Or===e&&e.__root;if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;a<=f&&(o=a)}if(i=s[o]||e.target,i!==t){nt(e,"currentTarget",{configurable:!0,get(){return i||r}});var c=h,v=b;M(null),te(null);try{for(var u,d=[];i!==null;){var w=i.assignedSlot||i.parentNode||i.host||null;try{var _=i["__"+n];_!=null&&(!i.disabled||e.target===i)&&_.call(i,e)}catch(T){u?d.push(T):u=T}if(e.cancelBubble||w===t||w===null)break;i=w}if(u){for(let T of d)queueMicrotask(()=>{throw T});throw u}}finally{e.__root=t,delete e.currentTarget,M(c),te(v)}}}function Gn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function je(e,t){var r=b;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function G(e,t){var r=(t&qr)!==0,n,s=!e.startsWith("<!>");return()=>{if(y)return je(p,null),p;n===void 0&&(n=Gn(s?e:"<!>"+e),n=Ge(n));var i=r||cr?document.importNode(n,!0):n.cloneNode(!0);return je(i,i),i}}function Qe(e=""){if(!y){var t=W(e+"");return je(t,t),t}var r=p;return r.nodeType!==ot&&(r.before(r=W()),F(r)),je(r,r),r}function Jn(){if(y)return je(p,null),p;var e=document.createDocumentFragment(),t=document.createComment(""),r=W();return e.append(t,r),je(t,r),e}function E(e,t){if(y){var r=b;((r.f&st)===0||r.nodes_end===null)&&(r.nodes_end=p),jt();return}e!==null&&e.before(t)}const Kn=["touchstart","touchmove"];function Xn(e){return Kn.includes(e)}function Be(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Lr(e,t){return Dr(e,t)}function Zn(e,t){At(),t.intro=t.intro??!1;const r=t.target,n=y,s=p;try{for(var i=Ge(r);i&&(i.nodeType!==Ye||i.data!==Bt);)i=ae(i);if(!i)throw Re;Me(!0),F(i);const o=Dr(e,{...t,anchor:i});return Me(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Re&&console.warn("Failed to hydrate: ",o),t.recover===!1&&nn(),At(),Cn(r),Me(!1),Lr(e,t)}finally{Me(n),F(s)}}const ze=new Map;function Dr(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){At();var l=new Set,a=v=>{for(var u=0;u<v.length;u++){var d=v[u];if(!l.has(d)){l.add(d);var w=Xn(d);t.addEventListener(d,bt,{passive:w});var _=ze.get(d);_===void 0?(document.addEventListener(d,bt,{passive:w}),ze.set(d,1)):ze.set(d,_+1)}}};a(Yr(Rr)),Ot.add(a);var f=void 0,c=Dn(()=>{var v=r??t.appendChild(W());return mn(v,{pending:()=>{}},u=>{if(i){Kt({});var d=q;d.c=i}if(s&&(n.$$events=s),y&&je(u,null),f=e(u,n)||{},y&&(b.nodes_end=p,p===null||p.nodeType!==Ye||p.data!==zt))throw lt(),Re;i&&Xt()}),()=>{for(var u of l){t.removeEventListener(u,bt);var d=ze.get(u);--d===0?(document.removeEventListener(u,bt),ze.delete(u)):ze.set(u,d)}Ot.delete(a),v!==r&&v.parentNode?.removeChild(v)}});return Lt.set(f,c),f}let Lt=new WeakMap;function Qn(e,t){const r=Lt.get(e);return r?(Lt.delete(e),r(t)):Promise.resolve()}class ei{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#a=!0;constructor(t,r=!0){this.anchor=t,this.#a=r}#s=()=>{var t=$;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Bn(n),this.#n.delete(r);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const l=this.#r.get(o);l&&(D(l.effect),this.#r.delete(o))}for(const[i,o]of this.#e){if(i===r||this.#n.has(i))continue;const l=()=>{if(Array.from(this.#t.values()).includes(i)){var f=document.createDocumentFragment();xr(o,f),f.append(W()),this.#r.set(i,{effect:o,fragment:f})}else D(o);this.#n.delete(i),this.#e.delete(i)};this.#a||!n?(this.#n.add(i),Je(o,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(D(s.effect),this.#r.delete(n))};ensure(t,r){var n=$,s=Sn();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),o=W();i.append(o),this.#r.set(t,{effect:ue(()=>r(o)),fragment:i})}else this.#e.set(t,ue(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[l,a]of this.#e)l===t?n.skipped_effects.delete(a):n.skipped_effects.add(a);for(const[l,a]of this.#r)l===t?n.skipped_effects.delete(a.effect):n.skipped_effects.add(a.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else y&&(this.anchor=p),this.#s()}}function re(e,t,r=!1){y&&jt();var n=new ei(e),s=r?Le:0;function i(o,l){if(y){const f=cn(e)===mt;if(o===f){var a=Gt();F(a),n.anchor=a,Me(!1),n.ensure(o,l),Me(!0);return}}n.ensure(o,l)}gr(()=>{var o=!1;t((l,a=!0)=>{o=!0,i(a,l)}),o||i(!1,null)},s)}function ti(e,t){Mn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function ri(e,t){return e==null?null:String(e)}function _t(e,t,r,n){var s=e.__style;if(y||s!==t){var i=ri(t);(!y||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const ni=Symbol("is custom element"),ii=Symbol("is html");function Ue(e,t,r,n){var s=si(e);y&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[Xr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&oi(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function si(e){return e.__attributes??={[ni]:e.nodeName.includes("-"),[ii]:e.namespaceURI===Br}}var Mr=new Map;function oi(e){var t=e.getAttribute("is")||e.nodeName,r=Mr.get(t);if(r)return r;Mr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=Hr(s);for(var o in n)n[o].set&&r.push(o);s=Ut(s)}return r}function li(e,t){Nn(window,["resize"],()=>Rt(()=>t(window[e])))}function et(e,t,r,n){var s=n,i=!0,o=()=>(i&&(i=!1,s=n),s),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var a;a=()=>{var u=e[t];return u===void 0?o():(i=!0,u)};var f=!1,c=sr(()=>(f=!1,a())),v=b;return(function(u,d){if(arguments.length>0){const w=d?Y(c):u;return Z(c,w),f=!0,s!==void 0&&(s=w),u}return ke&&f||(v.f&oe)!==0?c.v:Y(c)})}function ai(e){return new fi(e)}class fi{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var l=En(o,!1,!1);return r.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return Y(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Kr?!0:(Y(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,l){return Z(r.get(o)??n(o,l),l),Reflect.set(i,o,l)}});this.#e=(t.hydrate?Zn:Lr)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Fe(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||nt(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Qn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Pr;typeof HTMLElement=="function"&&(Pr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),E(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ui(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=gt(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ai({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ln(()=>{_r(()=>{this.$$r=!0;for(const n of rt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=gt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=gt(e,r,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 rt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function gt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ui(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ci(e,t,r,n,s,i){let o=class extends Pr{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return rt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return rt(t).forEach(l=>{nt(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=gt(l,a,t),this.$$d[l]=a;var f=this.$$c;if(f){var c=Oe(f,l)?.get;c?f[l]=a:f.$set({[l]:a})}}})}),n.forEach(l=>{nt(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var Te={},Ir;function di(){if(Ir)return Te;Ir=1,Object.defineProperty(Te,"__esModule",{value:!0}),Te.LanguageTranslator=void 0,Te.getChildStyleToPass=e,Te.addComponent=t;function e(n,s){var i,o,l="";try{if(n&&s?.length&&(!((i=Object.keys(n))===null||i===void 0)&&i.length)&&(!((o=s?.filter(function(u){return Object.keys(n).includes(u.name)}))===null||o===void 0)&&o.length))for(var a=function(u){var d=s?.filter(function(w){return w.name===u&&w.defaultValue!==n[u]});d&&(l+="".concat(u,":").concat(n[u],";"))},f=0,c=Object.keys(n);f<c.length;f++){var v=c[f];a(v)}}catch(u){console.error("error getting child style to pass",u)}finally{return l}}function t(n){var s,i=((s=n?.repoName.split("/"))===null||s===void 0?void 0:s[1])||n?.repoName;if(!i)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var l=document.createElement("script");if(l.id=i+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var a=i.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(i.replace(a+"-",""),"/").concat(o)}document.head.appendChild(l)}catch(f){console.warn(f)}}var r=(function(){function n(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return n.prototype.setLang=function(s){s||(s=n.getDefaultLang()),this.lang=s},n.prototype.translateWord=function(s,i){return n.getDictionaryWord(s,this.dictionary,i||this.lang)},n.prototype.translateDate=function(s,i,o){return n.formatDate(s,i,o||this.lang)},n.getDefaultLang=function(){var s,i,o,l="en";return navigator?.languages&&(!((o=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||o===void 0)&&o.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},n.getDictionaryWord=function(s,i,o){var l;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(o&&(!((l=i[o])===null||l===void 0)&&l[s]))return i[o][s];var a="",f=n.getDefaultLang();if(!o||f!==o){var c=i?.[f];c?.[s]&&(a=c[s])}return a},n.formatDate=function(s,i,o){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||n.getDefaultLang(),i);return l.format(s)},n})();return Te.LanguageTranslator=r,Te}di();var vi=G('<p class="svelte-1f33vjl"><button part="mobile_link_button" class="btn btn-primary svelte-1f33vjl"> </button></p>'),hi=G('<div part="mobile_text_content" id="mobile_text_content" class="svelte-1f33vjl"><h1 id="mobile_title" part="mobile_title" class="svelte-1f33vjl"> </h1> <p part="mobile_text_body" class="svelte-1f33vjl"> </p> <!></div>'),bi=G('<div part="mobile_image_content" id="mobile_image_content" class="svelte-1f33vjl"><img id="mobile_img" class="svelte-1f33vjl"/></div>'),_i=G('<div id="mobile_container" class="svelte-1f33vjl"><div id="mobile_text_container" class="svelte-1f33vjl"><!></div> <div id="mobile_image_container" class="svelte-1f33vjl"><!></div></div>'),gi=G('<div part="image_content" id="image_content" class="svelte-1f33vjl"><img id="desktop_img" class="svelte-1f33vjl"/></div>'),pi=G('<div id="image_container" class="svelte-1f33vjl"><!></div>'),mi=G('<p class="svelte-1f33vjl"><button part="link_button" class="btn btn-primary svelte-1f33vjl"> </button></p>'),wi=G('<div part="text_content" id="text_content" class="svelte-1f33vjl"><h1 id="title" part="title" class="svelte-1f33vjl"> </h1> <p part="text_body" class="svelte-1f33vjl"> </p> <!></div>'),yi=G('<div part="image_content" id="image_content" class="svelte-1f33vjl"><img id="desktop_img" class="svelte-1f33vjl"/></div>'),$i=G('<div id="image_container" class="svelte-1f33vjl"><!></div>'),xi=G('<div id="row_container" class="svelte-1f33vjl"><!> <div id="text_container" class="svelte-1f33vjl"><!></div> <!></div>');const ki={hash:"svelte-1f33vjl",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;padding:4vw;display:block;height:350px;}#mobile_img.svelte-1f33vjl {max-height:60vw;}#mobile_image_container.svelte-1f33vjl {width:100%;text-align:center;}#mobile_image_content.svelte-1f33vjl {width:80%;height:80%;margin:50px auto 0px auto;max-height:50vw;}#title.svelte-1f33vjl {margin:1em auto 0.5 auto;}#row_container.svelte-1f33vjl {display:flex;align-items:center;height:100%;}#image_container.svelte-1f33vjl {flex-grow:5;height:100%;position:relative;}#text_container.svelte-1f33vjl {flex-grow:5;height:100%;position:relative;display:flex;align-items:center;}#text_content.svelte-1f33vjl {position:absolute;margin:4vw;}#image_content.svelte-1f33vjl {padding:2vw;max-height:100%;max-width:100%;height:100%;width:100%;display:flex;position:absolute;}#desktop_img.svelte-1f33vjl {max-height:100%;max-width:100%;margin:auto;}
|
|
3
3
|
/*!
|
|
4
4
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
5
5
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
@@ -36,5 +36,5 @@ button.svelte-1f33vjl {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
36
36
|
}
|
|
37
37
|
*/.svelte-1f33vjl::-webkit-search-decoration {-webkit-appearance:none;}.svelte-1f33vjl::-webkit-color-swatch-wrapper {padding:0;}.svelte-1f33vjl::file-selector-button {font:inherit;-webkit-appearance:button;}.btn.svelte-1f33vjl {--bs-btn-padding-x: 0.75rem;--bs-btn-padding-y: 0.375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity: 0.65;--bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}
|
|
38
38
|
@media (prefers-reduced-motion: reduce) {.btn.svelte-1f33vjl {transition:none;}
|
|
39
|
-
}.btn.svelte-1f33vjl:hover {color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);}.btn.svelte-1f33vjl:focus-visible {color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow);} .btn.svelte-1f33vjl:first-child:active {color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color);} .btn.svelte-1f33vjl:first-child:active:focus-visible {box-shadow:var(--bs-btn-focus-box-shadow);}.btn.svelte-1f33vjl:disabled {color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity);}.btn-primary.svelte-1f33vjl {--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(11.05, 93.5, 215.05);--bs-btn-hover-border-color: rgb(10.4, 88, 202.4);--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(10.4, 88, 202.4);--bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd;}`};function Fr(e,t){
|
|
39
|
+
}.btn.svelte-1f33vjl:hover {color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);}.btn.svelte-1f33vjl:focus-visible {color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow);} .btn.svelte-1f33vjl:first-child:active {color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color);} .btn.svelte-1f33vjl:first-child:active:focus-visible {box-shadow:var(--bs-btn-focus-box-shadow);}.btn.svelte-1f33vjl:disabled {color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity);}.btn-primary.svelte-1f33vjl {--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(11.05, 93.5, 215.05);--bs-btn-hover-border-color: rgb(10.4, 88, 202.4);--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(10.4, 88, 202.4);--bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd;}`};function Fr(e,t){Kt(t,!0),ti(e,ki);function r(_,T){t.$$host.dispatchEvent(new CustomEvent(_,{detail:T}))}let n=et(t,"id",7,""),s=et(t,"text_side",7,"right"),i=et(t,"text"),o=et(t,"half_space",7,!1),l=et(t,"img"),a=X(0);qe({}),On(()=>{s()!=="left"&&s("right"),(o()==="yes"||o()==="true"||o()===!0)&&o(!0),typeof l()=="string"&&l(JSON.parse(l())),typeof i()=="string"&&i(JSON.parse(i()))});function f(){if(!i().link?.key)return console.warn("no key");r("elClick",{key:i().link.key})}var c={get id(){return n()},set id(_=""){n(_),Fe()},get text_side(){return s()},set text_side(_="right"){s(_),Fe()},get text(){return i()},set text(_){i(_),Fe()},get half_space(){return o()},set half_space(_=!1){o(_),Fe()},get img(){return l()},set img(_){l(_),Fe()}},v=Jn(),u=Tn(v);{var d=_=>{var T=_i(),de=k(T),Ce=k(de);{var tt=g=>{var m=hi(),P=k(m),Se=k(P,!0);x(P);var J=xe(P,2),C=k(J,!0);x(J);var O=xe(J,2);{var ve=Ne=>{var Ae=vi(),he=k(Ae);he.__click=f;var Ft=k(he,!0);x(he),x(Ae),fe(()=>{_t(he,(i().link.bgColor?"background-color:"+i().link.bgColor+";border-color:"+i().link.bgColor+";":"")+(i().link.textColor?"color:"+i().link.textColor+";":"")),Be(Ft,i().link.label)}),E(Ne,Ae)};re(O,Ne=>{i().link?.label&&Ne(ve)})}x(m),fe(()=>{Be(Se,i().title),Be(C,i().body)}),E(g,m)},Dt=g=>{var m=Qe("no title or body");E(g,m)};re(Ce,g=>{i()?.body||i()?.title?g(tt):g(Dt,!1)})}x(de);var pt=xe(de,2),Mt=k(pt);{var Pt=g=>{var m=bi(),P=k(m);x(m),fe(()=>{Ue(P,"alt",l().alt),Ue(P,"src",l().src)}),E(g,m)},It=g=>{var m=Qe("no img");E(g,m)};re(Mt,g=>{l()?.src?g(Pt):g(It,!1)})}x(pt),x(T),E(_,T)},w=_=>{var T=xi(),de=k(T);{var Ce=g=>{var m=pi(),P=k(m);{var Se=C=>{var O=gi(),ve=k(O);x(O),fe(()=>{Ue(ve,"alt",l().alt),Ue(ve,"src",l().src)}),E(C,O)},J=C=>{var O=Qe("no img");E(C,O)};re(P,C=>{l()?.src?C(Se):C(J,!1)})}x(m),fe(()=>_t(m,o()?"flex-grow: 5;":"flex-grow: 2;")),E(g,m)};re(de,g=>{s()!=="left"&&g(Ce)})}var tt=xe(de,2),Dt=k(tt);{var pt=g=>{var m=wi(),P=k(m),Se=k(P,!0);x(P);var J=xe(P,2),C=k(J,!0);x(J);var O=xe(J,2);{var ve=Ne=>{var Ae=mi(),he=k(Ae);he.__click=f;var Ft=k(he,!0);x(he),x(Ae),fe(()=>{_t(he,(i().link.bgColor?"background-color:"+i().link.bgColor+";border-color:"+i().link.bgColor+";":"")+(i().link.textColor?"color:"+i().link.textColor+";":"")),Be(Ft,i().link.label)}),E(Ne,Ae)};re(O,Ne=>{i().link?.label&&Ne(ve)})}x(m),fe(()=>{Be(Se,i().title),Be(C,i().body)}),E(g,m)},Mt=g=>{var m=Qe("no title or body");E(g,m)};re(Dt,g=>{i()?.body||i()?.title?g(pt):g(Mt,!1)})}x(tt);var Pt=xe(tt,2);{var It=g=>{var m=$i(),P=k(m);{var Se=C=>{var O=yi(),ve=k(O);x(O),fe(()=>{Ue(ve,"alt",l().alt),Ue(ve,"src",l().src)}),E(C,O)},J=C=>{var O=Qe("no img");E(C,O)};re(P,C=>{l()?.src?C(Se):C(J,!1)})}x(m),fe(()=>_t(m,o()?"flex-grow: 5;":"flex-grow: 2;")),E(g,m)};re(Pt,g=>{s()==="left"&&g(It)})}x(T),E(_,T)};re(u,_=>{Y(a)<800?_(d):_(w,!1)})}return li("innerWidth",_=>Z(a,_,!0)),E(e,v),Xt(c)}Wn(["click"]),customElements.define("hb-site-paragraph-with-image",ci(Fr,{id:{},text_side:{},text:{},half_space:{},img:{}},[],[],!0)),qt.Component=Fr,Object.defineProperty(qt,Symbol.toStringTag,{value:"Module"})})(this["site-paragraph-with-image"]=this["site-paragraph-with-image"]||{});
|
|
40
40
|
//# sourceMappingURL=main.iife.js.map
|