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