var et=Object.defineProperty;var be=Object.getOwnPropertySymbols;var tt=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable;var $e=(s,e,n)=>e in s?et(s,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[e]=n,ce=(s,e)=>{for(var n in e||(e={}))tt.call(e,n)&&$e(s,n,e[n]);if(be)for(var n of be(e))nt.call(e,n)&&$e(s,n,e[n]);return s};import{v as Fe,S as O,i as Z,s as M,l as z,g as k,n as D,o as _,p as B,q as p,d as c,T as we,C as ne,U as lt,w as T,x as V,y,z as ae,A as fe,B as C,G as ue,k as K,m as Y,t as re,h as se,j as oe,E as X,P as it,O as U,e as I,c as E,a as R,b as m,L as j,M as H,N as Q,I as W,F as G,V as rt,W as st,X as ot,r as at,K as me,Y as We}from"./index-9d3ce898.js";function ft(){const s=console.warn;console.warn=e=>{e.includes("unknown prop")||e.includes("unexpected slot")||s(e)},Fe(()=>{console.warn=s})}function ve(s,e,n){const l=s.slice();return l[18]=e[n],l}function ze(s,e,n){const l=s.slice();return l[18]=e[n],l}function Se(s,e,n){const l=s.slice();return l[10]=e[n],l}function Ie(s,e,n){const l=s.slice();return l[13]=e[n],l[15]=n,l}function Ee(s,e,n){const l=s.slice();return l[16]=e[n],l[15]=n,l}function Re(s,e,n){const l=s.slice();return l[7]=e[n],l}function ut(s){let e,n,l,t;const i=[_t,pt,ht],r=[];function a(o,f){return o[0]==="table"?0:o[0]==="list"?1:2}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=z()},l(o){n.l(o),l=z()},m(o,f){r[e].m(o,f),k(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(D(),_(r[u],1,1,()=>{r[u]=null}),B(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),p(n,1),n.m(l.parentNode,l))},i(o){t||(p(n),t=!0)},o(o){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function ct(s){let e,n,l=s[1],t=[];for(let r=0;r_(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{C(u,1)}),B()}i?(e=new i(r(a)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&_(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&C(e,a)}}}function pt(s){let e,n,l,t;const i=[bt,kt],r=[];function a(o,f){return o[4]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=z()},l(o){n.l(o),l=z()},m(o,f){r[e].m(o,f),k(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(D(),_(r[u],1,1,()=>{r[u]=null}),B(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),p(n,1),n.m(l.parentNode,l))},i(o){t||(p(n),t=!0)},o(o){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function _t(s){let e,n,l;var t=s[5].table;function i(r){return{props:{$$slots:{default:[yt]},$$scope:{ctx:r}}}}return t&&(e=new t(i(s))),{c(){e&&T(e.$$.fragment),n=z()},l(r){e&&V(e.$$.fragment,r),n=z()},m(r,a){e&&y(e,r,a),k(r,n,a),l=!0},p(r,a){const o={};if(a&8388716&&(o.$$scope={dirty:a,ctx:r}),t!==(t=r[5].table)){if(e){D();const f=e;_(f.$$.fragment,1,0,()=>{C(f,1)}),B()}t?(e=new t(i(r)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&_(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&C(e,r)}}}function mt(s){let e=s[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:X,o:X,d(l){l&&c(n)}}}function dt(s){let e,n;return e=new le({props:{tokens:s[1],renderers:s[5]}}),{c(){T(e.$$.fragment)},l(l){V(e.$$.fragment,l)},m(l,t){y(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){_(e.$$.fragment,l),n=!1},d(l){C(e,l)}}}function gt(s){let e,n,l,t;const i=[dt,mt],r=[];function a(o,f){return o[1]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=z()},l(o){n.l(o),l=z()},m(o,f){r[e].m(o,f),k(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(D(),_(r[u],1,1,()=>{r[u]=null}),B(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),p(n,1),n.m(l.parentNode,l))},i(o){t||(p(n),t=!0)},o(o){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function kt(s){let e,n,l;const t=[{ordered:s[4]},s[6]];var i=s[5].list;function r(a){let o={$$slots:{default:[wt]},$$scope:{ctx:a}};for(let f=0;f{C(u,1)}),B()}i?(e=new i(r(a)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&_(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&C(e,a)}}}function bt(s){let e,n,l;const t=[{ordered:s[4]},s[6]];var i=s[5].list;function r(a){let o={$$slots:{default:[zt]},$$scope:{ctx:a}};for(let f=0;f{C(u,1)}),B()}i?(e=new i(r(a)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&_(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&C(e,a)}}}function $t(s){let e,n,l;return e=new le({props:{tokens:s[18].tokens,renderers:s[5]}}),{c(){T(e.$$.fragment),n=K()},l(t){V(e.$$.fragment,t),n=Y(t)},m(t,i){y(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){_(e.$$.fragment,t),l=!1},d(t){C(e,t),t&&c(n)}}}function Ae(s){let e,n,l;const t=[s[18]];var i=s[5].unorderedlistitem||s[5].listitem;function r(a){let o={$$slots:{default:[$t]},$$scope:{ctx:a}};for(let f=0;f{C(u,1)}),B()}i?(e=new i(r(a)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&_(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&C(e,a)}}}function wt(s){let e,n,l=s[6].items,t=[];for(let r=0;r_(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{C(u,1)}),B()}i?(e=new i(r(a)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&p(e.$$.fragment,a),l=!0)},o(a){e&&_(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&C(e,a)}}}function zt(s){let e,n,l=s[6].items,t=[];for(let r=0;r_(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{C(f,1)}),B()}t?(e=new t(i(r)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&_(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&C(e,r)}}}function It(s){let e,n,l=s[2],t=[];for(let r=0;r_(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{C(f,1)}),B()}t?(e=new t(i(r)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&_(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&C(e,r)}}}function Rt(s){let e,n;return e=new le({props:{tokens:s[13].tokens,renderers:s[5]}}),{c(){T(e.$$.fragment)},l(l){V(e.$$.fragment,l)},m(l,t){y(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){_(e.$$.fragment,l),n=!1},d(l){C(e,l)}}}function Ce(s){let e,n,l;var t=s[5].tablecell;function i(r){return{props:{header:!1,align:r[6].align[r[15]]||"center",$$slots:{default:[Rt]},$$scope:{ctx:r}}}}return t&&(e=new t(i(s))),{c(){e&&T(e.$$.fragment),n=z()},l(r){e&&V(e.$$.fragment,r),n=z()},m(r,a){e&&y(e,r,a),k(r,n,a),l=!0},p(r,a){const o={};if(a&64&&(o.align=r[6].align[r[15]]||"center"),a&8388648&&(o.$$scope={dirty:a,ctx:r}),t!==(t=r[5].tablecell)){if(e){D();const f=e;_(f.$$.fragment,1,0,()=>{C(f,1)}),B()}t?(e=new t(i(r)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&_(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&C(e,r)}}}function At(s){let e,n,l=s[10],t=[];for(let r=0;r_(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{C(f,1)}),B()}t?(e=new t(i(r)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&p(e.$$.fragment,r),l=!0)},o(r){e&&_(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&C(e,r)}}}function Tt(s){let e,n,l=s[3],t=[];for(let r=0;r_(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{C(S,1)}),B()}r?(e=new r(a(u)),T(e.$$.fragment),p(e.$$.fragment,1),y(e,n.parentNode,n)):e=null}else r&&e.$set(b);const d={};if(g&8388712&&(d.$$scope={dirty:g,ctx:u}),o!==(o=u[5].tablebody)){if(l){D();const S=l;_(S.$$.fragment,1,0,()=>{C(S,1)}),B()}o?(l=new o(f(u)),T(l.$$.fragment),p(l.$$.fragment,1),y(l,t.parentNode,t)):l=null}else o&&l.$set(d)},i(u){i||(e&&p(e.$$.fragment,u),l&&p(l.$$.fragment,u),i=!0)},o(u){e&&_(e.$$.fragment,u),l&&_(l.$$.fragment,u),i=!1},d(u){e&&C(e,u),u&&c(n),u&&c(t),l&&C(l,u)}}}function xe(s){let e,n;const l=[s[7],{renderers:s[5]}];let t={};for(let i=0;i{r[u]=null}),B()),~e?(n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),p(n,1),n.m(l.parentNode,l)):n=null)},i(o){t||(p(n),t=!0)},o(o){_(n),t=!1},d(o){~e&&r[e].d(o),o&&c(l)}}}function Nt(s,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:o=void 0}=e,{ordered:f=!1}=e,{renderers:u}=e;return ft(),s.$$set=g=>{e=ne(ne({},e),lt(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,o=g.rows),"ordered"in g&&n(4,f=g.ordered),"renderers"in g&&n(5,u=g.renderers)},[i,r,a,o,f,u,t]}class le extends O{constructor(e){super();Z(this,e,Nt,Ct,M,{type:0,tokens:1,header:2,rows:3,ordered:4,renderers:5})}}function xt(){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=xt();const Lt=/[&<>"']/,Dt=/[&<>"']/g,Bt=/[<>"']|&(?!#?\w+;)/,qt=/[<>"']|&(?!#?\w+;)/g,Ot={"&":"&","<":"<",">":">",'"':""","'":"'"},Le=s=>Ot[s];function F(s,e){if(e){if(Lt.test(s))return s.replace(Dt,Le)}else if(Bt.test(s))return s.replace(qt,Le);return s}const Zt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Xe(s){return s.replace(Zt,(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 Mt=/(^|[^\[])\^/g;function q(s,e){s=s.source||s,e=e||"";const n={replace:(l,t)=>(t=t.source||t,t=t.replace(Mt,"$1"),s=s.replace(l,t),n),getRegex:()=>new RegExp(s,e)};return n}const Pt=/[^\w:]/g,Ut=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function De(s,e,n){if(s){let l;try{l=decodeURIComponent(Xe(n)).replace(Pt,"").toLowerCase()}catch{return null}if(l.indexOf("javascript:")===0||l.indexOf("vbscript:")===0||l.indexOf("data:")===0)return null}e&&!Ut.test(n)&&(n=Gt(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const pe={},jt=/^[^:]+:\/*[^/]*$/,Ht=/^([^:]+:)[\s\S]*$/,Qt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Gt(s,e){pe[" "+s]||(jt.test(s)?pe[" "+s]=s+"/":pe[" "+s]=_e(s,"/",!0)),s=pe[" "+s];const n=s.indexOf(":")===-1;return e.substring(0,2)==="//"?n?e:s.replace(Ht,"$1")+e:e.charAt(0)==="/"?n?e:s.replace(Qt,"$1")+e:s+e}const de={exec:function(){}};function ie(s){let e=1,n,l;for(;e{let o=!1,f=r;for(;--f>=0&&a[f]==="\\";)o=!o;return o?"|":" |"}),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.length1;)e&1&&(n+=s),e>>=1,s+=s;return n+s}function Oe(s,e,n,l){const t=e.href,i=e.title?F(e.title):null,r=s[1].replace(/\\([\[\]])/g,"$1");if(s[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 Ft(s,e){const n=s.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 Wt{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=Ft(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,o,f,u,g,b,d,S,A=n[1].trim();const h=A.length>1,w={type:"list",raw:"",ordered:h,start:h?+A.slice(0,-1):"",loose:!1,items:[]};A=h?`\\d{1,9}\\${A.slice(-1)}`:`\\${A}`,this.options.pedantic&&(A=h?A:"[*+-]");const P=new RegExp(`^( {0,3}${A})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(S=!1,!(!(n=P.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,d=u.trimLeft()):(r=n[2].search(/[^ ]/),r=r>4?1:r,d=u.slice(r),r+=n[1].length),o=!1,!u&&/^ *$/.test(g)&&(l+=g+` `,e=e.substring(g.length+1),S=!0),!S){const x=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(b=e.split(` `,1)[0],u=b,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!x.test(u));){if(u.search(/[^ ]/)>=r||!u.trim())d+=` `+u.slice(r);else if(!o)d+=` `+u;else break;!o&&!u.trim()&&(o=!0),l+=b+` `,e=e.substring(b.length+1)}}w.loose||(f?w.loose=!0:/\n *\n *$/.test(l)&&(f=!0)),this.options.gfm&&(t=/^\[[ xX]\] /.exec(d),t&&(i=t[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),w.items.push({type:"list_item",raw:l,task:!!t,checked:i,loose:!1,text:d}),w.raw+=l}w.items[w.items.length-1].raw=l.trimRight(),w.items[w.items.length-1].text=d.trimRight(),w.raw=w.raw.trimRight();const N=w.items.length;for(a=0;aJ.type==="space"),L=x.every(J=>{const ee=J.raw.split("");let te=0;for(const Je of ee)if(Je===` `&&(te+=1),te>1)return!0;return!1});!w.loose&&x.length&&L&&(w.loose=!0,w.items[a].loose=!0)}return w}}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:Be(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,o;for(i=0;i({text:f}));for(t=l.header.length,r=0;r/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))return;const r=_e(l.slice(0,-1),"\\");if((l.length-r.length)%2===0)return}else{const r=Vt(n[2],"()");if(r>-1){const o=(n[0].indexOf("!")===0?5:4)+n[1].length+r;n[2]=n[2].substring(0,r),n[0]=n[0].substring(0,o).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(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,o,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(o=a.length,t[3]||t[4]){f+=o;continue}else if((t[5]||t[6])&&r%3&&!((r+o)%3)){u+=o;continue}if(f-=o,f>0)continue;if(o=Math.min(o,o+f+u),Math.min(r,o)%2){const d=e.slice(1,r+t.index+o);return{type:"em",raw:e.slice(0,r+t.index+o+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}const b=e.slice(2,r+t.index+o-1);return{type:"strong",raw:e.slice(0,r+t.index+o+1),text:b,tokens:this.lexer.inlineTokens(b,[])}}}}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 v={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]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\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]+/};v._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;v._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;v.def=q(v.def).replace("label",v._label).replace("title",v._title).getRegex();v.bullet=/(?:[*+-]|\d{1,9}[.)])/;v.listItemStart=q(/^( *)(bull) */).replace("bull",v.bullet).getRegex();v.list=q(v.list).replace(/bull/g,v.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+v.def.source+")").getRegex();v._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";v._comment=/|$)/;v.html=q(v.html,"i").replace("comment",v._comment).replace("tag",v._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();v.paragraph=q(v._paragraph).replace("hr",v.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",v._tag).getRegex();v.blockquote=q(v.blockquote).replace("paragraph",v.paragraph).getRegex();v.normal=ie({},v);v.gfm=ie({},v.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});v.gfm.table=q(v.gfm.table).replace("hr",v.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",")|<(?:script|pre|style|textarea|!--)").replace("tag",v._tag).getRegex();v.gfm.paragraph=q(v._paragraph).replace("hr",v.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",v.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",v._tag).getRegex();v.pedantic=ie({},v.normal,{html:q(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",v._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:de,paragraph:q(v.normal._paragraph).replace("hr",v.hr).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",v.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-]*(?:attribute)*?\\s*/?>|^<\\?[\\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]*?(?:(?=[\\?@\\[\\]`^{|}~";$.punctuation=q($.punctuation).replace(/punctuation/g,$._punctuation).getRegex();$.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;$.escapedEmSt=/\\\*|\\_/g;$._comment=q(v._comment).replace("(?:-->|$)","-->").getRegex();$.emStrong.lDelim=q($.emStrong.lDelim).replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimAst=q($.emStrong.rDelimAst,"g").replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimUnd=q($.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=q($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex();$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;$.tag=q($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex();$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;$.link=q($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex();$.reflink=q($.reflink).replace("label",$._label).replace("ref",v._label).getRegex();$.nolink=q($.nolink).replace("ref",v._label).getRegex();$.reflinkSearch=q($.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:q(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()});$.gfm=ie({},$.normal,{escape:q($.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]*?(?:(?=[\\.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 Wt,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:v.normal,inline:$.normal};this.options.pedantic?(n.block=v.pedantic,n.inline=$.pedantic):this.options.gfm&&(n.block=v.gfm,this.options.breaks?n.inline=$.breaks:n.inline=$.gfm),this.tokenizer.rules=n}static get rules(){return{block:v,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 o=e.slice(1);let f;this.options.extensions.startBlock.forEach(function(u){f=u.call({lexer:this},o),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,o,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(o||(f=""),o=!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 b;this.options.extensions.startInline.forEach(function(d){b=d.call({lexer:this},g),typeof b=="number"&&b>=0&&(u=Math.min(u,b))}),u<1/0&&u>=0&&(i=e.substring(0,u+1))}if(l=this.tokenizer.inlineText(i,Xt)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(f=l.raw.slice(-1)),o=!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 Kt{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?'
'+(l?e:F(e,!0))+`
`:"
"+(l?e:F(e,!0))+`
`}blockquote(e){return`
`+e+`
`}html(e){return e}heading(e,n,l,t){return this.options.headerIds?"'+e+" `:""+e+" `}hr(){return this.options.xhtml?`
`:`
`}list(e,n,l){const t=n?"ol":"ul",i=n&&l!==1?' start="'+l+'"':"";return"<"+t+i+`> `+e+" `}listitem(e){return"
  • "+e+`
  • `}checkbox(e){return" "}paragraph(e){return"

    "+e+`

    `}table(e,n){return n&&(n=""+n+""),` `+e+` `+n+`
    `}tablerow(e){return` `+e+` `}tablecell(e,n){const l=n.header?"th":"td";return(n.align?"<"+l+' align="'+n.align+'">':"<"+l+">")+e+" `}strong(e){return""+e+""}em(e){return""+e+""}codespan(e){return""+e+""}br(){return this.options.xhtml?"
    ":"
    "}del(e){return""+e+""}link(e,n,l){if(e=De(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t='",t}image(e,n,l){if(e=De(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t=''+l+'":">",t}text(e){return e}}class Yt{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 Ke{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 Kt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Yt,this.slugger=new Ke}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,o,f,u,g,b,d,S,A,h,w,P,N,x,L,J;const ee=e.length;for(t=0;t0&&P.tokens[0].type==="paragraph"?(P.tokens[0].text=L+" "+P.tokens[0].text,P.tokens[0].tokens&&P.tokens[0].tokens.length>0&&P.tokens[0].tokens[0].type==="text"&&(P.tokens[0].tokens[0].text=L+" "+P.tokens[0].tokens[0].text)):P.tokens.unshift({type:"text",text:L}):w+=L),w+=this.parse(P.tokens,h),b+=this.renderer.listitem(w,x,N);l+=this.renderer.list(b,S,A);continue}case"html":{l+=this.renderer.html(d.text);continue}case"paragraph":{l+=this.renderer.paragraph(this.parseInline(d.tokens));continue}case"text":{for(b=d.tokens?this.parseInline(d.tokens):d.text;t+1{r[u]=null}),B(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),p(n,1),n.m(l.parentNode,l))},i(o){t||(p(n),t=!0)},o(o){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function an(s,e,n){let l,{$$slots:t={},$$scope:i}=e,{depth:r}=e,{raw:a}=e,{text:o}=e;const{slug:f,getOptions:u}=it(Ye),g=u();return s.$$set=b=>{"depth"in b&&n(0,r=b.depth),"raw"in b&&n(1,a=b.raw),"text"in b&&n(3,o=b.text),"$$scope"in b&&n(4,i=b.$$scope)},s.$$.update=()=>{s.$$.dirty&8&&n(2,l=g.headerIds?g.headerPrefix+f(o):void 0)},[r,a,l,o,i,t]}class fn extends O{constructor(e){super();Z(this,e,an,on,M,{depth:0,raw:1,text:3})}}function un(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("p"),t&&t.c()},l(i){e=E(i,"P",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function cn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class hn extends O{constructor(e){super();Z(this,e,cn,un,M,{})}}function pn(s){let e;const n=s[3].default,l=U(n,s,s[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)&&j(l,n,t,t[2],e?Q(n,t[2],i,null):H(t[2]),null)},i(t){e||(p(l,t),e=!0)},o(t){_(l,t),e=!1},d(t){l&&l.d(t)}}}function _n(s,e,n){let{$$slots:l={},$$scope:t}=e,{text:i}=e,{raw:r}=e;return s.$$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 mn extends O{constructor(e){super();Z(this,e,_n,pn,M,{text:0,raw:1})}}function dn(s){let e,n;return{c(){e=I("img"),this.h()},l(l){e=E(l,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){W(e.src,n=s[0])||m(e,"src",n),m(e,"title",s[1]),m(e,"alt",s[2])},m(l,t){k(l,e,t)},p(l,[t]){t&1&&!W(e.src,n=l[0])&&m(e,"src",n),t&2&&m(e,"title",l[1]),t&4&&m(e,"alt",l[2])},i:X,o:X,d(l){l&&c(e)}}}function gn(s,e,n){let{href:l=""}=e,{title:t=void 0}=e,{text:i=""}=e;return s.$$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 kn extends O{constructor(e){super();Z(this,e,gn,dn,M,{href:0,title:1,text:2})}}function bn(s){let e,n;const l=s[3].default,t=U(l,s,s[2],null);return{c(){e=I("a"),t&&t.c(),this.h()},l(i){e=E(i,"A",{href:!0,title:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){m(e,"href",s[0]),m(e,"title",s[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&4)&&j(t,l,i,i[2],n?Q(l,i[2],r,null):H(i[2]),null),(!n||r&1)&&m(e,"href",i[0]),(!n||r&2)&&m(e,"title",i[1])},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function $n(s,e,n){let{$$slots:l={},$$scope:t}=e,{href:i=""}=e,{title:r=void 0}=e;return s.$$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 wn extends O{constructor(e){super();Z(this,e,$n,bn,M,{href:0,title:1})}}function vn(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("em"),t&&t.c()},l(i){e=E(i,"EM",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function zn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Sn extends O{constructor(e){super();Z(this,e,zn,vn,M,{})}}function In(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("del"),t&&t.c()},l(i){e=E(i,"DEL",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function En(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Rn extends O{constructor(e){super();Z(this,e,En,In,M,{})}}function An(s){let e,n=s[0].replace(/`/g,"")+"",l;return{c(){e=I("code"),l=re(n)},l(t){e=E(t,"CODE",{});var i=R(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:X,o:X,d(t){t&&c(e)}}}function Tn(s,e,n){let{raw:l}=e;return s.$$set=t=>{"raw"in t&&n(0,l=t.raw)},[l]}class yn extends O{constructor(e){super();Z(this,e,Tn,An,M,{raw:0})}}function Cn(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("strong"),t&&t.c()},l(i){e=E(i,"STRONG",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Nn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class xn extends O{constructor(e){super();Z(this,e,Nn,Cn,M,{})}}function Ln(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("table"),t&&t.c()},l(i){e=E(i,"TABLE",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Dn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Bn extends O{constructor(e){super();Z(this,e,Dn,Ln,M,{})}}function qn(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("thead"),t&&t.c()},l(i){e=E(i,"THEAD",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function On(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Zn extends O{constructor(e){super();Z(this,e,On,qn,M,{})}}function Mn(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("tbody"),t&&t.c()},l(i){e=E(i,"TBODY",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Pn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Un extends O{constructor(e){super();Z(this,e,Pn,Mn,M,{})}}function jn(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("tr"),t&&t.c()},l(i){e=E(i,"TR",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Hn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Qn extends O{constructor(e){super();Z(this,e,Hn,jn,M,{})}}function Gn(s){let e,n;const l=s[3].default,t=U(l,s,s[2],null);return{c(){e=I("td"),t&&t.c(),this.h()},l(i){e=E(i,"TD",{align:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){m(e,"align",s[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&j(t,l,i,i[2],n?Q(l,i[2],r,null):H(i[2]),null),(!n||r&2)&&m(e,"align",i[1])},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Vn(s){let e,n;const l=s[3].default,t=U(l,s,s[2],null);return{c(){e=I("th"),t&&t.c(),this.h()},l(i){e=E(i,"TH",{align:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){m(e,"align",s[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&j(t,l,i,i[2],n?Q(l,i[2],r,null):H(i[2]),null),(!n||r&2)&&m(e,"align",i[1])},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Fn(s){let e,n,l,t;const i=[Vn,Gn],r=[];function a(o,f){return o[0]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=z()},l(o){n.l(o),l=z()},m(o,f){r[e].m(o,f),k(o,l,f),t=!0},p(o,[f]){let u=e;e=a(o),e===u?r[e].p(o,f):(D(),_(r[u],1,1,()=>{r[u]=null}),B(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),p(n,1),n.m(l.parentNode,l))},i(o){t||(p(n),t=!0)},o(o){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function Wn(s,e,n){let{$$slots:l={},$$scope:t}=e,{header:i}=e,{align:r}=e;return s.$$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 Xn extends O{constructor(e){super();Z(this,e,Wn,Fn,M,{header:0,align:1})}}function Kn(s){let e,n;const l=s[3].default,t=U(l,s,s[2],null);return{c(){e=I("ul"),t&&t.c()},l(i){e=E(i,"UL",{});var r=R(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)&&j(t,l,i,i[2],n?Q(l,i[2],r,null):H(i[2]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Yn(s){let e,n;const l=s[3].default,t=U(l,s,s[2],null);return{c(){e=I("ol"),t&&t.c(),this.h()},l(i){e=E(i,"OL",{start:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){m(e,"start",s[1])},m(i,r){k(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&j(t,l,i,i[2],n?Q(l,i[2],r,null):H(i[2]),null),(!n||r&2)&&m(e,"start",i[1])},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Jn(s){let e,n,l,t;const i=[Yn,Kn],r=[];function a(o,f){return o[0]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=z()},l(o){n.l(o),l=z()},m(o,f){r[e].m(o,f),k(o,l,f),t=!0},p(o,[f]){let u=e;e=a(o),e===u?r[e].p(o,f):(D(),_(r[u],1,1,()=>{r[u]=null}),B(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),p(n,1),n.m(l.parentNode,l))},i(o){t||(p(n),t=!0)},o(o){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function el(s,e,n){let{$$slots:l={},$$scope:t}=e,{ordered:i}=e,{start:r}=e;return s.$$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 tl extends O{constructor(e){super();Z(this,e,el,Jn,M,{ordered:0,start:1})}}function nl(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("li"),t&&t.c()},l(i){e=E(i,"LI",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function ll(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class il extends O{constructor(e){super();Z(this,e,ll,nl,M,{})}}function rl(s){let e;return{c(){e=I("hr")},l(n){e=E(n,"HR",{})},m(n,l){k(n,e,l)},p:X,i:X,o:X,d(n){n&&c(e)}}}class sl extends O{constructor(e){super();Z(this,e,null,rl,M,{})}}function ol(s){let e,n;return{c(){e=new rt,n=z(),this.h()},l(l){e=st(l),n=z(),this.h()},h(){e.a=n},m(l,t){e.m(s[0],l,t),k(l,n,t)},p(l,[t]){t&1&&e.p(l[0])},i:X,o:X,d(l){l&&c(n),l&&e.d()}}}function al(s,e,n){let{text:l}=e;return s.$$set=t=>{"text"in t&&n(0,l=t.text)},[l]}class fl extends O{constructor(e){super();Z(this,e,al,ol,M,{text:0})}}function ul(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("blockquote"),t&&t.c()},l(i){e=E(i,"BLOCKQUOTE",{});var r=R(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function cl(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class hl extends O{constructor(e){super();Z(this,e,cl,ul,M,{})}}function pl(s){let e,n,l;return{c(){e=I("pre"),n=I("code"),l=re(s[1]),this.h()},l(t){e=E(t,"PRE",{class:!0});var i=R(e);n=E(i,"CODE",{});var r=R(n);l=se(r,s[1]),r.forEach(c),i.forEach(c),this.h()},h(){m(e,"class",s[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&&m(e,"class",t[0])},i:X,o:X,d(t){t&&c(e)}}}function _l(s,e,n){let{lang:l}=e,{text:t}=e;return s.$$set=i=>{"lang"in i&&n(0,l=i.lang),"text"in i&&n(1,t=i.text)},[l,t]}class ml extends O{constructor(e){super();Z(this,e,_l,pl,M,{lang:0,text:1})}}function dl(s){let e,n;const l=s[1].default,t=U(l,s,s[0],null);return{c(){e=I("br"),t&&t.c()},l(i){e=E(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)&&j(t,l,i,i[0],n?Q(l,i[0],r,null):H(i[0]),null)},i(i){n||(p(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function gl(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class kl extends O{constructor(e){super();Z(this,e,gl,dl,M,{})}}const bl={heading:fn,paragraph:hn,text:mn,image:kn,link:wn,em:Sn,strong:xn,codespan:yn,del:Rn,table:Bn,tablehead:Zn,tablebody:Un,tablerow:Qn,tablecell:Xn,list:tl,orderedlistitem:null,unorderedlistitem:null,listitem:il,hr:sl,html:fl,blockquote:hl,code:ml,br:kl},$l={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 wl(s){let e,n;return e=new le({props:{tokens:s[0],renderers:s[1]}}),{c(){T(e.$$.fragment)},l(l){V(e.$$.fragment,l)},m(l,t){y(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){_(e.$$.fragment,l),n=!1},d(l){C(e,l)}}}function vl(s,e,n){let l,t,i,{source:r=""}=e,{renderers:a={}}=e,{options:o={}}=e,{isInline:f=!1}=e;const u=ot();let g,b,d;return at(Ye,{slug:S=>l?l.slug(S):"",getOptions:()=>t}),Fe(()=>{n(7,d=!0)}),s.$$set=S=>{"source"in S&&n(2,r=S.source),"renderers"in S&&n(3,a=S.renderers),"options"in S&&n(4,o=S.options),"isInline"in S&&n(5,f=S.isInline)},s.$$.update=()=>{s.$$.dirty&4&&(l=r?new Ke:void 0),s.$$.dirty&16&&n(8,t=ce(ce({},$l),o)),s.$$.dirty&357&&(n(6,b=new he(t)),n(0,g=f?b.inlineTokens(r):b.lex(r)),u("parsed",{tokens:g})),s.$$.dirty&8&&n(1,i=ce(ce({},bl),a)),s.$$.dirty&129&&d&&u("parsed",{tokens:g})},[g,i,r,a,o,f,b,d,t]}class zl extends O{constructor(e){super();Z(this,e,vl,wl,M,{source:2,renderers:3,options:4,isInline:5})}}function Me(s){let e,n,l,t,i;return{c(){e=I("div"),n=I("img"),this.h()},l(r){e=E(r,"DIV",{class:!0});var a=R(e);n=E(a,"IMG",{src:!0,class:!0,alt:!0}),a.forEach(c),this.h()},h(){W(n.src,l=s[3])||m(n,"src",l),m(n,"class",t=s[2]+" rounded-full m-auto"),m(n,"alt",i=s[0].name),m(e,"class","customSize} text-center pb-4 m-auto")},m(r,a){k(r,e,a),G(e,n)},p(r,a){a&8&&!W(n.src,l=r[3])&&m(n,"src",l),a&4&&t!==(t=r[2]+" rounded-full m-auto")&&m(n,"class",t),a&1&&i!==(i=r[0].name)&&m(n,"alt",i)},d(r){r&&c(e)}}}function Pe(s){let e,n,l,t,i,r;return{c(){e=I("div"),n=I("img"),this.h()},l(a){e=E(a,"DIV",{class:!0});var o=R(e);n=E(o,"IMG",{src:!0,class:!0,alt:!0}),o.forEach(c),this.h()},h(){W(n.src,l=s[3])||m(n,"src",l),m(n,"class","w-64 rounded-full m-auto shadow-xl"),m(n,"alt",t=s[0].name),m(e,"class","w-64 text-center pb-4 m-auto")},m(a,o){k(a,e,o),G(e,n),i||(r=[me(n,"mouseover",s[5]),me(n,"mouseleave",s[6])],i=!0)},p(a,o){o&8&&!W(n.src,l=a[3])&&m(n,"src",l),o&1&&t!==(t=a[0].name)&&m(n,"alt",t)},d(a){a&&c(e),i=!1,We(r)}}}function Ue(s){let e,n,l,t,i,r,a,o,f,u=s[0].name+"",g,b,d,S,A,h,w,P,N=(s[0].bio||s[0].orgs)&&je(s);return{c(){e=I("div"),n=I("a"),l=I("img"),a=K(),o=I("div"),f=I("a"),g=re(u),d=K(),S=re(s[4]),A=K(),N&&N.c(),this.h()},l(x){e=E(x,"DIV",{class:!0});var L=R(e);n=E(L,"A",{href:!0});var J=R(n);l=E(J,"IMG",{src:!0,class:!0,alt:!0}),J.forEach(c),a=Y(L),o=E(L,"DIV",{class:!0});var ee=R(o);f=E(ee,"A",{href:!0});var te=R(f);g=se(te,u),te.forEach(c),d=Y(ee),S=se(ee,s[4]),ee.forEach(c),A=Y(L),N&&N.l(L),L.forEach(c),this.h()},h(){W(l.src,t=s[3])||m(l,"src",t),m(l,"class","w-36 sm:w-40 rounded-full m-auto shadow-xl"),m(l,"alt",i=s[0].name),m(n,"href",r="/lide?id="+s[0].id),m(f,"href",b="/lide?id="+s[0].id),m(o,"class","mt-4 text-sm text-blue-web uppercase font-bold"),m(e,"class","w-36 sm:w-44 text-center pb-4")},m(x,L){k(x,e,L),G(e,n),G(n,l),G(e,a),G(e,o),G(o,f),G(f,g),G(o,d),G(o,S),G(e,A),N&&N.m(e,null),h=!0,w||(P=[me(n,"mouseover",s[5]),me(n,"mouseleave",s[6])],w=!0)},p(x,L){(!h||L&8&&!W(l.src,t=x[3]))&&m(l,"src",t),(!h||L&1&&i!==(i=x[0].name))&&m(l,"alt",i),(!h||L&1&&r!==(r="/lide?id="+x[0].id))&&m(n,"href",r),(!h||L&1)&&u!==(u=x[0].name+"")&&oe(g,u),(!h||L&1&&b!==(b="/lide?id="+x[0].id))&&m(f,"href",b),(!h||L&16)&&oe(S,x[4]),x[0].bio||x[0].orgs?N?(N.p(x,L),L&1&&p(N,1)):(N=je(x),N.c(),p(N,1),N.m(e,null)):N&&(D(),_(N,1,1,()=>{N=null}),B())},i(x){h||(p(N),h=!0)},o(x){_(N),h=!1},d(x){x&&c(e),N&&N.d(),w=!1,We(P)}}}function je(s){let e,n,l;return n=new zl({props:{source:s[0].bio||s[0].orgs}}),{c(){e=I("div"),T(n.$$.fragment),this.h()},l(t){e=E(t,"DIV",{class:!0});var i=R(e);V(n.$$.fragment,i),i.forEach(c),this.h()},h(){m(e,"class","mt-1 text-xs text-blue-web italic")},m(t,i){k(t,e,i),y(n,e,null),l=!0},p(t,i){const r={};i&1&&(r.source=t[0].bio||t[0].orgs),n.$set(r)},i(t){l||(p(n.$$.fragment,t),l=!0)},o(t){_(n.$$.fragment,t),l=!1},d(t){t&&c(e),C(n)}}}function He(s){let e,n,l,t;return{c(){e=I("div"),n=I("img"),this.h()},l(i){e=E(i,"DIV",{class:!0});var r=R(e);n=E(r,"IMG",{src:!0,class:!0,alt:!0}),r.forEach(c),this.h()},h(){W(n.src,l=s[3])||m(n,"src",l),m(n,"class","w-16 rounded-full m-auto"),m(n,"alt",t=s[0].name),m(e,"class","w-16 text-center")},m(i,r){k(i,e,r),G(e,n)},p(i,r){r&8&&!W(n.src,l=i[3])&&m(n,"src",l),r&1&&t!==(t=i[0].name)&&m(n,"alt",t)},d(i){i&&c(e)}}}function Qe(s){let e,n,l,t;return{c(){e=I("div"),n=I("img"),this.h()},l(i){e=E(i,"DIV",{class:!0});var r=R(e);n=E(r,"IMG",{src:!0,class:!0,alt:!0}),r.forEach(c),this.h()},h(){W(n.src,l=s[3])||m(n,"src",l),m(n,"class","w-10 rounded-full m-auto shadow-md"),m(n,"alt",t=s[0].name),m(e,"class","w-10 text-center")},m(i,r){k(i,e,r),G(e,n)},p(i,r){r&8&&!W(n.src,l=i[3])&&m(n,"src",l),r&1&&t!==(t=i[0].name)&&m(n,"alt",t)},d(i){i&&c(e)}}}function Ge(s){let e,n,l,t,i,r;return{c(){e=I("div"),n=I("a"),l=I("img"),this.h()},l(a){e=E(a,"DIV",{class:!0});var o=R(e);n=E(o,"A",{href:!0});var f=R(n);l=E(f,"IMG",{src:!0,class:!0,alt:!0}),f.forEach(c),o.forEach(c),this.h()},h(){W(l.src,t=s[3])||m(l,"src",t),m(l,"class","w-6 rounded-full m-auto"),m(l,"alt",i=s[0].name),m(n,"href",r="/lide?id="+s[0].id),m(e,"class","w-6 h-6 text-center")},m(a,o){k(a,e,o),G(e,n),G(n,l)},p(a,o){o&8&&!W(l.src,t=a[3])&&m(l,"src",t),o&1&&i!==(i=a[0].name)&&m(l,"alt",i),o&1&&r!==(r="/lide?id="+a[0].id)&&m(n,"href",r)},d(a){a&&c(e)}}}function Ve(s){let e,n,l,t,i,r;return{c(){e=I("div"),n=I("a"),l=I("img"),this.h()},l(a){e=E(a,"DIV",{class:!0});var o=R(e);n=E(o,"A",{href:!0});var f=R(n);l=E(f,"IMG",{src:!0,class:!0,alt:!0}),f.forEach(c),o.forEach(c),this.h()},h(){W(l.src,t=s[3])||m(l,"src",t),m(l,"class","w-4 rounded-full m-auto"),m(l,"alt",i=s[0].name),m(n,"href",r="/lide?id="+s[0].id),m(e,"class","w-4 h-4 text-center")},m(a,o){k(a,e,o),G(e,n),G(n,l)},p(a,o){o&8&&!W(l.src,t=a[3])&&m(l,"src",t),o&1&&i!==(i=a[0].name)&&m(l,"alt",i),o&1&&r!==(r="/lide?id="+a[0].id)&&m(n,"href",r)},d(a){a&&c(e)}}}function Sl(s){let e,n,l,t,i,r,a,o,f=s[1]==="custom"&&Me(s),u=s[1]==="big"&&Pe(s),g=s[1]==="normal"&&Ue(s),b=s[1]==="small"&&He(s),d=s[1]==="semi-small"&&Qe(s),S=s[1]==="extra-small"&&Ge(s),A=s[1]==="micro"&&Ve(s);return{c(){f&&f.c(),e=K(),u&&u.c(),n=K(),g&&g.c(),l=K(),b&&b.c(),t=K(),d&&d.c(),i=K(),S&&S.c(),r=K(),A&&A.c(),a=z()},l(h){f&&f.l(h),e=Y(h),u&&u.l(h),n=Y(h),g&&g.l(h),l=Y(h),b&&b.l(h),t=Y(h),d&&d.l(h),i=Y(h),S&&S.l(h),r=Y(h),A&&A.l(h),a=z()},m(h,w){f&&f.m(h,w),k(h,e,w),u&&u.m(h,w),k(h,n,w),g&&g.m(h,w),k(h,l,w),b&&b.m(h,w),k(h,t,w),d&&d.m(h,w),k(h,i,w),S&&S.m(h,w),k(h,r,w),A&&A.m(h,w),k(h,a,w),o=!0},p(h,[w]){h[1]==="custom"?f?f.p(h,w):(f=Me(h),f.c(),f.m(e.parentNode,e)):f&&(f.d(1),f=null),h[1]==="big"?u?u.p(h,w):(u=Pe(h),u.c(),u.m(n.parentNode,n)):u&&(u.d(1),u=null),h[1]==="normal"?g?(g.p(h,w),w&2&&p(g,1)):(g=Ue(h),g.c(),p(g,1),g.m(l.parentNode,l)):g&&(D(),_(g,1,1,()=>{g=null}),B()),h[1]==="small"?b?b.p(h,w):(b=He(h),b.c(),b.m(t.parentNode,t)):b&&(b.d(1),b=null),h[1]==="semi-small"?d?d.p(h,w):(d=Qe(h),d.c(),d.m(i.parentNode,i)):d&&(d.d(1),d=null),h[1]==="extra-small"?S?S.p(h,w):(S=Ge(h),S.c(),S.m(r.parentNode,r)):S&&(S.d(1),S=null),h[1]==="micro"?A?A.p(h,w):(A=Ve(h),A.c(),A.m(a.parentNode,a)):A&&(A.d(1),A=null)},i(h){o||(p(g),o=!0)},o(h){_(g),o=!1},d(h){f&&f.d(h),h&&c(e),u&&u.d(h),h&&c(n),g&&g.d(h),h&&c(l),b&&b.d(h),h&&c(t),d&&d.d(h),h&&c(i),S&&S.d(h),h&&c(r),A&&A.d(h),h&&c(a)}}}let Il="https://spec.utxo.cz/22/photos";function El(s){const e=s.toUpperCase().split("").map(n=>127397+n.charCodeAt());return String.fromCodePoint(...e)}function Rl(s,e,n){let l,t,i,r,a,{speaker:o}=e,{col:f="speakers"}=e,{size:u="normal"}=e,{customSize:g=null}=e;const b=["web:svg","web:webp","web:png","web:jpg","twitter:jpg"];function d(h){const w=[];if(o.photos&&o.photos.length>0){for(const P of b)if(o.photos.includes(P)){const[N,x]=P.split(":"),L=`${Il}/${f}/${o.id}-${N}.${x}`;if(w[0]){w.push(L);break}w.push(L)}}return w}t||(t="/img/twitter-avatar.png");function S(){i&&n(3,a=i)}function A(){n(3,a=t)}return s.$$set=h=>{"speaker"in h&&n(0,o=h.speaker),"col"in h&&n(7,f=h.col),"size"in h&&n(1,u=h.size),"customSize"in h&&n(2,g=h.customSize)},s.$$.update=()=>{s.$$.dirty&1&&n(9,l=d()),s.$$.dirty&512&&n(8,t=l[0]),s.$$.dirty&512&&(i=l[1]),s.$$.dirty&1&&n(4,r=o.country?El(o.country):""),s.$$.dirty&256&&n(3,a=t)},[o,u,g,a,r,S,A,f,t,l]}class yl extends O{constructor(e){super();Z(this,e,Rl,Sl,M,{speaker:0,col:7,size:1,customSize:2})}}export{yl as A,zl as S};