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