2 lines
91 KiB
JavaScript
2 lines
91 KiB
JavaScript
(self.webpackChunkhacs_frontend=self.webpackChunkhacs_frontend||[]).push([["4176"],{899:function(u,e,t){t(69235),t(12385),t(19134),t(5740),t(11740);var n=t(64834),r=t(19019);t(59354);function i(u){return null==u}function D(u){(u=function(u){var e={};for(var t in u)e[t]=u[t];return e}(u||{})).whiteList=u.whiteList||n.whiteList,u.onAttr=u.onAttr||n.onAttr,u.onIgnoreAttr=u.onIgnoreAttr||n.onIgnoreAttr,u.safeAttrValue=u.safeAttrValue||n.safeAttrValue,this.options=u}D.prototype.process=function(u){if(!(u=(u=u||"").toString()))return"";var e=this.options,t=e.whiteList,n=e.onAttr,D=e.onIgnoreAttr,s=e.safeAttrValue;return r(u,(function(u,e,r,o,a){var l=t[r],c=!1;if(!0===l?c=l:"function"==typeof l?c=l(o):l instanceof RegExp&&(c=l.test(o)),!0!==c&&(c=!1),o=s(r,o)){var F,h={position:e,sourcePosition:u,source:a,isWhite:c};return c?i(F=n(r,o,h))?r+":"+o:F:i(F=D(r,o,h))?void 0:F}}))},u.exports=D},64834:function(u,e,t){function n(){var u={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return u}t(19134),t(5740);var r=/javascript\s*\:/gim;e.whiteList=n(),e.getDefaultWhiteList=n,e.onAttr=function(u,e,t){},e.onIgnoreAttr=function(u,e,t){},e.safeAttrValue=function(u,e){return r.test(e)?"":e}},30945:function(u,e,t){var n=t(64834),r=t(899);for(var i in(e=u.exports=function(u,e){return new r(e).process(u)}).FilterCSS=r,n)e[i]=n[i];"undefined"!=typeof window&&(window.filterCSS=u.exports)},19019:function(u,e,t){t(81804),t(52128);var n=t(59354);u.exports=function(u,e){";"!==(u=n.trimRight(u))[u.length-1]&&(u+=";");var t=u.length,r=!1,i=0,D=0,s="";function o(){if(!r){var t=n.trim(u.slice(i,D)),o=t.indexOf(":");if(-1!==o){var a=n.trim(t.slice(0,o)),l=n.trim(t.slice(o+1));if(a){var c=e(i,s.length,a,l,t);c&&(s+=c+"; ")}}}i=D+1}for(;D<t;D++){var a=u[D];if("/"===a&&"*"===u[D+1]){var l=u.indexOf("*/",D+2);if(-1===l)break;i=(D=l+1)+1,r=!1}else"("===a?r=!0:")"===a?r=!1:";"===a?r||o():"\n"===a&&o()}return n.trim(s)}},59354:function(u,e,t){t(19134),t(97003),t(81804),t(52128),t(39527),t(41360),u.exports={indexOf:function(u,e){var t,n;if(Array.prototype.indexOf)return u.indexOf(e);for(t=0,n=u.length;t<n;t++)if(u[t]===e)return t;return-1},forEach:function(u,e,t){var n,r;if(Array.prototype.forEach)return u.forEach(e,t);for(n=0,r=u.length;n<r;n++)e.call(t,u[n],n,u)},trim:function(u){return String.prototype.trim?u.trim():u.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(u){return String.prototype.trimRight?u.trimRight():u.replace(/(\s*$)/g,"")}}},73437:function(u,e,t){t(92745),t(23669),t(19134),t(5740),t(97003),t(81804),t(39527),t(99790),t(41360);var n=t(30945).FilterCSS,r=t(30945).getDefaultWhiteList,i=t(78242);function D(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var s=new n;function o(u){return u.replace(a,"<").replace(l,">")}var a=/</g,l=/>/g,c=/"/g,F=/"/g,h=/&#([a-zA-Z0-9]*);?/gim,p=/:?/gim,E=/&newline;?/gim,C=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,f=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,A=/u\s*r\s*l\s*\(.*/gi;function g(u){return u.replace(c,""")}function d(u){return u.replace(F,'"')}function B(u){return u.replace(h,(function(u,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))}))}function k(u){return u.replace(p,":").replace(E," ")}function x(u){for(var e="",t=0,n=u.length;t<n;t++)e+=u.charCodeAt(t)<32?" ":u.charAt(t);return i.trim(e)}function b(u){return u=x(u=k(u=B(u=d(u))))}function m(u){return u=o(u=g(u))}e.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},e.getDefaultWhiteList=D,e.onTag=function(u,e,t){},e.onIgnoreTag=function(u,e,t){},e.onTagAttr=function(u,e,t){},e.onIgnoreTagAttr=function(u,e,t){},e.safeAttrValue=function(u,e,t,n){if(t=b(t),"href"===e||"src"===e){if("#"===(t=i.trim(t)))return"#";if("http://"!==t.substr(0,7)&&"https://"!==t.substr(0,8)&&"mailto:"!==t.substr(0,7)&&"tel:"!==t.substr(0,4)&&"data:image/"!==t.substr(0,11)&&"ftp://"!==t.substr(0,6)&&"./"!==t.substr(0,2)&&"../"!==t.substr(0,3)&&"#"!==t[0]&&"/"!==t[0])return""}else if("background"===e){if(C.lastIndex=0,C.test(t))return""}else if("style"===e){if(f.lastIndex=0,f.test(t))return"";if(A.lastIndex=0,A.test(t)&&(C.lastIndex=0,C.test(t)))return"";!1!==n&&(t=(n=n||s).process(t))}return t=m(t)},e.escapeHtml=o,e.escapeQuote=g,e.unescapeQuote=d,e.escapeHtmlEntities=B,e.escapeDangerHtml5Entities=k,e.clearNonPrintableCharacter=x,e.friendlyAttrValue=b,e.escapeAttrValue=m,e.onIgnoreTagStripAll=function(){return""},e.StripTagBody=function(u,e){"function"!=typeof e&&(e=function(){});var t=!Array.isArray(u),n=[],r=!1;return{onIgnoreTag:function(D,s,o){if(function(e){return!!t||-1!==i.indexOf(u,e)}(D)){if(o.isClosing){var a="[/removed]",l=o.position+10;return n.push([!1!==r?r:o.position,l]),r=!1,a}return r||(r=o.position),"[removed]"}return e(D,s,o)},remove:function(u){var e="",t=0;return i.forEach(n,(function(n){e+=u.slice(t,n[0]),t=n[1]})),e+=u.slice(t)}}},e.stripCommentTag=function(u){for(var e="",t=0;t<u.length;){var n=u.indexOf("\x3c!--",t);if(-1===n){e+=u.slice(t);break}e+=u.slice(t,n);var r=u.indexOf("--\x3e",n);if(-1===r)break;t=r+3}return e},e.stripBlankChar=function(u){var e=u.split("");return(e=e.filter((function(u){var e=u.charCodeAt(0);return 127!==e&&(!(e<=31)||(10===e||13===e))}))).join("")},e.attributeWrapSign='"',e.cssFilter=s,e.getDefaultCSSWhiteList=r},43019:function(u,e,t){t(68289);var n=t(73437),r=t(71668),i=t(44135);function D(u,e){return new i(e).process(u)}(e=u.exports=D).filterXSS=D,e.FilterXSS=i,function(){for(var u in n)e[u]=n[u];for(var t in r)e[t]=r[t]}(),"undefined"!=typeof window&&(window.filterXSS=u.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=u.exports)},71668:function(u,e,t){t(92745),t(19134),t(5740),t(97003),t(81804);var n=t(78242);function r(u){var e,t=n.spaceIndex(u);return e=-1===t?u.slice(1,-1):u.slice(1,t+1),"/"===(e=n.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}function i(u){return"</"===u.slice(0,2)}var D=/[^a-zA-Z0-9\\_:.-]/gim;function s(u,e){for(;e<u.length;e++){var t=u[e];if(" "!==t)return"="===t?e:-1}}function o(u,e){for(;e<u.length;e++){var t=u[e];if(" "!==t)return"'"===t||'"'===t?e:-1}}function a(u,e){for(;e>0;e--){var t=u[e];if(" "!==t)return"="===t?e:-1}}function l(u){return function(u){return'"'===u[0]&&'"'===u[u.length-1]||"'"===u[0]&&"'"===u[u.length-1]}(u)?u.substr(1,u.length-2):u}e.parseTag=function(u,e,t){"use strict";var n="",D=0,s=!1,o=!1,a=0,l=u.length,c="",F="";u:for(a=0;a<l;a++){var h=u.charAt(a);if(!1===s){if("<"===h){s=a;continue}}else if(!1===o){if("<"===h){n+=t(u.slice(D,a)),s=a,D=a;continue}if(">"===h||a===l-1){n+=t(u.slice(D,s)),c=r(F=u.slice(s,a+1)),n+=e(s,n.length,c,F,i(F)),D=a+1,s=!1;continue}if('"'===h||"'"===h)for(var p=1,E=u.charAt(a-p);""===E.trim()||"="===E;){if("="===E){o=h;continue u}E=u.charAt(a-++p)}}else if(h===o){o=!1;continue}}return D<l&&(n+=t(u.substr(D))),n},e.parseAttr=function(u,e){"use strict";var t=0,r=0,i=[],c=!1,F=u.length;function h(u,t){if(!((u=(u=n.trim(u)).replace(D,"").toLowerCase()).length<1)){var r=e(u,t||"");r&&i.push(r)}}for(var p=0;p<F;p++){var E,C=u.charAt(p);if(!1!==c||"="!==C)if(!1===c||p!==r)if(/\s|\n|\t/.test(C)){if(u=u.replace(/\s|\n|\t/g," "),!1===c){if(-1===(E=s(u,p))){h(n.trim(u.slice(t,p))),c=!1,t=p+1;continue}p=E-1;continue}if(-1===(E=a(u,p-1))){h(c,l(n.trim(u.slice(t,p)))),c=!1,t=p+1;continue}}else;else{if(-1===(E=u.indexOf(C,p+1)))break;h(c,n.trim(u.slice(r+1,E))),c=!1,t=(p=E)+1}else c=u.slice(t,p),t=p+1,r='"'===u.charAt(t)||"'"===u.charAt(t)?t:o(u,p+1)}return t<u.length&&(!1===c?h(u.slice(t)):h(c,l(n.trim(u.slice(t))))),n.trim(i.join(" "))}},78242:function(u,e,t){t(19134),t(97003),t(81804),t(39527),t(41360),u.exports={indexOf:function(u,e){var t,n;if(Array.prototype.indexOf)return u.indexOf(e);for(t=0,n=u.length;t<n;t++)if(u[t]===e)return t;return-1},forEach:function(u,e,t){var n,r;if(Array.prototype.forEach)return u.forEach(e,t);for(n=0,r=u.length;n<r;n++)e.call(t,u[n],n,u)},trim:function(u){return String.prototype.trim?u.trim():u.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(u){var e=/\s|\n|\t/.exec(u);return e?e.index:-1}}},44135:function(u,e,t){t(11740),t(81804),t(13334);var n=t(30945).FilterCSS,r=t(73437),i=t(71668),D=i.parseTag,s=i.parseAttr,o=t(78242);function a(u){return null==u}function l(u){(u=function(u){var e={};for(var t in u)e[t]=u[t];return e}(u||{})).stripIgnoreTag&&(u.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),u.onIgnoreTag=r.onIgnoreTagStripAll),u.whiteList||u.allowList?u.whiteList=function(u){var e={};for(var t in u)Array.isArray(u[t])?e[t.toLowerCase()]=u[t].map((function(u){return u.toLowerCase()})):e[t.toLowerCase()]=u[t];return e}(u.whiteList||u.allowList):u.whiteList=r.whiteList,this.attributeWrapSign=!0===u.singleQuotedAttributeValue?"'":r.attributeWrapSign,u.onTag=u.onTag||r.onTag,u.onTagAttr=u.onTagAttr||r.onTagAttr,u.onIgnoreTag=u.onIgnoreTag||r.onIgnoreTag,u.onIgnoreTagAttr=u.onIgnoreTagAttr||r.onIgnoreTagAttr,u.safeAttrValue=u.safeAttrValue||r.safeAttrValue,u.escapeHtml=u.escapeHtml||r.escapeHtml,this.options=u,!1===u.css?this.cssFilter=!1:(u.css=u.css||{},this.cssFilter=new n(u.css))}l.prototype.process=function(u){if(!(u=(u=u||"").toString()))return"";var e=this,t=e.options,n=t.whiteList,i=t.onTag,l=t.onIgnoreTag,c=t.onTagAttr,F=t.onIgnoreTagAttr,h=t.safeAttrValue,p=t.escapeHtml,E=e.attributeWrapSign,C=e.cssFilter;t.stripBlankChar&&(u=r.stripBlankChar(u)),t.allowCommentTag||(u=r.stripCommentTag(u));var f=!1;t.stripIgnoreTagBody&&(f=r.StripTagBody(t.stripIgnoreTagBody,l),l=f.onIgnoreTag);var A=D(u,(function(u,e,t,r,D){var f={sourcePosition:u,position:e,isClosing:D,isWhite:Object.prototype.hasOwnProperty.call(n,t)},A=i(t,r,f);if(!a(A))return A;if(f.isWhite){if(f.isClosing)return"</"+t+">";var g=function(u){var e=o.spaceIndex(u);if(-1===e)return{html:"",closing:"/"===u[u.length-2]};var t="/"===(u=o.trim(u.slice(e+1,-1)))[u.length-1];return t&&(u=o.trim(u.slice(0,-1))),{html:u,closing:t}}(r),d=n[t],B=s(g.html,(function(u,e){var n=-1!==o.indexOf(d,u),r=c(t,u,e,n);return a(r)?n?(e=h(t,u,e,C))?u+"="+E+e+E:u:a(r=F(t,u,e,n))?void 0:r:r}));return r="<"+t,B&&(r+=" "+B),g.closing&&(r+=" /"),r+=">"}return a(A=l(t,r,f))?p(r):A}),p);return f&&(A=f.remove(A)),A},u.exports=l},51107:function(u,e,t){"use strict";var n=t(60275).has;u.exports=function(u){return n(u),u}},28174:function(u,e,t){"use strict";var n=t(85779),r=t(19258),i=TypeError,D=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();u.exports=s?function(u,e){if(r(u)&&!D(u,"length").writable)throw new i("Cannot set read only .length");return u.length=e}:function(u,e){return u.length=e}},76577:function(u){"use strict";var e=TypeError;u.exports=function(u){if(u>9007199254740991)throw e("Maximum allowed index exceeded");return u}},57877:function(u,e,t){"use strict";var n=t(19258),r=t(13053),i=t(76577),D=t(31269),s=function(u,e,t,o,a,l,c,F){for(var h,p,E=a,C=0,f=!!c&&D(c,F);C<o;)C in t&&(h=f?f(t[C],C,e):t[C],l>0&&n(h)?(p=r(h),E=s(u,e,h,p,E,l-1)-1):(i(E+1),u[E]=h),E++),C++;return E};u.exports=s},86225:function(u,e,t){"use strict";var n=t(63983),r=t(71998),i=t(97934),D=t(88045),s=t(4576),o="Invalid size",a=RangeError,l=TypeError,c=Math.max,F=function(u,e){this.set=u,this.size=c(e,0),this.has=n(u.has),this.keys=n(u.keys)};F.prototype={getIterator:function(){return s(r(i(this.keys,this.set)))},includes:function(u){return i(this.has,this.set,u)}},u.exports=function(u){r(u);var e=+u.size;if(e!=e)throw new l(o);var t=D(e);if(t<0)throw new a(o);return new F(u,t)}},91896:function(u,e,t){"use strict";var n=t(97934);u.exports=function(u,e,t){for(var r,i,D=t?u:u.iterator,s=u.next;!(r=n(s,D)).done;)if(void 0!==(i=e(r.value)))return i}},61632:function(u,e,t){"use strict";var n=t(1569),r=t(29660),i=t(72878),D=t(72616),s=t(36888).trim,o=t(91430),a=n.parseInt,l=n.Symbol,c=l&&l.iterator,F=/^[+-]?0x/i,h=i(F.exec),p=8!==a(o+"08")||22!==a(o+"0x16")||c&&!r((function(){a(Object(c))}));u.exports=p?function(u,e){var t=s(D(u));return a(t,e>>>0||(h(F,t)?16:10))}:a},86806:function(u){"use strict";u.exports=Object.is||function(u,e){return u===e?0!==u||1/u==1/e:u!=u&&e!=e}},51375:function(u,e,t){"use strict";var n=t(60275),r=t(34770),i=n.Set,D=n.add;u.exports=function(u){var e=new i;return r(u,(function(u){D(e,u)})),e}},42568:function(u,e,t){"use strict";var n=t(51107),r=t(60275),i=t(51375),D=t(5008),s=t(86225),o=t(34770),a=t(91896),l=r.has,c=r.remove;u.exports=function(u){var e=n(this),t=s(u),r=i(e);return D(e)<=t.size?o(e,(function(u){t.includes(u)&&c(r,u)})):a(t.getIterator(),(function(u){l(e,u)&&c(r,u)})),r}},60275:function(u,e,t){"use strict";var n=t(72878),r=Set.prototype;u.exports={Set:Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}},47332:function(u,e,t){"use strict";var n=t(51107),r=t(60275),i=t(5008),D=t(86225),s=t(34770),o=t(91896),a=r.Set,l=r.add,c=r.has;u.exports=function(u){var e=n(this),t=D(u),r=new a;return i(e)>t.size?o(t.getIterator(),(function(u){c(e,u)&&l(r,u)})):s(e,(function(u){t.includes(u)&&l(r,u)})),r}},19906:function(u,e,t){"use strict";var n=t(51107),r=t(60275).has,i=t(5008),D=t(86225),s=t(34770),o=t(91896),a=t(14181);u.exports=function(u){var e=n(this),t=D(u);if(i(e)<=t.size)return!1!==s(e,(function(u){if(t.includes(u))return!1}),!0);var l=t.getIterator();return!1!==o(l,(function(u){if(r(e,u))return a(l,"normal",!1)}))}},47151:function(u,e,t){"use strict";var n=t(51107),r=t(5008),i=t(34770),D=t(86225);u.exports=function(u){var e=n(this),t=D(u);return!(r(e)>t.size)&&!1!==i(e,(function(u){if(!t.includes(u))return!1}),!0)}},61322:function(u,e,t){"use strict";var n=t(51107),r=t(60275).has,i=t(5008),D=t(86225),s=t(91896),o=t(14181);u.exports=function(u){var e=n(this),t=D(u);if(i(e)<t.size)return!1;var a=t.getIterator();return!1!==s(a,(function(u){if(!r(e,u))return o(a,"normal",!1)}))}},34770:function(u,e,t){"use strict";var n=t(72878),r=t(91896),i=t(60275),D=i.Set,s=i.proto,o=n(s.forEach),a=n(s.keys),l=a(new D).next;u.exports=function(u,e,t){return t?r({iterator:a(u),next:l},e):o(u,e)}},42099:function(u,e,t){"use strict";var n=t(87831),r=function(u){return{size:u,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};u.exports=function(u){var e=n("Set");try{(new e)[u](r(0));try{return(new e)[u](r(-1)),!1}catch(t){return!0}}catch(i){return!1}}},5008:function(u,e,t){"use strict";var n=t(94400),r=t(60275);u.exports=n(r.proto,"size","get")||function(u){return u.size}},52619:function(u,e,t){"use strict";var n=t(51107),r=t(60275),i=t(51375),D=t(86225),s=t(91896),o=r.add,a=r.has,l=r.remove;u.exports=function(u){var e=n(this),t=D(u).getIterator(),r=i(e);return s(t,(function(u){a(e,u)?l(r,u):o(r,u)})),r}},5561:function(u,e,t){"use strict";var n=t(51107),r=t(60275).add,i=t(51375),D=t(86225),s=t(91896);u.exports=function(u){var e=n(this),t=D(u).getIterator(),o=i(e);return s(t,(function(u){r(o,u)})),o}},72183:function(u,e,t){"use strict";var n=t(36888).end,r=t(37588);u.exports=r("trimEnd")?function(){return n(this)}:"".trimEnd},37588:function(u,e,t){"use strict";var n=t(68533).PROPER,r=t(29660),i=t(91430);u.exports=function(u){return r((function(){return!!i[u]()||"
"!=="
"[u]()||n&&i[u].name!==u}))}},93396:function(u,e,t){"use strict";var n=t(36888).start,r=t(37588);u.exports=r("trimStart")?function(){return n(this)}:"".trimStart},36888:function(u,e,t){"use strict";var n=t(72878),r=t(95011),i=t(72616),D=t(91430),s=n("".replace),o=RegExp("^["+D+"]+"),a=RegExp("(^|[^"+D+"])["+D+"]+$"),l=function(u){return function(e){var t=i(r(e));return 1&u&&(t=s(t,o,"")),2&u&&(t=s(t,a,"$1")),t}};u.exports={start:l(1),end:l(2),trim:l(3)}},91430:function(u){"use strict";u.exports="\t\n\v\f\r \u2028\u2029\ufeff"},63434:function(u,e,t){"use strict";var n=t(40810),r=t(12360),i=t(13053),D=t(88045),s=t(35709);n({target:"Array",proto:!0},{at:function(u){var e=r(this),t=i(e),n=D(u),s=n>=0?n:t+n;return s<0||s>=t?void 0:e[s]}}),s("at")},28457:function(u,e,t){"use strict";var n=t(40810),r=t(57877),i=t(12360),D=t(13053),s=t(88045),o=t(47645);n({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,e=i(this),t=D(e),n=o(e,0);return n.length=r(n,e,e,t,0,void 0===u?1:s(u)),n}})},92745:function(u,e,t){"use strict";var n=t(40810),r=t(12360),i=t(13053),D=t(28174),s=t(76577);n({target:"Array",proto:!0,arity:1,forced:t(29660)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(u){return u instanceof TypeError}}()},{push:function(u){var e=r(this),t=i(e),n=arguments.length;s(t+n);for(var o=0;o<n;o++)e[t]=arguments[o],t++;return D(e,t),t}})},5509:function(u,e,t){"use strict";t(35709)("flat")},84283:function(u,e,t){"use strict";var n=t(40810),r=t(12360),i=t(13053),D=t(28174),s=t(48391),o=t(76577);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(u){return u instanceof TypeError}}()},{unshift:function(u){var e=r(this),t=i(e),n=arguments.length;if(n){o(t+n);for(var a=t;a--;){var l=a+n;a in e?e[l]=e[a]:s(e,l)}for(var c=0;c<n;c++)e[c]=arguments[c]}return D(e,t+n)}})},31526:function(u,e,t){"use strict";var n=t(40810),r=t(73994),i=t(63983),D=t(71998),s=t(4576);n({target:"Iterator",proto:!0,real:!0},{forEach:function(u){D(this),i(u);var e=s(this),t=0;r(e,(function(e){u(e,t++)}),{IS_RECORD:!0})}})},23669:function(u,e,t){"use strict";var n=t(40810),r=t(61632);n({global:!0,forced:parseInt!==r},{parseInt:r})},92519:function(u,e,t){"use strict";var n=t(40810),r=t(42568);n({target:"Set",proto:!0,real:!0,forced:!t(42099)("difference")},{difference:r})},42179:function(u,e,t){"use strict";var n=t(40810),r=t(29660),i=t(47332);n({target:"Set",proto:!0,real:!0,forced:!t(42099)("intersection")||r((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},89256:function(u,e,t){"use strict";var n=t(40810),r=t(19906);n({target:"Set",proto:!0,real:!0,forced:!t(42099)("isDisjointFrom")},{isDisjointFrom:r})},24931:function(u,e,t){"use strict";var n=t(40810),r=t(47151);n({target:"Set",proto:!0,real:!0,forced:!t(42099)("isSubsetOf")},{isSubsetOf:r})},88463:function(u,e,t){"use strict";var n=t(40810),r=t(61322);n({target:"Set",proto:!0,real:!0,forced:!t(42099)("isSupersetOf")},{isSupersetOf:r})},57449:function(u,e,t){"use strict";var n=t(40810),r=t(52619);n({target:"Set",proto:!0,real:!0,forced:!t(42099)("symmetricDifference")},{symmetricDifference:r})},19814:function(u,e,t){"use strict";var n=t(40810),r=t(5561);n({target:"Set",proto:!0,real:!0,forced:!t(42099)("union")},{union:r})},96829:function(u,e,t){"use strict";var n=t(40810),r=t(72878),i=t(95011),D=t(88045),s=t(72616),o=t(29660),a=r("".charAt);n({target:"String",proto:!0,forced:o((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(u){var e=s(i(this)),t=e.length,n=D(u),r=n>=0?n:t+n;return r<0||r>=t?void 0:a(e,r)}})},44495:function(u,e,t){"use strict";var n=t(97934),r=t(13818),i=t(71998),D=t(56737),s=t(82065),o=t(72616),a=t(95011),l=t(22861),c=t(41848),F=t(3182);r("match",(function(u,e,t){return[function(e){var t=a(this),r=D(e)?void 0:l(e,u);return r?n(r,e,t):new RegExp(e)[u](o(t))},function(u){var n=i(this),r=o(u),D=t(e,n,r);if(D.done)return D.value;if(!n.global)return F(n,r);var a=n.unicode;n.lastIndex=0;for(var l,h=[],p=0;null!==(l=F(n,r));){var E=o(l[0]);h[p]=E,""===E&&(n.lastIndex=c(r,s(n.lastIndex),a)),p++}return 0===p?null:h}]}))},47706:function(u,e,t){"use strict";var n=t(97934),r=t(13818),i=t(71998),D=t(56737),s=t(95011),o=t(86806),a=t(72616),l=t(22861),c=t(3182);r("search",(function(u,e,t){return[function(e){var t=s(this),r=D(e)?void 0:l(e,u);return r?n(r,e,t):new RegExp(e)[u](a(t))},function(u){var n=i(this),r=a(u),D=t(e,n,r);if(D.done)return D.value;var s=n.lastIndex;o(s,0)||(n.lastIndex=0);var l=c(n,r);return o(n.lastIndex,s)||(n.lastIndex=s),null===l?-1:l.index}]}))},32114:function(u,e,t){"use strict";var n=t(97934),r=t(72878),i=t(13818),D=t(71998),s=t(56737),o=t(95011),a=t(16593),l=t(41848),c=t(82065),F=t(72616),h=t(22861),p=t(3182),E=t(24968),C=t(29660),f=E.UNSUPPORTED_Y,A=Math.min,g=r([].push),d=r("".slice),B=!C((function(){var u=/(?:)/,e=u.exec;u.exec=function(){return e.apply(this,arguments)};var t="ab".split(u);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),k="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(u,e,t){var r="0".split(void 0,0).length?function(u,t){return void 0===u&&0===t?[]:n(e,this,u,t)}:e;return[function(e,t){var i=o(this),D=s(e)?void 0:h(e,u);return D?n(D,e,i,t):n(r,F(i),e,t)},function(u,n){var i=D(this),s=F(u);if(!k){var o=t(r,i,s,n,r!==e);if(o.done)return o.value}var h=a(i,RegExp),E=i.unicode,C=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(f?"g":"y"),B=new h(f?"^(?:"+i.source+")":i,C),x=void 0===n?4294967295:n>>>0;if(0===x)return[];if(0===s.length)return null===p(B,s)?[s]:[];for(var b=0,m=0,w=[];m<s.length;){B.lastIndex=f?0:m;var v,y=p(B,f?d(s,m):s);if(null===y||(v=A(c(B.lastIndex+(f?m:0)),s.length))===b)m=l(s,m,E);else{if(g(w,d(s,b,m)),w.length===x)return w;for(var S=1;S<=y.length-1;S++)if(g(w,y[S]),w.length===x)return w;m=b=v}}return g(w,d(s,b)),w}]}),k||!B,f)},52128:function(u,e,t){"use strict";t(85284);var n=t(40810),r=t(72183);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},92338:function(u,e,t){"use strict";var n=t(40810),r=t(93396);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},85284:function(u,e,t){"use strict";var n=t(40810),r=t(72183);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},96822:function(u,e,t){"use strict";t(92338);var n=t(40810),r=t(93396);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},81804:function(u,e,t){"use strict";var n=t(40810),r=t(36888).trim;n({target:"String",proto:!0,forced:t(37588)("trim")},{trim:function(){return r(this)}})},41360:function(u,e,t){"use strict";t(31526)},68289:function(u,e,t){"use strict";var n=t(40810),r=t(1569),i=t(27803),D=t(85779),s=TypeError,o=Object.defineProperty,a=r.self!==r;try{if(D){var l=Object.getOwnPropertyDescriptor(r,"self");!a&&l&&l.get&&l.enumerable||i(r,"self",{get:function(){return r},set:function(u){if(this!==r)throw new s("Illegal invocation");o(r,"self",{value:u,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:a},{self:r})}catch(c){}},43768:function(u,e,t){"use strict";t.d(e,{TU:function(){return su}});t(52247),t(63434),t(28457),t(19083),t(71695),t(92745),t(5509),t(84283),t(19423),t(40251),t(69235),t(12385),t(19134),t(5740),t(11740),t(92519),t(42179),t(89256),t(24931),t(88463),t(57449),t(19814),t(96829),t(61006),t(44495),t(97003),t(47706),t(32114),t(81804),t(52128),t(96822),t(39527),t(99790),t(41360),t(13334),t(36993),t(47021);function n(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let r={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function i(u){r=u}const D={exec:()=>null};function s(u,e=""){let t="string"==typeof u?u:u.source;const n={replace:(u,e)=>{let r="string"==typeof e?e:e.source;return r=r.replace(o.caret,"$1"),t=t.replace(u,r),n},getRegex:()=>new RegExp(t,e)};return n}const o={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/(?:[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\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\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-\u1711\u171F-\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-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\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-\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-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\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\u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AA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\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\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC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E6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:u=>new RegExp(`^( {0,3}${u})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:u=>new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:u=>new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:u=>new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:u=>new RegExp(`^ {0,${Math.min(3,u-1)}}#`),htmlBeginRegex:u=>new RegExp(`^ {0,${Math.min(3,u-1)}}<(?:[a-z].*>|!--)`,"i")},a=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,l=/(?:[*+-]|\d{1,9}[.)])/,c=s(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,l).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),F=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,h=/(?!\s*\])(?:\\.|[^\[\]\\])+/,p=s(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",h).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),E=s(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,l).getRegex(),C="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|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",f=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,A=s("^ {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[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",f).replace("tag",C).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),g=s(F).replace("hr",a).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C).getRegex(),d={blockquote:s(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",g).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:p,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:a,html:A,lheading:c,list:E,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:g,table:D,text:/^[^\n]+/},B=s("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",a).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\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",C).getRegex(),k=Object.assign(Object.assign({},d),{},{table:B,paragraph:s(F).replace("hr",a).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",B).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",C).getRegex()}),x=Object.assign(Object.assign({},d),{},{html:s("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",f).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:D,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:s(F).replace("hr",a).replace("heading"," *#{1,6} *[^\n]").replace("lheading",c).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),b=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,m=/^( {2,}|\\)\n(?!\s*$)/,w=/(?:[!-\/:-@\[-`\{-~\xA1-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2010-\u2027\u2030-\u205E\u207A-\u207E\u208A-\u208E\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBC2\uFD3E-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\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uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF])/,v=/(?:[\t-\r -\/:-@\[-`\{-~\xA0-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2000-\u200A\u2010-\u2029\u202F-\u205F\u207A-\u207E\u208A-\u208E\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA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-\u03F5\u03F7-\u0481\u0483-\u0559\u0560-\u0588\u058B\u058C\u0590-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05F2\u05F5-\u0605\u0610-\u061A\u061C\u0620-\u0669\u066E-\u06D3\u06D5-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF\u070E-\u07F5\u07FA-\u07FD\u0800-\u082F\u083F-\u085D\u085F-\u0887\u0889-\u0963\u0966-\u096F\u0971-\u09F1\u09F4-\u09F9\u09FC\u09FE-\u0A75\u0A77-\u0AEF\u0AF2-\u0B6F\u0B71-\u0BF2\u0BFB-\u0C76\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0D4E\u0D50-\u0D78\u0D7A-\u0DF3\u0DF5-\u0E3E\u0E40-\u0E4E\u0E50-\u0E59\u0E5C-\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F84\u0F86-\u0FBD\u0FC6\u0FCD\u0FDB-\u1049\u1050-\u109D\u10A0-\u10FA\u10FC-\u135F\u1369-\u138F\u139A-\u13FF\u1401-\u166C\u166F-\u167F\u1681-\u169A\u169D-\u16EA\u16EE-\u1734\u1737-\u17D3\u17D7\u17DC-\u17FF\u180B-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A1D\u1A20-\u1A9F\u1AA7\u1AAE-\u1B4D\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BFB\u1C00-\u1C3A\u1C40-\u1C7D\u1C80-\u1CBF\u1CC8-\u1CD2\u1CD4-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u2079\u207F-\u2089\u208F-\u209F\u20C1-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u218C-\u218F\u242A-\u243F\u244B-\u249B\u24EA-\u24FF\u2776-\u2793\u2B74\u2B75\u2B96\u2C00-\u2CE4\u2CEB-\u2CF8\u2CFD\u2D00-\u2D6F\u2D71-\u2DFF\u2E2F\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3040-\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u318F\u3192-\u3195\u31A0-\u31BF\u31E6-\u31EE\u31F0-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA4FD\uA500-\uA60C\uA610-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA6F8-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uA873\uA878-\uA8CD\uA8D0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA95E\uA960-\uA9C0\uA9CE-\uA9DD\uA9E0-\uAA5B\uAA60-\uAA76\uAA7A-\uAADD\uAAE0-\uAAEF\uAAF2-\uAB5A\uAB5C-\uAB69\uAB6C-\uABEA\uABEC-\uD7FF\uE000-\uFB28\uFB2A-\uFBB1\uFBC3-\uFD3D\uFD50-\uFDCE\uFDD0-\uFDFB\uFE00-\uFE0F\uFE1A-\uFE2F\uFE53\uFE67\uFE6C-\uFEFE\uFF00\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDCFF\uDD03-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDF9E\uDFA0-\uDFCF\uDFD1-\uDFFF]|\uD801[\uDC00-\uDD6E\uDD70-\uDFFF]|\uD802[\uDC00-\uDC56\uDC58-\uDC76\uDC79-\uDD1E\uDD20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punctSpace/g,v).getRegex(),T=s(/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,"u").replace(/punct/g,w).getRegex(),$=s("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,y).replace(/punctSpace/g,v).replace(/punct/g,w).getRegex(),R=s("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,y).replace(/punctSpace/g,v).replace(/punct/g,w).getRegex(),z=s(/\\(punct)/,"gu").replace(/punct/g,w).getRegex(),I=s(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("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])?)+(?![-_])/).getRegex(),O=s(f).replace("(?:--\x3e|$)","--\x3e").getRegex(),_=s("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",O).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),L=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,j=s(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",L).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),P=s(/^!?\[(label)\]\[(ref)\]/).replace("label",L).replace("ref",h).getRegex(),q=s(/^!?\[(ref)\](?:\[\])?/).replace("ref",h).getRegex(),Z={_backpedal:D,anyPunctuation:z,autolink:I,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:m,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:D,emStrongLDelim:T,emStrongRDelimAst:$,emStrongRDelimUnd:R,escape:b,link:j,nolink:q,punctuation:S,reflink:P,reflinkSearch:s("reflink|nolink(?!\\()","g").replace("reflink",P).replace("nolink",q).getRegex(),tag:_,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:D},H=Object.assign(Object.assign({},Z),{},{link:s(/^!?\[(label)\]\((.*?)\)/).replace("label",L).getRegex(),reflink:s(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",L).getRegex()}),M=Object.assign(Object.assign({},Z),{},{escape:s(b).replace("])","~|])").getRegex(),url:s(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Q=Object.assign(Object.assign({},M),{},{br:s(m).replace("{2,}","*").getRegex(),text:s(M.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),N={normal:d,gfm:k,pedantic:x},V={normal:Z,gfm:M,breaks:Q,pedantic:H},W={"&":"&","<":"<",">":">",'"':""","'":"'"},G=u=>W[u];function X(u,e){if(e){if(o.escapeTest.test(u))return u.replace(o.escapeReplace,G)}else if(o.escapeTestNoEncode.test(u))return u.replace(o.escapeReplaceNoEncode,G);return u}function U(u){try{u=encodeURI(u).replace(o.percentDecode,"%")}catch(e){return null}return u}function Y(u,e){var t;const n=u.replace(o.findPipe,((u,e,t)=>{let n=!1,r=e;for(;--r>=0&&"\\"===t[r];)n=!n;return n?"|":" |"})).split(o.splitPipe);let r=0;if(n[0].trim()||n.shift(),n.length>0&&(null===(t=n.at(-1))||void 0===t||!t.trim())&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(o.slashPipe,"|");return n}function J(u,e,t){const n=u.length;if(0===n)return"";let r=0;for(;r<n;){const i=u.charAt(n-r-1);if(i!==e||t){if(i===e||!t)break;r++}else r++}return u.slice(0,n-r)}function K(u,e,t,n,r){const i=e.href,D=e.title||null,s=u[1].replace(r.other.outputLinkReplace,"$1");if("!"!==u[0].charAt(0)){n.state.inLink=!0;const u={type:"link",raw:t,href:i,title:D,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,u}return{type:"image",raw:t,href:i,title:D,text:s}}class uu{constructor(u){this.options=void 0,this.rules=void 0,this.lexer=void 0,this.options=u||r}space(u){const e=this.rules.block.newline.exec(u);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(u){const e=this.rules.block.code.exec(u);if(e){const u=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?u:J(u,"\n")}}}fences(u){const e=this.rules.block.fences.exec(u);if(e){const u=e[0],t=function(u,e,t){const n=u.match(t.other.indentCodeCompensation);if(null===n)return e;const r=n[1];return e.split("\n").map((u=>{const e=u.match(t.other.beginningSpace);if(null===e)return u;const[n]=e;return n.length>=r.length?u.slice(r.length):u})).join("\n")}(u,e[3]||"",this.rules);return{type:"code",raw:u,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:t}}}heading(u){const e=this.rules.block.heading.exec(u);if(e){let u=e[2].trim();if(this.rules.other.endingHash.test(u)){const e=J(u,"#");this.options.pedantic?u=e.trim():e&&!this.rules.other.endingSpaceChar.test(e)||(u=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:u,tokens:this.lexer.inline(u)}}}hr(u){const e=this.rules.block.hr.exec(u);if(e)return{type:"hr",raw:J(e[0],"\n")}}blockquote(u){const e=this.rules.block.blockquote.exec(u);if(e){let u=J(e[0],"\n").split("\n"),t="",n="";const r=[];for(;u.length>0;){let e=!1;const i=[];let D;for(D=0;D<u.length;D++)if(this.rules.other.blockquoteStart.test(u[D]))i.push(u[D]),e=!0;else{if(e)break;i.push(u[D])}u=u.slice(D);const s=i.join("\n"),o=s.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");t=t?`${t}\n${s}`:s,n=n?`${n}\n${o}`:o;const a=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(o,r,!0),this.lexer.state.top=a,0===u.length)break;const l=r.at(-1);if("code"===(null==l?void 0:l.type))break;if("blockquote"===(null==l?void 0:l.type)){const e=l,i=e.raw+"\n"+u.join("\n"),D=this.blockquote(i);r[r.length-1]=D,t=t.substring(0,t.length-e.raw.length)+D.raw,n=n.substring(0,n.length-e.text.length)+D.text;break}if("list"!==(null==l?void 0:l.type));else{const e=l,i=e.raw+"\n"+u.join("\n"),D=this.list(i);r[r.length-1]=D,t=t.substring(0,t.length-l.raw.length)+D.raw,n=n.substring(0,n.length-e.raw.length)+D.raw,u=i.substring(r.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:t,tokens:r,text:n}}}list(u){let e=this.rules.block.list.exec(u);if(e){let t=e[1].trim();const n=t.length>1,r={type:"list",raw:"",ordered:n,start:n?+t.slice(0,-1):"",loose:!1,items:[]};t=n?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=n?t:"[*+-]");const i=this.rules.other.listItemRegex(t);let D=!1;for(;u;){let t=!1,n="",s="";if(!(e=i.exec(u)))break;if(this.rules.block.hr.test(u))break;n=e[0],u=u.substring(n.length);let o=e[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(u=>" ".repeat(3*u.length))),a=u.split("\n",1)[0],l=!o.trim(),c=0;if(this.options.pedantic?(c=2,s=o.trimStart()):l?c=e[1].length+1:(c=e[2].search(this.rules.other.nonSpaceChar),c=c>4?1:c,s=o.slice(c),c+=e[1].length),l&&this.rules.other.blankLine.test(a)&&(n+=a+"\n",u=u.substring(a.length+1),t=!0),!t){const e=this.rules.other.nextBulletRegex(c),t=this.rules.other.hrRegex(c),r=this.rules.other.fencesBeginRegex(c),i=this.rules.other.headingBeginRegex(c),D=this.rules.other.htmlBeginRegex(c);for(;u;){const F=u.split("\n",1)[0];let h;if(a=F,this.options.pedantic?(a=a.replace(this.rules.other.listReplaceNesting," "),h=a):h=a.replace(this.rules.other.tabCharGlobal," "),r.test(a))break;if(i.test(a))break;if(D.test(a))break;if(e.test(a))break;if(t.test(a))break;if(h.search(this.rules.other.nonSpaceChar)>=c||!a.trim())s+="\n"+h.slice(c);else{if(l)break;if(o.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4)break;if(r.test(o))break;if(i.test(o))break;if(t.test(o))break;s+="\n"+a}l||a.trim()||(l=!0),n+=F+"\n",u=u.substring(F.length+1),o=h.slice(c)}}r.loose||(D?r.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(D=!0));let F,h=null;this.options.gfm&&(h=this.rules.other.listIsTask.exec(s),h&&(F="[ ] "!==h[0],s=s.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:n,task:!!h,checked:F,loose:!1,text:s,tokens:[]}),r.raw+=n}const s=r.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),r.raw=r.raw.trimEnd();for(let u=0;u<r.items.length;u++)if(this.lexer.state.top=!1,r.items[u].tokens=this.lexer.blockTokens(r.items[u].text,[]),!r.loose){const e=r.items[u].tokens.filter((u=>"space"===u.type)),t=e.length>0&&e.some((u=>this.rules.other.anyLine.test(u.raw)));r.loose=t}if(r.loose)for(let u=0;u<r.items.length;u++)r.items[u].loose=!0;return r}}html(u){const e=this.rules.block.html.exec(u);if(e){return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}}def(u){const e=this.rules.block.def.exec(u);if(e){const u=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),t=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:u,raw:e[0],href:t,title:n}}}table(u){var e;const t=this.rules.block.table.exec(u);if(!t)return;if(!this.rules.other.tableDelimiter.test(t[2]))return;const n=Y(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=null!==(e=t[3])&&void 0!==e&&e.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],D={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const u of r)this.rules.other.tableAlignRight.test(u)?D.align.push("right"):this.rules.other.tableAlignCenter.test(u)?D.align.push("center"):this.rules.other.tableAlignLeft.test(u)?D.align.push("left"):D.align.push(null);for(let u=0;u<n.length;u++)D.header.push({text:n[u],tokens:this.lexer.inline(n[u]),header:!0,align:D.align[u]});for(const u of i)D.rows.push(Y(u,D.header.length).map(((u,e)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:D.align[e]}))));return D}}lheading(u){const e=this.rules.block.lheading.exec(u);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(u){const e=this.rules.block.paragraph.exec(u);if(e){const u="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:u,tokens:this.lexer.inline(u)}}}text(u){const e=this.rules.block.text.exec(u);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(u){const e=this.rules.inline.escape.exec(u);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(u){const e=this.rules.inline.tag.exec(u);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(u){const e=this.rules.inline.link.exec(u);if(e){const u=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(u)){if(!this.rules.other.endAngleBracket.test(u))return;const e=J(u.slice(0,-1),"\\");if((u.length-e.length)%2==0)return}else{const u=function(u,e){if(-1===u.indexOf(e[1]))return-1;let t=0;for(let n=0;n<u.length;n++)if("\\"===u[n])n++;else if(u[n]===e[0])t++;else if(u[n]===e[1]&&(t--,t<0))return n;return-1}(e[2],"()");if(u>-1){const t=(0===e[0].indexOf("!")?5:4)+e[1].length+u;e[2]=e[2].substring(0,u),e[0]=e[0].substring(0,t).trim(),e[3]=""}}let t=e[2],n="";if(this.options.pedantic){const u=this.rules.other.pedanticHrefTitle.exec(t);u&&(t=u[1],n=u[3])}else n=e[3]?e[3].slice(1,-1):"";return t=t.trim(),this.rules.other.startAngleBracket.test(t)&&(t=this.options.pedantic&&!this.rules.other.endAngleBracket.test(u)?t.slice(1):t.slice(1,-1)),K(e,{href:t?t.replace(this.rules.inline.anyPunctuation,"$1"):t,title:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n},e[0],this.lexer,this.rules)}}reflink(u,e){let t;if((t=this.rules.inline.reflink.exec(u))||(t=this.rules.inline.nolink.exec(u))){const u=e[(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!u){const u=t[0].charAt(0);return{type:"text",raw:u,text:u}}return K(t,u,t[0],this.lexer,this.rules)}}emStrong(u,e,t=""){let n=this.rules.inline.emStrongLDelim.exec(u);if(!n)return;if(n[3]&&t.match(this.rules.other.unicodeAlphaNumeric))return;if(!(n[1]||n[2]||"")||!t||this.rules.inline.punctuation.exec(t)){const t=[...n[0]].length-1;let r,i,D=t,s=0;const o="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(o.lastIndex=0,e=e.slice(-1*u.length+t);null!=(n=o.exec(e));){if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!r)continue;if(i=[...r].length,n[3]||n[4]){D+=i;continue}if((n[5]||n[6])&&t%3&&!((t+i)%3)){s+=i;continue}if(D-=i,D>0)continue;i=Math.min(i,i+D+s);const e=[...n[0]][0].length,o=u.slice(0,t+n.index+e+i);if(Math.min(t,i)%2){const u=o.slice(1,-1);return{type:"em",raw:o,text:u,tokens:this.lexer.inlineTokens(u)}}const a=o.slice(2,-2);return{type:"strong",raw:o,text:a,tokens:this.lexer.inlineTokens(a)}}}}codespan(u){const e=this.rules.inline.code.exec(u);if(e){let u=e[2].replace(this.rules.other.newLineCharGlobal," ");const t=this.rules.other.nonSpaceChar.test(u),n=this.rules.other.startingSpaceChar.test(u)&&this.rules.other.endingSpaceChar.test(u);return t&&n&&(u=u.substring(1,u.length-1)),{type:"codespan",raw:e[0],text:u}}}br(u){const e=this.rules.inline.br.exec(u);if(e)return{type:"br",raw:e[0]}}del(u){const e=this.rules.inline.del.exec(u);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(u){const e=this.rules.inline.autolink.exec(u);if(e){let u,t;return"@"===e[2]?(u=e[1],t="mailto:"+u):(u=e[1],t=u),{type:"link",raw:e[0],text:u,href:t,tokens:[{type:"text",raw:u,text:u}]}}}url(u){let e;if(e=this.rules.inline.url.exec(u)){let u,r;if("@"===e[2])u=e[0],r="mailto:"+u;else{let i;do{var t,n;i=e[0],e[0]=null!==(t=null===(n=this.rules.inline._backpedal.exec(e[0]))||void 0===n?void 0:n[0])&&void 0!==t?t:""}while(i!==e[0]);u=e[0],r="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:u,href:r,tokens:[{type:"text",raw:u,text:u}]}}}inlineText(u){const e=this.rules.inline.text.exec(u);if(e){const u=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:u}}}}class eu{constructor(u){this.tokens=void 0,this.options=void 0,this.state=void 0,this.tokenizer=void 0,this.inlineQueue=void 0,this.tokens=[],this.tokens.links=Object.create(null),this.options=u||r,this.options.tokenizer=this.options.tokenizer||new uu,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 e={other:o,block:N.normal,inline:V.normal};this.options.pedantic?(e.block=N.pedantic,e.inline=V.pedantic):this.options.gfm&&(e.block=N.gfm,this.options.breaks?e.inline=V.breaks:e.inline=V.gfm),this.tokenizer.rules=e}static get rules(){return{block:N,inline:V}}static lex(u,e){return new eu(e).lex(u)}static lexInline(u,e){return new eu(e).inlineTokens(u)}lex(u){u=u.replace(o.carriageReturn,"\n"),this.blockTokens(u,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const u=this.inlineQueue[e];this.inlineTokens(u.src,u.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(u,e=[],t=!1){for(this.options.pedantic&&(u=u.replace(o.tabCharGlobal," ").replace(o.spaceLine,""));u;){var n,r;let i;if(null!==(n=this.options.extensions)&&void 0!==n&&null!==(n=n.block)&&void 0!==n&&n.some((t=>!!(i=t.call({lexer:this},u,e))&&(u=u.substring(i.raw.length),e.push(i),!0))))continue;if(i=this.tokenizer.space(u)){u=u.substring(i.raw.length);const t=e.at(-1);1===i.raw.length&&void 0!==t?t.raw+="\n":e.push(i);continue}if(i=this.tokenizer.code(u)){u=u.substring(i.raw.length);const t=e.at(-1);"paragraph"===(null==t?void 0:t.type)||"text"===(null==t?void 0:t.type)?(t.raw+="\n"+i.raw,t.text+="\n"+i.text,this.inlineQueue.at(-1).src=t.text):e.push(i);continue}if(i=this.tokenizer.fences(u)){u=u.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.heading(u)){u=u.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.hr(u)){u=u.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.blockquote(u)){u=u.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.list(u)){u=u.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.html(u)){u=u.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.def(u)){u=u.substring(i.raw.length);const t=e.at(-1);"paragraph"===(null==t?void 0:t.type)||"text"===(null==t?void 0:t.type)?(t.raw+="\n"+i.raw,t.text+="\n"+i.raw,this.inlineQueue.at(-1).src=t.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(u)){u=u.substring(i.raw.length),e.push(i);continue}if(i=this.tokenizer.lheading(u)){u=u.substring(i.raw.length),e.push(i);continue}let D=u;if(null!==(r=this.options.extensions)&&void 0!==r&&r.startBlock){let e=1/0;const t=u.slice(1);let n;this.options.extensions.startBlock.forEach((u=>{n=u.call({lexer:this},t),"number"==typeof n&&n>=0&&(e=Math.min(e,n))})),e<1/0&&e>=0&&(D=u.substring(0,e+1))}if(this.state.top&&(i=this.tokenizer.paragraph(D))){const n=e.at(-1);t&&"paragraph"===(null==n?void 0:n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):e.push(i),t=D.length!==u.length,u=u.substring(i.raw.length)}else if(i=this.tokenizer.text(u)){u=u.substring(i.raw.length);const t=e.at(-1);"text"===(null==t?void 0:t.type)?(t.raw+="\n"+i.raw,t.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=t.text):e.push(i)}else if(u){const e="Infinite loop on byte: "+u.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return this.state.top=!0,e}inline(u,e=[]){return this.inlineQueue.push({src:u,tokens:e}),e}inlineTokens(u,e=[]){let t=u,n=null;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;null!=(n=this.tokenizer.rules.inline.reflinkSearch.exec(t));)u.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(t=t.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+t.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(n=this.tokenizer.rules.inline.blockSkip.exec(t));)t=t.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+t.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(n=this.tokenizer.rules.inline.anyPunctuation.exec(t));)t=t.slice(0,n.index)+"++"+t.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let r=!1,i="";for(;u;){var D,s;let n;if(r||(i=""),r=!1,null!==(D=this.options.extensions)&&void 0!==D&&null!==(D=D.inline)&&void 0!==D&&D.some((t=>!!(n=t.call({lexer:this},u,e))&&(u=u.substring(n.raw.length),e.push(n),!0))))continue;if(n=this.tokenizer.escape(u)){u=u.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.tag(u)){u=u.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.link(u)){u=u.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.reflink(u,this.tokens.links)){u=u.substring(n.raw.length);const t=e.at(-1);"text"===n.type&&"text"===(null==t?void 0:t.type)?(t.raw+=n.raw,t.text+=n.text):e.push(n);continue}if(n=this.tokenizer.emStrong(u,t,i)){u=u.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.codespan(u)){u=u.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.br(u)){u=u.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.del(u)){u=u.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.autolink(u)){u=u.substring(n.raw.length),e.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(u))){u=u.substring(n.raw.length),e.push(n);continue}let o=u;if(null!==(s=this.options.extensions)&&void 0!==s&&s.startInline){let e=1/0;const t=u.slice(1);let n;this.options.extensions.startInline.forEach((u=>{n=u.call({lexer:this},t),"number"==typeof n&&n>=0&&(e=Math.min(e,n))})),e<1/0&&e>=0&&(o=u.substring(0,e+1))}if(n=this.tokenizer.inlineText(o)){u=u.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(i=n.raw.slice(-1)),r=!0;const t=e.at(-1);"text"===(null==t?void 0:t.type)?(t.raw+=n.raw,t.text+=n.text):e.push(n)}else if(u){const e="Infinite loop on byte: "+u.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return e}}class tu{constructor(u){this.options=void 0,this.parser=void 0,this.options=u||r}space(u){return""}code({text:u,lang:e,escaped:t}){var n;const r=null===(n=(e||"").match(o.notSpaceStart))||void 0===n?void 0:n[0],i=u.replace(o.endingNewline,"")+"\n";return r?'<pre><code class="language-'+X(r)+'">'+(t?i:X(i,!0))+"</code></pre>\n":"<pre><code>"+(t?i:X(i,!0))+"</code></pre>\n"}blockquote({tokens:u}){return`<blockquote>\n${this.parser.parse(u)}</blockquote>\n`}html({text:u}){return u}heading({tokens:u,depth:e}){return`<h${e}>${this.parser.parseInline(u)}</h${e}>\n`}hr(u){return"<hr>\n"}list(u){const e=u.ordered,t=u.start;let n="";for(let i=0;i<u.items.length;i++){const e=u.items[i];n+=this.listitem(e)}const r=e?"ol":"ul";return"<"+r+(e&&1!==t?' start="'+t+'"':"")+">\n"+n+"</"+r+">\n"}listitem(u){let e="";if(u.task){const n=this.checkbox({checked:!!u.checked});var t;if(u.loose)"paragraph"===(null===(t=u.tokens[0])||void 0===t?void 0:t.type)?(u.tokens[0].text=n+" "+u.tokens[0].text,u.tokens[0].tokens&&u.tokens[0].tokens.length>0&&"text"===u.tokens[0].tokens[0].type&&(u.tokens[0].tokens[0].text=n+" "+X(u.tokens[0].tokens[0].text),u.tokens[0].tokens[0].escaped=!0)):u.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0});else e+=n+" "}return e+=this.parser.parse(u.tokens,!!u.loose),`<li>${e}</li>\n`}checkbox({checked:u}){return"<input "+(u?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:u}){return`<p>${this.parser.parseInline(u)}</p>\n`}table(u){let e="",t="";for(let r=0;r<u.header.length;r++)t+=this.tablecell(u.header[r]);e+=this.tablerow({text:t});let n="";for(let r=0;r<u.rows.length;r++){const e=u.rows[r];t="";for(let u=0;u<e.length;u++)t+=this.tablecell(e[u]);n+=this.tablerow({text:t})}return n&&(n=`<tbody>${n}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+n+"</table>\n"}tablerow({text:u}){return`<tr>\n${u}</tr>\n`}tablecell(u){const e=this.parser.parseInline(u.tokens),t=u.header?"th":"td";return(u.align?`<${t} align="${u.align}">`:`<${t}>`)+e+`</${t}>\n`}strong({tokens:u}){return`<strong>${this.parser.parseInline(u)}</strong>`}em({tokens:u}){return`<em>${this.parser.parseInline(u)}</em>`}codespan({text:u}){return`<code>${X(u,!0)}</code>`}br(u){return"<br>"}del({tokens:u}){return`<del>${this.parser.parseInline(u)}</del>`}link({href:u,title:e,tokens:t}){const n=this.parser.parseInline(t),r=U(u);if(null===r)return n;let i='<a href="'+(u=r)+'"';return e&&(i+=' title="'+X(e)+'"'),i+=">"+n+"</a>",i}image({href:u,title:e,text:t}){const n=U(u);if(null===n)return X(t);let r=`<img src="${u=n}" alt="${t}"`;return e&&(r+=` title="${X(e)}"`),r+=">",r}text(u){return"tokens"in u&&u.tokens?this.parser.parseInline(u.tokens):"escaped"in u&&u.escaped?u.text:X(u.text)}}class nu{strong({text:u}){return u}em({text:u}){return u}codespan({text:u}){return u}del({text:u}){return u}html({text:u}){return u}text({text:u}){return u}link({text:u}){return""+u}image({text:u}){return""+u}br(){return""}}class ru{constructor(u){this.options=void 0,this.renderer=void 0,this.textRenderer=void 0,this.options=u||r,this.options.renderer=this.options.renderer||new tu,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new nu}static parse(u,e){return new ru(e).parse(u)}static parseInline(u,e){return new ru(e).parseInline(u)}parse(u,e=!0){let t="";for(let r=0;r<u.length;r++){var n;const i=u[r];if(null!==(n=this.options.extensions)&&void 0!==n&&null!==(n=n.renderers)&&void 0!==n&&n[i.type]){const u=i,e=this.options.extensions.renderers[u.type].call({parser:this},u);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(u.type)){t+=e||"";continue}}const D=i;switch(D.type){case"space":t+=this.renderer.space(D);continue;case"hr":t+=this.renderer.hr(D);continue;case"heading":t+=this.renderer.heading(D);continue;case"code":t+=this.renderer.code(D);continue;case"table":t+=this.renderer.table(D);continue;case"blockquote":t+=this.renderer.blockquote(D);continue;case"list":t+=this.renderer.list(D);continue;case"html":t+=this.renderer.html(D);continue;case"paragraph":t+=this.renderer.paragraph(D);continue;case"text":{let n=D,i=this.renderer.text(n);for(;r+1<u.length&&"text"===u[r+1].type;)n=u[++r],i+="\n"+this.renderer.text(n);t+=e?this.renderer.paragraph({type:"paragraph",raw:i,text:i,tokens:[{type:"text",raw:i,text:i,escaped:!0}]}):i;continue}default:{const u='Token with "'+D.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return t}parseInline(u,e=this.renderer){let t="";for(let r=0;r<u.length;r++){var n;const i=u[r];if(null!==(n=this.options.extensions)&&void 0!==n&&null!==(n=n.renderers)&&void 0!==n&&n[i.type]){const u=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==u||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){t+=u||"";continue}}const D=i;switch(D.type){case"escape":case"text":t+=e.text(D);break;case"html":t+=e.html(D);break;case"link":t+=e.link(D);break;case"image":t+=e.image(D);break;case"strong":t+=e.strong(D);break;case"em":t+=e.em(D);break;case"codespan":t+=e.codespan(D);break;case"br":t+=e.br(D);break;case"del":t+=e.del(D);break;default:{const u='Token with "'+D.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return t}}class iu{constructor(u){this.options=void 0,this.block=void 0,this.options=u||r}preprocess(u){return u}postprocess(u){return u}processAllTokens(u){return u}provideLexer(){return this.block?eu.lex:eu.lexInline}provideParser(){return this.block?ru.parse:ru.parseInline}}iu.passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);const Du=new class{constructor(...u){this.defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null},this.options=this.setOptions,this.parse=this.parseMarkdown(!0),this.parseInline=this.parseMarkdown(!1),this.Parser=ru,this.Renderer=tu,this.TextRenderer=nu,this.Lexer=eu,this.Tokenizer=uu,this.Hooks=iu,this.use(...u)}walkTokens(u,e){let t=[];for(const r of u)switch(t=t.concat(e.call(this,r)),r.type){case"table":{const u=r;for(const n of u.header)t=t.concat(this.walkTokens(n.tokens,e));for(const n of u.rows)for(const u of n)t=t.concat(this.walkTokens(u.tokens,e));break}case"list":{const u=r;t=t.concat(this.walkTokens(u.items,e));break}default:{var n;const u=r;null!==(n=this.defaults.extensions)&&void 0!==n&&null!==(n=n.childTokens)&&void 0!==n&&n[u.type]?this.defaults.extensions.childTokens[u.type].forEach((n=>{const r=u[n].flat(1/0);t=t.concat(this.walkTokens(r,e))})):u.tokens&&(t=t.concat(this.walkTokens(u.tokens,e)))}}return t}use(...u){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return u.forEach((u=>{const t=Object.assign({},u);if(t.async=this.defaults.async||t.async||!1,u.extensions&&(u.extensions.forEach((u=>{if(!u.name)throw new Error("extension name required");if("renderer"in u){const t=e.renderers[u.name];e.renderers[u.name]=t?function(...e){let n=u.renderer.apply(this,e);return!1===n&&(n=t.apply(this,e)),n}:u.renderer}if("tokenizer"in u){if(!u.level||"block"!==u.level&&"inline"!==u.level)throw new Error("extension level must be 'block' or 'inline'");const t=e[u.level];t?t.unshift(u.tokenizer):e[u.level]=[u.tokenizer],u.start&&("block"===u.level?e.startBlock?e.startBlock.push(u.start):e.startBlock=[u.start]:"inline"===u.level&&(e.startInline?e.startInline.push(u.start):e.startInline=[u.start]))}"childTokens"in u&&u.childTokens&&(e.childTokens[u.name]=u.childTokens)})),t.extensions=e),u.renderer){const e=this.defaults.renderer||new tu(this.defaults);for(const t in u.renderer){if(!(t in e))throw new Error(`renderer '${t}' does not exist`);if(["options","parser"].includes(t))continue;const n=t,r=u.renderer[n],i=e[n];e[n]=(...u)=>{let t=r.apply(e,u);return!1===t&&(t=i.apply(e,u)),t||""}}t.renderer=e}if(u.tokenizer){const e=this.defaults.tokenizer||new uu(this.defaults);for(const t in u.tokenizer){if(!(t in e))throw new Error(`tokenizer '${t}' does not exist`);if(["options","rules","lexer"].includes(t))continue;const n=t,r=u.tokenizer[n],i=e[n];e[n]=(...u)=>{let t=r.apply(e,u);return!1===t&&(t=i.apply(e,u)),t}}t.tokenizer=e}if(u.hooks){const e=this.defaults.hooks||new iu;for(const t in u.hooks){if(!(t in e))throw new Error(`hook '${t}' does not exist`);if(["options","block"].includes(t))continue;const n=t,r=u.hooks[n],i=e[n];iu.passThroughHooks.has(t)?e[n]=u=>{if(this.defaults.async)return Promise.resolve(r.call(e,u)).then((u=>i.call(e,u)));const t=r.call(e,u);return i.call(e,t)}:e[n]=(...u)=>{let t=r.apply(e,u);return!1===t&&(t=i.apply(e,u)),t}}t.hooks=e}if(u.walkTokens){const e=this.defaults.walkTokens,n=u.walkTokens;t.walkTokens=function(u){let t=[];return t.push(n.call(this,u)),e&&(t=t.concat(e.call(this,u))),t}}this.defaults=Object.assign(Object.assign({},this.defaults),t)})),this}setOptions(u){return this.defaults=Object.assign(Object.assign({},this.defaults),u),this}lexer(u,e){return eu.lex(u,null!=e?e:this.defaults)}parser(u,e){return ru.parse(u,null!=e?e:this.defaults)}parseMarkdown(u){return(e,t)=>{const n=Object.assign({},t),r=Object.assign(Object.assign({},this.defaults),n),i=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===n.async)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(null==e)return i(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=u);const D=r.hooks?r.hooks.provideLexer():u?eu.lex:eu.lexInline,s=r.hooks?r.hooks.provideParser():u?ru.parse:ru.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(e):e).then((u=>D(u,r))).then((u=>r.hooks?r.hooks.processAllTokens(u):u)).then((u=>r.walkTokens?Promise.all(this.walkTokens(u,r.walkTokens)).then((()=>u)):u)).then((u=>s(u,r))).then((u=>r.hooks?r.hooks.postprocess(u):u)).catch(i);try{r.hooks&&(e=r.hooks.preprocess(e));let u=D(e,r);r.hooks&&(u=r.hooks.processAllTokens(u)),r.walkTokens&&this.walkTokens(u,r.walkTokens);let t=s(u,r);return r.hooks&&(t=r.hooks.postprocess(t)),t}catch(o){return i(o)}}}onError(u,e){return t=>{if(t.message+="\nPlease report this to https://github.com/markedjs/marked.",u){const u="<p>An error occurred:</p><pre>"+X(t.message+"",!0)+"</pre>";return e?Promise.resolve(u):u}if(e)return Promise.reject(t);throw t}}};function su(u,e){return Du.parse(u,e)}su.options=su.setOptions=function(u){return Du.setOptions(u),su.defaults=Du.defaults,i(su.defaults),su},su.getDefaults=n,su.defaults=r,su.use=function(...u){return Du.use(...u),su.defaults=Du.defaults,i(su.defaults),su},su.walkTokens=function(u,e){return Du.walkTokens(u,e)},su.parseInline=Du.parseInline,su.Parser=ru,su.parser=ru.parse,su.Renderer=tu,su.TextRenderer=nu,su.Lexer=eu,su.lexer=eu.lex,su.Tokenizer=uu,su.Hooks=iu,su.parse=su;su.options,su.setOptions,su.use,su.walkTokens,su.parseInline,ru.parse,eu.lex}}]);
|
||
//# sourceMappingURL=4176.55aa49d5946ee430.js.map
|