utxo22-web/_app/chunks/Avatar-d8aeac0d.js

47 řádky
70 KiB
JavaScript

var Ye=Object.defineProperty;var $e=Object.getOwnPropertySymbols;var Je=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable;var be=(o,e,n)=>e in o?Ye(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,ce=(o,e)=>{for(var n in e||(e={}))Je.call(e,n)&&be(o,n,e[n]);if($e)for(var n of $e(e))et.call(e,n)&&be(o,n,e[n]);return o};import{v as Ge,S as D,i as q,s as O,l as w,g as k,n as T,o as m,p as y,q as p,d as c,T as we,C as ne,U as tt,w as I,x as Q,y as E,z as ae,A as fe,B as R,G as ue,k as X,m as K,t as re,h as se,j as oe,E as W,P as nt,O as Z,e as v,c as z,a as S,b as d,L as M,M as U,N as P,I as Y,F as G,V as lt,W as it,X as rt,r as st,K as me,Y as Ve}from"./index-24e5a832.js";function ot(){const o=console.warn;console.warn=e=>{e.includes("unknown prop")||e.includes("unexpected slot")||o(e)},Ge(()=>{console.warn=o})}function ve(o,e,n){const l=o.slice();return l[18]=e[n],l}function ze(o,e,n){const l=o.slice();return l[18]=e[n],l}function Se(o,e,n){const l=o.slice();return l[10]=e[n],l}function Ie(o,e,n){const l=o.slice();return l[13]=e[n],l[15]=n,l}function Ee(o,e,n){const l=o.slice();return l[16]=e[n],l[15]=n,l}function Re(o,e,n){const l=o.slice();return l[7]=e[n],l}function at(o){let e,n,l,t;const i=[ht,ct,ut],r=[];function a(s,f){return s[0]==="table"?0:s[0]==="list"?1:2}return e=a(o),n=r[e]=i[e](o),{c(){n.c(),l=w()},l(s){n.l(s),l=w()},m(s,f){r[e].m(s,f),k(s,l,f),t=!0},p(s,f){let u=e;e=a(s),e===u?r[e].p(s,f):(T(),m(r[u],1,1,()=>{r[u]=null}),y(),n=r[e],n?n.p(s,f):(n=r[e]=i[e](s),n.c()),p(n,1),n.m(l.parentNode,l))},i(s){t||(p(n),t=!0)},o(s){m(n),t=!1},d(s){r[e].d(s),s&&c(l)}}}function ft(o){let e,n,l=o[1],t=[];for(let r=0;r<l.length;r+=1)t[r]=Ne(Re(o,l,r));const i=r=>m(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=w()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=w()},m(r,a){for(let s=0;s<t.length;s+=1)t[s].m(r,a);k(r,e,a),n=!0},p(r,a){if(a&34){l=r[1];let s;for(s=0;s<l.length;s+=1){const f=Re(r,l,s);t[s]?(t[s].p(f,a),p(t[s],1)):(t[s]=Ne(f),t[s].c(),p(t[s],1),t[s].m(e.parentNode,e))}for(T(),s=l.length;s<t.length;s+=1)i(s);y()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)p(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)m(t[a]);n=!1},d(r){ue(t,r),r&&c(e)}}}function ut(o){let e,n,l;const t=[o[6]];var i=o[5][o[0]];function r(a){let s={$$slots:{default:[mt]},$$scope:{ctx:a}};for(let f=0;f<t.length;f+=1)s=ne(s,t[f]);return{props:s}}return i&&(e=new i(r(o))),{c(){e&&I(e.$$.fragment),n=w()},l(a){e&&Q(e.$$.fragment,a),n=w()},m(a,s){e&&E(e,a,s),k(a,n,s),l=!0},p(a,s){const f=s&64?ae(t,[fe(a[6])]):{};if(s&8388706&&(f.$$scope={dirty:s,ctx:a}),i!==(i=a[5][a[0]])){if(e){T();const u=e;m(u.$$.fragment,1,0,()=>{R(u,1)}),y()}i?(e=new i(r(a)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&R(e,a)}}}function ct(o){let e,n,l,t;const i=[gt,dt],r=[];function a(s,f){return s[4]?0:1}return e=a(o),n=r[e]=i[e](o),{c(){n.c(),l=w()},l(s){n.l(s),l=w()},m(s,f){r[e].m(s,f),k(s,l,f),t=!0},p(s,f){let u=e;e=a(s),e===u?r[e].p(s,f):(T(),m(r[u],1,1,()=>{r[u]=null}),y(),n=r[e],n?n.p(s,f):(n=r[e]=i[e](s),n.c()),p(n,1),n.m(l.parentNode,l))},i(s){t||(p(n),t=!0)},o(s){m(n),t=!1},d(s){r[e].d(s),s&&c(l)}}}function ht(o){let e,n,l;var t=o[5].table;function i(r){return{props:{$$slots:{default:[At]},$$scope:{ctx:r}}}}return t&&(e=new t(i(o))),{c(){e&&I(e.$$.fragment),n=w()},l(r){e&&Q(e.$$.fragment,r),n=w()},m(r,a){e&&E(e,r,a),k(r,n,a),l=!0},p(r,a){const s={};if(a&8388716&&(s.$$scope={dirty:a,ctx:r}),t!==(t=r[5].table)){if(e){T();const f=e;m(f.$$.fragment,1,0,()=>{R(f,1)}),y()}t?(e=new t(i(r)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else t&&e.$set(s)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&R(e,r)}}}function pt(o){let e=o[6].raw+"",n;return{c(){n=re(e)},l(l){n=se(l,e)},m(l,t){k(l,n,t)},p(l,t){t&64&&e!==(e=l[6].raw+"")&&oe(n,e)},i:W,o:W,d(l){l&&c(n)}}}function _t(o){let e,n;return e=new le({props:{tokens:o[1],renderers:o[5]}}),{c(){I(e.$$.fragment)},l(l){Q(e.$$.fragment,l)},m(l,t){E(e,l,t),n=!0},p(l,t){const i={};t&2&&(i.tokens=l[1]),t&32&&(i.renderers=l[5]),e.$set(i)},i(l){n||(p(e.$$.fragment,l),n=!0)},o(l){m(e.$$.fragment,l),n=!1},d(l){R(e,l)}}}function mt(o){let e,n,l,t;const i=[_t,pt],r=[];function a(s,f){return s[1]?0:1}return e=a(o),n=r[e]=i[e](o),{c(){n.c(),l=w()},l(s){n.l(s),l=w()},m(s,f){r[e].m(s,f),k(s,l,f),t=!0},p(s,f){let u=e;e=a(s),e===u?r[e].p(s,f):(T(),m(r[u],1,1,()=>{r[u]=null}),y(),n=r[e],n?n.p(s,f):(n=r[e]=i[e](s),n.c()),p(n,1),n.m(l.parentNode,l))},i(s){t||(p(n),t=!0)},o(s){m(n),t=!1},d(s){r[e].d(s),s&&c(l)}}}function dt(o){let e,n,l;const t=[{ordered:o[4]},o[6]];var i=o[5].list;function r(a){let s={$$slots:{default:[$t]},$$scope:{ctx:a}};for(let f=0;f<t.length;f+=1)s=ne(s,t[f]);return{props:s}}return i&&(e=new i(r(o))),{c(){e&&I(e.$$.fragment),n=w()},l(a){e&&Q(e.$$.fragment,a),n=w()},m(a,s){e&&E(e,a,s),k(a,n,s),l=!0},p(a,s){const f=s&80?ae(t,[s&16&&{ordered:a[4]},s&64&&fe(a[6])]):{};if(s&8388704&&(f.$$scope={dirty:s,ctx:a}),i!==(i=a[5].list)){if(e){T();const u=e;m(u.$$.fragment,1,0,()=>{R(u,1)}),y()}i?(e=new i(r(a)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&R(e,a)}}}function gt(o){let e,n,l;const t=[{ordered:o[4]},o[6]];var i=o[5].list;function r(a){let s={$$slots:{default:[wt]},$$scope:{ctx:a}};for(let f=0;f<t.length;f+=1)s=ne(s,t[f]);return{props:s}}return i&&(e=new i(r(o))),{c(){e&&I(e.$$.fragment),n=w()},l(a){e&&Q(e.$$.fragment,a),n=w()},m(a,s){e&&E(e,a,s),k(a,n,s),l=!0},p(a,s){const f=s&80?ae(t,[s&16&&{ordered:a[4]},s&64&&fe(a[6])]):{};if(s&8388704&&(f.$$scope={dirty:s,ctx:a}),i!==(i=a[5].list)){if(e){T();const u=e;m(u.$$.fragment,1,0,()=>{R(u,1)}),y()}i?(e=new i(r(a)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&R(e,a)}}}function kt(o){let e,n,l;return e=new le({props:{tokens:o[18].tokens,renderers:o[5]}}),{c(){I(e.$$.fragment),n=X()},l(t){Q(e.$$.fragment,t),n=K(t)},m(t,i){E(e,t,i),k(t,n,i),l=!0},p(t,i){const r={};i&64&&(r.tokens=t[18].tokens),i&32&&(r.renderers=t[5]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){m(e.$$.fragment,t),l=!1},d(t){R(e,t),t&&c(n)}}}function Ae(o){let e,n,l;const t=[o[18]];var i=o[5].unorderedlistitem||o[5].listitem;function r(a){let s={$$slots:{default:[kt]},$$scope:{ctx:a}};for(let f=0;f<t.length;f+=1)s=ne(s,t[f]);return{props:s}}return i&&(e=new i(r(o))),{c(){e&&I(e.$$.fragment),n=w()},l(a){e&&Q(e.$$.fragment,a),n=w()},m(a,s){e&&E(e,a,s),k(a,n,s),l=!0},p(a,s){const f=s&64?ae(t,[fe(a[18])]):{};if(s&8388704&&(f.$$scope={dirty:s,ctx:a}),i!==(i=a[5].unorderedlistitem||a[5].listitem)){if(e){T();const u=e;m(u.$$.fragment,1,0,()=>{R(u,1)}),y()}i?(e=new i(r(a)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&R(e,a)}}}function $t(o){let e,n,l=o[6].items,t=[];for(let r=0;r<l.length;r+=1)t[r]=Ae(ve(o,l,r));const i=r=>m(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=w()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=w()},m(r,a){for(let s=0;s<t.length;s+=1)t[s].m(r,a);k(r,e,a),n=!0},p(r,a){if(a&96){l=r[6].items;let s;for(s=0;s<l.length;s+=1){const f=ve(r,l,s);t[s]?(t[s].p(f,a),p(t[s],1)):(t[s]=Ae(f),t[s].c(),p(t[s],1),t[s].m(e.parentNode,e))}for(T(),s=l.length;s<t.length;s+=1)i(s);y()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)p(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)m(t[a]);n=!1},d(r){ue(t,r),r&&c(e)}}}function bt(o){let e,n,l;return e=new le({props:{tokens:o[18].tokens,renderers:o[5]}}),{c(){I(e.$$.fragment),n=X()},l(t){Q(e.$$.fragment,t),n=K(t)},m(t,i){E(e,t,i),k(t,n,i),l=!0},p(t,i){const r={};i&64&&(r.tokens=t[18].tokens),i&32&&(r.renderers=t[5]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){m(e.$$.fragment,t),l=!1},d(t){R(e,t),t&&c(n)}}}function xe(o){let e,n,l;const t=[o[18]];var i=o[5].orderedlistitem||o[5].listitem;function r(a){let s={$$slots:{default:[bt]},$$scope:{ctx:a}};for(let f=0;f<t.length;f+=1)s=ne(s,t[f]);return{props:s}}return i&&(e=new i(r(o))),{c(){e&&I(e.$$.fragment),n=w()},l(a){e&&Q(e.$$.fragment,a),n=w()},m(a,s){e&&E(e,a,s),k(a,n,s),l=!0},p(a,s){const f=s&64?ae(t,[fe(a[18])]):{};if(s&8388704&&(f.$$scope={dirty:s,ctx:a}),i!==(i=a[5].orderedlistitem||a[5].listitem)){if(e){T();const u=e;m(u.$$.fragment,1,0,()=>{R(u,1)}),y()}i?(e=new i(r(a)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&R(e,a)}}}function wt(o){let e,n,l=o[6].items,t=[];for(let r=0;r<l.length;r+=1)t[r]=xe(ze(o,l,r));const i=r=>m(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=w()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=w()},m(r,a){for(let s=0;s<t.length;s+=1)t[s].m(r,a);k(r,e,a),n=!0},p(r,a){if(a&96){l=r[6].items;let s;for(s=0;s<l.length;s+=1){const f=ze(r,l,s);t[s]?(t[s].p(f,a),p(t[s],1)):(t[s]=xe(f),t[s].c(),p(t[s],1),t[s].m(e.parentNode,e))}for(T(),s=l.length;s<t.length;s+=1)i(s);y()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)p(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)m(t[a]);n=!1},d(r){ue(t,r),r&&c(e)}}}function vt(o){let e,n,l;return e=new le({props:{tokens:o[16].tokens,renderers:o[5]}}),{c(){I(e.$$.fragment),n=X()},l(t){Q(e.$$.fragment,t),n=K(t)},m(t,i){E(e,t,i),k(t,n,i),l=!0},p(t,i){const r={};i&4&&(r.tokens=t[16].tokens),i&32&&(r.renderers=t[5]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){m(e.$$.fragment,t),l=!1},d(t){R(e,t),t&&c(n)}}}function Te(o){let e,n,l;var t=o[5].tablecell;function i(r){return{props:{header:!0,align:r[6].align[r[15]]||"center",$$slots:{default:[vt]},$$scope:{ctx:r}}}}return t&&(e=new t(i(o))),{c(){e&&I(e.$$.fragment),n=w()},l(r){e&&Q(e.$$.fragment,r),n=w()},m(r,a){e&&E(e,r,a),k(r,n,a),l=!0},p(r,a){const s={};if(a&64&&(s.align=r[6].align[r[15]]||"center"),a&8388644&&(s.$$scope={dirty:a,ctx:r}),t!==(t=r[5].tablecell)){if(e){T();const f=e;m(f.$$.fragment,1,0,()=>{R(f,1)}),y()}t?(e=new t(i(r)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else t&&e.$set(s)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&R(e,r)}}}function zt(o){let e,n,l=o[2],t=[];for(let r=0;r<l.length;r+=1)t[r]=Te(Ee(o,l,r));const i=r=>m(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=w()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=w()},m(r,a){for(let s=0;s<t.length;s+=1)t[s].m(r,a);k(r,e,a),n=!0},p(r,a){if(a&100){l=r[2];let s;for(s=0;s<l.length;s+=1){const f=Ee(r,l,s);t[s]?(t[s].p(f,a),p(t[s],1)):(t[s]=Te(f),t[s].c(),p(t[s],1),t[s].m(e.parentNode,e))}for(T(),s=l.length;s<t.length;s+=1)i(s);y()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)p(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)m(t[a]);n=!1},d(r){ue(t,r),r&&c(e)}}}function St(o){let e,n,l;var t=o[5].tablerow;function i(r){return{props:{$$slots:{default:[zt]},$$scope:{ctx:r}}}}return t&&(e=new t(i(o))),{c(){e&&I(e.$$.fragment),n=w()},l(r){e&&Q(e.$$.fragment,r),n=w()},m(r,a){e&&E(e,r,a),k(r,n,a),l=!0},p(r,a){const s={};if(a&8388708&&(s.$$scope={dirty:a,ctx:r}),t!==(t=r[5].tablerow)){if(e){T();const f=e;m(f.$$.fragment,1,0,()=>{R(f,1)}),y()}t?(e=new t(i(r)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else t&&e.$set(s)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&R(e,r)}}}function It(o){let e,n;return e=new le({props:{tokens:o[13].tokens,renderers:o[5]}}),{c(){I(e.$$.fragment)},l(l){Q(e.$$.fragment,l)},m(l,t){E(e,l,t),n=!0},p(l,t){const i={};t&8&&(i.tokens=l[13].tokens),t&32&&(i.renderers=l[5]),e.$set(i)},i(l){n||(p(e.$$.fragment,l),n=!0)},o(l){m(e.$$.fragment,l),n=!1},d(l){R(e,l)}}}function ye(o){let e,n,l;var t=o[5].tablecell;function i(r){return{props:{header:!1,align:r[6].align[r[15]]||"center",$$slots:{default:[It]},$$scope:{ctx:r}}}}return t&&(e=new t(i(o))),{c(){e&&I(e.$$.fragment),n=w()},l(r){e&&Q(e.$$.fragment,r),n=w()},m(r,a){e&&E(e,r,a),k(r,n,a),l=!0},p(r,a){const s={};if(a&64&&(s.align=r[6].align[r[15]]||"center"),a&8388648&&(s.$$scope={dirty:a,ctx:r}),t!==(t=r[5].tablecell)){if(e){T();const f=e;m(f.$$.fragment,1,0,()=>{R(f,1)}),y()}t?(e=new t(i(r)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else t&&e.$set(s)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&R(e,r)}}}function Et(o){let e,n,l=o[10],t=[];for(let r=0;r<l.length;r+=1)t[r]=ye(Ie(o,l,r));const i=r=>m(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=X()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=K(r)},m(r,a){for(let s=0;s<t.length;s+=1)t[s].m(r,a);k(r,e,a),n=!0},p(r,a){if(a&104){l=r[10];let s;for(s=0;s<l.length;s+=1){const f=Ie(r,l,s);t[s]?(t[s].p(f,a),p(t[s],1)):(t[s]=ye(f),t[s].c(),p(t[s],1),t[s].m(e.parentNode,e))}for(T(),s=l.length;s<t.length;s+=1)i(s);y()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)p(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)m(t[a]);n=!1},d(r){ue(t,r),r&&c(e)}}}function Ce(o){let e,n,l;var t=o[5].tablerow;function i(r){return{props:{$$slots:{default:[Et]},$$scope:{ctx:r}}}}return t&&(e=new t(i(o))),{c(){e&&I(e.$$.fragment),n=w()},l(r){e&&Q(e.$$.fragment,r),n=w()},m(r,a){e&&E(e,r,a),k(r,n,a),l=!0},p(r,a){const s={};if(a&8388712&&(s.$$scope={dirty:a,ctx:r}),t!==(t=r[5].tablerow)){if(e){T();const f=e;m(f.$$.fragment,1,0,()=>{R(f,1)}),y()}t?(e=new t(i(r)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else t&&e.$set(s)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&R(e,r)}}}function Rt(o){let e,n,l=o[3],t=[];for(let r=0;r<l.length;r+=1)t[r]=Ce(Se(o,l,r));const i=r=>m(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=w()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=w()},m(r,a){for(let s=0;s<t.length;s+=1)t[s].m(r,a);k(r,e,a),n=!0},p(r,a){if(a&104){l=r[3];let s;for(s=0;s<l.length;s+=1){const f=Se(r,l,s);t[s]?(t[s].p(f,a),p(t[s],1)):(t[s]=Ce(f),t[s].c(),p(t[s],1),t[s].m(e.parentNode,e))}for(T(),s=l.length;s<t.length;s+=1)i(s);y()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)p(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)m(t[a]);n=!1},d(r){ue(t,r),r&&c(e)}}}function At(o){let e,n,l,t,i;var r=o[5].tablehead;function a(u){return{props:{$$slots:{default:[St]},$$scope:{ctx:u}}}}r&&(e=new r(a(o)));var s=o[5].tablebody;function f(u){return{props:{$$slots:{default:[Rt]},$$scope:{ctx:u}}}}return s&&(l=new s(f(o))),{c(){e&&I(e.$$.fragment),n=X(),l&&I(l.$$.fragment),t=w()},l(u){e&&Q(e.$$.fragment,u),n=K(u),l&&Q(l.$$.fragment,u),t=w()},m(u,g){e&&E(e,u,g),k(u,n,g),l&&E(l,u,g),k(u,t,g),i=!0},p(u,g){const h={};if(g&8388708&&(h.$$scope={dirty:g,ctx:u}),r!==(r=u[5].tablehead)){if(e){T();const A=e;m(A.$$.fragment,1,0,()=>{R(A,1)}),y()}r?(e=new r(a(u)),I(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else r&&e.$set(h);const _={};if(g&8388712&&(_.$$scope={dirty:g,ctx:u}),s!==(s=u[5].tablebody)){if(l){T();const A=l;m(A.$$.fragment,1,0,()=>{R(A,1)}),y()}s?(l=new s(f(u)),I(l.$$.fragment),p(l.$$.fragment,1),E(l,t.parentNode,t)):l=null}else s&&l.$set(_)},i(u){i||(e&&p(e.$$.fragment,u),l&&p(l.$$.fragment,u),i=!0)},o(u){e&&m(e.$$.fragment,u),l&&m(l.$$.fragment,u),i=!1},d(u){e&&R(e,u),u&&c(n),u&&c(t),l&&R(l,u)}}}function Ne(o){let e,n;const l=[o[7],{renderers:o[5]}];let t={};for(let i=0;i<l.length;i+=1)t=ne(t,l[i]);return e=new le({props:t}),{c(){I(e.$$.fragment)},l(i){Q(e.$$.fragment,i)},m(i,r){E(e,i,r),n=!0},p(i,r){const a=r&34?ae(l,[r&2&&fe(i[7]),r&32&&{renderers:i[5]}]):{};e.$set(a)},i(i){n||(p(e.$$.fragment,i),n=!0)},o(i){m(e.$$.fragment,i),n=!1},d(i){R(e,i)}}}function xt(o){let e,n,l,t;const i=[ft,at],r=[];function a(s,f){return s[0]?s[5][s[0]]?1:-1:0}return~(e=a(o))&&(n=r[e]=i[e](o)),{c(){n&&n.c(),l=w()},l(s){n&&n.l(s),l=w()},m(s,f){~e&&r[e].m(s,f),k(s,l,f),t=!0},p(s,[f]){let u=e;e=a(s),e===u?~e&&r[e].p(s,f):(n&&(T(),m(r[u],1,1,()=>{r[u]=null}),y()),~e?(n=r[e],n?n.p(s,f):(n=r[e]=i[e](s),n.c()),p(n,1),n.m(l.parentNode,l)):n=null)},i(s){t||(p(n),t=!0)},o(s){m(n),t=!1},d(s){~e&&r[e].d(s),s&&c(l)}}}function Tt(o,e,n){const l=["type","tokens","header","rows","ordered","renderers"];let t=we(e,l),{type:i=void 0}=e,{tokens:r=void 0}=e,{header:a=void 0}=e,{rows:s=void 0}=e,{ordered:f=!1}=e,{renderers:u}=e;return ot(),o.$$set=g=>{e=ne(ne({},e),tt(g)),n(6,t=we(e,l)),"type"in g&&n(0,i=g.type),"tokens"in g&&n(1,r=g.tokens),"header"in g&&n(2,a=g.header),"rows"in g&&n(3,s=g.rows),"ordered"in g&&n(4,f=g.ordered),"renderers"in g&&n(5,u=g.renderers)},[i,r,a,s,f,u,t]}class le extends D{constructor(e){super();q(this,e,Tt,xt,O,{type:0,tokens:1,header:2,rows:3,ordered:4,renderers:5})}}function yt(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ke=yt();const Ct=/[&<>"']/,Nt=/[&<>"']/g,Lt=/[<>"']|&(?!#?\w+;)/,Bt=/[<>"']|&(?!#?\w+;)/g,Dt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Le=o=>Dt[o];function F(o,e){if(e){if(Ct.test(o))return o.replace(Nt,Le)}else if(Lt.test(o))return o.replace(Bt,Le);return o}const qt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Fe(o){return o.replace(qt,(e,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const Ot=/(^|[^\[])\^/g;function C(o,e){o=o.source||o,e=e||"";const n={replace:(l,t)=>(t=t.source||t,t=t.replace(Ot,"$1"),o=o.replace(l,t),n),getRegex:()=>new RegExp(o,e)};return n}const Zt=/[^\w:]/g,Mt=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Be(o,e,n){if(o){let l;try{l=decodeURIComponent(Fe(n)).replace(Zt,"").toLowerCase()}catch{return null}if(l.indexOf("javascript:")===0||l.indexOf("vbscript:")===0||l.indexOf("data:")===0)return null}e&&!Mt.test(n)&&(n=Ht(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const pe={},Ut=/^[^:]+:\/*[^/]*$/,Pt=/^([^:]+:)[\s\S]*$/,jt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ht(o,e){pe[" "+o]||(Ut.test(o)?pe[" "+o]=o+"/":pe[" "+o]=_e(o,"/",!0)),o=pe[" "+o];const n=o.indexOf(":")===-1;return e.substring(0,2)==="//"?n?e:o.replace(Pt,"$1")+e:e.charAt(0)==="/"?n?e:o.replace(jt,"$1")+e:o+e}const de={exec:function(){}};function ie(o){let e=1,n,l;for(;e<arguments.length;e++){n=arguments[e];for(l in n)Object.prototype.hasOwnProperty.call(n,l)&&(o[l]=n[l])}return o}function De(o,e){const n=o.replace(/\|/g,(i,r,a)=>{let s=!1,f=r;for(;--f>=0&&a[f]==="\\";)s=!s;return s?"|":" |"}),l=n.split(/ \|/);let t=0;if(l[0].trim()||l.shift(),l.length>0&&!l[l.length-1].trim()&&l.pop(),l.length>e)l.splice(e);else for(;l.length<e;)l.push("");for(;t<l.length;t++)l[t]=l[t].trim().replace(/\\\|/g,"|");return l}function _e(o,e,n){const l=o.length;if(l===0)return"";let t=0;for(;t<l;){const i=o.charAt(l-t-1);if(i===e&&!n)t++;else if(i!==e&&n)t++;else break}return o.substr(0,l-t)}function Qt(o,e){if(o.indexOf(e[1])===-1)return-1;const n=o.length;let l=0,t=0;for(;t<n;t++)if(o[t]==="\\")t++;else if(o[t]===e[0])l++;else if(o[t]===e[1]&&(l--,l<0))return t;return-1}function qe(o,e){if(e<1)return"";let n="";for(;e>1;)e&1&&(n+=o),e>>=1,o+=o;return n+o}function Oe(o,e,n,l){const t=e.href,i=e.title?F(e.title):null,r=o[1].replace(/\\([\[\]])/g,"$1");if(o[0].charAt(0)!=="!"){l.state.inLink=!0;const a={type:"link",raw:n,href:t,title:i,text:r,tokens:l.inlineTokens(r,[])};return l.state.inLink=!1,a}else return{type:"image",raw:n,href:t,title:i,text:F(r)}}function Gt(o,e){const n=o.match(/^(\s+)(?:```)/);if(n===null)return e;const l=n[1];return e.split(`
`).map(t=>{const i=t.match(/^\s+/);if(i===null)return t;const[r]=i;return r.length>=l.length?t.slice(l.length):t}).join(`
`)}class Vt{constructor(e){this.options=e||ke}space(e){const n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){const n=this.rules.block.code.exec(e);if(n){const l=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?l:_e(l,`
`)}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const l=n[0],t=Gt(l,n[3]||"");return{type:"code",raw:l,lang:n[2]?n[2].trim():n[2],text:t}}}heading(e){const n=this.rules.block.heading.exec(e);if(n){let l=n[2].trim();if(/#$/.test(l)){const i=_e(l,"#");(this.options.pedantic||!i||/ $/.test(i))&&(l=i.trim())}const t={type:"heading",raw:n[0],depth:n[1].length,text:l,tokens:[]};return this.lexer.inline(t.text,t.tokens),t}}hr(e){const n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:n[0]}}blockquote(e){const n=this.rules.block.blockquote.exec(e);if(n){const l=n[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:n[0],tokens:this.lexer.blockTokens(l,[]),text:l}}}list(e){let n=this.rules.block.list.exec(e);if(n){let l,t,i,r,a,s,f,u,g,h,_,A,V=n[1].trim();const j=V.length>1,x={type:"list",raw:"",ordered:j,start:j?+V.slice(0,-1):"",loose:!1,items:[]};V=j?`\\d{1,9}\\${V.slice(-1)}`:`\\${V}`,this.options.pedantic&&(V=j?V:"[*+-]");const H=new RegExp(`^( {0,3}${V})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(A=!1,!(!(n=H.exec(e))||this.rules.block.hr.test(e)));){if(l=n[0],e=e.substring(l.length),u=n[2].split(`
`,1)[0],g=e.split(`
`,1)[0],this.options.pedantic?(r=2,_=u.trimLeft()):(r=n[2].search(/[^ ]/),r=r>4?1:r,_=u.slice(r),r+=n[1].length),s=!1,!u&&/^ *$/.test(g)&&(l+=g+`
`,e=e.substring(g.length+1),A=!0),!A){const L=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(h=e.split(`
`,1)[0],u=h,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!L.test(u));){if(u.search(/[^ ]/)>=r||!u.trim())_+=`
`+u.slice(r);else if(!s)_+=`
`+u;else break;!s&&!u.trim()&&(s=!0),l+=h+`
`,e=e.substring(h.length+1)}}x.loose||(f?x.loose=!0:/\n *\n *$/.test(l)&&(f=!0)),this.options.gfm&&(t=/^\[[ xX]\] /.exec(_),t&&(i=t[0]!=="[ ] ",_=_.replace(/^\[[ xX]\] +/,""))),x.items.push({type:"list_item",raw:l,task:!!t,checked:i,loose:!1,text:_}),x.raw+=l}x.items[x.items.length-1].raw=l.trimRight(),x.items[x.items.length-1].text=_.trimRight(),x.raw=x.raw.trimRight();const N=x.items.length;for(a=0;a<N;a++){this.lexer.state.top=!1,x.items[a].tokens=this.lexer.blockTokens(x.items[a].text,[]);const L=x.items[a].tokens.filter(J=>J.type==="space"),B=L.every(J=>{const ee=J.raw.split("");let te=0;for(const Ke of ee)if(Ke===`
`&&(te+=1),te>1)return!0;return!1});!x.loose&&L.length&&B&&(x.loose=!0,x.items[a].loose=!0)}return x}}html(e){const n=this.rules.block.html.exec(e);if(n){const l={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};return this.options.sanitize&&(l.type="paragraph",l.text=this.options.sanitizer?this.options.sanitizer(n[0]):F(n[0]),l.tokens=[],this.lexer.inline(l.text,l.tokens)),l}}def(e){const n=this.rules.block.def.exec(e);if(n){n[3]&&(n[3]=n[3].substring(1,n[3].length-1));const l=n[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:l,raw:n[0],href:n[2],title:n[3]}}}table(e){const n=this.rules.block.table.exec(e);if(n){const l={type:"table",header:De(n[1]).map(t=>({text:t})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(l.header.length===l.align.length){l.raw=n[0];let t=l.align.length,i,r,a,s;for(i=0;i<t;i++)/^ *-+: *$/.test(l.align[i])?l.align[i]="right":/^ *:-+: *$/.test(l.align[i])?l.align[i]="center":/^ *:-+ *$/.test(l.align[i])?l.align[i]="left":l.align[i]=null;for(t=l.rows.length,i=0;i<t;i++)l.rows[i]=De(l.rows[i],l.header.length).map(f=>({text:f}));for(t=l.header.length,r=0;r<t;r++)l.header[r].tokens=[],this.lexer.inlineTokens(l.header[r].text,l.header[r].tokens);for(t=l.rows.length,r=0;r<t;r++)for(s=l.rows[r],a=0;a<s.length;a++)s[a].tokens=[],this.lexer.inlineTokens(s[a].text,s[a].tokens);return l}}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n){const l={type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const l={type:"paragraph",raw:n[0],text:n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}text(e){const n=this.rules.block.text.exec(e);if(n){const l={type:"text",raw:n[0],text:n[0],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:F(n[1])}}tag(e){const n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):F(n[0]):n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const l=n[2].trim();if(!this.options.pedantic&&/^</.test(l)){if(!/>$/.test(l))return;const r=_e(l.slice(0,-1),"\\");if((l.length-r.length)%2===0)return}else{const r=Qt(n[2],"()");if(r>-1){const s=(n[0].indexOf("!")===0?5:4)+n[1].length+r;n[2]=n[2].substring(0,r),n[0]=n[0].substring(0,s).trim(),n[3]=""}}let t=n[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(t);r&&(t=r[1],i=r[3])}else i=n[3]?n[3].slice(1,-1):"";return t=t.trim(),/^</.test(t)&&(this.options.pedantic&&!/>$/.test(l)?t=t.slice(1):t=t.slice(1,-1)),Oe(n,{href:t&&t.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(e,n){let l;if((l=this.rules.inline.reflink.exec(e))||(l=this.rules.inline.nolink.exec(e))){let t=(l[2]||l[1]).replace(/\s+/g," ");if(t=n[t.toLowerCase()],!t||!t.href){const i=l[0].charAt(0);return{type:"text",raw:i,text:i}}return Oe(l,t,l[0],this.lexer)}}emStrong(e,n,l=""){let t=this.rules.inline.emStrong.lDelim.exec(e);if(!t||t[3]&&l.match(/[\p{L}\p{N}]/u))return;const i=t[1]||t[2]||"";if(!i||i&&(l===""||this.rules.inline.punctuation.exec(l))){const r=t[0].length-1;let a,s,f=r,u=0;const g=t[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(g.lastIndex=0,n=n.slice(-1*e.length+r);(t=g.exec(n))!=null;){if(a=t[1]||t[2]||t[3]||t[4]||t[5]||t[6],!a)continue;if(s=a.length,t[3]||t[4]){f+=s;continue}else if((t[5]||t[6])&&r%3&&!((r+s)%3)){u+=s;continue}if(f-=s,f>0)continue;if(s=Math.min(s,s+f+u),Math.min(r,s)%2){const _=e.slice(1,r+t.index+s);return{type:"em",raw:e.slice(0,r+t.index+s+1),text:_,tokens:this.lexer.inlineTokens(_,[])}}const h=e.slice(2,r+t.index+s-1);return{type:"strong",raw:e.slice(0,r+t.index+s+1),text:h,tokens:this.lexer.inlineTokens(h,[])}}}}codespan(e){const n=this.rules.inline.code.exec(e);if(n){let l=n[2].replace(/\n/g," ");const t=/[^ ]/.test(l),i=/^ /.test(l)&&/ $/.test(l);return t&&i&&(l=l.substring(1,l.length-1)),l=F(l,!0),{type:"codespan",raw:n[0],text:l}}}br(e){const n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e){const n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2],[])}}autolink(e,n){const l=this.rules.inline.autolink.exec(e);if(l){let t,i;return l[2]==="@"?(t=F(this.options.mangle?n(l[1]):l[1]),i="mailto:"+t):(t=F(l[1]),i=t),{type:"link",raw:l[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}url(e,n){let l;if(l=this.rules.inline.url.exec(e)){let t,i;if(l[2]==="@")t=F(this.options.mangle?n(l[0]):l[0]),i="mailto:"+t;else{let r;do r=l[0],l[0]=this.rules.inline._backpedal.exec(l[0])[0];while(r!==l[0]);t=F(l[0]),l[1]==="www."?i="http://"+t:i=t}return{type:"link",raw:l[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(e,n){const l=this.rules.inline.text.exec(e);if(l){let t;return this.lexer.state.inRawBlock?t=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):F(l[0]):l[0]:t=F(this.options.smartypants?n(l[0]):l[0]),{type:"text",raw:l[0],text:t}}}}const b={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {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|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:de,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};b._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;b._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;b.def=C(b.def).replace("label",b._label).replace("title",b._title).getRegex();b.bullet=/(?:[*+-]|\d{1,9}[.)])/;b.listItemStart=C(/^( *)(bull) */).replace("bull",b.bullet).getRegex();b.list=C(b.list).replace(/bull/g,b.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+b.def.source+")").getRegex();b._tag="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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";b._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;b.html=C(b.html,"i").replace("comment",b._comment).replace("tag",b._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();b.paragraph=C(b._paragraph).replace("hr",b.hr).replace("heading"," {0,3}#{1,6} ").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",b._tag).getRegex();b.blockquote=C(b.blockquote).replace("paragraph",b.paragraph).getRegex();b.normal=ie({},b);b.gfm=ie({},b.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});b.gfm.table=C(b.gfm.table).replace("hr",b.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\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",b._tag).getRegex();b.gfm.paragraph=C(b._paragraph).replace("hr",b.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",b.gfm.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",b._tag).getRegex();b.pedantic=ie({},b.normal,{html:C(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",b._comment).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:de,paragraph:C(b.normal._paragraph).replace("hr",b.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",b.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:de,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:de,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};$._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";$.punctuation=C($.punctuation).replace(/punctuation/g,$._punctuation).getRegex();$.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;$.escapedEmSt=/\\\*|\\_/g;$._comment=C(b._comment).replace("(?:-->|$)","-->").getRegex();$.emStrong.lDelim=C($.emStrong.lDelim).replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimAst=C($.emStrong.rDelimAst,"g").replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimUnd=C($.emStrong.rDelimUnd,"g").replace(/punct/g,$._punctuation).getRegex();$._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;$._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;$._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])?)+(?![-_])/;$.autolink=C($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex();$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;$.tag=C($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex();$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;$.link=C($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex();$.reflink=C($.reflink).replace("label",$._label).replace("ref",b._label).getRegex();$.nolink=C($.nolink).replace("ref",b._label).getRegex();$.reflinkSearch=C($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex();$.normal=ie({},$);$.pedantic=ie({},$.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:C(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:C(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()});$.gfm=ie({},$.normal,{escape:C($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/});$.gfm.url=C($.gfm.url,"i").replace("email",$.gfm._extended_email).getRegex();$.breaks=ie({},$.gfm,{br:C($.br).replace("{2,}","*").getRegex(),text:C($.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function Ft(o){return o.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Ze(o){let e="",n,l;const t=o.length;for(n=0;n<t;n++)l=o.charCodeAt(n),Math.random()>.5&&(l="x"+l.toString(16)),e+="&#"+l+";";return e}class he{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ke,this.options.tokenizer=this.options.tokenizer||new Vt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:b.normal,inline:$.normal};this.options.pedantic?(n.block=b.pedantic,n.inline=$.pedantic):this.options.gfm&&(n.block=b.gfm,this.options.breaks?n.inline=$.breaks:n.inline=$.gfm),this.tokenizer.rules=n}static get rules(){return{block:b,inline:$}}static lex(e,n){return new he(n).lex(e)}static lexInline(e,n){return new he(n).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(e,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(e,n=[]){this.options.pedantic&&(e=e.replace(/^ +$/gm,""));let l,t,i,r;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(l=a.call({lexer:this},e,n))?(e=e.substring(l.raw.length),n.push(l),!0):!1))){if(l=this.tokenizer.space(e)){e=e.substring(l.raw.length),l.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(l);continue}if(l=this.tokenizer.code(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&(t.type==="paragraph"||t.type==="text")?(t.raw+=`
`+l.raw,t.text+=`
`+l.text,this.inlineQueue[this.inlineQueue.length-1].src=t.text):n.push(l);continue}if(l=this.tokenizer.fences(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.heading(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.hr(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.blockquote(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.list(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.html(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.def(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&(t.type==="paragraph"||t.type==="text")?(t.raw+=`
`+l.raw,t.text+=`
`+l.raw,this.inlineQueue[this.inlineQueue.length-1].src=t.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title});continue}if(l=this.tokenizer.table(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.lheading(e)){e=e.substring(l.raw.length),n.push(l);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const s=e.slice(1);let f;this.options.extensions.startBlock.forEach(function(u){f=u.call({lexer:this},s),typeof f=="number"&&f>=0&&(a=Math.min(a,f))}),a<1/0&&a>=0&&(i=e.substring(0,a+1))}if(this.state.top&&(l=this.tokenizer.paragraph(i))){t=n[n.length-1],r&&t.type==="paragraph"?(t.raw+=`
`+l.raw,t.text+=`
`+l.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):n.push(l),r=i.length!==e.length,e=e.substring(l.raw.length);continue}if(l=this.tokenizer.text(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&t.type==="text"?(t.raw+=`
`+l.raw,t.text+=`
`+l.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):n.push(l);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(e,n){this.inlineQueue.push({src:e,tokens:n})}inlineTokens(e,n=[]){let l,t,i,r=e,a,s,f;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+qe("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,a.index)+"["+qe("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(r))!=null;)r=r.slice(0,a.index)+"++"+r.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(f=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(l=u.call({lexer:this},e,n))?(e=e.substring(l.raw.length),n.push(l),!0):!1))){if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&l.type==="text"&&t.type==="text"?(t.raw+=l.raw,t.text+=l.text):n.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length),t=n[n.length-1],t&&l.type==="text"&&t.type==="text"?(t.raw+=l.raw,t.text+=l.text):n.push(l);continue}if(l=this.tokenizer.emStrong(e,r,f)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.autolink(e,Ze)){e=e.substring(l.raw.length),n.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e,Ze))){e=e.substring(l.raw.length),n.push(l);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const g=e.slice(1);let h;this.options.extensions.startInline.forEach(function(_){h=_.call({lexer:this},g),typeof h=="number"&&h>=0&&(u=Math.min(u,h))}),u<1/0&&u>=0&&(i=e.substring(0,u+1))}if(l=this.tokenizer.inlineText(i,Ft)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(f=l.raw.slice(-1)),s=!0,t=n[n.length-1],t&&t.type==="text"?(t.raw+=l.raw,t.text+=l.text):n.push(l);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}}class Wt{constructor(e){this.options=e||ke}code(e,n,l){const t=(n||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(e,t);i!=null&&i!==e&&(l=!0,e=i)}return e=e.replace(/\n$/,"")+`
`,t?'<pre><code class="'+this.options.langPrefix+F(t,!0)+'">'+(l?e:F(e,!0))+`</code></pre>
`:"<pre><code>"+(l?e:F(e,!0))+`</code></pre>
`}blockquote(e){return`<blockquote>
`+e+`</blockquote>
`}html(e){return e}heading(e,n,l,t){return this.options.headerIds?"<h"+n+' id="'+this.options.headerPrefix+t.slug(l)+'">'+e+"</h"+n+`>
`:"<h"+n+">"+e+"</h"+n+`>
`}hr(){return this.options.xhtml?`<hr/>
`:`<hr>
`}list(e,n,l){const t=n?"ol":"ul",i=n&&l!==1?' start="'+l+'"':"";return"<"+t+i+`>
`+e+"</"+t+`>
`}listitem(e){return"<li>"+e+`</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+`</p>
`}table(e,n){return n&&(n="<tbody>"+n+"</tbody>"),`<table>
<thead>
`+e+`</thead>
`+n+`</table>
`}tablerow(e){return`<tr>
`+e+`</tr>
`}tablecell(e,n){const l=n.header?"th":"td";return(n.align?"<"+l+' align="'+n.align+'">':"<"+l+">")+e+"</"+l+`>
`}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,n,l){if(e=Be(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t='<a href="'+F(e)+'"';return n&&(t+=' title="'+n+'"'),t+=">"+l+"</a>",t}image(e,n,l){if(e=Be(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t='<img src="'+e+'" alt="'+l+'"';return n&&(t+=' title="'+n+'"'),t+=this.options.xhtml?"/>":">",t}text(e){return e}}class Xt{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,n,l){return""+l}image(e,n,l){return""+l}br(){return""}}class We{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,n){let l=e,t=0;if(this.seen.hasOwnProperty(l)){t=this.seen[e];do t++,l=e+"-"+t;while(this.seen.hasOwnProperty(l))}return n||(this.seen[e]=t,this.seen[l]=0),l}slug(e,n={}){const l=this.serialize(e);return this.getNextSafeSlug(l,n.dryrun)}}class ge{constructor(e){this.options=e||ke,this.options.renderer=this.options.renderer||new Wt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Xt,this.slugger=new We}static parse(e,n){return new ge(n).parse(e)}static parseInline(e,n){return new ge(n).parseInline(e)}parse(e,n=!0){let l="",t,i,r,a,s,f,u,g,h,_,A,V,j,x,H,N,L,B,J;const ee=e.length;for(t=0;t<ee;t++){if(_=e[t],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[_.type]&&(J=this.options.extensions.renderers[_.type].call({parser:this},_),J!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(_.type))){l+=J||"";continue}switch(_.type){case"space":continue;case"hr":{l+=this.renderer.hr();continue}case"heading":{l+=this.renderer.heading(this.parseInline(_.tokens),_.depth,Fe(this.parseInline(_.tokens,this.textRenderer)),this.slugger);continue}case"code":{l+=this.renderer.code(_.text,_.lang,_.escaped);continue}case"table":{for(g="",u="",a=_.header.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(_.header[i].tokens),{header:!0,align:_.align[i]});for(g+=this.renderer.tablerow(u),h="",a=_.rows.length,i=0;i<a;i++){for(f=_.rows[i],u="",s=f.length,r=0;r<s;r++)u+=this.renderer.tablecell(this.parseInline(f[r].tokens),{header:!1,align:_.align[r]});h+=this.renderer.tablerow(u)}l+=this.renderer.table(g,h);continue}case"blockquote":{h=this.parse(_.tokens),l+=this.renderer.blockquote(h);continue}case"list":{for(A=_.ordered,V=_.start,j=_.loose,a=_.items.length,h="",i=0;i<a;i++)H=_.items[i],N=H.checked,L=H.task,x="",H.task&&(B=this.renderer.checkbox(N),j?H.tokens.length>0&&H.tokens[0].type==="paragraph"?(H.tokens[0].text=B+" "+H.tokens[0].text,H.tokens[0].tokens&&H.tokens[0].tokens.length>0&&H.tokens[0].tokens[0].type==="text"&&(H.tokens[0].tokens[0].text=B+" "+H.tokens[0].tokens[0].text)):H.tokens.unshift({type:"text",text:B}):x+=B),x+=this.parse(H.tokens,j),h+=this.renderer.listitem(x,L,N);l+=this.renderer.list(h,A,V);continue}case"html":{l+=this.renderer.html(_.text);continue}case"paragraph":{l+=this.renderer.paragraph(this.parseInline(_.tokens));continue}case"text":{for(h=_.tokens?this.parseInline(_.tokens):_.text;t+1<ee&&e[t+1].type==="text";)_=e[++t],h+=`
`+(_.tokens?this.parseInline(_.tokens):_.text);l+=n?this.renderer.paragraph(h):h;continue}default:{const te='Token with "'+_.type+'" type was not found.';if(this.options.silent){console.error(te);return}else throw new Error(te)}}}return l}parseInline(e,n){n=n||this.renderer;let l="",t,i,r;const a=e.length;for(t=0;t<a;t++){if(i=e[t],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(r=this.options.extensions.renderers[i.type].call({parser:this},i),r!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){l+=r||"";continue}switch(i.type){case"escape":{l+=n.text(i.text);break}case"html":{l+=n.html(i.text);break}case"link":{l+=n.link(i.href,i.title,this.parseInline(i.tokens,n));break}case"image":{l+=n.image(i.href,i.title,i.text);break}case"strong":{l+=n.strong(this.parseInline(i.tokens,n));break}case"em":{l+=n.em(this.parseInline(i.tokens,n));break}case"codespan":{l+=n.codespan(i.text);break}case"br":{l+=n.br();break}case"del":{l+=n.del(this.parseInline(i.tokens,n));break}case"text":{l+=n.text(i.text);break}default:{const s='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(s);return}else throw new Error(s)}}}return l}}ge.parse;he.lex;const Xe={};function Kt(o){let e;return{c(){e=re(o[1])},l(n){e=se(n,o[1])},m(n,l){k(n,e,l)},p(n,l){l&2&&oe(e,n[1])},i:W,o:W,d(n){n&&c(e)}}}function Yt(o){let e,n;const l=o[5].default,t=Z(l,o,o[4],null);return{c(){e=v("h6"),t&&t.c(),this.h()},l(i){e=z(i,"H6",{id:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"id",o[2])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&M(t,l,i,i[4],n?P(l,i[4],r,null):U(i[4]),null),(!n||r&4)&&d(e,"id",i[2])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Jt(o){let e,n;const l=o[5].default,t=Z(l,o,o[4],null);return{c(){e=v("h5"),t&&t.c(),this.h()},l(i){e=z(i,"H5",{id:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"id",o[2])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&M(t,l,i,i[4],n?P(l,i[4],r,null):U(i[4]),null),(!n||r&4)&&d(e,"id",i[2])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function en(o){let e,n;const l=o[5].default,t=Z(l,o,o[4],null);return{c(){e=v("h4"),t&&t.c(),this.h()},l(i){e=z(i,"H4",{id:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"id",o[2])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&M(t,l,i,i[4],n?P(l,i[4],r,null):U(i[4]),null),(!n||r&4)&&d(e,"id",i[2])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function tn(o){let e,n;const l=o[5].default,t=Z(l,o,o[4],null);return{c(){e=v("h3"),t&&t.c(),this.h()},l(i){e=z(i,"H3",{id:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"id",o[2])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&M(t,l,i,i[4],n?P(l,i[4],r,null):U(i[4]),null),(!n||r&4)&&d(e,"id",i[2])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function nn(o){let e,n;const l=o[5].default,t=Z(l,o,o[4],null);return{c(){e=v("h2"),t&&t.c(),this.h()},l(i){e=z(i,"H2",{id:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"id",o[2])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&M(t,l,i,i[4],n?P(l,i[4],r,null):U(i[4]),null),(!n||r&4)&&d(e,"id",i[2])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function ln(o){let e,n;const l=o[5].default,t=Z(l,o,o[4],null);return{c(){e=v("h1"),t&&t.c(),this.h()},l(i){e=z(i,"H1",{id:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"id",o[2])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&M(t,l,i,i[4],n?P(l,i[4],r,null):U(i[4]),null),(!n||r&4)&&d(e,"id",i[2])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function rn(o){let e,n,l,t;const i=[ln,nn,tn,en,Jt,Yt,Kt],r=[];function a(s,f){return s[0]===1?0:s[0]===2?1:s[0]===3?2:s[0]===4?3:s[0]===5?4:s[0]===6?5:6}return e=a(o),n=r[e]=i[e](o),{c(){n.c(),l=w()},l(s){n.l(s),l=w()},m(s,f){r[e].m(s,f),k(s,l,f),t=!0},p(s,[f]){let u=e;e=a(s),e===u?r[e].p(s,f):(T(),m(r[u],1,1,()=>{r[u]=null}),y(),n=r[e],n?n.p(s,f):(n=r[e]=i[e](s),n.c()),p(n,1),n.m(l.parentNode,l))},i(s){t||(p(n),t=!0)},o(s){m(n),t=!1},d(s){r[e].d(s),s&&c(l)}}}function sn(o,e,n){let l,{$$slots:t={},$$scope:i}=e,{depth:r}=e,{raw:a}=e,{text:s}=e;const{slug:f,getOptions:u}=nt(Xe),g=u();return o.$$set=h=>{"depth"in h&&n(0,r=h.depth),"raw"in h&&n(1,a=h.raw),"text"in h&&n(3,s=h.text),"$$scope"in h&&n(4,i=h.$$scope)},o.$$.update=()=>{o.$$.dirty&8&&n(2,l=g.headerIds?g.headerPrefix+f(s):void 0)},[r,a,l,s,i,t]}class on extends D{constructor(e){super();q(this,e,sn,rn,O,{depth:0,raw:1,text:3})}}function an(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("p"),t&&t.c()},l(i){e=z(i,"P",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function fn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class un extends D{constructor(e){super();q(this,e,fn,an,O,{})}}function cn(o){let e;const n=o[3].default,l=Z(n,o,o[2],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,i){l&&l.m(t,i),e=!0},p(t,[i]){l&&l.p&&(!e||i&4)&&M(l,n,t,t[2],e?P(n,t[2],i,null):U(t[2]),null)},i(t){e||(p(l,t),e=!0)},o(t){m(l,t),e=!1},d(t){l&&l.d(t)}}}function hn(o,e,n){let{$$slots:l={},$$scope:t}=e,{text:i}=e,{raw:r}=e;return o.$$set=a=>{"text"in a&&n(0,i=a.text),"raw"in a&&n(1,r=a.raw),"$$scope"in a&&n(2,t=a.$$scope)},[i,r,t,l]}class pn extends D{constructor(e){super();q(this,e,hn,cn,O,{text:0,raw:1})}}function _n(o){let e,n;return{c(){e=v("img"),this.h()},l(l){e=z(l,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){Y(e.src,n=o[0])||d(e,"src",n),d(e,"title",o[1]),d(e,"alt",o[2])},m(l,t){k(l,e,t)},p(l,[t]){t&1&&!Y(e.src,n=l[0])&&d(e,"src",n),t&2&&d(e,"title",l[1]),t&4&&d(e,"alt",l[2])},i:W,o:W,d(l){l&&c(e)}}}function mn(o,e,n){let{href:l=""}=e,{title:t=void 0}=e,{text:i=""}=e;return o.$$set=r=>{"href"in r&&n(0,l=r.href),"title"in r&&n(1,t=r.title),"text"in r&&n(2,i=r.text)},[l,t,i]}class dn extends D{constructor(e){super();q(this,e,mn,_n,O,{href:0,title:1,text:2})}}function gn(o){let e,n;const l=o[3].default,t=Z(l,o,o[2],null);return{c(){e=v("a"),t&&t.c(),this.h()},l(i){e=z(i,"A",{href:!0,title:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"href",o[0]),d(e,"title",o[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&4)&&M(t,l,i,i[2],n?P(l,i[2],r,null):U(i[2]),null),(!n||r&1)&&d(e,"href",i[0]),(!n||r&2)&&d(e,"title",i[1])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function kn(o,e,n){let{$$slots:l={},$$scope:t}=e,{href:i=""}=e,{title:r=void 0}=e;return o.$$set=a=>{"href"in a&&n(0,i=a.href),"title"in a&&n(1,r=a.title),"$$scope"in a&&n(2,t=a.$$scope)},[i,r,t,l]}class $n extends D{constructor(e){super();q(this,e,kn,gn,O,{href:0,title:1})}}function bn(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("em"),t&&t.c()},l(i){e=z(i,"EM",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function wn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class vn extends D{constructor(e){super();q(this,e,wn,bn,O,{})}}function zn(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("del"),t&&t.c()},l(i){e=z(i,"DEL",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Sn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class In extends D{constructor(e){super();q(this,e,Sn,zn,O,{})}}function En(o){let e,n=o[0].replace(/`/g,"")+"",l;return{c(){e=v("code"),l=re(n)},l(t){e=z(t,"CODE",{});var i=S(e);l=se(i,n),i.forEach(c)},m(t,i){k(t,e,i),G(e,l)},p(t,[i]){i&1&&n!==(n=t[0].replace(/`/g,"")+"")&&oe(l,n)},i:W,o:W,d(t){t&&c(e)}}}function Rn(o,e,n){let{raw:l}=e;return o.$$set=t=>{"raw"in t&&n(0,l=t.raw)},[l]}class An extends D{constructor(e){super();q(this,e,Rn,En,O,{raw:0})}}function xn(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("strong"),t&&t.c()},l(i){e=z(i,"STRONG",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Tn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class yn extends D{constructor(e){super();q(this,e,Tn,xn,O,{})}}function Cn(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("table"),t&&t.c()},l(i){e=z(i,"TABLE",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Nn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Ln extends D{constructor(e){super();q(this,e,Nn,Cn,O,{})}}function Bn(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("thead"),t&&t.c()},l(i){e=z(i,"THEAD",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Dn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class qn extends D{constructor(e){super();q(this,e,Dn,Bn,O,{})}}function On(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("tbody"),t&&t.c()},l(i){e=z(i,"TBODY",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Zn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Mn extends D{constructor(e){super();q(this,e,Zn,On,O,{})}}function Un(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("tr"),t&&t.c()},l(i){e=z(i,"TR",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Pn(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class jn extends D{constructor(e){super();q(this,e,Pn,Un,O,{})}}function Hn(o){let e,n;const l=o[3].default,t=Z(l,o,o[2],null);return{c(){e=v("td"),t&&t.c(),this.h()},l(i){e=z(i,"TD",{align:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"align",o[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&M(t,l,i,i[2],n?P(l,i[2],r,null):U(i[2]),null),(!n||r&2)&&d(e,"align",i[1])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Qn(o){let e,n;const l=o[3].default,t=Z(l,o,o[2],null);return{c(){e=v("th"),t&&t.c(),this.h()},l(i){e=z(i,"TH",{align:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"align",o[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&M(t,l,i,i[2],n?P(l,i[2],r,null):U(i[2]),null),(!n||r&2)&&d(e,"align",i[1])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Gn(o){let e,n,l,t;const i=[Qn,Hn],r=[];function a(s,f){return s[0]?0:1}return e=a(o),n=r[e]=i[e](o),{c(){n.c(),l=w()},l(s){n.l(s),l=w()},m(s,f){r[e].m(s,f),k(s,l,f),t=!0},p(s,[f]){let u=e;e=a(s),e===u?r[e].p(s,f):(T(),m(r[u],1,1,()=>{r[u]=null}),y(),n=r[e],n?n.p(s,f):(n=r[e]=i[e](s),n.c()),p(n,1),n.m(l.parentNode,l))},i(s){t||(p(n),t=!0)},o(s){m(n),t=!1},d(s){r[e].d(s),s&&c(l)}}}function Vn(o,e,n){let{$$slots:l={},$$scope:t}=e,{header:i}=e,{align:r}=e;return o.$$set=a=>{"header"in a&&n(0,i=a.header),"align"in a&&n(1,r=a.align),"$$scope"in a&&n(2,t=a.$$scope)},[i,r,t,l]}class Fn extends D{constructor(e){super();q(this,e,Vn,Gn,O,{header:0,align:1})}}function Wn(o){let e,n;const l=o[3].default,t=Z(l,o,o[2],null);return{c(){e=v("ul"),t&&t.c()},l(i){e=z(i,"UL",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&M(t,l,i,i[2],n?P(l,i[2],r,null):U(i[2]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Xn(o){let e,n;const l=o[3].default,t=Z(l,o,o[2],null);return{c(){e=v("ol"),t&&t.c(),this.h()},l(i){e=z(i,"OL",{start:!0});var r=S(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"start",o[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&M(t,l,i,i[2],n?P(l,i[2],r,null):U(i[2]),null),(!n||r&2)&&d(e,"start",i[1])},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Kn(o){let e,n,l,t;const i=[Xn,Wn],r=[];function a(s,f){return s[0]?0:1}return e=a(o),n=r[e]=i[e](o),{c(){n.c(),l=w()},l(s){n.l(s),l=w()},m(s,f){r[e].m(s,f),k(s,l,f),t=!0},p(s,[f]){let u=e;e=a(s),e===u?r[e].p(s,f):(T(),m(r[u],1,1,()=>{r[u]=null}),y(),n=r[e],n?n.p(s,f):(n=r[e]=i[e](s),n.c()),p(n,1),n.m(l.parentNode,l))},i(s){t||(p(n),t=!0)},o(s){m(n),t=!1},d(s){r[e].d(s),s&&c(l)}}}function Yn(o,e,n){let{$$slots:l={},$$scope:t}=e,{ordered:i}=e,{start:r}=e;return o.$$set=a=>{"ordered"in a&&n(0,i=a.ordered),"start"in a&&n(1,r=a.start),"$$scope"in a&&n(2,t=a.$$scope)},[i,r,t,l]}class Jn extends D{constructor(e){super();q(this,e,Yn,Kn,O,{ordered:0,start:1})}}function el(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("li"),t&&t.c()},l(i){e=z(i,"LI",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function tl(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class nl extends D{constructor(e){super();q(this,e,tl,el,O,{})}}function ll(o){let e;return{c(){e=v("hr")},l(n){e=z(n,"HR",{})},m(n,l){k(n,e,l)},p:W,i:W,o:W,d(n){n&&c(e)}}}class il extends D{constructor(e){super();q(this,e,null,ll,O,{})}}function rl(o){let e,n;return{c(){e=new lt,n=w(),this.h()},l(l){e=it(l),n=w(),this.h()},h(){e.a=n},m(l,t){e.m(o[0],l,t),k(l,n,t)},p(l,[t]){t&1&&e.p(l[0])},i:W,o:W,d(l){l&&c(n),l&&e.d()}}}function sl(o,e,n){let{text:l}=e;return o.$$set=t=>{"text"in t&&n(0,l=t.text)},[l]}class ol extends D{constructor(e){super();q(this,e,sl,rl,O,{text:0})}}function al(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("blockquote"),t&&t.c()},l(i){e=z(i,"BLOCKQUOTE",{});var r=S(e);t&&t.l(r),r.forEach(c)},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function fl(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class ul extends D{constructor(e){super();q(this,e,fl,al,O,{})}}function cl(o){let e,n,l;return{c(){e=v("pre"),n=v("code"),l=re(o[1]),this.h()},l(t){e=z(t,"PRE",{class:!0});var i=S(e);n=z(i,"CODE",{});var r=S(n);l=se(r,o[1]),r.forEach(c),i.forEach(c),this.h()},h(){d(e,"class",o[0])},m(t,i){k(t,e,i),G(e,n),G(n,l)},p(t,[i]){i&2&&oe(l,t[1]),i&1&&d(e,"class",t[0])},i:W,o:W,d(t){t&&c(e)}}}function hl(o,e,n){let{lang:l}=e,{text:t}=e;return o.$$set=i=>{"lang"in i&&n(0,l=i.lang),"text"in i&&n(1,t=i.text)},[l,t]}class pl extends D{constructor(e){super();q(this,e,hl,cl,O,{lang:0,text:1})}}function _l(o){let e,n;const l=o[1].default,t=Z(l,o,o[0],null);return{c(){e=v("br"),t&&t.c()},l(i){e=z(i,"BR",{}),t&&t.l(i)},m(i,r){k(i,e,r),t&&t.m(i,r),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&M(t,l,i,i[0],n?P(l,i[0],r,null):U(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function ml(o,e,n){let{$$slots:l={},$$scope:t}=e;return o.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class dl extends D{constructor(e){super();q(this,e,ml,_l,O,{})}}const gl={heading:on,paragraph:un,text:pn,image:dn,link:$n,em:vn,strong:yn,codespan:An,del:In,table:Ln,tablehead:qn,tablebody:Mn,tablerow:jn,tablecell:Fn,list:Jn,orderedlistitem:null,unorderedlistitem:null,listitem:nl,hr:il,html:ol,blockquote:ul,code:pl,br:dl},kl={baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1};function $l(o){let e,n;return e=new le({props:{tokens:o[0],renderers:o[1]}}),{c(){I(e.$$.fragment)},l(l){Q(e.$$.fragment,l)},m(l,t){E(e,l,t),n=!0},p(l,[t]){const i={};t&1&&(i.tokens=l[0]),t&2&&(i.renderers=l[1]),e.$set(i)},i(l){n||(p(e.$$.fragment,l),n=!0)},o(l){m(e.$$.fragment,l),n=!1},d(l){R(e,l)}}}function bl(o,e,n){let l,t,i,{source:r=""}=e,{renderers:a={}}=e,{options:s={}}=e,{isInline:f=!1}=e;const u=rt();let g,h,_;return st(Xe,{slug:A=>l?l.slug(A):"",getOptions:()=>t}),Ge(()=>{n(7,_=!0)}),o.$$set=A=>{"source"in A&&n(2,r=A.source),"renderers"in A&&n(3,a=A.renderers),"options"in A&&n(4,s=A.options),"isInline"in A&&n(5,f=A.isInline)},o.$$.update=()=>{o.$$.dirty&4&&(l=r?new We:void 0),o.$$.dirty&16&&n(8,t=ce(ce({},kl),s)),o.$$.dirty&357&&(n(6,h=new he(t)),n(0,g=f?h.inlineTokens(r):h.lex(r)),u("parsed",{tokens:g})),o.$$.dirty&8&&n(1,i=ce(ce({},gl),a)),o.$$.dirty&129&&_&&u("parsed",{tokens:g})},[g,i,r,a,s,f,h,_,t]}class wl extends D{constructor(e){super();q(this,e,bl,$l,O,{source:2,renderers:3,options:4,isInline:5})}}function Me(o){let e,n,l,t,i,r;return{c(){e=v("div"),n=v("img"),this.h()},l(a){e=z(a,"DIV",{class:!0});var s=S(e);n=z(s,"IMG",{src:!0,class:!0,alt:!0}),s.forEach(c),this.h()},h(){Y(n.src,l=o[2])||d(n,"src",l),d(n,"class","w-64 rounded-full m-auto shadow-xl"),d(n,"alt",t=o[0].name),d(e,"class","w-64 text-center pb-4")},m(a,s){k(a,e,s),G(e,n),i||(r=[me(n,"mouseover",o[4]),me(n,"mouseleave",o[5])],i=!0)},p(a,s){s&4&&!Y(n.src,l=a[2])&&d(n,"src",l),s&1&&t!==(t=a[0].name)&&d(n,"alt",t)},d(a){a&&c(e),i=!1,Ve(r)}}}function Ue(o){let e,n,l,t,i,r,a,s,f,u=o[0].name+"",g,h,_,A,V,j,x,H,N=o[0].bio&&Pe(o);return{c(){e=v("div"),n=v("a"),l=v("img"),a=X(),s=v("div"),f=v("a"),g=re(u),_=X(),A=re(o[3]),V=X(),N&&N.c(),this.h()},l(L){e=z(L,"DIV",{class:!0});var B=S(e);n=z(B,"A",{href:!0});var J=S(n);l=z(J,"IMG",{src:!0,class:!0,alt:!0}),J.forEach(c),a=K(B),s=z(B,"DIV",{class:!0});var ee=S(s);f=z(ee,"A",{href:!0});var te=S(f);g=se(te,u),te.forEach(c),_=K(ee),A=se(ee,o[3]),ee.forEach(c),V=K(B),N&&N.l(B),B.forEach(c),this.h()},h(){Y(l.src,t=o[2])||d(l,"src",t),d(l,"class","w-40 rounded-full m-auto shadow-xl"),d(l,"alt",i=o[0].name),d(n,"href",r="/lide/"+o[0].id),d(f,"href",h="/lide/"+o[0].id),d(s,"class","mt-4 text-sm text-blue-web uppercase font-bold"),d(e,"class","w-44 text-center pb-4")},m(L,B){k(L,e,B),G(e,n),G(n,l),G(e,a),G(e,s),G(s,f),G(f,g),G(s,_),G(s,A),G(e,V),N&&N.m(e,null),j=!0,x||(H=[me(n,"mouseover",o[4]),me(n,"mouseleave",o[5])],x=!0)},p(L,B){(!j||B&4&&!Y(l.src,t=L[2]))&&d(l,"src",t),(!j||B&1&&i!==(i=L[0].name))&&d(l,"alt",i),(!j||B&1&&r!==(r="/lide/"+L[0].id))&&d(n,"href",r),(!j||B&1)&&u!==(u=L[0].name+"")&&oe(g,u),(!j||B&1&&h!==(h="/lide/"+L[0].id))&&d(f,"href",h),(!j||B&8)&&oe(A,L[3]),L[0].bio?N?(N.p(L,B),B&1&&p(N,1)):(N=Pe(L),N.c(),p(N,1),N.m(e,null)):N&&(T(),m(N,1,1,()=>{N=null}),y())},i(L){j||(p(N),j=!0)},o(L){m(N),j=!1},d(L){L&&c(e),N&&N.d(),x=!1,Ve(H)}}}function Pe(o){let e,n,l;return n=new wl({props:{source:o[0].bio}}),{c(){e=v("div"),I(n.$$.fragment),this.h()},l(t){e=z(t,"DIV",{class:!0});var i=S(e);Q(n.$$.fragment,i),i.forEach(c),this.h()},h(){d(e,"class","mt-1 text-xs text-blue-web italic")},m(t,i){k(t,e,i),E(n,e,null),l=!0},p(t,i){const r={};i&1&&(r.source=t[0].bio),n.$set(r)},i(t){l||(p(n.$$.fragment,t),l=!0)},o(t){m(n.$$.fragment,t),l=!1},d(t){t&&c(e),R(n)}}}function je(o){let e,n,l,t;return{c(){e=v("div"),n=v("img"),this.h()},l(i){e=z(i,"DIV",{class:!0});var r=S(e);n=z(r,"IMG",{src:!0,class:!0,alt:!0}),r.forEach(c),this.h()},h(){Y(n.src,l=o[2])||d(n,"src",l),d(n,"class","w-16 rounded-full m-auto"),d(n,"alt",t=o[0].name),d(e,"class","w-16 text-center")},m(i,r){k(i,e,r),G(e,n)},p(i,r){r&4&&!Y(n.src,l=i[2])&&d(n,"src",l),r&1&&t!==(t=i[0].name)&&d(n,"alt",t)},d(i){i&&c(e)}}}function He(o){let e,n,l,t,i,r;return{c(){e=v("div"),n=v("a"),l=v("img"),this.h()},l(a){e=z(a,"DIV",{class:!0});var s=S(e);n=z(s,"A",{href:!0});var f=S(n);l=z(f,"IMG",{src:!0,class:!0,alt:!0}),f.forEach(c),s.forEach(c),this.h()},h(){Y(l.src,t=o[2])||d(l,"src",t),d(l,"class","w-6 rounded-full m-auto"),d(l,"alt",i=o[0].name),d(n,"href",r="/lide/"+o[0].id),d(e,"class","w-6 h-6 text-center")},m(a,s){k(a,e,s),G(e,n),G(n,l)},p(a,s){s&4&&!Y(l.src,t=a[2])&&d(l,"src",t),s&1&&i!==(i=a[0].name)&&d(l,"alt",i),s&1&&r!==(r="/lide/"+a[0].id)&&d(n,"href",r)},d(a){a&&c(e)}}}function Qe(o){let e,n,l,t,i,r;return{c(){e=v("div"),n=v("a"),l=v("img"),this.h()},l(a){e=z(a,"DIV",{class:!0});var s=S(e);n=z(s,"A",{href:!0});var f=S(n);l=z(f,"IMG",{src:!0,class:!0,alt:!0}),f.forEach(c),s.forEach(c),this.h()},h(){Y(l.src,t=o[2])||d(l,"src",t),d(l,"class","w-4 rounded-full m-auto"),d(l,"alt",i=o[0].name),d(n,"href",r="/lide/"+o[0].id),d(e,"class","w-4 h-4 text-center")},m(a,s){k(a,e,s),G(e,n),G(n,l)},p(a,s){s&4&&!Y(l.src,t=a[2])&&d(l,"src",t),s&1&&i!==(i=a[0].name)&&d(l,"alt",i),s&1&&r!==(r="/lide/"+a[0].id)&&d(n,"href",r)},d(a){a&&c(e)}}}function vl(o){let e,n,l,t,i,r,a=o[1]==="big"&&Me(o),s=o[1]==="normal"&&Ue(o),f=o[1]==="small"&&je(o),u=o[1]==="extra-small"&&He(o),g=o[1]==="micro"&&Qe(o);return{c(){a&&a.c(),e=X(),s&&s.c(),n=X(),f&&f.c(),l=X(),u&&u.c(),t=X(),g&&g.c(),i=w()},l(h){a&&a.l(h),e=K(h),s&&s.l(h),n=K(h),f&&f.l(h),l=K(h),u&&u.l(h),t=K(h),g&&g.l(h),i=w()},m(h,_){a&&a.m(h,_),k(h,e,_),s&&s.m(h,_),k(h,n,_),f&&f.m(h,_),k(h,l,_),u&&u.m(h,_),k(h,t,_),g&&g.m(h,_),k(h,i,_),r=!0},p(h,[_]){h[1]==="big"?a?a.p(h,_):(a=Me(h),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null),h[1]==="normal"?s?(s.p(h,_),_&2&&p(s,1)):(s=Ue(h),s.c(),p(s,1),s.m(n.parentNode,n)):s&&(T(),m(s,1,1,()=>{s=null}),y()),h[1]==="small"?f?f.p(h,_):(f=je(h),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null),h[1]==="extra-small"?u?u.p(h,_):(u=He(h),u.c(),u.m(t.parentNode,t)):u&&(u.d(1),u=null),h[1]==="micro"?g?g.p(h,_):(g=Qe(h),g.c(),g.m(i.parentNode,i)):g&&(g.d(1),g=null)},i(h){r||(p(s),r=!0)},o(h){m(s),r=!1},d(h){a&&a.d(h),h&&c(e),s&&s.d(h),h&&c(n),f&&f.d(h),h&&c(l),u&&u.d(h),h&&c(t),g&&g.d(h),h&&c(i)}}}let zl="https://spec.utxo.cz/22/photos";function Sl(o){const e=o.toUpperCase().split("").map(n=>127397+n.charCodeAt());return String.fromCodePoint(...e)}function Il(o,e,n){let l,t,{speaker:i}=e,{col:r="speakers"}=e,{size:a="normal"}=e;const s=["web:svg","web:webp","web:png","web:jpg","twitter:jpg"];let f=null,u=null;if(i.photos&&i.photos.length>0){for(const _ of s)if(i.photos.includes(_)){const[A,V]=_.split(":"),j=`${zl}/${r}/${i.id}-${A}.${V}`;if(f){u=j;break}n(7,f=j)}}f||(f="/img/twitter-avatar.png");function g(){u&&n(2,t=u)}function h(){n(2,t=f)}return o.$$set=_=>{"speaker"in _&&n(0,i=_.speaker),"col"in _&&n(6,r=_.col),"size"in _&&n(1,a=_.size)},o.$$.update=()=>{o.$$.dirty&1&&n(3,l=Sl(i.country)),o.$$.dirty&128&&n(2,t=f)},[i,a,t,l,g,h,r,f]}class Al extends D{constructor(e){super();q(this,e,Il,vl,O,{speaker:0,col:6,size:1})}}export{Al as A,wl as S};