diff --git a/13-5e0bed9e9fd278ee8372-27.js b/13-5e0bed9e9fd278ee8372-27.js deleted file mode 100644 index 42922742..00000000 --- a/13-5e0bed9e9fd278ee8372-27.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{"qYH+":function(e,t,n){"use strict";var l;n.r(t),n.d(t,"parse",(function(){return parse})),n.d(t,"Syntax",(function(){return r})),function(e){e.Document="Document",e.DocumentExit="Document:exit",e.Paragraph="Paragraph",e.ParagraphExit="Paragraph:exit",e.BlockQuote="BlockQuote",e.BlockQuoteExit="BlockQuote:exit",e.ListItem="ListItem",e.ListItemExit="ListItem:exit",e.List="List",e.ListExit="List:exit",e.Header="Header",e.HeaderExit="Header:exit",e.CodeBlock="CodeBlock",e.CodeBlockExit="CodeBlock:exit",e.HtmlBlock="HtmlBlock",e.HtmlBlockExit="HtmlBlock:exit",e.HorizontalRule="HorizontalRule",e.HorizontalRuleExit="HorizontalRule:exit",e.Comment="Comment",e.CommentExit="Comment:exit",e.ReferenceDef="ReferenceDef",e.ReferenceDefExit="ReferenceDef:exit",e.Str="Str",e.StrExit="Str:exit",e.Break="Break",e.BreakExit="Break:exit",e.Emphasis="Emphasis",e.EmphasisExit="Emphasis:exit",e.Strong="Strong",e.StrongExit="Strong:exit",e.Html="Html",e.HtmlExit="Html:exit",e.Link="Link",e.LinkExit="Link:exit",e.Image="Image",e.ImageExit="Image:exit",e.Code="Code",e.CodeExit="Code:exit",e.Delete="Delete",e.DeleteExit="Delete:exit",e.Table="Table",e.TableExit="Table:exit",e.TableRow="TableRow",e.TableRowExit="TableRow:exit",e.TableCell="TableCell",e.TableCellExit="TableCell:exit"}(l||(l={}));const r={Document:l.Document,Paragraph:l.Paragraph,Str:l.Str,Break:l.Break};function parse(e){const t=function splitTextByLine(e){const t=/\r?\n/g,n=[];let l=null,r=0;for(;null!==(l=t.exec(e));){const t=e.slice(r,l.index);n.push({text:r===l.index?"":t,lineBreak:l[0]}),r=l.index+l[0].length}return e.length!==r&&n.push({text:e.slice(r,e.length),lineBreak:null}),n}(e);let n=0;const l=t.length-1,i=t.reduce((function(e,t,i){const o=i+1;if(((e,t)=>t===l&&""===e.text)(t,i))return e;if(((e,t)=>t!==l&&""===e.text)(t,i)){const l=function createBRNode({lineBreak:e,lineNumber:t,startIndex:n}){return{type:r.Break,raw:e,range:[n,n+e.length],loc:{start:{line:t,column:0},end:{line:t,column:e.length}}}}({lineBreak:t.lineBreak,lineNumber:o,startIndex:n});return n+=l.raw.length,e.push(l),e}const a=function createParagraph(e){const t=e[0],n=e[e.length-1];return{type:r.Paragraph,raw:e.map((function(e){return e.raw})).join(""),range:[t.range[0],n.range[1]],loc:{start:{line:t.loc.start.line,column:t.loc.start.column},end:{line:n.loc.end.line,column:n.loc.end.column}},children:e}}([function parseLine(e,t,n){return{type:r.Str,raw:e,value:e,range:[n,n+e.length],loc:{start:{line:t,column:0},end:{line:t,column:e.length}}}}(t.text,o,n)]);if(n+=a.raw.length,e.push(a),null!==t.lineBreak){const l=function createEndedBRNode({prevNode:e,lineBreakText:t}){return{type:r.Break,raw:t,range:[e.range[1],e.range[1]+t.length],loc:{start:{line:e.loc.end.line,column:e.loc.end.column},end:{line:e.loc.end.line,column:e.loc.end.column+t.length}}}}({prevNode:a,lineBreakText:t.lineBreak});n+=l.raw.length,e.push(l)}return e}),[]),o=t[t.length-1];return void 0===o?{type:r.Document,raw:"",range:[0,0],loc:{start:{line:1,column:0},end:{line:1,column:0}},children:i}:{type:r.Document,raw:e,range:[0,e.length],loc:{start:{line:1,column:0},end:null!==o.lineBreak?{line:t.length+1,column:0}:{line:t.length,column:o.text.length}},children:i}}}}]); \ No newline at end of file diff --git a/13-b1558b7e3dde3027e00f-27.js b/13-b1558b7e3dde3027e00f-27.js new file mode 100644 index 00000000..254e3a87 --- /dev/null +++ b/13-b1558b7e3dde3027e00f-27.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{lr8r:function(e,t,n){"use strict";var l;n.d(t,"a",(function(){return l})),function(e){e.Document="Document",e.DocumentExit="Document:exit",e.Paragraph="Paragraph",e.ParagraphExit="Paragraph:exit",e.BlockQuote="BlockQuote",e.BlockQuoteExit="BlockQuote:exit",e.ListItem="ListItem",e.ListItemExit="ListItem:exit",e.List="List",e.ListExit="List:exit",e.Header="Header",e.HeaderExit="Header:exit",e.CodeBlock="CodeBlock",e.CodeBlockExit="CodeBlock:exit",e.HtmlBlock="HtmlBlock",e.HtmlBlockExit="HtmlBlock:exit",e.HorizontalRule="HorizontalRule",e.HorizontalRuleExit="HorizontalRule:exit",e.Comment="Comment",e.CommentExit="Comment:exit",e.ReferenceDef="ReferenceDef",e.ReferenceDefExit="ReferenceDef:exit",e.Str="Str",e.StrExit="Str:exit",e.Break="Break",e.BreakExit="Break:exit",e.Emphasis="Emphasis",e.EmphasisExit="Emphasis:exit",e.Strong="Strong",e.StrongExit="Strong:exit",e.Html="Html",e.HtmlExit="Html:exit",e.Link="Link",e.LinkExit="Link:exit",e.Image="Image",e.ImageExit="Image:exit",e.Code="Code",e.CodeExit="Code:exit",e.Delete="Delete",e.DeleteExit="Delete:exit",e.Table="Table",e.TableExit="Table:exit",e.TableRow="TableRow",e.TableRowExit="TableRow:exit",e.TableCell="TableCell",e.TableCellExit="TableCell:exit"}(l||(l={}))},"qYH+":function(e,t,n){"use strict";n.r(t),n.d(t,"parse",(function(){return parse})),n.d(t,"Syntax",(function(){return r}));var l=n("lr8r");const r={Document:l.a.Document,Paragraph:l.a.Paragraph,Str:l.a.Str,Break:l.a.Break};function parse(e){const t=function splitTextByLine(e){const t=/\r?\n/g,n=[];let l=null,r=0;for(;null!==(l=t.exec(e));){const t=e.slice(r,l.index);n.push({text:r===l.index?"":t,lineBreak:l[0]}),r=l.index+l[0].length}return e.length!==r&&n.push({text:e.slice(r,e.length),lineBreak:null}),n}(e);let n=0;const l=t.length-1,i=t.reduce((function(e,t,i){const a=i+1;if(((e,t)=>t===l&&""===e.text)(t,i))return e;if(((e,t)=>t!==l&&""===e.text)(t,i)){const l=function createBRNode({lineBreak:e,lineNumber:t,startIndex:n}){return{type:r.Break,raw:e,range:[n,n+e.length],loc:{start:{line:t,column:0},end:{line:t,column:e.length}}}}({lineBreak:t.lineBreak,lineNumber:a,startIndex:n});return n+=l.raw.length,e.push(l),e}const o=function createParagraph(e){const t=e[0],n=e[e.length-1];return{type:r.Paragraph,raw:e.map((function(e){return e.raw})).join(""),range:[t.range[0],n.range[1]],loc:{start:{line:t.loc.start.line,column:t.loc.start.column},end:{line:n.loc.end.line,column:n.loc.end.column}},children:e}}([function parseLine(e,t,n){return{type:r.Str,raw:e,value:e,range:[n,n+e.length],loc:{start:{line:t,column:0},end:{line:t,column:e.length}}}}(t.text,a,n)]);if(n+=o.raw.length,e.push(o),null!==t.lineBreak){const l=function createEndedBRNode({prevNode:e,lineBreakText:t}){return{type:r.Break,raw:t,range:[e.range[1],e.range[1]+t.length],loc:{start:{line:e.loc.end.line,column:e.loc.end.column},end:{line:e.loc.end.line,column:e.loc.end.column+t.length}}}}({prevNode:o,lineBreakText:t.lineBreak});n+=l.raw.length,e.push(l)}return e}),[]),a=t[t.length-1];return void 0===a?{type:r.Document,raw:"",range:[0,0],loc:{start:{line:1,column:0},end:{line:1,column:0}},children:i}:{type:r.Document,raw:e,range:[0,e.length],loc:{start:{line:1,column:0},end:null!==a.lineBreak?{line:t.length+1,column:0}:{line:t.length,column:a.text.length}},children:i}}}}]); \ No newline at end of file diff --git a/4-75d687b49d6690ecbe96-27.js b/4-75d687b49d6690ecbe96-27.js deleted file mode 100644 index d7b57aa5..00000000 --- a/4-75d687b49d6690ecbe96-27.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 4-75d687b49d6690ecbe96-27.js.LICENSE.txt */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4,8],{"+OJB":function(e,t,n){"use strict";t.cwd=function cwd(){return"/"}},"+wLT":function(e,t,n){e.exports=function footnote(e){var t={tokenize:tokenizeNoteStart,resolveAll:resolveAllNote},n={add:"after",tokenize:tokenizeNoteEnd,resolveAll:resolveAllNote,resolveTo:resolveToNoteEnd},r={tokenize:tokenizeDefinitionStart,continuation:{tokenize:tokenizeDefinitionContinuation},exit:footnoteDefinitionEnd},i={91:{tokenize:tokenizeFootnoteCall}};(e||{}).inlineNotes&&(i[93]=n,i[94]=t);return{_hiddenFootnoteSupport:{},document:{91:r},text:i}};var r=n("288u"),i=n("pVbj"),o=n("yrJf"),a=n("Barv"),u=n("R37S"),c=n("nZ1L"),l=n("N3z9"),f={tokenize:function tokenizeIndent(e,t,n){var r=this;return o(e,(function afterPrefix(e){return 4===u(r.events,"footnoteDefinitionIndent")?t(e):n(e)}),"footnoteDefinitionIndent",5)},partial:!0};function resolveAllNote(e){for(var t,n=e.length,r=-1;++r999?n(c):93===c?i?(e.exit("chunkString"),l=e.exit("footnoteCallString"),a.indexOf(r(o.sliceSerialize(l)))<0?n(c):function end(n){return e.enter("footnoteCallLabelMarker"),e.consume(n),e.exit("footnoteCallLabelMarker"),e.exit("footnoteCall"),t}(c)):n(c):(e.consume(c),c<0||32===c||(i=!0),92===c?callEscape:callData)}function callEscape(t){return 91===t||92===t||93===t?(e.consume(t),u++,callData):callData(t)}}function tokenizeNoteStart(e,t,n){return function start(t){return 94!==t?n(t):(e.enter("inlineNoteStart"),e.enter("inlineNoteMarker"),e.consume(t),e.exit("inlineNoteMarker"),noteStart)};function noteStart(r){return 91!==r?n(r):(e.enter("inlineNoteStartMarker"),e.consume(r),e.exit("inlineNoteStartMarker"),e.exit("inlineNoteStart"),t)}}function tokenizeNoteEnd(e,t,n){var r=this;return function start(i){var o,a=r.events.length;for(;a--;)if("inlineNoteStart"===r.events[a][1].type){o=!0;break}if(93!==i||!o)return n(i);return e.enter("inlineNoteEnd"),e.enter("inlineNoteEndMarker"),e.consume(i),e.exit("inlineNoteEndMarker"),e.exit("inlineNoteEnd"),t}}function tokenizeDefinitionStart(e,t,n){var o,a,u=this,c=u.parser.footnotes||(u.parser.footnotes=[]),l=0;return function start(t){if(91!==t)return n(t);return e.enter("footnoteDefinition")._container=!0,e.enter("footnoteDefinitionLabel"),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),labelStart};function labelStart(t){return 94!==t?n(t):(e.enter("footnoteDefinitionMarker"),e.consume(t),e.exit("footnoteDefinitionMarker"),e.enter("footnoteDefinitionLabelString"),atBreak)}function atBreak(t){var i;return null===t||91===t||l>999?n(t):93===t?a?(i=e.exit("footnoteDefinitionLabelString"),o=r(u.sliceSerialize(i)),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),e.exit("footnoteDefinitionLabel"),labelAfter):n(t):-5===t||-4===t||-3===t?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l++,atBreak):(e.enter("chunkString").contentType="string",label(t))}function label(t){return null===t||-5===t||-4===t||-3===t||91===t||93===t||l>999?(e.exit("chunkString"),atBreak(t)):(t<0||32===t||(a=!0),l++,e.consume(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),l++,label):label(t)}function labelAfter(t){return 58!==t?n(t):(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),e.check(i,onBlank,nonBlank))}function onBlank(e){return u.containerState.initialBlankLine=!0,done(e)}function nonBlank(t){return-2===t||-1===t||32===t?(e.enter("footnoteDefinitionWhitespace"),e.consume(t),e.exit("footnoteDefinitionWhitespace"),done(t)):done(t)}function done(e){return c.indexOf(o)<0&&c.push(o),t(e)}}function tokenizeDefinitionContinuation(e,t,n){var r=this;return e.check(i,(function onBlank(e){r.containerState.initialBlankLine&&(r.containerState.furtherBlankLines=!0);return t(e)}),(function notBlank(i){if(r.containerState.furtherBlankLines||-2!==i&&-1!==i&&32!==i)return n(i);return r.containerState.initialBlankLine=void 0,r.containerState.furtherBlankLines=void 0,e.attempt(f,t,n)(i)}))}function footnoteDefinitionEnd(e){e.exit("footnoteDefinition")}},"/cIb":function(e,t){e.exports=function checkBullet(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},"/qNp":function(e,t,n){"use strict";var r={}.hasOwnProperty;function point(e){return e&&"object"==typeof e||(e={}),index(e.line)+":"+index(e.column)}function position(e){return e&&"object"==typeof e||(e={}),point(e.start)+"-"+point(e.end)}function index(e){return e&&"number"==typeof e?e:1}e.exports=function stringify(e){if(!e||"object"!=typeof e)return"";if(r.call(e,"position")||r.call(e,"type"))return position(e.position);if(r.call(e,"start")||r.call(e,"end"))return position(e);if(r.call(e,"line")||r.call(e,"column"))return point(e);return""}},"0So9":function(e,t,n){var r=n("Ny5O"),i=n("hq1P"),o={tokenize:function tokenizeDomain(e,t,n){var i,o,a;return function start(t){return e.enter("literalAutolinkDomain"),domain(t)};function domain(t){return 45===t||95===t||r(t)?(95===t&&(i=!0),e.consume(t),domain):46===t?e.check(u,done,dotContinuation)(t):done(t)}function dotContinuation(t){return e.consume(t),a=!0,o=i,i=void 0,domain}function done(r){return!a||o||i?n(r):(e.exit("literalAutolinkDomain"),t(r))}}},a={tokenize:function tokenizePath(e,t){var n=0;return function start(n){if(pathEnd(n))return t(n);if(trailingPunctuation(n))return e.check(u,t,atPathStart)(n);return atPathStart(n)};function atPathStart(t){return e.enter("literalAutolinkWwwPath"),inPath(t)}function inPath(t){return 38===t?e.check(l,atPathEnd,continuedPunctuation)(t):(40===t&&n++,41===t?e.check(c,parenAtPathEnd,continuedPunctuation)(t):pathEnd(t)?atPathEnd(t):trailingPunctuation(t)?e.check(u,atPathEnd,continuedPunctuation)(t):(e.consume(t),inPath))}function continuedPunctuation(t){return e.consume(t),inPath}function parenAtPathEnd(e){return--n<0?atPathEnd(e):continuedPunctuation(e)}function atPathEnd(n){return e.exit("literalAutolinkWwwPath"),t(n)}}},u={tokenize:function tokenizePunctuation(e,t,n){return function start(t){return e.enter("literalAutolinkPunctuation"),e.consume(t),after};function after(r){return e.exit("literalAutolinkPunctuation"),pathEnd(r)?t(r):n(r)}}},c={tokenize:function tokenizeParen(e,t,n){return function start(t){return e.enter("literalAutolinkParen"),e.consume(t),after};function after(r){return e.exit("literalAutolinkParen"),pathEnd(r)||41===r?t(r):n(r)}}},l={tokenize:function tokenizeNamedCharacterReference(e,t,n){return function start(t){return e.enter("literalAutolinkCharacterReferenceNamed"),e.consume(t),inside};function inside(t){return i(t)?(e.consume(t),inside):59===t?(e.consume(t),after):n(t)}function after(r){return e.exit("literalAutolinkCharacterReferenceNamed"),pathEnd(r)?t(r):n(r)}}},f={tokenize:function tokenizeWwwAutolink(e,t,n){var r=this;return function start(t){if(87!==t&&t-32!=87||!previous(r.previous))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.consume(t),w2};function w2(t){return 87===t||t-32==87?(e.consume(t),w3):n(t)}function w3(t){return 87===t||t-32==87?(e.consume(t),dot):n(t)}function dot(t){return 46===t?(e.consume(t),e.attempt(o,e.attempt(a,done),n)):n(t)}function done(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:previous},d={tokenize:function tokenizeHttpAutolink(e,t,n){var r=this;return function start(t){if(72!==t&&t-32!=72||!previous(r.previous))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),t1};function t1(t){return 84===t||t-32==84?(e.consume(t),t2):n(t)}function t2(t){return 84===t||t-32==84?(e.consume(t),p):n(t)}function p(t){return 80===t||t-32==80?(e.consume(t),s):n(t)}function s(t){return 83===t||t-32==83?(e.consume(t),colon):colon(t)}function colon(t){return 58===t?(e.consume(t),slash1):n(t)}function slash1(t){return 47===t?(e.consume(t),slash2):n(t)}function slash2(t){return 47===t?(e.consume(t),e.attempt(o,e.attempt(a,done),n)):n(t)}function done(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:previous},h={tokenize:function tokenizeEmailAutolink(e,t,n){var i,o=this;return function start(t){if(!gfmAtext(t)||!previous(o.previous))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),atext(t)};function atext(t){return gfmAtext(t)?(e.consume(t),atext):64===t?(e.consume(t),label):n(t)}function label(t){return 46===t?e.check(u,done,dotContinuation)(t):45===t||95===t?e.check(u,n,dashOrUnderscoreContinuation)(t):r(t)?(e.consume(t),label):done(t)}function dotContinuation(t){return e.consume(t),i=!0,label}function dashOrUnderscoreContinuation(t){return e.consume(t),afterDashOrUnderscore}function afterDashOrUnderscore(t){return 46===t?e.check(u,n,dotContinuation)(t):label(t)}function done(r){return i?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(r)):n(r)}},previous:previous},g={};t.text=g;for(var m=48;m<123;)g[m]=h,58===++m?m=65:91===m&&(m=97);function trailingPunctuation(e){return 33===e||42===e||44===e||46===e||58===e||63===e||95===e||126===e}function pathEnd(e){return null===e||e<0||32===e||60===e}function gfmAtext(e){return 43===e||45===e||46===e||95===e||r(e)}function previous(e){return null===e||e<0||32===e||40===e||42===e||95===e||126===e}g[43]=h,g[45]=h,g[46]=h,g[95]=h,g[72]=[h,d],g[104]=[h,d],g[87]=[h,f],g[119]=[h,f]},"0Ykn":function(e,t,n){e.exports=function setup(e){function createDebug(e){let t,n,r,i=null;function debug(...e){if(!debug.enabled)return;const n=debug,r=Number(new Date),i=r-(t||r);n.diff=i,n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("G79Q")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},"0xm9":function(e,t,n){"use strict";var r=n("WtKE"),i=n("Qgb1"),o=n("4x0+"),a=n("gphk");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=_interopDefaultLegacy(r),c={name:"characterReference",tokenize:function tokenizeCharacterReference(e,t,n){var r,c,l=this,f=0;return function start(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),open};function open(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),numeric):(e.enter("characterReferenceValue"),r=31,c=i,value(t))}function numeric(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,c=a,value):(e.enter("characterReferenceValue"),r=7,c=o,value(t))}function value(o){var a;return 59===o&&f?(a=e.exit("characterReferenceValue"),c!==i||u.default(l.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)):c(o)&&f++-1)return nok();return e.tokenize.call(t?r({},v,t):v,y,ok,nok)(n)}}function ok(t){return e(l,f),i}function nok(e){return f.restore(),++c_&&(_=u);++ac)&&(O[a]=l)),P.push(f);S[D]=P,T[D]=B}var R;if(a=-1,u=_,"object"==typeof k&&"length"in k)for(;++aO[a]&&(O[a]=l),B[a]=l),P[a]=f;S.splice(1,0,P),T.splice(1,0,B),D=-1,A=S.length,d=[];for(;++Di[t])&&(i[t]=n)}}));const u=n.map((function(e){return e.map((function(e,t){return a[t](e,i[t])})).join(" | ")}));u.splice(1,0,i.map((function(e,t){return 0!==t&&t!==i.length-1&&e++,a[t](":",e+1,"-")})).join("|")),r.a.log(u.join("\n"))}(t)})),{time:function time(n,r){return void 0===t[n]&&(t[n]=0),async function(...i){let o=e.hrtime();await r(...i),o=e.hrtime(o),t[n]+=1e3*o[0]+o[1]/1e6}},enabled:i}}()}).call(this,n("8oxB"))},"5SCW":function(e,t,n){"use strict";var r=n("Ac7Z");e.exports=function regexCheck(e){return function check(t){return e.test(r(t))}}},"5pqq":function(e,t,n){"use strict";e.exports=function resolveAll(e,t,n){for(var r,i=[],o=-1;++o=h||u+11)for(var n=1;n1&&e[x][1].end.offset-e[x][1].start.offset>1?2:1,f={type:h>1?"strongSequence":"emphasisSequence",start:a(c(e[n][1].end),-h),end:c(e[n][1].end)},d={type:h>1?"strongSequence":"emphasisSequence",start:c(e[x][1].start),end:a(c(e[x][1].start),h)},l={type:h>1?"strongText":"emphasisText",start:c(e[n][1].end),end:c(e[x][1].start)},o={type:h>1?"strong":"emphasis",start:c(f.start),end:c(d.end)},e[n][1].end=c(f.start),e[x][1].start=c(d.end),g=[],e[n][1].end.offset-e[n][1].start.offset&&(g=r(g,[["enter",e[n][1],t],["exit",e[n][1],t]])),g=r(g,[["enter",o,t],["enter",f,t],["exit",f,t],["enter",l,t]]),g=r(g,u(t.parser.constructs.insideSpan.null,e.slice(n+1,x),t)),g=r(g,[["exit",l,t],["enter",d,t],["exit",d,t],["exit",o,t]]),e[x][1].end.offset-e[x][1].start.offset?(m=2,g=r(g,[["enter",e[x][1],t],["exit",e[x][1],t]])):m=0,i(e,n-1,x-n+3,g),x=n+g.length-m-2;break}x=-1;for(;++xF.parse(e))(t);return a()(n).forEach((function(e){if(this.notLeaf){if(e.type){const t=i[e.type];t?e.type=t:E(`replacedType : ${t} , node.type: ${e.type}`)}if(e.position){const n=e.position,r={start:{line:n.start.line,column:Math.max(n.start.column-1,0)},end:{line:n.end.line,column:Math.max(n.end.column-1,0)}},i=[n.start.offset,n.end.offset];e.loc=r,e.range=i,e.raw=t.slice(i[0],i[1]),Object.defineProperty(e,"position",{enumerable:!1,configurable:!1,writable:!1,value:n})}}})),n}t.default={Processor:class MarkdownProcessor_MarkdownProcessor{constructor(e={}){this.config=e,this.extensions=this.config.extensions?this.config.extensions:[]}availableExtensions(){return[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mkdown",".ron"].concat(this.extensions)}processor(e){return{preProcess:(e,t)=>parse(e),postProcess:(e,t)=>({messages:e,filePath:t||""})}}}}},"9lTW":function(e,t,n){"use strict";(function(t){var r=n("MgzW");function compare(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i=0;l--)if(d[l]!==h[l])return!1;for(l=d.length-1;l>=0;l--)if(c=d[l],!_deepEqual(e[c],t[c],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function isArguments(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function expectedException(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function _throws(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function _tryBlock(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&fail(o,n,"Missing expected exception"+r);var a="string"==typeof r,u=!e&&o&&!n;if((!e&&i.isError(o)&&a&&expectedException(o,n)||u)&&fail(o,n,"Got unwanted exception"+r),e&&o&&n&&!expectedException(o,n)||!e&&o)throw o}c.AssertionError=function AssertionError(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function getMessage(e){return truncate(inspect(e.actual),128)+" "+e.operator+" "+truncate(inspect(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=getName(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},i.inherits(c.AssertionError,Error),c.fail=fail,c.ok=ok,c.equal=function equal(e,t,n){e!=t&&fail(e,t,n,"==",c.equal)},c.notEqual=function notEqual(e,t,n){e==t&&fail(e,t,n,"!=",c.notEqual)},c.deepEqual=function deepEqual(e,t,n){_deepEqual(e,t,!1)||fail(e,t,n,"deepEqual",c.deepEqual)},c.deepStrictEqual=function deepStrictEqual(e,t,n){_deepEqual(e,t,!0)||fail(e,t,n,"deepStrictEqual",c.deepStrictEqual)},c.notDeepEqual=function notDeepEqual(e,t,n){_deepEqual(e,t,!1)&&fail(e,t,n,"notDeepEqual",c.notDeepEqual)},c.notDeepStrictEqual=function notDeepStrictEqual(e,t,n){_deepEqual(e,t,!0)&&fail(e,t,n,"notDeepStrictEqual",notDeepStrictEqual)},c.strictEqual=function strictEqual(e,t,n){e!==t&&fail(e,t,n,"===",c.strictEqual)},c.notStrictEqual=function notStrictEqual(e,t,n){e===t&&fail(e,t,n,"!==",c.notStrictEqual)},c.throws=function(e,t,n){_throws(!0,e,t,n)},c.doesNotThrow=function(e,t,n){_throws(!1,e,t,n)},c.ifError=function(e){if(e)throw e},c.strict=r((function strict(e,t){e||fail(e,!0,t,"==",strict)}),c,{equal:c.strictEqual,deepEqual:c.deepStrictEqual,notEqual:c.notStrictEqual,notDeepEqual:c.notDeepStrictEqual}),c.strict.strict=c.strict;var f=Object.keys||function(e){var t=[];for(var n in e)o.call(e,n)&&t.push(n);return t}}).call(this,n("yLpj"))},ADT3:function(e,t,n){"use strict";e.exports=function findAndReplace(e,t,n,r){var i,o;"string"==typeof t||t&&"function"==typeof t.exec?o=[[t,n]]:(o=t,r=n);return search(e,i=r||{},function handlerFactory(e){var t=e[0];return handler;function handler(n,r){var o,u,c,l,f=t[0],d=t[1],h=[],g=0,m=r.children.indexOf(n);for(f.lastIndex=0,u=f.exec(n.value);u&&(o=u.index,!1!==(l=d.apply(null,[].concat(u,{index:u.index,input:u.input})))&&(g!==o&&h.push({type:"text",value:n.value.slice(g,o)}),"string"==typeof l&&l.length>0&&(l={type:"text",value:l}),l&&(h=[].concat(h,l)),g=o+u[0].length),f.global);)u=f.exec(n.value);if(void 0===o?(h=[n],m--):(g1)for(c=handlerFactory(e.slice(1)),o=-1;++o{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("yYvY")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},B5Lt:function(e,t,n){e.exports=function flow(e,t){var n,i=e.children||[],o=[],a=-1;for(;++aa?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a))),n}},CprC:function(e,t,n){"use strict";var r=n("bct4"),i=n("b/Vn"),o=n("Mjva"),a={name:"setextUnderline",tokenize:function tokenizeSetextUnderline(e,t,n){var i,a,u=this,c=u.events.length;for(;c--;)if("lineEnding"!==u.events[c][1].type&&"linePrefix"!==u.events[c][1].type&&"content"!==u.events[c][1].type){a="paragraph"===u.events[c][1].type;break}return function start(t){if(!u.lazy&&(u.interrupt||a))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,closingSequence(t);return n(t)};function closingSequence(t){return t===i?(e.consume(t),closingSequence):(e.exit("setextHeadingLineSequence"),o(e,closingSequenceEnd,"lineSuffix")(t))}function closingSequenceEnd(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function resolveToSetextUnderline(e,t){var n,r,o,a,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){n=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),o||"definition"!==e[u][1].type||(o=u);a={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};e.exports=a},DHYa:function(e,t){function exit(e){this.exit(e)}function enterCell(e){this.enter({type:"tableCell",children:[]},e)}function replace(e,t){return"|"===t?t:e}t.enter={table:function enterTable(e){this.enter({type:"table",align:e._align,children:[]},e),this.setData("inTable",!0)},tableData:enterCell,tableHeader:enterCell,tableRow:function enterRow(e){this.enter({type:"tableRow",children:[]},e)}},t.exit={codeText:function exitCodeText(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,replace));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function exitTable(e){this.exit(e),this.setData("inTable")},tableData:exit,tableHeader:exit,tableRow:exit}},"E+b3":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return throwIfTesting}));const r=new Map,setFeature=(e,t)=>{r.set(e,t)},isFeatureEnabled=(e,{loose:t=!1}={})=>{if(!r.has(e)){if(t)return!1;throw new Error(`@textlint/feature-flag:Error: ${e} is not defined.`)}const n=r.get(e);if("boolean"!=typeof n)throw new Error("flag should be boolean, but it is :"+n);return n};void 0!==e&&Array.isArray(e.argv)&&-1!==e.argv.indexOf("--experimental")&&setFeature("core.experimental",!0);const i={get experimental(){return isFeatureEnabled("core.experimental",{loose:!0})},set experimental(e){setFeature("core.experimental",e)},get runningCLI(){return isFeatureEnabled("core.runningCLI",{loose:!0})},set runningCLI(e){setFeature("core.runningCLI",e)},get runningTester(){return isFeatureEnabled("core.runningTester",{loose:!0})},set runningTester(e){setFeature("core.runningTester",e)}};function throwIfTesting(e){if(i.runningTester)throw Error(e)}}).call(this,n("8oxB"))},EBzq:function(e,t,n){"use strict";var r=[].slice;e.exports=function wrap(e,t){var n;return function wrapped(){var t,i=r.call(arguments,0),o=e.length>i.length;o&&i.push(done);try{t=e.apply(null,i)}catch(e){if(o&&n)throw e;return done(e)}o||(t&&"function"==typeof t.then?t.then(then,done):t instanceof Error?done(t):then(t))};function done(){n||(n=!0,t.apply(null,arguments))}function then(e){done(null,e)}}},EIjK:function(e,t){e.exports=String.fromCharCode},ES9B:function(e,t,n){"use strict";var r=n("bct4"),i=n("FUqJ"),o=n("GBTV"),a=n("SHxd"),u=n("Mjva"),c={name:"headingAtx",tokenize:function tokenizeHeadingAtx(e,t,n){var a=this,c=0;return function start(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),fenceOpenInside(t)};function fenceOpenInside(r){return 35===r&&c++<6?(e.consume(r),fenceOpenInside):null===r||i(r)?(e.exit("atxHeadingSequence"),a.interrupt?t(r):headingBreak(r)):n(r)}function headingBreak(n){return 35===n?(e.enter("atxHeadingSequence"),sequence(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):o(n)?u(e,headingBreak,"whitespace")(n):(e.enter("atxHeadingText"),data(n))}function sequence(t){return 35===t?(e.consume(t),sequence):(e.exit("atxHeadingSequence"),headingBreak(t))}function data(t){return null===t||35===t||i(t)?(e.exit("atxHeadingText"),headingBreak(t)):(e.consume(t),data)}},resolve:function resolveHeadingAtx(e,t){var n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},a(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=c},Esvb:function(e,t,n){"use strict";e.exports=n("PPHF")},F2il:function(e,t,n){"use strict";e.exports=function ccount(e,t){var n,r=String(e),i=0;if("string"!=typeof t)throw new Error("Expected character");n=r.indexOf(t);for(;-1!==n;)i++,n=r.indexOf(t,n+t.length);return i}},FGiv:function(e,t){var n=1e3,r=6e4,i=60*r,o=24*i;function plural(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=o)return plural(e,t,o,"day");if(t>=i)return plural(e,t,i,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},FUqJ:function(e,t,n){"use strict";e.exports=function markdownLineEndingOrSpace(e){return e<0||32===e}},Fi6R:function(e,t,n){"use strict";var r=n("SHxd");e.exports=function chunkedPush(e,t){return e.length?(r(e,e.length,0,t),e):t}},G79Q:function(e,t,n){e.exports=function setup(e){function createDebug(e){let t,n,r,i=null;function debug(...e){if(!debug.enabled)return;const n=debug,r=Number(new Date),i=r-(t||r);n.diff=i,n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("0Ykn")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},"K/gC":function(e,t,n){var r=n("uzhd");function handleDelete(e,t,n){var i=n.enter("emphasis"),o=r(e,n,{before:"~",after:"~"});return i(),"~~"+o+"~~"}t.unsafe=[{character:"~",inConstruct:"phrasing"}],t.handlers={delete:handleDelete},handleDelete.peek=function peekDelete(){return"~"}},KKCa:function(e,t){"function"==typeof Object.create?e.exports=function inherits(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function inherits(e,t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype,e.prototype=new TempCtor,e.prototype.constructor=e}},LLHA:function(e,t,n){"use strict";e.exports=n("wJMj")},Lgux:function(e,t){e.exports=function phrasing(e,t,n){var r,i,o,a=e.children||[],u=[],c=-1,l=n.before;for(;++c0&&("\r"===l||"\n"===l)&&"html"===o.type&&(u[u.length-1]=u[u.length-1].replace(/(\r?\n|\r)$/," "),l=" "),u.push(t.handle(o,e,t,{before:l,after:r})),l=u[u.length-1].slice(-1);return u.join("")}},"M+MU":function(e,t,n){"use strict";var r=n("5SCW")(/[A-Za-z]/);e.exports=r},"M8+4":function(e,t){e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},MCLT:function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(e){for(var t=Object.keys(e),n={},r=0;r=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),u=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),isBoolean(n)?r.showHidden=n:n&&t._extend(r,n),isUndefined(r.showHidden)&&(r.showHidden=!1),isUndefined(r.depth)&&(r.depth=2),isUndefined(r.colors)&&(r.colors=!1),isUndefined(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=stylizeWithColor),formatValue(r,e,r.depth)}function stylizeWithColor(e,t){var n=inspect.styles[t];return n?"["+inspect.colors[n][0]+"m"+e+"["+inspect.colors[n][1]+"m":e}function stylizeNoColor(e,t){return e}function formatValue(e,n,r){if(e.customInspect&&n&&isFunction(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return isString(i)||(i=formatValue(e,i,r)),i}var o=function formatPrimitive(e,t){if(isUndefined(t))return e.stylize("undefined","undefined");if(isString(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(isNumber(t))return e.stylize(""+t,"number");if(isBoolean(t))return e.stylize(""+t,"boolean");if(isNull(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),u=function arrayToHash(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),isError(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return formatError(n);if(0===a.length){if(isFunction(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(isRegExp(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(isDate(n))return e.stylize(Date.prototype.toString.call(n),"date");if(isError(n))return formatError(n)}var l,f="",d=!1,h=["{","}"];(isArray(n)&&(d=!0,h=["[","]"]),isFunction(n))&&(f=" [Function"+(n.name?": "+n.name:"")+"]");return isRegExp(n)&&(f=" "+RegExp.prototype.toString.call(n)),isDate(n)&&(f=" "+Date.prototype.toUTCString.call(n)),isError(n)&&(f=" "+formatError(n)),0!==a.length||d&&0!=n.length?r<0?isRegExp(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=d?function formatArray(e,t,n,r,i){for(var o=[],a=0,u=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,f,h)):h[0]+f+h[1]}function formatError(e){return"["+Error.prototype.toString.call(e)+"]"}function formatProperty(e,t,n,r,i,o){var a,u,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),hasOwnProperty(r,i)||(a="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=isNull(n)?formatValue(e,c.value,null):formatValue(e,c.value,n-1)).indexOf("\n")>-1&&(u=o?u.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+u.split("\n").map((function(e){return" "+e})).join("\n")):u=e.stylize("[Circular]","special")),isUndefined(a)){if(o&&i.match(/^\d+$/))return u;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function isArray(e){return Array.isArray(e)}function isBoolean(e){return"boolean"==typeof e}function isNull(e){return null===e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isUndefined(e){return void 0===e}function isRegExp(e){return isObject(e)&&"[object RegExp]"===objectToString(e)}function isObject(e){return"object"==typeof e&&null!==e}function isDate(e){return isObject(e)&&"[object Date]"===objectToString(e)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(e){return"function"==typeof e}function objectToString(e){return Object.prototype.toString.call(e)}function pad(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(isUndefined(o)&&(o=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=isArray,t.isBoolean=isBoolean,t.isNull=isNull,t.isNullOrUndefined=function isNullOrUndefined(e){return null==e},t.isNumber=isNumber,t.isString=isString,t.isSymbol=function isSymbol(e){return"symbol"==typeof e},t.isUndefined=isUndefined,t.isRegExp=isRegExp,t.isObject=isObject,t.isDate=isDate,t.isError=isError,t.isFunction=isFunction,t.isPrimitive=function isPrimitive(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("1gqn");var u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var e=new Date,t=[pad(e.getHours()),pad(e.getMinutes()),pad(e.getSeconds())].join(":");return[e.getDate(),u[e.getMonth()],t].join(" ")}function hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",timestamp(),t.format.apply(t,arguments))},t.inherits=n("KKCa"),t._extend=function(e,t){if(!t||!isObject(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var c="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function promisify(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(c&&e[c]){var t;if("function"!=typeof(t=e[c]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,c,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},NvGK:function(e,t,n){"use strict";var r=n("Ac7Z");e.exports=function serializeChunks(e){for(var t,n,i,o=-1,a=[];++ot;)a.containerState=l[o][1],l[o][0].exit.call(a,e);l.length=t}},u={tokenize:function tokenizeContainer(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},c={tokenize:function tokenizeLazyFlow(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=a},PG0i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("aPtP"),i=n("Mjva"),o=n("C9no"),a=function initializeFlow(e){var t=this,n=e.attempt(o,(function atBlankEnding(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,afterConstruct,i(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(r,afterConstruct)),"linePrefix")));return n;function afterConstruct(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=a},PPHF:function(e,t,n){"use strict";var r=n("aCXt"),i=n("tgGP");e.exports=i,i.prototype.message=function message(e,t,n){var i=new r(e,t,n);this.path&&(i.name=this.path+":"+i.name,i.file=this.path);return i.fatal=!1,this.messages.push(i),i},i.prototype.info=function info(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function fail(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},PXHr:function(e,t,n){e.exports=function create(e){var t,n,i=r(e),o=i.length,a=-1,u={};for(;++a=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},"S+8a":function(e,t,n){"use strict";e.exports=function markdownSpace(e){return-2===e||-1===e||32===e}},S0DD:function(e,t,n){"use strict";var r=n("M+MU"),i=n("Qgb1"),o=n("ALIq"),a=n("mKLD"),u={name:"autolink",tokenize:function tokenizeAutolink(e,t,n){var u=1;return function start(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),open};function open(t){return r(t)?(e.consume(t),schemeOrEmailAtext):o(t)?emailAtext(t):n(t)}function schemeOrEmailAtext(e){return 43===e||45===e||46===e||i(e)?schemeInsideOrEmailAtext(e):emailAtext(e)}function schemeInsideOrEmailAtext(t){return 58===t?(e.consume(t),urlInside):(43===t||45===t||46===t||i(t))&&u++<32?(e.consume(t),schemeInsideOrEmailAtext):emailAtext(t)}function urlInside(t){return 62===t?(e.exit("autolinkProtocol"),end(t)):32===t||60===t||a(t)?n(t):(e.consume(t),urlInside)}function emailAtext(t){return 64===t?(e.consume(t),u=0,emailAtSignOrDot):o(t)?(e.consume(t),emailAtext):n(t)}function emailAtSignOrDot(e){return i(e)?emailLabel(e):n(e)}function emailLabel(t){return 46===t?(e.consume(t),u=0,emailAtSignOrDot):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",end(t)):emailValue(t)}function emailValue(t){return(45===t||i(t))&&u++<63?(e.consume(t),45===t?emailValue:emailLabel):n(t)}function end(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=u},SHxd:function(e,t,n){"use strict";var r=n("Ipxk");e.exports=function chunkedSplice(e,t,n,i){var o,a=e.length,u=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+".");c=d.length+1,("tab"===h||"mixed"===h&&(t&&t.spread||e.spread))&&(c=4*Math.ceil(c/4));return f=n.enter("listItem"),l=u(a(e,n),(function map(e,t,n){if(t)return(n?"":r(" ",c))+e;return(n?d:d+r(" ",c-d.length))+e})),f(),l};var r=n("RjOF"),i=n("/cIb"),o=n("NfWH"),a=n("B5Lt"),u=n("deF/")},T0BQ:function(e,t,n){e.exports=function shallow(e){return r({},e)};var r=n("NOby")},TDhK:function(e,t){e.exports={}.hasOwnProperty},THrT:function(e,t,n){e.exports=n("qOO9")},TLOy:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},UeGV:function(e,t,n){"use strict";var r=n("5SCW")(/[!-/:-@[-`{-~]/);e.exports=r},Umyw:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV");e.exports=function labelFactory(e,t,n,o,a,u){var c,l=this,f=0;return function start(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(u),atBreak};function atBreak(i){return null===i||91===i||93===i&&!c||94===i&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?n(i):93===i?(e.exit(u),e.enter(a),e.consume(i),e.exit(a),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),label(i))}function label(t){return null===t||91===t||93===t||r(t)||f++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),c=c||!i(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),f++,label):label(t)}}},UnLw:function(e,t,n){"use strict";var r=n("QS4/")(/\s/);e.exports=r},"Vx/6":function(e,t){e.exports=function chunkedSplice(e,t,n,r){var i,o,a=e.length,u=0;t=t<0?-t>a?0:a+t:t>a?a:t;if(n=n>0?n:0,r.length<1e4)return(o=Array.from(r)).unshift(t,n),[].splice.apply(e,o);i=[].splice.apply(e,[t,n]);for(;u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":r(n)}},Wnxf:function(e,t,n){"use strict";e.exports=function movePoint(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},WtKE:function(e,t,n){"use strict";var r;e.exports=function decodeEntity(e){var t,n="&"+e+";";if((r=r||document.createElement("i")).innerHTML=n,59===(t=r.textContent).charCodeAt(t.length-1)&&"semi"!==e)return!1;return t!==n&&t}},X7KM:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},XaTJ:function(e,t,n){"use strict";var r=String.fromCharCode;e.exports=r},Xb7u:function(e,t,n){!function(){var t;function format(e){for(var t,n,r,i,o=1,a=[].slice.call(arguments),u=0,c=e.length,l="",f=!1,d=!1,nextArg=function(){return a[o++]},slurpNumber=function(){for(var n="";/\d/.test(e[u]);)n+=e[u++],t=e[u];return n.length>0?parseInt(n):null};u>>1,a=i+o;n(e[a],t)?(i=a+1,r-=o+1):r=o}return i}Object.defineProperty(t,"__esModule",{value:!0}),t.binarySearch=t.upperBound=t.lowerBound=t.compare=void 0,t.compare=compare,t.upperBound=function upperBound(e,t,n=compare){let r=e.length,i=0;for(;r;){let o=r>>>1,a=i+o;n(t,e[a])?r=o:(i=a+1,r-=o+1)}return i},t.lowerBound=lowerBound,t.binarySearch=function binarySearch(e,t,n=compare){let r=lowerBound(e,t,n);return r!==e.length&&!n(t,e[r])}},YK6v:function(e,t,n){var r=n("oJEb"),i=n("321L"),o=n("f8fV"),a=n("THrT"),u=n("uGmZ");e.exports=function create(e){return r([i,o(e),a,u])}},YWs8:function(e,t){var n=["autolink","link","image"];t.unsafe=[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:"phrasing",notInConstruct:n},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:"phrasing",notInConstruct:n},{character:":",before:"[ps]",after:"\\/",inConstruct:"phrasing",notInConstruct:n}]},YrmG:function(e,t,n){e.exports=function association(e){if(e.label||!e.identifier)return e.label||"";return e.identifier.replace(i,"$1").replace(o,decodeIfPossible)};var r=n("WtKE"),i=/\\([!-/:-@[-`{-~])/g,o=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decodeIfPossible(e,t){return r(t)||e}},a0V5:function(e,t,n){e.exports=function createFromMarkdown(e){var t,n=r(e),i=n.length,o=-1,a={},u={};for(;++o-1||i(o.events,"linePrefix")<4?e.interrupt(o.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports=u},aV4s:function(e,t){e.exports=function patternCompile(e){var t,n;e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g"));return e._compiled}},ayp4:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva"),a={name:"thematicBreak",tokenize:function tokenizeThematicBreak(e,t,n){var a,u=0;return function start(t){return e.enter("thematicBreak"),a=t,atBreak(t)};function atBreak(c){return c===a?(e.enter("thematicBreakSequence"),sequence(c)):i(c)?o(e,atBreak,"whitespace")(c):u<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function sequence(t){return t===a?(e.consume(t),u++,sequence):(e.exit("thematicBreakSequence"),atBreak(t))}}};e.exports=a},"b/Vn":function(e,t,n){"use strict";var r=n("oV2h");e.exports=function shallow(e){return r({},e)}},bWFg:function(e,t,n){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},bct4:function(e,t,n){"use strict";e.exports=function markdownLineEnding(e){return e<-2}},dT1L:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva");e.exports=function whitespaceFactory(e,t){var n;return function start(a){if(r(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,start;if(i(a))return o(e,start,n?"linePrefix":"lineSuffix")(a);return t(a)}}},"deF/":function(e,t){e.exports=function indentLines(e,t){var r,i=[],o=0,a=0;for(;r=n.exec(e);)one(e.slice(o,r.index)),i.push(r[0]),o=r.index+r[0].length,a++;return one(e.slice(o)),i.join("");function one(e){i.push(t(e,a,!e))}};var n=/\r?\n|\r/g},eASu:function(e,t,n){var r=n("F2il"),i=n("ADT3"),o=n("xvc9"),a=n("UnLw");function enterLiteralAutolinkValue(e){this.config.enter.autolinkProtocol.call(this,e)}function findUrl(e,t,n,i,o){var a,u,c="";return!!previous(o)&&(/^w/i.test(t)&&(n=t+n,t="",c="http://"),!!function isCorrectDomain(e){var t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n)&&(!!(a=function splitUrl(e){var t,n,i,o=/[!"&'),.:;<>?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),o=o[0],t=o.indexOf(")"),n=r(e,"("),i=r(e,")");-1!==t&&n>i;)e+=o.slice(0,t+1),o=o.slice(t+1),t=o.indexOf(")"),i++;return[e,o]}(n+i))[0]&&(u={type:"link",title:null,url:c+t+a[0],children:[{type:"text",value:t+a[0]}]},a[1]&&(u=[u,{type:"text",value:a[1]}]),u)))}function findEmail(e,t,n,r){return!(!previous(r,!0)||/[_-]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function previous(e,t){var n=e.input.charCodeAt(e.index-1);return(n!=n||a(n)||o(n))&&(!t||47!==n)}t.transforms=[function transformGfmAutolinkLiterals(e){i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,findUrl],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,findEmail]],{ignore:["link","linkReference"]})}],t.enter={literalAutolink:function enterLiteralAutolink(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:enterLiteralAutolinkValue,literalAutolinkHttp:enterLiteralAutolinkValue,literalAutolinkWww:enterLiteralAutolinkValue},t.exit={literalAutolink:function exitLiteralAutolink(e){this.exit(e)},literalAutolinkEmail:function exitLiteralAutolinkEmail(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function exitLiteralAutolinkHttp(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function exitLiteralAutolinkWww(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},eKXY:function(e,t,n){"use strict";n.r(t),n.d(t,"TextlintKernel",(function(){return textlint_kernel_TextlintKernel})),n.d(t,"TextlintKernelDescriptor",(function(){return TextlintKernelDescriptor_TextlintKernelDescriptor})),n.d(t,"TextlintRuleDescriptors",(function(){return TextlintRuleDescriptors_TextlintRuleDescriptors})),n.d(t,"TextlintLintableRuleDescriptor",(function(){return TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor})),n.d(t,"TextlintFixableRuleDescriptor",(function(){return TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor})),n.d(t,"TextlintFilterRuleDescriptors",(function(){return TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors})),n.d(t,"TextlintFilterRuleDescriptor",(function(){return TextlintFilterRuleDescriptor_TextlintFilterRuleDescriptor})),n.d(t,"TextlintPluginDescriptors",(function(){return TextlintPluginDescriptors_TextlintPluginDescriptors})),n.d(t,"TextlintPluginDescriptor",(function(){return TextlintPluginDescriptor_TextlintPluginDescriptor})),n.d(t,"TextlintRuleSeverityLevelKeys",(function(){return d}));var r=n("E+b3");const isTextlintRuleErrorPaddingLocObject=e=>!("object"!=typeof e||"object"!=typeof e.start||"object"!=typeof e.end||"number"!=typeof e.start.line||Number.isNaN(e.start.line)||"number"!=typeof e.start.column||Number.isNaN(e.start.column)||"number"!=typeof e.end.line||Number.isNaN(e.end.line)||"number"!=typeof e.end.column||Number.isNaN(e.end.column)),isTextlintRuleErrorPaddingLocation=e=>{return"object"==typeof e&&null!==e&&"type"in e&&"TextlintRuleErrorPaddingLocation"===e.type&&(t=e.range,Array.isArray(t)&&2===t.length||isTextlintRuleErrorPaddingLocObject(e.loc));var t},createPaddingLocator=()=>({at(e){if(Number.isNaN(e))throw new Error("index must be number: "+e);return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,range:[e,e+1]}},range(e){if(!Array.isArray(e))throw new Error("range must be array");if(2!==e.length)throw new Error("range must be [start, end]: "+JSON.stringify(e));if(Number.isNaN(e[0])||Number.isNaN(e[1]))throw new Error("range must not be NaN: "+JSON.stringify(e));if(e[0]===e[1])throw new Error(`range must not be same: ${JSON.stringify(e)}\n \nProbably, you need to use at() method instead.`);return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,range:e}},loc(e){if(!isTextlintRuleErrorPaddingLocObject(e))throw new Error("loc must be TextlintRuleErrorPaddingLocation object: "+JSON.stringify(e));return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,loc:e}}});class TextlintRuleErrorImpl{constructor(e,t){this.message=e,"object"==typeof t?((e=>{if("at"in e)throw new Error('RuleError details should not have "loc" property. Please use { padding: locator.at(index) } instead.');if("range"in e)throw new Error('RuleError details should not have "range" property. Please use { padding: locator.range([start, end]) } instead.');if("loc"in e)throw new Error('RuleError details should not have "loc" property. Please use { padding: locator.loc({ start, end }) } instead.');const t="index"in e,n="line"in e||"column"in e,i="padding"in e;if([t,n,i].filter(Boolean).length>1&&Object(r.b)(`RuleError details can not mixed usage: ${JSON.stringify(e)}\n\nYou can not set { index, line, column, padding } at same time. \n`),t)("number"!=typeof e.index||Number.isNaN(e.index))&&Object(r.b)("index should be number: "+JSON.stringify(e));else{if(n){return"line"in e&&"column"in e||Object(r.b)("line and column should be set both"),("number"!=typeof e.line||Number.isNaN(e.line))&&Object(r.b)("line should be number: "+JSON.stringify(e)),void(("number"!=typeof e.column||Number.isNaN(e.column))&&Object(r.b)("column should be number: "+JSON.stringify(e)))}i&&(isTextlintRuleErrorPaddingLocation(e.padding)||Object(r.b)("padding should be created locator function: "+JSON.stringify(e)))}})(t),this.line=t.line,this.column=t.column,this.index=t.index,this.fix=t.fix,this.padding=t.padding):"number"==typeof t&&(this.column=t)}toString(){return JSON.stringify({message:this.message,line:this.line,column:this.column,index:this.index,fix:this.fix})}}var i,__classPrivateFieldGet=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};class EventEmitter{constructor(){i.set(this,new Map)}on(e,t){const n=__classPrivateFieldGet(this,i,"f").get(e),r=null!=n?n:new Set;null==r||r.add(t),__classPrivateFieldGet(this,i,"f").set(e,r)}emit(e,...t){const n=__classPrivateFieldGet(this,i,"f").get(e);if(n)for(const e of n)e(...t)}off(e,t){const n=__classPrivateFieldGet(this,i,"f").get(e);if(n)for(const e of n)e===t&&n.delete(t)}removeAllListeners(){__classPrivateFieldGet(this,i,"f").clear()}listenerCount(e){var t,n;return null!==(n=null===(t=__classPrivateFieldGet(this,i,"f").get(e))||void 0===t?void 0:t.size)&&void 0!==n?n:0}listeners(e){var t;return Array.from(null!==(t=__classPrivateFieldGet(this,i,"f").get(e))&&void 0!==t?t:[])}}i=new WeakMap;function invariant(e,t){if(!e)throw new Error(t)}const resolveLocation=e=>{const{node:t,ruleError:n}=e;(e=>{const{ruleError:t,ruleId:n}=e,i=`[${n}]`||"",o=t;if("number"==typeof o)throw new Error(i+' This is un-document way:\nreport(node, new RuleError("message", index);\n\nPlease use { index }: \n\nreport(node, new RuleError("message", {\n index: paddingLineColumn\n});\n');if(void 0===o.line&&void 0!==o.column&&Object(r.b)(i+' Have to use a sets with "line" and "column".\nSee FAQ: https://github.com/textlint/textlint/blob/master/docs/faq/line-column-or-index.md \n\nreport(node, new RuleError("message", {\n line: paddingLineNumber,\n column: paddingLineColumn\n});\n\nOR use "index" property insteadof only "column".\n\nreport(node, new RuleError("message", {\n index: paddingLineColumn\n});\n'),(void 0!==o.line||void 0!==o.column)&&void 0!==o.index)throw new Error(i+' Have to use one of {line, column} or {index}.\nYou should use either one:\n\nuse "line" and "column" property\n\nreport(node, new RuleError("message", {\n line: paddingLineNumber,\n column: paddingLineColumn\n});\n\nOR \n\nuse "index" property\n\nreport(node, new RuleError("message", {\n index: paddingIndexValue\n});\n');if(void 0!==o.line&&Number.isNaN(o.line))throw new Error("reported { line } is NaN");if(void 0!==o.column&&Number.isNaN(o.column))throw new Error("reported { column } is NaN");if(void 0!==o.index&&Number.isNaN(o.index))throw new Error("reported { index } is NaN");void 0!==o.padding&&invariant(isTextlintRuleErrorPaddingLocation(o.padding),"reported { padding } is invalid format.")})(e);const i=(e=>{if("padding"in e&&"object"==typeof e.padding)return e.padding;if(void 0!==e.index){const t=e.index;return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,range:[t,t+1]}}return void 0!==e.line&&void 0!==e.column?{line:Math.max(e.line,0),column:Math.max(e.column,0)}:void 0!==e.line&&e.line>0?{line:Math.max(e.line,0),column:0}:void 0!==e.column&&e.column>0?{line:0,column:Math.max(e.column,0)}:null})(n);return(({source:e,node:t,paddingIR:n})=>{if(!n)return{range:t.range,loc:{start:{line:t.loc.start.line,column:t.loc.start.column+1},end:{line:t.loc.end.line,column:t.loc.end.column+1}}};const r=t.range,i=t.loc.start.line,o=t.loc.start.column;if("line"in n&&"column"in n){const t={line:i+n.line,column:o+n.column},r=e.positionToIndex(t);if(Number.isNaN(r))throw new Error("absoluteIndex is NaN in { line, column }");const a=[r,r+1],u=e.rangeToLocation(a);if(Number.isNaN(u))throw new Error("absoluteLocation is NaN in { line, column }");return{range:a,loc:{start:{line:u.start.line,column:u.start.column+1},end:{line:u.end.line,column:u.end.column+1}}}}if("range"in n){const t=[r[0]+n.range[0],r[0]+n.range[1]],i=e.rangeToLocation(t);if(Number.isNaN(i))throw new Error("absoluteLocation is NaN in { range }");return{range:t,loc:{start:{line:i.start.line,column:i.start.column+1},end:{line:i.end.line,column:i.end.column+1}}}}if("loc"in n){const t={line:i+n.loc.start.line,column:o+n.loc.start.column},r={line:i+n.loc.end.line,column:o+n.loc.end.column},a=e.locationToRange({start:t,end:r});if(Number.isNaN(a[0])||Number.isNaN(a[1]))throw new Error("absoluteLocation is NaN in { loc }");return{range:a,loc:{start:{line:t.line,column:t.column+1},end:{line:r.line,column:r.column+1}}}}return{range:t.range,loc:t.loc}})({source:e.source,node:t,paddingIR:i})};var o=n("57Z9"),a="lint",u="ignore";const c="textlint-rule-",l="textlint-rule-preset-",f=[/^(@.*?\/.*?)\/(@.*?\/.*?)$/,/^(@.*?\/.*?)\/(.*?)$/,/^(.*?)\/(@.*?)$/,/^([^@].*?)\/(.*?)$/],removePrefixFromPackageName=(e,t)=>{for(let n=0;n{const{preset:t,rule:n}=(e=>{for(let t=0;tremovePrefixFromPackageName([c],e),normalizeTextlintRulePresetKey=e=>removePrefixFromPackageName([l,"preset-"],e);function insertTextAt(e,t){return invariant(t,"text must be string"),{range:[e,e],text:t,isAbsolute:!1}}function insertTextAtAbsolute(e,t){return invariant(t,"text must be string"),{range:[e,e],text:t,isAbsolute:!0}}const d={none:0,info:0,warning:1,error:2},h=new class TextlintRuleContextFixCommandGeneratorImpl{insertTextAfter(e,t){return insertTextAtAbsolute(e.range[1],t)}insertTextAfterRange(e,t){return insertTextAt(e[1],t)}insertTextBefore(e,t){return insertTextAtAbsolute(e.range[0],t)}insertTextBeforeRange(e,t){return insertTextAt(e[0],t)}replaceText(e,t){return{range:e.range,text:t,isAbsolute:!0}}replaceTextRange(e,t){return{range:e,text:t,isAbsolute:!1}}remove(e){return this.replaceText(e,"")}removeRange(e){return this.replaceTextRange(e,"")}};class TextlintRuleContextImpl_TextlintRuleContextImpl{constructor(e){this.report=(e,t,n)=>{if(invariant(!(e instanceof TextlintRuleErrorImpl),"1st argument should be node. Usage: `report(node, ruleError);`"),invariant(void 0===n,"3rd argument should not be used. Usage: `report(node, ruleError);`"),t instanceof TextlintRuleErrorImpl)this._report({ruleId:this._ruleId,node:e,severity:this._severityLevel,ruleError:t});else{const n=t,r=n.severity||d.error;this._report({ruleId:this._ruleId,node:e,severity:r,ruleError:n})}},this.getFilePath=()=>this._sourceCode.getFilePath(),this.getSource=(e,t,n)=>this._sourceCode.getSource(e,t,n),this.getConfigBaseDir=()=>this._configBaseDir,this._ruleId=e.ruleId,this._sourceCode=e.sourceCode,this._report=e.report,this.locator=createPaddingLocator(),this._configBaseDir=e.configBaseDir,this._severityLevel=e.severityLevel,Object.freeze(this)}get id(){return this._ruleId}get severity(){return this._severityLevel}get Syntax(){return this._sourceCode.getSyntax()}get RuleError(){return TextlintRuleErrorImpl}get fixer(){return h}}var g=n("0l15"),m=n.n(g);function isNode(e){return null!=e&&("object"==typeof e&&("string"==typeof e.type||"string"==typeof e.t))}class TxtElement{constructor(e){this.node=e}}const x={},b={};class Controller{__willStartTraverse(){this.__current=null,this.__worklist=[],this.__leavelist=[]}__execute(e,t){let n=void 0;const r=this.__current;if(this.__current=t,e){const r=this.__leavelist[this.__leavelist.length-1].node;if(!t.node)return;n=e.call(this,t.node,r)}return this.__current=r,n}parents(){let e,t;const n=[];for(e=1,t=this.__leavelist.length;e=0;){const t=a[u[c]];if(t)if(Array.isArray(t)){let n=t.length;for(;(n-=1)>=0;)t[n]&&isNode(t[n])&&(e=new TxtElement(t[n]),e&&i.push(e))}else isNode(t)&&i.push(new TxtElement(t))}}}else{if(e=o.pop(),void 0===e)continue;if(n=this.__execute(t.leave,e),n===x)return}}}}const y=new Controller,v=m()("textlint:core-task");class textlint_core_task_RuleTypeEmitter extends class PromiseEventEmitter{constructor(){this.events=new EventEmitter}listenerCount(e){return this.events.listenerCount(e)}on(e,t){return this.events.on(e,t)}emit(e,...t){const n=[];return this.events.listeners(e).forEach(e=>{n.push(e(...t))}),Promise.all(n)}}{}class textlint_core_task_TextLintCoreTask extends EventEmitter{static get events(){return{start:"start",message:"message",complete:"complete",error:"error"}}constructor(){super(),this.ruleTypeEmitter=new textlint_core_task_RuleTypeEmitter}createShouldIgnore(){return e=>{const{ruleId:t,range:n,optional:r}=e;invariant(void 0!==n[0]&&void 0!==n[1]&&n[0]>=0&&n[1]>=0,"ignoreRange should have actual range: "+n);const i={type:u,ruleId:t,range:n,ignoringRuleId:r.ruleId?normalizeTextlintKeyPath(r.ruleId):"*"};this.emit(textlint_core_task_TextLintCoreTask.events.message,i)}}createReporter(e){return t=>{const{ruleId:n,node:r,severity:i,ruleError:o}=t,{loc:u,range:c}=resolveLocation({source:e,ruleId:n,node:r,ruleError:o}),{fix:l}=(({node:e,ruleError:t})=>{const n=e.range;return void 0===t.fix?{}:(invariant("object"==typeof t.fix,"fix should be FixCommand object"),t.fix.isAbsolute?{fix:{range:t.fix.range,text:t.fix.text}}:{fix:{range:[n[0]+t.fix.range[0],n[0]+t.fix.range[1]],text:t.fix.text}})})({node:r,ruleError:o});v("%s report %s",n,o);const f={type:a,ruleId:n,message:o.message,index:c[0],line:u.start.line,column:u.start.column,range:c,loc:u,severity:i,fix:void 0!==l?l:void 0};if(!(o instanceof TextlintRuleErrorImpl)){const e=o;f.data=e}this.emit(textlint_core_task_TextLintCoreTask.events.message,f)}}startTraverser(e){this.emit(textlint_core_task_TextLintCoreTask.events.start);const t=[],n=this.ruleTypeEmitter;y.traverse(e.ast,{enter(e,r){const i=e.type;if(Object.defineProperty(e,"parent",{value:r}),n.listenerCount(i)>0){const r=n.emit(i,e);t.push(r)}},leave(e){const r=e.type+":exit";if(n.listenerCount(r)>0){const i=n.emit(r,e);t.push(i)}}}),Promise.all(t).then(()=>{this.emit(textlint_core_task_TextLintCoreTask.events.complete)}).catch(e=>{this.emit(textlint_core_task_TextLintCoreTask.events.error,e)})}tryToGetRuleObject(e,t,n){try{return e(t,n)}catch(e){throw e instanceof Error&&(e.message=`Error while loading rule '${t.id}': ${e.message}`),e}}tryToGetFilterRuleObject(e,t,n){try{return e(t,n)}catch(e){throw e instanceof Error&&(e.message=`Error while loading filter rule '${t.id}': ${e.message}`),e}}tryToAddListenRule(e,t,n){const r=t instanceof TextlintRuleContextImpl_TextlintRuleContextImpl?this.tryToGetRuleObject(e,t,n):this.tryToGetFilterRuleObject(e,t,n);Object.keys(r).forEach(e=>{this.ruleTypeEmitter.on(e,o.a.enabled?o.a.time(t.id,r[e]):r[e])})}}function getSeverity(e){if(void 0===e)return d.error;if("boolean"==typeof e)return e?d.error:d.none;if(e.severity){const t=d[e.severity];if(!(e=>{if(void 0===e)throw new Error('Please set following value to severity:\n"rule-key": {\n "severity": ""\n}');return!0})(t))throw new Error('Please set following value to severity:\n"rule-key": {\n "severity": ""\n}');return t}return d.error}class TextlintFilterRuleContextImpl_TextlintFilterRuleContextImpl{constructor(e){this.shouldIgnore=(e,t={})=>{invariant(Array.isArray(e)&&"number"==typeof e[0]&&"number"==typeof e[1],"shouldIgnore([number, number]); accept range."),this._ignoreReport({ruleId:this._ruleId,range:e,optional:t})},this.getFilePath=()=>this._sourceCode.getFilePath(),this.getSource=(e,t,n)=>this._sourceCode.getSource(e,t,n),this.getConfigBaseDir=()=>this._configBaseDir,this._ruleId=e.ruleId,this._sourceCode=e.sourceCode,this._ignoreReport=e.ignoreReport,this.locator=createPaddingLocator(),this._configBaseDir=e.configBaseDir,this._severityLevel=e.severityLevel,Object.freeze(this)}get id(){return this._ruleId}get severity(){return this._severityLevel}get Syntax(){return this._sourceCode.getSyntax()}get RuleError(){return TextlintRuleErrorImpl}get report(){return()=>{throw new Error("Filter rule can not report")}}}const C=m()("textlint:TextLintCoreTask");class fixer_task_TextLintCoreTask extends textlint_core_task_TextLintCoreTask{constructor({config:e,configBaseDir:t,fixableRuleDescriptor:n,filterRuleDescriptors:r,sourceCode:i}){super(),this.config=e,this.configBaseDir=t,this.fixableRuleDescriptor=n,this.filterRuleDescriptors=r,this.sourceCode=i,this._setupRules()}start(){this.startTraverser(this.sourceCode)}_setupRules(){const e=this.sourceCode,t=this.createReporter(e),n=this.createShouldIgnore();C("fixerRule",this.fixableRuleDescriptor);const r=new TextlintRuleContextImpl_TextlintRuleContextImpl({ruleId:this.fixableRuleDescriptor.id,severityLevel:getSeverity(this.fixableRuleDescriptor.normalizedOptions),sourceCode:e,report:t,configBaseDir:this.configBaseDir});this.tryToAddListenRule(this.fixableRuleDescriptor.fixer,r,this.fixableRuleDescriptor.normalizedOptions),C("filterRules",this.filterRuleDescriptors),this.filterRuleDescriptors.descriptors.forEach(t=>{const r=new TextlintFilterRuleContextImpl_TextlintFilterRuleContextImpl({ruleId:t.id,severityLevel:getSeverity(t.normalizedOptions),sourceCode:e,ignoreReport:n,configBaseDir:this.configBaseDir});this.tryToAddListenRule(t.filter,r,t.normalizedOptions)})}}class task_runner_TaskRunner{static process(e){return new Promise((t,n)=>{const r=[];e.on(textlint_core_task_TextLintCoreTask.events.message,e=>{r.push(e)}),e.on(textlint_core_task_TextLintCoreTask.events.error,e=>{n(e)}),e.on(textlint_core_task_TextLintCoreTask.events.complete,()=>{e.removeAllListeners(),t(r)}),e.start()})}}var k=n("lr8r"),F=n("ifv4");class TextlintSourceCodeImpl_TextlintSourceCodeImpl{constructor({text:e="",ast:t,ext:n,filePath:r}){!function validate(e){if(!e.loc)throw new Error("AST is missing location information.");if(!e.range)throw new Error("AST is missing range information")}(t),invariant(n||r,"should be set either of fileExt or filePath."),this.hasBOM=65279===e.charCodeAt(0),this.text=this.hasBOM?e.slice(1):e,this._structuredSource=new F.StructuredSource(this.text),this.ast=t,this.filePath=r,this.ext=n}getSyntax(){return k.a}getFilePath(){return this.filePath}getSource(e,t,n){const r=this.text;if(e){const i=Math.max(e.range[0]-(t||0),0),o=e.range[1]+(n||0);return r.slice(i,o)}return r}locationToRange(e){return this._structuredSource.locationToRange(e)}rangeToLocation(e){const t=this._structuredSource.rangeToLocation([e[0],e[1]]);return{start:{line:t.start.line,column:t.start.column},end:{line:t.end.line,column:t.end.column}}}positionToIndex(e){return this._structuredSource.positionToIndex(e)}indexToPosition(e){const t=this._structuredSource.indexToPosition(e);return{line:t.line,column:t.column}}}var E=n("JaeU");const w=n.n(E)()("textlint:source-code-fixer");function compareMessagesByLocation(e,t){const n=e.line-t.line;return 0===n?e.column-t.column:n}function applyFixesToSourceCode(e,t){w("Applying fixes");const n=e.text,r=[],i=[],o=t.slice(),a=[];let u=n.length,c=e.hasBOM?"\ufeff":"";if(o.forEach(e=>{e&&void 0!==e.fix?a.push(e):r.push(e)}),a.length){w("Found fixes to apply"),a.sort((e,t)=>t.fix.range[1]-e.fix.range[1]||t.fix.range[0]-e.fix.range[0]);const e=n.split("");return a.forEach(t=>{const n=t.fix;let o=n.range[0];const a=n.range[1];let l=n.text;if(a<=u){o<0&&(c="",o=0),0===o&&"\ufeff"===l[0]&&(c="\ufeff",l=l.slice(1));const n=e.splice(o,a-o,l);u=o;const r=function clone(e){return JSON.parse(JSON.stringify(e))}(t);r.fix={range:[o,o+l.length],text:n.join("")},i.push(r)}else r.push(t)}),{fixed:!0,messages:o,applyingMessages:i.reverse(),remainingMessages:r.sort(compareMessagesByLocation),output:c+e.join("")}}return w("No fixes to apply"),{fixed:!1,messages:o,applyingMessages:i,remainingMessages:r,output:c+n}}const D=Object.prototype.hasOwnProperty;function isPluginParsedObject(e){return"object"==typeof e&&D.call(e,"text")&&D.call(e,"ast")}const parseByPlugin=async({preProcess:e,sourceText:t,filePath:n})=>{try{const r=await e(t,n),i=isPluginParsedObject(r);return{text:i?r.text:t,ast:i?r.ast:r}}catch(e){return e instanceof Error?e:new Error(String(e))}},A=m()("textlint:fixer-processor");class fixer_processor_FixerProcessor{constructor(e,t){this.processor=e,this.messageProcessManager=t}async process({config:e,configBaseDir:t,ruleDescriptors:n,filterRules:r,sourceCode:i}){invariant(i);const{preProcess:o,postProcess:a}=this.processor.processor(i.ext);let u=i.filePath;const c=[],l=[],f=[];let d=i.text;for(const h of n.fixableDescriptors){const n=await parseByPlugin({preProcess:o,sourceText:d,filePath:i.filePath});if(n instanceof Error)throw n;const g=new TextlintSourceCodeImpl_TextlintSourceCodeImpl({text:n.text,ast:n.ast,filePath:u,ext:i.ext}),m=new fixer_task_TextLintCoreTask({config:e,fixableRuleDescriptor:h,filterRuleDescriptors:r,sourceCode:g,configBaseDir:t}),x=await task_runner_TaskRunner.process(m),b=await a(x,i.filePath),y={messages:this.messageProcessManager.process(b.messages),filePath:b.filePath?b.filePath:""};u=y.filePath;const v=applyFixesToSourceCode(g,y.messages);Array.prototype.push.apply(c,v.applyingMessages),Array.prototype.push.apply(l,v.remainingMessages),Array.prototype.push.apply(f,v.messages),v.fixed&&(d=v.output)}return A("Finish Processing: "+u),A("applyingMessages: "+c.length),A("remainingMessages: "+l.length),{filePath:u||"",output:d,messages:f,applyingMessages:c,remainingMessages:l}}}class linter_task_TextLintCoreTask extends textlint_core_task_TextLintCoreTask{constructor({config:e,configBaseDir:t,ruleDescriptors:n,filterRuleDescriptors:r,sourceCode:i}){super(),this.config=e,this.configBaseDir=t,this.ruleDescriptors=n,this.filterRuleDescriptors=r,this.sourceCode=i,this._setupRules()}start(){this.startTraverser(this.sourceCode)}_setupRules(){const e=this.sourceCode,t=this.createReporter(e),n=this.createShouldIgnore();this.ruleDescriptors.lintableDescriptors.forEach(n=>{const r=n.normalizedOptions,i=new TextlintRuleContextImpl_TextlintRuleContextImpl({ruleId:n.id,severityLevel:getSeverity(r),sourceCode:e,report:t,configBaseDir:this.configBaseDir});this.tryToAddListenRule(n.linter,i,r)}),this.filterRuleDescriptors.descriptors.forEach(t=>{const r=new TextlintFilterRuleContextImpl_TextlintFilterRuleContextImpl({ruleId:t.id,sourceCode:e,ignoreReport:n,configBaseDir:this.configBaseDir,severityLevel:getSeverity(t.normalizedOptions)});this.tryToAddListenRule(t.filter,r,t.normalizedOptions)})}}class linter_processor_LinterProcessor{constructor(e,t){this.processor=e,this.messageProcessManager=t}async process({config:e,configBaseDir:t,ruleDescriptors:n,filterRuleDescriptors:r,sourceCode:i}){const{preProcess:o,postProcess:a}=this.processor.processor(i.ext);invariant("function"==typeof o&&"function"==typeof a,"processor should implement {preProcess, postProcess}");const u=new linter_task_TextLintCoreTask({config:e,ruleDescriptors:n,filterRuleDescriptors:r,sourceCode:i,configBaseDir:t}),c=await task_runner_TaskRunner.process(u),l=await a(c,i.filePath);return l.messages=this.messageProcessManager.process(l.messages),null==l.filePath&&(l.filePath=""),invariant(l.filePath&&l.messages.length>=0,"postProcess should return { messages, filePath } "),l}}class MessageProcessManager{constructor(e){this._preProcessors=e||[],this._processors=[]}add(e){this._processors.push(e)}remove(e){const t=this._processors.indexOf(e);-1!==t&&this._processors.splice(t,1)}process(e){const t=e;if(0===this._preProcessors.length)throw new Error("pre process should be > 0");const n=this._preProcessors.reduce((e,t)=>t(e),t);return 0===this._processors.length?n:this._processors.reduce((e,t)=>t(e),n)}}function filterMessages(e=[]){const t=e.filter(e=>e.type===a),n=e.filter(e=>e.type===u);return t.filter(e=>!n.some(t=>{const n=(({range:e,ignoredRange:t})=>{const[n,r]=t;return n<=e[0]&&e[1]<=r})({range:e.range,ignoredRange:t.range});return n&&t.ignoringRuleId?"*"===t.ignoringRuleId||e.ruleId===t.ignoringRuleId:n}))}function filterDuplicatedMessages(e=[]){return e.filter((t,n)=>!e.slice(n+1).some(e=>{return r=e,(n=t).range[0]===r.range[0]&&n.range[1]===r.range[1]&&n.severity===r.severity&&n.message===r.message;var n,r}))}function filterWarningMessages(e=[]){return e.filter(e=>e.severity===d.error)}function through(e=[]){return e}function sortByLineColumn(e){return e.sort((function(e,t){const n=e.line-t.line;return 0===n?e.column-t.column:n}))}function hasLinter(e){return"function"==typeof e.linter||"function"==typeof e}function hasFixer(e){return"function"==typeof e.fixer&&hasLinter(e)}function assertRuleShape(e,t=""){if(void 0===e)throw new Error(`Definition of rule '${t}' was not found.`);if(!function isRuleModule(e){return hasLinter(e)||hasFixer(e)}(e))throw new Error(`Definition of rule '${t}' was not rule module.\nRule should export function:\nmodule.exports = function(context){\n // Your rule\n};`)}var S=n("equ2");class TextlintFilterRuleDescriptor_TextlintFilterRuleDescriptor{constructor(e){this.kernelFilterRule=e}get id(){return this.kernelFilterRule.ruleId}get rule(){return this.kernelFilterRule.rule}get enabled(){return!1!==this.rawOptions}get filter(){return function getFilter(e){if("function"==typeof e)return e;throw new Error("Not found filter function in the ruleCreator")}(this.rule)}get normalizedOptions(){const e={};return"boolean"==typeof this.kernelFilterRule.options||void 0===this.kernelFilterRule.options?e:this.kernelFilterRule.options}get rawOptions(){return this.kernelFilterRule.options}equals(e){return this.rule===e.rule&&Object(S.deepEqual)(this.normalizedOptions,e.normalizedOptions)}toKernel(){return this.kernelFilterRule}toJSON(){return{id:this.id,options:this.normalizedOptions}}}const filterDuplicateDescriptor=e=>{const t=[];return e.forEach(e=>{t.some(t=>t.equals(e))||t.push(e)}),t};class TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors{constructor(e=[]){this.ruleDescriptorList=e}toKernelFilterRulesFormat(){return this.withoutDuplicated().descriptors.map(e=>e.toKernel())}get descriptors(){return this.ruleDescriptorList.filter(e=>e.enabled)}get allDescriptors(){return this.ruleDescriptorList}withoutDuplicated(){const e=filterDuplicateDescriptor(this.ruleDescriptorList);return new TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors(e)}toJSON(){return this.descriptors.map(e=>e.toJSON())}}class TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor{constructor(e){this.textlintKernelRule=e,assertRuleShape(e.rule,e.ruleId)}get id(){return this.textlintKernelRule.ruleId}get rule(){return this.textlintKernelRule.rule}get enabled(){return!1!==this.rawOptions}get linter(){return function getLinter(e){if("function"==typeof e.linter)return e.linter;if("function"==typeof e)return e;throw new Error("Not found linter function in the ruleCreator")}(this.rule)}get normalizedOptions(){const e={};return"boolean"==typeof this.textlintKernelRule.options||void 0===this.textlintKernelRule.options?e:this.textlintKernelRule.options}get rawOptions(){return this.textlintKernelRule.options}equals(e){return this.rule===e.rule&&Object(S.deepEqual)(this.normalizedOptions,e.normalizedOptions)}toKernel(){return this.textlintKernelRule}toJSON(){return{id:this.id,options:this.normalizedOptions}}}class TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor extends TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor{get fixer(){return function getFixer(e){if(!hasLinter(e))throw new Error("fixer module should have also linter function.");if(hasFixer(e))return e.fixer;throw new Error("Not found fixer function in the ruleCreator")}(this.rule)}}class TextlintRuleDescriptors_TextlintRuleDescriptors{constructor(e=[]){this.ruleDescriptorList=e}toKernelRulesFormat(){return this.withoutDuplicated().lintableDescriptors.map(e=>e.toKernel())}get lintableDescriptors(){return this.descriptors.filter(e=>e instanceof TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor)}get fixableDescriptors(){return this.descriptors.filter(e=>e instanceof TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor)}get descriptors(){return this.ruleDescriptorList.filter(e=>e.enabled)}get allDescriptors(){return this.ruleDescriptorList}withoutDuplicated(){const e=filterDuplicateDescriptor(this.ruleDescriptorList);return new TextlintRuleDescriptors_TextlintRuleDescriptors(e)}toJSON(){return this.ruleDescriptorList.map(e=>e.toJSON())}}class TextlintPluginDescriptors_TextlintPluginDescriptors{constructor(e=[]){this.pluginDescriptorList=e}get descriptors(){return this.pluginDescriptorList.filter(e=>e.enabled)}get allDescriptors(){return this.pluginDescriptorList}get availableExtensions(){return this.descriptors.reduce((e,t)=>e.concat(t.availableExtensions),[])}findPluginDescriptorWithExt(e){return this.descriptors.find(t=>t.availableExtensions.includes(e))}withoutDuplicated(){const e=filterDuplicateDescriptor(this.pluginDescriptorList);return new TextlintPluginDescriptors_TextlintPluginDescriptors(e)}toKernelPluginsFormat(){return this.descriptors.map(e=>e.toKernel())}toJSON(){return this.descriptors.map(e=>e.toJSON())}}class TextlintPluginDescriptor_TextlintPluginDescriptor{constructor(e){if(this.plugin=e,this.plugin=e,!this.plugin.plugin.Processor)throw new Error("Plugin should have Processor property.\nmodule.exports = {\n Processor: class Processor{ ... }\n}\n");this.processor=new e.plugin.Processor(this.normalizedOptions)}get id(){return this.plugin.pluginId}get enabled(){return!1!==this.rawOptions}get availableExtensions(){return(e=>{if("function"==typeof e.availableExtensions)return e.availableExtensions();const t=e.constructor;if("function"==typeof t.availableExtensions)return t.availableExtensions();throw new Error(`Plugin(${e}) should implement availableExtensions() method`)})(this.processor)}get normalizedOptions(){const e={};return"boolean"==typeof this.plugin.options||void 0===this.plugin.options?e:this.plugin.options}get rawOptions(){return this.plugin.options}toKernel(){return this.plugin}equals(e){return this.plugin.plugin===e.plugin.plugin&&Object(S.deepEqual)(this.plugin.options,e.plugin.options)}toJSON(){return{id:this.id,options:this.normalizedOptions}}}class TextlintKernelDescriptor_TextlintKernelDescriptor{constructor(e){var t;this.args=e,this.rule=(e=>{const t=e.map(e=>hasFixer(e.rule)?new TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor(e):new TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor(e));return new TextlintRuleDescriptors_TextlintRuleDescriptors(t)})(e.rules),this.filterRule=(t=e.filterRules,new TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors(t.map(e=>new TextlintFilterRuleDescriptor_TextlintFilterRuleDescriptor(e)))),this.plugin=(e=>new TextlintPluginDescriptors_TextlintPluginDescriptors(e.map(e=>new TextlintPluginDescriptor_TextlintPluginDescriptor(e))))(e.plugins),this.configBaseDir=e.configBaseDir}get availableExtensions(){return this.plugin.availableExtensions}shallowMerge(e){return new TextlintKernelDescriptor_TextlintKernelDescriptor({...this.args,...e})}concat(e){var t;return new TextlintKernelDescriptor_TextlintKernelDescriptor({configBaseDir:null!==(t=e.configBaseDir)&&void 0!==t?t:this.configBaseDir,rules:this.rule.toKernelRulesFormat().concat(e.rule.toKernelRulesFormat()),filterRules:this.filterRule.toKernelFilterRulesFormat().concat(e.filterRule.toKernelFilterRulesFormat()),plugins:this.plugin.toKernelPluginsFormat().concat(e.plugin.toKernelPluginsFormat())})}findPluginDescriptorWithExt(e){return this.plugin.findPluginDescriptorWithExt(e)}toKernelOptions(){return{configBaseDir:this.configBaseDir,rules:this.rule.toKernelRulesFormat(),filterRules:this.filterRule.toKernelFilterRulesFormat(),plugins:this.plugin.toKernelPluginsFormat()}}toJSON(){return{rule:this.rule.toJSON(),filterRule:this.filterRule.toJSON(),plugin:this.plugin.toJSON(),configBaseDir:this.configBaseDir}}}var T=n("9lTW");function test(e){T.strictEqual(typeof e,"object"),T.strictEqual(typeof e.type,"string"),T.ok(e.type.length>=1),T.doesNotThrow((function(){JSON.parse(JSON.stringify(e))})),null!==e.children&&void 0!==e.children&&(T.ok(Array.isArray(e.children)),e.children.forEach(test)),null!==e.value&&void 0!==e.value&&T.strictEqual(typeof e.value,"string");const t=e.position;if(null!=t){T.strictEqual(typeof t,"object");const e=t.start,n=t.indent,r=t.end;null!=e&&(T.strictEqual(typeof e,"object"),null!==e.line&&void 0!==e.line&&(T.strictEqual(typeof e.line,"number"),T.ok(e.line>=0)),null!==e.column&&void 0!==e.column&&(T.strictEqual(typeof e.column,"number"),T.ok(e.column>=0)),null!==e.offset&&void 0!==e.offset&&(T.strictEqual(typeof e.offset,"number"),T.ok(e.offset>=0))),null!=r&&(T.strictEqual(typeof r,"object"),null!==r.line&&void 0!==r.line&&(T.strictEqual(typeof r.line,"number"),T.ok(r.line>=0)),null!==r.column&&void 0!==r.column&&(T.strictEqual(typeof r.column,"number"),T.ok(r.column>=0)),null!==r.offset&&void 0!==r.offset&&(T.strictEqual(typeof r.offset,"number"),T.ok(r.offset>=0))),null!=n&&(T.ok(Array.isArray(n)),n.forEach((function(e){T.strictEqual(typeof e,"number"),T.ok(e>=0)})))}}var P=n("B+7w");const B=n.n(P)()("textlint/ast-tester"),createMessage=({node:e,message:t})=>`${t}\n${JSON.stringify(e,null,4)}`;function isTxtAST(e){try{src_test(e)}catch(e){return B("This is not TxtAST",e),!1}return!0}function src_test(e){test(e),T.strictEqual(typeof e,"object",createMessage({message:"invalid node: node should be object",node:e})),T.strictEqual(typeof e.type,"string",createMessage({message:"invalid type: type should be string",node:e})),T.ok(e.type.length>=1,createMessage({message:"invalid type: type is empty string",node:e})),T.doesNotThrow((function(){JSON.parse(JSON.stringify(e))}),createMessage({message:"invalid node: node should be serializable",node:e})),null!==e.children&&void 0!==e.children&&(T.ok(Array.isArray(e.children),createMessage({message:"invalid children: children should be an array",node:e})),e.children.forEach(src_test)),null!==e.value&&void 0!==e.value&&T.strictEqual(typeof e.value,"string",createMessage({message:"invalid value: value should be string",node:e})),T.ok(null!==e.raw&&void 0!==e.raw,createMessage({message:"invalid raw: raw is undefined",node:e})),T.strictEqual(typeof e.raw,"string",createMessage({message:"invalid raw: raw is not string",node:e}));const t=e.loc;T.ok(null!=t,createMessage({message:"invalid loc: node.loc is undefined",node:e})),T.strictEqual(typeof t,"object",createMessage({message:"invalid loc: node.loc should be object. it should have { start, end } property",node:e}));const n=t.start,r=t.end;null!=n&&(T.strictEqual(typeof n,"object"),null!==n.line&&void 0!==n.line&&(T.strictEqual(typeof n.line,"number"),T.ok(n.line>=0)),null!==n.column&&void 0!==n.column&&(T.strictEqual(typeof n.column,"number"),T.ok(n.column>=0)),null!==n.offset&&void 0!==n.offset&&(T.strictEqual(typeof n.offset,"number"),T.ok(n.offset>=0))),null!=r&&(T.strictEqual(typeof r,"object"),null!==r.line&&void 0!==r.line&&(T.strictEqual(typeof r.line,"number"),T.ok(r.line>=0)),null!==r.column&&void 0!==r.column&&(T.strictEqual(typeof r.column,"number"),T.ok(r.column>=0)),null!==r.offset&&void 0!==r.offset&&(T.strictEqual(typeof r.offset,"number"),T.ok(r.offset>=0)));const i=e.range;T.ok(null!=i,createMessage({message:"invalid range: range should be an array",node:e})),T.ok(Array.isArray(i),createMessage({message:"invalid range: range should be an array",node:e})),i.forEach((function(t){T.strictEqual(typeof t,"number",createMessage({message:"invalid index: index should be number",node:e})),T.ok(t>=0,createMessage({message:"invalid index: index >= 0",node:e}))})),T.ok(i[0]<=i[1],createMessage({message:"invalid range: range[0] should be less than range[1]",node:e}))}const O=m()("textlint:kernel");function addingAtFileNameToError(e,t){return e?`${t}\nat ${e}`:t}class textlint_kernel_TextlintKernel{constructor(e={}){this.config=e,this.messageProcessManager=new MessageProcessManager([filterMessages]),this.messageProcessManager.add(filterDuplicatedMessages),this.messageProcessManager.add(function createSeverityFilter(e){return e.quiet?filterWarningMessages:through}(this.config)),this.messageProcessManager.add(sortByLineColumn)}lintText(e,t){return Promise.resolve().then(()=>{const n=new TextlintKernelDescriptor_TextlintKernelDescriptor({rules:t.rules||[],filterRules:t.filterRules||[],plugins:t.plugins||[]});return this._parallelProcess({descriptor:n,text:e,options:t})})}fixText(e,t){return Promise.resolve().then(()=>{const n=new TextlintKernelDescriptor_TextlintKernelDescriptor({rules:t.rules||[],filterRules:t.filterRules||[],plugins:t.plugins||[]});return this._sequenceProcess({descriptor:n,options:t,text:e})})}async _parallelProcess({descriptor:e,text:t,options:n}){const{ext:i,filePath:o,configBaseDir:a}=n,u=e.findPluginDescriptorWithExt(i);if(void 0===u)throw new Error("Not found available plugin for "+i);O("used plugin %j",u.id);const c=u.processor,{preProcess:l,postProcess:f}=c.processor(i);invariant("function"==typeof l&&"function"==typeof f,u.id+" processor should implements {preProcess, postProcess}");const d=await parseByPlugin({preProcess:l,sourceText:t,filePath:o});if(d instanceof Error)return((e,t)=>({filePath:null!=t?t:"",messages:[{message:e,type:"lint",loc:{start:{line:1,column:0},end:{line:1,column:0}},index:0,line:1,column:0,range:[0,1],severity:2,ruleId:"plugin-error"}]}))(`Failed to parse text by plugin: ${u.id}\n\nPlease report this error with the content to plugin author.\n\n${d.stack} \n`,o);const h=isPluginParsedObject(d),g=h?d.text:t,m=h?d.ast:d;invariant("string"==typeof g,u.id+" processor should return correct text"),invariant("object"==typeof m,u.id+" processor should return correct AST object"),r.a.runningTester&&invariant(isTxtAST(m),u.id+' processor return invalid AST object. Please check out @textlint/ast-tester.\n \nYou can check the validation result with "DEBUG=textlint*" env\n\nSee https://textlint.github.io/docs/plugin.html');const x=new TextlintSourceCodeImpl_TextlintSourceCodeImpl({text:g,ast:m,ext:i,filePath:o});O("process file %s",o);const b=new linter_processor_LinterProcessor(c,this.messageProcessManager);return await b.process({config:this.config,ruleDescriptors:e.rule,filterRuleDescriptors:e.filterRule,sourceCode:x,configBaseDir:a}).catch(e=>(e.message=addingAtFileNameToError(o,e.message),Promise.reject(e)))}async _sequenceProcess({descriptor:e,text:t,options:n}){const{ext:i,filePath:o,configBaseDir:a}=n,u=e.findPluginDescriptorWithExt(i);if(void 0===u)throw new Error("Not found available plugin for "+i);O("used plugin %j",u.id);const c=u.processor,{preProcess:l,postProcess:f}=c.processor(i);invariant("function"==typeof l&&"function"==typeof f,u.id+" processor should implements {preProcess, postProcess}");const d=await Promise.resolve(l(t,o)),h=isPluginParsedObject(d),g=h?d.text:t,m=h?d.ast:d;invariant("string"==typeof g,u.id+" processor should return correct text"),invariant("object"==typeof m,u.id+" processor should return correct AST object"),r.a.runningTester&&invariant(isTxtAST(m),u.id+' processor return invalid AST object. Please check out @textlint/ast-tester.\n \nYou can check the validation result with "DEBUG=textlint*" env\n\nSee https://textlint.github.io/docs/plugin.html');const x=new TextlintSourceCodeImpl_TextlintSourceCodeImpl({text:g,ast:m,ext:i,filePath:o});O("process file %s",o);const b=new fixer_processor_FixerProcessor(c,this.messageProcessManager);return await b.process({config:this.config,ruleDescriptors:e.rule,filterRules:e.filterRule,sourceCode:x,configBaseDir:a}).catch(e=>(e.message=addingAtFileNameToError(o,e.message),Promise.reject(e)))}}},equ2:function(e,t,n){!function(e){"use strict";function createDefaultIsNestedEqual(e){return function isEqual(t,n,r,i,o,a,u){return e(t,n,u)}}function createIsCircular(e){return function isCircular(t,n,r,i){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r,i);var o=i.get(t),a=i.get(n);if(o&&a)return o===n&&a===t;i.set(t,n),i.set(n,t);var u=e(t,n,r,i);return i.delete(t),i.delete(n),u}}function merge(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}function isPlainObject(e){return e.constructor===Object||null==e.constructor}function isPromiseLike(e){return"function"==typeof e.then}function sameValueZeroEqual(e,t){return e===t||e!=e&&t!=t}var t=Object.prototype.toString;function createComparator(e){var n=e.areArraysEqual,r=e.areDatesEqual,i=e.areMapsEqual,o=e.areObjectsEqual,a=e.areRegExpsEqual,u=e.areSetsEqual,c=(0,e.createIsNestedEqual)(comparator);function comparator(e,l,f){if(e===l)return!0;if(!e||!l||"object"!=typeof e||"object"!=typeof l)return e!=e&&l!=l;if(isPlainObject(e)&&isPlainObject(l))return o(e,l,c,f);var d=Array.isArray(e),h=Array.isArray(l);if(d||h)return d===h&&n(e,l,c,f);var g=t.call(e);return g===t.call(l)&&("[object Date]"===g?r(e,l,c,f):"[object RegExp]"===g?a(e,l,c,f):"[object Map]"===g?i(e,l,c,f):"[object Set]"===g?u(e,l,c,f):"[object Object]"===g||"[object Arguments]"===g?!isPromiseLike(e)&&!isPromiseLike(l)&&o(e,l,c,f):("[object Boolean]"===g||"[object Number]"===g||"[object String]"===g)&&sameValueZeroEqual(e.valueOf(),l.valueOf()))}return comparator}function areArraysEqual(e,t,n,r){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!n(e[i],t[i],i,i,e,t,r))return!1;return!0}var n=createIsCircular(areArraysEqual);function areDatesEqual(e,t){return sameValueZeroEqual(e.valueOf(),t.valueOf())}function areMapsEqual(e,t,n,r){var i=e.size===t.size;if(!i)return!1;if(!e.size)return!0;var o={},a=0;return e.forEach((function(u,c){if(i){var l=!1,f=0;t.forEach((function(i,d){l||o[f]||!(l=n(c,d,a,f,e,t,r)&&n(u,i,c,d,e,t,r))||(o[f]=!0),f++})),a++,i=l}})),i}var r=createIsCircular(areMapsEqual),i=Object.prototype.hasOwnProperty;function areObjectsEqual(e,t,n,r){var o,a=Object.keys(e),u=a.length;if(Object.keys(t).length!==u)return!1;for(;u-- >0;){if("_owner"===(o=a[u])){var c=!!e.$$typeof,l=!!t.$$typeof;if((c||l)&&c!==l)return!1}if(!i.call(t,o)||!n(e[o],t[o],o,o,e,t,r))return!1}return!0}var o=createIsCircular(areObjectsEqual);function areRegExpsEqual(e,t){return e.source===t.source&&e.flags===t.flags}function areSetsEqual(e,t,n,r){var i=e.size===t.size;if(!i)return!1;if(!e.size)return!0;var o={};return e.forEach((function(a,u){if(i){var c=!1,l=0;t.forEach((function(i,f){c||o[l]||!(c=n(a,i,u,f,e,t,r))||(o[l]=!0),l++})),i=c}})),i}var a=createIsCircular(areSetsEqual),u=Object.freeze({areArraysEqual:areArraysEqual,areDatesEqual:areDatesEqual,areMapsEqual:areMapsEqual,areObjectsEqual:areObjectsEqual,areRegExpsEqual:areRegExpsEqual,areSetsEqual:areSetsEqual,createIsNestedEqual:createDefaultIsNestedEqual}),c=Object.freeze({areArraysEqual:n,areDatesEqual:areDatesEqual,areMapsEqual:r,areObjectsEqual:o,areRegExpsEqual:areRegExpsEqual,areSetsEqual:a,createIsNestedEqual:createDefaultIsNestedEqual}),l=createComparator(u),f=createComparator(merge(u,{createIsNestedEqual:function(){return sameValueZeroEqual}})),d=createComparator(c),h=createComparator(merge(c,{createIsNestedEqual:function(){return sameValueZeroEqual}}));e.circularDeepEqual=function circularDeepEqual(e,t){return d(e,t,new WeakMap)},e.circularShallowEqual=function circularShallowEqual(e,t){return h(e,t,new WeakMap)},e.createCustomCircularEqual=function createCustomCircularEqual(e){var t=createComparator(merge(c,e(c)));return function(e,n,r){return void 0===r&&(r=new WeakMap),t(e,n,r)}},e.createCustomEqual=function createCustomEqual(e){return createComparator(merge(u,e(u)))},e.deepEqual=function deepEqual(e,t){return l(e,t,void 0)},e.sameValueZeroEqual=sameValueZeroEqual,e.shallowEqual=function shallowEqual(e,t){return f(e,t,void 0)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},f8fV:function(e,t,n){e.exports=function create(e){var t=(e||{}).singleTilde,n={tokenize:function tokenizeStrikethrough(e,n,i){var o=this.previous,a=this.events,u=0;return function start(t){if(126!==t||126===o&&"characterEscape"!==a[a.length-1][1].type)return i(t);return e.enter("strikethroughSequenceTemporary"),more(t)};function more(a){var c,l,f=r(o);return 126===a?u>1?i(a):(e.consume(a),u++,more):u<2&&!t?i(a):(c=e.exit("strikethroughSequenceTemporary"),l=r(a),c._open=!l||2===l&&f,c._close=!f||2===f&&l,n(a))}},resolveAll:function resolveAllStrikethrough(e,t){var n,r,u,c,l=-1;for(;++le.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:b,r=[],i=[],o=!0,a=n.includeSymbols?own_enumerable_keys:Object.keys,u=!!n.immutable;return function walker(e){var c=u?copy(e,n):e,f={},d=!0,h={node:c,node_:e,path:[].concat(r),parent:i[i.length-1],parents:i,key:r[r.length-1],isRoot:0===r.length,level:r.length,circular:void 0,isLeaf:!1,notLeaf:!0,notRoot:!0,isFirst:!1,isLast:!1,update:function update(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(d=!1)},delete:function _delete(e){delete h.parent.node[h.key],e&&(d=!1)},remove:function remove(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(d=!1)},keys:null,before:function before(e){f.before=e},after:function after(e){f.after=e},pre:function pre(e){f.pre=e},post:function post(e){f.post=e},stop:function stop(){o=!1},block:function block(){d=!1}};if(!o)return h;function update_state(){if("object"===_type_of(h.node)&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=a(h.node)),h.isLeaf=0===h.keys.length;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:b;_class_call_check(this,Traverse),__privateAdd(this,m),__privateAdd(this,x),__privateSet(this,m,e),__privateSet(this,x,t)}return function _create_class(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(Traverse,[{key:"get",value:function get(e){for(var t=__privateGet(this,m),n=0;t&&n-1?(d=1,y.interrupt?t(r):continuation(r)):l.indexOf(m.toLowerCase())>-1?(d=6,47===r?(e.consume(r),basicSelfClosing):y.interrupt?t(r):continuation(r)):(d=7,y.interrupt?n(r):h?completeAttributeNameBefore(r):completeClosingTagAfter(r)):45===r||i(r)?(e.consume(r),m+=c(r),tagName):n(r)}function basicSelfClosing(r){return 62===r?(e.consume(r),y.interrupt?t:continuation):n(r)}function completeClosingTagAfter(t){return u(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||r(t)?(e.consume(t),completeAttributeName):u(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):u(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),b=t,completeAttributeValueQuoted):u(t)?(e.consume(t),completeAttributeValueBefore):(b=void 0,completeAttributeValueUnquoted(t))}function completeAttributeValueQuoted(t){return t===b?(e.consume(t),completeAttributeValueQuotedAfter):null===t||o(t)?n(t):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||u(e)?completeAttributeNameBefore(e):n(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):n(t)}function completeAfter(t){return u(t)?(e.consume(t),completeAfter):null===t||o(t)?continuation(t):n(t)}function continuation(t){return 45===t&&2===d?(e.consume(t),continuationCommentInside):60===t&&1===d?(e.consume(t),continuationRawTagOpen):62===t&&4===d?(e.consume(t),continuationClose):63===t&&3===d?(e.consume(t),continuationDeclarationInside):93===t&&5===d?(e.consume(t),continuationCharacterDataInside):!o(t)||6!==d&&7!==d?null===t||o(t)?continuationAtLineEnding(t):(e.consume(t),continuation):e.check(g,continuationClose,continuationAtLineEnding)(t)}function continuationAtLineEnding(t){return e.exit("htmlFlowData"),htmlContinueStart(t)}function htmlContinueStart(t){return null===t?done(t):o(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),htmlContinueStart):(e.enter("htmlFlowData"),continuation(t))}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),m="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){return 62===t&&f.indexOf(m.toLowerCase())>-1?(e.consume(t),continuationClose):r(t)&&m.length<8?(e.consume(t),m+=c(t),continuationRawEndTag):continuation(t)}function continuationCharacterDataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):continuation(t)}function continuationClose(t){return null===t||o(t)?(e.exit("htmlFlowData"),done(t)):(e.consume(t),continuationClose)}function done(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function resolveToHtmlFlow(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},g={tokenize:function tokenizeNextBlank(e,t,n){return function start(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(d,t,n)}},partial:!0};e.exports=h},ifv4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StructuredSource=void 0;const r=n("YIwW");t.StructuredSource=class StructuredSource{constructor(e){this.indice=[0];let t=/[\r\n\u2028\u2029]/g;const n=e.length;for(t.lastIndex=0;;){let r=t.exec(e);if(!r)break;let i=r.index;13===e.charCodeAt(i)&&10===e.charCodeAt(i+1)&&(i+=1);let o=i+1;if(n-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),afterLabelEnd)};function afterLabelEnd(n){return 40===n?e.attempt(m,t,i?t:balanced)(n):91===n?e.attempt(x,t,i?e.attempt(b,t,balanced):balanced)(n):i?t(n):balanced(n)}function balanced(e){return r._balanced=!0,n(e)}},resolveTo:function resolveToLabelEnd(e,t){var n,r,a,l,f,d,h,g=e.length,m=0;for(;g--;)if(l=e[g][1],f){if("link"===l.type||"labelLink"===l.type&&l._inactive)break;"enter"===e[g][0]&&"labelLink"===l.type&&(l._inactive=!0)}else if(d){if("enter"===e[g][0]&&("labelImage"===l.type||"labelLink"===l.type)&&!l._balanced&&(f=g,"labelLink"!==l.type)){m=2;break}}else"labelEnd"===l.type&&(d=g);return n={type:"labelLink"===e[f][1].type?"link":"image",start:c(e[f][1].start),end:c(e[e.length-1][1].end)},r={type:"label",start:c(e[f][1].start),end:c(e[d][1].end)},a={type:"labelText",start:c(e[f+m+2][1].end),end:c(e[d-2][1].start)},h=i(h=[["enter",n,t],["enter",r,t]],e.slice(f+1,f+m+3)),h=i(h,[["enter",a,t]]),h=i(h,u(t.parser.constructs.insideSpan.null,e.slice(f+m+4,d-3),t)),h=i(h,[["exit",a,t],e[d-2],e[d-1],["exit",r,t]]),h=i(h,e.slice(d+1)),h=i(h,[["exit",n,t]]),o(e,f,e.length,h),e},resolveAll:function resolveAllLabelEnd(e){var t,n=-1;for(;++n-1?void 0:4);function closingSequence(t){return t===u?(e.consume(t),i++,closingSequence):i-1?void 0:4)(i)}}},exit:function tokenizeListEnd(e){e.exit(this.containerState.type)}},d={tokenize:function tokenizeListItemPrefixWhitespace(e,t,n){var r=this;return u(e,(function afterPrefix(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},h={tokenize:function tokenizeIndent(e,t,n){var r=this;return u(e,(function afterPrefix(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=f},jv5L:function(e,t,n){var r=n("32EX"),i=n("ki31"),o=n("DHYa"),a=n("qD0n"),u={}.hasOwnProperty;function extension(e,t){var n,r,i;for(n in t)r=u.call(e,n)?e[n]:e[n]={},i=t[n],"canContainEols"===n?e[n]=[].concat(r,i):Object.assign(r,i)}e.exports=function configure(e){var t={canContainEols:[]},n=e.length,r=-1;for(;++r-1?void 0:4)}function afterPrefix(t){return e.enter("htmlTextData"),h(t)}function end(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=l},kTcH:function(e,t,n){"use strict";var r=/[\0\t\n\r]/g;e.exports=function preprocess(){var e,t=!0,n=1,i="";return function preprocessor(o,a,u){var c,l,f,d,h,g=[];o=i+o.toString(a),f=0,i="",t&&(65279===o.charCodeAt(0)&&f++,t=void 0);for(;f{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("pQLS")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},mjWT:function(e,t,n){"use strict";var r={name:"labelStartImage",tokenize:function tokenizeLabelStartImage(e,t,n){var r=this;return function start(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),open};function open(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),after):n(t)}function after(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n("is2r").resolveAll};e.exports=r},nImS:function(e,t,n){"use strict";var r=n("mKLD"),i=n("FUqJ"),o=n("bct4");e.exports=function destinationFactory(e,t,n,a,u,c,l,f,d){var h=d||1/0,g=0;return function start(t){if(60===t)return e.enter(a),e.enter(u),e.enter(c),e.consume(t),e.exit(c),destinationEnclosedBefore;if(r(t)||41===t)return n(t);return e.enter(a),e.enter(l),e.enter(f),e.enter("chunkString",{contentType:"string"}),destinationRaw(t)};function destinationEnclosedBefore(n){return 62===n?(e.enter(c),e.consume(n),e.exit(c),e.exit(u),e.exit(a),t):(e.enter(f),e.enter("chunkString",{contentType:"string"}),destinationEnclosed(n))}function destinationEnclosed(t){return 62===t?(e.exit("chunkString"),e.exit(f),destinationEnclosedBefore(t)):null===t||60===t||o(t)?n(t):(e.consume(t),92===t?destinationEnclosedEscape:destinationEnclosed)}function destinationEnclosedEscape(t){return 60===t||62===t||92===t?(e.consume(t),destinationEnclosed):destinationEnclosed(t)}function destinationRaw(o){return 40===o?++g>h?n(o):(e.consume(o),destinationRaw):41===o?g--?(e.consume(o),destinationRaw):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):null===o||i(o)?g?n(o):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):r(o)?n(o):(e.consume(o),92===o?destinationRawEscape:destinationRaw)}function destinationRawEscape(t){return 40===t||41===t||92===t?(e.consume(t),destinationRaw):destinationRaw(t)}}},nZ1L:function(e,t,n){"use strict";var r=n("C8ev");e.exports=function shallow(e){return r({},e)}},oJEb:function(e,t,n){e.exports=function combineExtensions(e){var t={},n=-1;for(;++n{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function assertNonEmpty(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}VFile.prototype.toString=function toString(e){return(this.contents||"").toString(e)},Object.defineProperty(VFile.prototype,"path",{get:function getPath(){return this.history[this.history.length-1]},set:function setPath(e){assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(VFile.prototype,"dirname",{get:function getDirname(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function setDirname(e){assertPath(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(VFile.prototype,"basename",{get:function getBasename(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function setBasename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(VFile.prototype,"extname",{get:function getExtname(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function setExtname(e){if(assertPart(e,"extname"),assertPath(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(VFile.prototype,"stem",{get:function getStem(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function setStem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},u7hp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("2pUu"),i=n("9BLa"),o=n("S0DD"),a=n("vqy6"),u=n("7glH"),c=n("0xm9"),l=n("isAi"),f=n("Pw63"),d=n("glqd"),h=n("hhCb"),g=n("CGoh"),m=n("ES9B"),x=n("i07k"),b=n("kNum"),y=n("is2r"),v=n("mjWT"),C=n("YG3I"),k=n("obFG"),F=n("ji5D"),E=n("CprC"),w=n("ayp4"),D={42:F,43:F,45:F,48:F,49:F,50:F,51:F,52:F,53:F,54:F,55:F,56:F,57:F,62:a},A={91:h},S={"-2":f,"-1":f,32:f},T={35:m,42:w,45:[E,w],60:x,61:E,95:w,96:l,126:l},P={38:c,92:u},B={"-5":k,"-4":k,"-3":k,33:v,38:c,42:i,60:[o,b],91:C,92:[g,u],93:y,95:i,96:d},O={null:[i,r.resolver]};t.contentInitial=A,t.disable={null:[]},t.document=D,t.flow=T,t.flowInitial=S,t.insideSpan=O,t.string=P,t.text=B},uDje:function(e,t,n){var r=n("rm/B");e.exports=r(/\s/)},uGmZ:function(e,t,n){e.exports=n("CGL2")},"ueQ+":function(e,t,n){"use strict";function normalize(e){var t,n;return assertPath(e),t=47===e.charCodeAt(0),(n=function normalizeString(e,t){var n,r,i="",o=0,a=-1,u=0,c=-1;for(;++c<=e.length;){if(c2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=c,u=0;continue}}else if(i.length){i="",o=0,a=c,u=0;continue}t&&(i=i.length?i+"/..":"..",o=2)}else i.length?i+="/"+e.slice(a+1,c):i=e.slice(a+1,c),o=c-a-1;a=c,u=0}else 46===n&&u>-1?u++:u=-1}return i}(e,!t)).length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function assertPath(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function basename(e,t){var n,r,i,o,a=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(assertPath(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else u<0&&(i=!0,u=n+1);return u<0?"":e.slice(a,u)}if(t===e)return"";r=-1,o=t.length-1;for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else r<0&&(i=!0,r=n+1),o>-1&&(e.charCodeAt(n)===t.charCodeAt(o--)?o<0&&(u=n):(o=-1,u=r));a===u?u=r:u<0&&(u=e.length);return e.slice(a,u)},t.dirname=function dirname(e){var t,n,r;if(assertPath(e),!e.length)return".";t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function extname(e){var t,n,r,i=-1,o=0,a=-1,u=0;assertPath(e),r=e.length;for(;r--;)if(47!==(n=e.charCodeAt(r)))a<0&&(t=!0,a=r+1),46===n?i<0?i=r:1!==u&&(u=1):i>-1&&(u=-1);else if(t){o=r+1;break}if(i<0||a<0||0===u||1===u&&i===a-1&&i===o+1)return"";return e.slice(i,a)},t.join=function join(){var e,t=-1;for(;++t":""))+")");return visit;function visit(){var i,l,f=c.concat(e),d=[];if((!t||u(e,r,c[c.length-1]||null))&&!1===(d=function toResult(e){if(null!==e&&"object"==typeof e&&"length"in e)return e;if("number"==typeof e)return[!0,e];return[e]}(n(e,c)))[0])return d;if(e.children&&"skip"!==d[0])for(l=(o?e.children.length:-1)+a;l>-1&&l-1?void 0:4)}},exit:function exit(e){e.exit("blockQuote")}};e.exports=o},wH4i:function(e,t,n){"use strict";var r,i=n("penn"),o=n("jv5L"),a=n("ywEd");e.exports=function gfm(e){var t=this.data();!r&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(r=!0,console.warn("[remark-gfm] Warning: please upgrade to remark 13 to use this plugin"));function add(e,n){t[e]?t[e].push(n):t[e]=[n]}add("micromarkExtensions",i(e)),add("fromMarkdownExtensions",o),add("toMarkdownExtensions",a(e))}},wJMj:function(e,t,n){"use strict";e.exports=function fromMarkdown(e,t,n){"string"!=typeof t&&(n=t,t=void 0);return function compiler(e){var t=e||{},n=function configure(e,t){var n=-1;for(;++n-1&&(onenterdata.call(this,e),onexitdata.call(this,e))},link:closer((function onexitlink(){var e=this.stack[this.stack.length-1];getData("inReference")?(e.type+="Reference",e.referenceType=getData("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType);setData("referenceType")})),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function onexitreferencestring(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),setData("referenceType","full")},resourceDestinationString:function onexitresourcedestinationstring(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function onexitresourcetitlestring(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function onexitresource(){setData("inReference")},setextHeading:closer((function onexitsetextheading(){setData("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function onexitsetextheadinglinesequence(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function onexitsetextheadingtext(){setData("setextHeadingSlurpLineEnding",!0)},strong:closer(),thematicBreak:closer()}},t.mdastExtensions||[]),c={};return function compile(e){var t,r,a={type:"root",children:[]},u=[],c=[],l=-1,f={stack:[a],tokenStack:u,config:n,enter:enter,exit:exit,buffer:buffer,resume:resume,setData:setData,getData:getData};for(;++l{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n999?n(c):93===c?i?(e.exit("chunkString"),l=e.exit("footnoteCallString"),a.indexOf(r(o.sliceSerialize(l)))<0?n(c):function end(n){return e.enter("footnoteCallLabelMarker"),e.consume(n),e.exit("footnoteCallLabelMarker"),e.exit("footnoteCall"),t}(c)):n(c):(e.consume(c),c<0||32===c||(i=!0),92===c?callEscape:callData)}function callEscape(t){return 91===t||92===t||93===t?(e.consume(t),u++,callData):callData(t)}}function tokenizeNoteStart(e,t,n){return function start(t){return 94!==t?n(t):(e.enter("inlineNoteStart"),e.enter("inlineNoteMarker"),e.consume(t),e.exit("inlineNoteMarker"),noteStart)};function noteStart(r){return 91!==r?n(r):(e.enter("inlineNoteStartMarker"),e.consume(r),e.exit("inlineNoteStartMarker"),e.exit("inlineNoteStart"),t)}}function tokenizeNoteEnd(e,t,n){var r=this;return function start(i){var o,a=r.events.length;for(;a--;)if("inlineNoteStart"===r.events[a][1].type){o=!0;break}if(93!==i||!o)return n(i);return e.enter("inlineNoteEnd"),e.enter("inlineNoteEndMarker"),e.consume(i),e.exit("inlineNoteEndMarker"),e.exit("inlineNoteEnd"),t}}function tokenizeDefinitionStart(e,t,n){var o,a,u=this,c=u.parser.footnotes||(u.parser.footnotes=[]),l=0;return function start(t){if(91!==t)return n(t);return e.enter("footnoteDefinition")._container=!0,e.enter("footnoteDefinitionLabel"),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),labelStart};function labelStart(t){return 94!==t?n(t):(e.enter("footnoteDefinitionMarker"),e.consume(t),e.exit("footnoteDefinitionMarker"),e.enter("footnoteDefinitionLabelString"),atBreak)}function atBreak(t){var i;return null===t||91===t||l>999?n(t):93===t?a?(i=e.exit("footnoteDefinitionLabelString"),o=r(u.sliceSerialize(i)),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),e.exit("footnoteDefinitionLabel"),labelAfter):n(t):-5===t||-4===t||-3===t?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l++,atBreak):(e.enter("chunkString").contentType="string",label(t))}function label(t){return null===t||-5===t||-4===t||-3===t||91===t||93===t||l>999?(e.exit("chunkString"),atBreak(t)):(t<0||32===t||(a=!0),l++,e.consume(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),l++,label):label(t)}function labelAfter(t){return 58!==t?n(t):(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),e.check(i,onBlank,nonBlank))}function onBlank(e){return u.containerState.initialBlankLine=!0,done(e)}function nonBlank(t){return-2===t||-1===t||32===t?(e.enter("footnoteDefinitionWhitespace"),e.consume(t),e.exit("footnoteDefinitionWhitespace"),done(t)):done(t)}function done(e){return c.indexOf(o)<0&&c.push(o),t(e)}}function tokenizeDefinitionContinuation(e,t,n){var r=this;return e.check(i,(function onBlank(e){r.containerState.initialBlankLine&&(r.containerState.furtherBlankLines=!0);return t(e)}),(function notBlank(i){if(r.containerState.furtherBlankLines||-2!==i&&-1!==i&&32!==i)return n(i);return r.containerState.initialBlankLine=void 0,r.containerState.furtherBlankLines=void 0,e.attempt(f,t,n)(i)}))}function footnoteDefinitionEnd(e){e.exit("footnoteDefinition")}},"/biz":function(e,t,n){"use strict";var r=n("Gdbo"),i=n("BEtg"),o=n("6dBs"),a=n("NkL+"),u=n("xkQk"),c=n("Esvb");e.exports=function unified(){var e,t=[],n=u(),i={},h=-1;return processor.data=function data(t,n){if("string"==typeof t)return 2===arguments.length?(assertUnfrozen("data",e),i[t]=n,processor):f.call(i,t)&&i[t]||null;if(t)return assertUnfrozen("data",e),i=t,processor;return i},processor.freeze=freeze,processor.attachers=t,processor.use=function use(n){var r;if(assertUnfrozen("use",e),null==n);else if("function"==typeof n)addPlugin.apply(null,arguments);else{if("object"!=typeof n)throw new Error("Expected usable value, not `"+n+"`");"length"in n?addList(n):addPreset(n)}r&&(i.settings=o(i.settings||{},r));return processor;function addPreset(e){addList(e.plugins),e.settings&&(r=o(r||{},e.settings))}function add(e){if("function"==typeof e)addPlugin(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?addPlugin.apply(null,e):addPreset(e)}}function addList(e){var t=-1;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("G79Q")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},"0xm9":function(e,t,n){"use strict";var r=n("WtKE"),i=n("Qgb1"),o=n("4x0+"),a=n("gphk");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=_interopDefaultLegacy(r),c={name:"characterReference",tokenize:function tokenizeCharacterReference(e,t,n){var r,c,l=this,f=0;return function start(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),open};function open(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),numeric):(e.enter("characterReferenceValue"),r=31,c=i,value(t))}function numeric(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,c=a,value):(e.enter("characterReferenceValue"),r=7,c=o,value(t))}function value(o){var a;return 59===o&&f?(a=e.exit("characterReferenceValue"),c!==i||u.default(l.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)):c(o)&&f++=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=o)return plural(e,t,o,"day");if(t>=i)return plural(e,t,i,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"2VS1":function(e,t,n){"use strict";n.d(t,"a",(function(){return Logger}));class Logger{static log(...e){console.log(...e)}static warn(...e){console.warn(...e)}static error(...e){console.error(...e)}}},"2c8N":function(e,t,n){t.unsafe=[{character:"[",inConstruct:["phrasing","label","reference"]}],t.handlers={footnote:footnote,footnoteDefinition:function footnoteDefinition(e,t,n){var i,c=n.enter("footnoteDefinition"),l=n.enter("label"),f="[^"+u(n,r(e),{before:"^",after:"]"})+"]:";return l(),i=a(o(e,n),(function map(e,t,n){if(t)return(n?"":" ")+e;return(n?f:f+" ")+e})),c(),i},footnoteReference:footnoteReference};var r=n("YrmG"),i=n("Lgux"),o=n("AyOT"),a=n("ivUp"),u=n("7DHj");function footnoteReference(e,t,n){var i=n.enter("footnoteReference"),o=n.enter("reference"),a=u(n,r(e),{before:"^",after:"]"});return o(),i(),"[^"+a+"]"}function footnote(e,t,n){var r=n.enter("footnote"),o=n.enter("label"),a="^["+i(e,n,{before:"[",after:"]"})+"]";return o(),r(),a}footnoteReference.peek=function footnoteReferencePeek(){return"["},footnote.peek=function footnotePeek(){return"^"}},"2eKz":function(e,t,n){"use strict";var r=n("bct4"),i=n("Mjva");e.exports=function titleFactory(e,t,n,o,a,u){var c;return function start(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),c=40===t?41:t,atFirstTitleBreak};function atFirstTitleBreak(n){return n===c?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),t):(e.enter(u),atTitleBreak(n))}function atTitleBreak(t){return t===c?(e.exit(u),atFirstTitleBreak(c)):null===t?n(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,atTitleBreak,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),title(t))}function title(t){return t===c||null===t||r(t)?(e.exit("chunkString"),atTitleBreak(t)):(e.consume(t),92===t?titleEscape:title)}function titleEscape(t){return t===c||92===t?(e.consume(t),title):title(t)}}},"2pUu":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("oV2h"),i=n("b/Vn"),o=initializeFactory("text"),a=initializeFactory("string"),u={resolveAll:createResolver()};function initializeFactory(e){return{tokenize:function initializeText(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,start,notText);return start;function start(e){return atBreak(e)?i(e):notText(e)}function notText(e){if(null!==e)return t.enter("data"),t.consume(e),data;t.consume(e)}function data(e){return atBreak(e)?(t.exit("data"),i(e)):(t.consume(e),data)}function atBreak(e){var t=r[e],i=-1;if(null===e)return!0;if(t)for(;++i=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=o)return plural(e,t,o,"day");if(t>=i)return plural(e,t,i,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"4x0+":function(e,t,n){"use strict";var r=n("5SCW")(/\d/);e.exports=r},"4zZp":function(e,t,n){e.exports=function createToMarkdown(e){var t,n=[],i={},o=r(e),a=o.length,u=-1;for(;++u-1)return nok();return e.tokenize.call(t?r({},v,t):v,y,ok,nok)(n)}}function ok(t){return e(l,f),i}function nok(e){return f.restore(),++c_&&(_=u);++ac)&&(B[a]=l)),P.push(f);S[D]=P,T[D]=O}var R;if(a=-1,u=_,"object"==typeof k&&"length"in k)for(;++aB[a]&&(B[a]=l),O[a]=l),P[a]=f;S.splice(1,0,P),T.splice(1,0,O),D=-1,A=S.length,d=[];for(;++Di[t])&&(i[t]=n)}}));const u=n.map((function(e){return e.map((function(e,t){return a[t](e,i[t])})).join(" | ")}));u.splice(1,0,i.map((function(e,t){return 0!==t&&t!==i.length-1&&e++,a[t](":",e+1,"-")})).join("|")),r.a.log(u.join("\n"))}(t)})),{time:function time(n,r){return void 0===t[n]&&(t[n]=0),async function(...i){let o=e.hrtime();await r(...i),o=e.hrtime(o),t[n]+=1e3*o[0]+o[1]/1e6}},enabled:i}}()}).call(this,n("8oxB"))},"5SCW":function(e,t,n){"use strict";var r=n("Ac7Z");e.exports=function regexCheck(e){return function check(t){return e.test(r(t))}}},"5pqq":function(e,t,n){"use strict";e.exports=function resolveAll(e,t,n){for(var r,i=[],o=-1;++o=h||u+1=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=o)return plural(e,t,o,"day");if(t>=i)return plural(e,t,i,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"8TND":function(e,t,n){"use strict";function convert(e){if(null==e)return ok;if("string"==typeof e)return function typeFactory(e){return function type(t){return Boolean(t&&t.type===e)}}(e);if("object"==typeof e)return"length"in e?function anyFactory(e){var t=[],n=-1;for(;++n1)for(var n=1;n1&&e[x][1].end.offset-e[x][1].start.offset>1?2:1,f={type:h>1?"strongSequence":"emphasisSequence",start:a(c(e[n][1].end),-h),end:c(e[n][1].end)},d={type:h>1?"strongSequence":"emphasisSequence",start:c(e[x][1].start),end:a(c(e[x][1].start),h)},l={type:h>1?"strongText":"emphasisText",start:c(e[n][1].end),end:c(e[x][1].start)},o={type:h>1?"strong":"emphasis",start:c(f.start),end:c(d.end)},e[n][1].end=c(f.start),e[x][1].start=c(d.end),g=[],e[n][1].end.offset-e[n][1].start.offset&&(g=r(g,[["enter",e[n][1],t],["exit",e[n][1],t]])),g=r(g,[["enter",o,t],["enter",f,t],["exit",f,t],["enter",l,t]]),g=r(g,u(t.parser.constructs.insideSpan.null,e.slice(n+1,x),t)),g=r(g,[["exit",l,t],["enter",d,t],["exit",d,t],["exit",o,t]]),e[x][1].end.offset-e[x][1].start.offset?(m=2,g=r(g,[["enter",e[x][1],t],["exit",e[x][1],t]])):m=0,i(e,n-1,x-n+3,g),x=n+g.length-m-2;break}x=-1;for(;++xObject(r.parse)(e),postProcess:(e,t)=>({messages:e,filePath:t||""})}}}}},"9lTW":function(e,t,n){"use strict";(function(t){var r=n("MgzW");function compare(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i=0;l--)if(d[l]!==h[l])return!1;for(l=d.length-1;l>=0;l--)if(c=d[l],!_deepEqual(e[c],t[c],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function isArguments(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function expectedException(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function _throws(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function _tryBlock(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&fail(o,n,"Missing expected exception"+r);var a="string"==typeof r,u=!e&&o&&!n;if((!e&&i.isError(o)&&a&&expectedException(o,n)||u)&&fail(o,n,"Got unwanted exception"+r),e&&o&&n&&!expectedException(o,n)||!e&&o)throw o}c.AssertionError=function AssertionError(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function getMessage(e){return truncate(inspect(e.actual),128)+" "+e.operator+" "+truncate(inspect(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=getName(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},i.inherits(c.AssertionError,Error),c.fail=fail,c.ok=ok,c.equal=function equal(e,t,n){e!=t&&fail(e,t,n,"==",c.equal)},c.notEqual=function notEqual(e,t,n){e==t&&fail(e,t,n,"!=",c.notEqual)},c.deepEqual=function deepEqual(e,t,n){_deepEqual(e,t,!1)||fail(e,t,n,"deepEqual",c.deepEqual)},c.deepStrictEqual=function deepStrictEqual(e,t,n){_deepEqual(e,t,!0)||fail(e,t,n,"deepStrictEqual",c.deepStrictEqual)},c.notDeepEqual=function notDeepEqual(e,t,n){_deepEqual(e,t,!1)&&fail(e,t,n,"notDeepEqual",c.notDeepEqual)},c.notDeepStrictEqual=function notDeepStrictEqual(e,t,n){_deepEqual(e,t,!0)&&fail(e,t,n,"notDeepStrictEqual",notDeepStrictEqual)},c.strictEqual=function strictEqual(e,t,n){e!==t&&fail(e,t,n,"===",c.strictEqual)},c.notStrictEqual=function notStrictEqual(e,t,n){e===t&&fail(e,t,n,"!==",c.notStrictEqual)},c.throws=function(e,t,n){_throws(!0,e,t,n)},c.doesNotThrow=function(e,t,n){_throws(!1,e,t,n)},c.ifError=function(e){if(e)throw e},c.strict=r((function strict(e,t){e||fail(e,!0,t,"==",strict)}),c,{equal:c.strictEqual,deepEqual:c.deepStrictEqual,notEqual:c.notStrictEqual,notDeepEqual:c.notDeepStrictEqual}),c.strict.strict=c.strict;var f=Object.keys||function(e){var t=[];for(var n in e)o.call(e,n)&&t.push(n);return t}}).call(this,n("yLpj"))},ADT3:function(e,t,n){"use strict";e.exports=function findAndReplace(e,t,n,r){var i,o;"string"==typeof t||t&&"function"==typeof t.exec?o=[[t,n]]:(o=t,r=n);return search(e,i=r||{},function handlerFactory(e){var t=e[0];return handler;function handler(n,r){var o,u,c,l,f=t[0],d=t[1],h=[],g=0,m=r.children.indexOf(n);for(f.lastIndex=0,u=f.exec(n.value);u&&(o=u.index,!1!==(l=d.apply(null,[].concat(u,{index:u.index,input:u.input})))&&(g!==o&&h.push({type:"text",value:n.value.slice(g,o)}),"string"==typeof l&&l.length>0&&(l={type:"text",value:l}),l&&(h=[].concat(h,l)),g=o+u[0].length),f.global);)u=f.exec(n.value);if(void 0===o?(h=[n],m--):(g1)for(c=handlerFactory(e.slice(1)),o=-1;++o{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("yYvY")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},B5Lt:function(e,t,n){e.exports=function flow(e,t){var n,i=e.children||[],o=[],a=-1;for(;++aa?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a))),n}},CprC:function(e,t,n){"use strict";var r=n("bct4"),i=n("b/Vn"),o=n("Mjva"),a={name:"setextUnderline",tokenize:function tokenizeSetextUnderline(e,t,n){var i,a,u=this,c=u.events.length;for(;c--;)if("lineEnding"!==u.events[c][1].type&&"linePrefix"!==u.events[c][1].type&&"content"!==u.events[c][1].type){a="paragraph"===u.events[c][1].type;break}return function start(t){if(!u.lazy&&(u.interrupt||a))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,closingSequence(t);return n(t)};function closingSequence(t){return t===i?(e.consume(t),closingSequence):(e.exit("setextHeadingLineSequence"),o(e,closingSequenceEnd,"lineSuffix")(t))}function closingSequenceEnd(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function resolveToSetextUnderline(e,t){var n,r,o,a,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){n=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),o||"definition"!==e[u][1].type||(o=u);a={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};e.exports=a},DHYa:function(e,t){function exit(e){this.exit(e)}function enterCell(e){this.enter({type:"tableCell",children:[]},e)}function replace(e,t){return"|"===t?t:e}t.enter={table:function enterTable(e){this.enter({type:"table",align:e._align,children:[]},e),this.setData("inTable",!0)},tableData:enterCell,tableHeader:enterCell,tableRow:function enterRow(e){this.enter({type:"tableRow",children:[]},e)}},t.exit={codeText:function exitCodeText(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,replace));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function exitTable(e){this.exit(e),this.setData("inTable")},tableData:exit,tableHeader:exit,tableRow:exit}},Dnzn:function(e,t,n){"use strict";n.r(t),n.d(t,"Syntax",(function(){return r.a})),n.d(t,"parse",(function(){return parse}));var r=n("lr8r");const i={root:r.a.Document,paragraph:r.a.Paragraph,blockquote:r.a.BlockQuote,listItem:r.a.ListItem,list:r.a.List,Bullet:"Bullet",heading:r.a.Header,code:r.a.CodeBlock,HtmlBlock:r.a.HtmlBlock,thematicBreak:r.a.HorizontalRule,text:r.a.Str,break:r.a.Break,emphasis:r.a.Emphasis,strong:r.a.Strong,html:r.a.Html,link:r.a.Link,image:r.a.Image,inlineCode:r.a.Code,delete:r.a.Delete,yaml:"Yaml",table:"Table",tableRow:"TableRow",tableCell:"TableCell",linkReference:"LinkReference",imageReference:"ImageReference",footnoteReference:"FootnoteReference",definition:"Definition",ReferenceDef:r.a.ReferenceDef};var o=n("hiFj"),a=n.n(o),u=n("SoEE"),c=n.n(u),l=n("/biz"),f=n.n(l),d=n("eASu"),h=n.n(d),g=n("wH4i"),m=n.n(g),x=n("X3Mf"),b=n.n(x),y=n("BJph"),v=n.n(y),C=n("6JOd"),k=n.n(C);h.a.transforms=[];const F=f()().use(b.a).use(v.a,["yaml"]).use(m.a).use(k.a,{inlineNotes:!0}),w=c()("@textlint/markdown-to-ast");function parse(e){const t=65279===e.charCodeAt(0)?e.slice(1):e,n=(e=>F.parse(e))(t);return a()(n).forEach((function(e){if(this.notLeaf){if(e.type){const t=i[e.type];t?e.type=t:w(`replacedType : ${t} , node.type: ${e.type}`)}if(e.position){const n=e.position,r={start:{line:n.start.line,column:Math.max(n.start.column-1,0)},end:{line:n.end.line,column:Math.max(n.end.column-1,0)}},i=[n.start.offset,n.end.offset];e.loc=r,e.range=i,e.raw=t.slice(i[0],i[1]),Object.defineProperty(e,"position",{enumerable:!1,configurable:!1,writable:!1,value:n})}}})),n}},"E+b3":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return throwIfTesting}));const r=new Map,setFeature=(e,t)=>{r.set(e,t)},isFeatureEnabled=(e,{loose:t=!1}={})=>{if(!r.has(e)){if(t)return!1;throw new Error(`@textlint/feature-flag:Error: ${e} is not defined.`)}const n=r.get(e);if("boolean"!=typeof n)throw new Error("flag should be boolean, but it is :"+n);return n};void 0!==e&&Array.isArray(e.argv)&&-1!==e.argv.indexOf("--experimental")&&setFeature("core.experimental",!0);const i={get experimental(){return isFeatureEnabled("core.experimental",{loose:!0})},set experimental(e){setFeature("core.experimental",e)},get runningCLI(){return isFeatureEnabled("core.runningCLI",{loose:!0})},set runningCLI(e){setFeature("core.runningCLI",e)},get runningTester(){return isFeatureEnabled("core.runningTester",{loose:!0})},set runningTester(e){setFeature("core.runningTester",e)}};function throwIfTesting(e){if(i.runningTester)throw Error(e)}}).call(this,n("8oxB"))},EBzq:function(e,t,n){"use strict";var r=[].slice;e.exports=function wrap(e,t){var n;return function wrapped(){var t,i=r.call(arguments,0),o=e.length>i.length;o&&i.push(done);try{t=e.apply(null,i)}catch(e){if(o&&n)throw e;return done(e)}o||(t&&"function"==typeof t.then?t.then(then,done):t instanceof Error?done(t):then(t))};function done(){n||(n=!0,t.apply(null,arguments))}function then(e){done(null,e)}}},EIjK:function(e,t){e.exports=String.fromCharCode},ES9B:function(e,t,n){"use strict";var r=n("bct4"),i=n("FUqJ"),o=n("GBTV"),a=n("SHxd"),u=n("Mjva"),c={name:"headingAtx",tokenize:function tokenizeHeadingAtx(e,t,n){var a=this,c=0;return function start(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),fenceOpenInside(t)};function fenceOpenInside(r){return 35===r&&c++<6?(e.consume(r),fenceOpenInside):null===r||i(r)?(e.exit("atxHeadingSequence"),a.interrupt?t(r):headingBreak(r)):n(r)}function headingBreak(n){return 35===n?(e.enter("atxHeadingSequence"),sequence(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):o(n)?u(e,headingBreak,"whitespace")(n):(e.enter("atxHeadingText"),data(n))}function sequence(t){return 35===t?(e.consume(t),sequence):(e.exit("atxHeadingSequence"),headingBreak(t))}function data(t){return null===t||35===t||i(t)?(e.exit("atxHeadingText"),headingBreak(t)):(e.consume(t),data)}},resolve:function resolveHeadingAtx(e,t){var n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},a(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=c},Esvb:function(e,t,n){"use strict";e.exports=n("PPHF")},F2il:function(e,t,n){"use strict";e.exports=function ccount(e,t){var n,r=String(e),i=0;if("string"!=typeof t)throw new Error("Expected character");n=r.indexOf(t);for(;-1!==n;)i++,n=r.indexOf(t,n+t.length);return i}},FUqJ:function(e,t,n){"use strict";e.exports=function markdownLineEndingOrSpace(e){return e<0||32===e}},Fi6R:function(e,t,n){"use strict";var r=n("SHxd");e.exports=function chunkedPush(e,t){return e.length?(r(e,e.length,0,t),e):t}},G79Q:function(e,t,n){e.exports=function setup(e){function createDebug(e){let t,n,r,i=null;function debug(...e){if(!debug.enabled)return;const n=debug,r=Number(new Date),i=r-(t||r);n.diff=i,n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=o)return plural(e,t,o,"day");if(t>=i)return plural(e,t,i,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},IHXm:function(e,t,n){"use strict";var r=n("5SCW")(/\s/);e.exports=r},IW26:function(e,t,n){"use strict";function toString(e){return e&&(e.value||e.alt||e.title||"children"in e&&all(e.children)||"length"in e&&all(e))||""}function all(e){for(var t=[],n=-1;++n{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("0Ykn")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},"K/gC":function(e,t,n){var r=n("uzhd");function handleDelete(e,t,n){var i=n.enter("emphasis"),o=r(e,n,{before:"~",after:"~"});return i(),"~~"+o+"~~"}t.unsafe=[{character:"~",inConstruct:"phrasing"}],t.handlers={delete:handleDelete},handleDelete.peek=function peekDelete(){return"~"}},KKCa:function(e,t){"function"==typeof Object.create?e.exports=function inherits(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function inherits(e,t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype,e.prototype=new TempCtor,e.prototype.constructor=e}},LLHA:function(e,t,n){"use strict";e.exports=n("wJMj")},Lgux:function(e,t){e.exports=function phrasing(e,t,n){var r,i,o,a=e.children||[],u=[],c=-1,l=n.before;for(;++c0&&("\r"===l||"\n"===l)&&"html"===o.type&&(u[u.length-1]=u[u.length-1].replace(/(\r?\n|\r)$/," "),l=" "),u.push(t.handle(o,e,t,{before:l,after:r})),l=u[u.length-1].slice(-1);return u.join("")}},"M+MU":function(e,t,n){"use strict";var r=n("5SCW")(/[A-Za-z]/);e.exports=r},"M8+4":function(e,t){e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},MCLT:function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(e){for(var t=Object.keys(e),n={},r=0;r=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),u=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),isBoolean(n)?r.showHidden=n:n&&t._extend(r,n),isUndefined(r.showHidden)&&(r.showHidden=!1),isUndefined(r.depth)&&(r.depth=2),isUndefined(r.colors)&&(r.colors=!1),isUndefined(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=stylizeWithColor),formatValue(r,e,r.depth)}function stylizeWithColor(e,t){var n=inspect.styles[t];return n?"["+inspect.colors[n][0]+"m"+e+"["+inspect.colors[n][1]+"m":e}function stylizeNoColor(e,t){return e}function formatValue(e,n,r){if(e.customInspect&&n&&isFunction(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return isString(i)||(i=formatValue(e,i,r)),i}var o=function formatPrimitive(e,t){if(isUndefined(t))return e.stylize("undefined","undefined");if(isString(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(isNumber(t))return e.stylize(""+t,"number");if(isBoolean(t))return e.stylize(""+t,"boolean");if(isNull(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),u=function arrayToHash(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),isError(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return formatError(n);if(0===a.length){if(isFunction(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(isRegExp(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(isDate(n))return e.stylize(Date.prototype.toString.call(n),"date");if(isError(n))return formatError(n)}var l,f="",d=!1,h=["{","}"];(isArray(n)&&(d=!0,h=["[","]"]),isFunction(n))&&(f=" [Function"+(n.name?": "+n.name:"")+"]");return isRegExp(n)&&(f=" "+RegExp.prototype.toString.call(n)),isDate(n)&&(f=" "+Date.prototype.toUTCString.call(n)),isError(n)&&(f=" "+formatError(n)),0!==a.length||d&&0!=n.length?r<0?isRegExp(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=d?function formatArray(e,t,n,r,i){for(var o=[],a=0,u=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,f,h)):h[0]+f+h[1]}function formatError(e){return"["+Error.prototype.toString.call(e)+"]"}function formatProperty(e,t,n,r,i,o){var a,u,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),hasOwnProperty(r,i)||(a="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=isNull(n)?formatValue(e,c.value,null):formatValue(e,c.value,n-1)).indexOf("\n")>-1&&(u=o?u.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+u.split("\n").map((function(e){return" "+e})).join("\n")):u=e.stylize("[Circular]","special")),isUndefined(a)){if(o&&i.match(/^\d+$/))return u;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function isArray(e){return Array.isArray(e)}function isBoolean(e){return"boolean"==typeof e}function isNull(e){return null===e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isUndefined(e){return void 0===e}function isRegExp(e){return isObject(e)&&"[object RegExp]"===objectToString(e)}function isObject(e){return"object"==typeof e&&null!==e}function isDate(e){return isObject(e)&&"[object Date]"===objectToString(e)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(e){return"function"==typeof e}function objectToString(e){return Object.prototype.toString.call(e)}function pad(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(isUndefined(o)&&(o=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=isArray,t.isBoolean=isBoolean,t.isNull=isNull,t.isNullOrUndefined=function isNullOrUndefined(e){return null==e},t.isNumber=isNumber,t.isString=isString,t.isSymbol=function isSymbol(e){return"symbol"==typeof e},t.isUndefined=isUndefined,t.isRegExp=isRegExp,t.isObject=isObject,t.isDate=isDate,t.isError=isError,t.isFunction=isFunction,t.isPrimitive=function isPrimitive(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("1gqn");var u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var e=new Date,t=[pad(e.getHours()),pad(e.getMinutes()),pad(e.getSeconds())].join(":");return[e.getDate(),u[e.getMonth()],t].join(" ")}function hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",timestamp(),t.format.apply(t,arguments))},t.inherits=n("KKCa"),t._extend=function(e,t){if(!t||!isObject(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var c="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function promisify(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(c&&e[c]){var t;if("function"!=typeof(t=e[c]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,c,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},NvGK:function(e,t,n){"use strict";var r=n("Ac7Z");e.exports=function serializeChunks(e){for(var t,n,i,o=-1,a=[];++ot;)a.containerState=l[o][1],l[o][0].exit.call(a,e);l.length=t}},u={tokenize:function tokenizeContainer(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},c={tokenize:function tokenizeLazyFlow(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=a},PG0i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("aPtP"),i=n("Mjva"),o=n("C9no"),a=function initializeFlow(e){var t=this,n=e.attempt(o,(function atBlankEnding(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,afterConstruct,i(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(r,afterConstruct)),"linePrefix")));return n;function afterConstruct(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=a},PPHF:function(e,t,n){"use strict";var r=n("aCXt"),i=n("tgGP");e.exports=i,i.prototype.message=function message(e,t,n){var i=new r(e,t,n);this.path&&(i.name=this.path+":"+i.name,i.file=this.path);return i.fatal=!1,this.messages.push(i),i},i.prototype.info=function info(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function fail(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},PXHr:function(e,t,n){e.exports=function create(e){var t,n,i=r(e),o=i.length,a=-1,u={};for(;++a=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},"S+8a":function(e,t,n){"use strict";e.exports=function markdownSpace(e){return-2===e||-1===e||32===e}},S0DD:function(e,t,n){"use strict";var r=n("M+MU"),i=n("Qgb1"),o=n("ALIq"),a=n("mKLD"),u={name:"autolink",tokenize:function tokenizeAutolink(e,t,n){var u=1;return function start(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),open};function open(t){return r(t)?(e.consume(t),schemeOrEmailAtext):o(t)?emailAtext(t):n(t)}function schemeOrEmailAtext(e){return 43===e||45===e||46===e||i(e)?schemeInsideOrEmailAtext(e):emailAtext(e)}function schemeInsideOrEmailAtext(t){return 58===t?(e.consume(t),urlInside):(43===t||45===t||46===t||i(t))&&u++<32?(e.consume(t),schemeInsideOrEmailAtext):emailAtext(t)}function urlInside(t){return 62===t?(e.exit("autolinkProtocol"),end(t)):32===t||60===t||a(t)?n(t):(e.consume(t),urlInside)}function emailAtext(t){return 64===t?(e.consume(t),u=0,emailAtSignOrDot):o(t)?(e.consume(t),emailAtext):n(t)}function emailAtSignOrDot(e){return i(e)?emailLabel(e):n(e)}function emailLabel(t){return 46===t?(e.consume(t),u=0,emailAtSignOrDot):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",end(t)):emailValue(t)}function emailValue(t){return(45===t||i(t))&&u++<63?(e.consume(t),45===t?emailValue:emailLabel):n(t)}function end(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=u},SHxd:function(e,t,n){"use strict";var r=n("Ipxk");e.exports=function chunkedSplice(e,t,n,i){var o,a=e.length,u=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+".");c=d.length+1,("tab"===h||"mixed"===h&&(t&&t.spread||e.spread))&&(c=4*Math.ceil(c/4));return f=n.enter("listItem"),l=u(a(e,n),(function map(e,t,n){if(t)return(n?"":r(" ",c))+e;return(n?d:d+r(" ",c-d.length))+e})),f(),l};var r=n("RjOF"),i=n("/cIb"),o=n("NfWH"),a=n("B5Lt"),u=n("deF/")},SoEE:function(e,t,n){(function(r){t.formatArgs=function formatArgs(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("dbMc")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},T0BQ:function(e,t,n){e.exports=function shallow(e){return r({},e)};var r=n("NOby")},TDhK:function(e,t){e.exports={}.hasOwnProperty},THrT:function(e,t,n){e.exports=n("qOO9")},TLOy:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},UeGV:function(e,t,n){"use strict";var r=n("5SCW")(/[!-/:-@[-`{-~]/);e.exports=r},Umyw:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV");e.exports=function labelFactory(e,t,n,o,a,u){var c,l=this,f=0;return function start(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(u),atBreak};function atBreak(i){return null===i||91===i||93===i&&!c||94===i&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?n(i):93===i?(e.exit(u),e.enter(a),e.consume(i),e.exit(a),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),label(i))}function label(t){return null===t||91===t||93===t||r(t)||f++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),c=c||!i(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),f++,label):label(t)}}},UnLw:function(e,t,n){"use strict";var r=n("QS4/")(/\s/);e.exports=r},"Vx/6":function(e,t){e.exports=function chunkedSplice(e,t,n,r){var i,o,a=e.length,u=0;t=t<0?-t>a?0:a+t:t>a?a:t;if(n=n>0?n:0,r.length<1e4)return(o=Array.from(r)).unshift(t,n),[].splice.apply(e,o);i=[].splice.apply(e,[t,n]);for(;u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":r(n)}},Wnxf:function(e,t,n){"use strict";e.exports=function movePoint(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},WtKE:function(e,t,n){"use strict";var r;e.exports=function decodeEntity(e){var t,n="&"+e+";";if((r=r||document.createElement("i")).innerHTML=n,59===(t=r.textContent).charCodeAt(t.length-1)&&"semi"!==e)return!1;return t!==n&&t}},X3Mf:function(e,t,n){"use strict";e.exports=function parse(e){var t=this;this.Parser=function parse(n){return r(n,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var r=n("LLHA")},X7KM:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},XaTJ:function(e,t,n){"use strict";var r=String.fromCharCode;e.exports=r},Xb7u:function(e,t,n){!function(){var t;function format(e){for(var t,n,r,i,o=1,a=[].slice.call(arguments),u=0,c=e.length,l="",f=!1,d=!1,nextArg=function(){return a[o++]},slurpNumber=function(){for(var n="";/\d/.test(e[u]);)n+=e[u++],t=e[u];return n.length>0?parseInt(n):null};u>>1,a=i+o;n(e[a],t)?(i=a+1,r-=o+1):r=o}return i}Object.defineProperty(t,"__esModule",{value:!0}),t.binarySearch=t.upperBound=t.lowerBound=t.compare=void 0,t.compare=compare,t.upperBound=function upperBound(e,t,n=compare){let r=e.length,i=0;for(;r;){let o=r>>>1,a=i+o;n(t,e[a])?r=o:(i=a+1,r-=o+1)}return i},t.lowerBound=lowerBound,t.binarySearch=function binarySearch(e,t,n=compare){let r=lowerBound(e,t,n);return r!==e.length&&!n(t,e[r])}},YK6v:function(e,t,n){var r=n("oJEb"),i=n("321L"),o=n("f8fV"),a=n("THrT"),u=n("uGmZ");e.exports=function create(e){return r([i,o(e),a,u])}},YWs8:function(e,t){var n=["autolink","link","image"];t.unsafe=[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:"phrasing",notInConstruct:n},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:"phrasing",notInConstruct:n},{character:":",before:"[ps]",after:"\\/",inConstruct:"phrasing",notInConstruct:n}]},YrmG:function(e,t,n){e.exports=function association(e){if(e.label||!e.identifier)return e.label||"";return e.identifier.replace(i,"$1").replace(o,decodeIfPossible)};var r=n("WtKE"),i=/\\([!-/:-@[-`{-~])/g,o=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decodeIfPossible(e,t){return r(t)||e}},a0V5:function(e,t,n){e.exports=function createFromMarkdown(e){var t,n=r(e),i=n.length,o=-1,a={},u={};for(;++o-1||i(o.events,"linePrefix")<4?e.interrupt(o.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports=u},aV4s:function(e,t){e.exports=function patternCompile(e){var t,n;e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g"));return e._compiled}},ayp4:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva"),a={name:"thematicBreak",tokenize:function tokenizeThematicBreak(e,t,n){var a,u=0;return function start(t){return e.enter("thematicBreak"),a=t,atBreak(t)};function atBreak(c){return c===a?(e.enter("thematicBreakSequence"),sequence(c)):i(c)?o(e,atBreak,"whitespace")(c):u<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function sequence(t){return t===a?(e.consume(t),u++,sequence):(e.exit("thematicBreakSequence"),atBreak(t))}}};e.exports=a},"b/Vn":function(e,t,n){"use strict";var r=n("oV2h");e.exports=function shallow(e){return r({},e)}},bWFg:function(e,t,n){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},bct4:function(e,t,n){"use strict";e.exports=function markdownLineEnding(e){return e<-2}},dT1L:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva");e.exports=function whitespaceFactory(e,t){var n;return function start(a){if(r(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,start;if(i(a))return o(e,start,n?"linePrefix":"lineSuffix")(a);return t(a)}}},dbMc:function(e,t,n){e.exports=function setup(e){function createDebug(e){let t,n,r,i=null;function debug(...e){if(!debug.enabled)return;const n=debug,r=Number(new Date),i=r-(t||r);n.diff=i,n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),o=o[0],t=o.indexOf(")"),n=r(e,"("),i=r(e,")");-1!==t&&n>i;)e+=o.slice(0,t+1),o=o.slice(t+1),t=o.indexOf(")"),i++;return[e,o]}(n+i))[0]&&(u={type:"link",title:null,url:c+t+a[0],children:[{type:"text",value:t+a[0]}]},a[1]&&(u=[u,{type:"text",value:a[1]}]),u)))}function findEmail(e,t,n,r){return!(!previous(r,!0)||/[_-]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function previous(e,t){var n=e.input.charCodeAt(e.index-1);return(n!=n||a(n)||o(n))&&(!t||47!==n)}t.transforms=[function transformGfmAutolinkLiterals(e){i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,findUrl],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,findEmail]],{ignore:["link","linkReference"]})}],t.enter={literalAutolink:function enterLiteralAutolink(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:enterLiteralAutolinkValue,literalAutolinkHttp:enterLiteralAutolinkValue,literalAutolinkWww:enterLiteralAutolinkValue},t.exit={literalAutolink:function exitLiteralAutolink(e){this.exit(e)},literalAutolinkEmail:function exitLiteralAutolinkEmail(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function exitLiteralAutolinkHttp(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function exitLiteralAutolinkWww(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},eKXY:function(e,t,n){"use strict";n.r(t),n.d(t,"TextlintKernel",(function(){return textlint_kernel_TextlintKernel})),n.d(t,"TextlintKernelDescriptor",(function(){return TextlintKernelDescriptor_TextlintKernelDescriptor})),n.d(t,"TextlintRuleDescriptors",(function(){return TextlintRuleDescriptors_TextlintRuleDescriptors})),n.d(t,"TextlintLintableRuleDescriptor",(function(){return TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor})),n.d(t,"TextlintFixableRuleDescriptor",(function(){return TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor})),n.d(t,"TextlintFilterRuleDescriptors",(function(){return TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors})),n.d(t,"TextlintFilterRuleDescriptor",(function(){return TextlintFilterRuleDescriptor_TextlintFilterRuleDescriptor})),n.d(t,"TextlintPluginDescriptors",(function(){return TextlintPluginDescriptors_TextlintPluginDescriptors})),n.d(t,"TextlintPluginDescriptor",(function(){return TextlintPluginDescriptor_TextlintPluginDescriptor})),n.d(t,"TextlintRuleSeverityLevelKeys",(function(){return d}));var r=n("E+b3");const isTextlintRuleErrorPaddingLocObject=e=>!("object"!=typeof e||"object"!=typeof e.start||"object"!=typeof e.end||"number"!=typeof e.start.line||Number.isNaN(e.start.line)||"number"!=typeof e.start.column||Number.isNaN(e.start.column)||"number"!=typeof e.end.line||Number.isNaN(e.end.line)||"number"!=typeof e.end.column||Number.isNaN(e.end.column)),isTextlintRuleErrorPaddingLocation=e=>{return"object"==typeof e&&null!==e&&"type"in e&&"TextlintRuleErrorPaddingLocation"===e.type&&(t=e.range,Array.isArray(t)&&2===t.length||isTextlintRuleErrorPaddingLocObject(e.loc));var t},createPaddingLocator=()=>({at(e){if(Number.isNaN(e))throw new Error("index must be number: "+e);return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,range:[e,e+1]}},range(e){if(!Array.isArray(e))throw new Error("range must be array");if(2!==e.length)throw new Error("range must be [start, end]: "+JSON.stringify(e));if(Number.isNaN(e[0])||Number.isNaN(e[1]))throw new Error("range must not be NaN: "+JSON.stringify(e));if(e[0]===e[1])throw new Error(`range must not be same: ${JSON.stringify(e)}\n \nProbably, you need to use at() method instead.`);return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,range:e}},loc(e){if(!isTextlintRuleErrorPaddingLocObject(e))throw new Error("loc must be TextlintRuleErrorPaddingLocation object: "+JSON.stringify(e));return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,loc:e}}});class TextlintRuleErrorImpl{constructor(e,t){this.message=e,"object"==typeof t?((e=>{if("at"in e)throw new Error('RuleError details should not have "loc" property. Please use { padding: locator.at(index) } instead.');if("range"in e)throw new Error('RuleError details should not have "range" property. Please use { padding: locator.range([start, end]) } instead.');if("loc"in e)throw new Error('RuleError details should not have "loc" property. Please use { padding: locator.loc({ start, end }) } instead.');const t="index"in e,n="line"in e||"column"in e,i="padding"in e;if([t,n,i].filter(Boolean).length>1&&Object(r.b)(`RuleError details can not mixed usage: ${JSON.stringify(e)}\n\nYou can not set { index, line, column, padding } at same time. \n`),t)("number"!=typeof e.index||Number.isNaN(e.index))&&Object(r.b)("index should be number: "+JSON.stringify(e));else{if(n){return"line"in e&&"column"in e||Object(r.b)("line and column should be set both"),("number"!=typeof e.line||Number.isNaN(e.line))&&Object(r.b)("line should be number: "+JSON.stringify(e)),void(("number"!=typeof e.column||Number.isNaN(e.column))&&Object(r.b)("column should be number: "+JSON.stringify(e)))}i&&(isTextlintRuleErrorPaddingLocation(e.padding)||Object(r.b)("padding should be created locator function: "+JSON.stringify(e)))}})(t),this.line=t.line,this.column=t.column,this.index=t.index,this.fix=t.fix,this.padding=t.padding):"number"==typeof t&&(this.column=t)}toString(){return JSON.stringify({message:this.message,line:this.line,column:this.column,index:this.index,fix:this.fix})}}var i,__classPrivateFieldGet=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};class EventEmitter{constructor(){i.set(this,new Map)}on(e,t){const n=__classPrivateFieldGet(this,i,"f").get(e),r=null!=n?n:new Set;null==r||r.add(t),__classPrivateFieldGet(this,i,"f").set(e,r)}emit(e,...t){const n=__classPrivateFieldGet(this,i,"f").get(e);if(n)for(const e of n)e(...t)}off(e,t){const n=__classPrivateFieldGet(this,i,"f").get(e);if(n)for(const e of n)e===t&&n.delete(t)}removeAllListeners(){__classPrivateFieldGet(this,i,"f").clear()}listenerCount(e){var t,n;return null!==(n=null===(t=__classPrivateFieldGet(this,i,"f").get(e))||void 0===t?void 0:t.size)&&void 0!==n?n:0}listeners(e){var t;return Array.from(null!==(t=__classPrivateFieldGet(this,i,"f").get(e))&&void 0!==t?t:[])}}i=new WeakMap;function invariant(e,t){if(!e)throw new Error(t)}const resolveLocation=e=>{const{node:t,ruleError:n}=e;(e=>{const{ruleError:t,ruleId:n}=e,i=`[${n}]`||"",o=t;if("number"==typeof o)throw new Error(i+' This is un-document way:\nreport(node, new RuleError("message", index);\n\nPlease use { index }: \n\nreport(node, new RuleError("message", {\n index: paddingLineColumn\n});\n');if(void 0===o.line&&void 0!==o.column&&Object(r.b)(i+' Have to use a sets with "line" and "column".\nSee FAQ: https://github.com/textlint/textlint/blob/master/docs/faq/line-column-or-index.md \n\nreport(node, new RuleError("message", {\n line: paddingLineNumber,\n column: paddingLineColumn\n});\n\nOR use "index" property insteadof only "column".\n\nreport(node, new RuleError("message", {\n index: paddingLineColumn\n});\n'),(void 0!==o.line||void 0!==o.column)&&void 0!==o.index)throw new Error(i+' Have to use one of {line, column} or {index}.\nYou should use either one:\n\nuse "line" and "column" property\n\nreport(node, new RuleError("message", {\n line: paddingLineNumber,\n column: paddingLineColumn\n});\n\nOR \n\nuse "index" property\n\nreport(node, new RuleError("message", {\n index: paddingIndexValue\n});\n');if(void 0!==o.line&&Number.isNaN(o.line))throw new Error("reported { line } is NaN");if(void 0!==o.column&&Number.isNaN(o.column))throw new Error("reported { column } is NaN");if(void 0!==o.index&&Number.isNaN(o.index))throw new Error("reported { index } is NaN");void 0!==o.padding&&invariant(isTextlintRuleErrorPaddingLocation(o.padding),"reported { padding } is invalid format.")})(e);const i=(e=>{if("padding"in e&&"object"==typeof e.padding)return e.padding;if(void 0!==e.index){const t=e.index;return{type:"TextlintRuleErrorPaddingLocation",isAbsolute:!1,range:[t,t+1]}}return void 0!==e.line&&void 0!==e.column?{line:Math.max(e.line,0),column:Math.max(e.column,0)}:void 0!==e.line&&e.line>0?{line:Math.max(e.line,0),column:0}:void 0!==e.column&&e.column>0?{line:0,column:Math.max(e.column,0)}:null})(n);return(({source:e,node:t,paddingIR:n})=>{if(!n)return{range:t.range,loc:{start:{line:t.loc.start.line,column:t.loc.start.column+1},end:{line:t.loc.end.line,column:t.loc.end.column+1}}};const r=t.range,i=t.loc.start.line,o=t.loc.start.column;if("line"in n&&"column"in n){const t={line:i+n.line,column:o+n.column},r=e.positionToIndex(t);if(Number.isNaN(r))throw new Error("absoluteIndex is NaN in { line, column }");const a=[r,r+1],u=e.rangeToLocation(a);if(Number.isNaN(u))throw new Error("absoluteLocation is NaN in { line, column }");return{range:a,loc:{start:{line:u.start.line,column:u.start.column+1},end:{line:u.end.line,column:u.end.column+1}}}}if("range"in n){const t=[r[0]+n.range[0],r[0]+n.range[1]],i=e.rangeToLocation(t);if(Number.isNaN(i))throw new Error("absoluteLocation is NaN in { range }");return{range:t,loc:{start:{line:i.start.line,column:i.start.column+1},end:{line:i.end.line,column:i.end.column+1}}}}if("loc"in n){const t={line:i+n.loc.start.line,column:o+n.loc.start.column},r={line:i+n.loc.end.line,column:o+n.loc.end.column},a=e.locationToRange({start:t,end:r});if(Number.isNaN(a[0])||Number.isNaN(a[1]))throw new Error("absoluteLocation is NaN in { loc }");return{range:a,loc:{start:{line:t.line,column:t.column+1},end:{line:r.line,column:r.column+1}}}}return{range:t.range,loc:t.loc}})({source:e.source,node:t,paddingIR:i})};var o=n("57Z9"),a="lint",u="ignore";const c="textlint-rule-",l="textlint-rule-preset-",f=[/^(@.*?\/.*?)\/(@.*?\/.*?)$/,/^(@.*?\/.*?)\/(.*?)$/,/^(.*?)\/(@.*?)$/,/^([^@].*?)\/(.*?)$/],removePrefixFromPackageName=(e,t)=>{for(let n=0;n{const{preset:t,rule:n}=(e=>{for(let t=0;tremovePrefixFromPackageName([c],e),normalizeTextlintRulePresetKey=e=>removePrefixFromPackageName([l,"preset-"],e);function insertTextAt(e,t){return invariant(t,"text must be string"),{range:[e,e],text:t,isAbsolute:!1}}function insertTextAtAbsolute(e,t){return invariant(t,"text must be string"),{range:[e,e],text:t,isAbsolute:!0}}const d={none:0,info:0,warning:1,error:2},h=new class TextlintRuleContextFixCommandGeneratorImpl{insertTextAfter(e,t){return insertTextAtAbsolute(e.range[1],t)}insertTextAfterRange(e,t){return insertTextAt(e[1],t)}insertTextBefore(e,t){return insertTextAtAbsolute(e.range[0],t)}insertTextBeforeRange(e,t){return insertTextAt(e[0],t)}replaceText(e,t){return{range:e.range,text:t,isAbsolute:!0}}replaceTextRange(e,t){return{range:e,text:t,isAbsolute:!1}}remove(e){return this.replaceText(e,"")}removeRange(e){return this.replaceTextRange(e,"")}};class TextlintRuleContextImpl_TextlintRuleContextImpl{constructor(e){this.report=(e,t,n)=>{if(invariant(!(e instanceof TextlintRuleErrorImpl),"1st argument should be node. Usage: `report(node, ruleError);`"),invariant(void 0===n,"3rd argument should not be used. Usage: `report(node, ruleError);`"),t instanceof TextlintRuleErrorImpl)this._report({ruleId:this._ruleId,node:e,severity:this._severityLevel,ruleError:t});else{const n=t,r=n.severity||d.error;this._report({ruleId:this._ruleId,node:e,severity:r,ruleError:n})}},this.getFilePath=()=>this._sourceCode.getFilePath(),this.getSource=(e,t,n)=>this._sourceCode.getSource(e,t,n),this.getConfigBaseDir=()=>this._configBaseDir,this._ruleId=e.ruleId,this._sourceCode=e.sourceCode,this._report=e.report,this.locator=createPaddingLocator(),this._configBaseDir=e.configBaseDir,this._severityLevel=e.severityLevel,Object.freeze(this)}get id(){return this._ruleId}get severity(){return this._severityLevel}get Syntax(){return this._sourceCode.getSyntax()}get RuleError(){return TextlintRuleErrorImpl}get fixer(){return h}}var g=n("0l15"),m=n.n(g);function isNode(e){return null!=e&&("object"==typeof e&&("string"==typeof e.type||"string"==typeof e.t))}class TxtElement{constructor(e){this.node=e}}const x={},b={};class Controller{__willStartTraverse(){this.__current=null,this.__worklist=[],this.__leavelist=[]}__execute(e,t){let n=void 0;const r=this.__current;if(this.__current=t,e){const r=this.__leavelist[this.__leavelist.length-1].node;if(!t.node)return;n=e.call(this,t.node,r)}return this.__current=r,n}parents(){let e,t;const n=[];for(e=1,t=this.__leavelist.length;e=0;){const t=a[u[c]];if(t)if(Array.isArray(t)){let n=t.length;for(;(n-=1)>=0;)t[n]&&isNode(t[n])&&(e=new TxtElement(t[n]),e&&i.push(e))}else isNode(t)&&i.push(new TxtElement(t))}}}else{if(e=o.pop(),void 0===e)continue;if(n=this.__execute(t.leave,e),n===x)return}}}}const y=new Controller,v=m()("textlint:core-task");class textlint_core_task_RuleTypeEmitter extends class PromiseEventEmitter{constructor(){this.events=new EventEmitter}listenerCount(e){return this.events.listenerCount(e)}on(e,t){return this.events.on(e,t)}emit(e,...t){const n=[];return this.events.listeners(e).forEach(e=>{n.push(e(...t))}),Promise.all(n)}}{}class textlint_core_task_TextLintCoreTask extends EventEmitter{static get events(){return{start:"start",message:"message",complete:"complete",error:"error"}}constructor(){super(),this.ruleTypeEmitter=new textlint_core_task_RuleTypeEmitter}createShouldIgnore(){return e=>{const{ruleId:t,range:n,optional:r}=e;invariant(void 0!==n[0]&&void 0!==n[1]&&n[0]>=0&&n[1]>=0,"ignoreRange should have actual range: "+n);const i={type:u,ruleId:t,range:n,ignoringRuleId:r.ruleId?normalizeTextlintKeyPath(r.ruleId):"*"};this.emit(textlint_core_task_TextLintCoreTask.events.message,i)}}createReporter(e){return t=>{const{ruleId:n,node:r,severity:i,ruleError:o}=t,{loc:u,range:c}=resolveLocation({source:e,ruleId:n,node:r,ruleError:o}),{fix:l}=(({node:e,ruleError:t})=>{const n=e.range;return void 0===t.fix?{}:(invariant("object"==typeof t.fix,"fix should be FixCommand object"),t.fix.isAbsolute?{fix:{range:t.fix.range,text:t.fix.text}}:{fix:{range:[n[0]+t.fix.range[0],n[0]+t.fix.range[1]],text:t.fix.text}})})({node:r,ruleError:o});v("%s report %s",n,o);const f={type:a,ruleId:n,message:o.message,index:c[0],line:u.start.line,column:u.start.column,range:c,loc:u,severity:i,fix:void 0!==l?l:void 0};if(!(o instanceof TextlintRuleErrorImpl)){const e=o;f.data=e}this.emit(textlint_core_task_TextLintCoreTask.events.message,f)}}startTraverser(e){this.emit(textlint_core_task_TextLintCoreTask.events.start);const t=[],n=this.ruleTypeEmitter;y.traverse(e.ast,{enter(e,r){const i=e.type;if(Object.defineProperty(e,"parent",{value:r}),n.listenerCount(i)>0){const r=n.emit(i,e);t.push(r)}},leave(e){const r=e.type+":exit";if(n.listenerCount(r)>0){const i=n.emit(r,e);t.push(i)}}}),Promise.all(t).then(()=>{this.emit(textlint_core_task_TextLintCoreTask.events.complete)}).catch(e=>{this.emit(textlint_core_task_TextLintCoreTask.events.error,e)})}tryToGetRuleObject(e,t,n){try{return e(t,n)}catch(e){throw e instanceof Error&&(e.message=`Error while loading rule '${t.id}': ${e.message}`),e}}tryToGetFilterRuleObject(e,t,n){try{return e(t,n)}catch(e){throw e instanceof Error&&(e.message=`Error while loading filter rule '${t.id}': ${e.message}`),e}}tryToAddListenRule(e,t,n){const r=t instanceof TextlintRuleContextImpl_TextlintRuleContextImpl?this.tryToGetRuleObject(e,t,n):this.tryToGetFilterRuleObject(e,t,n);Object.keys(r).forEach(e=>{this.ruleTypeEmitter.on(e,o.a.enabled?o.a.time(t.id,r[e]):r[e])})}}function getSeverity(e){if(void 0===e)return d.error;if("boolean"==typeof e)return e?d.error:d.none;if(e.severity){const t=d[e.severity];if(!(e=>{if(void 0===e)throw new Error('Please set following value to severity:\n"rule-key": {\n "severity": ""\n}');return!0})(t))throw new Error('Please set following value to severity:\n"rule-key": {\n "severity": ""\n}');return t}return d.error}class TextlintFilterRuleContextImpl_TextlintFilterRuleContextImpl{constructor(e){this.shouldIgnore=(e,t={})=>{invariant(Array.isArray(e)&&"number"==typeof e[0]&&"number"==typeof e[1],"shouldIgnore([number, number]); accept range."),this._ignoreReport({ruleId:this._ruleId,range:e,optional:t})},this.getFilePath=()=>this._sourceCode.getFilePath(),this.getSource=(e,t,n)=>this._sourceCode.getSource(e,t,n),this.getConfigBaseDir=()=>this._configBaseDir,this._ruleId=e.ruleId,this._sourceCode=e.sourceCode,this._ignoreReport=e.ignoreReport,this.locator=createPaddingLocator(),this._configBaseDir=e.configBaseDir,this._severityLevel=e.severityLevel,Object.freeze(this)}get id(){return this._ruleId}get severity(){return this._severityLevel}get Syntax(){return this._sourceCode.getSyntax()}get RuleError(){return TextlintRuleErrorImpl}get report(){return()=>{throw new Error("Filter rule can not report")}}}const C=m()("textlint:TextLintCoreTask");class fixer_task_TextLintCoreTask extends textlint_core_task_TextLintCoreTask{constructor({config:e,configBaseDir:t,fixableRuleDescriptor:n,filterRuleDescriptors:r,sourceCode:i}){super(),this.config=e,this.configBaseDir=t,this.fixableRuleDescriptor=n,this.filterRuleDescriptors=r,this.sourceCode=i,this._setupRules()}start(){this.startTraverser(this.sourceCode)}_setupRules(){const e=this.sourceCode,t=this.createReporter(e),n=this.createShouldIgnore();C("fixerRule",this.fixableRuleDescriptor);const r=new TextlintRuleContextImpl_TextlintRuleContextImpl({ruleId:this.fixableRuleDescriptor.id,severityLevel:getSeverity(this.fixableRuleDescriptor.normalizedOptions),sourceCode:e,report:t,configBaseDir:this.configBaseDir});this.tryToAddListenRule(this.fixableRuleDescriptor.fixer,r,this.fixableRuleDescriptor.normalizedOptions),C("filterRules",this.filterRuleDescriptors),this.filterRuleDescriptors.descriptors.forEach(t=>{const r=new TextlintFilterRuleContextImpl_TextlintFilterRuleContextImpl({ruleId:t.id,severityLevel:getSeverity(t.normalizedOptions),sourceCode:e,ignoreReport:n,configBaseDir:this.configBaseDir});this.tryToAddListenRule(t.filter,r,t.normalizedOptions)})}}class task_runner_TaskRunner{static process(e){return new Promise((t,n)=>{const r=[];e.on(textlint_core_task_TextLintCoreTask.events.message,e=>{r.push(e)}),e.on(textlint_core_task_TextLintCoreTask.events.error,e=>{n(e)}),e.on(textlint_core_task_TextLintCoreTask.events.complete,()=>{e.removeAllListeners(),t(r)}),e.start()})}}var k=n("lr8r"),F=n("ifv4");class TextlintSourceCodeImpl_TextlintSourceCodeImpl{constructor({text:e="",ast:t,ext:n,filePath:r}){!function validate(e){if(!e.loc)throw new Error("AST is missing location information.");if(!e.range)throw new Error("AST is missing range information")}(t),invariant(n||r,"should be set either of fileExt or filePath."),this.hasBOM=65279===e.charCodeAt(0),this.text=this.hasBOM?e.slice(1):e,this._structuredSource=new F.StructuredSource(this.text),this.ast=t,this.filePath=r,this.ext=n}getSyntax(){return k.a}getFilePath(){return this.filePath}getSource(e,t,n){const r=this.text;if(e){const i=Math.max(e.range[0]-(t||0),0),o=e.range[1]+(n||0);return r.slice(i,o)}return r}locationToRange(e){return this._structuredSource.locationToRange(e)}rangeToLocation(e){const t=this._structuredSource.rangeToLocation([e[0],e[1]]);return{start:{line:t.start.line,column:t.start.column},end:{line:t.end.line,column:t.end.column}}}positionToIndex(e){return this._structuredSource.positionToIndex(e)}indexToPosition(e){const t=this._structuredSource.indexToPosition(e);return{line:t.line,column:t.column}}}var w=n("JaeU");const E=n.n(w)()("textlint:source-code-fixer");function compareMessagesByLocation(e,t){const n=e.line-t.line;return 0===n?e.column-t.column:n}function applyFixesToSourceCode(e,t){E("Applying fixes");const n=e.text,r=[],i=[],o=t.slice(),a=[];let u=n.length,c=e.hasBOM?"\ufeff":"";if(o.forEach(e=>{e&&void 0!==e.fix?a.push(e):r.push(e)}),a.length){E("Found fixes to apply"),a.sort((e,t)=>t.fix.range[1]-e.fix.range[1]||t.fix.range[0]-e.fix.range[0]);const e=n.split("");return a.forEach(t=>{const n=t.fix;let o=n.range[0];const a=n.range[1];let l=n.text;if(a<=u){o<0&&(c="",o=0),0===o&&"\ufeff"===l[0]&&(c="\ufeff",l=l.slice(1));const n=e.splice(o,a-o,l);u=o;const r=function clone(e){return JSON.parse(JSON.stringify(e))}(t);r.fix={range:[o,o+l.length],text:n.join("")},i.push(r)}else r.push(t)}),{fixed:!0,messages:o,applyingMessages:i.reverse(),remainingMessages:r.sort(compareMessagesByLocation),output:c+e.join("")}}return E("No fixes to apply"),{fixed:!1,messages:o,applyingMessages:i,remainingMessages:r,output:c+n}}const D=Object.prototype.hasOwnProperty;function isPluginParsedObject(e){return"object"==typeof e&&D.call(e,"text")&&D.call(e,"ast")}const parseByPlugin=async({preProcess:e,sourceText:t,filePath:n})=>{try{const r=await e(t,n),i=isPluginParsedObject(r);return{text:i?r.text:t,ast:i?r.ast:r}}catch(e){return e instanceof Error?e:new Error(String(e))}},A=m()("textlint:fixer-processor");class fixer_processor_FixerProcessor{constructor(e,t){this.processor=e,this.messageProcessManager=t}async process({config:e,configBaseDir:t,ruleDescriptors:n,filterRules:r,sourceCode:i}){invariant(i);const{preProcess:o,postProcess:a}=this.processor.processor(i.ext);let u=i.filePath;const c=[],l=[],f=[];let d=i.text;for(const h of n.fixableDescriptors){const n=await parseByPlugin({preProcess:o,sourceText:d,filePath:i.filePath});if(n instanceof Error)throw n;const g=new TextlintSourceCodeImpl_TextlintSourceCodeImpl({text:n.text,ast:n.ast,filePath:u,ext:i.ext}),m=new fixer_task_TextLintCoreTask({config:e,fixableRuleDescriptor:h,filterRuleDescriptors:r,sourceCode:g,configBaseDir:t}),x=await task_runner_TaskRunner.process(m),b=await a(x,i.filePath),y={messages:this.messageProcessManager.process(b.messages),filePath:b.filePath?b.filePath:""};u=y.filePath;const v=applyFixesToSourceCode(g,y.messages);Array.prototype.push.apply(c,v.applyingMessages),Array.prototype.push.apply(l,v.remainingMessages),Array.prototype.push.apply(f,v.messages),v.fixed&&(d=v.output)}return A("Finish Processing: "+u),A("applyingMessages: "+c.length),A("remainingMessages: "+l.length),{filePath:u||"",output:d,messages:f,applyingMessages:c,remainingMessages:l}}}class linter_task_TextLintCoreTask extends textlint_core_task_TextLintCoreTask{constructor({config:e,configBaseDir:t,ruleDescriptors:n,filterRuleDescriptors:r,sourceCode:i}){super(),this.config=e,this.configBaseDir=t,this.ruleDescriptors=n,this.filterRuleDescriptors=r,this.sourceCode=i,this._setupRules()}start(){this.startTraverser(this.sourceCode)}_setupRules(){const e=this.sourceCode,t=this.createReporter(e),n=this.createShouldIgnore();this.ruleDescriptors.lintableDescriptors.forEach(n=>{const r=n.normalizedOptions,i=new TextlintRuleContextImpl_TextlintRuleContextImpl({ruleId:n.id,severityLevel:getSeverity(r),sourceCode:e,report:t,configBaseDir:this.configBaseDir});this.tryToAddListenRule(n.linter,i,r)}),this.filterRuleDescriptors.descriptors.forEach(t=>{const r=new TextlintFilterRuleContextImpl_TextlintFilterRuleContextImpl({ruleId:t.id,sourceCode:e,ignoreReport:n,configBaseDir:this.configBaseDir,severityLevel:getSeverity(t.normalizedOptions)});this.tryToAddListenRule(t.filter,r,t.normalizedOptions)})}}class linter_processor_LinterProcessor{constructor(e,t){this.processor=e,this.messageProcessManager=t}async process({config:e,configBaseDir:t,ruleDescriptors:n,filterRuleDescriptors:r,sourceCode:i}){const{preProcess:o,postProcess:a}=this.processor.processor(i.ext);invariant("function"==typeof o&&"function"==typeof a,"processor should implement {preProcess, postProcess}");const u=new linter_task_TextLintCoreTask({config:e,ruleDescriptors:n,filterRuleDescriptors:r,sourceCode:i,configBaseDir:t}),c=await task_runner_TaskRunner.process(u),l=await a(c,i.filePath);return l.messages=this.messageProcessManager.process(l.messages),null==l.filePath&&(l.filePath=""),invariant(l.filePath&&l.messages.length>=0,"postProcess should return { messages, filePath } "),l}}class MessageProcessManager{constructor(e){this._preProcessors=e||[],this._processors=[]}add(e){this._processors.push(e)}remove(e){const t=this._processors.indexOf(e);-1!==t&&this._processors.splice(t,1)}process(e){const t=e;if(0===this._preProcessors.length)throw new Error("pre process should be > 0");const n=this._preProcessors.reduce((e,t)=>t(e),t);return 0===this._processors.length?n:this._processors.reduce((e,t)=>t(e),n)}}function filterMessages(e=[]){const t=e.filter(e=>e.type===a),n=e.filter(e=>e.type===u);return t.filter(e=>!n.some(t=>{const n=(({range:e,ignoredRange:t})=>{const[n,r]=t;return n<=e[0]&&e[1]<=r})({range:e.range,ignoredRange:t.range});return n&&t.ignoringRuleId?"*"===t.ignoringRuleId||e.ruleId===t.ignoringRuleId:n}))}function filterDuplicatedMessages(e=[]){return e.filter((t,n)=>!e.slice(n+1).some(e=>{return r=e,(n=t).range[0]===r.range[0]&&n.range[1]===r.range[1]&&n.severity===r.severity&&n.message===r.message;var n,r}))}function filterWarningMessages(e=[]){return e.filter(e=>e.severity===d.error)}function through(e=[]){return e}function sortByLineColumn(e){return e.sort((function(e,t){const n=e.line-t.line;return 0===n?e.column-t.column:n}))}function hasLinter(e){return"function"==typeof e.linter||"function"==typeof e}function hasFixer(e){return"function"==typeof e.fixer&&hasLinter(e)}function assertRuleShape(e,t=""){if(void 0===e)throw new Error(`Definition of rule '${t}' was not found.`);if(!function isRuleModule(e){return hasLinter(e)||hasFixer(e)}(e))throw new Error(`Definition of rule '${t}' was not rule module.\nRule should export function:\nmodule.exports = function(context){\n // Your rule\n};`)}var S=n("equ2");class TextlintFilterRuleDescriptor_TextlintFilterRuleDescriptor{constructor(e){this.kernelFilterRule=e}get id(){return this.kernelFilterRule.ruleId}get rule(){return this.kernelFilterRule.rule}get enabled(){return!1!==this.rawOptions}get filter(){return function getFilter(e){if("function"==typeof e)return e;throw new Error("Not found filter function in the ruleCreator")}(this.rule)}get normalizedOptions(){const e={};return"boolean"==typeof this.kernelFilterRule.options||void 0===this.kernelFilterRule.options?e:this.kernelFilterRule.options}get rawOptions(){return this.kernelFilterRule.options}equals(e){return this.rule===e.rule&&Object(S.deepEqual)(this.normalizedOptions,e.normalizedOptions)}toKernel(){return this.kernelFilterRule}toJSON(){return{id:this.id,options:this.normalizedOptions}}}const filterDuplicateDescriptor=e=>{const t=[];return e.forEach(e=>{t.some(t=>t.equals(e))||t.push(e)}),t};class TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors{constructor(e=[]){this.ruleDescriptorList=e}toKernelFilterRulesFormat(){return this.withoutDuplicated().descriptors.map(e=>e.toKernel())}get descriptors(){return this.ruleDescriptorList.filter(e=>e.enabled)}get allDescriptors(){return this.ruleDescriptorList}withoutDuplicated(){const e=filterDuplicateDescriptor(this.ruleDescriptorList);return new TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors(e)}toJSON(){return this.descriptors.map(e=>e.toJSON())}}class TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor{constructor(e){this.textlintKernelRule=e,assertRuleShape(e.rule,e.ruleId)}get id(){return this.textlintKernelRule.ruleId}get rule(){return this.textlintKernelRule.rule}get enabled(){return!1!==this.rawOptions}get linter(){return function getLinter(e){if("function"==typeof e.linter)return e.linter;if("function"==typeof e)return e;throw new Error("Not found linter function in the ruleCreator")}(this.rule)}get normalizedOptions(){const e={};return"boolean"==typeof this.textlintKernelRule.options||void 0===this.textlintKernelRule.options?e:this.textlintKernelRule.options}get rawOptions(){return this.textlintKernelRule.options}equals(e){return this.rule===e.rule&&Object(S.deepEqual)(this.normalizedOptions,e.normalizedOptions)}toKernel(){return this.textlintKernelRule}toJSON(){return{id:this.id,options:this.normalizedOptions}}}class TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor extends TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor{get fixer(){return function getFixer(e){if(!hasLinter(e))throw new Error("fixer module should have also linter function.");if(hasFixer(e))return e.fixer;throw new Error("Not found fixer function in the ruleCreator")}(this.rule)}}class TextlintRuleDescriptors_TextlintRuleDescriptors{constructor(e=[]){this.ruleDescriptorList=e}toKernelRulesFormat(){return this.withoutDuplicated().lintableDescriptors.map(e=>e.toKernel())}get lintableDescriptors(){return this.descriptors.filter(e=>e instanceof TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor)}get fixableDescriptors(){return this.descriptors.filter(e=>e instanceof TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor)}get descriptors(){return this.ruleDescriptorList.filter(e=>e.enabled)}get allDescriptors(){return this.ruleDescriptorList}withoutDuplicated(){const e=filterDuplicateDescriptor(this.ruleDescriptorList);return new TextlintRuleDescriptors_TextlintRuleDescriptors(e)}toJSON(){return this.ruleDescriptorList.map(e=>e.toJSON())}}class TextlintPluginDescriptors_TextlintPluginDescriptors{constructor(e=[]){this.pluginDescriptorList=e}get descriptors(){return this.pluginDescriptorList.filter(e=>e.enabled)}get allDescriptors(){return this.pluginDescriptorList}get availableExtensions(){return this.descriptors.reduce((e,t)=>e.concat(t.availableExtensions),[])}findPluginDescriptorWithExt(e){return this.descriptors.find(t=>t.availableExtensions.includes(e))}withoutDuplicated(){const e=filterDuplicateDescriptor(this.pluginDescriptorList);return new TextlintPluginDescriptors_TextlintPluginDescriptors(e)}toKernelPluginsFormat(){return this.descriptors.map(e=>e.toKernel())}toJSON(){return this.descriptors.map(e=>e.toJSON())}}class TextlintPluginDescriptor_TextlintPluginDescriptor{constructor(e){if(this.plugin=e,this.plugin=e,!this.plugin.plugin.Processor)throw new Error("Plugin should have Processor property.\nmodule.exports = {\n Processor: class Processor{ ... }\n}\n");this.processor=new e.plugin.Processor(this.normalizedOptions)}get id(){return this.plugin.pluginId}get enabled(){return!1!==this.rawOptions}get availableExtensions(){return(e=>{if("function"==typeof e.availableExtensions)return e.availableExtensions();const t=e.constructor;if("function"==typeof t.availableExtensions)return t.availableExtensions();throw new Error(`Plugin(${e}) should implement availableExtensions() method`)})(this.processor)}get normalizedOptions(){const e={};return"boolean"==typeof this.plugin.options||void 0===this.plugin.options?e:this.plugin.options}get rawOptions(){return this.plugin.options}toKernel(){return this.plugin}equals(e){return this.plugin.plugin===e.plugin.plugin&&Object(S.deepEqual)(this.plugin.options,e.plugin.options)}toJSON(){return{id:this.id,options:this.normalizedOptions}}}class TextlintKernelDescriptor_TextlintKernelDescriptor{constructor(e){var t;this.args=e,this.rule=(e=>{const t=e.map(e=>hasFixer(e.rule)?new TextlintFixableRuleDescriptor_TextlintFixableRuleDescriptor(e):new TextlintLintableRuleDescriptor_TextlintLintableRuleDescriptor(e));return new TextlintRuleDescriptors_TextlintRuleDescriptors(t)})(e.rules),this.filterRule=(t=e.filterRules,new TextlintFilterRuleDescriptors_TextlintFilterRuleDescriptors(t.map(e=>new TextlintFilterRuleDescriptor_TextlintFilterRuleDescriptor(e)))),this.plugin=(e=>new TextlintPluginDescriptors_TextlintPluginDescriptors(e.map(e=>new TextlintPluginDescriptor_TextlintPluginDescriptor(e))))(e.plugins),this.configBaseDir=e.configBaseDir}get availableExtensions(){return this.plugin.availableExtensions}shallowMerge(e){return new TextlintKernelDescriptor_TextlintKernelDescriptor({...this.args,...e})}concat(e){var t;return new TextlintKernelDescriptor_TextlintKernelDescriptor({configBaseDir:null!==(t=e.configBaseDir)&&void 0!==t?t:this.configBaseDir,rules:this.rule.toKernelRulesFormat().concat(e.rule.toKernelRulesFormat()),filterRules:this.filterRule.toKernelFilterRulesFormat().concat(e.filterRule.toKernelFilterRulesFormat()),plugins:this.plugin.toKernelPluginsFormat().concat(e.plugin.toKernelPluginsFormat())})}findPluginDescriptorWithExt(e){return this.plugin.findPluginDescriptorWithExt(e)}toKernelOptions(){return{configBaseDir:this.configBaseDir,rules:this.rule.toKernelRulesFormat(),filterRules:this.filterRule.toKernelFilterRulesFormat(),plugins:this.plugin.toKernelPluginsFormat()}}toJSON(){return{rule:this.rule.toJSON(),filterRule:this.filterRule.toJSON(),plugin:this.plugin.toJSON(),configBaseDir:this.configBaseDir}}}var T=n("9lTW");function test(e){T.strictEqual(typeof e,"object"),T.strictEqual(typeof e.type,"string"),T.ok(e.type.length>=1),T.doesNotThrow((function(){JSON.parse(JSON.stringify(e))})),null!==e.children&&void 0!==e.children&&(T.ok(Array.isArray(e.children)),e.children.forEach(test)),null!==e.value&&void 0!==e.value&&T.strictEqual(typeof e.value,"string");const t=e.position;if(null!=t){T.strictEqual(typeof t,"object");const e=t.start,n=t.indent,r=t.end;null!=e&&(T.strictEqual(typeof e,"object"),null!==e.line&&void 0!==e.line&&(T.strictEqual(typeof e.line,"number"),T.ok(e.line>=0)),null!==e.column&&void 0!==e.column&&(T.strictEqual(typeof e.column,"number"),T.ok(e.column>=0)),null!==e.offset&&void 0!==e.offset&&(T.strictEqual(typeof e.offset,"number"),T.ok(e.offset>=0))),null!=r&&(T.strictEqual(typeof r,"object"),null!==r.line&&void 0!==r.line&&(T.strictEqual(typeof r.line,"number"),T.ok(r.line>=0)),null!==r.column&&void 0!==r.column&&(T.strictEqual(typeof r.column,"number"),T.ok(r.column>=0)),null!==r.offset&&void 0!==r.offset&&(T.strictEqual(typeof r.offset,"number"),T.ok(r.offset>=0))),null!=n&&(T.ok(Array.isArray(n)),n.forEach((function(e){T.strictEqual(typeof e,"number"),T.ok(e>=0)})))}}var P=n("B+7w");const O=n.n(P)()("textlint/ast-tester"),createMessage=({node:e,message:t})=>`${t}\n${JSON.stringify(e,null,4)}`;function isTxtAST(e){try{src_test(e)}catch(e){return O("This is not TxtAST",e),!1}return!0}function src_test(e){test(e),T.strictEqual(typeof e,"object",createMessage({message:"invalid node: node should be object",node:e})),T.strictEqual(typeof e.type,"string",createMessage({message:"invalid type: type should be string",node:e})),T.ok(e.type.length>=1,createMessage({message:"invalid type: type is empty string",node:e})),T.doesNotThrow((function(){JSON.parse(JSON.stringify(e))}),createMessage({message:"invalid node: node should be serializable",node:e})),null!==e.children&&void 0!==e.children&&(T.ok(Array.isArray(e.children),createMessage({message:"invalid children: children should be an array",node:e})),e.children.forEach(src_test)),null!==e.value&&void 0!==e.value&&T.strictEqual(typeof e.value,"string",createMessage({message:"invalid value: value should be string",node:e})),T.ok(null!==e.raw&&void 0!==e.raw,createMessage({message:"invalid raw: raw is undefined",node:e})),T.strictEqual(typeof e.raw,"string",createMessage({message:"invalid raw: raw is not string",node:e}));const t=e.loc;T.ok(null!=t,createMessage({message:"invalid loc: node.loc is undefined",node:e})),T.strictEqual(typeof t,"object",createMessage({message:"invalid loc: node.loc should be object. it should have { start, end } property",node:e}));const n=t.start,r=t.end;null!=n&&(T.strictEqual(typeof n,"object"),null!==n.line&&void 0!==n.line&&(T.strictEqual(typeof n.line,"number"),T.ok(n.line>=0)),null!==n.column&&void 0!==n.column&&(T.strictEqual(typeof n.column,"number"),T.ok(n.column>=0)),null!==n.offset&&void 0!==n.offset&&(T.strictEqual(typeof n.offset,"number"),T.ok(n.offset>=0))),null!=r&&(T.strictEqual(typeof r,"object"),null!==r.line&&void 0!==r.line&&(T.strictEqual(typeof r.line,"number"),T.ok(r.line>=0)),null!==r.column&&void 0!==r.column&&(T.strictEqual(typeof r.column,"number"),T.ok(r.column>=0)),null!==r.offset&&void 0!==r.offset&&(T.strictEqual(typeof r.offset,"number"),T.ok(r.offset>=0)));const i=e.range;T.ok(null!=i,createMessage({message:"invalid range: range should be an array",node:e})),T.ok(Array.isArray(i),createMessage({message:"invalid range: range should be an array",node:e})),i.forEach((function(t){T.strictEqual(typeof t,"number",createMessage({message:"invalid index: index should be number",node:e})),T.ok(t>=0,createMessage({message:"invalid index: index >= 0",node:e}))})),T.ok(i[0]<=i[1],createMessage({message:"invalid range: range[0] should be less than range[1]",node:e}))}const B=m()("textlint:kernel");function addingAtFileNameToError(e,t){return e?`${t}\nat ${e}`:t}class textlint_kernel_TextlintKernel{constructor(e={}){this.config=e,this.messageProcessManager=new MessageProcessManager([filterMessages]),this.messageProcessManager.add(filterDuplicatedMessages),this.messageProcessManager.add(function createSeverityFilter(e){return e.quiet?filterWarningMessages:through}(this.config)),this.messageProcessManager.add(sortByLineColumn)}lintText(e,t){return Promise.resolve().then(()=>{const n=new TextlintKernelDescriptor_TextlintKernelDescriptor({rules:t.rules||[],filterRules:t.filterRules||[],plugins:t.plugins||[]});return this._parallelProcess({descriptor:n,text:e,options:t})})}fixText(e,t){return Promise.resolve().then(()=>{const n=new TextlintKernelDescriptor_TextlintKernelDescriptor({rules:t.rules||[],filterRules:t.filterRules||[],plugins:t.plugins||[]});return this._sequenceProcess({descriptor:n,options:t,text:e})})}async _parallelProcess({descriptor:e,text:t,options:n}){const{ext:i,filePath:o,configBaseDir:a}=n,u=e.findPluginDescriptorWithExt(i);if(void 0===u)throw new Error("Not found available plugin for "+i);B("used plugin %j",u.id);const c=u.processor,{preProcess:l,postProcess:f}=c.processor(i);invariant("function"==typeof l&&"function"==typeof f,u.id+" processor should implements {preProcess, postProcess}");const d=await parseByPlugin({preProcess:l,sourceText:t,filePath:o});if(d instanceof Error)return((e,t)=>({filePath:null!=t?t:"",messages:[{message:e,type:"lint",loc:{start:{line:1,column:0},end:{line:1,column:0}},index:0,line:1,column:0,range:[0,1],severity:2,ruleId:"plugin-error"}]}))(`Failed to parse text by plugin: ${u.id}\n\nPlease report this error with the content to plugin author.\n\n${d.stack} \n`,o);const h=isPluginParsedObject(d),g=h?d.text:t,m=h?d.ast:d;invariant("string"==typeof g,u.id+" processor should return correct text"),invariant("object"==typeof m,u.id+" processor should return correct AST object"),r.a.runningTester&&invariant(isTxtAST(m),u.id+' processor return invalid AST object. Please check out @textlint/ast-tester.\n \nYou can check the validation result with "DEBUG=textlint*" env\n\nSee https://textlint.github.io/docs/plugin.html');const x=new TextlintSourceCodeImpl_TextlintSourceCodeImpl({text:g,ast:m,ext:i,filePath:o});B("process file %s",o);const b=new linter_processor_LinterProcessor(c,this.messageProcessManager);return await b.process({config:this.config,ruleDescriptors:e.rule,filterRuleDescriptors:e.filterRule,sourceCode:x,configBaseDir:a}).catch(e=>(e.message=addingAtFileNameToError(o,e.message),Promise.reject(e)))}async _sequenceProcess({descriptor:e,text:t,options:n}){const{ext:i,filePath:o,configBaseDir:a}=n,u=e.findPluginDescriptorWithExt(i);if(void 0===u)throw new Error("Not found available plugin for "+i);B("used plugin %j",u.id);const c=u.processor,{preProcess:l,postProcess:f}=c.processor(i);invariant("function"==typeof l&&"function"==typeof f,u.id+" processor should implements {preProcess, postProcess}");const d=await Promise.resolve(l(t,o)),h=isPluginParsedObject(d),g=h?d.text:t,m=h?d.ast:d;invariant("string"==typeof g,u.id+" processor should return correct text"),invariant("object"==typeof m,u.id+" processor should return correct AST object"),r.a.runningTester&&invariant(isTxtAST(m),u.id+' processor return invalid AST object. Please check out @textlint/ast-tester.\n \nYou can check the validation result with "DEBUG=textlint*" env\n\nSee https://textlint.github.io/docs/plugin.html');const x=new TextlintSourceCodeImpl_TextlintSourceCodeImpl({text:g,ast:m,ext:i,filePath:o});B("process file %s",o);const b=new fixer_processor_FixerProcessor(c,this.messageProcessManager);return await b.process({config:this.config,ruleDescriptors:e.rule,filterRules:e.filterRule,sourceCode:x,configBaseDir:a}).catch(e=>(e.message=addingAtFileNameToError(o,e.message),Promise.reject(e)))}}},equ2:function(e,t,n){!function(e){"use strict";function createDefaultIsNestedEqual(e){return function isEqual(t,n,r,i,o,a,u){return e(t,n,u)}}function createIsCircular(e){return function isCircular(t,n,r,i){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r,i);var o=i.get(t),a=i.get(n);if(o&&a)return o===n&&a===t;i.set(t,n),i.set(n,t);var u=e(t,n,r,i);return i.delete(t),i.delete(n),u}}function merge(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}function isPlainObject(e){return e.constructor===Object||null==e.constructor}function isPromiseLike(e){return"function"==typeof e.then}function sameValueZeroEqual(e,t){return e===t||e!=e&&t!=t}var t=Object.prototype.toString;function createComparator(e){var n=e.areArraysEqual,r=e.areDatesEqual,i=e.areMapsEqual,o=e.areObjectsEqual,a=e.areRegExpsEqual,u=e.areSetsEqual,c=(0,e.createIsNestedEqual)(comparator);function comparator(e,l,f){if(e===l)return!0;if(!e||!l||"object"!=typeof e||"object"!=typeof l)return e!=e&&l!=l;if(isPlainObject(e)&&isPlainObject(l))return o(e,l,c,f);var d=Array.isArray(e),h=Array.isArray(l);if(d||h)return d===h&&n(e,l,c,f);var g=t.call(e);return g===t.call(l)&&("[object Date]"===g?r(e,l,c,f):"[object RegExp]"===g?a(e,l,c,f):"[object Map]"===g?i(e,l,c,f):"[object Set]"===g?u(e,l,c,f):"[object Object]"===g||"[object Arguments]"===g?!isPromiseLike(e)&&!isPromiseLike(l)&&o(e,l,c,f):("[object Boolean]"===g||"[object Number]"===g||"[object String]"===g)&&sameValueZeroEqual(e.valueOf(),l.valueOf()))}return comparator}function areArraysEqual(e,t,n,r){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!n(e[i],t[i],i,i,e,t,r))return!1;return!0}var n=createIsCircular(areArraysEqual);function areDatesEqual(e,t){return sameValueZeroEqual(e.valueOf(),t.valueOf())}function areMapsEqual(e,t,n,r){var i=e.size===t.size;if(!i)return!1;if(!e.size)return!0;var o={},a=0;return e.forEach((function(u,c){if(i){var l=!1,f=0;t.forEach((function(i,d){l||o[f]||!(l=n(c,d,a,f,e,t,r)&&n(u,i,c,d,e,t,r))||(o[f]=!0),f++})),a++,i=l}})),i}var r=createIsCircular(areMapsEqual),i=Object.prototype.hasOwnProperty;function areObjectsEqual(e,t,n,r){var o,a=Object.keys(e),u=a.length;if(Object.keys(t).length!==u)return!1;for(;u-- >0;){if("_owner"===(o=a[u])){var c=!!e.$$typeof,l=!!t.$$typeof;if((c||l)&&c!==l)return!1}if(!i.call(t,o)||!n(e[o],t[o],o,o,e,t,r))return!1}return!0}var o=createIsCircular(areObjectsEqual);function areRegExpsEqual(e,t){return e.source===t.source&&e.flags===t.flags}function areSetsEqual(e,t,n,r){var i=e.size===t.size;if(!i)return!1;if(!e.size)return!0;var o={};return e.forEach((function(a,u){if(i){var c=!1,l=0;t.forEach((function(i,f){c||o[l]||!(c=n(a,i,u,f,e,t,r))||(o[l]=!0),l++})),i=c}})),i}var a=createIsCircular(areSetsEqual),u=Object.freeze({areArraysEqual:areArraysEqual,areDatesEqual:areDatesEqual,areMapsEqual:areMapsEqual,areObjectsEqual:areObjectsEqual,areRegExpsEqual:areRegExpsEqual,areSetsEqual:areSetsEqual,createIsNestedEqual:createDefaultIsNestedEqual}),c=Object.freeze({areArraysEqual:n,areDatesEqual:areDatesEqual,areMapsEqual:r,areObjectsEqual:o,areRegExpsEqual:areRegExpsEqual,areSetsEqual:a,createIsNestedEqual:createDefaultIsNestedEqual}),l=createComparator(u),f=createComparator(merge(u,{createIsNestedEqual:function(){return sameValueZeroEqual}})),d=createComparator(c),h=createComparator(merge(c,{createIsNestedEqual:function(){return sameValueZeroEqual}}));e.circularDeepEqual=function circularDeepEqual(e,t){return d(e,t,new WeakMap)},e.circularShallowEqual=function circularShallowEqual(e,t){return h(e,t,new WeakMap)},e.createCustomCircularEqual=function createCustomCircularEqual(e){var t=createComparator(merge(c,e(c)));return function(e,n,r){return void 0===r&&(r=new WeakMap),t(e,n,r)}},e.createCustomEqual=function createCustomEqual(e){return createComparator(merge(u,e(u)))},e.deepEqual=function deepEqual(e,t){return l(e,t,void 0)},e.sameValueZeroEqual=sameValueZeroEqual,e.shallowEqual=function shallowEqual(e,t){return f(e,t,void 0)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},f8fV:function(e,t,n){e.exports=function create(e){var t=(e||{}).singleTilde,n={tokenize:function tokenizeStrikethrough(e,n,i){var o=this.previous,a=this.events,u=0;return function start(t){if(126!==t||126===o&&"characterEscape"!==a[a.length-1][1].type)return i(t);return e.enter("strikethroughSequenceTemporary"),more(t)};function more(a){var c,l,f=r(o);return 126===a?u>1?i(a):(e.consume(a),u++,more):u<2&&!t?i(a):(c=e.exit("strikethroughSequenceTemporary"),l=r(a),c._open=!l||2===l&&f,c._close=!f||2===f&&l,n(a))}},resolveAll:function resolveAllStrikethrough(e,t){var n,r,u,c,l=-1;for(;++le.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:b,r=[],i=[],o=!0,a=n.includeSymbols?own_enumerable_keys:Object.keys,u=!!n.immutable;return function walker(e){var c=u?copy(e,n):e,f={},d=!0,h={node:c,node_:e,path:[].concat(r),parent:i[i.length-1],parents:i,key:r[r.length-1],isRoot:0===r.length,level:r.length,circular:void 0,isLeaf:!1,notLeaf:!0,notRoot:!0,isFirst:!1,isLast:!1,update:function update(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(d=!1)},delete:function _delete(e){delete h.parent.node[h.key],e&&(d=!1)},remove:function remove(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(d=!1)},keys:null,before:function before(e){f.before=e},after:function after(e){f.after=e},pre:function pre(e){f.pre=e},post:function post(e){f.post=e},stop:function stop(){o=!1},block:function block(){d=!1}};if(!o)return h;function update_state(){if("object"===_type_of(h.node)&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=a(h.node)),h.isLeaf=0===h.keys.length;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:b;_class_call_check(this,Traverse),__privateAdd(this,m),__privateAdd(this,x),__privateSet(this,m,e),__privateSet(this,x,t)}return function _create_class(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(Traverse,[{key:"get",value:function get(e){for(var t=__privateGet(this,m),n=0;t&&n-1?(d=1,y.interrupt?t(r):continuation(r)):l.indexOf(m.toLowerCase())>-1?(d=6,47===r?(e.consume(r),basicSelfClosing):y.interrupt?t(r):continuation(r)):(d=7,y.interrupt?n(r):h?completeAttributeNameBefore(r):completeClosingTagAfter(r)):45===r||i(r)?(e.consume(r),m+=c(r),tagName):n(r)}function basicSelfClosing(r){return 62===r?(e.consume(r),y.interrupt?t:continuation):n(r)}function completeClosingTagAfter(t){return u(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||r(t)?(e.consume(t),completeAttributeName):u(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):u(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),b=t,completeAttributeValueQuoted):u(t)?(e.consume(t),completeAttributeValueBefore):(b=void 0,completeAttributeValueUnquoted(t))}function completeAttributeValueQuoted(t){return t===b?(e.consume(t),completeAttributeValueQuotedAfter):null===t||o(t)?n(t):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||u(e)?completeAttributeNameBefore(e):n(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):n(t)}function completeAfter(t){return u(t)?(e.consume(t),completeAfter):null===t||o(t)?continuation(t):n(t)}function continuation(t){return 45===t&&2===d?(e.consume(t),continuationCommentInside):60===t&&1===d?(e.consume(t),continuationRawTagOpen):62===t&&4===d?(e.consume(t),continuationClose):63===t&&3===d?(e.consume(t),continuationDeclarationInside):93===t&&5===d?(e.consume(t),continuationCharacterDataInside):!o(t)||6!==d&&7!==d?null===t||o(t)?continuationAtLineEnding(t):(e.consume(t),continuation):e.check(g,continuationClose,continuationAtLineEnding)(t)}function continuationAtLineEnding(t){return e.exit("htmlFlowData"),htmlContinueStart(t)}function htmlContinueStart(t){return null===t?done(t):o(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),htmlContinueStart):(e.enter("htmlFlowData"),continuation(t))}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),m="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){return 62===t&&f.indexOf(m.toLowerCase())>-1?(e.consume(t),continuationClose):r(t)&&m.length<8?(e.consume(t),m+=c(t),continuationRawEndTag):continuation(t)}function continuationCharacterDataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):continuation(t)}function continuationClose(t){return null===t||o(t)?(e.exit("htmlFlowData"),done(t)):(e.consume(t),continuationClose)}function done(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function resolveToHtmlFlow(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},g={tokenize:function tokenizeNextBlank(e,t,n){return function start(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(d,t,n)}},partial:!0};e.exports=h},ifv4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StructuredSource=void 0;const r=n("YIwW");t.StructuredSource=class StructuredSource{constructor(e){this.indice=[0];let t=/[\r\n\u2028\u2029]/g;const n=e.length;for(t.lastIndex=0;;){let r=t.exec(e);if(!r)break;let i=r.index;13===e.charCodeAt(i)&&10===e.charCodeAt(i+1)&&(i+=1);let o=i+1;if(n-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),afterLabelEnd)};function afterLabelEnd(n){return 40===n?e.attempt(m,t,i?t:balanced)(n):91===n?e.attempt(x,t,i?e.attempt(b,t,balanced):balanced)(n):i?t(n):balanced(n)}function balanced(e){return r._balanced=!0,n(e)}},resolveTo:function resolveToLabelEnd(e,t){var n,r,a,l,f,d,h,g=e.length,m=0;for(;g--;)if(l=e[g][1],f){if("link"===l.type||"labelLink"===l.type&&l._inactive)break;"enter"===e[g][0]&&"labelLink"===l.type&&(l._inactive=!0)}else if(d){if("enter"===e[g][0]&&("labelImage"===l.type||"labelLink"===l.type)&&!l._balanced&&(f=g,"labelLink"!==l.type)){m=2;break}}else"labelEnd"===l.type&&(d=g);return n={type:"labelLink"===e[f][1].type?"link":"image",start:c(e[f][1].start),end:c(e[e.length-1][1].end)},r={type:"label",start:c(e[f][1].start),end:c(e[d][1].end)},a={type:"labelText",start:c(e[f+m+2][1].end),end:c(e[d-2][1].start)},h=i(h=[["enter",n,t],["enter",r,t]],e.slice(f+1,f+m+3)),h=i(h,[["enter",a,t]]),h=i(h,u(t.parser.constructs.insideSpan.null,e.slice(f+m+4,d-3),t)),h=i(h,[["exit",a,t],e[d-2],e[d-1],["exit",r,t]]),h=i(h,e.slice(d+1)),h=i(h,[["exit",n,t]]),o(e,f,e.length,h),e},resolveAll:function resolveAllLabelEnd(e){var t,n=-1;for(;++n-1?void 0:4);function closingSequence(t){return t===u?(e.consume(t),i++,closingSequence):i-1?void 0:4)(i)}}},exit:function tokenizeListEnd(e){e.exit(this.containerState.type)}},d={tokenize:function tokenizeListItemPrefixWhitespace(e,t,n){var r=this;return u(e,(function afterPrefix(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},h={tokenize:function tokenizeIndent(e,t,n){var r=this;return u(e,(function afterPrefix(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=f},jv5L:function(e,t,n){var r=n("32EX"),i=n("ki31"),o=n("DHYa"),a=n("qD0n"),u={}.hasOwnProperty;function extension(e,t){var n,r,i;for(n in t)r=u.call(e,n)?e[n]:e[n]={},i=t[n],"canContainEols"===n?e[n]=[].concat(r,i):Object.assign(r,i)}e.exports=function configure(e){var t={canContainEols:[]},n=e.length,r=-1;for(;++r-1?void 0:4)}function afterPrefix(t){return e.enter("htmlTextData"),h(t)}function end(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=l},kTcH:function(e,t,n){"use strict";var r=/[\0\t\n\r]/g;e.exports=function preprocess(){var e,t=!0,n=1,i="";return function preprocessor(o,a,u){var c,l,f,d,h,g=[];o=i+o.toString(a),f=0,i="",t&&(65279===o.charCodeAt(0)&&f++,t=void 0);for(;fh?n(o):(e.consume(o),destinationRaw):41===o?g--?(e.consume(o),destinationRaw):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):null===o||i(o)?g?n(o):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):r(o)?n(o):(e.consume(o),92===o?destinationRawEscape:destinationRaw)}function destinationRawEscape(t){return 40===t||41===t||92===t?(e.consume(t),destinationRaw):destinationRaw(t)}}},nZ1L:function(e,t,n){"use strict";var r=n("C8ev");e.exports=function shallow(e){return r({},e)}},oJEb:function(e,t,n){e.exports=function combineExtensions(e){var t={},n=-1;for(;++n-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function assertNonEmpty(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}VFile.prototype.toString=function toString(e){return(this.contents||"").toString(e)},Object.defineProperty(VFile.prototype,"path",{get:function getPath(){return this.history[this.history.length-1]},set:function setPath(e){assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(VFile.prototype,"dirname",{get:function getDirname(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function setDirname(e){assertPath(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(VFile.prototype,"basename",{get:function getBasename(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function setBasename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(VFile.prototype,"extname",{get:function getExtname(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function setExtname(e){if(assertPart(e,"extname"),assertPath(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(VFile.prototype,"stem",{get:function getStem(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function setStem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},u7hp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("2pUu"),i=n("9BLa"),o=n("S0DD"),a=n("vqy6"),u=n("7glH"),c=n("0xm9"),l=n("isAi"),f=n("Pw63"),d=n("glqd"),h=n("hhCb"),g=n("CGoh"),m=n("ES9B"),x=n("i07k"),b=n("kNum"),y=n("is2r"),v=n("mjWT"),C=n("YG3I"),k=n("obFG"),F=n("ji5D"),w=n("CprC"),E=n("ayp4"),D={42:F,43:F,45:F,48:F,49:F,50:F,51:F,52:F,53:F,54:F,55:F,56:F,57:F,62:a},A={91:h},S={"-2":f,"-1":f,32:f},T={35:m,42:E,45:[w,E],60:x,61:w,95:E,96:l,126:l},P={38:c,92:u},O={"-5":k,"-4":k,"-3":k,33:v,38:c,42:i,60:[o,b],91:C,92:[g,u],93:y,95:i,96:d},B={null:[i,r.resolver]};t.contentInitial=A,t.disable={null:[]},t.document=D,t.flow=T,t.flowInitial=S,t.insideSpan=B,t.string=P,t.text=O},uDje:function(e,t,n){var r=n("rm/B");e.exports=r(/\s/)},uGmZ:function(e,t,n){e.exports=n("CGL2")},"ueQ+":function(e,t,n){"use strict";function normalize(e){var t,n;return assertPath(e),t=47===e.charCodeAt(0),(n=function normalizeString(e,t){var n,r,i="",o=0,a=-1,u=0,c=-1;for(;++c<=e.length;){if(c2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=c,u=0;continue}}else if(i.length){i="",o=0,a=c,u=0;continue}t&&(i=i.length?i+"/..":"..",o=2)}else i.length?i+="/"+e.slice(a+1,c):i=e.slice(a+1,c),o=c-a-1;a=c,u=0}else 46===n&&u>-1?u++:u=-1}return i}(e,!t)).length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function assertPath(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function basename(e,t){var n,r,i,o,a=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(assertPath(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else u<0&&(i=!0,u=n+1);return u<0?"":e.slice(a,u)}if(t===e)return"";r=-1,o=t.length-1;for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else r<0&&(i=!0,r=n+1),o>-1&&(e.charCodeAt(n)===t.charCodeAt(o--)?o<0&&(u=n):(o=-1,u=r));a===u?u=r:u<0&&(u=e.length);return e.slice(a,u)},t.dirname=function dirname(e){var t,n,r;if(assertPath(e),!e.length)return".";t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function extname(e){var t,n,r,i=-1,o=0,a=-1,u=0;assertPath(e),r=e.length;for(;r--;)if(47!==(n=e.charCodeAt(r)))a<0&&(t=!0,a=r+1),46===n?i<0?i=r:1!==u&&(u=1):i>-1&&(u=-1);else if(t){o=r+1;break}if(i<0||a<0||0===u||1===u&&i===a-1&&i===o+1)return"";return e.slice(i,a)},t.join=function join(){var e,t=-1;for(;++t":""))+")");return visit;function visit(){var i,l,f=c.concat(e),d=[];if((!t||u(e,r,c[c.length-1]||null))&&!1===(d=function toResult(e){if(null!==e&&"object"==typeof e&&"length"in e)return e;if("number"==typeof e)return[!0,e];return[e]}(n(e,c)))[0])return d;if(e.children&&"skip"!==d[0])for(l=(o?e.children.length:-1)+a;l>-1&&l-1?void 0:4)}},exit:function exit(e){e.exit("blockQuote")}};e.exports=o},wH4i:function(e,t,n){"use strict";var r,i=n("penn"),o=n("jv5L"),a=n("ywEd");e.exports=function gfm(e){var t=this.data();!r&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(r=!0,console.warn("[remark-gfm] Warning: please upgrade to remark 13 to use this plugin"));function add(e,n){t[e]?t[e].push(n):t[e]=[n]}add("micromarkExtensions",i(e)),add("fromMarkdownExtensions",o),add("toMarkdownExtensions",a(e))}},wJMj:function(e,t,n){"use strict";e.exports=function fromMarkdown(e,t,n){"string"!=typeof t&&(n=t,t=void 0);return function compiler(e){var t=e||{},n=function configure(e,t){var n=-1;for(;++n-1&&(onenterdata.call(this,e),onexitdata.call(this,e))},link:closer((function onexitlink(){var e=this.stack[this.stack.length-1];getData("inReference")?(e.type+="Reference",e.referenceType=getData("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType);setData("referenceType")})),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function onexitreferencestring(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),setData("referenceType","full")},resourceDestinationString:function onexitresourcedestinationstring(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function onexitresourcetitlestring(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function onexitresource(){setData("inReference")},setextHeading:closer((function onexitsetextheading(){setData("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function onexitsetextheadinglinesequence(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function onexitsetextheadingtext(){setData("setextHeadingSlurpLineEnding",!0)},strong:closer(),thematicBreak:closer()}},t.mdastExtensions||[]),c={};return function compile(e){var t,r,a={type:"root",children:[]},u=[],c=[],l=-1,f={stack:[a],tokenStack:u,config:n,enter:enter,exit:exit,buffer:buffer,resume:resume,setData:setData,getData:getData};for(;++l{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n999?n(c):93===c?i?(e.exit("chunkString"),l=e.exit("footnoteCallString"),a.indexOf(r(o.sliceSerialize(l)))<0?n(c):function end(n){return e.enter("footnoteCallLabelMarker"),e.consume(n),e.exit("footnoteCallLabelMarker"),e.exit("footnoteCall"),t}(c)):n(c):(e.consume(c),c<0||32===c||(i=!0),92===c?callEscape:callData)}function callEscape(t){return 91===t||92===t||93===t?(e.consume(t),u++,callData):callData(t)}}function tokenizeNoteStart(e,t,n){return function start(t){return 94!==t?n(t):(e.enter("inlineNoteStart"),e.enter("inlineNoteMarker"),e.consume(t),e.exit("inlineNoteMarker"),noteStart)};function noteStart(r){return 91!==r?n(r):(e.enter("inlineNoteStartMarker"),e.consume(r),e.exit("inlineNoteStartMarker"),e.exit("inlineNoteStart"),t)}}function tokenizeNoteEnd(e,t,n){var r=this;return function start(i){var o,a=r.events.length;for(;a--;)if("inlineNoteStart"===r.events[a][1].type){o=!0;break}if(93!==i||!o)return n(i);return e.enter("inlineNoteEnd"),e.enter("inlineNoteEndMarker"),e.consume(i),e.exit("inlineNoteEndMarker"),e.exit("inlineNoteEnd"),t}}function tokenizeDefinitionStart(e,t,n){var o,a,u=this,c=u.parser.footnotes||(u.parser.footnotes=[]),l=0;return function start(t){if(91!==t)return n(t);return e.enter("footnoteDefinition")._container=!0,e.enter("footnoteDefinitionLabel"),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),labelStart};function labelStart(t){return 94!==t?n(t):(e.enter("footnoteDefinitionMarker"),e.consume(t),e.exit("footnoteDefinitionMarker"),e.enter("footnoteDefinitionLabelString"),atBreak)}function atBreak(t){var i;return null===t||91===t||l>999?n(t):93===t?a?(i=e.exit("footnoteDefinitionLabelString"),o=r(u.sliceSerialize(i)),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),e.exit("footnoteDefinitionLabel"),labelAfter):n(t):-5===t||-4===t||-3===t?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l++,atBreak):(e.enter("chunkString").contentType="string",label(t))}function label(t){return null===t||-5===t||-4===t||-3===t||91===t||93===t||l>999?(e.exit("chunkString"),atBreak(t)):(t<0||32===t||(a=!0),l++,e.consume(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),l++,label):label(t)}function labelAfter(t){return 58!==t?n(t):(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),e.check(i,onBlank,nonBlank))}function onBlank(e){return u.containerState.initialBlankLine=!0,done(e)}function nonBlank(t){return-2===t||-1===t||32===t?(e.enter("footnoteDefinitionWhitespace"),e.consume(t),e.exit("footnoteDefinitionWhitespace"),done(t)):done(t)}function done(e){return c.indexOf(o)<0&&c.push(o),t(e)}}function tokenizeDefinitionContinuation(e,t,n){var r=this;return e.check(i,(function onBlank(e){r.containerState.initialBlankLine&&(r.containerState.furtherBlankLines=!0);return t(e)}),(function notBlank(i){if(r.containerState.furtherBlankLines||-2!==i&&-1!==i&&32!==i)return n(i);return r.containerState.initialBlankLine=void 0,r.containerState.furtherBlankLines=void 0,e.attempt(f,t,n)(i)}))}function footnoteDefinitionEnd(e){e.exit("footnoteDefinition")}},"/biz":function(e,t,n){"use strict";var r=n("Gdbo"),i=n("BEtg"),o=n("6dBs"),a=n("NkL+"),u=n("xkQk"),c=n("Esvb");e.exports=function unified(){var e,t=[],n=u(),i={},h=-1;return processor.data=function data(t,n){if("string"==typeof t)return 2===arguments.length?(assertUnfrozen("data",e),i[t]=n,processor):f.call(i,t)&&i[t]||null;if(t)return assertUnfrozen("data",e),i=t,processor;return i},processor.freeze=freeze,processor.attachers=t,processor.use=function use(n){var r;if(assertUnfrozen("use",e),null==n);else if("function"==typeof n)addPlugin.apply(null,arguments);else{if("object"!=typeof n)throw new Error("Expected usable value, not `"+n+"`");"length"in n?addList(n):addPreset(n)}r&&(i.settings=o(i.settings||{},r));return processor;function addPreset(e){addList(e.plugins),e.settings&&(r=o(r||{},e.settings))}function add(e){if("function"==typeof e)addPlugin(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?addPlugin.apply(null,e):addPreset(e)}}function addList(e){var t=-1;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t-1)return nok();return e.tokenize.call(t?r({},b,t):b,v,ok,nok)(n)}}function ok(t){return e(l,f),i}function nok(e){return f.restore(),++cP&&(P=u);++ac)&&(L[a]=l)),T.push(f);D[w]=T,B[w]=z}var O;if(a=-1,u=P,"object"==typeof C&&"length"in C)for(;++aL[a]&&(L[a]=l),z[a]=l),T[a]=f;D.splice(1,0,T),B.splice(1,0,z),w=-1,S=D.length,d=[];for(;++w=h||u+1=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=o)return plural(e,t,o,"day");if(t>=i)return plural(e,t,i,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"8TND":function(e,t,n){"use strict";function convert(e){if(null==e)return ok;if("string"==typeof e)return function typeFactory(e){return function type(t){return Boolean(t&&t.type===e)}}(e);if("object"==typeof e)return"length"in e?function anyFactory(e){var t=[],n=-1;for(;++n1)for(var n=1;n1&&e[x][1].end.offset-e[x][1].start.offset>1?2:1,f={type:h>1?"strongSequence":"emphasisSequence",start:a(c(e[n][1].end),-h),end:c(e[n][1].end)},d={type:h>1?"strongSequence":"emphasisSequence",start:c(e[x][1].start),end:a(c(e[x][1].start),h)},l={type:h>1?"strongText":"emphasisText",start:c(e[n][1].end),end:c(e[x][1].start)},o={type:h>1?"strong":"emphasis",start:c(f.start),end:c(d.end)},e[n][1].end=c(f.start),e[x][1].start=c(d.end),m=[],e[n][1].end.offset-e[n][1].start.offset&&(m=r(m,[["enter",e[n][1],t],["exit",e[n][1],t]])),m=r(m,[["enter",o,t],["enter",f,t],["exit",f,t],["enter",l,t]]),m=r(m,u(t.parser.constructs.insideSpan.null,e.slice(n+1,x),t)),m=r(m,[["exit",l,t],["enter",d,t],["exit",d,t],["exit",o,t]]),e[x][1].end.offset-e[x][1].start.offset?(g=2,m=r(m,[["enter",e[x][1],t],["exit",e[x][1],t]])):g=0,i(e,n-1,x-n+3,m),x=n+m.length-g-2;break}x=-1;for(;++x0&&(l={type:"text",value:l}),l&&(h=[].concat(h,l)),m=o+u[0].length),f.global);)u=f.exec(n.value);if(void 0===o?(h=[n],g--):(m1)for(c=handlerFactory(e.slice(1)),o=-1;++oa?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a))),n}},CprC:function(e,t,n){"use strict";var r=n("bct4"),i=n("b/Vn"),o=n("Mjva"),a={name:"setextUnderline",tokenize:function tokenizeSetextUnderline(e,t,n){var i,a,u=this,c=u.events.length;for(;c--;)if("lineEnding"!==u.events[c][1].type&&"linePrefix"!==u.events[c][1].type&&"content"!==u.events[c][1].type){a="paragraph"===u.events[c][1].type;break}return function start(t){if(!u.lazy&&(u.interrupt||a))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,closingSequence(t);return n(t)};function closingSequence(t){return t===i?(e.consume(t),closingSequence):(e.exit("setextHeadingLineSequence"),o(e,closingSequenceEnd,"lineSuffix")(t))}function closingSequenceEnd(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function resolveToSetextUnderline(e,t){var n,r,o,a,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){n=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),o||"definition"!==e[u][1].type||(o=u);a={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};e.exports=a},DHYa:function(e,t){function exit(e){this.exit(e)}function enterCell(e){this.enter({type:"tableCell",children:[]},e)}function replace(e,t){return"|"===t?t:e}t.enter={table:function enterTable(e){this.enter({type:"table",align:e._align,children:[]},e),this.setData("inTable",!0)},tableData:enterCell,tableHeader:enterCell,tableRow:function enterRow(e){this.enter({type:"tableRow",children:[]},e)}},t.exit={codeText:function exitCodeText(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,replace));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function exitTable(e){this.exit(e),this.setData("inTable")},tableData:exit,tableHeader:exit,tableRow:exit}},Dnzn:function(e,t,n){"use strict";n.r(t),n.d(t,"Syntax",(function(){return r.a})),n.d(t,"parse",(function(){return parse}));var r=n("lr8r");const i={root:r.a.Document,paragraph:r.a.Paragraph,blockquote:r.a.BlockQuote,listItem:r.a.ListItem,list:r.a.List,Bullet:"Bullet",heading:r.a.Header,code:r.a.CodeBlock,HtmlBlock:r.a.HtmlBlock,thematicBreak:r.a.HorizontalRule,text:r.a.Str,break:r.a.Break,emphasis:r.a.Emphasis,strong:r.a.Strong,html:r.a.Html,link:r.a.Link,image:r.a.Image,inlineCode:r.a.Code,delete:r.a.Delete,yaml:"Yaml",table:"Table",tableRow:"TableRow",tableCell:"TableCell",linkReference:"LinkReference",imageReference:"ImageReference",footnoteReference:"FootnoteReference",definition:"Definition",ReferenceDef:r.a.ReferenceDef};var o=n("hiFj"),a=n.n(o),u=n("SoEE"),c=n.n(u),l=n("/biz"),f=n.n(l),d=n("eASu"),h=n.n(d),m=n("wH4i"),g=n.n(m),x=n("X3Mf"),k=n.n(x),v=n("BJph"),b=n.n(v),y=n("6JOd"),C=n.n(y);h.a.transforms=[];const F=f()().use(k.a).use(b.a,["yaml"]).use(g.a).use(C.a,{inlineNotes:!0}),E=c()("@textlint/markdown-to-ast");function parse(e){const t=65279===e.charCodeAt(0)?e.slice(1):e,n=(e=>F.parse(e))(t);return a()(n).forEach((function(e){if(this.notLeaf){if(e.type){const t=i[e.type];t?e.type=t:E(`replacedType : ${t} , node.type: ${e.type}`)}if(e.position){const n=e.position,r={start:{line:n.start.line,column:Math.max(n.start.column-1,0)},end:{line:n.end.line,column:Math.max(n.end.column-1,0)}},i=[n.start.offset,n.end.offset];e.loc=r,e.range=i,e.raw=t.slice(i[0],i[1]),Object.defineProperty(e,"position",{enumerable:!1,configurable:!1,writable:!1,value:n})}}})),n}},EBzq:function(e,t,n){"use strict";var r=[].slice;e.exports=function wrap(e,t){var n;return function wrapped(){var t,i=r.call(arguments,0),o=e.length>i.length;o&&i.push(done);try{t=e.apply(null,i)}catch(e){if(o&&n)throw e;return done(e)}o||(t&&"function"==typeof t.then?t.then(then,done):t instanceof Error?done(t):then(t))};function done(){n||(n=!0,t.apply(null,arguments))}function then(e){done(null,e)}}},EIjK:function(e,t){e.exports=String.fromCharCode},ES9B:function(e,t,n){"use strict";var r=n("bct4"),i=n("FUqJ"),o=n("GBTV"),a=n("SHxd"),u=n("Mjva"),c={name:"headingAtx",tokenize:function tokenizeHeadingAtx(e,t,n){var a=this,c=0;return function start(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),fenceOpenInside(t)};function fenceOpenInside(r){return 35===r&&c++<6?(e.consume(r),fenceOpenInside):null===r||i(r)?(e.exit("atxHeadingSequence"),a.interrupt?t(r):headingBreak(r)):n(r)}function headingBreak(n){return 35===n?(e.enter("atxHeadingSequence"),sequence(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):o(n)?u(e,headingBreak,"whitespace")(n):(e.enter("atxHeadingText"),data(n))}function sequence(t){return 35===t?(e.consume(t),sequence):(e.exit("atxHeadingSequence"),headingBreak(t))}function data(t){return null===t||35===t||i(t)?(e.exit("atxHeadingText"),headingBreak(t)):(e.consume(t),data)}},resolve:function resolveHeadingAtx(e,t){var n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},a(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=c},Esvb:function(e,t,n){"use strict";e.exports=n("PPHF")},F2il:function(e,t,n){"use strict";e.exports=function ccount(e,t){var n,r=String(e),i=0;if("string"!=typeof t)throw new Error("Expected character");n=r.indexOf(t);for(;-1!==n;)i++,n=r.indexOf(t,n+t.length);return i}},FUqJ:function(e,t,n){"use strict";e.exports=function markdownLineEndingOrSpace(e){return e<0||32===e}},Fi6R:function(e,t,n){"use strict";var r=n("SHxd");e.exports=function chunkedPush(e,t){return e.length?(r(e,e.length,0,t),e):t}},GBTV:function(e,t,n){"use strict";e.exports=function markdownSpace(e){return-2===e||-1===e||32===e}},GMKu:function(e,t,n){"use strict";var r=n("FUqJ"),i=n("sCug"),o=n("IHXm");e.exports=function classifyCharacter(e){return null===e||r(e)||o(e)?1:i(e)?2:void 0}},GOtQ:function(e,t,n){e.exports=n("PXHr")},Gdbo:function(e,t,n){"use strict";e.exports=function bail(e){if(e)throw e}},IHXm:function(e,t,n){"use strict";var r=n("5SCW")(/\s/);e.exports=r},IW26:function(e,t,n){"use strict";function toString(e){return e&&(e.value||e.alt||e.title||"children"in e&&all(e.children)||"length"in e&&all(e))||""}function all(e){for(var t=[],n=-1;++n0&&("\r"===l||"\n"===l)&&"html"===o.type&&(u[u.length-1]=u[u.length-1].replace(/(\r?\n|\r)$/," "),l=" "),u.push(t.handle(o,e,t,{before:l,after:r})),l=u[u.length-1].slice(-1);return u.join("")}},"M+MU":function(e,t,n){"use strict";var r=n("5SCW")(/[A-Za-z]/);e.exports=r},"M8+4":function(e,t){e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},Mjva:function(e,t,n){"use strict";var r=n("GBTV");e.exports=function spaceFactory(e,t,n,i){var o=i?i-1:1/0,a=0;return function start(i){if(r(i))return e.enter(n),prefix(i);return t(i)};function prefix(i){return r(i)&&a++{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},NvGK:function(e,t,n){"use strict";var r=n("Ac7Z");e.exports=function serializeChunks(e){for(var t,n,i,o=-1,a=[];++ot;)a.containerState=l[o][1],l[o][0].exit.call(a,e);l.length=t}},u={tokenize:function tokenizeContainer(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},c={tokenize:function tokenizeLazyFlow(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=a},PG0i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("aPtP"),i=n("Mjva"),o=n("C9no"),a=function initializeFlow(e){var t=this,n=e.attempt(o,(function atBlankEnding(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,afterConstruct,i(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(r,afterConstruct)),"linePrefix")));return n;function afterConstruct(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=a},PPHF:function(e,t,n){"use strict";var r=n("aCXt"),i=n("tgGP");e.exports=i,i.prototype.message=function message(e,t,n){var i=new r(e,t,n);this.path&&(i.name=this.path+":"+i.name,i.file=this.path);return i.fatal=!1,this.messages.push(i),i},i.prototype.info=function info(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function fail(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},PXHr:function(e,t,n){e.exports=function create(e){var t,n,i=r(e),o=i.length,a=-1,u={};for(;++a=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},"S+8a":function(e,t,n){"use strict";e.exports=function markdownSpace(e){return-2===e||-1===e||32===e}},S0DD:function(e,t,n){"use strict";var r=n("M+MU"),i=n("Qgb1"),o=n("ALIq"),a=n("mKLD"),u={name:"autolink",tokenize:function tokenizeAutolink(e,t,n){var u=1;return function start(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),open};function open(t){return r(t)?(e.consume(t),schemeOrEmailAtext):o(t)?emailAtext(t):n(t)}function schemeOrEmailAtext(e){return 43===e||45===e||46===e||i(e)?schemeInsideOrEmailAtext(e):emailAtext(e)}function schemeInsideOrEmailAtext(t){return 58===t?(e.consume(t),urlInside):(43===t||45===t||46===t||i(t))&&u++<32?(e.consume(t),schemeInsideOrEmailAtext):emailAtext(t)}function urlInside(t){return 62===t?(e.exit("autolinkProtocol"),end(t)):32===t||60===t||a(t)?n(t):(e.consume(t),urlInside)}function emailAtext(t){return 64===t?(e.consume(t),u=0,emailAtSignOrDot):o(t)?(e.consume(t),emailAtext):n(t)}function emailAtSignOrDot(e){return i(e)?emailLabel(e):n(e)}function emailLabel(t){return 46===t?(e.consume(t),u=0,emailAtSignOrDot):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",end(t)):emailValue(t)}function emailValue(t){return(45===t||i(t))&&u++<63?(e.consume(t),45===t?emailValue:emailLabel):n(t)}function end(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=u},SHxd:function(e,t,n){"use strict";var r=n("Ipxk");e.exports=function chunkedSplice(e,t,n,i){var o,a=e.length,u=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+".");c=d.length+1,("tab"===h||"mixed"===h&&(t&&t.spread||e.spread))&&(c=4*Math.ceil(c/4));return f=n.enter("listItem"),l=u(a(e,n),(function map(e,t,n){if(t)return(n?"":r(" ",c))+e;return(n?d:d+r(" ",c-d.length))+e})),f(),l};var r=n("RjOF"),i=n("/cIb"),o=n("NfWH"),a=n("B5Lt"),u=n("deF/")},SoEE:function(e,t,n){(function(r){t.formatArgs=function formatArgs(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("dbMc")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},T0BQ:function(e,t,n){e.exports=function shallow(e){return r({},e)};var r=n("NOby")},TDhK:function(e,t){e.exports={}.hasOwnProperty},THrT:function(e,t,n){e.exports=n("qOO9")},TLOy:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},UeGV:function(e,t,n){"use strict";var r=n("5SCW")(/[!-/:-@[-`{-~]/);e.exports=r},Umyw:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV");e.exports=function labelFactory(e,t,n,o,a,u){var c,l=this,f=0;return function start(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(u),atBreak};function atBreak(i){return null===i||91===i||93===i&&!c||94===i&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?n(i):93===i?(e.exit(u),e.enter(a),e.consume(i),e.exit(a),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),label(i))}function label(t){return null===t||91===t||93===t||r(t)||f++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),c=c||!i(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),f++,label):label(t)}}},UnLw:function(e,t,n){"use strict";var r=n("QS4/")(/\s/);e.exports=r},"Vx/6":function(e,t){e.exports=function chunkedSplice(e,t,n,r){var i,o,a=e.length,u=0;t=t<0?-t>a?0:a+t:t>a?a:t;if(n=n>0?n:0,r.length<1e4)return(o=Array.from(r)).unshift(t,n),[].splice.apply(e,o);i=[].splice.apply(e,[t,n]);for(;u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":r(n)}},Wnxf:function(e,t,n){"use strict";e.exports=function movePoint(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},WtKE:function(e,t,n){"use strict";var r;e.exports=function decodeEntity(e){var t,n="&"+e+";";if((r=r||document.createElement("i")).innerHTML=n,59===(t=r.textContent).charCodeAt(t.length-1)&&"semi"!==e)return!1;return t!==n&&t}},X3Mf:function(e,t,n){"use strict";e.exports=function parse(e){var t=this;this.Parser=function parse(n){return r(n,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var r=n("LLHA")},X7KM:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},XaTJ:function(e,t,n){"use strict";var r=String.fromCharCode;e.exports=r},Xb7u:function(e,t,n){!function(){var t;function format(e){for(var t,n,r,i,o=1,a=[].slice.call(arguments),u=0,c=e.length,l="",f=!1,d=!1,nextArg=function(){return a[o++]},slurpNumber=function(){for(var n="";/\d/.test(e[u]);)n+=e[u++],t=e[u];return n.length>0?parseInt(n):null};u-1||i(o.events,"linePrefix")<4?e.interrupt(o.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports=u},aV4s:function(e,t){e.exports=function patternCompile(e){var t,n;e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g"));return e._compiled}},ayp4:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva"),a={name:"thematicBreak",tokenize:function tokenizeThematicBreak(e,t,n){var a,u=0;return function start(t){return e.enter("thematicBreak"),a=t,atBreak(t)};function atBreak(c){return c===a?(e.enter("thematicBreakSequence"),sequence(c)):i(c)?o(e,atBreak,"whitespace")(c):u<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function sequence(t){return t===a?(e.consume(t),u++,sequence):(e.exit("thematicBreakSequence"),atBreak(t))}}};e.exports=a},"b/Vn":function(e,t,n){"use strict";var r=n("oV2h");e.exports=function shallow(e){return r({},e)}},bWFg:function(e,t,n){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},bct4:function(e,t,n){"use strict";e.exports=function markdownLineEnding(e){return e<-2}},dT1L:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva");e.exports=function whitespaceFactory(e,t){var n;return function start(a){if(r(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,start;if(i(a))return o(e,start,n?"linePrefix":"lineSuffix")(a);return t(a)}}},dbMc:function(e,t,n){e.exports=function setup(e){function createDebug(e){let t,n,r,i=null;function debug(...e){if(!debug.enabled)return;const n=debug,r=Number(new Date),i=r-(t||r);n.diff=i,n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),o=o[0],t=o.indexOf(")"),n=r(e,"("),i=r(e,")");-1!==t&&n>i;)e+=o.slice(0,t+1),o=o.slice(t+1),t=o.indexOf(")"),i++;return[e,o]}(n+i))[0]&&(u={type:"link",title:null,url:c+t+a[0],children:[{type:"text",value:t+a[0]}]},a[1]&&(u=[u,{type:"text",value:a[1]}]),u)))}function findEmail(e,t,n,r){return!(!previous(r,!0)||/[_-]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function previous(e,t){var n=e.input.charCodeAt(e.index-1);return(n!=n||a(n)||o(n))&&(!t||47!==n)}t.transforms=[function transformGfmAutolinkLiterals(e){i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,findUrl],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,findEmail]],{ignore:["link","linkReference"]})}],t.enter={literalAutolink:function enterLiteralAutolink(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:enterLiteralAutolinkValue,literalAutolinkHttp:enterLiteralAutolinkValue,literalAutolinkWww:enterLiteralAutolinkValue},t.exit={literalAutolink:function exitLiteralAutolink(e){this.exit(e)},literalAutolinkEmail:function exitLiteralAutolinkEmail(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function exitLiteralAutolinkHttp(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function exitLiteralAutolinkWww(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},f8fV:function(e,t,n){e.exports=function create(e){var t=(e||{}).singleTilde,n={tokenize:function tokenizeStrikethrough(e,n,i){var o=this.previous,a=this.events,u=0;return function start(t){if(126!==t||126===o&&"characterEscape"!==a[a.length-1][1].type)return i(t);return e.enter("strikethroughSequenceTemporary"),more(t)};function more(a){var c,l,f=r(o);return 126===a?u>1?i(a):(e.consume(a),u++,more):u<2&&!t?i(a):(c=e.exit("strikethroughSequenceTemporary"),l=r(a),c._open=!l||2===l&&f,c._close=!f||2===f&&l,n(a))}},resolveAll:function resolveAllStrikethrough(e,t){var n,r,u,c,l=-1;for(;++le.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:k,r=[],i=[],o=!0,a=n.includeSymbols?own_enumerable_keys:Object.keys,u=!!n.immutable;return function walker(e){var c=u?copy(e,n):e,f={},d=!0,h={node:c,node_:e,path:[].concat(r),parent:i[i.length-1],parents:i,key:r[r.length-1],isRoot:0===r.length,level:r.length,circular:void 0,isLeaf:!1,notLeaf:!0,notRoot:!0,isFirst:!1,isLast:!1,update:function update(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(d=!1)},delete:function _delete(e){delete h.parent.node[h.key],e&&(d=!1)},remove:function remove(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(d=!1)},keys:null,before:function before(e){f.before=e},after:function after(e){f.after=e},pre:function pre(e){f.pre=e},post:function post(e){f.post=e},stop:function stop(){o=!1},block:function block(){d=!1}};if(!o)return h;function update_state(){if("object"===_type_of(h.node)&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=a(h.node)),h.isLeaf=0===h.keys.length;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:k;_class_call_check(this,Traverse),__privateAdd(this,g),__privateAdd(this,x),__privateSet(this,g,e),__privateSet(this,x,t)}return function _create_class(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(Traverse,[{key:"get",value:function get(e){for(var t=__privateGet(this,g),n=0;t&&n-1?(d=1,v.interrupt?t(r):continuation(r)):l.indexOf(g.toLowerCase())>-1?(d=6,47===r?(e.consume(r),basicSelfClosing):v.interrupt?t(r):continuation(r)):(d=7,v.interrupt?n(r):h?completeAttributeNameBefore(r):completeClosingTagAfter(r)):45===r||i(r)?(e.consume(r),g+=c(r),tagName):n(r)}function basicSelfClosing(r){return 62===r?(e.consume(r),v.interrupt?t:continuation):n(r)}function completeClosingTagAfter(t){return u(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||r(t)?(e.consume(t),completeAttributeName):u(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):u(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),k=t,completeAttributeValueQuoted):u(t)?(e.consume(t),completeAttributeValueBefore):(k=void 0,completeAttributeValueUnquoted(t))}function completeAttributeValueQuoted(t){return t===k?(e.consume(t),completeAttributeValueQuotedAfter):null===t||o(t)?n(t):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||u(e)?completeAttributeNameBefore(e):n(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):n(t)}function completeAfter(t){return u(t)?(e.consume(t),completeAfter):null===t||o(t)?continuation(t):n(t)}function continuation(t){return 45===t&&2===d?(e.consume(t),continuationCommentInside):60===t&&1===d?(e.consume(t),continuationRawTagOpen):62===t&&4===d?(e.consume(t),continuationClose):63===t&&3===d?(e.consume(t),continuationDeclarationInside):93===t&&5===d?(e.consume(t),continuationCharacterDataInside):!o(t)||6!==d&&7!==d?null===t||o(t)?continuationAtLineEnding(t):(e.consume(t),continuation):e.check(m,continuationClose,continuationAtLineEnding)(t)}function continuationAtLineEnding(t){return e.exit("htmlFlowData"),htmlContinueStart(t)}function htmlContinueStart(t){return null===t?done(t):o(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),htmlContinueStart):(e.enter("htmlFlowData"),continuation(t))}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),g="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){return 62===t&&f.indexOf(g.toLowerCase())>-1?(e.consume(t),continuationClose):r(t)&&g.length<8?(e.consume(t),g+=c(t),continuationRawEndTag):continuation(t)}function continuationCharacterDataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):continuation(t)}function continuationClose(t){return null===t||o(t)?(e.exit("htmlFlowData"),done(t)):(e.consume(t),continuationClose)}function done(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function resolveToHtmlFlow(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},m={tokenize:function tokenizeNextBlank(e,t,n){return function start(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(d,t,n)}},partial:!0};e.exports=h},is2r:function(e,t,n){"use strict";var r=n("FUqJ"),i=n("Fi6R"),o=n("SHxd"),a=n("TLOy"),u=n("5pqq"),c=n("b/Vn"),l=n("nImS"),f=n("Umyw"),d=n("2eKz"),h=n("dT1L"),m={name:"labelEnd",tokenize:function tokenizeLabelEnd(e,t,n){var r,i,o=this,u=o.events.length;for(;u--;)if(("labelImage"===o.events[u][1].type||"labelLink"===o.events[u][1].type)&&!o.events[u][1]._balanced){r=o.events[u][1];break}return function start(t){if(!r)return n(t);return r._inactive?balanced(t):(i=o.parser.defined.indexOf(a(o.sliceSerialize({start:r.end,end:o.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),afterLabelEnd)};function afterLabelEnd(n){return 40===n?e.attempt(g,t,i?t:balanced)(n):91===n?e.attempt(x,t,i?e.attempt(k,t,balanced):balanced)(n):i?t(n):balanced(n)}function balanced(e){return r._balanced=!0,n(e)}},resolveTo:function resolveToLabelEnd(e,t){var n,r,a,l,f,d,h,m=e.length,g=0;for(;m--;)if(l=e[m][1],f){if("link"===l.type||"labelLink"===l.type&&l._inactive)break;"enter"===e[m][0]&&"labelLink"===l.type&&(l._inactive=!0)}else if(d){if("enter"===e[m][0]&&("labelImage"===l.type||"labelLink"===l.type)&&!l._balanced&&(f=m,"labelLink"!==l.type)){g=2;break}}else"labelEnd"===l.type&&(d=m);return n={type:"labelLink"===e[f][1].type?"link":"image",start:c(e[f][1].start),end:c(e[e.length-1][1].end)},r={type:"label",start:c(e[f][1].start),end:c(e[d][1].end)},a={type:"labelText",start:c(e[f+g+2][1].end),end:c(e[d-2][1].start)},h=i(h=[["enter",n,t],["enter",r,t]],e.slice(f+1,f+g+3)),h=i(h,[["enter",a,t]]),h=i(h,u(t.parser.constructs.insideSpan.null,e.slice(f+g+4,d-3),t)),h=i(h,[["exit",a,t],e[d-2],e[d-1],["exit",r,t]]),h=i(h,e.slice(d+1)),h=i(h,[["exit",n,t]]),o(e,f,e.length,h),e},resolveAll:function resolveAllLabelEnd(e){var t,n=-1;for(;++n-1?void 0:4);function closingSequence(t){return t===u?(e.consume(t),i++,closingSequence):i-1?void 0:4)(i)}}},exit:function tokenizeListEnd(e){e.exit(this.containerState.type)}},d={tokenize:function tokenizeListItemPrefixWhitespace(e,t,n){var r=this;return u(e,(function afterPrefix(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},h={tokenize:function tokenizeIndent(e,t,n){var r=this;return u(e,(function afterPrefix(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=f},jv5L:function(e,t,n){var r=n("32EX"),i=n("ki31"),o=n("DHYa"),a=n("qD0n"),u={}.hasOwnProperty;function extension(e,t){var n,r,i;for(n in t)r=u.call(e,n)?e[n]:e[n]={},i=t[n],"canContainEols"===n?e[n]=[].concat(r,i):Object.assign(r,i)}e.exports=function configure(e){var t={canContainEols:[]},n=e.length,r=-1;for(;++r-1?void 0:4)}function afterPrefix(t){return e.enter("htmlTextData"),h(t)}function end(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=l},kTcH:function(e,t,n){"use strict";var r=/[\0\t\n\r]/g;e.exports=function preprocess(){var e,t=!0,n=1,i="";return function preprocessor(o,a,u){var c,l,f,d,h,m=[];o=i+o.toString(a),f=0,i="",t&&(65279===o.charCodeAt(0)&&f++,t=void 0);for(;fh?n(o):(e.consume(o),destinationRaw):41===o?m--?(e.consume(o),destinationRaw):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):null===o||i(o)?m?n(o):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):r(o)?n(o):(e.consume(o),92===o?destinationRawEscape:destinationRaw)}function destinationRawEscape(t){return 40===t||41===t||92===t?(e.consume(t),destinationRaw):destinationRaw(t)}}},nZ1L:function(e,t,n){"use strict";var r=n("C8ev");e.exports=function shallow(e){return r({},e)}},oJEb:function(e,t,n){e.exports=function combineExtensions(e){var t={},n=-1;for(;++n-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function assertNonEmpty(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}VFile.prototype.toString=function toString(e){return(this.contents||"").toString(e)},Object.defineProperty(VFile.prototype,"path",{get:function getPath(){return this.history[this.history.length-1]},set:function setPath(e){assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(VFile.prototype,"dirname",{get:function getDirname(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function setDirname(e){assertPath(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(VFile.prototype,"basename",{get:function getBasename(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function setBasename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(VFile.prototype,"extname",{get:function getExtname(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function setExtname(e){if(assertPart(e,"extname"),assertPath(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(VFile.prototype,"stem",{get:function getStem(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function setStem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},u7hp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("2pUu"),i=n("9BLa"),o=n("S0DD"),a=n("vqy6"),u=n("7glH"),c=n("0xm9"),l=n("isAi"),f=n("Pw63"),d=n("glqd"),h=n("hhCb"),m=n("CGoh"),g=n("ES9B"),x=n("i07k"),k=n("kNum"),v=n("is2r"),b=n("mjWT"),y=n("YG3I"),C=n("obFG"),F=n("ji5D"),E=n("CprC"),A=n("ayp4"),w={42:F,43:F,45:F,48:F,49:F,50:F,51:F,52:F,53:F,54:F,55:F,56:F,57:F,62:a},S={91:h},D={"-2":f,"-1":f,32:f},B={35:g,42:A,45:[E,A],60:x,61:E,95:A,96:l,126:l},T={38:c,92:u},z={"-5":C,"-4":C,"-3":C,33:b,38:c,42:i,60:[o,k],91:y,92:[m,u],93:v,95:i,96:d},L={null:[i,r.resolver]};t.contentInitial=S,t.disable={null:[]},t.document=w,t.flow=B,t.flowInitial=D,t.insideSpan=L,t.string=T,t.text=z},uDje:function(e,t,n){var r=n("rm/B");e.exports=r(/\s/)},uGmZ:function(e,t,n){e.exports=n("CGL2")},"ueQ+":function(e,t,n){"use strict";function normalize(e){var t,n;return assertPath(e),t=47===e.charCodeAt(0),(n=function normalizeString(e,t){var n,r,i="",o=0,a=-1,u=0,c=-1;for(;++c<=e.length;){if(c2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=c,u=0;continue}}else if(i.length){i="",o=0,a=c,u=0;continue}t&&(i=i.length?i+"/..":"..",o=2)}else i.length?i+="/"+e.slice(a+1,c):i=e.slice(a+1,c),o=c-a-1;a=c,u=0}else 46===n&&u>-1?u++:u=-1}return i}(e,!t)).length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function assertPath(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function basename(e,t){var n,r,i,o,a=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(assertPath(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else u<0&&(i=!0,u=n+1);return u<0?"":e.slice(a,u)}if(t===e)return"";r=-1,o=t.length-1;for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else r<0&&(i=!0,r=n+1),o>-1&&(e.charCodeAt(n)===t.charCodeAt(o--)?o<0&&(u=n):(o=-1,u=r));a===u?u=r:u<0&&(u=e.length);return e.slice(a,u)},t.dirname=function dirname(e){var t,n,r;if(assertPath(e),!e.length)return".";t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function extname(e){var t,n,r,i=-1,o=0,a=-1,u=0;assertPath(e),r=e.length;for(;r--;)if(47!==(n=e.charCodeAt(r)))a<0&&(t=!0,a=r+1),46===n?i<0?i=r:1!==u&&(u=1):i>-1&&(u=-1);else if(t){o=r+1;break}if(i<0||a<0||0===u||1===u&&i===a-1&&i===o+1)return"";return e.slice(i,a)},t.join=function join(){var e,t=-1;for(;++t":""))+")");return visit;function visit(){var i,l,f=c.concat(e),d=[];if((!t||u(e,r,c[c.length-1]||null))&&!1===(d=function toResult(e){if(null!==e&&"object"==typeof e&&"length"in e)return e;if("number"==typeof e)return[!0,e];return[e]}(n(e,c)))[0])return d;if(e.children&&"skip"!==d[0])for(l=(o?e.children.length:-1)+a;l>-1&&l-1?void 0:4)}},exit:function exit(e){e.exit("blockQuote")}};e.exports=o},wH4i:function(e,t,n){"use strict";var r,i=n("penn"),o=n("jv5L"),a=n("ywEd");e.exports=function gfm(e){var t=this.data();!r&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(r=!0,console.warn("[remark-gfm] Warning: please upgrade to remark 13 to use this plugin"));function add(e,n){t[e]?t[e].push(n):t[e]=[n]}add("micromarkExtensions",i(e)),add("fromMarkdownExtensions",o),add("toMarkdownExtensions",a(e))}},wJMj:function(e,t,n){"use strict";e.exports=function fromMarkdown(e,t,n){"string"!=typeof t&&(n=t,t=void 0);return function compiler(e){var t=e||{},n=function configure(e,t){var n=-1;for(;++n-1&&(onenterdata.call(this,e),onexitdata.call(this,e))},link:closer((function onexitlink(){var e=this.stack[this.stack.length-1];getData("inReference")?(e.type+="Reference",e.referenceType=getData("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType);setData("referenceType")})),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function onexitreferencestring(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),setData("referenceType","full")},resourceDestinationString:function onexitresourcedestinationstring(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function onexitresourcetitlestring(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function onexitresource(){setData("inReference")},setextHeading:closer((function onexitsetextheading(){setData("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function onexitsetextheadinglinesequence(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function onexitsetextheadingtext(){setData("setextHeadingSlurpLineEnding",!0)},strong:closer(),thematicBreak:closer()}},t.mdastExtensions||[]),c={};return function compile(e){var t,r,a={type:"root",children:[]},u=[],c=[],l=-1,f={stack:[a],tokenStack:u,config:n,enter:enter,exit:exit,buffer:buffer,resume:resume,setData:setData,getData:getData};for(;++l999?n(c):93===c?i?(e.exit("chunkString"),l=e.exit("footnoteCallString"),a.indexOf(r(o.sliceSerialize(l)))<0?n(c):function end(n){return e.enter("footnoteCallLabelMarker"),e.consume(n),e.exit("footnoteCallLabelMarker"),e.exit("footnoteCall"),t}(c)):n(c):(e.consume(c),c<0||32===c||(i=!0),92===c?callEscape:callData)}function callEscape(t){return 91===t||92===t||93===t?(e.consume(t),u++,callData):callData(t)}}function tokenizeNoteStart(e,t,n){return function start(t){return 94!==t?n(t):(e.enter("inlineNoteStart"),e.enter("inlineNoteMarker"),e.consume(t),e.exit("inlineNoteMarker"),noteStart)};function noteStart(r){return 91!==r?n(r):(e.enter("inlineNoteStartMarker"),e.consume(r),e.exit("inlineNoteStartMarker"),e.exit("inlineNoteStart"),t)}}function tokenizeNoteEnd(e,t,n){var r=this;return function start(i){var o,a=r.events.length;for(;a--;)if("inlineNoteStart"===r.events[a][1].type){o=!0;break}if(93!==i||!o)return n(i);return e.enter("inlineNoteEnd"),e.enter("inlineNoteEndMarker"),e.consume(i),e.exit("inlineNoteEndMarker"),e.exit("inlineNoteEnd"),t}}function tokenizeDefinitionStart(e,t,n){var o,a,u=this,c=u.parser.footnotes||(u.parser.footnotes=[]),l=0;return function start(t){if(91!==t)return n(t);return e.enter("footnoteDefinition")._container=!0,e.enter("footnoteDefinitionLabel"),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),labelStart};function labelStart(t){return 94!==t?n(t):(e.enter("footnoteDefinitionMarker"),e.consume(t),e.exit("footnoteDefinitionMarker"),e.enter("footnoteDefinitionLabelString"),atBreak)}function atBreak(t){var i;return null===t||91===t||l>999?n(t):93===t?a?(i=e.exit("footnoteDefinitionLabelString"),o=r(u.sliceSerialize(i)),e.enter("footnoteDefinitionLabelMarker"),e.consume(t),e.exit("footnoteDefinitionLabelMarker"),e.exit("footnoteDefinitionLabel"),labelAfter):n(t):-5===t||-4===t||-3===t?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l++,atBreak):(e.enter("chunkString").contentType="string",label(t))}function label(t){return null===t||-5===t||-4===t||-3===t||91===t||93===t||l>999?(e.exit("chunkString"),atBreak(t)):(t<0||32===t||(a=!0),l++,e.consume(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),l++,label):label(t)}function labelAfter(t){return 58!==t?n(t):(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),e.check(i,onBlank,nonBlank))}function onBlank(e){return u.containerState.initialBlankLine=!0,done(e)}function nonBlank(t){return-2===t||-1===t||32===t?(e.enter("footnoteDefinitionWhitespace"),e.consume(t),e.exit("footnoteDefinitionWhitespace"),done(t)):done(t)}function done(e){return c.indexOf(o)<0&&c.push(o),t(e)}}function tokenizeDefinitionContinuation(e,t,n){var r=this;return e.check(i,(function onBlank(e){r.containerState.initialBlankLine&&(r.containerState.furtherBlankLines=!0);return t(e)}),(function notBlank(i){if(r.containerState.furtherBlankLines||-2!==i&&-1!==i&&32!==i)return n(i);return r.containerState.initialBlankLine=void 0,r.containerState.furtherBlankLines=void 0,e.attempt(f,t,n)(i)}))}function footnoteDefinitionEnd(e){e.exit("footnoteDefinition")}},"/biz":function(e,t,n){"use strict";var r=n("Gdbo"),i=n("BEtg"),o=n("6dBs"),a=n("NkL+"),u=n("xkQk"),c=n("Esvb");e.exports=function unified(){var e,t=[],n=u(),i={},h=-1;return processor.data=function data(t,n){if("string"==typeof t)return 2===arguments.length?(assertUnfrozen("data",e),i[t]=n,processor):f.call(i,t)&&i[t]||null;if(t)return assertUnfrozen("data",e),i=t,processor;return i},processor.freeze=freeze,processor.attachers=t,processor.use=function use(n){var r;if(assertUnfrozen("use",e),null==n);else if("function"==typeof n)addPlugin.apply(null,arguments);else{if("object"!=typeof n)throw new Error("Expected usable value, not `"+n+"`");"length"in n?addList(n):addPreset(n)}r&&(i.settings=o(i.settings||{},r));return processor;function addPreset(e){addList(e.plugins),e.settings&&(r=o(r||{},e.settings))}function add(e){if("function"==typeof e)addPlugin(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?addPlugin.apply(null,e):addPreset(e)}}function addList(e){var t=-1;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t-1)return nok();return e.tokenize.call(t?r({},b,t):b,v,ok,nok)(n)}}function ok(t){return e(l,f),i}function nok(e){return f.restore(),++cP&&(P=u);++ac)&&(L[a]=l)),T.push(f);D[w]=T,B[w]=z}var O;if(a=-1,u=P,"object"==typeof C&&"length"in C)for(;++aL[a]&&(L[a]=l),z[a]=l),T[a]=f;D.splice(1,0,T),B.splice(1,0,z),w=-1,S=D.length,d=[];for(;++w=h||u+11)for(var n=1;n1&&e[x][1].end.offset-e[x][1].start.offset>1?2:1,f={type:h>1?"strongSequence":"emphasisSequence",start:a(c(e[n][1].end),-h),end:c(e[n][1].end)},d={type:h>1?"strongSequence":"emphasisSequence",start:c(e[x][1].start),end:a(c(e[x][1].start),h)},l={type:h>1?"strongText":"emphasisText",start:c(e[n][1].end),end:c(e[x][1].start)},o={type:h>1?"strong":"emphasis",start:c(f.start),end:c(d.end)},e[n][1].end=c(f.start),e[x][1].start=c(d.end),m=[],e[n][1].end.offset-e[n][1].start.offset&&(m=r(m,[["enter",e[n][1],t],["exit",e[n][1],t]])),m=r(m,[["enter",o,t],["enter",f,t],["exit",f,t],["enter",l,t]]),m=r(m,u(t.parser.constructs.insideSpan.null,e.slice(n+1,x),t)),m=r(m,[["exit",l,t],["enter",d,t],["exit",d,t],["exit",o,t]]),e[x][1].end.offset-e[x][1].start.offset?(g=2,m=r(m,[["enter",e[x][1],t],["exit",e[x][1],t]])):g=0,i(e,n-1,x-n+3,m),x=n+m.length-g-2;break}x=-1;for(;++x0&&(l={type:"text",value:l}),l&&(h=[].concat(h,l)),m=o+u[0].length),f.global);)u=f.exec(n.value);if(void 0===o?(h=[n],g--):(m1)for(c=handlerFactory(e.slice(1)),o=-1;++oa?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a))),n}},CprC:function(e,t,n){"use strict";var r=n("bct4"),i=n("b/Vn"),o=n("Mjva"),a={name:"setextUnderline",tokenize:function tokenizeSetextUnderline(e,t,n){var i,a,u=this,c=u.events.length;for(;c--;)if("lineEnding"!==u.events[c][1].type&&"linePrefix"!==u.events[c][1].type&&"content"!==u.events[c][1].type){a="paragraph"===u.events[c][1].type;break}return function start(t){if(!u.lazy&&(u.interrupt||a))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,closingSequence(t);return n(t)};function closingSequence(t){return t===i?(e.consume(t),closingSequence):(e.exit("setextHeadingLineSequence"),o(e,closingSequenceEnd,"lineSuffix")(t))}function closingSequenceEnd(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function resolveToSetextUnderline(e,t){var n,r,o,a,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){n=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),o||"definition"!==e[u][1].type||(o=u);a={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};e.exports=a},DHYa:function(e,t){function exit(e){this.exit(e)}function enterCell(e){this.enter({type:"tableCell",children:[]},e)}function replace(e,t){return"|"===t?t:e}t.enter={table:function enterTable(e){this.enter({type:"table",align:e._align,children:[]},e),this.setData("inTable",!0)},tableData:enterCell,tableHeader:enterCell,tableRow:function enterRow(e){this.enter({type:"tableRow",children:[]},e)}},t.exit={codeText:function exitCodeText(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,replace));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function exitTable(e){this.exit(e),this.setData("inTable")},tableData:exit,tableHeader:exit,tableRow:exit}},Dnzn:function(e,t,n){"use strict";n.r(t),n.d(t,"Syntax",(function(){return r.a})),n.d(t,"parse",(function(){return parse}));var r=n("lr8r");const i={root:r.a.Document,paragraph:r.a.Paragraph,blockquote:r.a.BlockQuote,listItem:r.a.ListItem,list:r.a.List,Bullet:"Bullet",heading:r.a.Header,code:r.a.CodeBlock,HtmlBlock:r.a.HtmlBlock,thematicBreak:r.a.HorizontalRule,text:r.a.Str,break:r.a.Break,emphasis:r.a.Emphasis,strong:r.a.Strong,html:r.a.Html,link:r.a.Link,image:r.a.Image,inlineCode:r.a.Code,delete:r.a.Delete,yaml:"Yaml",table:"Table",tableRow:"TableRow",tableCell:"TableCell",linkReference:"LinkReference",imageReference:"ImageReference",footnoteReference:"FootnoteReference",definition:"Definition",ReferenceDef:r.a.ReferenceDef};var o=n("hiFj"),a=n.n(o),u=n("SoEE"),c=n.n(u),l=n("/biz"),f=n.n(l),d=n("eASu"),h=n.n(d),m=n("wH4i"),g=n.n(m),x=n("fUUT"),k=n.n(x),v=n("BJph"),b=n.n(v),y=n("6JOd"),C=n.n(y);h.a.transforms=[];const F=f()().use(k.a).use(b.a,["yaml"]).use(g.a).use(C.a,{inlineNotes:!0}),E=c()("@textlint/markdown-to-ast");function parse(e){const t=65279===e.charCodeAt(0)?e.slice(1):e,n=(e=>F.parse(e))(t);return a()(n).forEach((function(e){if(this.notLeaf){if(e.type){const t=i[e.type];t?e.type=t:E(`replacedType : ${t} , node.type: ${e.type}`)}if(e.position){const n=e.position,r={start:{line:n.start.line,column:Math.max(n.start.column-1,0)},end:{line:n.end.line,column:Math.max(n.end.column-1,0)}},i=[n.start.offset,n.end.offset];e.loc=r,e.range=i,e.raw=t.slice(i[0],i[1]),Object.defineProperty(e,"position",{enumerable:!1,configurable:!1,writable:!1,value:n})}}})),n}},EBzq:function(e,t,n){"use strict";var r=[].slice;e.exports=function wrap(e,t){var n;return function wrapped(){var t,i=r.call(arguments,0),o=e.length>i.length;o&&i.push(done);try{t=e.apply(null,i)}catch(e){if(o&&n)throw e;return done(e)}o||(t&&"function"==typeof t.then?t.then(then,done):t instanceof Error?done(t):then(t))};function done(){n||(n=!0,t.apply(null,arguments))}function then(e){done(null,e)}}},EIjK:function(e,t){e.exports=String.fromCharCode},ES9B:function(e,t,n){"use strict";var r=n("bct4"),i=n("FUqJ"),o=n("GBTV"),a=n("SHxd"),u=n("Mjva"),c={name:"headingAtx",tokenize:function tokenizeHeadingAtx(e,t,n){var a=this,c=0;return function start(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),fenceOpenInside(t)};function fenceOpenInside(r){return 35===r&&c++<6?(e.consume(r),fenceOpenInside):null===r||i(r)?(e.exit("atxHeadingSequence"),a.interrupt?t(r):headingBreak(r)):n(r)}function headingBreak(n){return 35===n?(e.enter("atxHeadingSequence"),sequence(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):o(n)?u(e,headingBreak,"whitespace")(n):(e.enter("atxHeadingText"),data(n))}function sequence(t){return 35===t?(e.consume(t),sequence):(e.exit("atxHeadingSequence"),headingBreak(t))}function data(t){return null===t||35===t||i(t)?(e.exit("atxHeadingText"),headingBreak(t)):(e.consume(t),data)}},resolve:function resolveHeadingAtx(e,t){var n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},a(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=c},Esvb:function(e,t,n){"use strict";e.exports=n("PPHF")},F2il:function(e,t,n){"use strict";e.exports=function ccount(e,t){var n,r=String(e),i=0;if("string"!=typeof t)throw new Error("Expected character");n=r.indexOf(t);for(;-1!==n;)i++,n=r.indexOf(t,n+t.length);return i}},FGiv:function(e,t){var n=1e3,r=6e4,i=60*r,o=24*i;function plural(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=o)return plural(e,t,o,"day");if(t>=i)return plural(e,t,i,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},FUqJ:function(e,t,n){"use strict";e.exports=function markdownLineEndingOrSpace(e){return e<0||32===e}},Fi6R:function(e,t,n){"use strict";var r=n("SHxd");e.exports=function chunkedPush(e,t){return e.length?(r(e,e.length,0,t),e):t}},GBTV:function(e,t,n){"use strict";e.exports=function markdownSpace(e){return-2===e||-1===e||32===e}},GMKu:function(e,t,n){"use strict";var r=n("FUqJ"),i=n("sCug"),o=n("IHXm");e.exports=function classifyCharacter(e){return null===e||r(e)||o(e)?1:i(e)?2:void 0}},GOtQ:function(e,t,n){e.exports=n("PXHr")},Gdbo:function(e,t,n){"use strict";e.exports=function bail(e){if(e)throw e}},IHXm:function(e,t,n){"use strict";var r=n("5SCW")(/\s/);e.exports=r},IW26:function(e,t,n){"use strict";function toString(e){return e&&(e.value||e.alt||e.title||"children"in e&&all(e.children)||"length"in e&&all(e))||""}function all(e){for(var t=[],n=-1;++n0&&("\r"===l||"\n"===l)&&"html"===o.type&&(u[u.length-1]=u[u.length-1].replace(/(\r?\n|\r)$/," "),l=" "),u.push(t.handle(o,e,t,{before:l,after:r})),l=u[u.length-1].slice(-1);return u.join("")}},"M+MU":function(e,t,n){"use strict";var r=n("5SCW")(/[A-Za-z]/);e.exports=r},"M8+4":function(e,t){e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},Mjva:function(e,t,n){"use strict";var r=n("GBTV");e.exports=function spaceFactory(e,t,n,i){var o=i?i-1:1/0,a=0;return function start(i){if(r(i))return e.enter(n),prefix(i);return t(i)};function prefix(i){return r(i)&&a++{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},NvGK:function(e,t,n){"use strict";var r=n("Ac7Z");e.exports=function serializeChunks(e){for(var t,n,i,o=-1,a=[];++ot;)a.containerState=l[o][1],l[o][0].exit.call(a,e);l.length=t}},u={tokenize:function tokenizeContainer(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},c={tokenize:function tokenizeLazyFlow(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=a},PG0i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("aPtP"),i=n("Mjva"),o=n("C9no"),a=function initializeFlow(e){var t=this,n=e.attempt(o,(function atBlankEnding(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,afterConstruct,i(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(r,afterConstruct)),"linePrefix")));return n;function afterConstruct(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=a},PPHF:function(e,t,n){"use strict";var r=n("aCXt"),i=n("tgGP");e.exports=i,i.prototype.message=function message(e,t,n){var i=new r(e,t,n);this.path&&(i.name=this.path+":"+i.name,i.file=this.path);return i.fatal=!1,this.messages.push(i),i},i.prototype.info=function info(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function fail(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},PXHr:function(e,t,n){e.exports=function create(e){var t,n,i=r(e),o=i.length,a=-1,u={};for(;++a=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},"S+8a":function(e,t,n){"use strict";e.exports=function markdownSpace(e){return-2===e||-1===e||32===e}},S0DD:function(e,t,n){"use strict";var r=n("M+MU"),i=n("Qgb1"),o=n("ALIq"),a=n("mKLD"),u={name:"autolink",tokenize:function tokenizeAutolink(e,t,n){var u=1;return function start(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),open};function open(t){return r(t)?(e.consume(t),schemeOrEmailAtext):o(t)?emailAtext(t):n(t)}function schemeOrEmailAtext(e){return 43===e||45===e||46===e||i(e)?schemeInsideOrEmailAtext(e):emailAtext(e)}function schemeInsideOrEmailAtext(t){return 58===t?(e.consume(t),urlInside):(43===t||45===t||46===t||i(t))&&u++<32?(e.consume(t),schemeInsideOrEmailAtext):emailAtext(t)}function urlInside(t){return 62===t?(e.exit("autolinkProtocol"),end(t)):32===t||60===t||a(t)?n(t):(e.consume(t),urlInside)}function emailAtext(t){return 64===t?(e.consume(t),u=0,emailAtSignOrDot):o(t)?(e.consume(t),emailAtext):n(t)}function emailAtSignOrDot(e){return i(e)?emailLabel(e):n(e)}function emailLabel(t){return 46===t?(e.consume(t),u=0,emailAtSignOrDot):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",end(t)):emailValue(t)}function emailValue(t){return(45===t||i(t))&&u++<63?(e.consume(t),45===t?emailValue:emailLabel):n(t)}function end(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=u},SHxd:function(e,t,n){"use strict";var r=n("Ipxk");e.exports=function chunkedSplice(e,t,n,i){var o,a=e.length,u=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);u-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+".");c=d.length+1,("tab"===h||"mixed"===h&&(t&&t.spread||e.spread))&&(c=4*Math.ceil(c/4));return f=n.enter("listItem"),l=u(a(e,n),(function map(e,t,n){if(t)return(n?"":r(" ",c))+e;return(n?d:d+r(" ",c-d.length))+e})),f(),l};var r=n("RjOF"),i=n("/cIb"),o=n("NfWH"),a=n("B5Lt"),u=n("deF/")},SoEE:function(e,t,n){(function(r){t.formatArgs=function formatArgs(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("dbMc")(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},T0BQ:function(e,t,n){e.exports=function shallow(e){return r({},e)};var r=n("NOby")},TDhK:function(e,t){e.exports={}.hasOwnProperty},THrT:function(e,t,n){e.exports=n("qOO9")},TLOy:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},UeGV:function(e,t,n){"use strict";var r=n("5SCW")(/[!-/:-@[-`{-~]/);e.exports=r},Umyw:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV");e.exports=function labelFactory(e,t,n,o,a,u){var c,l=this,f=0;return function start(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(u),atBreak};function atBreak(i){return null===i||91===i||93===i&&!c||94===i&&!f&&"_hiddenFootnoteSupport"in l.parser.constructs||f>999?n(i):93===i?(e.exit(u),e.enter(a),e.consume(i),e.exit(a),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),label(i))}function label(t){return null===t||91===t||93===t||r(t)||f++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),c=c||!i(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),f++,label):label(t)}}},UnLw:function(e,t,n){"use strict";var r=n("QS4/")(/\s/);e.exports=r},"Vx/6":function(e,t){e.exports=function chunkedSplice(e,t,n,r){var i,o,a=e.length,u=0;t=t<0?-t>a?0:a+t:t>a?a:t;if(n=n>0?n:0,r.length<1e4)return(o=Array.from(r)).unshift(t,n),[].splice.apply(e,o);i=[].splice.apply(e,[t,n]);for(;u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":r(n)}},Wnxf:function(e,t,n){"use strict";e.exports=function movePoint(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},WtKE:function(e,t,n){"use strict";var r;e.exports=function decodeEntity(e){var t,n="&"+e+";";if((r=r||document.createElement("i")).innerHTML=n,59===(t=r.textContent).charCodeAt(t.length-1)&&"semi"!==e)return!1;return t!==n&&t}},X7KM:function(e,t,n){"use strict";e.exports=function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},XaTJ:function(e,t,n){"use strict";var r=String.fromCharCode;e.exports=r},Xb7u:function(e,t,n){!function(){var t;function format(e){for(var t,n,r,i,o=1,a=[].slice.call(arguments),u=0,c=e.length,l="",f=!1,d=!1,nextArg=function(){return a[o++]},slurpNumber=function(){for(var n="";/\d/.test(e[u]);)n+=e[u++],t=e[u];return n.length>0?parseInt(n):null};u-1||i(o.events,"linePrefix")<4?e.interrupt(o.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports=u},aV4s:function(e,t){e.exports=function patternCompile(e){var t,n;e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g"));return e._compiled}},ayp4:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva"),a={name:"thematicBreak",tokenize:function tokenizeThematicBreak(e,t,n){var a,u=0;return function start(t){return e.enter("thematicBreak"),a=t,atBreak(t)};function atBreak(c){return c===a?(e.enter("thematicBreakSequence"),sequence(c)):i(c)?o(e,atBreak,"whitespace")(c):u<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function sequence(t){return t===a?(e.consume(t),u++,sequence):(e.exit("thematicBreakSequence"),atBreak(t))}}};e.exports=a},"b/Vn":function(e,t,n){"use strict";var r=n("oV2h");e.exports=function shallow(e){return r({},e)}},bWFg:function(e,t,n){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},bct4:function(e,t,n){"use strict";e.exports=function markdownLineEnding(e){return e<-2}},dT1L:function(e,t,n){"use strict";var r=n("bct4"),i=n("GBTV"),o=n("Mjva");e.exports=function whitespaceFactory(e,t){var n;return function start(a){if(r(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,start;if(i(a))return o(e,start,n?"linePrefix":"lineSuffix")(a);return t(a)}}},dbMc:function(e,t,n){e.exports=function setup(e){function createDebug(e){let t,n,r,i=null;function debug(...e){if(!debug.enabled)return;const n=debug,r=Number(new Date),i=r-(t||r);n.diff=i,n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if("%%"===t)return"%";o++;const i=createDebug.formatters[r];if("function"==typeof i){const r=e[o];t=i.call(n,r),e.splice(o,1),o--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{i=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),o=o[0],t=o.indexOf(")"),n=r(e,"("),i=r(e,")");-1!==t&&n>i;)e+=o.slice(0,t+1),o=o.slice(t+1),t=o.indexOf(")"),i++;return[e,o]}(n+i))[0]&&(u={type:"link",title:null,url:c+t+a[0],children:[{type:"text",value:t+a[0]}]},a[1]&&(u=[u,{type:"text",value:a[1]}]),u)))}function findEmail(e,t,n,r){return!(!previous(r,!0)||/[_-]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function previous(e,t){var n=e.input.charCodeAt(e.index-1);return(n!=n||a(n)||o(n))&&(!t||47!==n)}t.transforms=[function transformGfmAutolinkLiterals(e){i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,findUrl],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,findEmail]],{ignore:["link","linkReference"]})}],t.enter={literalAutolink:function enterLiteralAutolink(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:enterLiteralAutolinkValue,literalAutolinkHttp:enterLiteralAutolinkValue,literalAutolinkWww:enterLiteralAutolinkValue},t.exit={literalAutolink:function exitLiteralAutolink(e){this.exit(e)},literalAutolinkEmail:function exitLiteralAutolinkEmail(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function exitLiteralAutolinkHttp(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function exitLiteralAutolinkWww(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},f8fV:function(e,t,n){e.exports=function create(e){var t=(e||{}).singleTilde,n={tokenize:function tokenizeStrikethrough(e,n,i){var o=this.previous,a=this.events,u=0;return function start(t){if(126!==t||126===o&&"characterEscape"!==a[a.length-1][1].type)return i(t);return e.enter("strikethroughSequenceTemporary"),more(t)};function more(a){var c,l,f=r(o);return 126===a?u>1?i(a):(e.consume(a),u++,more):u<2&&!t?i(a):(c=e.exit("strikethroughSequenceTemporary"),l=r(a),c._open=!l||2===l&&f,c._close=!f||2===f&&l,n(a))}},resolveAll:function resolveAllStrikethrough(e,t){var n,r,u,c,l=-1;for(;++le.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:k,r=[],i=[],o=!0,a=n.includeSymbols?own_enumerable_keys:Object.keys,u=!!n.immutable;return function walker(e){var c=u?copy(e,n):e,f={},d=!0,h={node:c,node_:e,path:[].concat(r),parent:i[i.length-1],parents:i,key:r[r.length-1],isRoot:0===r.length,level:r.length,circular:void 0,isLeaf:!1,notLeaf:!0,notRoot:!0,isFirst:!1,isLast:!1,update:function update(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(d=!1)},delete:function _delete(e){delete h.parent.node[h.key],e&&(d=!1)},remove:function remove(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(d=!1)},keys:null,before:function before(e){f.before=e},after:function after(e){f.after=e},pre:function pre(e){f.pre=e},post:function post(e){f.post=e},stop:function stop(){o=!1},block:function block(){d=!1}};if(!o)return h;function update_state(){if("object"===_type_of(h.node)&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=a(h.node)),h.isLeaf=0===h.keys.length;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:k;_class_call_check(this,Traverse),__privateAdd(this,g),__privateAdd(this,x),__privateSet(this,g,e),__privateSet(this,x,t)}return function _create_class(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(Traverse,[{key:"get",value:function get(e){for(var t=__privateGet(this,g),n=0;t&&n-1?(d=1,v.interrupt?t(r):continuation(r)):l.indexOf(g.toLowerCase())>-1?(d=6,47===r?(e.consume(r),basicSelfClosing):v.interrupt?t(r):continuation(r)):(d=7,v.interrupt?n(r):h?completeAttributeNameBefore(r):completeClosingTagAfter(r)):45===r||i(r)?(e.consume(r),g+=c(r),tagName):n(r)}function basicSelfClosing(r){return 62===r?(e.consume(r),v.interrupt?t:continuation):n(r)}function completeClosingTagAfter(t){return u(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||r(t)?(e.consume(t),completeAttributeName):u(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):u(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),k=t,completeAttributeValueQuoted):u(t)?(e.consume(t),completeAttributeValueBefore):(k=void 0,completeAttributeValueUnquoted(t))}function completeAttributeValueQuoted(t){return t===k?(e.consume(t),completeAttributeValueQuotedAfter):null===t||o(t)?n(t):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||u(e)?completeAttributeNameBefore(e):n(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):n(t)}function completeAfter(t){return u(t)?(e.consume(t),completeAfter):null===t||o(t)?continuation(t):n(t)}function continuation(t){return 45===t&&2===d?(e.consume(t),continuationCommentInside):60===t&&1===d?(e.consume(t),continuationRawTagOpen):62===t&&4===d?(e.consume(t),continuationClose):63===t&&3===d?(e.consume(t),continuationDeclarationInside):93===t&&5===d?(e.consume(t),continuationCharacterDataInside):!o(t)||6!==d&&7!==d?null===t||o(t)?continuationAtLineEnding(t):(e.consume(t),continuation):e.check(m,continuationClose,continuationAtLineEnding)(t)}function continuationAtLineEnding(t){return e.exit("htmlFlowData"),htmlContinueStart(t)}function htmlContinueStart(t){return null===t?done(t):o(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),htmlContinueStart):(e.enter("htmlFlowData"),continuation(t))}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),g="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){return 62===t&&f.indexOf(g.toLowerCase())>-1?(e.consume(t),continuationClose):r(t)&&g.length<8?(e.consume(t),g+=c(t),continuationRawEndTag):continuation(t)}function continuationCharacterDataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):continuation(t)}function continuationClose(t){return null===t||o(t)?(e.exit("htmlFlowData"),done(t)):(e.consume(t),continuationClose)}function done(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function resolveToHtmlFlow(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},m={tokenize:function tokenizeNextBlank(e,t,n){return function start(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(d,t,n)}},partial:!0};e.exports=h},is2r:function(e,t,n){"use strict";var r=n("FUqJ"),i=n("Fi6R"),o=n("SHxd"),a=n("TLOy"),u=n("5pqq"),c=n("b/Vn"),l=n("nImS"),f=n("Umyw"),d=n("2eKz"),h=n("dT1L"),m={name:"labelEnd",tokenize:function tokenizeLabelEnd(e,t,n){var r,i,o=this,u=o.events.length;for(;u--;)if(("labelImage"===o.events[u][1].type||"labelLink"===o.events[u][1].type)&&!o.events[u][1]._balanced){r=o.events[u][1];break}return function start(t){if(!r)return n(t);return r._inactive?balanced(t):(i=o.parser.defined.indexOf(a(o.sliceSerialize({start:r.end,end:o.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),afterLabelEnd)};function afterLabelEnd(n){return 40===n?e.attempt(g,t,i?t:balanced)(n):91===n?e.attempt(x,t,i?e.attempt(k,t,balanced):balanced)(n):i?t(n):balanced(n)}function balanced(e){return r._balanced=!0,n(e)}},resolveTo:function resolveToLabelEnd(e,t){var n,r,a,l,f,d,h,m=e.length,g=0;for(;m--;)if(l=e[m][1],f){if("link"===l.type||"labelLink"===l.type&&l._inactive)break;"enter"===e[m][0]&&"labelLink"===l.type&&(l._inactive=!0)}else if(d){if("enter"===e[m][0]&&("labelImage"===l.type||"labelLink"===l.type)&&!l._balanced&&(f=m,"labelLink"!==l.type)){g=2;break}}else"labelEnd"===l.type&&(d=m);return n={type:"labelLink"===e[f][1].type?"link":"image",start:c(e[f][1].start),end:c(e[e.length-1][1].end)},r={type:"label",start:c(e[f][1].start),end:c(e[d][1].end)},a={type:"labelText",start:c(e[f+g+2][1].end),end:c(e[d-2][1].start)},h=i(h=[["enter",n,t],["enter",r,t]],e.slice(f+1,f+g+3)),h=i(h,[["enter",a,t]]),h=i(h,u(t.parser.constructs.insideSpan.null,e.slice(f+g+4,d-3),t)),h=i(h,[["exit",a,t],e[d-2],e[d-1],["exit",r,t]]),h=i(h,e.slice(d+1)),h=i(h,[["exit",n,t]]),o(e,f,e.length,h),e},resolveAll:function resolveAllLabelEnd(e){var t,n=-1;for(;++n-1?void 0:4);function closingSequence(t){return t===u?(e.consume(t),i++,closingSequence):i-1?void 0:4)(i)}}},exit:function tokenizeListEnd(e){e.exit(this.containerState.type)}},d={tokenize:function tokenizeListItemPrefixWhitespace(e,t,n){var r=this;return u(e,(function afterPrefix(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},h={tokenize:function tokenizeIndent(e,t,n){var r=this;return u(e,(function afterPrefix(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=f},jv5L:function(e,t,n){var r=n("32EX"),i=n("ki31"),o=n("DHYa"),a=n("qD0n"),u={}.hasOwnProperty;function extension(e,t){var n,r,i;for(n in t)r=u.call(e,n)?e[n]:e[n]={},i=t[n],"canContainEols"===n?e[n]=[].concat(r,i):Object.assign(r,i)}e.exports=function configure(e){var t={canContainEols:[]},n=e.length,r=-1;for(;++r-1?void 0:4)}function afterPrefix(t){return e.enter("htmlTextData"),h(t)}function end(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=l},kTcH:function(e,t,n){"use strict";var r=/[\0\t\n\r]/g;e.exports=function preprocess(){var e,t=!0,n=1,i="";return function preprocessor(o,a,u){var c,l,f,d,h,m=[];o=i+o.toString(a),f=0,i="",t&&(65279===o.charCodeAt(0)&&f++,t=void 0);for(;fh?n(o):(e.consume(o),destinationRaw):41===o?m--?(e.consume(o),destinationRaw):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):null===o||i(o)?m?n(o):(e.exit("chunkString"),e.exit(f),e.exit(l),e.exit(a),t(o)):r(o)?n(o):(e.consume(o),92===o?destinationRawEscape:destinationRaw)}function destinationRawEscape(t){return 40===t||41===t||92===t?(e.consume(t),destinationRaw):destinationRaw(t)}}},nZ1L:function(e,t,n){"use strict";var r=n("C8ev");e.exports=function shallow(e){return r({},e)}},oJEb:function(e,t,n){e.exports=function combineExtensions(e){var t={},n=-1;for(;++n-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function assertNonEmpty(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}VFile.prototype.toString=function toString(e){return(this.contents||"").toString(e)},Object.defineProperty(VFile.prototype,"path",{get:function getPath(){return this.history[this.history.length-1]},set:function setPath(e){assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(VFile.prototype,"dirname",{get:function getDirname(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function setDirname(e){assertPath(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(VFile.prototype,"basename",{get:function getBasename(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function setBasename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(VFile.prototype,"extname",{get:function getExtname(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function setExtname(e){if(assertPart(e,"extname"),assertPath(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(VFile.prototype,"stem",{get:function getStem(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function setStem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},u7hp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("2pUu"),i=n("9BLa"),o=n("S0DD"),a=n("vqy6"),u=n("7glH"),c=n("0xm9"),l=n("isAi"),f=n("Pw63"),d=n("glqd"),h=n("hhCb"),m=n("CGoh"),g=n("ES9B"),x=n("i07k"),k=n("kNum"),v=n("is2r"),b=n("mjWT"),y=n("YG3I"),C=n("obFG"),F=n("ji5D"),E=n("CprC"),A=n("ayp4"),w={42:F,43:F,45:F,48:F,49:F,50:F,51:F,52:F,53:F,54:F,55:F,56:F,57:F,62:a},S={91:h},D={"-2":f,"-1":f,32:f},B={35:g,42:A,45:[E,A],60:x,61:E,95:A,96:l,126:l},T={38:c,92:u},z={"-5":C,"-4":C,"-3":C,33:b,38:c,42:i,60:[o,k],91:y,92:[m,u],93:v,95:i,96:d},L={null:[i,r.resolver]};t.contentInitial=S,t.disable={null:[]},t.document=w,t.flow=B,t.flowInitial=D,t.insideSpan=L,t.string=T,t.text=z},uDje:function(e,t,n){var r=n("rm/B");e.exports=r(/\s/)},uGmZ:function(e,t,n){e.exports=n("CGL2")},"ueQ+":function(e,t,n){"use strict";function normalize(e){var t,n;return assertPath(e),t=47===e.charCodeAt(0),(n=function normalizeString(e,t){var n,r,i="",o=0,a=-1,u=0,c=-1;for(;++c<=e.length;){if(c2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=c,u=0;continue}}else if(i.length){i="",o=0,a=c,u=0;continue}t&&(i=i.length?i+"/..":"..",o=2)}else i.length?i+="/"+e.slice(a+1,c):i=e.slice(a+1,c),o=c-a-1;a=c,u=0}else 46===n&&u>-1?u++:u=-1}return i}(e,!t)).length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function assertPath(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function basename(e,t){var n,r,i,o,a=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(assertPath(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else u<0&&(i=!0,u=n+1);return u<0?"":e.slice(a,u)}if(t===e)return"";r=-1,o=t.length-1;for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else r<0&&(i=!0,r=n+1),o>-1&&(e.charCodeAt(n)===t.charCodeAt(o--)?o<0&&(u=n):(o=-1,u=r));a===u?u=r:u<0&&(u=e.length);return e.slice(a,u)},t.dirname=function dirname(e){var t,n,r;if(assertPath(e),!e.length)return".";t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function extname(e){var t,n,r,i=-1,o=0,a=-1,u=0;assertPath(e),r=e.length;for(;r--;)if(47!==(n=e.charCodeAt(r)))a<0&&(t=!0,a=r+1),46===n?i<0?i=r:1!==u&&(u=1):i>-1&&(u=-1);else if(t){o=r+1;break}if(i<0||a<0||0===u||1===u&&i===a-1&&i===o+1)return"";return e.slice(i,a)},t.join=function join(){var e,t=-1;for(;++t":""))+")");return visit;function visit(){var i,l,f=c.concat(e),d=[];if((!t||u(e,r,c[c.length-1]||null))&&!1===(d=function toResult(e){if(null!==e&&"object"==typeof e&&"length"in e)return e;if("number"==typeof e)return[!0,e];return[e]}(n(e,c)))[0])return d;if(e.children&&"skip"!==d[0])for(l=(o?e.children.length:-1)+a;l>-1&&l-1?void 0:4)}},exit:function exit(e){e.exit("blockQuote")}};e.exports=o},wH4i:function(e,t,n){"use strict";var r,i=n("penn"),o=n("jv5L"),a=n("ywEd");e.exports=function gfm(e){var t=this.data();!r&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(r=!0,console.warn("[remark-gfm] Warning: please upgrade to remark 13 to use this plugin"));function add(e,n){t[e]?t[e].push(n):t[e]=[n]}add("micromarkExtensions",i(e)),add("fromMarkdownExtensions",o),add("toMarkdownExtensions",a(e))}},wJMj:function(e,t,n){"use strict";e.exports=function fromMarkdown(e,t,n){"string"!=typeof t&&(n=t,t=void 0);return function compiler(e){var t=e||{},n=function configure(e,t){var n=-1;for(;++n-1&&(onenterdata.call(this,e),onexitdata.call(this,e))},link:closer((function onexitlink(){var e=this.stack[this.stack.length-1];getData("inReference")?(e.type+="Reference",e.referenceType=getData("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType);setData("referenceType")})),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function onexitreferencestring(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),setData("referenceType","full")},resourceDestinationString:function onexitresourcedestinationstring(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function onexitresourcetitlestring(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function onexitresource(){setData("inReference")},setextHeading:closer((function onexitsetextheading(){setData("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function onexitsetextheadinglinesequence(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function onexitsetextheadingtext(){setData("setextHeadingSlurpLineEnding",!0)},strong:closer(),thematicBreak:closer()}},t.mdastExtensions||[]),c={};return function compile(e){var t,r,a={type:"root",children:[]},u=[],c=[],l=-1,f={stack:[a],tokenStack:u,config:n,enter:enter,exit:exit,buffer:buffer,resume:resume,setData:setData,getData:getData};for(;++l"position"in e.node?e.node:e.parent?getNearParentWithPosition(e.parent):void 0;return h.forEach((function(e){var n;if("object"==typeof e&&!Array.isArray(e)){if(!("type"in e))return;if(p&&Object.defineProperty(e,"_debug_type",{value:e.type}),e.type?e.type=function mapNodeType(e,t){var n;if(t){const e=null===(n=t.parent)||void 0===n?void 0:n.node;if("script"===(null==e?void 0:e.tagName)||"style"===(null==e?void 0:e.tagName))return"CodeBlock"}if("element"===e.type){const t=l.b[e.tagName];return t||e.tagName}return"doctype"===e.type?"doctype":e.type in l.a?l.a[e.type]:e.type}(e,this.parent):e.type="unknown","object"==typeof e.position){const n=e.position,r={start:{line:n.start.line,column:n.start.column-1},end:{line:n.end.line,column:n.end.column-1}},o=d.locationToRange(r);e.loc=r,e.range=o,e.raw=t.slice(o[0],o[1])}else if(null===(n=this.parent)||void 0===n?void 0:n.node){const n=getNearParentWithPosition(this.parent);if(!n)return;const r=n.position;if(!r)return;const o={start:{line:r.start.line,column:r.start.column-1},end:{line:r.end.line,column:r.end.column-1}},i=d.locationToRange(o);e.loc=o,e.range=i,e.raw=t.slice(i[0],i[1])}const r=e;if("Link"===r.type)void 0!==r.properties.href&&(r.url=r.properties.href),void 0!==r.properties.title&&(r.title=r.properties.title);else if("Image"===r.type)void 0!==r.properties.alt&&(r.alt=r.properties.alt),void 0!==r.properties.title&&(r.title=r.properties.title),void 0!==r.properties.src&&(r.url=r.properties.src);else if("Header"===r.type){const e=Number(r.tagName.slice(1));e>0&&e<7&&(r.depth=e)}else"List"===r.type&&("ul"===r.tagName?r.ordered=!1:"ol"===r.tagName&&(r.ordered=!0))}})),T}}.call(this,n("8oxB"))},"0Ykn":function(e,t,n){e.exports=function setup(e){function createDebug(e){let t,n,r,o=null;function debug(...e){if(!debug.enabled)return;const n=debug,r=Number(new Date),o=r-(t||r);n.diff=o,n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if("%%"===t)return"%";i++;const o=createDebug.formatters[r];if("function"==typeof o){const r=e[i];t=o.call(n,r),e.splice(i,1),i--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==createDebug.namespaces&&(n=createDebug.namespaces,r=createDebug.enabled(e)),r),set:e=>{o=e}}),"function"==typeof createDebug.init&&createDebug.init(debug),debug}function extend(e,t){const n=createDebug(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=function coerce(e){if(e instanceof Error)return e.stack||e.message;return e},createDebug.disable=function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map(e=>"-"+e)].join(",");return createDebug.enable(""),e},createDebug.enable=function enable(e){let t;createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={},createDebug.selectColor=function selectColor(e){let t=0;for(let n=0;n{"%%"!==e&&(r++,"%c"===e&&(o=r))}),t.splice(o,0,n)},t.save=function save(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function localstorage(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("G79Q")(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n("8oxB"))},"1CLp":function(e,t,n){"use strict";const r=n("UwWT"),o=r.TAG_NAMES,i=r.NAMESPACES;function isImpliedEndTagRequired(e){switch(e.length){case 1:return e===o.P;case 2:return e===o.RB||e===o.RP||e===o.RT||e===o.DD||e===o.DT||e===o.LI;case 3:return e===o.RTC;case 6:return e===o.OPTION;case 8:return e===o.OPTGROUP}return!1}function isImpliedEndTagRequiredThoroughly(e){switch(e.length){case 1:return e===o.P;case 2:return e===o.RB||e===o.RP||e===o.RT||e===o.DD||e===o.DT||e===o.LI||e===o.TD||e===o.TH||e===o.TR;case 3:return e===o.RTC;case 5:return e===o.TBODY||e===o.TFOOT||e===o.THEAD;case 6:return e===o.OPTION;case 7:return e===o.CAPTION;case 8:return e===o.OPTGROUP||e===o.COLGROUP}return!1}function isScopingElement(e,t){switch(e.length){case 2:if(e===o.TD||e===o.TH)return t===i.HTML;if(e===o.MI||e===o.MO||e===o.MN||e===o.MS)return t===i.MATHML;break;case 4:if(e===o.HTML)return t===i.HTML;if(e===o.DESC)return t===i.SVG;break;case 5:if(e===o.TABLE)return t===i.HTML;if(e===o.MTEXT)return t===i.MATHML;if(e===o.TITLE)return t===i.SVG;break;case 6:return(e===o.APPLET||e===o.OBJECT)&&t===i.HTML;case 7:return(e===o.CAPTION||e===o.MARQUEE)&&t===i.HTML;case 8:return e===o.TEMPLATE&&t===i.HTML;case 13:return e===o.FOREIGN_OBJECT&&t===i.SVG;case 14:return e===o.ANNOTATION_XML&&t===i.MATHML}return!1}e.exports=class OpenElementStack{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===i.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===i.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===o.H1||e===o.H2||e===o.H3||e===o.H4||e===o.H5||e===o.H6&&t===i.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===o.TD||e===o.TH&&t===i.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==o.TABLE&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==o.TBODY&&this.currentTagName!==o.TFOOT&&this.currentTagName!==o.THEAD&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==o.TR&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===o.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===o.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(isScopingElement(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===o.H1||t===o.H2||t===o.H3||t===o.H4||t===o.H5||t===o.H6)&&n===i.HTML)return!0;if(isScopingElement(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if((n===o.UL||n===o.OL)&&r===i.HTML||isScopingElement(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(n===o.BUTTON&&r===i.HTML||isScopingElement(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n===o.TABLE||n===o.TEMPLATE||n===o.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===i.HTML){if(t===o.TBODY||t===o.THEAD||t===o.TFOOT)return!0;if(t===o.TABLE||t===o.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n!==o.OPTION&&n!==o.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;isImpliedEndTagRequired(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;isImpliedEndTagRequiredThoroughly(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;isImpliedEndTagRequired(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}},"1Ndr":function(e,t,n){"use strict";function _array_like_to_array(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:f,r=[],o=[],i=!0,s=n.includeSymbols?own_enumerable_keys:Object.keys,a=!!n.immutable;return function walker(e){var l=a?copy(e,n):e,u={},p=!0,T={node:l,node_:e,path:[].concat(r),parent:o[o.length-1],parents:o,key:r[r.length-1],isRoot:0===r.length,level:r.length,circular:void 0,isLeaf:!1,notLeaf:!0,notRoot:!0,isFirst:!1,isLast:!1,update:function update(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];T.isRoot||(T.parent.node[T.key]=e),T.node=e,t&&(p=!1)},delete:function _delete(e){delete T.parent.node[T.key],e&&(p=!1)},remove:function remove(e){c(T.parent.node)?T.parent.node.splice(T.key,1):delete T.parent.node[T.key],e&&(p=!1)},keys:null,before:function before(e){u.before=e},after:function after(e){u.after=e},pre:function pre(e){u.pre=e},post:function post(e){u.post=e},stop:function stop(){i=!1},block:function block(){p=!1}};if(!i)return T;function update_state(){if("object"===_type_of(T.node)&&null!==T.node){T.keys&&T.node_===T.node||(T.keys=s(T.node)),T.isLeaf=0===T.keys.length;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:f;_class_call_check(this,Traverse),__privateAdd(this,h),__privateAdd(this,E),__privateSet(this,h,e),__privateSet(this,E,t)}return function _create_class(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(Traverse,[{key:"get",value:function get(e){for(var t=__privateGet(this,h),n=0;t&&n=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*o;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=i)return plural(e,t,i,"day");if(t>=o)return plural(e,t,o,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"2VS1":function(e,t,n){"use strict";n.d(t,"a",(function(){return Logger}));class Logger{static log(...e){console.log(...e)}static warn(...e){console.warn(...e)}static error(...e){console.error(...e)}}},"2l2D":function(e,t,n){"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},"3D+v":function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function plural(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function parse(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*o;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function fmtLong(e){var t=Math.abs(e);if(t>=i)return plural(e,t,i,"day");if(t>=o)return plural(e,t,o,"hour");if(t>=r)return plural(e,t,r,"minute");if(t>=n)return plural(e,t,n,"second");return e+" ms"}(e):function fmtShort(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"57Z9":function(e,t,n){"use strict";(function(e){var r=n("2VS1");function alignRight(e,t,n){return new Array(t-e.length+1).join(n||" ")+e}const o=Boolean(e.env.TIMING),i=["Rule","Time (ms)","Relative"],s=[function alignLeft(e,t,n){return e+new Array(t-e.length+1).join(n||" ")},alignRight,alignRight];t.a=function(){const t=Object.create(null);return o&&e.on("exit",(function(){!function display(e){let t=0;const n=Object.keys(e).map((function(n){const r=e[n];return t+=r,[n,r]})).sort((function(e,t){return t[1]-e[1]})).slice(0,10);n.forEach((function(e){e.push((100*e[1]/t).toFixed(1)+"%"),e[1]=e[1].toFixed(3)})),n.unshift(i);const o=[];n.forEach((function(e){for(let t=0;to[t])&&(o[t]=n)}}));const a=n.map((function(e){return e.map((function(e,t){return s[t](e,o[t])})).join(" | ")}));a.splice(1,0,o.map((function(e,t){return 0!==t&&t!==o.length-1&&e++,s[t](":",e+1,"-")})).join("|")),r.a.log(a.join("\n"))}(t)})),{time:function time(n,r){return void 0===t[n]&&(t[n]=0),async function(...o){let i=e.hrtime();await r(...o),i=e.hrtime(i),t[n]+=1e3*i[0]+i[1]/1e6}},enabled:o}}()}).call(this,n("8oxB"))},"6dBs":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=function isArray(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},l=function isPlainObject(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,n=r.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!i)return!1;for(t in e);return void 0===t||r.call(e,t)},c=function setProperty(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function getProperty(e,t){if("__proto__"===t){if(!r.call(e,t))return;if(s)return s(e,t).value}return e[t]};e.exports=function extend(){var e,t,n,r,o,i,s=arguments[0],p=1,T=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[1]||{},p=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});p"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),m=create({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function caseSensitiveTransform(e,t){return t in e?e[t]:t}function caseInsensitiveTransform(e,t){return caseSensitiveTransform(e,t.toLowerCase())}const g=create({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:caseInsensitiveTransform,properties:{xmlns:null,xmlnsXLink:null}}),_=create({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:l,ariaAutoComplete:null,ariaBusy:l,ariaChecked:l,ariaColCount:u,ariaColIndex:u,ariaColSpan:u,ariaControls:p,ariaCurrent:null,ariaDescribedBy:p,ariaDetails:null,ariaDisabled:l,ariaDropEffect:p,ariaErrorMessage:null,ariaExpanded:l,ariaFlowTo:p,ariaGrabbed:l,ariaHasPopup:null,ariaHidden:l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:p,ariaLevel:u,ariaLive:null,ariaModal:l,ariaMultiLine:l,ariaMultiSelectable:l,ariaOrientation:null,ariaOwns:p,ariaPlaceholder:null,ariaPosInSet:u,ariaPressed:l,ariaReadOnly:l,ariaRelevant:null,ariaRequired:l,ariaRoleDescription:p,ariaRowCount:u,ariaRowIndex:u,ariaRowSpan:u,ariaSelected:l,ariaSetSize:u,ariaSort:null,ariaValueMax:u,ariaValueMin:u,ariaValueNow:u,ariaValueText:null,role:null}}),A=create({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:caseInsensitiveTransform,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:T,acceptCharset:p,accessKey:p,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:p,autoFocus:a,autoPlay:a,blocking:p,capture:null,charSet:null,checked:a,cite:null,className:p,cols:u,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:p,coords:u|T,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:c,draggable:l,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:p,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:p,httpEquiv:p,id:null,imageSizes:null,imageSrcSet:null,inert:a,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:p,itemRef:p,itemScope:a,itemType:p,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:p,placeholder:null,playsInline:a,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:p,required:a,reversed:a,rows:u,rowSpan:u,sandbox:p,scope:null,scoped:a,seamless:a,selected:a,shadowRootClonable:a,shadowRootDelegatesFocus:a,shadowRootMode:null,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:null,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:u,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:p,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}}),C=create({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:caseSensitiveTransform,properties:{about:d,accentHeight:u,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:u,amplitude:u,arabicForm:null,ascent:u,attributeName:null,attributeType:null,azimuth:u,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:u,by:null,calcMode:null,capHeight:u,className:p,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:u,diffuseConstant:u,direction:null,display:null,dur:null,divisor:u,dominantBaseline:null,download:a,dx:null,dy:null,edgeMode:null,editable:null,elevation:u,enableBackground:null,end:null,event:null,exponent:u,externalResourcesRequired:null,fill:null,fillOpacity:u,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:T,g2:T,glyphName:T,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:u,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:u,horizOriginX:u,horizOriginY:u,id:null,ideographic:u,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:u,k:u,k1:u,k2:u,k3:u,k4:u,kernelMatrix:d,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:u,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:u,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:u,overlineThickness:u,paintOrder:null,panose1:null,path:null,pathLength:u,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:p,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:u,pointsAtY:u,pointsAtZ:u,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:d,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:d,rev:d,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:d,requiredFeatures:d,requiredFonts:d,requiredFormats:d,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:u,specularExponent:u,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:u,strikethroughThickness:u,string:null,stroke:null,strokeDashArray:d,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:u,strokeOpacity:u,strokeWidth:null,style:null,surfaceScale:u,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:d,tabIndex:u,tableValues:null,target:null,targetX:u,targetY:u,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:d,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:u,underlineThickness:u,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:u,values:null,vAlphabetic:u,vMathematical:u,vectorEffect:null,vHanging:u,vIdeographic:u,version:null,vertAdvY:u,vertOriginX:u,vertOriginY:u,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:u,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),S=merge([m,f,g,_,A],"html"),N=merge([m,f,g,_,C],"svg"),I=/^data[-\w.:]+$/i,O=/-[a-z]/g,y=/[A-Z]/g;function find(e,t){const n=normalize(t);let r=t,o=Info;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&I.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(O,camelcase);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!O.test(e)){let n=e.replace(y,kebab);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=defined_info_DefinedInfo}return new o(r,t)}function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}const R=/[#.]/g;function parse(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function comma_separated_tokens_parse(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}const b=new Set(["menu","submit","reset","button"]),D={}.hasOwnProperty;function core(e,t,n){const r=n&&function createAdjustMap(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function toOffset(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `` in ``",description:"Unexpected text character `%c`. Only use text in `