utxo22-web/_app/chunks/Avatar-16a27348.js

47 řádky
73 KiB
JavaScript
Surový Normální zobrazení Historie

var rt=Object.defineProperty;var ve=Object.getOwnPropertySymbols;var st=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var ze=(s,e,n)=>e in s?rt(s,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[e]=n,ce=(s,e)=>{for(var n in e||(e={}))st.call(e,n)&&ze(s,n,e[n]);if(ve)for(var n of ve(e))ot.call(e,n)&&ze(s,n,e[n]);return s};import{v as Ke,S as P,i as U,s as j,l as z,g,n as x,o as _,p as O,q as h,d as c,U as Se,C as ie,V as at,w as C,x as W,y as N,z as ae,A as fe,B as y,G as ue,k as J,m as K,t as ne,h as le,j as re,E as ee,Q as ft,P as H,e as S,c as I,a as R,b as p,L as Q,M as V,N as G,I as Y,F,W as ut,X as ct,Y as ht,r as pt,J as ge,Z as et}from"./index-b6ec56f3.js";function _t(){const s=console.warn;console.warn=e=>{e.includes("unknown prop")||e.includes("unexpected slot")||s(e)},Ke(()=>{console.warn=s})}function Ie(s,e,n){const l=s.slice();return l[18]=e[n],l}function Ee(s,e,n){const l=s.slice();return l[18]=e[n],l}function Re(s,e,n){const l=s.slice();return l[10]=e[n],l}function Ae(s,e,n){const l=s.slice();return l[13]=e[n],l[15]=n,l}function Te(s,e,n){const l=s.slice();return l[16]=e[n],l[15]=n,l}function Ce(s,e,n){const l=s.slice();return l[7]=e[n],l}function mt(s){let e,n,l,t;const i=[bt,kt,gt],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),g(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(x(),_(r[u],1,1,()=>{r[u]=null}),O(),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){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function dt(s){let e,n,l=s[1],t=[];for(let r=0;r<l.length;r+=1)t[r]=qe(Ce(s,l,r));const i=r=>_(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=z()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=z()},m(r,a){for(let o=0;o<t.length;o+=1)t[o].m(r,a);g(r,e,a),n=!0},p(r,a){if(a&34){l=r[1];let o;for(o=0;o<l.length;o+=1){const f=Ce(r,l,o);t[o]?(t[o].p(f,a),h(t[o],1)):(t[o]=qe(f),t[o].c(),h(t[o],1),t[o].m(e.parentNode,e))}for(x(),o=l.length;o<t.length;o+=1)i(o);O()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)h(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)_(t[a]);n=!1},d(r){ue(t,r),r&&c(e)}}}function gt(s){let e,n,l;const t=[s[6]];var i=s[5][s[0]];function r(a){let o={$$slots:{default:[vt]},$$scope:{ctx:a}};for(let f=0;f<t.length;f+=1)o=ie(o,t[f]);return{props:o}}return i&&(e=new i(r(s))),{c(){e&&C(e.$$.fragment),n=z()},l(a){e&&W(e.$$.fragment,a),n=z()},m(a,o){e&&N(e,a,o),g(a,n,o),l=!0},p(a,o){const f=o&64?ae(t,[fe(a[6])]):{};if(o&8388706&&(f.$$scope={dirty:o,ctx:a}),i!==(i=a[5][a[0]])){if(e){x();const u=e;_(u.$$.fragment,1,0,()=>{y(u,1)}),O()}i?(e=new i(r(a)),C(e.$$.fragment),h(e.$$.fragment,1),N(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&h(e.$$.fragment,a),l=!0)},o(a){e&&_(e.$$.fragment,a),l=!1},d(a){a&&c(n),e&&y(e,a)}}}function kt(s){let e,n,l,t;const i=[St,zt],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),g(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(x(),_(r[u],1,1,()=>{r[u]=null}),O(),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){_(n),t=!1},d(o){r[e].d(o),o&&c(l)}}}function bt(s){let e,n,l;var t=s[5].table;function i(r){return{props:{$$slots:{default:[Bt]},$$scope:{ctx:r}}}}return t&&(e=new t(i(s))),{c(){e&&C(e.$$.fragment),n=z()},l(r){e&&W(e.$$.fragment,r),n=z()},m(r,a){e&&N(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){x();const f=e;_(f.$$.fragment,1,0,()=>{y(f,1)}),O()}t?(e=new t(i(r)),C(e.$$.fragment),h(e.$$.fragment,1),N(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&h(e.$$.fragment,r),l=!0)},o(r){e&&_(e.$$.fragment,r),l=!1},d(r){r&&c(n),e&&y(e,r)}}}function $t(s){let e=s[6].raw+"",n;return{c(){n=ne(e)},l(l){n=le(l,e)},m(l,t){g(l,n,t)},p(l,t){t&64&&e!==(e=l[6].raw+"")&&re(n,e)},i:ee,o:ee,d(l){l&&c(n)}}}function wt(s){let e,n;return e=new se({props:{tokens:s[1],rend
`).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 en{constructor(e){this.options=e||$e}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:de(l,`
`)}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const l=n[0],t=Kt(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=de(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,b,d,E,A=n[1].trim();const m=A.length>1,w={type:"list",raw:"",ordered:m,start:m?+A.slice(0,-1):"",loose:!1,items:[]};A=m?`\\d{1,9}\\${A.slice(-1)}`:`\\${A}`,this.options.pedantic&&(A=m?A:"[*+-]");const T=new RegExp(`^( {0,3}${A})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(E=!1,!(!(n=T.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,d=u.trimLeft()):(r=n[2].search(/[^ ]/),r=r>4?1:r,d=u.slice(r),r+=n[1].length),o=!1,!u&&/^ *$/.test(k)&&(l+=k+`
`,e=e.substring(k.length+1),E=!0),!E){const Z=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," ")),!Z.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 te=w.items.length;for(a=0;a<te;a++){this.lexer.state.top=!1,w.items[a].tokens=this.lexer.blockTokens(w.items[a].text,[]);const Z=w.items[a].tokens.filter(B=>B.type==="space"),D=Z.every(B=>{const L=B.raw.split("");let q=0;for(const pe of L)if(pe===`
`&&(q+=1),q>1)return!0;return!1});!w.loose&&Z.length&&D&&(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]):X(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:Ze(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<t;i++)/^ *-+: *$/.test(l.align[i])?l.align[i]="right":/^ *:-+: *$/.test(l.align[i])?l.align[i]="center":/^ *:-+ *$/.test(l.align[i])?l.align[i]="left":l.align[i]=null;for(t=l.rows.length,i=0;i<t;i++)l.rows[i]=Ze(l.rows[i],l.header.length).map(f=>({text:f}));for(t=l.header.length,r=0;r<t;r++)l.header[r].tokens=[],this.lexer.inlineTokens(l.header[r].text,l.header[r].tokens);for(t=l.rows.length,r=0;r<t;r++)for(o=l.rows[r],a=0;a<o.length;a++)o[a].tokens=[],this.lexer.inlineTokens(o[a].text,o[a].tokens);return l}}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n){const l={type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const l={type:"paragraph",raw:n[0],text:n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}text(e){const n=this.rules.block.text.exec(e);if(n){const l={type:"text",raw:n[0],text:n[0],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:X(n[1])}}tag(e){const n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):X(n[0]):n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const l=n[2].trim();if(!this.options.pedantic&&/^</.test(l)){if(!/>$/.test(l))return;const r=de(l.slice(0,-1),"\\");if((l.length-r.length)%2===0)return}else{const r=Jt(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(t)&&(this.options.pedantic&&!/>$/.test(l)?t=t.slice(1):t=t.slice(1,-1)),Pe(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 Pe(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 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=X(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=X(this.options.mangle?n(l[1]):l[1]),i="mailto:"+t):(t=X(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=X(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=X(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]):X(l[0]):l[0]:t=X(this.options.smartypants?n(l[0]):l[0]),{type:"text",raw:l[0],text:t}}}}const v={newline:/^(?: *(?:\n|$))+
]`).replace("lheading",v.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ke,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ke,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};$._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";$.punctuation=M($.punctuation).replace(/punctuation/g,$._punctuation).getRegex();$.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;$.escapedEmSt=/\\\*|\\_/g;$._comment=M(v._comment).replace("(?:-->|$)","-->").getRegex();$.emStrong.lDelim=M($.emStrong.lDelim).replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimAst=M($.emStrong.rDelimAst,"g").replace(/punct/g,$._punctuation).getRegex();$.emStrong.rDelimUnd=M($.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=M($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex();$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;$.tag=M($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex();$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;$.link=M($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex();$.reflink=M($.reflink).replace("label",$._label).replace("ref",v._label).getRegex();$.nolink=M($.nolink).replace("ref",v._label).getRegex();$.reflinkSearch=M($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex();$.normal=oe({},$);$.pedantic=oe({},$.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:M(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:M(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()});$.gfm=oe({},$.normal,{escape:M($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/});$.gfm.url=M($.gfm.url,"i").replace("email",$.gfm._extended_email).getRegex();$.breaks=oe({},$.gfm,{br:M($.br).replace("{2,}","*").getRegex(),text:M($.gfm.text).replace("\\b_","\\b_| {2,
`).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)+"["+Me("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)+"["+Me("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,Ue)){e=e.substring(l.raw.length),n.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e,Ue))){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 b;this.options.extensions.startInline.forEach(function(d){b=d.call({lexer:this},k),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,tn)){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 nn{constructor(e){this.options=e||$e}code(e,n,l){const t=(n||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(e,t);i!=null&&i!==e&&(l=!0,e=i)}return e=e.replace(/\n$/,"")+`
`,t?'<pre><code class="'+this.options.langPrefix+X(t,!0)+'">'+(l?e:X(e,!0))+`</code></pre>
`:"<pre><code>"+(l?e:X(e,!0))+`</code></pre>
`}blockquote(e){return`<blockquote>
`+e+`</blockquote>
`}html(e){return e}heading(e,n,l,t){return this.options.headerIds?"<h"+n+' id="'+this.options.headerPrefix+t.slug(l)+'">'+e+"</h"+n+`>
`:"<h"+n+">"+e+"</h"+n+`>
`}hr(){return this.options.xhtml?`<hr/>
`:`<hr>
`}list(e,n,l){const t=n?"ol":"ul",i=n&&l!==1?' start="'+l+'"':"";return"<"+t+i+`>
`+e+"</"+t+`>
`}listitem(e){return"<li>"+e+`</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+`</p>
`}table(e,n){return n&&(n="<tbody>"+n+"</tbody>"),`<table>
<thead>
`+e+`</thead>
`+n+`</table>
`}tablerow(e){return`<tr>
`+e+`</tr>
`}tablecell(e,n){const l=n.header?"th":"td";return(n.align?"<"+l+' align="'+n.align+'">':"<"+l+">")+e+"</"+l+`>
`}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,n,l){if(e=Oe(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t='<a href="'+X(e)+'"';return n&&(t+=' title="'+n+'"'),t+=">"+l+"</a>",t}image(e,n,l){if(e=Oe(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t='<img src="'+e+'" alt="'+l+'"';return n&&(t+=' title="'+n+'"'),t+=this.options.xhtml?"/>":">",t}text(e){return e}}class ln{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 nt{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 be{constructor(e){this.options=e||$e,this.options.renderer=this.options.renderer||new nn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ln,this.slugger=new nt}static parse(e,n){return new be(n).parse(e)}static parseInline(e,n){return new be(n).parseInline(e)}parse(e,n=!0){let l="",t,i,r,a,o,f,u,k,b,d,E,A,m,w,T,te,Z,D,B;const L=e.length;for(t=0;t<L;t++){if(d=e[t],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(B=this.options.extensions.renderers[d.type].call({parser:this},d),B!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))){l+=B||"";continue}switch(d.type){case"space":continue;case"hr":{l+=this.renderer.hr();continue}case"heading":{l+=this.renderer.heading(this.parseInline(d.tokens),d.depth,tt(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue}case"code":{l+=this.renderer.code(d.text,d.lang,d.escaped);continue}case"table":{for(k="",u="",a=d.header.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(d.header[i].tokens),{header:!0,align:d.align[i]});for(k+=this.renderer.tablerow(u),b="",a=d.rows.length,i=0;i<a;i++){for(f=d.rows[i],u="",o=f.length,r=0;r<o;r++)u+=this.renderer.tablecell(this.parseInline(f[r].tokens),{header:!1,align:d.align[r]});b+=this.renderer.tablerow(u)}l+=this.renderer.table(k,b);continue}case"blockquote":{b=this.parse(d.tokens),l+=this.renderer.blockquote(b);continue}case"list":{for(E=d.ordered,A=d.start,m=d.loose,a=d.items.length,b="",i=0;i<a;i++)T=d.items[i],te=T.checked,Z=T.task,w="",T.task&&(D=this.renderer.checkbox(te),m?T.tokens.length>0&&T.tokens[0].type==="paragraph"?(T.tokens[0].text=D+" "+T.tokens[0].text,T.tokens[0].tokens&&T.tokens[0].tokens.length>0&&T.tokens[0].tokens[0].type==="text"&&(T.tokens[0].tokens[0].text=D+" "+T.tokens[0].tokens[0].text)):T.tokens.unshift({type:"text",text:D}):w+=D),w+=this.parse(T.tokens,m),b+=this.renderer.listitem(w,Z,te);l+=this.renderer.list(b,E,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<L&&e[t+1].type==="text";)d=e[++t],b+=`
`+(d.tokens?this.parseInline(d.tokens):d.text);l+=n?this.renderer.paragraph(b):b;continue}default:{const q='Token with "'+d.type+'" type was not found.';if(this.options.silent){console.error(q);return}else throw new Error(q)}}}return l}parseInline(e,n){n=n||this.renderer;let l="",t,i,r;const a=e.length;for(t=0;t<a;t++){if(i=e[t],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(r=this.options.extensions.renderers[i.type].call({parser:this},i),r!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){l+=r||"";continue}switch(i.type){case"escape":{l+=n.text(i.text);break}case"html":{l+=n.html(i.text);break}case"link":{l+=n.link(i.href,i.title,this.parseInline(i.tokens,n));break}case"image":{l+=n.image(i.href,i.title,i.text);break}case"strong":{l+=n.strong(this.parseInline(i.tokens,n));break}case"em":{l+=n.em(this.parseInline(i.tokens,n));break}case"codespan":{l+=n.codespan(i.text);break}case"br":{l+=n.br();break}case"del":{l+=n.del(this.parseInline(i.tokens,n));break}case"text":{l+=n.text(i.text);break}default:{const o='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(o);return}else throw new Error(o)}}}return l}}be.parse;he.lex;const lt={};function rn(s){let e;return{c(){e=ne(s[1])},l(n){e=le(n,s[1])},m(n,l){g(n,e,l)},p(n,l){l&2&&re(e,n[1])},i:ee,o:ee,d(n){n&&c(e)}}}function sn(s){let e,n;const l=s[5].default,t=H(l,s,s[4],null);return{c(){e=S("h6"),t&&t.c(),this.h()},l(i){e=I(i,"H6",{id:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){p(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&Q(t,l,i,i[4],n?G(l,i[4],r,null):V(i[4]),null),(!n||r&4)&&p(e,"id",i[2])},i(i){n||(h(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function on(s){let e,n;const l=s[5].default,t=H(l,s,s[4],null);return{c(){e=S("h5"),t&&t.c(),this.h()},l(i){e=I(i,"H5",{id:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){p(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&Q(t,l,i,i[4],n?G(l,i[4],r,null):V(i[4]),null),(!n||r&4)&&p(e,"id",i[2])},i(i){n||(h(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function an(s){let e,n;const l=s[5].default,t=H(l,s,s[4],null);return{c(){e=S("h4"),t&&t.c(),this.h()},l(i){e=I(i,"H4",{id:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){p(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&Q(t,l,i,i[4],n?G(l,i[4],r,null):V(i[4]),null),(!n||r&4)&&p(e,"id",i[2])},i(i){n||(h(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;const l=s[5].default,t=H(l,s,s[4],null);return{c(){e=S("h3"),t&&t.c(),this.h()},l(i){e=I(i,"H3",{id:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){p(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&Q(t,l,i,i[4],n?G(l,i[4],r,null):V(i[4]),null),(!n||r&4)&&p(e,"id",i[2])},i(i){n||(h(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function un(s){let e,n;const l=s[5].default,t=H(l,s,s[4],null);return{c(){e=S("h2"),t&&t.c(),this.h()},l(i){e=I(i,"H2",{id:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){p(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&Q(t,l,i,i[4],n?G(l,i[4],r,null):V(i[4]),null),(!n||r&4)&&p(e,"id",i[2])},i(i){n||(h(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function cn(s){let e,n;const l=s[5].default,t=H(l,s,s[4],null);return{c(){e=S("h1"),t&&t.c(),this.h()},l(i){e=I(i,"H1",{id:!0});var r=R(e);t&&t.l(r),r.forEach(c),this.h()},h(){p(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&Q(t,l,i,i[4],n?G(l,i[4],r,null):V(i[4]),null),(!n||r&4)&&p(e,"id",i[2])},i(i){n||(h(t,i),n=!0)},o(i){_(t,i),n=!1},d(i){i&&c(e),t&&t.d(i)}}}function hn(s){let e,n,l,t;const i=[cn,un,fn,an,on,sn,rn],r=[];function a(o,f){return o[0]===1?0:o[0]===2?1:o[0]===3?2:o[0]===4?3:o[0]===5?4:o[0]===6?5:6}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),g(o,l,f),t=!0},p(o,[f]){let u=e;e=a(o),e===u?r[e].p(o,f):(x(),_(r[