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