text: (()=>{var Ct=Object.create;var G=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var mt=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,kt=Object.getPrototypeOf,we=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable;var ye=(h,o,d)=>o in h?G(h,o,{enumerable:!0,configurable:!0,writable:!0,value:d}):h[o]=d,_e=(h,o)=>{for(var d in o||(o={}))we.call(o,d)&&ye(h,d,o[d]);if(Be)for(var d of Be(o))xt.call(o,d)&&ye(h,d,o[d]);return h};var vt=h=>G(h,"__esModule",{value:!0});var bt=(h,o)=>()=>(o||h((o={exports:{}}).exports,o),o.exports);var Bt=(h,o,d)=>{if(o&&typeof o=="object"||typeof o=="function")for(let x of mt(o))!we.call(h,x)&&x!=="default"&&G(h,x,{get:()=>o[x],enumerable:!(d=Et(o,x))||d.enumerable});return h},wt=h=>Bt(vt(G(h!=null?Ct(kt(h)):{},"default",h&&h.__esModule&&"default"in h?{get:()=>h.default,enumerable:!0}:{value:h,enumerable:!0})),h);var $e=bt((ee,te)=>{(function(h,o){typeof ee=="object"&&typeof te!="undefined"?te.exports=o():typeof define=="function"&&define.amd?define(o):(h=typeof globalThis!="undefined"?globalThis:h||self,h.marked=o())})(ee,function(){"use strict";function h(s,r){for(var i=0;i<r.length;i++){var e=r[i];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}function o(s,r,i){return r&&h(s.prototype,r),i&&h(s,i),s}function d(s,r){if(!!s){if(typeof s=="string")return x(s,r);var i=Object.prototype.toString.call(s).slice(8,-1);if(i==="Object"&&s.constructor&&(i=s.constructor.name),i==="Map"||i==="Set")return Array.from(s);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return x(s,r)}}function x(s,r){(r==null||r>s.length)&&(r=s.length);for(var i=0,e=new Array(r);i<r;i++)e[i]=s[i];return e}function y(s,r){var i=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(i)return(i=i.call(s)).next.bind(i);if(Array.isArray(s)||(i=d(s))||r&&s&&typeof s.length=="number"){i&&(s=i);var e=0;return function(){return e>=s.length?{done:!0}:{done:!1,value:s[e++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b={exports:{}};function B(){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}}function S(s){b.exports.defaults=s}b.exports={defaults:B(),getDefaults:B,changeDefaults:S};var M=/[&<>"']/,q=/[&<>"']/g,J=/[<>"']|&(?!#?\w+;)/,Re=/[<>"']|&(?!#?\w+;)/g,qe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ie=function(r){return qe[r]};function Pe(s,r){if(r){if(M.test(s))return s.replace(q,ie)}else if(J.test(s))return s.replace(Re,ie);return s}var Oe=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function se(s){return s.replace(Oe,function(r,i){return i=i.toLowerCase(),i==="colon"?":":i.charAt(0)==="#"?i.charAt(1)==="x"?String.fromCharCode(parseInt(i.substring(2),16)):String.fromCharCode(+i.substring(1)):""})}var Ze=/(^|[^\[])\^/g;function Le(s,r){s=s.source||s,r=r||"";var i={replace:function(t,n){return n=n.source||n,n=n.replace(Ze,"$1"),s=s.replace(t,n),i},getRegex:function(){return new RegExp(s,r)}};return i}var Ue=/[^\w:]/g,He=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Me(s,r,i){if(s){var e;try{e=decodeURIComponent(se(i)).replace(Ue,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}r&&!He.test(i)&&(i=ae(r,i));try{i=encodeURI(i).replace(/%25/g,"%")}catch{return null}return i}var j={},je=/^[^:]+:\/*[^/]*$/,Qe=/^([^:]+:)[\s\S]*$/,Ne=/^([^:]+:\/*[^/]*)[\s\S]*$/;function ae(s,r){j[" "+s]||(je.test(s)?j[" "+s]=s+"/":j[" "+s]=le(s,"/",!0)),s=j[" "+s];var i=s.indexOf(":")===-1;return r.substring(0,2)==="//"?i?r:s.replace(Qe,"$1")+r:r.charAt(0)==="/"?i?r:s.replace(Ne,"$1")+r:s+r}var Ve={exec:function(){}};function Xe(s){for(var r=1,i,e;r<arguments.length;r++){i=arguments[r];for(e in i)Object.prototype.hasOwnProperty.call(i,e)&&(s[e]=i[e])}return s}function Ge(s,r){var i=s.replace(/\|/g,function(n,u,a){for(var l=!1,D=u;--D>=0&&a[D]==="\\";)l=!l;return l?"|":" |"}),e=i.split(/ \|/),t=0;if(e[0].trim()||e.shift(),e[e.length-1].trim()||e.pop(),e.length>r)e.splice(r);else for(;e.length<r;)e.push("");for(;t<e.length;t++)e[t]=e[t].trim().replace(/\\\|/g,"|");return e}function le(s,r,i){var e=s.length;if(e===0)return"";for(var t=0;t<e;){var n=s.charAt(e-t-1);if(n===r&&!i)t++;else if(n!==r&&i)t++;else break}return s.substr(0,e-t)}function We(s,r){if(s.indexOf(r[1])===-1)return-1;for(var i=s.length,e=0,t=0;t<i;t++)if(s[t]==="\\")t++;else if(s[t]===r[0])e++;else if(s[t]===r[1]&&(e--,e<0))return t;return-1}function Je(s){s&&s.sanitize&&!s.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Ke(s,r){if(r<1)return"";for(var i="";r>1;)r&1&&(i+=s),r>>=1,s+=s;return i+s}var $={escape:Pe,unescape:se,edit:Le,cleanUrl:Me,resolveUrl:ae,noopTest:Ve,merge:Xe,splitCells:Ge,rtrim:le,findClosingBracket:We,checkSanitizeDeprecation:Je,repeatString:Ke},Ye=b.exports.defaults,K=$.rtrim,oe=$.splitCells,z=$.escape,et=$.findClosingBracket;function De(s,r,i,e){var t=r.href,n=r.title?z(r.title):null,u=s[1].replace(/\\([\[\]])/g,"$1");if(s[0].charAt(0)!=="!"){e.state.inLink=!0;var a={type:"link",raw:i,href:t,title:n,text:u,tokens:e.inlineTokens(u,[])};return e.state.inLink=!1,a}else return{type:"image",raw:i,href:t,title:n,text:z(u)}}function tt(s,r){var i=s.match(/^(\s+)(?:```)/);if(i===null)return r;var e=i[1];return r.split(`
  `).map(function(t){var n=t.match(/^\s+/);if(n===null)return t;var u=n[0];return u.length>=e.length?t.slice(e.length):t}).join(`
  `)}var ce=function(){function s(i){this.options=i||Ye}var r=s.prototype;return r.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:`
  `}},r.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:K(n,`
  `)}}},r.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],u=tt(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:u}}},r.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var u=K(n,"#");(this.options.pedantic||!u||/ $/.test(u))&&(n=u.trim())}var a={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};return this.lexer.inline(a.text,a.tokens),a}},r.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},r.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}},r.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,u,a,l,D,c,A,g,m,E,p=t[1].trim(),w=p.length>1,k={type:"list",raw:"",ordered:w,start:w?+p.slice(0,-1):"",loose:!1,items:[]};p=w?"\\d{1,9}\\"+p.slice(-1):"\\"+p,this.options.pedantic&&(p=w?p:"[*+-]");for(var I=new RegExp("^( {0,3}"+p+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");e&&!(this.rules.block.hr.test(e)||!(t=I.exec(e)));){m=t[2].split(`
  `),this.options.pedantic?(l=2,E=m[0].trimLeft()):(l=t[2].search(/[^ ]/),l=t[1].length+(l>4?1:l),E=m[0].slice(l-t[1].length)),c=!1,n=t[0],!m[0]&&/^ *$/.test(m[1])&&(n=t[1]+m.slice(0,2).join(`
  `)+`
  `,k.loose=!0,m=[]);var P=new RegExp("^ {0,"+Math.min(3,l-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(D=1;D<m.length;D++){if(g=m[D],this.options.pedantic&&(g=g.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),P.test(g)){n=t[1]+m.slice(0,D).join(`
  `)+`
  `;break}if(!c){g.trim()||(c=!0),g.search(/[^ ]/)>=l?E+=`
  `+g.slice(l):E+=`
  `+g;continue}if(g.search(/[^ ]/)>=l||!g.trim()){E+=`
  `+g.slice(l);continue}else{n=t[1]+m.slice(0,D).join(`
  `)+`
  `;break}}k.loose||(A?k.loose=!0:/\n *\n *$/.test(n)&&(A=!0)),this.options.gfm&&(u=/^\[[ xX]\] /.exec(E),u&&(a=u[0]!=="[ ] ",E=E.replace(/^\[[ xX]\] +/,""))),k.items.push({type:"list_item",raw:n,task:!!u,checked:a,loose:!1,text:E}),k.raw+=n,e=e.slice(n.length)}k.items[k.items.length-1].raw=n.trimRight(),k.items[k.items.length-1].text=E.trimRight(),k.raw=k.raw.trimRight();var _=k.items.length;for(D=0;D<_;D++)this.lexer.state.top=!1,k.items[D].tokens=this.lexer.blockTokens(k.items[D].text,[]),k.items[D].tokens.some(function(U){return U.type==="space"})&&(k.loose=!0,k.items[D].loose=!0);return k}},r.html=function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&(t[1]==="pre"||t[1]==="script"||t[1]==="style"),text:t[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(t[0]):z(t[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}},r.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var n=t[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:n,raw:t[0],href:t[2],title:t[3]}}},r.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:oe(t[1]).map(function(A){return{text:A}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split(`
  `):[]};if(n.header.length===n.align.length){n.raw=t[0];var u=n.align.length,a,l,D,c;for(a=0;a<u;a++)/^ *-+: *$/.test(n.align[a])?n.align[a]="right":/^ *:-+: *$/.test(n.align[a])?n.align[a]="center":/^ *:-+ *$/.test(n.align[a])?n.align[a]="left":n.align[a]=null;for(u=n.rows.length,a=0;a<u;a++)n.rows[a]=oe(n.rows[a],n.header.length).map(function(A){return{text:A}});for(u=n.header.length,l=0;l<u;l++)n.header[l].tokens=[],this.lexer.inlineTokens(n.header[l].text,n.header[l].tokens);for(u=n.rows.length,l=0;l<u;l++)for(c=n.rows[l],D=0;D<c.length;D++)c[D].tokens=[],this.lexer.inlineTokens(c[D].text,c[D].tokens);return n}}},r.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t){var n={type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},r.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n={type:"paragraph",raw:t[0],text:t[1].charAt(t[1].length-1)===`
  `?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},r.text=function(e){var t=this.rules.block.text.exec(e);if(t){var n={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},r.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:z(t[1])}},r.tag=function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):z(t[0]):t[0]}},r.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var u=K(n.slice(0,-1),"\\");if((n.length-u.length)%2==0)return}else{var a=et(t[2],"()");if(a>-1){var l=t[0].indexOf("!")===0?5:4,D=l+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,D).trim(),t[3]=""}}var c=t[2],A="";if(this.options.pedantic){var g=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(c);g&&(c=g[1],A=g[3])}else A=t[3]?t[3].slice(1,-1):"";return c=c.trim(),/^</.test(c)&&(this.options.pedantic&&!/>$/.test(n)?c=c.slice(1):c=c.slice(1,-1)),De(t,{href:c&&c.replace(this.rules.inline._escapes,"$1"),title:A&&A.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}},r.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var u=(n[2]||n[1]).replace(/\s+/g," ");if(u=t[u.toLowerCase()],!u||!u.href){var a=n[0].charAt(0);return{type:"text",raw:a,text:a}}return De(n,u,n[0],this.lexer)}},r.emStrong=function(e,t,n){n===void 0&&(n="");var u=this.rules.inline.emStrong.lDelim.exec(e);if(!!u&&!(u[3]&&n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var a=u[1]||u[2]||"";if(!a||a&&(n===""||this.rules.inline.punctuation.exec(n))){var l=u[0].length-1,D,c,A=l,g=0,m=u[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(m.lastIndex=0,t=t.slice(-1*e.length+l);(u=m.exec(t))!=null;)if(D=u[1]||u[2]||u[3]||u[4]||u[5]||u[6],!!D){if(c=D.length,u[3]||u[4]){A+=c;continue}else if((u[5]||u[6])&&l%3&&!((l+c)%3)){g+=c;continue}if(A-=c,!(A>0)){if(c=Math.min(c,c+A+g),Math.min(l,c)%2){var E=e.slice(1,l+u.index+c);return{type:"em",raw:e.slice(0,l+u.index+c+1),text:E,tokens:this.lexer.inlineTokens(E,[])}}var p=e.slice(2,l+u.index+c-1);return{type:"strong",raw:e.slice(0,l+u.index+c+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}}}},r.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),u=/[^ ]/.test(n),a=/^ /.test(n)&&/ $/.test(n);return u&&a&&(n=n.substring(1,n.length-1)),n=z(n,!0),{type:"codespan",raw:t[0],text:n}}},r.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},r.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},r.autolink=function(e,t){var n=this.rules.inline.autolink.exec(e);if(n){var u,a;return n[2]==="@"?(u=z(this.options.mangle?t(n[1]):n[1]),a="mailto:"+u):(u=z(n[1]),a=u),{type:"link",raw:n[0],text:u,href:a,tokens:[{type:"text",raw:u,text:u}]}}},r.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var u,a;if(n[2]==="@")u=z(this.options.mangle?t(n[0]):n[0]),a="mailto:"+u;else{var l;do l=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(l!==n[0]);u=z(n[0]),n[1]==="www."?a="http://"+u:a=u}return{type:"link",raw:n[0],text:u,href:a,tokens:[{type:"text",raw:u,text:u}]}}},r.inlineText=function(e,t){var n=this.rules.inline.text.exec(e);if(n){var u;return this.lexer.state.inRawBlock?u=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):z(n[0]):n[0]:u=z(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:u}}},s}(),Q=$.noopTest,v=$.edit,T=$.merge,F={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:Q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};F._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,F._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,F.def=v(F.def).replace("label",F._label).replace("title",F._title).getRegex(),F.bullet=/(?:[*+-]|\d{1,9}[.)])/,F.listItemStart=v(/^( *)(bull) */).replace("bull",F.bullet).getRegex(),F.list=v(F.list).replace(/bull/g,F.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+F.def.source+")").getRegex(),F._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",F._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,F.html=v(F.html,"i").replace("comment",F._comment).replace("tag",F._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),F.paragraph=v(F._paragraph).replace("hr",F.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F._tag).getRegex(),F.blockquote=v(F.blockquote).replace("paragraph",F.paragraph).getRegex(),F.normal=T({},F),F.gfm=T({},F.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),F.gfm.table=v(F.gfm.table).replace("hr",F.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F._tag).getRegex(),F.pedantic=T({},F.normal,{html:v(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",F._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Q,paragraph:v(F.normal._paragraph).replace("hr",F.hr).replace("heading",` *#{1,6} *[^
  ]`).replace("lheading",F.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var f={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Q,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)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,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:Q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};f._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",f.punctuation=v(f.punctuation).replace(/punctuation/g,f._punctuation).getRegex(),f.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,f.escapedEmSt=/\\\*|\\_/g,f._comment=v(F._comment).replace("(?:-->|$)","-->").getRegex(),f.emStrong.lDelim=v(f.emStrong.lDelim).replace(/punct/g,f._punctuation).getRegex(),f.emStrong.rDelimAst=v(f.emStrong.rDelimAst,"g").replace(/punct/g,f._punctuation).getRegex(),f.emStrong.rDelimUnd=v(f.emStrong.rDelimUnd,"g").replace(/punct/g,f._punctuation).getRegex(),f._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,f._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,f._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])?)+(?![-_])/,f.autolink=v(f.autolink).replace("scheme",f._scheme).replace("email",f._email).getRegex(),f._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,f.tag=v(f.tag).replace("comment",f._comment).replace("attribute",f._attribute).getRegex(),f._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,f._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,f._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,f.link=v(f.link).replace("label",f._label).replace("href",f._href).replace("title",f._title).getRegex(),f.reflink=v(f.reflink).replace("label",f._label).getRegex(),f.reflinkSearch=v(f.reflinkSearch,"g").replace("reflink",f.reflink).replace("nolink",f.nolink).getRegex(),f.normal=T({},f),f.pedantic=T({},f.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:v(/^!?\[(label)\]\((.*?)\)/).replace("label",f._label).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",f._label).getRegex()}),f.gfm=T({},f.normal,{escape:v(f.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),f.gfm.url=v(f.gfm.url,"i").replace("email",f.gfm._extended_email).getRegex(),f.breaks=T({},f.gfm,{br:v(f.br).replace("{2,}","*").getRegex(),text:v(f.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var he={block:F,inline:f},ut=ce,nt=b.exports.defaults,N=he.block,O=he.inline,pe=$.repeatString;function rt(s){return s.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function fe(s){var r="",i,e,t=s.length;for(i=0;i<t;i++)e=s.charCodeAt(i),Math.random()>.5&&(e="x"+e.toString(16)),r+="&#"+e+";";return r}var it=function(){function s(i){this.tokens=[],this.tokens.links=Object.create(null),this.options=i||nt,this.options.tokenizer=this.options.tokenizer||new ut,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var e={block:N.normal,inline:O.normal};this.options.pedantic?(e.block=N.pedantic,e.inline=O.pedantic):this.options.gfm&&(e.block=N.gfm,this.options.breaks?e.inline=O.breaks:e.inline=O.gfm),this.tokenizer.rules=e}s.lex=function(e,t){var n=new s(t);return n.lex(e)},s.lexInline=function(e,t){var n=new s(t);return n.inlineTokens(e)};var r=s.prototype;return r.lex=function(e){e=e.replace(/\r\n|\r/g,`
  `).replace(/\t/g,"    "),this.blockTokens(e,this.tokens);for(var t;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens},r.blockTokens=function(e,t){var n=this;t===void 0&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));for(var u,a,l,D;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(A){return(u=A.call({lexer:n},e,t))?(e=e.substring(u.raw.length),t.push(u),!0):!1}))){if(u=this.tokenizer.space(e)){e=e.substring(u.raw.length),u.type&&t.push(u);continue}if(u=this.tokenizer.code(e)){e=e.substring(u.raw.length),a=t[t.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=`
  `+u.raw,a.text+=`
  `+u.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):t.push(u);continue}if(u=this.tokenizer.fences(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.heading(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.hr(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.blockquote(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.list(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.html(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.def(e)){e=e.substring(u.raw.length),a=t[t.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=`
  `+u.raw,a.text+=`
  `+u.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[u.tag]||(this.tokens.links[u.tag]={href:u.href,title:u.title});continue}if(u=this.tokenizer.table(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.lheading(e)){e=e.substring(u.raw.length),t.push(u);continue}if(l=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var A=1/0,g=e.slice(1),m=void 0;n.options.extensions.startBlock.forEach(function(E){m=E.call({lexer:this},g),typeof m=="number"&&m>=0&&(A=Math.min(A,m))}),A<1/0&&A>=0&&(l=e.substring(0,A+1))}(),this.state.top&&(u=this.tokenizer.paragraph(l))){a=t[t.length-1],D&&a.type==="paragraph"?(a.raw+=`
  `+u.raw,a.text+=`
  `+u.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):t.push(u),D=l.length!==e.length,e=e.substring(u.raw.length);continue}if(u=this.tokenizer.text(e)){e=e.substring(u.raw.length),a=t[t.length-1],a&&a.type==="text"?(a.raw+=`
  `+u.raw,a.text+=`
  `+u.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):t.push(u);continue}if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,t},r.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},r.inlineTokens=function(e,t){var n=this;t===void 0&&(t=[]);var u,a,l,D=e,c,A,g;if(this.tokens.links){var m=Object.keys(this.tokens.links);if(m.length>0)for(;(c=this.tokenizer.rules.inline.reflinkSearch.exec(D))!=null;)m.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))&&(D=D.slice(0,c.index)+"["+pe("a",c[0].length-2)+"]"+D.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(c=this.tokenizer.rules.inline.blockSkip.exec(D))!=null;)D=D.slice(0,c.index)+"["+pe("a",c[0].length-2)+"]"+D.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(c=this.tokenizer.rules.inline.escapedEmSt.exec(D))!=null;)D=D.slice(0,c.index)+"++"+D.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(A||(g=""),A=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(p){return(u=p.call({lexer:n},e,t))?(e=e.substring(u.raw.length),t.push(u),!0):!1}))){if(u=this.tokenizer.escape(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.tag(e)){e=e.substring(u.raw.length),a=t[t.length-1],a&&u.type==="text"&&a.type==="text"?(a.raw+=u.raw,a.text+=u.text):t.push(u);continue}if(u=this.tokenizer.link(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(u.raw.length),a=t[t.length-1],a&&u.type==="text"&&a.type==="text"?(a.raw+=u.raw,a.text+=u.text):t.push(u);continue}if(u=this.tokenizer.emStrong(e,D,g)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.codespan(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.br(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.del(e)){e=e.substring(u.raw.length),t.push(u);continue}if(u=this.tokenizer.autolink(e,fe)){e=e.substring(u.raw.length),t.push(u);continue}if(!this.state.inLink&&(u=this.tokenizer.url(e,fe))){e=e.substring(u.raw.length),t.push(u);continue}if(l=e,this.options.extensions&&this.options.extensions.startInline&&function(){var p=1/0,w=e.slice(1),k=void 0;n.options.extensions.startInline.forEach(function(I){k=I.call({lexer:this},w),typeof k=="number"&&k>=0&&(p=Math.min(p,k))}),p<1/0&&p>=0&&(l=e.substring(0,p+1))}(),u=this.tokenizer.inlineText(l,rt)){e=e.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(g=u.raw.slice(-1)),A=!0,a=t[t.length-1],a&&a.type==="text"?(a.raw+=u.raw,a.text+=u.text):t.push(u);continue}if(e){var E="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(E);break}else throw new Error(E)}}return t},o(s,null,[{key:"rules",get:function(){return{block:N,inline:O}}}]),s}(),st=b.exports.defaults,ge=$.cleanUrl,V=$.escape,de=function(){function s(i){this.options=i||st}var r=s.prototype;return r.code=function(e,t,n){var u=(t||"").match(/\S*/)[0];if(this.options.highlight){var a=this.options.highlight(e,u);a!=null&&a!==e&&(n=!0,e=a)}return e=e.replace(/\n$/,"")+`
  `,u?'<pre><code class="'+this.options.langPrefix+V(u,!0)+'">'+(n?e:V(e,!0))+`</code></pre>
  `:"<pre><code>"+(n?e:V(e,!0))+`</code></pre>
  `},r.blockquote=function(e){return`<blockquote>
  `+e+`</blockquote>
  `},r.html=function(e){return e},r.heading=function(e,t,n,u){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+u.slug(n)+'">'+e+"</h"+t+`>
  `:"<h"+t+">"+e+"</h"+t+`>
  `},r.hr=function(){return this.options.xhtml?`<hr/>
  `:`<hr>
  `},r.list=function(e,t,n){var u=t?"ol":"ul",a=t&&n!==1?' start="'+n+'"':"";return"<"+u+a+`>
  `+e+"</"+u+`>
  `},r.listitem=function(e){return"<li>"+e+`</li>
  `},r.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},r.paragraph=function(e){return"<p>"+e+`</p>
  `},r.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),`<table>
  <thead>
  `+e+`</thead>
  `+t+`</table>
  `},r.tablerow=function(e){return`<tr>
  `+e+`</tr>
  `},r.tablecell=function(e,t){var n=t.header?"th":"td",u=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return u+e+"</"+n+`>
  `},r.strong=function(e){return"<strong>"+e+"</strong>"},r.em=function(e){return"<em>"+e+"</em>"},r.codespan=function(e){return"<code>"+e+"</code>"},r.br=function(){return this.options.xhtml?"<br/>":"<br>"},r.del=function(e){return"<del>"+e+"</del>"},r.link=function(e,t,n){if(e=ge(this.options.sanitize,this.options.baseUrl,e),e===null)return n;var u='<a href="'+V(e)+'"';return t&&(u+=' title="'+t+'"'),u+=">"+n+"</a>",u},r.image=function(e,t,n){if(e=ge(this.options.sanitize,this.options.baseUrl,e),e===null)return n;var u='<img src="'+e+'" alt="'+n+'"';return t&&(u+=' title="'+t+'"'),u+=this.options.xhtml?"/>":">",u},r.text=function(e){return e},s}(),Ae=function(){function s(){}var r=s.prototype;return r.strong=function(e){return e},r.em=function(e){return e},r.codespan=function(e){return e},r.del=function(e){return e},r.html=function(e){return e},r.text=function(e){return e},r.link=function(e,t,n){return""+n},r.image=function(e,t,n){return""+n},r.br=function(){return""},s}(),Fe=function(){function s(){this.seen={}}var r=s.prototype;return r.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},r.getNextSafeSlug=function(e,t){var n=e,u=0;if(this.seen.hasOwnProperty(n)){u=this.seen[e];do u++,n=e+"-"+u;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=u,this.seen[n]=0),n},r.slug=function(e,t){t===void 0&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},s}(),at=de,lt=Ae,ot=Fe,Dt=b.exports.defaults,ct=$.unescape,ht=function(){function s(i){this.options=i||Dt,this.options.renderer=this.options.renderer||new at,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new lt,this.slugger=new ot}s.parse=function(e,t){var n=new s(t);return n.parse(e)},s.parseInline=function(e,t){var n=new s(t);return n.parseInline(e)};var r=s.prototype;return r.parse=function(e,t){t===void 0&&(t=!0);var n="",u,a,l,D,c,A,g,m,E,p,w,k,I,P,_,U,xe,H,Y,ve=e.length;for(u=0;u<ve;u++){if(p=e[u],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]&&(Y=this.options.extensions.renderers[p.type].call({parser:this},p),Y!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type))){n+=Y||"";continue}switch(p.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(p.tokens),p.depth,ct(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(p.text,p.lang,p.escaped);continue}case"table":{for(m="",g="",D=p.header.length,a=0;a<D;a++)g+=this.renderer.tablecell(this.parseInline(p.header[a].tokens),{header:!0,align:p.align[a]});for(m+=this.renderer.tablerow(g),E="",D=p.rows.length,a=0;a<D;a++){for(A=p.rows[a],g="",c=A.length,l=0;l<c;l++)g+=this.renderer.tablecell(this.parseInline(A[l].tokens),{header:!1,align:p.align[l]});E+=this.renderer.tablerow(g)}n+=this.renderer.table(m,E);continue}case"blockquote":{E=this.parse(p.tokens),n+=this.renderer.blockquote(E);continue}case"list":{for(w=p.ordered,k=p.start,I=p.loose,D=p.items.length,E="",a=0;a<D;a++)_=p.items[a],U=_.checked,xe=_.task,P="",_.task&&(H=this.renderer.checkbox(U),I?_.tokens.length>0&&_.tokens[0].type==="paragraph"?(_.tokens[0].text=H+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&_.tokens[0].tokens[0].type==="text"&&(_.tokens[0].tokens[0].text=H+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:H}):P+=H),P+=this.parse(_.tokens,I),E+=this.renderer.listitem(P,xe,U);n+=this.renderer.list(E,w,k);continue}case"html":{n+=this.renderer.html(p.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(p.tokens));continue}case"text":{for(E=p.tokens?this.parseInline(p.tokens):p.text;u+1<ve&&e[u+1].type==="text";)p=e[++u],E+=`
  `+(p.tokens?this.parseInline(p.tokens):p.text);n+=t?this.renderer.paragraph(E):E;continue}default:{var be='Token with "'+p.type+'" type was not found.';if(this.options.silent){console.error(be);return}else throw new Error(be)}}}return n},r.parseInline=function(e,t){t=t||this.renderer;var n="",u,a,l,D=e.length;for(u=0;u<D;u++){if(a=e[u],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]&&(l=this.options.extensions.renderers[a.type].call({parser:this},a),l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type))){n+=l||"";continue}switch(a.type){case"escape":{n+=t.text(a.text);break}case"html":{n+=t.html(a.text);break}case"link":{n+=t.link(a.href,a.title,this.parseInline(a.tokens,t));break}case"image":{n+=t.image(a.href,a.title,a.text);break}case"strong":{n+=t.strong(this.parseInline(a.tokens,t));break}case"em":{n+=t.em(this.parseInline(a.tokens,t));break}case"codespan":{n+=t.codespan(a.text);break}case"br":{n+=t.br();break}case"del":{n+=t.del(this.parseInline(a.tokens,t));break}case"text":{n+=t.text(a.text);break}default:{var c='Token with "'+a.type+'" type was not found.';if(this.options.silent){console.error(c);return}else throw new Error(c)}}}return n},s}(),Z=it,L=ht,Ce=ce,Ee=de,pt=Ae,ft=Fe,X=$.merge,me=$.checkSanitizeDeprecation,ke=$.escape,gt=b.exports.getDefaults,dt=b.exports.changeDefaults,At=b.exports.defaults;function C(s,r,i){if(typeof s=="undefined"||s===null)throw new Error("marked(): input parameter is undefined or null");if(typeof s!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected");if(typeof r=="function"&&(i=r,r=null),r=X({},C.defaults,r||{}),me(r),i){var e=r.highlight,t;try{t=Z.lex(s,r)}catch(l){return i(l)}var n=function(D){var c;if(!D)try{r.walkTokens&&C.walkTokens(t,r.walkTokens),c=L.parse(t,r)}catch(A){D=A}return r.highlight=e,D?i(D):i(null,c)};if(!e||e.length<3||(delete r.highlight,!t.length))return n();var u=0;C.walkTokens(t,function(l){l.type==="code"&&(u++,setTimeout(function(){e(l.text,l.lang,function(D,c){if(D)return n(D);c!=null&&c!==l.text&&(l.text=c,l.escaped=!0),u--,u===0&&n()})},0))}),u===0&&n();return}try{var a=Z.lex(s,r);return r.walkTokens&&C.walkTokens(a,r.walkTokens),L.parse(a,r)}catch(l){if(l.message+=`
  Please report this to https://github.com/markedjs/marked.`,r.silent)return"<p>An error occurred:</p><pre>"+ke(l.message+"",!0)+"</pre>";throw l}}C.options=C.setOptions=function(s){return X(C.defaults,s),dt(C.defaults),C},C.getDefaults=gt,C.defaults=At,C.use=function(){for(var s=arguments.length,r=new Array(s),i=0;i<s;i++)r[i]=arguments[i];var e=X.apply(void 0,[{}].concat(r)),t=C.defaults.extensions||{renderers:{},childTokens:{}},n;r.forEach(function(u){if(u.extensions&&(n=!0,u.extensions.forEach(function(l){if(!l.name)throw new Error("extension name required");if(l.renderer){var D=t.renderers?t.renderers[l.name]:null;D?t.renderers[l.name]=function(){for(var c=arguments.length,A=new Array(c),g=0;g<c;g++)A[g]=arguments[g];var m=l.renderer.apply(this,A);return m===!1&&(m=D.apply(this,A)),m}:t.renderers[l.name]=l.renderer}if(l.tokenizer){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[l.level]?t[l.level].unshift(l.tokenizer):t[l.level]=[l.tokenizer],l.start&&(l.level==="block"?t.startBlock?t.startBlock.push(l.start):t.startBlock=[l.start]:l.level==="inline"&&(t.startInline?t.startInline.push(l.start):t.startInline=[l.start]))}l.childTokens&&(t.childTokens[l.name]=l.childTokens)})),u.renderer&&function(){var l=C.defaults.renderer||new Ee,D=function(g){var m=l[g];l[g]=function(){for(var E=arguments.length,p=new Array(E),w=0;w<E;w++)p[w]=arguments[w];var k=u.renderer[g].apply(l,p);return k===!1&&(k=m.apply(l,p)),k}};for(var c in u.renderer)D(c);e.renderer=l}(),u.tokenizer&&function(){var l=C.defaults.tokenizer||new Ce,D=function(g){var m=l[g];l[g]=function(){for(var E=arguments.length,p=new Array(E),w=0;w<E;w++)p[w]=arguments[w];var k=u.tokenizer[g].apply(l,p);return k===!1&&(k=m.apply(l,p)),k}};for(var c in u.tokenizer)D(c);e.tokenizer=l}(),u.walkTokens){var a=C.defaults.walkTokens;e.walkTokens=function(l){u.walkTokens.call(this,l),a&&a.call(this,l)}}n&&(e.extensions=t),C.setOptions(e)})},C.walkTokens=function(s,r){for(var i=function(){var u=t.value;switch(r.call(C,u),u.type){case"table":{for(var a=y(u.header),l;!(l=a()).done;){var D=l.value;C.walkTokens(D.tokens,r)}for(var c=y(u.rows),A;!(A=c()).done;)for(var g=A.value,m=y(g),E;!(E=m()).done;){var p=E.value;C.walkTokens(p.tokens,r)}break}case"list":{C.walkTokens(u.items,r);break}default:C.defaults.extensions&&C.defaults.extensions.childTokens&&C.defaults.extensions.childTokens[u.type]?C.defaults.extensions.childTokens[u.type].forEach(function(w){C.walkTokens(u[w],r)}):u.tokens&&C.walkTokens(u.tokens,r)}},e=y(s),t;!(t=e()).done;)i()},C.parseInline=function(s,r){if(typeof s=="undefined"||s===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof s!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected");r=X({},C.defaults,r||{}),me(r);try{var i=Z.lexInline(s,r);return r.walkTokens&&C.walkTokens(i,r.walkTokens),L.parseInline(i,r)}catch(e){if(e.message+=`
  Please report this to https://github.com/markedjs/marked.`,r.silent)return"<p>An error occurred:</p><pre>"+ke(e.message+"",!0)+"</pre>";throw e}},C.Parser=L,C.parser=L.parse,C.Renderer=Ee,C.TextRenderer=pt,C.Lexer=Z,C.lexer=Z.lex,C.Tokenizer=Ce,C.Slugger=ft,C.parse=C;var Ft=C;return Ft})});var W=wt($e());function yt(h){if(!h||typeof h!="string")return 0;let o=0;for(let d=0;d<h.length;d++)o=(o<<5)-o+h.charCodeAt(d)|0,o=o&o;return o}function ue(h){return"hash-"+yt(h)}function Se(h){let o={level:1,children:[]},d=[o];function x(){return d[d.length-1]}let y=0;for(;y<h.length;){let b=x(),B=h[y];if(b.level<B.level){b.children.push(B),d.push(B),y++;continue}if(b.level>=B.level){d.pop();continue}y++}return o.children}function ne(h,o={}){h&&h.scrollIntoView&&typeof h.scrollIntoView=="function"&&h.scrollIntoView(_e({block:"start",inline:"nearest"},o))}var R=document.querySelector.bind(document),_t={paragraph(h){return h==="[TOC]"?'<p id="toc" class="toc"></p>':`<p>${h}</p>`},heading(h,o){let d=`h${o}`;return`<${d} id="${ue(h)}">${h}</${d}>`}};W.default.use({renderer:_t});var re=[],$t=h=>{h.type==="heading"&&(h.depth===2||h.depth===3)&&re.push({level:h.depth,text:h.text,id:ue(h.text),children:[]})};W.default.use({walkTokens:$t});function St(h){re=[];let o=(0,W.default)(h);return{headings:re,html:o}}function zt(h){return fetch(h).then(o=>o.ok?o.text():Promise.resolve(""))}async function ze(h,o="not found or render markdown failed"){let d={html:o,headings:[]};try{let x=await zt(h);return x?St(x):d}catch{return d}}var Te=class{constructor(o){this._config=o,this.$sidebar=R("#sidebar"),this.$post=R("#content"),this.$menuSwitch=R(".sidebar-control"),this.$siteName=R(".site-name"),this.$permalink=R(".permalink"),this.$backToTop=R(".back-to-top"),this.$backToTopButton=R(".back-to-top .button"),this._menuIsShowing=!1,window.addEventListener("popstate",this._renderSidebarAndContent.bind(this)),this.$menuSwitch.addEventListener("click",this._clickOnMenu.bind(this)),this.$backToTopButton.addEventListener("click",this._goBackToTop.bind(this)),this._lifeCycleHooks={}}_clickOnMenu(){this._menuIsShowing?(this.$sidebar.classList.remove("showing"),this.$menuSwitch.classList.remove("showing")):(this.$sidebar.classList.add("showing"),this.$menuSwitch.classList.add("showing")),this._menuIsShowing=!this._menuIsShowing}_goBackToTop(){ne(this.$post)}_renderSidebarAndContent(){let[o,d]=location.hash.split("?");this._renderContent(o),this._renderBackToTop();let x="SIDEBAR.md";d&&(x=new URLSearchParams(d).get("sidebar")||x),this._renderSidebar(x)}_renderBackToTop(){this.$backToTop.classList.add("visible")}_renderSidebar(o="SIDEBAR.md"){return ze(o,"").then(({html:d})=>{let y=new DOMParser().parseFromString(d,"text/html"),b=location.host;y.querySelectorAll("a").forEach(B=>{let S=new URL(B.href);if(S.host!==b){B.setAttribute("target","_blank");return}S.searchParams.has("sidebar")||S.searchParams.set("sidebar",o);let q=`${this._config.basePath||"/"}#${S.pathname}?${S.searchParams}`;B.setAttribute("href",q)}),this.$sidebar.innerHTML=y.body.innerHTML,this.$sidebar.querySelectorAll("a").forEach(B=>{B.addEventListener("click",this._clickOnMenu.bind(this))})})}_renderCustomContent(){let{siteName:o}=this._config||{};o&&(document.title=o||""),this.$siteName.textContent=o||""}async _renderContent(o=""){let d=o.startsWith("#")?o.slice(1):o,{html:x,headings:y}=await ze(d||"README.md");this.$post.innerHTML=x,this.$permalink.textContent=`\u539F\u6587\u8FDE\u63A5\uFF1A${location.href}`,this._emit("rendered"),this._goBackToTop(),setTimeout(()=>{let b=document.querySelector("#toc");if(!b)return;let B=this._renderToc(y);b.innerHTML=B,b.addEventListener("click",S=>{let{target:M}=S,q=M.dataset.headerId;if(!q)return;let J=document.getElementById(q.toLowerCase());ne(J)})},0)}_renderToc(o){function d(y){return`<ul>${y.map(B=>{let S="";return B.children.length>0&&(S=d(B.children)),`<li>
    <a class="toc-header level-${B.level} clickable" data-header-id="${B.id}" href="javascript:void(0)">
      ${B.text}
    </a>
    ${S}
  </li>`}).join(`
  `)}</ul>`}let x=Se(o);return`<h2>\u76EE\u5F55</h2>${d(x)}`}_emit(o){console.log("#emit",o);let d=this._lifeCycleHooks[o]||[];setTimeout(()=>d.forEach(x=>x&&typeof x=="function"&&x()),0)}listen(o,d){Array.isArray(this._lifeCycleHooks[o])||(this._lifeCycleHooks[o]=[]),this._lifeCycleHooks[o].push(d)}render(){this._renderSidebarAndContent(),this._renderCustomContent()}},Ie=new Te(window.marknoteConfig);Ie.listen("rendered",()=>{console.log("try Prism#highlightAll"),Prism&&typeof Prism.highlightAll=="function"&&Prism.highlightAll(!0)});Ie.render();})();
  