@htmlbricks/hb-markdown-viewer 0.61.51 → 0.61.53
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 +67 -65
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,70 +1,72 @@
|
|
|
1
|
-
(function(Bt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const lr=2,ar="[",or="]",ge={},y=Symbol(),qt=!1;var jt=Array.isArray,ur=Array.prototype.indexOf,cr=Array.from,Me=Object.keys,be=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,fr=Object.prototype,hr=Array.prototype,dr=Object.getPrototypeOf,Ft=Object.isExtensible;function Gt(t){for(var e=0;e<t.length;e++)t[e]()}function pr(){var t,e,n=new Promise((r,i)=>{t=r,e=i});return{promise:n,resolve:t,reject:e}}const P=2,at=4,Zt=8,Te=16,Q=32,X=64,Ht=128,I=256,Be=512,S=1024,O=2048,V=4096,me=8192,ie=16384,ot=32768,gr=65536,Ut=1<<17,br=1<<18,ke=1<<19,vr=1<<20,ut=1<<21,ct=1<<22,se=1<<23,ft=Symbol("$state"),mr=Symbol("legacy props"),ht=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},dt=8;function kr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function _r(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function wr(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function xr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function yr(t){throw new Error("https://svelte.dev/e/effect_orphan")}function $r(){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 Rr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Sr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function qe(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let j=!1;function je(t){j=t}let $;function Re(t){if(t===null)throw qe(),ge;return $=t}function Fe(){return Re(Ae($))}function Ge(t){if(j){if(Ae($)!==null)throw qe(),ge;$=t}}function Wt(t){return t===this.v}function Ar(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Cr(t){return!Ar(t,this.v)}let Pr=!1,D=null;function Ze(t){D=t}function Yt(t,e=!1,n){D={p:D,c:null,e:null,s:t,x:null,l:null}}function Qt(t){var e=D,n=e.e;if(n!==null){e.e=null;for(var r of n)pn(r)}return t!==void 0&&(e.x=t),D=e.p,t??{}}function Xt(){return!0}const Lr=new WeakMap;function Ir(t){var e=v;if(e===null)return m.f|=se,t;if((e.f&ot)===0){if((e.f&Ht)===0)throw!e.parent&&t instanceof Error&&Vt(t),t;e.b.error(t)}else pt(t,e)}function pt(t,e){for(;e!==null;){if((e.f&Ht)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t instanceof Error&&Vt(t),t}function Vt(t){const e=Lr.get(t);e&&(be(t,"message",{value:e.message}),be(t,"stack",{value:e.stack}))}let gt=[],bt=[];function zr(){var t=gt;gt=[],Gt(t)}function Nr(){var t=bt;bt=[],Gt(t)}function Or(){gt.length>0&&zr(),bt.length>0&&Nr()}function Dr(){const t=v.b;return t===null&&kr(),t}function Jt(t){var e=P|O,n=m!==null&&(m.f&P)!==0?m:null;return v===null||n!==null&&(n.f&I)!==0?e|=I:v.f|=ke,{ctx:D,deps:null,effects:null,equals:Wt,f:e,fn:t,reactions:null,rv:0,v:y,wv:0,parent:n??v,ac:null}}function Mr(t,e){let n=v;n===null&&_r();var r=n.b,i=void 0,s=wt(y),l=null,a=!m;return Vr(()=>{try{var o=t();l&&Promise.resolve(o).catch(()=>{})}catch(d){o=Promise.reject(d)}var u=()=>o;i=l?.then(u,u)??Promise.resolve(o),l=i;var c=E,h=r.is_pending();a&&(r.update_pending_count(1),h||c.increment());const f=(d,p=void 0)=>{l=null,h||c.activate(),p?p!==ht&&(s.f|=se,xt(s,p)):((s.f&se)!==0&&(s.f^=se),xt(s,d)),a&&(r.update_pending_count(-1),h||c.decrement()),tn()};if(i.then(f,d=>f(null,d||"unknown")),c)return()=>{queueMicrotask(()=>c.neuter())}}),new Promise(o=>{function u(c){function h(){c===i?o(s):u(i)}c.then(h,h)}u(i)})}function Kt(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)te(e[n])}}function Br(t){for(var e=t.parent;e!==null;){if((e.f&P)===0)return e;e=e.parent}return null}function vt(t){var e,n=v;ne(Br(t));try{Kt(t),e=Tn(t)}finally{ne(n)}return e}function en(t){var e=vt(t);if(t.equals(e)||(t.v=e,t.wv=$n()),!ue){var n=(re||(t.f&I)!==0)&&t.deps!==null?V:S;N(t,n)}}function qr(t,e,n){const r=Jt;if(e.length===0){n(t.map(r));return}var i=E,s=v,l=jr(),a=Dr();Promise.all(e.map(o=>Mr(o))).then(o=>{i?.activate(),l();try{n([...t.map(r),...o])}catch(u){(s.f&ie)===0&&pt(u,s)}i?.deactivate(),tn()}).catch(o=>{a.error(o)})}function jr(){var t=v,e=m,n=D,r=E;return function(){ne(t),G(e),Ze(n),r?.activate()}}function tn(){ne(null),G(null),Ze(null)}const mt=new Set;let E=null,nn=new Set,He=[];function rn(){const t=He.shift();He.length>0&&queueMicrotask(rn),t()}let le=[],Ue=null,kt=!1,We=!1;class ae{current=new Map;#t=new Map;#e=new Set;#n=0;#u=null;#c=!1;#i=[];#l=[];#s=[];#r=[];#a=[];#f=[];#h=[];skipped_effects=new Set;process(e){le=[];for(const i of e)this.#p(i);if(this.#i.length===0&&this.#n===0){this.#d();var n=this.#s,r=this.#r;this.#s=[],this.#r=[],this.#a=[],E=null,ln(n),ln(r),E===null?E=this:mt.delete(this),this.#u?.resolve()}else this.#o(this.#s),this.#o(this.#r),this.#o(this.#a);for(const i of this.#i)xe(i);for(const i of this.#l)xe(i);this.#i=[],this.#l=[]}#p(e){e.f^=S;for(var n=e.first;n!==null;){var r=n.f,i=(r&(Q|X))!==0,s=i&&(r&S)!==0,l=s||(r&me)!==0||this.skipped_effects.has(n);if(!l&&n.fn!==null){if(i)n.f^=S;else if((r&at)!==0)this.#r.push(n);else if((r&S)===0)if((r&ct)!==0){var a=n.b?.is_pending()?this.#l:this.#i;a.push(n)}else Qe(n)&&((n.f&Te)!==0&&this.#a.push(n),xe(n));var o=n.first;if(o!==null){n=o;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)n=u.next,u=u.parent}}#o(e){for(const n of e)((n.f&O)!==0?this.#f:this.#h).push(n),N(n,S);e.length=0}capture(e,n){this.#t.has(e)||this.#t.set(e,n),this.current.set(e,e.v)}activate(){E=this}deactivate(){E=null;for(const e of nn)if(nn.delete(e),e(),E!==null)break}neuter(){this.#c=!0}flush(){le.length>0?sn():this.#d(),E===this&&(this.#n===0&&mt.delete(this),this.deactivate())}#d(){if(!this.#c)for(const e of this.#e)e();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const e of this.#f)N(e,O),Se(e);for(const e of this.#h)N(e,V),Se(e);this.#s=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(e){this.#e.add(e)}settled(){return(this.#u??=pr()).promise}static ensure(){if(E===null){const e=E=new ae;mt.add(E),We||ae.enqueue(()=>{E===e&&e.flush()})}return E}static enqueue(e){He.length===0&&queueMicrotask(rn),He.unshift(e)}}function _t(t){var e=We;We=!0;try{for(var n;;){if(Or(),le.length===0&&(E?.flush(),le.length===0))return Ue=null,n;sn()}}finally{We=e}}function sn(){var t=we;kt=!0;try{var e=0;for(_n(!0);le.length>0;){var n=ae.ensure();if(e++>1e3){var r,i;Fr()}n.process(le),J.clear()}}finally{kt=!1,_n(t),Ue=null}}function Fr(){try{$r()}catch(t){pt(t,Ue)}}let oe=null;function ln(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(ie|me))===0&&Qe(r)&&(oe=[],xe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?mn(r):r.fn=null),oe?.length>0)){J.clear();for(const i of oe)xe(i);oe=[]}}oe=null}}function Se(t){for(var e=Ue=t;e.parent!==null;){e=e.parent;var n=e.f;if(kt&&e===v&&(n&Te)!==0)return;if((n&(X|Q))!==0){if((n&S)===0)return;e.f^=S}}le.push(e)}const J=new Map;function wt(t,e){var n={f:0,v:t,reactions:null,equals:Wt,rv:0,wv:0};return n}function F(t,e){const n=wt(t);return ii(n),n}function Gr(t,e=!1,n=!0){const r=wt(t);return e||(r.equals=Cr),r}function M(t,e,n=!1){m!==null&&(!ce||(m.f&Ut)!==0)&&Xt()&&(m.f&(P|Te|ct|Ut))!==0&&!U?.includes(t)&&Sr();let r=n?_e(e):e;return xt(t,r)}function xt(t,e){if(!t.equals(e)){var n=t.v;ue?J.set(t,e):J.set(t,n),t.v=e;var r=ae.ensure();r.capture(t,n),(t.f&P)!==0&&((t.f&O)!==0&&vt(t),N(t,(t.f&I)===0?S:V)),t.wv=$n(),an(t,O),v!==null&&(v.f&S)!==0&&(v.f&(Q|X))===0&&(z===null?si([t]):z.push(t))}return e}function yt(t){M(t,t.v+1)}function an(t,e){var n=t.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,a=(l&O)===0;a&&N(s,e),(l&P)!==0?an(s,V):a&&((l&Te)!==0&&oe!==null&&oe.push(s),Se(s))}}function _e(t){if(typeof t!="object"||t===null||ft in t)return t;const e=dr(t);if(e!==fr&&e!==hr)return t;var n=new Map,r=jt(t),i=F(0),s=fe,l=a=>{if(fe===s)return a();var o=m,u=fe;G(null),yn(s);var c=a();return G(o),yn(u),c};return r&&n.set("length",F(t.length)),new Proxy(t,{defineProperty(a,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Tr();var c=n.get(o);return c===void 0?c=l(()=>{var h=F(u.value);return n.set(o,h),h}):M(c,u.value,!0),!0},deleteProperty(a,o){var u=n.get(o);if(u===void 0){if(o in a){const c=l(()=>F(y));n.set(o,c),yt(i)}}else M(u,y),yt(i);return!0},get(a,o,u){if(o===ft)return t;var c=n.get(o),h=o in a;if(c===void 0&&(!h||ve(a,o)?.writable)&&(c=l(()=>{var d=_e(h?a[o]:y),p=F(d);return p}),n.set(o,c)),c!==void 0){var f=Z(c);return f===y?void 0:f}return Reflect.get(a,o,u)},getOwnPropertyDescriptor(a,o){var u=Reflect.getOwnPropertyDescriptor(a,o);if(u&&"value"in u){var c=n.get(o);c&&(u.value=Z(c))}else if(u===void 0){var h=n.get(o),f=h?.v;if(h!==void 0&&f!==y)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return u},has(a,o){if(o===ft)return!0;var u=n.get(o),c=u!==void 0&&u.v!==y||Reflect.has(a,o);if(u!==void 0||v!==null&&(!c||ve(a,o)?.writable)){u===void 0&&(u=l(()=>{var f=c?_e(a[o]):y,d=F(f);return d}),n.set(o,u));var h=Z(u);if(h===y)return!1}return c},set(a,o,u,c){var h=n.get(o),f=o in a;if(r&&o==="length")for(var d=u;d<h.v;d+=1){var p=n.get(d+"");p!==void 0?M(p,y):d in a&&(p=l(()=>F(y)),n.set(d+"",p))}if(h===void 0)(!f||ve(a,o)?.writable)&&(h=l(()=>F(void 0)),M(h,_e(u)),n.set(o,h));else{f=h.v!==y;var g=l(()=>_e(u));M(h,g)}var A=Reflect.getOwnPropertyDescriptor(a,o);if(A?.set&&A.set.call(c,u),!f){if(r&&typeof o=="string"){var C=n.get("length"),x=Number(o);Number.isInteger(x)&&x>=C.v&&M(C,x+1)}yt(i)}return!0},ownKeys(a){Z(i);var o=Reflect.ownKeys(a).filter(h=>{var f=n.get(h);return f===void 0||f.v!==y});for(var[u,c]of n)c.v!==y&&!(u in a)&&o.push(u);return o},setPrototypeOf(){Rr()}})}var on,un,cn,fn;function $t(){if(on===void 0){on=window,un=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;cn=ve(e,"firstChild").get,fn=ve(e,"nextSibling").get,Ft(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Ft(n)&&(n.__t=void 0)}}function hn(t=""){return document.createTextNode(t)}function K(t){return cn.call(t)}function Ae(t){return fn.call(t)}function Ye(t,e){if(!j)return K(t);var n=K($);return n===null&&(n=$.appendChild(hn())),Re(n),n}function Zr(t){t.textContent=""}function dn(t){var e=m,n=v;G(null),ne(null);try{return t()}finally{G(e),ne(n)}}function Hr(t){v===null&&m===null&&yr(),m!==null&&(m.f&I)!==0&&v===null&&xr(),ue&&wr()}function Ur(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function ee(t,e,n,r=!0){var i=v;i!==null&&(i.f&me)!==0&&(t|=me);var s={ctx:D,deps:null,nodes_start:null,nodes_end:null,f:t|O,first:null,fn:e,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{xe(s),s.f|=ot}catch(o){throw te(s),o}else e!==null&&Se(s);if(r){var l=s;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&ke)===0&&(l=l.first),l!==null&&(l.parent=i,i!==null&&Ur(l,i),m!==null&&(m.f&P)!==0&&(t&X)===0)){var a=m;(a.effects??=[]).push(l)}}return s}function Wr(t){Hr();var e=v.f,n=!m&&(e&Q)!==0&&(e&ot)===0;if(n){var r=D;(r.e??=[]).push(t)}else return pn(t)}function pn(t){return ee(at|vr,t,!1)}function Yr(t){ae.ensure();const e=ee(X|ke,t,!0);return()=>{te(e)}}function Qr(t){ae.ensure();const e=ee(X|ke,t,!0);return(n={})=>new Promise(r=>{n.outro?ni(e,()=>{te(e),r(void 0)}):(te(e),r(void 0))})}function Xr(t){return ee(at,t,!1)}function Vr(t){return ee(ct|ke,t,!0)}function Jr(t,e=0){return ee(Zt|e,t,!0)}function Kr(t,e=[],n=[]){qr(e,n,r=>{ee(Zt,()=>t(...r.map(Z)),!0)})}function ei(t,e=!0){return ee(Q|ke,t,!0,e)}function gn(t){var e=t.teardown;if(e!==null){const n=ue,r=m;wn(!0),G(null);try{e.call(null)}finally{wn(n),G(r)}}}function bn(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const i=n.ac;i!==null&&dn(()=>{i.abort(ht)});var r=n.next;(n.f&X)!==0?n.parent=null:te(n,e),n=r}}function ti(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Q)===0&&te(e),e=n}}function te(t,e=!0){var n=!1;(e||(t.f&br)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(vn(t.nodes_start,t.nodes_end),n=!0),bn(t,e&&!n),Xe(t,0),N(t,ie);var r=t.transitions;if(r!==null)for(const s of r)s.stop();gn(t);var i=t.parent;i!==null&&i.first!==null&&mn(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function vn(t,e){for(;t!==null;){var n=t===e?null:Ae(t);t.remove(),t=n}}function mn(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function ni(t,e){var n=[];kn(t,n,!0),ri(n,()=>{te(t),e&&e()})}function ri(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var i of t)i.out(r)}else e()}function kn(t,e,n){if((t.f&me)===0){if(t.f^=me,t.transitions!==null)for(const l of t.transitions)(l.is_global||n)&&e.push(l);for(var r=t.first;r!==null;){var i=r.next,s=(r.f&gr)!==0||(r.f&Q)!==0;kn(r,e,s?n:!1),r=i}}}let we=!1;function _n(t){we=t}let ue=!1;function wn(t){ue=t}let m=null,ce=!1;function G(t){m=t}let v=null;function ne(t){v=t}let U=null;function ii(t){m!==null&&(U===null?U=[t]:U.push(t))}let T=null,L=0,z=null;function si(t){z=t}let xn=1,Ce=0,fe=Ce;function yn(t){fe=t}let re=!1;function $n(){return++xn}function Qe(t){var e=t.f;if((e&O)!==0)return!0;if((e&V)!==0){var n=t.deps,r=(e&I)!==0;if(n!==null){var i,s,l=(e&Be)!==0,a=r&&v!==null&&!re,o=n.length;if((l||a)&&(v===null||(v.f&ie)===0)){var u=t,c=u.parent;for(i=0;i<o;i++)s=n[i],(l||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);l&&(u.f^=Be),a&&c!==null&&(c.f&I)===0&&(u.f^=I)}for(i=0;i<o;i++)if(s=n[i],Qe(s)&&en(s),s.wv>t.wv)return!0}(!r||v!==null&&!re)&&N(t,S)}return!1}function En(t,e,n=!0){var r=t.reactions;if(r!==null&&!U?.includes(t))for(var i=0;i<r.length;i++){var s=r[i];(s.f&P)!==0?En(s,e,!1):e===s&&(n?N(s,O):(s.f&S)!==0&&N(s,V),Se(s))}}function Tn(t){var e=T,n=L,r=z,i=m,s=re,l=U,a=D,o=ce,u=fe,c=t.f;T=null,L=0,z=null,re=(c&I)!==0&&(ce||!we||m===null),m=(c&(Q|X))===0?t:null,U=null,Ze(t.ctx),ce=!1,fe=++Ce,t.ac!==null&&(dn(()=>{t.ac.abort(ht)}),t.ac=null);try{t.f|=ut;var h=t.fn,f=h(),d=t.deps;if(T!==null){var p;if(Xe(t,L),d!==null&&L>0)for(d.length=L+T.length,p=0;p<T.length;p++)d[L+p]=T[p];else t.deps=d=T;if(!re||(c&P)!==0&&t.reactions!==null)for(p=L;p<d.length;p++)(d[p].reactions??=[]).push(t)}else d!==null&&L<d.length&&(Xe(t,L),d.length=L);if(Xt()&&z!==null&&!ce&&d!==null&&(t.f&(P|V|O))===0)for(p=0;p<z.length;p++)En(z[p],t);return i!==null&&i!==t&&(Ce++,z!==null&&(r===null?r=z:r.push(...z))),(t.f&se)!==0&&(t.f^=se),f}catch(g){return Ir(g)}finally{t.f^=ut,T=e,L=n,z=r,m=i,re=s,U=l,Ze(a),ce=o,fe=u}}function li(t,e){let n=e.reactions;if(n!==null){var r=ur.call(n,t);if(r!==-1){var i=n.length-1;i===0?n=e.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(e.f&P)!==0&&(T===null||!T.includes(e))&&(N(e,V),(e.f&(I|Be))===0&&(e.f^=Be),Kt(e),Xe(e,0))}function Xe(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)li(t,n[r])}function xe(t){var e=t.f;if((e&ie)===0){N(t,S);var n=v,r=we;v=t,we=!0;try{(e&Te)!==0?ti(t):bn(t),gn(t);var i=Tn(t);t.teardown=typeof i=="function"?i:null,t.wv=xn;var s;qt&&Pr&&(t.f&O)!==0&&t.deps}finally{we=r,v=n}}}function Z(t){var e=t.f,n=(e&P)!==0;if(m!==null&&!ce){var r=v!==null&&(v.f&ie)!==0;if(!r&&!U?.includes(t)){var i=m.deps;if((m.f&ut)!==0)t.rv<Ce&&(t.rv=Ce,T===null&&i!==null&&i[L]===t?L++:T===null?T=[t]:(!re||!T.includes(t))&&T.push(t));else{(m.deps??=[]).push(t);var s=t.reactions;s===null?t.reactions=[m]:s.includes(m)||s.push(m)}}}else if(n&&t.deps===null&&t.effects===null){var l=t,a=l.parent;a!==null&&(a.f&I)===0&&(l.f^=I)}if(ue){if(J.has(t))return J.get(t);if(n){l=t;var o=l.v;return((l.f&S)===0&&l.reactions!==null||Rn(l))&&(o=vt(l)),J.set(l,o),o}}else n&&(l=t,Qe(l)&&en(l));if((t.f&se)!==0)throw t.v;return t.v}function Rn(t){if(t.v===y)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(J.has(e)||(e.f&P)!==0&&Rn(e))return!0;return!1}const ai=-7169;function N(t,e){t.f=t.f&ai|e}const oi=new Set,Sn=new Set;let An=null;function Ve(t){var e=this,n=e.ownerDocument,r=t.type,i=t.composedPath?.()||[],s=i[0]||t.target;An=t;var l=0,a=An===t&&t.__root;if(a){var o=i.indexOf(a);if(o!==-1&&(e===document||e===window)){t.__root=e;return}var u=i.indexOf(e);if(u===-1)return;o<=u&&(l=o)}if(s=i[l]||t.target,s!==e){be(t,"currentTarget",{configurable:!0,get(){return s||n}});var c=m,h=v;G(null),ne(null);try{for(var f,d=[];s!==null;){var p=s.assignedSlot||s.parentNode||s.host||null;try{var g=s["__"+r];if(g!=null&&(!s.disabled||t.target===s))if(jt(g)){var[A,...C]=g;A.apply(s,[t,...C])}else g.call(s,t)}catch(x){f?d.push(x):f=x}if(t.cancelBubble||p===e||p===null)break;s=p}if(f){for(let x of d)queueMicrotask(()=>{throw x});throw f}}finally{t.__root=e,delete t.currentTarget,G(c),ne(h)}}}function Cn(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function Pe(t,e){var n=v;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function ui(t,e){var n=(e&lr)!==0,r,i=!t.startsWith("<!>");return()=>{if(j)return Pe($,null),$;r===void 0&&(r=Cn(i?t:"<!>"+t),r=K(r));var s=n||un?document.importNode(r,!0):r.cloneNode(!0);return Pe(s,s),s}}function Pn(t,e){if(j){v.nodes_end=$,Fe();return}t!==null&&t.before(e)}const ci=["touchstart","touchmove"];function fi(t){return ci.includes(t)}function Ln(t,e){return In(t,e)}function hi(t,e){$t(),e.intro=e.intro??!1;const n=e.target,r=j,i=$;try{for(var s=K(n);s&&(s.nodeType!==dt||s.data!==ar);)s=Ae(s);if(!s)throw ge;je(!0),Re(s),Fe();const l=In(t,{...e,anchor:s});if($===null||$.nodeType!==dt||$.data!==or)throw qe(),ge;return je(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==ge&&console.warn("Failed to hydrate: ",l),e.recover===!1&&Er(),$t(),Zr(n),je(!1),Ln(t,e)}finally{je(r),Re(i)}}const ye=new Map;function In(t,{target:e,anchor:n,props:r={},events:i,context:s,intro:l=!0}){$t();var a=new Set,o=h=>{for(var f=0;f<h.length;f++){var d=h[f];if(!a.has(d)){a.add(d);var p=fi(d);e.addEventListener(d,Ve,{passive:p});var g=ye.get(d);g===void 0?(document.addEventListener(d,Ve,{passive:p}),ye.set(d,1)):ye.set(d,g+1)}}};o(cr(oi)),Sn.add(o);var u=void 0,c=Qr(()=>{var h=n??e.appendChild(hn());return ei(()=>{if(s){Yt({});var f=D;f.c=s}i&&(r.$$events=i),j&&Pe(h,null),u=t(h,r)||{},j&&(v.nodes_end=$),s&&Qt()}),()=>{for(var f of a){e.removeEventListener(f,Ve);var d=ye.get(f);--d===0?(document.removeEventListener(f,Ve),ye.delete(f)):ye.set(f,d)}Sn.delete(o),h!==n&&h.parentNode?.removeChild(h)}});return Et.set(u,c),u}let Et=new WeakMap;function di(t,e){const n=Et.get(t);return n?(Et.delete(t),n(e)):Promise.resolve()}function pi(t,e,n=!1,r=!1,i=!1){var s=t,l="";Kr(()=>{var a=v;if(l===(l=e()??"")){j&&Fe();return}if(a.nodes_start!==null&&(vn(a.nodes_start,a.nodes_end),a.nodes_start=a.nodes_end=null),l!==""){if(j){$.data;for(var o=Fe(),u=o;o!==null&&(o.nodeType!==dt||o.data!=="");)u=o,o=Ae(o);if(o===null)throw qe(),ge;Pe($,u),s=Re(o);return}var c=l+"";n?c=`<svg>${c}</svg>`:r&&(c=`<math>${c}</math>`);var h=Cn(c);if((n||r)&&(h=K(h)),Pe(K(h),h.lastChild),n||r)for(;K(h);)s.before(K(h));else s.before(h)}})}function gi(t,e){Xr(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const i=document.createElement("style");i.id=e.hash,i.textContent=e.code,r.appendChild(i)}})}function zn(t,e,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),a;a=t[e],a===void 0&&r!==void 0&&(a=l());var o;o=()=>{var f=t[e];return f===void 0?l():(s=!0,f)};var u=!1,c=Jt(()=>(u=!1,o())),h=v;return(function(f,d){if(arguments.length>0){const p=d?Z(c):f;return M(c,p),u=!0,i!==void 0&&(i=p),f}return ue&&u||(h.f&ie)!==0?c.v:Z(c)})}function bi(t){return new vi(t)}class vi{#t;#e;constructor(e){var n=new Map,r=(s,l)=>{var a=Gr(l,!1,!1);return n.set(s,a),a};const i=new Proxy({...e.props||{},$$events:{}},{get(s,l){return Z(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===mr?!0:(Z(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return M(n.get(l)??r(l,a),a),Reflect.set(s,l,a)}});this.#e=(e.hydrate?hi:Ln)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&_t(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||be(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{di(this.#e)}}$set(e){this.#e.$set(e)}$on(e,n){this.#t[e]=this.#t[e]||[];const r=(...i)=>n.call(this,...i);return this.#t[e].push(r),()=>{this.#t[e]=this.#t[e].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Nn;typeof HTMLElement=="function"&&(Nn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),Pn(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=mi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Je(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=bi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Yr(()=>{Jr(()=>{this.$$r=!0;for(const r of Me(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Je(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(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Je(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Me(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Je(t,e,n,r){const i=n[t]?.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function mi(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function ki(t,e,n,r,i,s){let l=class extends Nn{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return Me(e).map(a=>(e[a].attribute||a).toLowerCase())}};return Me(e).forEach(a=>{be(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=Je(a,o,e),this.$$d[a]=o;var u=this.$$c;if(u){var c=ve(u,a)?.get;c?u[a]=o:u.$set({[a]:o})}}})}),r.forEach(a=>{be(l.prototype,a,{get(){return this.$$c?.[a]}})}),t.element=l,l}function _i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $e={},Tt,On;function wi(){if(On)return Tt;On=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g,o=`
|
|
3
|
-
`,u="/",c="*",h="",f="comment",d="declaration";Tt=function(g,A){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];A=A||{};var C=1,x=1;function Oe(w){var b=w.match(e);b&&(C+=b.length);var q=w.lastIndexOf(o);x=~q?w.length-q:x+w.length}function De(){var w={line:C,column:x};return function(b){return b.position=new lt(w),rr(),b}}function lt(w){this.start=w,this.end={line:C,column:x},this.source=A.source}lt.prototype.content=g;function Ee(w){var b=new Error(A.source+":"+C+":"+x+": "+w);if(b.reason=w,b.filename=A.source,b.line=C,b.column=x,b.source=g,!A.silent)throw b}function B(w){var b=w.exec(g);if(b){var q=b[0];return Oe(q),g=g.slice(q.length),b}}function rr(){B(n)}function ir(w){var b;for(w=w||[];b=sr();)b!==!1&&w.push(b);return w}function sr(){var w=De();if(!(u!=g.charAt(0)||c!=g.charAt(1))){for(var b=2;h!=g.charAt(b)&&(c!=g.charAt(b)||u!=g.charAt(b+1));)++b;if(b+=2,h===g.charAt(b-1))return Ee("End of comment missing");var q=g.slice(2,b-2);return x+=2,Oe(q),g=g.slice(b),x+=2,w({type:f,comment:q})}}function us(){var w=De(),b=B(r);if(b){if(sr(),!B(i))return Ee("property missing ':'");var q=B(s),fs=w({type:d,property:p(b[0].replace(t,h)),value:q?p(q[0].replace(t,h)):h});return B(l),fs}}function cs(){var w=[];ir(w);for(var b;b=us();)b!==!1&&(w.push(b),ir(w));return w}return rr(),cs()};function p(g){return g?g.replace(a,h):h}return Tt}var Dn;function xi(){if(Dn)return $e;Dn=1;var t=$e&&$e.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty($e,"__esModule",{value:!0}),$e.default=n;var e=t(wi());function n(r,i){var s=null;if(!r||typeof r!="string")return s;var l=(0,e.default)(r),a=typeof i=="function";return l.forEach(function(o){if(o.type==="declaration"){var u=o.property,c=o.value;a?i(u,c,o):c&&(s=s||{},s[u]=c)}}),s}return $e}var yi=xi();const Mn=_i(yi);Mn.default;var he={},Bn;function $i(){if(Bn)return he;Bn=1,Object.defineProperty(he,"__esModule",{value:!0}),he.LanguageTranslator=void 0,he.getChildStyleToPass=t,he.addComponent=e;function t(r,i){var s,l,a="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(f){return Object.keys(r).includes(f.name)}))===null||l===void 0)&&l.length))for(var o=function(f){var d=i?.filter(function(p){return p.name===f&&p.defaultValue!==r[f]});d&&(a+="".concat(f,":").concat(r[f],";"))},u=0,c=Object.keys(r);u<c.length;u++){var h=c[u];o(h)}}catch(f){console.error("error getting child style to pass",f)}finally{return a}}function e(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.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(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(u){console.warn(u)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,a,o,u="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(u=(o=(a=navigator.languages[0])===null||a===void 0?void 0:a.split("-")[0])===null||o===void 0?void 0:o.toLowerCase()),u},r.getDictionaryWord=function(i,s,l){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((a=s[l])===null||a===void 0)&&a[i]))return s[l][i];var o="",u=r.getDefaultLang();if(!l||u!==l){var c=s?.[u];c?.[i]&&(o=c[i])}return o},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return a.format(i)},r})();return he.LanguageTranslator=n,he}$i();function Rt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var de=Rt();function qn(t){de=t}var Le={exec:()=>null};function k(t,e=""){let n=typeof t=="string"?t:t.source;const r={replace:(i,s)=>{let l=typeof s=="string"?s:s.source;return l=l.replace(R.caret,"$1"),n=n.replace(i,l),r},getRegex:()=>new RegExp(n,e)};return r}var R={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Ei=/^(?:[ \t]*(?:\n|$))+/,Ti=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ri=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ie=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Si=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,St=/(?:[*+-]|\d{1,9}[.)])/,jn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Fn=k(jn).replace(/bull/g,St).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Ai=k(jn).replace(/bull/g,St).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),At=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ci=/^[^\n]+/,Ct=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Pi=k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ct).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Li=k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,St).getRegex(),Ke="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Pt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ii=k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Pt).replace("tag",Ke).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Gn=k(At).replace("hr",Ie).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ke).getRegex(),zi=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Gn).getRegex(),Lt={blockquote:zi,code:Ti,def:Pi,fences:Ri,heading:Si,hr:Ie,html:Ii,lheading:Fn,list:Li,newline:Ei,paragraph:Gn,table:Le,text:Ci},Zn=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ie).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ke).getRegex(),Ni={...Lt,lheading:Ai,table:Zn,paragraph:k(At).replace("hr",Ie).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Zn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ke).getRegex()},Oi={...Lt,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Pt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Le,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(At).replace("hr",Ie).replace("heading",` *#{1,6} *[^
|
|
4
|
-
|
|
5
|
-
`).
|
|
6
|
-
`)}
|
|
7
|
-
`)}}
|
|
8
|
-
`)}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let n=Ne(e[0],`
|
|
1
|
+
(function(Mt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const sn=2,Bt="[",jt="[!",Ft="]",ve={},x=Symbol(),Zt=!1;var ln=Array.isArray,an=Array.prototype.indexOf,on=Array.from,Fe=Object.keys,Ze=Object.defineProperty,ke=Object.getOwnPropertyDescriptor,un=Object.prototype,cn=Array.prototype,fn=Object.getPrototypeOf,Ht=Object.isExtensible;function hn(t){for(var e=0;e<t.length;e++)t[e]()}function Ut(){var t,e,r=new Promise((s,n)=>{t=s,e=n});return{promise:r,resolve:t,reject:e}}const y=2,He=4,dt=8,W=16,K=32,ee=64,Ue=128,O=512,$=1024,C=2048,Y=4096,te=8192,re=16384,pt=32768,Ge=65536,Gt=1<<17,Qt=1<<18,ae=1<<19,dn=1<<20,Se=32768,gt=1<<21,bt=1<<22,ne=1<<23,vt=Symbol("$state"),pn=Symbol("legacy props"),_e=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Te=8;function gn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function bn(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function vn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function kn(t){throw new Error("https://svelte.dev/e/effect_orphan")}function _n(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function mn(){throw new Error("https://svelte.dev/e/hydration_failed")}function wn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function xn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function yn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function $n(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Qe(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Rn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let R=!1;function We(t){R=t}let _;function oe(t){if(t===null)throw Qe(),ve;return _=t}function Ye(){return oe(le(_))}function Ve(t){if(R){if(le(_)!==null)throw Qe(),ve;_=t}}function Sn(t=1){if(R){for(var e=t,r=_;e--;)r=le(r);_=r}}function Tn(t=!0){for(var e=0,r=_;;){if(r.nodeType===Te){var s=r.data;if(s===Ft){if(e===0)return r;e-=1}else(s===Bt||s===jt)&&(e+=1)}var n=le(r);t&&r.remove(),r=n}}function Wt(t){return t===this.v}function En(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function An(t){return!En(t,this.v)}let Cn=!1,L=null;function me(t){L=t}function Yt(t,e=!1,r){L={p:L,i:!1,c:null,e:null,s:t,x:null,l:null}}function Vt(t){var e=L,r=e.e;if(r!==null){e.e=null;for(var s of r)pr(s)}return t!==void 0&&(e.x=t),e.i=!0,L=e.p,t??{}}function Xt(){return!0}let ue=[];function Jt(){var t=ue;ue=[],hn(t)}function kt(t){if(ue.length===0&&!Ee){var e=ue;queueMicrotask(()=>{e===ue&&Jt()})}ue.push(t)}function Pn(){for(;ue.length>0;)Jt()}function Kt(t){var e=b;if(e===null)return g.f|=ne,t;if((e.f&pt)===0){if((e.f&Ue)===0)throw t;e.b.error(t)}else we(t,e)}function we(t,e){for(;e!==null;){if((e.f&Ue)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t}const Xe=new Set;let w=null,P=null,Z=[],Je=null,_t=!1,Ee=!1;class D{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#o=0;#i=0;#u=null;#l=[];#s=[];skipped_effects=new Set;is_fork=!1;process(e){Z=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of e)this.#r(s,r);this.is_fork||this.#a(),this.#i>0||this.is_fork?(this.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects)):(w=null,tr(r.render_effects),tr(r.effects),this.#u?.resolve()),P=null}#r(e,r){e.f^=$;for(var s=e.first;s!==null;){var n=s.f,i=(n&(K|ee))!==0,l=i&&(n&$)!==0,o=l||(n&te)!==0||this.skipped_effects.has(s);if((s.f&Ue)!==0&&s.b?.is_pending()&&(r={parent:r,effect:s,effects:[],render_effects:[],block_effects:[]}),!o&&s.fn!==null){i?s.f^=$:(n&He)!==0?r.effects.push(s):ze(s)&&((s.f&W)!==0&&r.block_effects.push(s),Le(s));var a=s.first;if(a!==null){s=a;continue}}var u=s.parent;for(s=s.next;s===null&&u!==null;)u===r.effect&&(this.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects),r=r.parent),s=u.next,u=u.parent}}#n(e){for(const r of e)((r.f&C)!==0?this.#l:this.#s).push(r),T(r,$)}capture(e,r){this.previous.has(e)||this.previous.set(e,r),(e.f&ne)===0&&(this.current.set(e,e.v),P?.set(e,e.v))}activate(){w=this,this.apply()}deactivate(){w=null,P=null}flush(){if(this.activate(),Z.length>0){if(er(),w!==null&&w!==this)return}else this.#o===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#e)e(this);this.#e.clear()}#a(){if(this.#i===0){for(const e of this.#t)e();this.#t.clear()}this.#o===0&&this.#c()}#c(){if(Xe.size>1){this.previous.clear();var e=P,r=!0,s={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of Xe){if(n===this){r=!1;continue}const i=[];for(const[o,a]of this.current){if(n.current.has(o))if(r&&a!==n.current.get(o))n.current.set(o,a);else continue;i.push(o)}if(i.length===0)continue;const l=[...n.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){const o=new Set,a=new Map;for(const u of i)rr(u,l,o,a);if(Z.length>0){w=n,n.apply();for(const u of Z)n.#r(u,s);Z=[],n.deactivate()}}}w=null,P=e}this.committed=!0,Xe.delete(this)}increment(e){this.#o+=1,e&&(this.#i+=1)}decrement(e){this.#o-=1,e&&(this.#i-=1),this.revive()}revive(){for(const e of this.#l)T(e,C),xe(e);for(const e of this.#s)T(e,Y),xe(e);this.#l=[],this.#s=[],this.flush()}oncommit(e){this.#t.add(e)}ondiscard(e){this.#e.add(e)}settled(){return(this.#u??=Ut()).promise}static ensure(){if(w===null){const e=w=new D;Xe.add(w),Ee||D.enqueue(()=>{w===e&&e.flush()})}return w}static enqueue(e){kt(e)}apply(){}}function mt(t){var e=Ee;Ee=!0;try{for(var r;;){if(Pn(),Z.length===0&&(w?.flush(),Z.length===0))return Je=null,r;er()}}finally{Ee=e}}function er(){var t=fe;_t=!0;try{var e=0;for(wr(!0);Z.length>0;){var r=D.ensure();if(e++>1e3){var s,n;zn()}r.process(Z),se.clear()}}finally{_t=!1,wr(t),Je=null}}function zn(){try{_n()}catch(t){we(t,Je)}}let V=null;function tr(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var s=t[r++];if((s.f&(re|te))===0&&ze(s)&&(V=new Set,Le(s),s.deps===null&&s.first===null&&s.nodes_start===null&&(s.teardown===null&&s.ac===null?_r(s):s.fn=null),V?.size>0)){se.clear();for(const n of V){if((n.f&(re|te))!==0)continue;const i=[n];let l=n.parent;for(;l!==null;)V.has(l)&&(V.delete(l),i.push(l)),l=l.parent;for(let o=i.length-1;o>=0;o--){const a=i[o];(a.f&(re|te))===0&&Le(a)}}V.clear()}}V=null}}function rr(t,e,r,s){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const n of t.reactions){const i=n.f;(i&y)!==0?rr(n,e,r,s):(i&(bt|W))!==0&&(i&C)===0&&nr(n,e,s)&&(T(n,C),xe(n))}}function nr(t,e,r){const s=r.get(t);if(s!==void 0)return s;if(t.deps!==null)for(const n of t.deps){if(e.includes(n))return!0;if((n.f&y)!==0&&nr(n,e,r))return r.set(n,!0),!0}return r.set(t,!1),!1}function xe(t){for(var e=Je=t;e.parent!==null;){e=e.parent;var r=e.f;if(_t&&e===b&&(r&W)!==0&&(r&Qt)===0)return;if((r&(ee|K))!==0){if((r&$)===0)return;e.f^=$}}Z.push(e)}function Ln(t){let e=0,r=Ae(0),s;return()=>{rt()&&(N(r),gr(()=>(e===0&&(s=ls(()=>t(()=>Ce(r)))),e+=1,()=>{kt(()=>{e-=1,e===0&&(s?.(),s=void 0,Ce(r))})})))}}var In=Ge|ae|Ue;function Nn(t,e,r){new On(t,e,r)}class On{parent;#t=!1;#e;#o=R?_:null;#i;#u;#l;#s=null;#r=null;#n=null;#a=null;#c=null;#d=0;#f=0;#p=!1;#h=null;#_=Ln(()=>(this.#h=Ae(this.#d),()=>{this.#h=null}));constructor(e,r,s){this.#e=e,this.#i=r,this.#u=s,this.parent=b.b,this.#t=!!this.#i.pending,this.#l=Kn(()=>{if(b.b=this,R){const i=this.#o;Ye(),i.nodeType===Te&&i.data===jt?this.#w():this.#m()}else{var n=this.#v();try{this.#s=ce(()=>s(n))}catch(i){this.error(i)}this.#f>0?this.#b():this.#t=!1}return()=>{this.#c?.remove()}},In),R&&(this.#e=_)}#m(){try{this.#s=ce(()=>this.#u(this.#e))}catch(e){this.error(e)}this.#t=!1}#w(){const e=this.#i.pending;e&&(this.#r=ce(()=>e(this.#e)),D.enqueue(()=>{var r=this.#v();this.#s=this.#g(()=>(D.ensure(),ce(()=>this.#u(r)))),this.#f>0?this.#b():(nt(this.#r,()=>{this.#r=null}),this.#t=!1)}))}#v(){var e=this.#e;return this.#t&&(this.#c=$t(),this.#e.before(this.#c),e=this.#c),e}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#g(e){var r=b,s=g,n=L;Q(this.#l),A(this.#l),me(this.#l.ctx);try{return e()}catch(i){return Kt(i),null}finally{Q(r),A(s),me(n)}}#b(){const e=this.#i.pending;this.#s!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#c),rs(this.#s,this.#a)),this.#r===null&&(this.#r=ce(()=>e(this.#e)))}#k(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#k(e);return}this.#f+=e,this.#f===0&&(this.#t=!1,this.#r&&nt(this.#r,()=>{this.#r=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(e){this.#k(e),this.#d+=e,this.#h&&et(this.#h,this.#d)}get_effect_pending(){return this.#_(),N(this.#h)}error(e){var r=this.#i.onerror;let s=this.#i.failed;if(this.#p||!r&&!s)throw e;this.#s&&(M(this.#s),this.#s=null),this.#r&&(M(this.#r),this.#r=null),this.#n&&(M(this.#n),this.#n=null),R&&(oe(this.#o),Sn(),oe(Tn()));var n=!1,i=!1;const l=()=>{if(n){Rn();return}n=!0,i&&$n(),D.ensure(),this.#d=0,this.#n!==null&&nt(this.#n,()=>{this.#n=null}),this.#t=this.has_pending_snippet(),this.#s=this.#g(()=>(this.#p=!1,ce(()=>this.#u(this.#e)))),this.#f>0?this.#b():this.#t=!1};var o=g;try{A(null),i=!0,r?.(e,l),i=!1}catch(a){we(a,this.#l&&this.#l.parent)}finally{A(o)}s&&kt(()=>{this.#n=this.#g(()=>{D.ensure(),this.#p=!0;try{return ce(()=>{s(this.#e,()=>e,()=>l)})}catch(a){return we(a,this.#l.parent),null}finally{this.#p=!1}})})}}function Dn(t,e,r,s){const n=sr;if(r.length===0&&t.length===0){s(e.map(n));return}var i=w,l=b,o=qn();function a(){Promise.all(r.map(u=>Mn(u))).then(u=>{o();try{s([...e.map(n),...u])}catch(c){(l.f&re)===0&&we(c,l)}i?.deactivate(),Ke()}).catch(u=>{we(u,l)})}t.length>0?Promise.all(t).then(()=>{o();try{return a()}finally{i?.deactivate(),Ke()}}):a()}function qn(){var t=b,e=g,r=L,s=w;return function(i=!0){Q(t),A(e),me(r),i&&s?.activate()}}function Ke(){Q(null),A(null),me(null)}function sr(t){var e=y|C,r=g!==null&&(g.f&y)!==0?g:null;return b!==null&&(b.f|=ae),{ctx:L,deps:null,effects:null,equals:Wt,f:e,fn:t,reactions:null,rv:0,v:x,wv:0,parent:r??b,ac:null}}function Mn(t,e){let r=b;r===null&&gn();var s=r.b,n=void 0,i=Ae(x),l=!g,o=new Map;return Xn(()=>{var a=Ut();n=a.promise;try{Promise.resolve(t()).then(a.resolve,a.reject).then(()=>{u===w&&u.committed&&u.deactivate(),Ke()})}catch(f){a.reject(f),Ke()}var u=w;if(l){var c=!s.is_pending();s.update_pending_count(1),u.increment(c),o.get(u)?.reject(_e),o.delete(u),o.set(u,a)}const h=(f,d=void 0)=>{if(u.activate(),d)d!==_e&&(i.f|=ne,et(i,d));else{(i.f&ne)!==0&&(i.f^=ne),et(i,f);for(const[p,m]of o){if(o.delete(p),p===u)break;m.reject(_e)}}l&&(s.update_pending_count(-1),u.decrement(c))};a.promise.then(h,f=>h(null,f||"unknown"))}),Gn(()=>{for(const a of o.values())a.reject(_e)}),new Promise(a=>{function u(c){function h(){c===n?a(i):u(n)}c.then(h,h)}u(n)})}function ir(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)M(e[r])}}function Bn(t){for(var e=t.parent;e!==null;){if((e.f&y)===0)return e;e=e.parent}return null}function wt(t){var e,r=b;Q(Bn(t));try{t.f&=~Se,ir(t),e=Tr(t)}finally{Q(r)}return e}function lr(t){var e=wt(t);if(t.equals(e)||(t.v=e,t.wv=Rr()),!he)if(P!==null)rt()&&P.set(t,t.v);else{var r=(t.f&O)===0?Y:$;T(t,r)}}let xt=new Set;const se=new Map;let ar=!1;function Ae(t,e){var r={f:0,v:t,reactions:null,equals:Wt,rv:0,wv:0};return r}function H(t,e){const r=Ae(t);return ns(r),r}function jn(t,e=!1,r=!0){const s=Ae(t);return e||(s.equals=An),s}function q(t,e,r=!1){g!==null&&(!G||(g.f&Gt)!==0)&&Xt()&&(g.f&(y|W|bt|Gt))!==0&&!X?.includes(t)&&yn();let s=r?ye(e):e;return et(t,s)}function et(t,e){if(!t.equals(e)){var r=t.v;he?se.set(t,e):se.set(t,r),t.v=e;var s=D.ensure();s.capture(t,r),(t.f&y)!==0&&((t.f&C)!==0&&wt(t),T(t,(t.f&O)!==0?$:Y)),t.wv=Rr(),or(t,C),b!==null&&(b.f&$)!==0&&(b.f&(K|ee))===0&&(I===null?ss([t]):I.push(t)),!s.is_fork&&xt.size>0&&!ar&&Fn()}return e}function Fn(){ar=!1;const t=Array.from(xt);for(const e of t)(e.f&$)!==0&&T(e,Y),ze(e)&&Le(e);xt.clear()}function Ce(t){q(t,t.v+1)}function or(t,e){var r=t.reactions;if(r!==null)for(var s=r.length,n=0;n<s;n++){var i=r[n],l=i.f,o=(l&C)===0;if(o&&T(i,e),(l&y)!==0){var a=i;P?.delete(a),(l&Se)===0&&(l&O&&(i.f|=Se),or(a,Y))}else o&&((l&W)!==0&&V!==null&&V.add(i),xe(i))}}function ye(t){if(typeof t!="object"||t===null||vt in t)return t;const e=fn(t);if(e!==un&&e!==cn)return t;var r=new Map,s=ln(t),n=H(0),i=de,l=o=>{if(de===i)return o();var a=g,u=de;A(null),$r(i);var c=o();return A(a),$r(u),c};return s&&r.set("length",H(t.length)),new Proxy(t,{defineProperty(o,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&wn();var c=r.get(a);return c===void 0?c=l(()=>{var h=H(u.value);return r.set(a,h),h}):q(c,u.value,!0),!0},deleteProperty(o,a){var u=r.get(a);if(u===void 0){if(a in o){const c=l(()=>H(x));r.set(a,c),Ce(n)}}else q(u,x),Ce(n);return!0},get(o,a,u){if(a===vt)return t;var c=r.get(a),h=a in o;if(c===void 0&&(!h||ke(o,a)?.writable)&&(c=l(()=>{var d=ye(h?o[a]:x),p=H(d);return p}),r.set(a,c)),c!==void 0){var f=N(c);return f===x?void 0:f}return Reflect.get(o,a,u)},getOwnPropertyDescriptor(o,a){var u=Reflect.getOwnPropertyDescriptor(o,a);if(u&&"value"in u){var c=r.get(a);c&&(u.value=N(c))}else if(u===void 0){var h=r.get(a),f=h?.v;if(h!==void 0&&f!==x)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return u},has(o,a){if(a===vt)return!0;var u=r.get(a),c=u!==void 0&&u.v!==x||Reflect.has(o,a);if(u!==void 0||b!==null&&(!c||ke(o,a)?.writable)){u===void 0&&(u=l(()=>{var f=c?ye(o[a]):x,d=H(f);return d}),r.set(a,u));var h=N(u);if(h===x)return!1}return c},set(o,a,u,c){var h=r.get(a),f=a in o;if(s&&a==="length")for(var d=u;d<h.v;d+=1){var p=r.get(d+"");p!==void 0?q(p,x):d in o&&(p=l(()=>H(x)),r.set(d+"",p))}if(h===void 0)(!f||ke(o,a)?.writable)&&(h=l(()=>H(void 0)),q(h,ye(u)),r.set(a,h));else{f=h.v!==x;var m=l(()=>ye(u));q(h,m)}var F=Reflect.getOwnPropertyDescriptor(o,a);if(F?.set&&F.set.call(c,u),!f){if(s&&typeof a=="string"){var Be=r.get("length"),Re=Number(a);Number.isInteger(Re)&&Re>=Be.v&&q(Be,Re+1)}Ce(n)}return!0},ownKeys(o){N(n);var a=Reflect.ownKeys(o).filter(h=>{var f=r.get(h);return f===void 0||f.v!==x});for(var[u,c]of r)c.v!==x&&!(u in o)&&a.push(u);return a},setPrototypeOf(){xn()}})}var ur,cr,fr,hr;function yt(){if(ur===void 0){ur=window,cr=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;fr=ke(e,"firstChild").get,hr=ke(e,"nextSibling").get,Ht(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Ht(r)&&(r.__t=void 0)}}function $t(t=""){return document.createTextNode(t)}function ie(t){return fr.call(t)}function le(t){return hr.call(t)}function tt(t,e){if(!R)return ie(t);var r=ie(_);return r===null&&(r=_.appendChild($t())),oe(r),r}function Zn(t){t.textContent=""}function dr(t){var e=g,r=b;A(null),Q(null);try{return t()}finally{A(e),Q(r)}}function Hn(t){b===null&&(g===null&&kn(),vn()),he&&bn()}function Un(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function U(t,e,r,s=!0){var n=b;n!==null&&(n.f&te)!==0&&(t|=te);var i={ctx:L,deps:null,nodes_start:null,nodes_end:null,f:t|C|O,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Le(i),i.f|=pt}catch(a){throw M(i),a}else e!==null&&xe(i);if(s){var l=i;if(r&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&ae)===0&&(l=l.first,(t&W)!==0&&(t&Ge)!==0&&l!==null&&(l.f|=Ge)),l!==null&&(l.parent=n,n!==null&&Un(l,n),g!==null&&(g.f&y)!==0&&(t&ee)===0)){var o=g;(o.effects??=[]).push(l)}}return i}function rt(){return g!==null&&!G}function Gn(t){const e=U(dt,null,!1);return T(e,$),e.teardown=t,e}function Qn(t){Hn();var e=b.f,r=!g&&(e&K)!==0&&(e&pt)===0;if(r){var s=L;(s.e??=[]).push(t)}else return pr(t)}function pr(t){return U(He|dn,t,!1)}function Wn(t){D.ensure();const e=U(ee|ae,t,!0);return()=>{M(e)}}function Yn(t){D.ensure();const e=U(ee|ae,t,!0);return(r={})=>new Promise(s=>{r.outro?nt(e,()=>{M(e),s(void 0)}):(M(e),s(void 0))})}function Vn(t){return U(He,t,!1)}function Xn(t){return U(bt|ae,t,!0)}function gr(t,e=0){return U(dt|e,t,!0)}function Jn(t,e=[],r=[],s=[],n=!1){Dn(s,e,r,i=>{U(n?He:dt,()=>t(...i.map(N)),!0)})}function Kn(t,e=0){var r=U(W|e,t,!0);return r}function ce(t,e=!0){return U(K|ae,t,!0,e)}function br(t){var e=t.teardown;if(e!==null){const r=he,s=g;xr(!0),A(null);try{e.call(null)}finally{xr(r),A(s)}}}function vr(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const n=r.ac;n!==null&&dr(()=>{n.abort(_e)});var s=r.next;(r.f&ee)!==0?r.parent=null:M(r,e),r=s}}function es(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&K)===0&&M(e),e=r}}function M(t,e=!0){var r=!1;(e||(t.f&Qt)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(kr(t.nodes_start,t.nodes_end),r=!0),vr(t,e&&!r),st(t,0),T(t,re);var s=t.transitions;if(s!==null)for(const i of s)i.stop();br(t);var n=t.parent;n!==null&&n.first!==null&&_r(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function kr(t,e){for(;t!==null;){var r=t===e?null:le(t);t.remove(),t=r}}function _r(t){var e=t.parent,r=t.prev,s=t.next;r!==null&&(r.next=s),s!==null&&(s.prev=r),e!==null&&(e.first===t&&(e.first=s),e.last===t&&(e.last=r))}function nt(t,e,r=!0){var s=[];mr(t,s,!0),ts(s,()=>{r&&M(t),e&&e()})}function ts(t,e){var r=t.length;if(r>0){var s=()=>--r||e();for(var n of t)n.out(s)}else e()}function mr(t,e,r){if((t.f&te)===0){if(t.f^=te,t.transitions!==null)for(const l of t.transitions)(l.is_global||r)&&e.push(l);for(var s=t.first;s!==null;){var n=s.next,i=(s.f&Ge)!==0||(s.f&K)!==0&&(t.f&W)!==0;mr(s,e,i?r:!1),s=n}}}function rs(t,e){for(var r=t.nodes_start,s=t.nodes_end;r!==null;){var n=r===s?null:le(r);e.append(r),r=n}}let fe=!1;function wr(t){fe=t}let he=!1;function xr(t){he=t}let g=null,G=!1;function A(t){g=t}let b=null;function Q(t){b=t}let X=null;function ns(t){g!==null&&(X===null?X=[t]:X.push(t))}let S=null,z=0,I=null;function ss(t){I=t}let yr=1,Pe=0,de=Pe;function $r(t){de=t}function Rr(){return++yr}function ze(t){var e=t.f;if((e&C)!==0)return!0;if(e&y&&(t.f&=~Se),(e&Y)!==0){var r=t.deps;if(r!==null)for(var s=r.length,n=0;n<s;n++){var i=r[n];if(ze(i)&&lr(i),i.wv>t.wv)return!0}(e&O)!==0&&P===null&&T(t,$)}return!1}function Sr(t,e,r=!0){var s=t.reactions;if(s!==null&&!X?.includes(t))for(var n=0;n<s.length;n++){var i=s[n];(i.f&y)!==0?Sr(i,e,!1):e===i&&(r?T(i,C):(i.f&$)!==0&&T(i,Y),xe(i))}}function Tr(t){var e=S,r=z,s=I,n=g,i=X,l=L,o=G,a=de,u=t.f;S=null,z=0,I=null,g=(u&(K|ee))===0?t:null,X=null,me(t.ctx),G=!1,de=++Pe,t.ac!==null&&(dr(()=>{t.ac.abort(_e)}),t.ac=null);try{t.f|=gt;var c=t.fn,h=c(),f=t.deps;if(S!==null){var d;if(st(t,z),f!==null&&z>0)for(f.length=z+S.length,d=0;d<S.length;d++)f[z+d]=S[d];else t.deps=f=S;if(fe&&rt()&&(t.f&O)!==0)for(d=z;d<f.length;d++)(f[d].reactions??=[]).push(t)}else f!==null&&z<f.length&&(st(t,z),f.length=z);if(Xt()&&I!==null&&!G&&f!==null&&(t.f&(y|Y|C))===0)for(d=0;d<I.length;d++)Sr(I[d],t);return n!==null&&n!==t&&(Pe++,I!==null&&(s===null?s=I:s.push(...I))),(t.f&ne)!==0&&(t.f^=ne),h}catch(p){return Kt(p)}finally{t.f^=gt,S=e,z=r,I=s,g=n,X=i,me(l),G=o,de=a}}function is(t,e){let r=e.reactions;if(r!==null){var s=an.call(r,t);if(s!==-1){var n=r.length-1;n===0?r=e.reactions=null:(r[s]=r[n],r.pop())}}r===null&&(e.f&y)!==0&&(S===null||!S.includes(e))&&(T(e,Y),(e.f&O)!==0&&(e.f^=O,e.f&=~Se),ir(e),st(e,0))}function st(t,e){var r=t.deps;if(r!==null)for(var s=e;s<r.length;s++)is(t,r[s])}function Le(t){var e=t.f;if((e&re)===0){T(t,$);var r=b,s=fe;b=t,fe=!0;try{(e&W)!==0?es(t):vr(t),br(t);var n=Tr(t);t.teardown=typeof n=="function"?n:null,t.wv=yr;var i;Zt&&Cn&&(t.f&C)!==0&&t.deps}finally{fe=s,b=r}}}function N(t){var e=t.f,r=(e&y)!==0;if(g!==null&&!G){var s=b!==null&&(b.f&re)!==0;if(!s&&!X?.includes(t)){var n=g.deps;if((g.f>)!==0)t.rv<Pe&&(t.rv=Pe,S===null&&n!==null&&n[z]===t?z++:S===null?S=[t]:S.includes(t)||S.push(t));else{(g.deps??=[]).push(t);var i=t.reactions;i===null?t.reactions=[g]:i.includes(g)||i.push(g)}}}if(he){if(se.has(t))return se.get(t);if(r){var l=t,o=l.v;return((l.f&$)===0&&l.reactions!==null||Ar(l))&&(o=wt(l)),se.set(l,o),o}}else if(r){if(l=t,P?.has(l))return P.get(l);ze(l)&&lr(l),fe&&rt()&&(l.f&O)===0&&Er(l)}else if(P?.has(t))return P.get(t);if((t.f&ne)!==0)throw t.v;return t.v}function Er(t){if(t.deps!==null){t.f^=O;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&y)!==0&&(e.f&O)===0&&Er(e)}}function Ar(t){if(t.v===x)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(se.has(e)||(e.f&y)!==0&&Ar(e))return!0;return!1}function ls(t){var e=G;try{return G=!0,t()}finally{G=e}}const as=-7169;function T(t,e){t.f=t.f&as|e}const os=new Set,Cr=new Set;let Pr=null;function it(t){var e=this,r=e.ownerDocument,s=t.type,n=t.composedPath?.()||[],i=n[0]||t.target;Pr=t;var l=0,o=Pr===t&&t.__root;if(o){var a=n.indexOf(o);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var u=n.indexOf(e);if(u===-1)return;a<=u&&(l=a)}if(i=n[l]||t.target,i!==e){Ze(t,"currentTarget",{configurable:!0,get(){return i||r}});var c=g,h=b;A(null),Q(null);try{for(var f,d=[];i!==null;){var p=i.assignedSlot||i.parentNode||i.host||null;try{var m=i["__"+s];m!=null&&(!i.disabled||t.target===i)&&m.call(i,t)}catch(F){f?d.push(F):f=F}if(t.cancelBubble||p===e||p===null)break;i=p}if(f){for(let F of d)queueMicrotask(()=>{throw F});throw f}}finally{t.__root=e,delete t.currentTarget,A(c),Q(h)}}}function zr(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function Ie(t,e){var r=b;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function us(t,e){var r=(e&sn)!==0,s,n=!t.startsWith("<!>");return()=>{if(R)return Ie(_,null),_;s===void 0&&(s=zr(n?t:"<!>"+t),s=ie(s));var i=r||cr?document.importNode(s,!0):s.cloneNode(!0);return Ie(i,i),i}}function Lr(t,e){if(R){b.nodes_end=_,Ye();return}t!==null&&t.before(e)}const cs=["touchstart","touchmove"];function fs(t){return cs.includes(t)}function Ir(t,e){return Nr(t,e)}function hs(t,e){yt(),e.intro=e.intro??!1;const r=e.target,s=R,n=_;try{for(var i=ie(r);i&&(i.nodeType!==Te||i.data!==Bt);)i=le(i);if(!i)throw ve;We(!0),oe(i);const l=Nr(t,{...e,anchor:i});return We(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw l;return l!==ve&&console.warn("Failed to hydrate: ",l),e.recover===!1&&mn(),yt(),Zn(r),We(!1),Ir(t,e)}finally{We(s),oe(n)}}const $e=new Map;function Nr(t,{target:e,anchor:r,props:s={},events:n,context:i,intro:l=!0}){yt();var o=new Set,a=h=>{for(var f=0;f<h.length;f++){var d=h[f];if(!o.has(d)){o.add(d);var p=fs(d);e.addEventListener(d,it,{passive:p});var m=$e.get(d);m===void 0?(document.addEventListener(d,it,{passive:p}),$e.set(d,1)):$e.set(d,m+1)}}};a(on(os)),Cr.add(a);var u=void 0,c=Yn(()=>{var h=r??e.appendChild($t());return Nn(h,{pending:()=>{}},f=>{if(i){Yt({});var d=L;d.c=i}if(n&&(s.$$events=n),R&&Ie(f,null),u=t(f,s)||{},R&&(b.nodes_end=_,_===null||_.nodeType!==Te||_.data!==Ft))throw Qe(),ve;i&&Vt()}),()=>{for(var f of o){e.removeEventListener(f,it);var d=$e.get(f);--d===0?(document.removeEventListener(f,it),$e.delete(f)):$e.set(f,d)}Cr.delete(a),h!==r&&h.parentNode?.removeChild(h)}});return Rt.set(u,c),u}let Rt=new WeakMap;function ds(t,e){const r=Rt.get(t);return r?(Rt.delete(t),r(e)):Promise.resolve()}function ps(t,e,r=!1,s=!1,n=!1){var i=t,l="";Jn(()=>{var o=b;if(l===(l=e()??"")){R&&Ye();return}if(o.nodes_start!==null&&(kr(o.nodes_start,o.nodes_end),o.nodes_start=o.nodes_end=null),l!==""){if(R){_.data;for(var a=Ye(),u=a;a!==null&&(a.nodeType!==Te||a.data!=="");)u=a,a=le(a);if(a===null)throw Qe(),ve;Ie(_,u),i=oe(a);return}var c=l+"";r?c=`<svg>${c}</svg>`:s&&(c=`<math>${c}</math>`);var h=zr(c);if((r||s)&&(h=ie(h)),Ie(ie(h),h.lastChild),r||s)for(;ie(h);)i.before(ie(h));else i.before(h)}})}function gs(t,e){Vn(()=>{var r=t.getRootNode(),s=r.host?r:r.head??r.ownerDocument.head;if(!s.querySelector("#"+e.hash)){const n=document.createElement("style");n.id=e.hash,n.textContent=e.code,s.appendChild(n)}})}function Or(t,e,r,s){var n=s,i=!0,l=()=>(i&&(i=!1,n=s),n),o;o=t[e],o===void 0&&s!==void 0&&(o=l());var a;a=()=>{var f=t[e];return f===void 0?l():(i=!0,f)};var u=!1,c=sr(()=>(u=!1,a())),h=b;return(function(f,d){if(arguments.length>0){const p=d?N(c):f;return q(c,p),u=!0,n!==void 0&&(n=p),f}return he&&u||(h.f&re)!==0?c.v:N(c)})}function bs(t){return new vs(t)}class vs{#t;#e;constructor(e){var r=new Map,s=(i,l)=>{var o=jn(l,!1,!1);return r.set(i,o),o};const n=new Proxy({...e.props||{},$$events:{}},{get(i,l){return N(r.get(l)??s(l,Reflect.get(i,l)))},has(i,l){return l===pn?!0:(N(r.get(l)??s(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,o){return q(r.get(l)??s(l,o),o),Reflect.set(i,l,o)}});this.#e=(e.hydrate?hs:Ir)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&mt(),this.#t=n.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Ze(this,i,{get(){return this.#e[i]},set(l){this.#e[i]=l},enumerable:!0});this.#e.$set=i=>{Object.assign(n,i)},this.#e.$destroy=()=>{ds(this.#e)}}$set(e){this.#e.$set(e)}$on(e,r){this.#t[e]=this.#t[e]||[];const s=(...n)=>r.call(this,...n);return this.#t[e].push(s),()=>{this.#t[e]=this.#t[e].filter(n=>n!==s)}}$destroy(){this.#e.$destroy()}}let Dr;typeof HTMLElement=="function"&&(Dr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const s=this.$$c.$on(t,e);this.$$l_u.set(e,s)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const s=this.$$l_u.get(e);s&&(s(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(s){return n=>{const i=document.createElement("slot");s!=="default"&&(i.name=s),Lr(n,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=ks(this);for(const s of this.$$s)s in r&&(s==="default"&&!this.$$d.children?(this.$$d.children=t(s),e.default=!0):e[s]=t(s));for(const s of this.attributes){const n=this.$$g_p(s.name);n in this.$$d||(this.$$d[n]=lt(n,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=bs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Wn(()=>{gr(()=>{this.$$r=!0;for(const s of Fe(this.$$c)){if(!this.$$p_d[s]?.reflect)continue;this.$$d[s]=this.$$c[s];const n=lt(s,this.$$d[s],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,n)}this.$$r=!1})});for(const s in this.$$l)for(const n of this.$$l[s]){const i=this.$$c.$on(s,n);this.$$l_u.set(n,i)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=lt(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Fe(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function lt(t,e,r,s){const n=r[t]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!s||!r[t])return e;if(s==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function ks(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function _s(t,e,r,s,n,i){let l=class extends Dr{constructor(){super(t,r,n),this.$$p_d=e}static get observedAttributes(){return Fe(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Fe(e).forEach(o=>{Ze(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(a){a=lt(o,a,e),this.$$d[o]=a;var u=this.$$c;if(u){var c=ke(u,o)?.get;c?u[o]=a:u.$set({[o]:a})}}})}),s.forEach(o=>{Ze(l.prototype,o,{get(){return this.$$c?.[o]}})}),t.element=l,l}var pe={},qr;function ms(){if(qr)return pe;qr=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.LanguageTranslator=void 0,pe.getChildStyleToPass=t,pe.addComponent=e;function t(s,n){var i,l,o="";try{if(s&&n?.length&&(!((i=Object.keys(s))===null||i===void 0)&&i.length)&&(!((l=n?.filter(function(f){return Object.keys(s).includes(f.name)}))===null||l===void 0)&&l.length))for(var a=function(f){var d=n?.filter(function(p){return p.name===f&&p.defaultValue!==s[f]});d&&(o+="".concat(f,":").concat(s[f],";"))},u=0,c=Object.keys(s);u<c.length;u++){var h=c[u];a(h)}}catch(f){console.error("error getting child style to pass",f)}finally{return o}}function e(s){var n,i=((n=s?.repoName.split("/"))===null||n===void 0?void 0:n[1])||s?.repoName;if(!i)throw new Error("wrong componentPath "+s?.repoName);if(!s?.version)throw new Error("wrong version "+s?.version);var l=s?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var o=document.createElement("script");if(o.id=i+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(s.repoName,"@").concat(s.version,"/").concat(l),s?.local)o.src="".concat(s.local);else if(location.href.includes("localhost:6006")){var a=i.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(i.replace(a+"-",""),"/").concat(l)}document.head.appendChild(o)}catch(u){console.warn(u)}}var r=(function(){function s(n){if(this.lang="",!n?.dictionary)throw new Error("no dictionary provided");this.dictionary=n.dictionary,this.setLang(n?.lang)}return s.prototype.setLang=function(n){n||(n=s.getDefaultLang()),this.lang=n},s.prototype.translateWord=function(n,i){return s.getDictionaryWord(n,this.dictionary,i||this.lang)},s.prototype.translateDate=function(n,i,l){return s.formatDate(n,i,l||this.lang)},s.getDefaultLang=function(){var n,i,l,o="en";return navigator?.languages&&(!((l=(i=(n=navigator.languages[0])===null||n===void 0?void 0:n.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||l===void 0)&&l.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},s.getDictionaryWord=function(n,i,l){var o;if(!n)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(l&&(!((o=i[l])===null||o===void 0)&&o[n]))return i[l][n];var a="",u=s.getDefaultLang();if(!l||u!==l){var c=i?.[u];c?.[n]&&(a=c[n])}return a},s.formatDate=function(n,i,l){if(!n)throw new Error("no date provided");if(typeof n.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(l||s.getDefaultLang(),i);return o.format(n)},s})();return pe.LanguageTranslator=r,pe}ms();function St(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ge=St();function Mr(t){ge=t}var Ne={exec:()=>null};function v(t,e=""){let r=typeof t=="string"?t:t.source,s={replace:(n,i)=>{let l=typeof i=="string"?i:i.source;return l=l.replace(E.caret,"$1"),r=r.replace(n,l),s},getRegex:()=>new RegExp(r,e)};return s}var ws=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),E={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},xs=/^(?:[ \t]*(?:\n|$))+/,ys=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,$s=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Oe=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Rs=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Tt=/(?:[*+-]|\d{1,9}[.)])/,Br=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,jr=v(Br).replace(/bull/g,Tt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Ss=v(Br).replace(/bull/g,Tt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Et=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ts=/^[^\n]+/,At=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Es=v(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",At).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),As=v(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Tt).getRegex(),at="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ct=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Cs=v("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Ct).replace("tag",at).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Fr=v(Et).replace("hr",Oe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",at).getRegex(),Ps=v(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Fr).getRegex(),Pt={blockquote:Ps,code:ys,def:Es,fences:$s,heading:Rs,hr:Oe,html:Cs,lheading:jr,list:As,newline:xs,paragraph:Fr,table:Ne,text:Ts},Zr=v("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Oe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",at).getRegex(),zs={...Pt,lheading:Ss,table:Zr,paragraph:v(Et).replace("hr",Oe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Zr).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",at).getRegex()},Ls={...Pt,html:v(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ct).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ne,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(Et).replace("hr",Oe).replace("heading",` *#{1,6} *[^
|
|
3
|
+
]`).replace("lheading",jr).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Is=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ns=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Hr=/^( {2,}|\\)\n(?!\s*$)/,Os=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ot=/[\p{P}\p{S}]/u,zt=/[\s\p{P}\p{S}]/u,Ur=/[^\s\p{P}\p{S}]/u,Ds=v(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,zt).getRegex(),Gr=/(?!~)[\p{P}\p{S}]/u,qs=/(?!~)[\s\p{P}\p{S}]/u,Ms=/(?:[^\s\p{P}\p{S}]|~)/u,Bs=v(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",ws?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Qr=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,js=v(Qr,"u").replace(/punct/g,ot).getRegex(),Fs=v(Qr,"u").replace(/punct/g,Gr).getRegex(),Wr="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Zs=v(Wr,"gu").replace(/notPunctSpace/g,Ur).replace(/punctSpace/g,zt).replace(/punct/g,ot).getRegex(),Hs=v(Wr,"gu").replace(/notPunctSpace/g,Ms).replace(/punctSpace/g,qs).replace(/punct/g,Gr).getRegex(),Us=v("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Ur).replace(/punctSpace/g,zt).replace(/punct/g,ot).getRegex(),Gs=v(/\\(punct)/,"gu").replace(/punct/g,ot).getRegex(),Qs=v(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ws=v(Ct).replace("(?:-->|$)","-->").getRegex(),Ys=v("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Ws).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ut=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Vs=v(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ut).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Yr=v(/^!?\[(label)\]\[(ref)\]/).replace("label",ut).replace("ref",At).getRegex(),Vr=v(/^!?\[(ref)\](?:\[\])?/).replace("ref",At).getRegex(),Xs=v("reflink|nolink(?!\\()","g").replace("reflink",Yr).replace("nolink",Vr).getRegex(),Xr=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Lt={_backpedal:Ne,anyPunctuation:Gs,autolink:Qs,blockSkip:Bs,br:Hr,code:Ns,del:Ne,emStrongLDelim:js,emStrongRDelimAst:Zs,emStrongRDelimUnd:Us,escape:Is,link:Vs,nolink:Vr,punctuation:Ds,reflink:Yr,reflinkSearch:Xs,tag:Ys,text:Os,url:Ne},Js={...Lt,link:v(/^!?\[(label)\]\((.*?)\)/).replace("label",ut).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ut).getRegex()},It={...Lt,emStrongRDelimAst:Hs,emStrongLDelim:Fs,url:v(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Xr).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:v(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Xr).getRegex()},Ks={...It,br:v(Hr).replace("{2,}","*").getRegex(),text:v(It.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ct={normal:Pt,gfm:zs,pedantic:Ls},De={normal:Lt,gfm:It,breaks:Ks,pedantic:Js},ei={"&":"&","<":"<",">":">",'"':""","'":"'"},Jr=t=>ei[t];function J(t,e){if(e){if(E.escapeTest.test(t))return t.replace(E.escapeReplace,Jr)}else if(E.escapeTestNoEncode.test(t))return t.replace(E.escapeReplaceNoEncode,Jr);return t}function Kr(t){try{t=encodeURI(t).replace(E.percentDecode,"%")}catch{return null}return t}function en(t,e){let r=t.replace(E.findPipe,(i,l,o)=>{let a=!1,u=l;for(;--u>=0&&o[u]==="\\";)a=!a;return a?"|":" |"}),s=r.split(E.splitPipe),n=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;n<s.length;n++)s[n]=s[n].trim().replace(E.slashPipe,"|");return s}function qe(t,e,r){let s=t.length;if(s===0)return"";let n=0;for(;n<s&&t.charAt(s-n-1)===e;)n++;return t.slice(0,s-n)}function ti(t,e){if(t.indexOf(e[1])===-1)return-1;let r=0;for(let s=0;s<t.length;s++)if(t[s]==="\\")s++;else if(t[s]===e[0])r++;else if(t[s]===e[1]&&(r--,r<0))return s;return r>0?-2:-1}function tn(t,e,r,s,n){let i=e.href,l=e.title||null,o=t[1].replace(n.other.outputLinkReplace,"$1");s.state.inLink=!0;let a={type:t[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:l,text:o,tokens:s.inlineTokens(o)};return s.state.inLink=!1,a}function ri(t,e,r){let s=t.match(r.other.indentCodeCompensation);if(s===null)return e;let n=s[1];return e.split(`
|
|
4
|
+
`).map(i=>{let l=i.match(r.other.beginningSpace);if(l===null)return i;let[o]=l;return o.length>=n.length?i.slice(n.length):i}).join(`
|
|
5
|
+
`)}var ft=class{options;rules;lexer;constructor(t){this.options=t||ge}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let r=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:qe(r,`
|
|
6
|
+
`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let r=e[0],s=ri(r,e[3]||"",this.rules);return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:s}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let r=e[2].trim();if(this.rules.other.endingHash.test(r)){let s=qe(r,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(r=s.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:qe(e[0],`
|
|
7
|
+
`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let r=qe(e[0],`
|
|
9
8
|
`).split(`
|
|
10
|
-
`),
|
|
9
|
+
`),s="",n="",i=[];for(;r.length>0;){let l=!1,o=[],a;for(a=0;a<r.length;a++)if(this.rules.other.blockquoteStart.test(r[a]))o.push(r[a]),l=!0;else if(!l)o.push(r[a]);else break;r=r.slice(a);let u=o.join(`
|
|
11
10
|
`),c=u.replace(this.rules.other.blockquoteSetextReplace,`
|
|
12
|
-
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");
|
|
13
|
-
${u}`:u,
|
|
14
|
-
${c}`:c;
|
|
15
|
-
`+
|
|
16
|
-
`),
|
|
17
|
-
`+
|
|
18
|
-
`),
|
|
19
|
-
`);continue}}return{type:"blockquote",raw:
|
|
20
|
-
`,1)[0].replace(this.rules.other.listReplaceTabs,
|
|
11
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
|
|
12
|
+
${u}`:u,n=n?`${n}
|
|
13
|
+
${c}`:c;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=h,r.length===0)break;let f=i.at(-1);if(f?.type==="code")break;if(f?.type==="blockquote"){let d=f,p=d.raw+`
|
|
14
|
+
`+r.join(`
|
|
15
|
+
`),m=this.blockquote(p);i[i.length-1]=m,s=s.substring(0,s.length-d.raw.length)+m.raw,n=n.substring(0,n.length-d.text.length)+m.text;break}else if(f?.type==="list"){let d=f,p=d.raw+`
|
|
16
|
+
`+r.join(`
|
|
17
|
+
`),m=this.list(p);i[i.length-1]=m,s=s.substring(0,s.length-f.raw.length)+m.raw,n=n.substring(0,n.length-d.raw.length)+m.raw,r=p.substring(i.at(-1).raw.length).split(`
|
|
18
|
+
`);continue}}return{type:"blockquote",raw:s,tokens:i,text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim(),s=r.length>1,n={type:"list",raw:"",ordered:s,start:s?+r.slice(0,-1):"",loose:!1,items:[]};r=s?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=s?r:"[*+-]");let i=this.rules.other.listItemRegex(r),l=!1;for(;t;){let a=!1,u="",c="";if(!(e=i.exec(t))||this.rules.block.hr.test(t))break;u=e[0],t=t.substring(u.length);let h=e[2].split(`
|
|
19
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,F=>" ".repeat(3*F.length)),f=t.split(`
|
|
21
20
|
`,1)[0],d=!h.trim(),p=0;if(this.options.pedantic?(p=2,c=h.trimStart()):d?p=e[1].length+1:(p=e[2].search(this.rules.other.nonSpaceChar),p=p>4?1:p,c=h.slice(p),p+=e[1].length),d&&this.rules.other.blankLine.test(f)&&(u+=f+`
|
|
22
|
-
`,t=t.substring(f.length+1),
|
|
23
|
-
`,1)[0];
|
|
24
|
-
`+
|
|
25
|
-
`+f}!d&&!f.trim()&&(d=!0),u+=
|
|
26
|
-
`,t=t.substring(
|
|
27
|
-
`):[],
|
|
28
|
-
`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:
|
|
29
|
-
`),this.blockTokens(e,this.tokens);for(let
|
|
30
|
-
`:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
`+
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
`+
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
21
|
+
`,t=t.substring(f.length+1),a=!0),!a){let F=this.rules.other.nextBulletRegex(p),Be=this.rules.other.hrRegex(p),Re=this.rules.other.fencesBeginRegex(p),nn=this.rules.other.headingBeginRegex(p),li=this.rules.other.htmlBeginRegex(p);for(;t;){let Ot=t.split(`
|
|
22
|
+
`,1)[0],je;if(f=Ot,this.options.pedantic?(f=f.replace(this.rules.other.listReplaceNesting," "),je=f):je=f.replace(this.rules.other.tabCharGlobal," "),Re.test(f)||nn.test(f)||li.test(f)||F.test(f)||Be.test(f))break;if(je.search(this.rules.other.nonSpaceChar)>=p||!f.trim())c+=`
|
|
23
|
+
`+je.slice(p);else{if(d||h.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||Re.test(h)||nn.test(h)||Be.test(h))break;c+=`
|
|
24
|
+
`+f}!d&&!f.trim()&&(d=!0),u+=Ot+`
|
|
25
|
+
`,t=t.substring(Ot.length+1),h=je.slice(p)}}n.loose||(l?n.loose=!0:this.rules.other.doubleBlankLine.test(u)&&(l=!0));let m=null;this.options.gfm&&(m=this.rules.other.listIsTask.exec(c),m&&(c=c.replace(this.rules.other.listReplaceTask,""))),n.items.push({type:"list_item",raw:u,task:!!m,loose:!1,text:c,tokens:[]}),n.raw+=u}let o=n.items.at(-1);if(o)o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd();else return;n.raw=n.raw.trimEnd();for(let a of n.items){if(this.lexer.state.top=!1,a.tokens=this.lexer.blockTokens(a.text,[]),a.task){let u=this.rules.other.listTaskCheckbox.exec(a.raw);if(u){let c={type:"checkbox",raw:u[0]+" ",checked:u[0]!=="[ ]"};a.checked=c.checked,n.loose?a.tokens[0]&&["paragraph","text"].includes(a.tokens[0].type)&&"tokens"in a.tokens[0]&&a.tokens[0].tokens?(a.tokens[0].raw=c.raw+a.tokens[0].raw,a.tokens[0].text=c.raw+a.tokens[0].text,a.tokens[0].tokens.unshift(c)):a.tokens.unshift({type:"paragraph",raw:c.raw,text:c.raw,tokens:[c]}):a.tokens.unshift(c)}}if(!n.loose){let u=a.tokens.filter(h=>h.type==="space"),c=u.length>0&&u.some(h=>this.rules.other.anyLine.test(h.raw));n.loose=c}}if(n.loose)for(let a of n.items){a.loose=!0;for(let u of a.tokens)u.type==="text"&&(u.type="paragraph")}return n}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let r=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:r,raw:e[0],href:s,title:n}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let r=en(e[1]),s=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),n=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
26
|
+
`):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===s.length){for(let l of s)this.rules.other.tableAlignRight.test(l)?i.align.push("right"):this.rules.other.tableAlignCenter.test(l)?i.align.push("center"):this.rules.other.tableAlignLeft.test(l)?i.align.push("left"):i.align.push(null);for(let l=0;l<r.length;l++)i.header.push({text:r[l],tokens:this.lexer.inline(r[l]),header:!0,align:i.align[l]});for(let l of n)i.rows.push(en(l,i.header.length).map((o,a)=>({text:o,tokens:this.lexer.inline(o),header:!1,align:i.align[a]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let r=e[1].charAt(e[1].length-1)===`
|
|
27
|
+
`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let r=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let i=qe(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{let i=ti(e[2],"()");if(i===-2)return;if(i>-1){let l=(e[0].indexOf("!")===0?5:4)+e[1].length+i;e[2]=e[2].substring(0,i),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let s=e[2],n="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(s);i&&(s=i[1],n=i[3])}else n=e[3]?e[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?s=s.slice(1):s=s.slice(1,-1)),tn(e,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let s=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=e[s.toLowerCase()];if(!n){let i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return tn(r,n,r[0],this.lexer,this.rules)}}emStrong(t,e,r=""){let s=this.rules.inline.emStrongLDelim.exec(t);if(!(!s||s[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(s[1]||s[2])||!r||this.rules.inline.punctuation.exec(r))){let n=[...s[0]].length-1,i,l,o=n,a=0,u=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,e=e.slice(-1*t.length+n);(s=u.exec(e))!=null;){if(i=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!i)continue;if(l=[...i].length,s[3]||s[4]){o+=l;continue}else if((s[5]||s[6])&&n%3&&!((n+l)%3)){a+=l;continue}if(o-=l,o>0)continue;l=Math.min(l,l+o+a);let c=[...s[0]][0].length,h=t.slice(0,n+s.index+c+l);if(Math.min(n,l)%2){let d=h.slice(1,-1);return{type:"em",raw:h,text:d,tokens:this.lexer.inlineTokens(d)}}let f=h.slice(2,-2);return{type:"strong",raw:h,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let r=e[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(r),n=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return s&&n&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:e[0],text:r}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let r,s;return e[2]==="@"?(r=e[1],s="mailto:"+r):(r=e[1],s=r),{type:"link",raw:e[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let r,s;if(e[2]==="@")r=e[0],s="mailto:"+r;else{let n;do n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(n!==e[0]);r=e[0],e[1]==="www."?s="http://"+e[0]:s=e[0]}return{type:"link",raw:e[0],text:r,href:s,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let r=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:r}}}},B=class Dt{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ge,this.options.tokenizer=this.options.tokenizer||new ft,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:E,block:ct.normal,inline:De.normal};this.options.pedantic?(r.block=ct.pedantic,r.inline=De.pedantic):this.options.gfm&&(r.block=ct.gfm,this.options.breaks?r.inline=De.breaks:r.inline=De.gfm),this.tokenizer.rules=r}static get rules(){return{block:ct,inline:De}}static lex(e,r){return new Dt(r).lex(e)}static lexInline(e,r){return new Dt(r).inlineTokens(e)}lex(e){e=e.replace(E.carriageReturn,`
|
|
28
|
+
`),this.blockTokens(e,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let s=this.inlineQueue[r];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,r=[],s=!1){for(this.options.pedantic&&(e=e.replace(E.tabCharGlobal," ").replace(E.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some(l=>(n=l.call({lexer:this},e,r))?(e=e.substring(n.raw.length),r.push(n),!0):!1))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let l=r.at(-1);n.raw.length===1&&l!==void 0?l.raw+=`
|
|
29
|
+
`:r.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let l=r.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
|
|
30
|
+
`)?"":`
|
|
31
|
+
`)+n.raw,l.text+=`
|
|
32
|
+
`+n.text,this.inlineQueue.at(-1).src=l.text):r.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);let l=r.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
|
|
33
|
+
`)?"":`
|
|
34
|
+
`)+n.raw,l.text+=`
|
|
35
|
+
`+n.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title},r.push(n));continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),r.push(n);continue}let i=e;if(this.options.extensions?.startBlock){let l=1/0,o=e.slice(1),a;this.options.extensions.startBlock.forEach(u=>{a=u.call({lexer:this},o),typeof a=="number"&&a>=0&&(l=Math.min(l,a))}),l<1/0&&l>=0&&(i=e.substring(0,l+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){let l=r.at(-1);s&&l?.type==="paragraph"?(l.raw+=(l.raw.endsWith(`
|
|
36
|
+
`)?"":`
|
|
37
|
+
`)+n.raw,l.text+=`
|
|
38
|
+
`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):r.push(n),s=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let l=r.at(-1);l?.type==="text"?(l.raw+=(l.raw.endsWith(`
|
|
39
|
+
`)?"":`
|
|
40
|
+
`)+n.raw,l.text+=`
|
|
41
|
+
`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):r.push(n);continue}if(e){let l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let s=e,n=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(n=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)a.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(n=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,n.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(n=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)i=n[2]?n[2].length:0,s=s.slice(0,n.index+i)+"["+"a".repeat(n[0].length-i-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);s=this.options.hooks?.emStrongMask?.call({lexer:this},s)??s;let l=!1,o="";for(;e;){l||(o=""),l=!1;let a;if(this.options.extensions?.inline?.some(c=>(a=c.call({lexer:this},e,r))?(e=e.substring(a.raw.length),r.push(a),!0):!1))continue;if(a=this.tokenizer.escape(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.tag(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.link(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(a.raw.length);let c=r.at(-1);a.type==="text"&&c?.type==="text"?(c.raw+=a.raw,c.text+=a.text):r.push(a);continue}if(a=this.tokenizer.emStrong(e,s,o)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.codespan(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.br(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.del(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.autolink(e)){e=e.substring(a.raw.length),r.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(e))){e=e.substring(a.raw.length),r.push(a);continue}let u=e;if(this.options.extensions?.startInline){let c=1/0,h=e.slice(1),f;this.options.extensions.startInline.forEach(d=>{f=d.call({lexer:this},h),typeof f=="number"&&f>=0&&(c=Math.min(c,f))}),c<1/0&&c>=0&&(u=e.substring(0,c+1))}if(a=this.tokenizer.inlineText(u)){e=e.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(o=a.raw.slice(-1)),l=!0;let c=r.at(-1);c?.type==="text"?(c.raw+=a.raw,c.text+=a.text):r.push(a);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return r}},ht=class{options;parser;constructor(t){this.options=t||ge}space(t){return""}code({text:t,lang:e,escaped:r}){let s=(e||"").match(E.notSpaceStart)?.[0],n=t.replace(E.endingNewline,"")+`
|
|
42
|
+
`;return s?'<pre><code class="language-'+J(s)+'">'+(r?n:J(n,!0))+`</code></pre>
|
|
43
|
+
`:"<pre><code>"+(r?n:J(n,!0))+`</code></pre>
|
|
41
44
|
`}blockquote({tokens:t}){return`<blockquote>
|
|
42
45
|
${this.parser.parse(t)}</blockquote>
|
|
43
|
-
`}html({text:t}){return t}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>
|
|
46
|
+
`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>
|
|
44
47
|
`}hr(t){return`<hr>
|
|
45
|
-
`}list(t){
|
|
46
|
-
`+
|
|
47
|
-
`}listitem(t){
|
|
48
|
-
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
|
|
49
|
-
`}table(t){let e="",
|
|
48
|
+
`}list(t){let e=t.ordered,r=t.start,s="";for(let l=0;l<t.items.length;l++){let o=t.items[l];s+=this.listitem(o)}let n=e?"ol":"ul",i=e&&r!==1?' start="'+r+'"':"";return"<"+n+i+`>
|
|
49
|
+
`+s+"</"+n+`>
|
|
50
|
+
`}listitem(t){return`<li>${this.parser.parse(t.tokens)}</li>
|
|
51
|
+
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
|
|
52
|
+
`}table(t){let e="",r="";for(let n=0;n<t.header.length;n++)r+=this.tablecell(t.header[n]);e+=this.tablerow({text:r});let s="";for(let n=0;n<t.rows.length;n++){let i=t.rows[n];r="";for(let l=0;l<i.length;l++)r+=this.tablecell(i[l]);s+=this.tablerow({text:r})}return s&&(s=`<tbody>${s}</tbody>`),`<table>
|
|
50
53
|
<thead>
|
|
51
54
|
`+e+`</thead>
|
|
52
|
-
`+
|
|
55
|
+
`+s+`</table>
|
|
53
56
|
`}tablerow({text:t}){return`<tr>
|
|
54
57
|
${t}</tr>
|
|
55
|
-
`}tablecell(t){
|
|
56
|
-
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
@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;}.markdown-body.svelte-6ba5mg {color:inherit;font-size:1rem;line-height:1.6;tab-size:4;}
|
|
58
|
+
`}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>
|
|
59
|
+
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${J(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:r}){let s=this.parser.parseInline(r),n=Kr(t);if(n===null)return s;t=n;let i='<a href="'+t+'"';return e&&(i+=' title="'+J(e)+'"'),i+=">"+s+"</a>",i}image({href:t,title:e,text:r,tokens:s}){s&&(r=this.parser.parseInline(s,this.parser.textRenderer));let n=Kr(t);if(n===null)return J(r);t=n;let i=`<img src="${t}" alt="${r}"`;return e&&(i+=` title="${J(e)}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:J(t.text)}},Nt=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},j=class qt{options;renderer;textRenderer;constructor(e){this.options=e||ge,this.options.renderer=this.options.renderer||new ht,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Nt}static parse(e,r){return new qt(r).parse(e)}static parseInline(e,r){return new qt(r).parseInline(e)}parse(e){let r="";for(let s=0;s<e.length;s++){let n=e[s];if(this.options.extensions?.renderers?.[n.type]){let l=n,o=this.options.extensions.renderers[l.type].call({parser:this},l);if(o!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(l.type)){r+=o||"";continue}}let i=n;switch(i.type){case"space":{r+=this.renderer.space(i);break}case"hr":{r+=this.renderer.hr(i);break}case"heading":{r+=this.renderer.heading(i);break}case"code":{r+=this.renderer.code(i);break}case"table":{r+=this.renderer.table(i);break}case"blockquote":{r+=this.renderer.blockquote(i);break}case"list":{r+=this.renderer.list(i);break}case"checkbox":{r+=this.renderer.checkbox(i);break}case"html":{r+=this.renderer.html(i);break}case"def":{r+=this.renderer.def(i);break}case"paragraph":{r+=this.renderer.paragraph(i);break}case"text":{r+=this.renderer.text(i);break}default:{let l='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return r}parseInline(e,r=this.renderer){let s="";for(let n=0;n<e.length;n++){let i=e[n];if(this.options.extensions?.renderers?.[i.type]){let o=this.options.extensions.renderers[i.type].call({parser:this},i);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){s+=o||"";continue}}let l=i;switch(l.type){case"escape":{s+=r.text(l);break}case"html":{s+=r.html(l);break}case"link":{s+=r.link(l);break}case"image":{s+=r.image(l);break}case"checkbox":{s+=r.checkbox(l);break}case"strong":{s+=r.strong(l);break}case"em":{s+=r.em(l);break}case"codespan":{s+=r.codespan(l);break}case"br":{s+=r.br(l);break}case"del":{s+=r.del(l);break}case"text":{s+=r.text(l);break}default:{let o='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return s}},Me=class{options;block;constructor(t){this.options=t||ge}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?B.lex:B.lexInline}provideParser(){return this.block?j.parse:j.parseInline}},ni=class{defaults=St();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=j;Renderer=ht;TextRenderer=Nt;Lexer=B;Tokenizer=ft;Hooks=Me;constructor(...t){this.use(...t)}walkTokens(t,e){let r=[];for(let s of t)switch(r=r.concat(e.call(this,s)),s.type){case"table":{let n=s;for(let i of n.header)r=r.concat(this.walkTokens(i.tokens,e));for(let i of n.rows)for(let l of i)r=r.concat(this.walkTokens(l.tokens,e));break}case"list":{let n=s;r=r.concat(this.walkTokens(n.items,e));break}default:{let n=s;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(i=>{let l=n[i].flat(1/0);r=r.concat(this.walkTokens(l,e))}):n.tokens&&(r=r.concat(this.walkTokens(n.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{let s={...r};if(s.async=this.defaults.async||s.async||!1,r.extensions&&(r.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let i=e.renderers[n.name];i?e.renderers[n.name]=function(...l){let o=n.renderer.apply(this,l);return o===!1&&(o=i.apply(this,l)),o}:e.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=e[n.level];i?i.unshift(n.tokenizer):e[n.level]=[n.tokenizer],n.start&&(n.level==="block"?e.startBlock?e.startBlock.push(n.start):e.startBlock=[n.start]:n.level==="inline"&&(e.startInline?e.startInline.push(n.start):e.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(e.childTokens[n.name]=n.childTokens)}),s.extensions=e),r.renderer){let n=this.defaults.renderer||new ht(this.defaults);for(let i in r.renderer){if(!(i in n))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let l=i,o=r.renderer[l],a=n[l];n[l]=(...u)=>{let c=o.apply(n,u);return c===!1&&(c=a.apply(n,u)),c||""}}s.renderer=n}if(r.tokenizer){let n=this.defaults.tokenizer||new ft(this.defaults);for(let i in r.tokenizer){if(!(i in n))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let l=i,o=r.tokenizer[l],a=n[l];n[l]=(...u)=>{let c=o.apply(n,u);return c===!1&&(c=a.apply(n,u)),c}}s.tokenizer=n}if(r.hooks){let n=this.defaults.hooks||new Me;for(let i in r.hooks){if(!(i in n))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let l=i,o=r.hooks[l],a=n[l];Me.passThroughHooks.has(i)?n[l]=u=>{if(this.defaults.async&&Me.passThroughHooksRespectAsync.has(i))return(async()=>{let h=await o.call(n,u);return a.call(n,h)})();let c=o.call(n,u);return a.call(n,c)}:n[l]=(...u)=>{if(this.defaults.async)return(async()=>{let h=await o.apply(n,u);return h===!1&&(h=await a.apply(n,u)),h})();let c=o.apply(n,u);return c===!1&&(c=a.apply(n,u)),c}}s.hooks=n}if(r.walkTokens){let n=this.defaults.walkTokens,i=r.walkTokens;s.walkTokens=function(l){let o=[];return o.push(i.call(this,l)),n&&(o=o.concat(n.call(this,l))),o}}this.defaults={...this.defaults,...s}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return B.lex(t,e??this.defaults)}parser(t,e){return j.parse(t,e??this.defaults)}parseMarkdown(t){return(e,r)=>{let s={...r},n={...this.defaults,...s},i=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&s.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=t),n.async)return(async()=>{let l=n.hooks?await n.hooks.preprocess(e):e,o=await(n.hooks?await n.hooks.provideLexer():t?B.lex:B.lexInline)(l,n),a=n.hooks?await n.hooks.processAllTokens(o):o;n.walkTokens&&await Promise.all(this.walkTokens(a,n.walkTokens));let u=await(n.hooks?await n.hooks.provideParser():t?j.parse:j.parseInline)(a,n);return n.hooks?await n.hooks.postprocess(u):u})().catch(i);try{n.hooks&&(e=n.hooks.preprocess(e));let l=(n.hooks?n.hooks.provideLexer():t?B.lex:B.lexInline)(e,n);n.hooks&&(l=n.hooks.processAllTokens(l)),n.walkTokens&&this.walkTokens(l,n.walkTokens);let o=(n.hooks?n.hooks.provideParser():t?j.parse:j.parseInline)(l,n);return n.hooks&&(o=n.hooks.postprocess(o)),o}catch(l){return i(l)}}}onError(t,e){return r=>{if(r.message+=`
|
|
60
|
+
Please report this to https://github.com/markedjs/marked.`,t){let s="<p>An error occurred:</p><pre>"+J(r.message+"",!0)+"</pre>";return e?Promise.resolve(s):s}if(e)return Promise.reject(r);throw r}}},be=new ni;function k(t,e){return be.parse(t,e)}k.options=k.setOptions=function(t){return be.setOptions(t),k.defaults=be.defaults,Mr(k.defaults),k},k.getDefaults=St,k.defaults=ge,k.use=function(...t){return be.use(...t),k.defaults=be.defaults,Mr(k.defaults),k},k.walkTokens=function(t,e){return be.walkTokens(t,e)},k.parseInline=be.parseInline,k.Parser=j,k.parser=j.parse,k.Renderer=ht,k.TextRenderer=Nt,k.Lexer=B,k.lexer=B.lex,k.Tokenizer=ft,k.Hooks=Me,k.parse=k,k.options,k.setOptions,k.use,k.walkTokens,k.parseInline,j.parse,B.lex;var si=us('<div class="container-fluid svelte-6x087g"><div class="row svelte-6x087g"><div class="col-12 svelte-6x087g"><div id="markdown-content" class="markdown-body svelte-6x087g"><!></div></div></div></div>');const ii={hash:"svelte-6x087g",code:`@charset "UTF-8";
|
|
61
|
+
@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;}.markdown-body.svelte-6x087g {color:inherit;font-size:1rem;line-height:1.6;tab-size:4;}
|
|
60
62
|
/*!
|
|
61
63
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
62
64
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
63
65
|
* Copyright 2011-2021 Twitter, Inc.
|
|
64
66
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
65
|
-
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-
|
|
66
|
-
.svelte-
|
|
67
|
-
.svelte-
|
|
67
|
+
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-6x087g,
|
|
68
|
+
.svelte-6x087g::before,
|
|
69
|
+
.svelte-6x087g::after {box-sizing:border-box;}
|
|
68
70
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
69
71
|
}
|
|
70
72
|
@media (min-width: 1200px) {
|
|
@@ -74,15 +76,15 @@ Please report this to https://github.com/markedjs/marked.`,t){const r="<p>An err
|
|
|
74
76
|
@media (min-width: 1200px) {
|
|
75
77
|
}
|
|
76
78
|
@media (min-width: 1200px) {
|
|
77
|
-
}.svelte-
|
|
79
|
+
}.svelte-6x087g::-moz-focus-inner {padding:0;border-style:none;}
|
|
78
80
|
@media (min-width: 1200px) {
|
|
79
|
-
}.svelte-
|
|
80
|
-
.svelte-
|
|
81
|
-
.svelte-
|
|
82
|
-
.svelte-
|
|
83
|
-
.svelte-
|
|
84
|
-
.svelte-
|
|
85
|
-
.svelte-
|
|
81
|
+
}.svelte-6x087g::-webkit-datetime-edit-fields-wrapper,
|
|
82
|
+
.svelte-6x087g::-webkit-datetime-edit-text,
|
|
83
|
+
.svelte-6x087g::-webkit-datetime-edit-minute,
|
|
84
|
+
.svelte-6x087g::-webkit-datetime-edit-hour-field,
|
|
85
|
+
.svelte-6x087g::-webkit-datetime-edit-day-field,
|
|
86
|
+
.svelte-6x087g::-webkit-datetime-edit-month-field,
|
|
87
|
+
.svelte-6x087g::-webkit-datetime-edit-year-field {padding:0;}.svelte-6x087g::-webkit-inner-spin-button {height:auto;}
|
|
86
88
|
/* rtl:raw:
|
|
87
89
|
[type="tel"],
|
|
88
90
|
[type="url"],
|
|
@@ -90,7 +92,7 @@ Please report this to https://github.com/markedjs/marked.`,t){const r="<p>An err
|
|
|
90
92
|
[type="number"] {
|
|
91
93
|
direction: ltr;
|
|
92
94
|
}
|
|
93
|
-
*/.svelte-
|
|
95
|
+
*/.svelte-6x087g::-webkit-search-decoration {-webkit-appearance:none;}.svelte-6x087g::-webkit-color-swatch-wrapper {padding:0;}.svelte-6x087g::file-selector-button {font:inherit;-webkit-appearance:button;}
|
|
94
96
|
@media (min-width: 1200px) {
|
|
95
97
|
}
|
|
96
98
|
@media (min-width: 1200px) {
|
|
@@ -103,12 +105,12 @@ Please report this to https://github.com/markedjs/marked.`,t){const r="<p>An err
|
|
|
103
105
|
}
|
|
104
106
|
@media (min-width: 1200px) {
|
|
105
107
|
}
|
|
106
|
-
@keyframes svelte-
|
|
108
|
+
@keyframes svelte-6x087g-placeholder-glow {
|
|
107
109
|
50% {
|
|
108
110
|
opacity: 0.2;
|
|
109
111
|
}
|
|
110
112
|
}
|
|
111
|
-
@keyframes svelte-
|
|
113
|
+
@keyframes svelte-6x087g-placeholder-wave {
|
|
112
114
|
100% {
|
|
113
115
|
mask-position: -200% 0%;
|
|
114
116
|
}
|
|
@@ -140,11 +142,11 @@ Please report this to https://github.com/markedjs/marked.`,t){const r="<p>An err
|
|
|
140
142
|
@media (min-width: 1200px) {
|
|
141
143
|
}
|
|
142
144
|
@media print {
|
|
143
|
-
}`};function
|
|
145
|
+
}`};function rn(t,e){Yt(e,!0),gs(t,ii);let r=Or(e,"id",7,""),s=Or(e,"data",7,"{}");ye({});let n=H("");function i(f){if(!f)return"";let d=f.replace(/\r\n?/g,`
|
|
144
146
|
`);return d=d.replace(/\s\*\s+/g,`
|
|
145
147
|
* `),d=d.replace(/([\.:])\s+\*\*/g,`$1
|
|
146
148
|
|
|
147
149
|
**`),d=d.replace(/([^\n])\n\*\s/g,`$1
|
|
148
150
|
|
|
149
|
-
* `),d}
|
|
151
|
+
* `),d}k.setOptions({gfm:!0,breaks:!0,smartLists:!0}),Qn(()=>{if(typeof s()=="string")try{s(JSON.parse(s()))}catch(f){console.error("error parsing data",f)}try{const f=i(s()?.content??""),d=k.parse(f);q(n,d,!0)}catch(f){console.error("error rendering markdown",f),q(n,s()?.content??"",!0)}});var l={get id(){return r()},set id(f=""){r(f),mt()},get data(){return s()},set data(f="{}"){s(f),mt()}},o=si(),a=tt(o),u=tt(a),c=tt(u),h=tt(c);return ps(h,()=>N(n)),Ve(c),Ve(u),Ve(a),Ve(o),Lr(t,o),Vt(l)}customElements.define("hb-markdown-viewer",_s(rn,{id:{},data:{}},[],[],!0)),Mt.Component=rn,Object.defineProperty(Mt,Symbol.toStringTag,{value:"Module"})})(this["markdown-viewer"]=this["markdown-viewer"]||{});
|
|
150
152
|
//# sourceMappingURL=main.iife.js.map
|