@htmlbricks/hb-paragraps-around-image 0.66.6 → 0.66.7

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(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.6"};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");
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,ee=()=>{};function g(e){for(var t=0;t<e.length;t++)e[t]()}function _(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var v=1024,y=2048,te=4096,ne=8192,re=16384,ie=32768,ae=1<<25,oe=65536,se=1<<18,ce=1<<19,le=1<<20,ue=65536,de=1<<21,fe=1<<22,pe=1<<23,me=Symbol(`$state`),he=Symbol(`legacy props`),ge=Symbol(``),b=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},_e=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function ve(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ye(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function be(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function xe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Se(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ce(){throw Error(`https://svelte.dev/e/hydration_failed`)}function we(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Te(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ee(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function De(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Oe(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function ke(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ae(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var x=!1;function S(e){x=e}var C;function w(e){if(e===null)throw ke(),t;return C=e}function je(){return w(I(C))}function Me(e){if(x){if(I(C)!==null)throw ke(),t;C=e}}function Ne(e=1){if(x){for(var t=e,n=C;t--;)n=I(n);C=n}}function Pe(e=!0){for(var t=0,n=C;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=I(n);e&&n.remove(),n=i}}function Fe(e){if(!e||e.nodeType!==8)throw ke(),t;return e.data}function Ie(e){return e===this.v}function Le(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Re(e){return!Le(e,this.v)}var ze=!1,Be=!1,T=null;function Ve(e){T=e}function He(e,t=!1,n){T={p:T,i:!1,c:null,e:null,s:e,x:null,r:W,l:Be&&!t?{s:null,u:null,$:[]}:null}}function Ue(e){var t=T,n=t.e;if(n!==null){t.e=null;for(var r of n)dn(r)}return e!==void 0&&(t.x=e),t.i=!0,T=t.p,e??{}}function We(){return!Be||T!==null&&T.l===null}var Ge=[];function Ke(){var e=Ge;Ge=[],g(e)}function qe(e){if(Ge.length===0&&!it){var t=Ge;queueMicrotask(()=>{t===Ge&&Ke()})}Ge.push(e)}function Je(){for(;Ge.length>0;)Ke()}function Ye(e){var t=W;if(t===null)return V.f|=pe,e;if(!(t.f&32768)&&!(t.f&4))throw e;E(e,t)}function E(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Xe=~(y|te|v);function D(e,t){e.f=e.f&Xe|t}function Ze(e){e.f&512||e.deps===null?D(e,v):D(e,te)}function Qe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ue,Qe(t.deps))}function $e(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Qe(e.deps),D(e,v)}var et=!1,tt=!1;function nt(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}var O=new Set,k=null,A=null,rt=null,it=!1,at=!1,ot=null,st=null,ct=0,lt=1,ut=class e{id=lt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)D(n,y),this.schedule(n);for(n of t.m)D(n,te),this.schedule(n)}}#p(){if(ct++>1e3&&(O.delete(this),ft()),!this.#d()){for(let e of this.#o)this.#s.delete(e),D(e,y),this.schedule(e);for(let e of this.#s)D(e,te),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=ot=[],r=[],i=st=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw vt(e),t}if(k=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(ot=null,st=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)_t(e,t)}else{this.#n.size===0&&O.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),pt(r),pt(n),this.#i?.resolve()}var o=k;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(O.add(o),o.#p()),O.has(this)||this.#g()}#m(e,t,n){e.f^=v;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=v:i&4?t.push(r):ze&&i&16777224?n.push(r):zn(r)&&(i&16&&this.#s.add(r),Wn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)$e(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),A?.set(e,e.v))}activate(){k=this}deactivate(){k=null,A=null}flush(){try{at=!0,k=this,this.#p()}finally{ct=0,rt=null,ot=null,st=null,at=!1,k=null,A=null,M.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),O.delete(this)}#g(){for(let c of O){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)mt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of O)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,qe(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=_()).promise}static ensure(){if(k===null){let t=k=new e;at||(O.add(k),it||qe(()=>{k===t&&t.flush()}))}return k}apply(){if(!ze||!this.is_fork&&O.size===1){A=null;return}A=new Map;for(let[e,[t]]of this.current)A.set(e,t);for(let n of O)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)A.has(e)||A.set(e,t)}}schedule(e){if(rt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(ot!==null&&t===W&&(ze||(V===null||!(V.f&2))&&!et))return;if(n&96){if(!(n&1024))return;t.f^=v}}this.#a.push(t)}};function dt(e){var t=it;it=!0;try{var n;for(e&&(k!==null&&!k.is_fork&&k.flush(),n=e());;){if(Je(),k===null)return n;k.flush()}}finally{it=t}}function ft(){try{Se()}catch(e){E(e,rt)}}var j=null;function pt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&zn(r)&&(j=new Set,Wn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Cn(r),j?.size>0)){M.clear();for(let e of j){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)j.has(n)&&(j.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Wn(n)}}j.clear()}}j=null}}function mt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?mt(i,t,n,r):e&4194320&&!(e&2048)&&ht(i,t,r)&&(D(i,y),gt(i))}}function ht(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&ht(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function gt(e){k.schedule(e)}function _t(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),D(e,v);for(var n=e.first;n!==null;)_t(n,t),n=n.next}}function vt(e){D(e,v);for(var t=e.first;t!==null;)vt(t),t=t.next}function yt(e){let t=0,n=Rt(0),r;return()=>{cn()&&(X(n),gn(()=>(t===0&&(r=qn(()=>e(()=>Ht(n)))),t+=1,()=>{qe(()=>{--t,t===0&&(r?.(),r=void 0,Ht(n))})})))}}var bt=oe|ce;function xt(e,t,n,r){new St(e,t,n,r)}var St=class{parent;is_pending=!1;transform_error;#e;#t=x?C:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=yt(()=>(this.#m=Rt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=W;t.b=this,t.f|=128,n(e)},this.parent=W.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=vn(()=>{if(x){let e=this.#t;je();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},bt),x&&(this.#e=C)}#g(){try{this.#a=R(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=R(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=R(()=>e(this.#e)),qe(()=>{var e=this.#c=document.createDocumentFragment(),t=F();e.append(t),this.#a=this.#x(()=>R(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,wn(this.#o,()=>{this.#o=null}),this.#b(k))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=R(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();On(this.#a,e);let t=this.#n.pending;this.#o=R(()=>t(this.#e))}else this.#b(k)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){$e(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=W,n=V,r=T;G(this.#i),U(this.#i),Ve(this.#i.ctx);try{return ut.ensure(),e()}catch(e){return Ye(e),null}finally{G(t),U(n),Ve(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&wn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,qe(()=>{this.#d=!1,this.#m&&Bt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),X(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(z(this.#a),null),this.#o&&=(z(this.#o),null),this.#s&&=(z(this.#s),null),x&&(w(this.#t),Ne(),w(Pe()));var r=!1,i=!1;let a=()=>{if(r){Ae();return}r=!0,i&&Oe(),this.#s!==null&&wn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){E(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return R(()=>{var t=W;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return E(e,this.#i.parent),null}}))};qe(()=>{var t;try{t=this.transform_error(e)}catch(e){E(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>E(e,this.#i&&this.#i.parent)):o(t)})}};function Ct(e,t,n,r){let i=We()?Dt:kt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=W,s=wt(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||E(e,o)}Tt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Et();function d(){Promise.all(n.map(e=>Ot(e))).then(e=>l([...t.map(i),...e])).catch(e=>E(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Tt()}):d()}function wt(){var e=W,t=V,n=T,r=k;return function(i=!0){G(e),U(t),Ve(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Tt(e=!0){G(null),U(null),Ve(null),e&&k?.deactivate()}function Et(){var e=W,t=e.b,n=k,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 Dt(e){var t=2|y,r=V!==null&&V.f&2?V:null;return W!==null&&(W.f|=ce),{ctx:T,deps:null,effects:null,equals:Ie,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??W,ac:null}}function Ot(e,t,r){let i=W;i===null&&ve();var a=void 0,o=Rt(n),s=!V,c=new Map;return hn(()=>{var t=W,n=_();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Tt)}catch(e){n.reject(e),Tt()}var r=k;if(s){if(t.f&32768)var l=Et();if(i.b.is_rendered())c.get(r)?.reject(b),c.delete(r);else{for(let e of c.values())e.reject(b);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===b),!(n===b||t.f&16384)){if(r.activate(),n)o.f|=pe,Bt(o,n);else{o.f&8388608&&(o.f^=pe),Bt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(b)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),ln(()=>{for(let e of c.values())e.reject(b)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function kt(e){let t=Dt(e);return t.equals=Re,t}function At(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)z(t[n])}}function jt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Mt(e){var t,n=W;G(jt(e));try{e.f&=~ue,At(e),t=Vn(e)}finally{G(n)}return t}function Nt(e){var t=e.v,n=Mt(e);if(!e.equals(n)&&(e.wv=Rn(),(!k?.is_fork||e.deps===null)&&(e.v=n,k?.capture(e,t,!0),e.deps===null))){D(e,v);return}B||(A===null?Ze(e):(cn()||k?.is_fork)&&A.set(e,n))}function Pt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(b),t.teardown=ee,t.ac=null,Un(t,0),bn(t))}function Ft(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Wn(t)}var It=new Set,M=new Map,Lt=!1;function Rt(e,t){return{f:0,v:e,reactions:null,equals:Ie,rv:0,wv:0}}function N(e,t){let n=Rt(e,t);return Mn(n),n}function zt(e,t=!1,n=!0){let r=Rt(e);return t||(r.equals=Re),Be&&n&&T!==null&&T.l!==null&&(T.l.s??=[]).push(r),r}function P(e,t,n=!1){return V!==null&&(!H||V.f&131072)&&We()&&V.f&4325394&&(K===null||!o.call(K,e))&&De(),Bt(e,n?Wt(t):t,st)}function Bt(e,t,n=null){if(!e.equals(t)){var r=e.v;B?M.set(e,t):M.set(e,r),e.v=t;var i=ut.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Mt(t),A===null&&Ze(t)}e.wv=Rn(),Ut(e,y,n),We()&&W!==null&&W.f&1024&&!(W.f&96)&&(Y===null?Nn([e]):Y.push(e)),!i.is_fork&&It.size>0&&!Lt&&Vt()}return t}function Vt(){Lt=!1;for(let e of It)e.f&1024&&D(e,te),zn(e)&&Wn(e);It.clear()}function Ht(e){P(e,e.v+1)}function Ut(e,t,n){var r=e.reactions;if(r!==null)for(var i=We(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===W)){var l=(c&y)===0;if(l&&D(s,t),c&2){var u=s;A?.delete(u),c&65536||(c&512&&(s.f|=ue),Ut(u,te,n))}else if(l){var d=s;c&16&&j!==null&&j.add(d),n===null?gt(d):n.push(d)}}}}function Wt(e){if(typeof e!=`object`||!e||me in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=N(0),s=null,c=In,l=e=>{if(In===c)return e();var t=V,n=In;U(null),Ln(c);var r=e();return U(t),Ln(n),r};return a&&r.set(`length`,N(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Te();var i=r.get(t);return i===void 0?l(()=>{var e=N(n.value,s);return r.set(t,e),e}):P(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>N(n,s));r.set(t,e),Ht(o)}}else P(i,n),Ht(o);return!0},get(t,i,a){if(i===me)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>N(Wt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=X(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=X(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===me)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||W!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>N(a?Wt(e[t]):n,s)),r.set(t,i)),X(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>N(n,s)),r.set(p+``,m)):P(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>N(void 0,s)),P(d,Wt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Wt(i));P(d,h)}var ee=Reflect.getOwnPropertyDescriptor(e,t);if(ee?.set&&ee.set.call(c,i),!f){if(a&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&P(g,_+1)}Ht(o)}return!0},ownKeys(e){X(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){Ee()}})}var Gt,Kt,qt,Jt;function Yt(){if(Gt===void 0){Gt=window,Kt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;qt=u(t,`firstChild`).get,Jt=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function F(e=``){return document.createTextNode(e)}function Xt(e){return qt.call(e)}function I(e){return Jt.call(e)}function Zt(e,t){if(!x)return Xt(e);var n=Xt(C);if(n===null)n=C.appendChild(F());else if(t&&n.nodeType!==3){var r=F();return n?.before(r),w(r),r}return t&&rn(n),w(n),n}function Qt(e,t=!1){if(!x){var n=Xt(e);return n instanceof Comment&&n.data===``?I(n):n}if(t){if(C?.nodeType!==3){var r=F();return C?.before(r),w(r),r}rn(C)}return C}function $t(e,t=1,n=!1){let r=x?C:e;for(var i;t--;)i=r,r=I(r);if(!x)return r;if(n){if(r?.nodeType!==3){var a=F();return r===null?i?.after(a):r.before(a),w(a),a}rn(r)}return w(r),r}function en(e){e.textContent=``}function tn(){return!ze||j!==null?!1:(W.f&ie)!==0}function nn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function rn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function an(e){var t=V,n=W;U(null),G(null);try{return e()}finally{U(t),G(n)}}function on(e){W===null&&(V===null&&xe(e),be()),B&&ye(e)}function sn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function L(e,t){var n=W;n!==null&&n.f&8192&&(e|=ne);var r={ctx:T,deps:null,nodes:null,f:e|y|512,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&4)ot===null?ut.ensure().schedule(r):ot.push(r);else if(t!==null){try{Wn(r)}catch(e){throw z(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=oe))}if(i!==null&&(i.parent=n,n!==null&&sn(i,n),V!==null&&V.f&2&&!(e&64))){var a=V;(a.effects??=[]).push(i)}return r}function cn(){return V!==null&&!H}function ln(e){let t=L(8,null);return D(t,v),t.teardown=e,t}function un(e){on(`$effect`);var t=W.f;if(!V&&t&32&&!(t&32768)){var n=T;(n.e??=[]).push(e)}else return dn(e)}function dn(e){return L(4|le,e)}function fn(e){ut.ensure();let t=L(64|ce,e);return()=>{z(t)}}function pn(e){ut.ensure();let t=L(64|ce,e);return(e={})=>new Promise(n=>{e.outro?wn(t,()=>{z(t),n(void 0)}):(z(t),n(void 0))})}function mn(e){return L(4,e)}function hn(e){return L(fe|ce,e)}function gn(e,t=0){return L(8|t,e)}function _n(e,t=[],n=[],r=[]){Ct(r,t,n,t=>{L(8,()=>e(...t.map(X)))})}function vn(e,t=0){return L(16|t,e)}function R(e){return L(32|ce,e)}function yn(e){var t=e.teardown;if(t!==null){let e=B,n=V;jn(!0),U(null);try{t.call(null)}finally{jn(e),U(n)}}}function bn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&an(()=>{e.abort(b)});var r=n.next;n.f&64?n.parent=null:z(n,t),n=r}}function xn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||z(t),t=n}}function z(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Sn(e.nodes.start,e.nodes.end),n=!0),D(e,ae),bn(e,t&&!n),Un(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();yn(e),e.f^=ae,e.f|=re;var i=e.parent;i!==null&&i.first!==null&&Cn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Sn(e,t){for(;e!==null;){var n=e===t?null:I(e);e.remove(),e=n}}function Cn(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 wn(e,t,n=!0){var r=[];Tn(e,r,!0);var i=()=>{n&&z(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Tn(e,t,n){if(!(e.f&8192)){e.f^=ne;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;Tn(i,t,o?n:!1),i=a}}}function En(e){Dn(e,!0)}function Dn(e,t){if(e.f&8192){e.f^=ne,e.f&1024||(D(e,y),ut.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Dn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function On(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:I(n);t.append(n),n=i}}var kn=null,An=!1,B=!1;function jn(e){B=e}var V=null,H=!1;function U(e){V=e}var W=null;function G(e){W=e}var K=null;function Mn(e){V!==null&&(!ze||V.f&2)&&(K===null?K=[e]:K.push(e))}var q=null,J=0,Y=null;function Nn(e){Y=e}var Pn=1,Fn=0,In=Fn;function Ln(e){In=e}function Rn(){return++Pn}function zn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ue),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(zn(a)&&Nt(a),a.wv>e.wv)return!0}t&512&&A===null&&D(e,v)}return!1}function Bn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!ze&&K!==null&&o.call(K,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Bn(a,t,!1):t===a&&(n?D(a,y):a.f&1024&&D(a,te),gt(a))}}function Vn(e){var t=q,n=J,r=Y,i=V,a=K,o=T,s=H,c=In,l=e.f;q=null,J=0,Y=null,V=l&96?null:e,K=null,Ve(e.ctx),H=!1,In=++Fn,e.ac!==null&&(an(()=>{e.ac.abort(b)}),e.ac=null);try{e.f|=de;var u=e.fn,d=u();e.f|=ie;var f=e.deps,p=k?.is_fork;if(q!==null){var m;if(p||Un(e,J),f!==null&&J>0)for(f.length=J+q.length,m=0;m<q.length;m++)f[J+m]=q[m];else e.deps=f=q;if(cn()&&e.f&512)for(m=J;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&J<f.length&&(Un(e,J),f.length=J);if(We()&&Y!==null&&!H&&f!==null&&!(e.f&6146))for(m=0;m<Y.length;m++)Bn(Y[m],e);if(i!==null&&i!==e){if(Fn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Fn;if(t!==null)for(let e of t)e.rv=Fn;Y!==null&&(r===null?r=Y:r.push(...Y))}return e.f&8388608&&(e.f^=pe),d}catch(e){return Ye(e)}finally{e.f^=de,q=t,J=n,Y=r,V=i,K=a,Ve(o),H=s,In=c}}function Hn(e,t){let n=t.reactions;if(n!==null){var r=a.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&2&&(q===null||!o.call(q,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~ue),Ze(s),Pt(s),Un(s,0)}}function Un(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Hn(e,n[r])}function Wn(e){var t=e.f;if(!(t&16384)){D(e,v);var n=W,r=An;W=e,An=!0;try{t&16777232?xn(e):bn(e),yn(e);var i=Vn(e);e.teardown=typeof i==`function`?i:null,e.wv=Pn}finally{An=r,W=n}}}function X(e){var t=(e.f&2)!=0;if(kn?.add(e),V!==null&&!H&&!(W!==null&&W.f&16384)&&(K===null||!o.call(K,e))){var n=V.deps;if(V.f&2097152)e.rv<Fn&&(e.rv=Fn,q===null&&n!==null&&n[J]===e?J++:q===null?q=[e]:q.push(e));else{(V.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[V]:o.call(r,V)||r.push(V)}}if(B&&M.has(e))return M.get(e);if(t){var i=e;if(B){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Kn(i))&&(a=Mt(i)),M.set(i,a),a}var s=(i.f&512)==0&&!H&&V!==null&&(An||(V.f&512)!=0),c=(i.f&ie)===0;zn(i)&&(s&&(i.f|=512),Nt(i)),s&&!c&&(Ft(i),Gn(i))}if(A?.has(e))return A.get(e);if(e.f&8388608)throw e.v;return e.v}function Gn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Ft(t),Gn(t))}function Kn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(M.has(t)||t.f&2&&Kn(t))return!0;return!1}function qn(e){var t=H;try{return H=!0,e()}finally{H=t}}var Jn=Symbol(`events`),Yn=new Set,Xn=new Set;function Zn(e,t,n,r={}){function i(e){if(r.capture||er.call(t,e),!e.cancelBubble)return an(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?qe(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Qn(e,t,n,r,i){var a={capture:r,passive:i},o=Zn(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ln(()=>{t.removeEventListener(e,o,a)})}var $n=null;function er(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;$n=e;var o=0,s=$n===e&&e[Jn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Jn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=V,f=W;U(null),G(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var ee=a[Jn]?.[r];ee!=null&&(!a.disabled||e.target===a)&&ee.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Jn]=t,delete e.currentTarget,U(d),G(f)}}}var tr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function nr(e){return tr?.createHTML(e)??e}function rr(e){var t=nn(`template`);return t.innerHTML=nr(e.replaceAll(`<!>`,`<!---->`)),t.content}function ir(e,t){var n=W;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Z(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(x)return ir(C,null),C;i===void 0&&(i=rr(a?e:`<!>`+e),n||(i=Xt(i)));var t=r||Kt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Xt(t),s=t.lastChild;ir(o,s)}else ir(t,t);return t}}function ar(){if(x)return ir(C,null),C;var e=document.createDocumentFragment(),t=document.createComment(``),n=F();return e.append(t,n),ir(t,n),e}function Q(e,t){if(x){var n=W;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=C),je();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var or=[`touchstart`,`touchmove`];function sr(e){return or.includes(e)}function cr(e,t){return dr(e,t)}function lr(e,n){Yt(),n.intro=n.intro??!1;let r=n.target,i=x,a=C;try{for(var o=Xt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=I(o);if(!o)throw t;S(!0),w(o);let i=dr(e,{...n,anchor:o});return S(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&Ce(),Yt(),en(r),S(!1),cr(e,n)}finally{S(i),w(a)}}var ur=new Map;function dr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Yt();var u=void 0,d=pn(()=>{var c=r??n.appendChild(F());xt(c,{pending:()=>{}},n=>{He({});var r=T;if(o&&(r.c=o),a&&(i.$$events=a),x&&ir(n,null),u=e(n,i)||{},x&&(W.nodes.end=C,C===null||C.nodeType!==8||C.data!==`]`))throw ke(),t;Ue()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=sr(r);for(let e of[n,document]){var a=ur.get(e);a===void 0&&(a=new Map,ur.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,er,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(Yn)),Xn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=ur.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,er),t.delete(e),t.size===0&&ur.delete(r)):t.set(e,i)}Xn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return fr.set(u,d),u}var fr=new WeakMap;function pr(e,t){let n=fr.get(e);return n?(fr.delete(e),n(t)):Promise.resolve()}var mr=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)En(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(z(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();On(r,t),t.append(F()),this.#n.set(e,{effect:r,fragment:t})}else z(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),wn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(z(n.effect),this.#n.delete(e))};ensure(e,t){var n=k,r=tn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=F();i.append(a),this.#n.set(e,{effect:R(()=>t(a)),fragment:i})}else this.#t.set(e,R(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else x&&(this.anchor=C),this.#a(n)}};function hr(e,t,n=!1){var r;x&&(r=C,je());var i=new mr(e),a=n?oe:0;function o(e,t){if(x){var n=Fe(r);if(e!==parseInt(n.substring(1))){var a=Pe();w(a),i.anchor=a,S(!1),i.ensure(e,t),S(!0);return}}i.ensure(e,t)}vn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function gr(e,t){let n=null,r=x;var i;if(x){n=C;for(var a=Xt(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=I(a);if(a===null)S(!1);else{var o=I(a);a.remove(),w(o)}}x||(i=document.head.appendChild(F()));try{vn(()=>t(i),se|ce)}finally{r&&(S(!0),w(n))}}function _r(e,t){mn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=nn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var vr=Symbol(`is custom element`),yr=Symbol(`is html`),br=_e?`link`:`LINK`;function xr(e,t,n,r){var i=Sr(e);x&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===br)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ge]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&wr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function $(e,t,n){var r=V,i=W;let a=x;x&&S(!1),U(null),G(null);try{t!==`style`&&(Cr.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?wr(e).includes(t):n&&typeof n==`object`)?e[t]=n:xr(e,t,n==null?n:String(n))}finally{U(r),G(i),a&&S(!0)}}function Sr(e){return e.__attributes??={[vr]:e.nodeName.includes(`-`),[yr]:e.namespaceURI===r}}var Cr=new Map;function wr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Cr.get(t);if(n)return n;Cr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Tr(e,t,n,r){var i=!Be||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?qn(r):r),s);let d;if(a){var f=me in e||he in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=nt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&we(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var ee=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||ee||m)&&d(t?h():e),e):h()})}var g=!1,_=(n&1?Dt:kt)(()=>(g=!1,h()));a&&X(_);var v=W;return(function(e,t){if(arguments.length>0){let n=t?X(_):i&&a?Wt(e):e;return P(_,n),g=!0,s!==void 0&&(s=n),e}return B&&g||v.f&16384?_.v:X(_)})}function Er(e){return new Dr(e)}var Dr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=zt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return X(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===he?!0:(X(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return P(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?lr:cr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!ze&&(!e?.props?.$$host||e.sync===!1)&&dt(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{pr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Or;typeof HTMLElement==`function`&&(Or=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){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=nn(`slot`);e!==`default`&&(n.name=e),Q(t,n)}}let t={},n=Ar(this);for(let 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(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=kr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Er({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=fn(()=>{gn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=kr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=kr(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 c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function kr(e,t,n,r){let 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 Ar(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function jr(e,t,n,r,i,a){let o=class extends Or{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=kr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}function Mr(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`))try{let r=document.createElement(`script`);if(r.id=t+`-script`,r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes(`localhost:6006`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var Nr={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.66.7`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,bootstrap:`^5.3.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.4.7`}},Pr=Z(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>`),Fr=Z(`<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>`,2),Ir=Z(`<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>`,2),Lr=Z(`<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>`,2),Rr=Z(`<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>`,2),zr=Z(`<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>`,2),Br=Z(`<hb-paragraps-around-image-cell></hb-paragraps-around-image-cell>`,2),Vr=Z(`<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>`),Hr={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 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
- //# sourceMappingURL=main.iife.js.map
5
+ }.col.svelte-1ttf3z {flex:1;padding:20px;}#center.svelte-1ttf3z {display:flex;justify-content:center;}#center_image.svelte-1ttf3z {margin:auto;}`};function Ur(e,t){He(t,!0),_r(e,Hr),Mr({repoName:`@htmlbricks/hb-paragraps-around-image-cell`,version:Nr.version});function n(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}let r=Tr(t,`id`,7,``),i=Tr(t,`img`,7,``),a=Tr(t,`paragraphs`,23,()=>[]);un(()=>{if(typeof a()==`string`)try{a(JSON.parse(a()))}catch(e){console.error(`error parsing paragraphs`,e)}});function o(e){n(`paragraphPressed`,e.detail)}var s={get id(){return r()},set id(e=``){r(e),dt()},get img(){return i()},set img(e=``){i(e),dt()},get paragraphs(){return a()},set paragraphs(e=[]){a(e),dt()}},c=ar();gr(`1ttf3z`,e=>{Q(e,Pr())});var l=Qt(c),u=e=>{var t=Vr(),n=Zt(t),r=Zt(n),s=e=>{var t=Fr();_n(()=>$(t,`paragraph`,a()[0])),$(t,`max_lines`,`8`),Qn(`paragraphPressed`,t,e=>o(e)),Q(e,t)};hr(r,e=>{a()[0]&&e(s)});var c=$t(r,2),l=e=>{var t=Ir();_n(()=>$(t,`paragraph`,a()[2])),$(t,`max_lines`,`8`),Qn(`paragraphPressed`,t,e=>o(e)),Q(e,t)};hr(c,e=>{a()[2]&&e(l)});var u=$t(c,2),d=e=>{var t=Lr();_n(()=>$(t,`paragraph`,a()[4])),$(t,`max_lines`,`8`),Qn(`paragraphPressed`,t,e=>o(e)),Q(e,t)};hr(u,e=>{a()[4]&&e(d)}),Me(n);var f=$t(n,2),p=Zt(f);Me(f);var m=$t(f,2),h=Zt(m),ee=e=>{var t=Rr();_n(()=>$(t,`paragraph`,a()[1])),$(t,`max_lines`,`8`),Qn(`paragraphPressed`,t,e=>o(e)),Q(e,t)};hr(h,e=>{a()[1]&&e(ee)});var g=$t(h,2),_=e=>{var t=zr();_n(()=>$(t,`paragraph`,a()[3])),$(t,`max_lines`,`8`),Qn(`paragraphPressed`,t,e=>o(e)),Q(e,t)};hr(g,e=>{a()[3]&&e(_)});var v=$t(g,2),y=e=>{var t=Br();_n(()=>$(t,`paragraph`,a()[5])),$(t,`max_lines`,`8`),Qn(`paragraphPressed`,t,e=>o(e)),Q(e,t)};hr(v,e=>{a()[5]&&e(y)}),Me(m),Me(t),_n(()=>xr(p,`src`,i())),Q(e,t)};return hr(l,e=>{a()?.length&&i()&&e(u)}),Q(e,c),Ue(s)}customElements.define(`hb-paragraps-around-image`,jr(Ur,{id:{},img:{},paragraphs:{}},[],[],{mode:`open`})),e.Component=Ur})(this[`paragraps-around-image`]=this[`paragraps-around-image`]||{});
6
+ //# sourceMappingURL=main.iife.js.map