@htmlbricks/hb-paragraps-around-image 0.66.2 → 0.66.4

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