var Je=Object.defineProperty;var $e=Object.getOwnPropertySymbols;var et=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable;var be=(s,e,n)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[e]=n,ce=(s,e)=>{for(var n in e||(e={}))et.call(e,n)&&be(s,n,e[n]);if($e)for(var n of $e(e))tt.call(e,n)&&be(s,n,e[n]);return s};import{v as Ve,S as q,i as O,s as Z,l as v,g,n as y,o as m,p as C,q as h,d as c,T as we,C as ne,U as nt,w as R,x as G,y as A,z as ae,A as fe,B as T,G as ue,k as K,m as Y,t as re,h as se,j as oe,E as W,P as lt,O as M,e as z,c as S,a as E,b as d,L as U,M as P,N as j,I as X,F as V,V as it,W as rt,X as st,r as ot,K as me,Y as Fe}from"./index-05c131b6.js";function at(){const s=console.warn;console.warn=e=>{e.includes("unknown prop")||e.includes("unexpected slot")||s(e)},Ve(()=>{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 ft(s){let e,n,l,t;const i=[pt,ht,ct],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=v()},l(o){n.l(o),l=v()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(y(),m(r[u],1,1,()=>{r[u]=null}),C(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),h(n,1),n.m(l.parentNode,l))},i(o){t||(h(n),t=!0)},o(o){m(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function ut(s){let e,n,l=s[1],t=[];for(let r=0;rm(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{T(u,1)}),C()}i?(e=new i(r(a)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&h(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&T(e,a)}}}function ht(s){let e,n,l,t;const i=[kt,gt],r=[];function a(o,f){return o[4]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=v()},l(o){n.l(o),l=v()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(y(),m(r[u],1,1,()=>{r[u]=null}),C(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),h(n,1),n.m(l.parentNode,l))},i(o){t||(h(n),t=!0)},o(o){m(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function pt(s){let e,n,l;var t=s[5].table;function i(r){return{props:{$$slots:{default:[Tt]},$$scope:{ctx:r}}}}return t&&(e=new t(i(s))),{c(){e&&R(e.$$.fragment),n=v()},l(r){e&&G(e.$$.fragment,r),n=v()},m(r,a){e&&A(e,r,a),g(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){y();const f=e;m(f.$$.fragment,1,0,()=>{T(f,1)}),C()}t?(e=new t(i(r)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&h(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&T(e,r)}}}function _t(s){let e=s[6].raw+"",n;return{c(){n=re(e)},l(l){n=se(l,e)},m(l,t){g(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 mt(s){let e,n;return e=new le({props:{tokens:s[1],renderers:s[5]}}),{c(){R(e.$$.fragment)},l(l){G(e.$$.fragment,l)},m(l,t){A(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||(h(e.$$.fragment,l),n=!0)},o(l){m(e.$$.fragment,l),n=!1},d(l){T(e,l)}}}function dt(s){let e,n,l,t;const i=[mt,_t],r=[];function a(o,f){return o[1]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=v()},l(o){n.l(o),l=v()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(y(),m(r[u],1,1,()=>{r[u]=null}),C(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),h(n,1),n.m(l.parentNode,l))},i(o){t||(h(n),t=!0)},o(o){m(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function gt(s){let e,n,l;const t=[{ordered:s[4]},s[6]];var i=s[5].list;function r(a){let o={$$slots:{default:[bt]},$$scope:{ctx:a}};for(let f=0;f{T(u,1)}),C()}i?(e=new i(r(a)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&h(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&T(e,a)}}}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:[vt]},$$scope:{ctx:a}};for(let f=0;f{T(u,1)}),C()}i?(e=new i(r(a)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&h(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&T(e,a)}}}function $t(s){let e,n,l;return e=new le({props:{tokens:s[18].tokens,renderers:s[5]}}),{c(){R(e.$$.fragment),n=K()},l(t){G(e.$$.fragment,t),n=Y(t)},m(t,i){A(e,t,i),g(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||(h(e.$$.fragment,t),l=!0)},o(t){m(e.$$.fragment,t),l=!1},d(t){T(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{T(u,1)}),C()}i?(e=new i(r(a)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&h(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&T(e,a)}}}function bt(s){let e,n,l=s[6].items,t=[];for(let r=0;rm(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{T(u,1)}),C()}i?(e=new i(r(a)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&h(e.$$.fragment,a),l=!0)},o(a){e&&m(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&T(e,a)}}}function vt(s){let e,n,l=s[6].items,t=[];for(let r=0;rm(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{T(f,1)}),C()}t?(e=new t(i(r)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&h(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&T(e,r)}}}function St(s){let e,n,l=s[2],t=[];for(let r=0;rm(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{T(f,1)}),C()}t?(e=new t(i(r)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&h(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&T(e,r)}}}function Et(s){let e,n;return e=new le({props:{tokens:s[13].tokens,renderers:s[5]}}),{c(){R(e.$$.fragment)},l(l){G(e.$$.fragment,l)},m(l,t){A(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||(h(e.$$.fragment,l),n=!0)},o(l){m(e.$$.fragment,l),n=!1},d(l){T(e,l)}}}function ye(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:[Et]},$$scope:{ctx:r}}}}return t&&(e=new t(i(s))),{c(){e&&R(e.$$.fragment),n=v()},l(r){e&&G(e.$$.fragment,r),n=v()},m(r,a){e&&A(e,r,a),g(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){y();const f=e;m(f.$$.fragment,1,0,()=>{T(f,1)}),C()}t?(e=new t(i(r)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&h(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&T(e,r)}}}function Rt(s){let e,n,l=s[10],t=[];for(let r=0;rm(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{T(f,1)}),C()}t?(e=new t(i(r)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&h(e.$$.fragment,r),l=!0)},o(r){e&&m(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&T(e,r)}}}function At(s){let e,n,l=s[3],t=[];for(let r=0;rm(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r{T(p,1)}),C()}r?(e=new r(a(u)),R(e.$$.fragment),h(e.$$.fragment,1),A(e,n.parentNode,n)):e=null}else r&&e.$set($);const _={};if(k&8388712&&(_.$$scope={dirty:k,ctx:u}),o!==(o=u[5].tablebody)){if(l){y();const p=l;m(p.$$.fragment,1,0,()=>{T(p,1)}),C()}o?(l=new o(f(u)),R(l.$$.fragment),h(l.$$.fragment,1),A(l,t.parentNode,t)):l=null}else o&&l.$set(_)},i(u){i||(e&&h(e.$$.fragment,u),l&&h(l.$$.fragment,u),i=!0)},o(u){e&&m(e.$$.fragment,u),l&&m(l.$$.fragment,u),i=!1},d(u){e&&T(e,u),u&&c(n),u&&c(t),l&&T(l,u)}}}function Ne(s){let e,n;const l=[s[7],{renderers:s[5]}];let t={};for(let i=0;i{r[u]=null}),C()),~e?(n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),h(n,1),n.m(l.parentNode,l)):n=null)},i(o){t||(h(n),t=!0)},o(o){m(n),t=!1},d(o){~e&&r[e].d(o),o&&c(l)}}}function yt(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 at(),s.$$set=k=>{e=ne(ne({},e),nt(k)),n(6,t=we(e,l)),"type"in k&&n(0,i=k.type),"tokens"in k&&n(1,r=k.tokens),"header"in k&&n(2,a=k.header),"rows"in k&&n(3,o=k.rows),"ordered"in k&&n(4,f=k.ordered),"renderers"in k&&n(5,u=k.renderers)},[i,r,a,o,f,u,t]}class le extends q{constructor(e){super();O(this,e,yt,xt,Z,{type:0,tokens:1,header:2,rows:3,ordered:4,renderers:5})}}function Ct(){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=Ct();const Nt=/[&<>"']/,Lt=/[&<>"']/g,Dt=/[<>"']|&(?!#?\w+;)/,Bt=/[<>"']|&(?!#?\w+;)/g,qt={"&":"&","<":"<",">":">",'"':""","'":"'"},Le=s=>qt[s];function F(s,e){if(e){if(Nt.test(s))return s.replace(Lt,Le)}else if(Dt.test(s))return s.replace(Bt,Le);return s}const Ot=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function We(s){return s.replace(Ot,(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 Zt=/(^|[^\[])\^/g;function N(s,e){s=s.source||s,e=e||"";const n={replace:(l,t)=>(t=t.source||t,t=t.replace(Zt,"$1"),s=s.replace(l,t),n),getRegex:()=>new RegExp(s,e)};return n}const Mt=/[^\w:]/g,Ut=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function De(s,e,n){if(s){let l;try{l=decodeURIComponent(We(n)).replace(Mt,"").toLowerCase()}catch{return null}if(l.indexOf("javascript:")===0||l.indexOf("vbscript:")===0||l.indexOf("data:")===0)return null}e&&!Ut.test(n)&&(n=Qt(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const pe={},Pt=/^[^:]+:\/*[^/]*$/,jt=/^([^:]+:)[\s\S]*$/,Ht=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Qt(s,e){pe[" "+s]||(Pt.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(jt,"$1")+e:e.charAt(0)==="/"?n?e:s.replace(Ht,"$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 Vt(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 Ft{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=Vt(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,k,$,_,p,I=n[1].trim();const H=I.length>1,x={type:"list",raw:"",ordered:H,start:H?+I.slice(0,-1):"",loose:!1,items:[]};I=H?`\\d{1,9}\\${I.slice(-1)}`:`\\${I}`,this.options.pedantic&&(I=H?I:"[*+-]");const Q=new RegExp(`^( {0,3}${I})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(p=!1,!(!(n=Q.exec(e))||this.rules.block.hr.test(e)));){if(l=n[0],e=e.substring(l.length),u=n[2].split(` `,1)[0],k=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),o=!1,!u&&/^ *$/.test(k)&&(l+=k+` `,e=e.substring(k.length+1),p=!0),!p){const D=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&($=e.split(` `,1)[0],u=$,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!D.test(u));){if(u.search(/[^ ]/)>=r||!u.trim())_+=` `+u.slice(r);else if(!o)_+=` `+u;else break;!o&&!u.trim()&&(o=!0),l+=$+` `,e=e.substring($.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 L=x.items.length;for(a=0;aJ.type==="space"),B=D.every(J=>{const ee=J.raw.split("");let te=0;for(const Ye of ee)if(Ye===` `&&(te+=1),te>1)return!0;return!1});!x.loose&&D.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: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=Gt(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 k=t[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(k.lastIndex=0,n=n.slice(-1*e.length+r);(t=k.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 _=e.slice(1,r+t.index+o);return{type:"em",raw:e.slice(0,r+t.index+o+1),text:_,tokens:this.lexer.inlineTokens(_,[])}}const $=e.slice(2,r+t.index+o-1);return{type:"strong",raw:e.slice(0,r+t.index+o+1),text:$,tokens:this.lexer.inlineTokens($,[])}}}}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 w={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]+/};w._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;w._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;w.def=N(w.def).replace("label",w._label).replace("title",w._title).getRegex();w.bullet=/(?:[*+-]|\d{1,9}[.)])/;w.listItemStart=N(/^( *)(bull) */).replace("bull",w.bullet).getRegex();w.list=N(w.list).replace(/bull/g,w.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+w.def.source+")").getRegex();w._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";w._comment=/|$)/;w.html=N(w.html,"i").replace("comment",w._comment).replace("tag",w._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();w.paragraph=N(w._paragraph).replace("hr",w.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",w._tag).getRegex();w.blockquote=N(w.blockquote).replace("paragraph",w.paragraph).getRegex();w.normal=ie({},w);w.gfm=ie({},w.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});w.gfm.table=N(w.gfm.table).replace("hr",w.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",w._tag).getRegex();w.gfm.paragraph=N(w._paragraph).replace("hr",w.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",w.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",w._tag).getRegex();w.pedantic=ie({},w.normal,{html:N(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",w._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:N(w.normal._paragraph).replace("hr",w.hr).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",w.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const b={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]*?(?:(?=[\\?@\\[\\]`^{|}~";b.punctuation=N(b.punctuation).replace(/punctuation/g,b._punctuation).getRegex();b.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;b.escapedEmSt=/\\\*|\\_/g;b._comment=N(w._comment).replace("(?:-->|$)","-->").getRegex();b.emStrong.lDelim=N(b.emStrong.lDelim).replace(/punct/g,b._punctuation).getRegex();b.emStrong.rDelimAst=N(b.emStrong.rDelimAst,"g").replace(/punct/g,b._punctuation).getRegex();b.emStrong.rDelimUnd=N(b.emStrong.rDelimUnd,"g").replace(/punct/g,b._punctuation).getRegex();b._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;b._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;b._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])?)+(?![-_])/;b.autolink=N(b.autolink).replace("scheme",b._scheme).replace("email",b._email).getRegex();b._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;b.tag=N(b.tag).replace("comment",b._comment).replace("attribute",b._attribute).getRegex();b._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;b._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;b._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;b.link=N(b.link).replace("label",b._label).replace("href",b._href).replace("title",b._title).getRegex();b.reflink=N(b.reflink).replace("label",b._label).replace("ref",w._label).getRegex();b.nolink=N(b.nolink).replace("ref",w._label).getRegex();b.reflinkSearch=N(b.reflinkSearch,"g").replace("reflink",b.reflink).replace("nolink",b.nolink).getRegex();b.normal=ie({},b);b.pedantic=ie({},b.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:N(/^!?\[(label)\]\((.*?)\)/).replace("label",b._label).getRegex(),reflink:N(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",b._label).getRegex()});b.gfm=ie({},b.normal,{escape:N(b.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 Ft,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:w.normal,inline:b.normal};this.options.pedantic?(n.block=w.pedantic,n.inline=b.pedantic):this.options.gfm&&(n.block=w.gfm,this.options.breaks?n.inline=b.breaks:n.inline=b.gfm),this.tokenizer.rules=n}static get rules(){return{block:w,inline:b}}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 k=e.slice(1);let $;this.options.extensions.startInline.forEach(function(_){$=_.call({lexer:this},k),typeof $=="number"&&$>=0&&(u=Math.min(u,$))}),u<1/0&&u>=0&&(i=e.substring(0,u+1))}if(l=this.tokenizer.inlineText(i,Wt)){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 Xt{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 Kt{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 Xe{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 Xt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Kt,this.slugger=new Xe}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,k,$,_,p,I,H,x,Q,L,D,B,J;const ee=e.length;for(t=0;t0&&Q.tokens[0].type==="paragraph"?(Q.tokens[0].text=B+" "+Q.tokens[0].text,Q.tokens[0].tokens&&Q.tokens[0].tokens.length>0&&Q.tokens[0].tokens[0].type==="text"&&(Q.tokens[0].tokens[0].text=B+" "+Q.tokens[0].tokens[0].text)):Q.tokens.unshift({type:"text",text:B}):x+=B),x+=this.parse(Q.tokens,H),$+=this.renderer.listitem(x,D,L);l+=this.renderer.list($,p,I);continue}case"html":{l+=this.renderer.html(_.text);continue}case"paragraph":{l+=this.renderer.paragraph(this.parseInline(_.tokens));continue}case"text":{for($=_.tokens?this.parseInline(_.tokens):_.text;t+1{r[u]=null}),C(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),h(n,1),n.m(l.parentNode,l))},i(o){t||(h(n),t=!0)},o(o){m(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function on(s,e,n){let l,{$$slots:t={},$$scope:i}=e,{depth:r}=e,{raw:a}=e,{text:o}=e;const{slug:f,getOptions:u}=lt(Ke),k=u();return s.$$set=$=>{"depth"in $&&n(0,r=$.depth),"raw"in $&&n(1,a=$.raw),"text"in $&&n(3,o=$.text),"$$scope"in $&&n(4,i=$.$$scope)},s.$$.update=()=>{s.$$.dirty&8&&n(2,l=k.headerIds?k.headerPrefix+f(o):void 0)},[r,a,l,o,i,t]}class an extends q{constructor(e){super();O(this,e,on,sn,Z,{depth:0,raw:1,text:3})}}function fn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("p"),t&&t.c()},l(i){e=S(i,"P",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function un(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class cn extends q{constructor(e){super();O(this,e,un,fn,Z,{})}}function hn(s){let e;const n=s[3].default,l=M(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)&&U(l,n,t,t[2],e?j(n,t[2],i,null):P(t[2]),null)},i(t){e||(h(l,t),e=!0)},o(t){m(l,t),e=!1},d(t){l&&l.d(t)}}}function pn(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 _n extends q{constructor(e){super();O(this,e,pn,hn,Z,{text:0,raw:1})}}function mn(s){let e,n;return{c(){e=z("img"),this.h()},l(l){e=S(l,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){X(e.src,n=s[0])||d(e,"src",n),d(e,"title",s[1]),d(e,"alt",s[2])},m(l,t){g(l,e,t)},p(l,[t]){t&1&&!X(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 dn(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 gn extends q{constructor(e){super();O(this,e,dn,mn,Z,{href:0,title:1,text:2})}}function kn(s){let e,n;const l=s[3].default,t=M(l,s,s[2],null);return{c(){e=z("a"),t&&t.c(),this.h()},l(i){e=S(i,"A",{href:!0,title:!0});var r=E(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"href",s[0]),d(e,"title",s[1])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&4)&&U(t,l,i,i[2],n?j(l,i[2],r,null):P(i[2]),null),(!n||r&1)&&d(e,"href",i[0]),(!n||r&2)&&d(e,"title",i[1])},i(i){n||(h(t,i),n=!0)},o(i){m(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 bn extends q{constructor(e){super();O(this,e,$n,kn,Z,{href:0,title:1})}}function wn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("em"),t&&t.c()},l(i){e=S(i,"EM",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function vn(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 q{constructor(e){super();O(this,e,vn,wn,Z,{})}}function Sn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("del"),t&&t.c()},l(i){e=S(i,"DEL",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function In(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class En extends q{constructor(e){super();O(this,e,In,Sn,Z,{})}}function Rn(s){let e,n=s[0].replace(/`/g,"")+"",l;return{c(){e=z("code"),l=re(n)},l(t){e=S(t,"CODE",{});var i=E(e);l=se(i,n),i.forEach(c)},m(t,i){g(t,e,i),V(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 An(s,e,n){let{raw:l}=e;return s.$$set=t=>{"raw"in t&&n(0,l=t.raw)},[l]}class Tn extends q{constructor(e){super();O(this,e,An,Rn,Z,{raw:0})}}function xn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("strong"),t&&t.c()},l(i){e=S(i,"STRONG",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function yn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Cn extends q{constructor(e){super();O(this,e,yn,xn,Z,{})}}function Nn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("table"),t&&t.c()},l(i){e=S(i,"TABLE",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Ln(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class Dn extends q{constructor(e){super();O(this,e,Ln,Nn,Z,{})}}function Bn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("thead"),t&&t.c()},l(i){e=S(i,"THEAD",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function qn(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class On extends q{constructor(e){super();O(this,e,qn,Bn,Z,{})}}function Zn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("tbody"),t&&t.c()},l(i){e=S(i,"TBODY",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Mn(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 q{constructor(e){super();O(this,e,Mn,Zn,Z,{})}}function Pn(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("tr"),t&&t.c()},l(i){e=S(i,"TR",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function jn(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 q{constructor(e){super();O(this,e,jn,Pn,Z,{})}}function Qn(s){let e,n;const l=s[3].default,t=M(l,s,s[2],null);return{c(){e=z("td"),t&&t.c(),this.h()},l(i){e=S(i,"TD",{align:!0});var r=E(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"align",s[1])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&U(t,l,i,i[2],n?j(l,i[2],r,null):P(i[2]),null),(!n||r&2)&&d(e,"align",i[1])},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Gn(s){let e,n;const l=s[3].default,t=M(l,s,s[2],null);return{c(){e=z("th"),t&&t.c(),this.h()},l(i){e=S(i,"TH",{align:!0});var r=E(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"align",s[1])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&U(t,l,i,i[2],n?j(l,i[2],r,null):P(i[2]),null),(!n||r&2)&&d(e,"align",i[1])},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Vn(s){let e,n,l,t;const i=[Gn,Qn],r=[];function a(o,f){return o[0]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=v()},l(o){n.l(o),l=v()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,[f]){let u=e;e=a(o),e===u?r[e].p(o,f):(y(),m(r[u],1,1,()=>{r[u]=null}),C(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),h(n,1),n.m(l.parentNode,l))},i(o){t||(h(n),t=!0)},o(o){m(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function Fn(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 Wn extends q{constructor(e){super();O(this,e,Fn,Vn,Z,{header:0,align:1})}}function Xn(s){let e,n;const l=s[3].default,t=M(l,s,s[2],null);return{c(){e=z("ul"),t&&t.c()},l(i){e=S(i,"UL",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&U(t,l,i,i[2],n?j(l,i[2],r,null):P(i[2]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Kn(s){let e,n;const l=s[3].default,t=M(l,s,s[2],null);return{c(){e=z("ol"),t&&t.c(),this.h()},l(i){e=S(i,"OL",{start:!0});var r=E(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"start",s[1])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&4)&&U(t,l,i,i[2],n?j(l,i[2],r,null):P(i[2]),null),(!n||r&2)&&d(e,"start",i[1])},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function Yn(s){let e,n,l,t;const i=[Kn,Xn],r=[];function a(o,f){return o[0]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=v()},l(o){n.l(o),l=v()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,[f]){let u=e;e=a(o),e===u?r[e].p(o,f):(y(),m(r[u],1,1,()=>{r[u]=null}),C(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),h(n,1),n.m(l.parentNode,l))},i(o){t||(h(n),t=!0)},o(o){m(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function Jn(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 el extends q{constructor(e){super();O(this,e,Jn,Yn,Z,{ordered:0,start:1})}}function tl(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("li"),t&&t.c()},l(i){e=S(i,"LI",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function nl(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class ll extends q{constructor(e){super();O(this,e,nl,tl,Z,{})}}function il(s){let e;return{c(){e=z("hr")},l(n){e=S(n,"HR",{})},m(n,l){g(n,e,l)},p:W,i:W,o:W,d(n){n&&c(e)}}}class rl extends q{constructor(e){super();O(this,e,null,il,Z,{})}}function sl(s){let e,n;return{c(){e=new it,n=v(),this.h()},l(l){e=rt(l),n=v(),this.h()},h(){e.a=n},m(l,t){e.m(s[0],l,t),g(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 ol(s,e,n){let{text:l}=e;return s.$$set=t=>{"text"in t&&n(0,l=t.text)},[l]}class al extends q{constructor(e){super();O(this,e,ol,sl,Z,{text:0})}}function fl(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("blockquote"),t&&t.c()},l(i){e=S(i,"BLOCKQUOTE",{});var r=E(e);t&&t.l(r),r.forEach(c)},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function ul(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class cl extends q{constructor(e){super();O(this,e,ul,fl,Z,{})}}function hl(s){let e,n,l;return{c(){e=z("pre"),n=z("code"),l=re(s[1]),this.h()},l(t){e=S(t,"PRE",{class:!0});var i=E(e);n=S(i,"CODE",{});var r=E(n);l=se(r,s[1]),r.forEach(c),i.forEach(c),this.h()},h(){d(e,"class",s[0])},m(t,i){g(t,e,i),V(e,n),V(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 pl(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 _l extends q{constructor(e){super();O(this,e,pl,hl,Z,{lang:0,text:1})}}function ml(s){let e,n;const l=s[1].default,t=M(l,s,s[0],null);return{c(){e=z("br"),t&&t.c()},l(i){e=S(i,"BR",{}),t&&t.l(i)},m(i,r){g(i,e,r),t&&t.m(i,r),n=!0},p(i,[r]){t&&t.p&&(!n||r&1)&&U(t,l,i,i[0],n?j(l,i[0],r,null):P(i[0]),null)},i(i){n||(h(t,i),n=!0)},o(i){m(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function dl(s,e,n){let{$$slots:l={},$$scope:t}=e;return s.$$set=i=>{"$$scope"in i&&n(0,t=i.$$scope)},[t,l]}class gl extends q{constructor(e){super();O(this,e,dl,ml,Z,{})}}const kl={heading:an,paragraph:cn,text:_n,image:gn,link:bn,em:zn,strong:Cn,codespan:Tn,del:En,table:Dn,tablehead:On,tablebody:Un,tablerow:Hn,tablecell:Wn,list:el,orderedlistitem:null,unorderedlistitem:null,listitem:ll,hr:rl,html:al,blockquote:cl,code:_l,br:gl},$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 bl(s){let e,n;return e=new le({props:{tokens:s[0],renderers:s[1]}}),{c(){R(e.$$.fragment)},l(l){G(e.$$.fragment,l)},m(l,t){A(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||(h(e.$$.fragment,l),n=!0)},o(l){m(e.$$.fragment,l),n=!1},d(l){T(e,l)}}}function wl(s,e,n){let l,t,i,{source:r=""}=e,{renderers:a={}}=e,{options:o={}}=e,{isInline:f=!1}=e;const u=st();let k,$,_;return ot(Ke,{slug:p=>l?l.slug(p):"",getOptions:()=>t}),Ve(()=>{n(7,_=!0)}),s.$$set=p=>{"source"in p&&n(2,r=p.source),"renderers"in p&&n(3,a=p.renderers),"options"in p&&n(4,o=p.options),"isInline"in p&&n(5,f=p.isInline)},s.$$.update=()=>{s.$$.dirty&4&&(l=r?new Xe:void 0),s.$$.dirty&16&&n(8,t=ce(ce({},$l),o)),s.$$.dirty&357&&(n(6,$=new he(t)),n(0,k=f?$.inlineTokens(r):$.lex(r)),u("parsed",{tokens:k})),s.$$.dirty&8&&n(1,i=ce(ce({},kl),a)),s.$$.dirty&129&&_&&u("parsed",{tokens:k})},[k,i,r,a,o,f,$,_,t]}class vl extends q{constructor(e){super();O(this,e,wl,bl,Z,{source:2,renderers:3,options:4,isInline:5})}}function Me(s){let e,n,l,t,i,r;return{c(){e=z("div"),n=z("img"),this.h()},l(a){e=S(a,"DIV",{class:!0});var o=E(e);n=S(o,"IMG",{src:!0,class:!0,alt:!0}),o.forEach(c),this.h()},h(){X(n.src,l=s[2])||d(n,"src",l),d(n,"class","w-64 rounded-full m-auto shadow-xl"),d(n,"alt",t=s[0].name),d(e,"class","w-64 text-center pb-4 m-auto")},m(a,o){g(a,e,o),V(e,n),i||(r=[me(n,"mouseover",s[4]),me(n,"mouseleave",s[5])],i=!0)},p(a,o){o&4&&!X(n.src,l=a[2])&&d(n,"src",l),o&1&&t!==(t=a[0].name)&&d(n,"alt",t)},d(a){a&&c(e),i=!1,Fe(r)}}}function Ue(s){let e,n,l,t,i,r,a,o,f,u=s[0].name+"",k,$,_,p,I,H,x,Q,L=(s[0].bio||s[0].orgs)&&Pe(s);return{c(){e=z("div"),n=z("a"),l=z("img"),a=K(),o=z("div"),f=z("a"),k=re(u),_=K(),p=re(s[3]),I=K(),L&&L.c(),this.h()},l(D){e=S(D,"DIV",{class:!0});var B=E(e);n=S(B,"A",{href:!0});var J=E(n);l=S(J,"IMG",{src:!0,class:!0,alt:!0}),J.forEach(c),a=Y(B),o=S(B,"DIV",{class:!0});var ee=E(o);f=S(ee,"A",{href:!0});var te=E(f);k=se(te,u),te.forEach(c),_=Y(ee),p=se(ee,s[3]),ee.forEach(c),I=Y(B),L&&L.l(B),B.forEach(c),this.h()},h(){X(l.src,t=s[2])||d(l,"src",t),d(l,"class","w-36 sm:w-40 rounded-full m-auto shadow-xl"),d(l,"alt",i=s[0].name),d(n,"href",r="/lide/"+s[0].id),d(f,"href",$="/lide/"+s[0].id),d(o,"class","mt-4 text-sm text-blue-web uppercase font-bold"),d(e,"class","w-36 sm:w-44 text-center pb-4")},m(D,B){g(D,e,B),V(e,n),V(n,l),V(e,a),V(e,o),V(o,f),V(f,k),V(o,_),V(o,p),V(e,I),L&&L.m(e,null),H=!0,x||(Q=[me(n,"mouseover",s[4]),me(n,"mouseleave",s[5])],x=!0)},p(D,B){(!H||B&4&&!X(l.src,t=D[2]))&&d(l,"src",t),(!H||B&1&&i!==(i=D[0].name))&&d(l,"alt",i),(!H||B&1&&r!==(r="/lide/"+D[0].id))&&d(n,"href",r),(!H||B&1)&&u!==(u=D[0].name+"")&&oe(k,u),(!H||B&1&&$!==($="/lide/"+D[0].id))&&d(f,"href",$),(!H||B&8)&&oe(p,D[3]),D[0].bio||D[0].orgs?L?(L.p(D,B),B&1&&h(L,1)):(L=Pe(D),L.c(),h(L,1),L.m(e,null)):L&&(y(),m(L,1,1,()=>{L=null}),C())},i(D){H||(h(L),H=!0)},o(D){m(L),H=!1},d(D){D&&c(e),L&&L.d(),x=!1,Fe(Q)}}}function Pe(s){let e,n,l;return n=new vl({props:{source:s[0].bio||s[0].orgs}}),{c(){e=z("div"),R(n.$$.fragment),this.h()},l(t){e=S(t,"DIV",{class:!0});var i=E(e);G(n.$$.fragment,i),i.forEach(c),this.h()},h(){d(e,"class","mt-1 text-xs text-blue-web italic")},m(t,i){g(t,e,i),A(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||(h(n.$$.fragment,t),l=!0)},o(t){m(n.$$.fragment,t),l=!1},d(t){t&&c(e),T(n)}}}function je(s){let e,n,l,t;return{c(){e=z("div"),n=z("img"),this.h()},l(i){e=S(i,"DIV",{class:!0});var r=E(e);n=S(r,"IMG",{src:!0,class:!0,alt:!0}),r.forEach(c),this.h()},h(){X(n.src,l=s[2])||d(n,"src",l),d(n,"class","w-16 rounded-full m-auto"),d(n,"alt",t=s[0].name),d(e,"class","w-16 text-center")},m(i,r){g(i,e,r),V(e,n)},p(i,r){r&4&&!X(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(s){let e,n,l,t;return{c(){e=z("div"),n=z("img"),this.h()},l(i){e=S(i,"DIV",{class:!0});var r=E(e);n=S(r,"IMG",{src:!0,class:!0,alt:!0}),r.forEach(c),this.h()},h(){X(n.src,l=s[2])||d(n,"src",l),d(n,"class","w-10 rounded-full m-auto shadow-md"),d(n,"alt",t=s[0].name),d(e,"class","w-10 text-center")},m(i,r){g(i,e,r),V(e,n)},p(i,r){r&4&&!X(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 Qe(s){let e,n,l,t,i,r;return{c(){e=z("div"),n=z("a"),l=z("img"),this.h()},l(a){e=S(a,"DIV",{class:!0});var o=E(e);n=S(o,"A",{href:!0});var f=E(n);l=S(f,"IMG",{src:!0,class:!0,alt:!0}),f.forEach(c),o.forEach(c),this.h()},h(){X(l.src,t=s[2])||d(l,"src",t),d(l,"class","w-6 rounded-full m-auto"),d(l,"alt",i=s[0].name),d(n,"href",r="/lide/"+s[0].id),d(e,"class","w-6 h-6 text-center")},m(a,o){g(a,e,o),V(e,n),V(n,l)},p(a,o){o&4&&!X(l.src,t=a[2])&&d(l,"src",t),o&1&&i!==(i=a[0].name)&&d(l,"alt",i),o&1&&r!==(r="/lide/"+a[0].id)&&d(n,"href",r)},d(a){a&&c(e)}}}function Ge(s){let e,n,l,t,i,r;return{c(){e=z("div"),n=z("a"),l=z("img"),this.h()},l(a){e=S(a,"DIV",{class:!0});var o=E(e);n=S(o,"A",{href:!0});var f=E(n);l=S(f,"IMG",{src:!0,class:!0,alt:!0}),f.forEach(c),o.forEach(c),this.h()},h(){X(l.src,t=s[2])||d(l,"src",t),d(l,"class","w-4 rounded-full m-auto"),d(l,"alt",i=s[0].name),d(n,"href",r="/lide/"+s[0].id),d(e,"class","w-4 h-4 text-center")},m(a,o){g(a,e,o),V(e,n),V(n,l)},p(a,o){o&4&&!X(l.src,t=a[2])&&d(l,"src",t),o&1&&i!==(i=a[0].name)&&d(l,"alt",i),o&1&&r!==(r="/lide/"+a[0].id)&&d(n,"href",r)},d(a){a&&c(e)}}}function zl(s){let e,n,l,t,i,r,a,o=s[1]==="big"&&Me(s),f=s[1]==="normal"&&Ue(s),u=s[1]==="small"&&je(s),k=s[1]==="semi-small"&&He(s),$=s[1]==="extra-small"&&Qe(s),_=s[1]==="micro"&&Ge(s);return{c(){o&&o.c(),e=K(),f&&f.c(),n=K(),u&&u.c(),l=K(),k&&k.c(),t=K(),$&&$.c(),i=K(),_&&_.c(),r=v()},l(p){o&&o.l(p),e=Y(p),f&&f.l(p),n=Y(p),u&&u.l(p),l=Y(p),k&&k.l(p),t=Y(p),$&&$.l(p),i=Y(p),_&&_.l(p),r=v()},m(p,I){o&&o.m(p,I),g(p,e,I),f&&f.m(p,I),g(p,n,I),u&&u.m(p,I),g(p,l,I),k&&k.m(p,I),g(p,t,I),$&&$.m(p,I),g(p,i,I),_&&_.m(p,I),g(p,r,I),a=!0},p(p,[I]){p[1]==="big"?o?o.p(p,I):(o=Me(p),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),p[1]==="normal"?f?(f.p(p,I),I&2&&h(f,1)):(f=Ue(p),f.c(),h(f,1),f.m(n.parentNode,n)):f&&(y(),m(f,1,1,()=>{f=null}),C()),p[1]==="small"?u?u.p(p,I):(u=je(p),u.c(),u.m(l.parentNode,l)):u&&(u.d(1),u=null),p[1]==="semi-small"?k?k.p(p,I):(k=He(p),k.c(),k.m(t.parentNode,t)):k&&(k.d(1),k=null),p[1]==="extra-small"?$?$.p(p,I):($=Qe(p),$.c(),$.m(i.parentNode,i)):$&&($.d(1),$=null),p[1]==="micro"?_?_.p(p,I):(_=Ge(p),_.c(),_.m(r.parentNode,r)):_&&(_.d(1),_=null)},i(p){a||(h(f),a=!0)},o(p){m(f),a=!1},d(p){o&&o.d(p),p&&c(e),f&&f.d(p),p&&c(n),u&&u.d(p),p&&c(l),k&&k.d(p),p&&c(t),$&&$.d(p),p&&c(i),_&&_.d(p),p&&c(r)}}}let Sl="https://spec.utxo.cz/22/photos";function Il(s){const e=s.toUpperCase().split("").map(n=>127397+n.charCodeAt());return String.fromCodePoint(...e)}function El(s,e,n){let l,t,{speaker:i}=e,{col:r="speakers"}=e,{size:a="normal"}=e;const o=["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 o)if(i.photos.includes(_)){const[p,I]=_.split(":"),H=`${Sl}/${r}/${i.id}-${p}.${I}`;if(f){u=H;break}n(7,f=H)}}f||(f="/img/twitter-avatar.png");function k(){u&&n(2,t=u)}function $(){n(2,t=f)}return s.$$set=_=>{"speaker"in _&&n(0,i=_.speaker),"col"in _&&n(6,r=_.col),"size"in _&&n(1,a=_.size)},s.$$.update=()=>{s.$$.dirty&1&&n(3,l=Il(i.country)),s.$$.dirty&128&&n(2,t=f)},[i,a,t,l,k,$,r,f]}class Tl extends q{constructor(e){super();O(this,e,El,zl,Z,{speaker:0,col:6,size:1})}}export{Tl as A,vl as S};