owncast/static/web/_next/static/chunks/2069-4f96bdee483a378d.js
2022-11-15 01:04:30 +00:00

14 lines
158 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2069],{94470:function(module){"use strict";var hasOwn=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,defineProperty=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor,isArray=function(arr){return"function"==typeof Array.isArray?Array.isArray(arr):"[object Array]"===toStr.call(arr)},isPlainObject=function(obj){if(!obj||"[object Object]"!==toStr.call(obj))return!1;var key,hasOwnConstructor=hasOwn.call(obj,"constructor"),hasIsPrototypeOf=obj.constructor&&obj.constructor.prototype&&hasOwn.call(obj.constructor.prototype,"isPrototypeOf");if(obj.constructor&&!hasOwnConstructor&&!hasIsPrototypeOf)return!1;for(key in obj);return void 0===key||hasOwn.call(obj,key)},setProperty=function(target,options){defineProperty&&"__proto__"===options.name?defineProperty(target,options.name,{enumerable:!0,configurable:!0,value:options.newValue,writable:!0}):target[options.name]=options.newValue},getProperty=function(obj,name){if("__proto__"===name){if(!hasOwn.call(obj,name))return;if(gOPD)return gOPD(obj,name).value}return obj[name]};module.exports=function extend(){var options,name,src,copy,copyIsArray,clone,target=arguments[0],i=1,length=arguments.length,deep=!1;for("boolean"==typeof target&&(deep=target,target=arguments[1]||{},i=2),(null==target||"object"!=typeof target&&"function"!=typeof target)&&(target={});i<length;++i)if(options=arguments[i],null!=options)for(name in options)src=getProperty(target,name),target!==(copy=getProperty(options,name))&&(deep&&copy&&(isPlainObject(copy)||(copyIsArray=isArray(copy)))?(copyIsArray?(copyIsArray=!1,clone=src&&isArray(src)?src:[]):clone=src&&isPlainObject(src)?src:{},setProperty(target,{name:name,newValue:extend(deep,clone,copy)})):void 0!==copy&&setProperty(target,{name:name,newValue:copy}));return target}},18139:function(module){var COMMENT_REGEX=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,NEWLINE_REGEX=/\n/g,WHITESPACE_REGEX=/^\s*/,PROPERTY_REGEX=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,COLON_REGEX=/^:\s*/,VALUE_REGEX=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,SEMICOLON_REGEX=/^[;\s]*/,TRIM_REGEX=/^\s+|\s+$/g;function trim(str){return str?str.replace(TRIM_REGEX,""):""}module.exports=function(style,options){if("string"!=typeof style)throw TypeError("First argument must be a string");if(!style)return[];options=options||{};var lineno=1,column=1;function updatePosition(str){var lines=str.match(NEWLINE_REGEX);lines&&(lineno+=lines.length);var i=str.lastIndexOf("\n");column=~i?str.length-i:column+str.length}function position(){var start={line:lineno,column:column};return function(node){return node.position=new Position(start),match(WHITESPACE_REGEX),node}}function Position(start){this.start=start,this.end={line:lineno,column:column},this.source=options.source}Position.prototype.content=style;var errorsList=[];function error(msg){var err=Error(options.source+":"+lineno+":"+column+": "+msg);if(err.reason=msg,err.filename=options.source,err.line=lineno,err.column=column,err.source=style,options.silent)errorsList.push(err);else throw err}function match(re){var m=re.exec(style);if(m){var str=m[0];return updatePosition(str),style=style.slice(str.length),m}}function comments(rules){var c;for(rules=rules||[];c=comment();)!1!==c&&rules.push(c);return rules}function comment(){var pos=position();if("/"==style.charAt(0)&&"*"==style.charAt(1)){for(var i=2;""!=style.charAt(i)&&("*"!=style.charAt(i)||"/"!=style.charAt(i+1));)++i;if(i+=2,""===style.charAt(i-1))return error("End of comment missing");var str=style.slice(2,i-2);return column+=2,updatePosition(str),style=style.slice(i),column+=2,pos({type:"comment",comment:str})}}return match(WHITESPACE_REGEX),function(){var decl,decls=[];for(comments(decls);decl=function(){var pos=position(),prop=match(PROPERTY_REGEX);if(prop){if(comment(),!match(COLON_REGEX))return error("property missing ':'");var val=match(VALUE_REGEX),ret=pos({type:"declaration",property:trim(prop[0].replace(COMMENT_REGEX,"")),value:val?trim(val[0].replace(COMMENT_REGEX,"")):""});return match(SEMICOLON_REGEX),ret}}();)!1!==decl&&(decls.push(decl),comments(decls));return decls}()}},48738:function(module){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/ module.exports=function(obj){return null!=obj&&null!=obj.constructor&&"function"==typeof obj.constructor.isBuffer&&obj.constructor.isBuffer(obj)}},27561:function(module,__unused_webpack_exports,__webpack_require__){var trimmedEndIndex=__webpack_require__(67990),reTrimStart=/^\s+/;module.exports=function(string){return string?string.slice(0,trimmedEndIndex(string)+1).replace(reTrimStart,""):string}},67990:function(module){var reWhitespace=/\s/;module.exports=function(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index}},23279:function(module,__unused_webpack_exports,__webpack_require__){var isObject=__webpack_require__(13218),now=__webpack_require__(7771),toNumber=__webpack_require__(14841),nativeMax=Math.max,nativeMin=Math.min;module.exports=function(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var timeSinceLastCall,timeSinceLastInvoke,timeWaiting,time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,(timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime,timeWaiting=wait-timeSinceLastCall,maxing?nativeMin(timeWaiting,maxWait-timeSinceLastInvoke):timeWaiting))}function trailingEdge(time){return(timerId=void 0,trailing&&lastArgs)?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time,time1=now(),isInvoking=shouldInvoke(time1);if(lastArgs=arguments,lastThis=this,lastCallTime=time1,isInvoking){if(void 0===timerId)return lastInvokeTime=time=lastCallTime,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result;if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function(){return void 0===timerId?result:trailingEdge(now())},debounced}},33448:function(module,__unused_webpack_exports,__webpack_require__){var baseGetTag=__webpack_require__(44239),isObjectLike=__webpack_require__(37005);module.exports=function(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},7771:function(module,__unused_webpack_exports,__webpack_require__){var root=__webpack_require__(55639);module.exports=function(){return root.Date.now()}},14841:function(module,__unused_webpack_exports,__webpack_require__){var baseTrim=__webpack_require__(27561),isObject=__webpack_require__(13218),isSymbol=__webpack_require__(33448),NAN=0/0,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}},71471:function(__unused_webpack_module,exports){"use strict";/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/ var u,b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen");function v(a){if("object"==typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}u=Symbol.for("react.module.reference"),exports.ContextConsumer=h,exports.ContextProvider=g,exports.Element=b,exports.ForwardRef=l,exports.Fragment=d,exports.Lazy=q,exports.Memo=p,exports.Portal=c,exports.Profiler=f,exports.StrictMode=e,exports.Suspense=m,exports.SuspenseList=n,exports.isAsyncMode=function(){return!1},exports.isConcurrentMode=function(){return!1},exports.isContextConsumer=function(a){return v(a)===h},exports.isContextProvider=function(a){return v(a)===g},exports.isElement=function(a){return"object"==typeof a&&null!==a&&a.$$typeof===b},exports.isForwardRef=function(a){return v(a)===l},exports.isFragment=function(a){return v(a)===d},exports.isLazy=function(a){return v(a)===q},exports.isMemo=function(a){return v(a)===p},exports.isPortal=function(a){return v(a)===c},exports.isProfiler=function(a){return v(a)===f},exports.isStrictMode=function(a){return v(a)===e},exports.isSuspense=function(a){return v(a)===m},exports.isSuspenseList=function(a){return v(a)===n},exports.isValidElementType=function(a){return"string"==typeof a||"function"==typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"==typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)},exports.typeOf=v},82143:function(module,__unused_webpack_exports,__webpack_require__){"use strict";module.exports=__webpack_require__(71471)},57848:function(module,__unused_webpack_exports,__webpack_require__){var parse=__webpack_require__(18139);module.exports=function(style,iterator){var declaration,property,value,output=null;if(!style||"string"!=typeof style)return output;for(var declarations=parse(style),hasIterator="function"==typeof iterator,i=0,len=declarations.length;i<len;i++)property=(declaration=declarations[i]).property,value=declaration.value,hasIterator?iterator(property,value,declaration):value&&(output||(output={}),output[property]=value);return output}},21364:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{D:function(){return ReactMarkdown}});var constructs_namespaceObject={};__webpack_require__.r(constructs_namespaceObject),__webpack_require__.d(constructs_namespaceObject,{attentionMarkers:function(){return attentionMarkers},contentInitial:function(){return contentInitial},disable:function(){return disable},document:function(){return constructs_document},flow:function(){return constructs_flow},flowInitial:function(){return flowInitial},insideSpan:function(){return insideSpan},string:function(){return constructs_string},text:function(){return constructs_text}});var types_namespaceObject={};__webpack_require__.r(types_namespaceObject),__webpack_require__.d(types_namespaceObject,{boolean:function(){return types_boolean},booleanish:function(){return booleanish},commaOrSpaceSeparated:function(){return commaOrSpaceSeparated},commaSeparated:function(){return commaSeparated},number:function(){return number},overloadedBoolean:function(){return overloadedBoolean},spaceSeparated:function(){return spaceSeparated}});var react=__webpack_require__(67294),is_buffer=__webpack_require__(48738);function stringifyPosition(value){return value&&"object"==typeof value?"position"in value||"type"in value?position(value.position):"start"in value||"end"in value?position(value):"line"in value||"column"in value?point(value):"":""}function point(point){return index(point&&point.line)+":"+index(point&&point.column)}function position(pos){return point(pos&&pos.start)+"-"+point(pos&&pos.end)}function index(value){return value&&"number"==typeof value?value:1}class VFileMessage extends Error{constructor(reason,place,origin){let parts=[null,null],position={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof place&&(origin=place,place=void 0),"string"==typeof origin){let index=origin.indexOf(":");-1===index?parts[1]=origin:(parts[0]=origin.slice(0,index),parts[1]=origin.slice(index+1))}place&&("type"in place||"position"in place?place.position&&(position=place.position):"start"in place||"end"in place?position=place:("line"in place||"column"in place)&&(position.start=place)),this.name=stringifyPosition(place)||"1:1",this.message="object"==typeof reason?reason.message:reason,this.stack="object"==typeof reason?reason.stack:"",this.reason=this.message,this.fatal,this.line=position.start.line,this.column=position.start.column,this.source=parts[0],this.ruleId=parts[1],this.position=position,this.actual,this.expected,this.file,this.url,this.note}}VFileMessage.prototype.file="",VFileMessage.prototype.name="",VFileMessage.prototype.reason="",VFileMessage.prototype.message="",VFileMessage.prototype.stack="",VFileMessage.prototype.fatal=null,VFileMessage.prototype.column=null,VFileMessage.prototype.line=null,VFileMessage.prototype.source=null,VFileMessage.prototype.ruleId=null,VFileMessage.prototype.position=null;let path={basename:function(path,ext){let seenNonSlash;if(void 0!==ext&&"string"!=typeof ext)throw TypeError('"ext" argument must be a string');assertPath(path);let start=0,end=-1,index=path.length;if(void 0===ext||0===ext.length||ext.length>path.length){for(;index--;)if(47===path.charCodeAt(index)){if(seenNonSlash){start=index+1;break}}else end<0&&(seenNonSlash=!0,end=index+1);return end<0?"":path.slice(start,end)}if(ext===path)return"";let firstNonSlashEnd=-1,extIndex=ext.length-1;for(;index--;)if(47===path.charCodeAt(index)){if(seenNonSlash){start=index+1;break}}else firstNonSlashEnd<0&&(seenNonSlash=!0,firstNonSlashEnd=index+1),extIndex>-1&&(path.charCodeAt(index)===ext.charCodeAt(extIndex--)?extIndex<0&&(end=index):(extIndex=-1,end=firstNonSlashEnd));return start===end?end=firstNonSlashEnd:end<0&&(end=path.length),path.slice(start,end)},dirname:function(path){let unmatchedSlash;if(assertPath(path),0===path.length)return".";let end=-1,index=path.length;for(;--index;)if(47===path.charCodeAt(index)){if(unmatchedSlash){end=index;break}}else unmatchedSlash||(unmatchedSlash=!0);return end<0?47===path.charCodeAt(0)?"/":".":1===end&&47===path.charCodeAt(0)?"//":path.slice(0,end)},extname:function(path){let unmatchedSlash;assertPath(path);let index=path.length,end=-1,startPart=0,startDot=-1,preDotState=0;for(;index--;){let code=path.charCodeAt(index);if(47===code){if(unmatchedSlash){startPart=index+1;break}continue}end<0&&(unmatchedSlash=!0,end=index+1),46===code?startDot<0?startDot=index:1!==preDotState&&(preDotState=1):startDot>-1&&(preDotState=-1)}return startDot<0||end<0||0===preDotState||1===preDotState&&startDot===end-1&&startDot===startPart+1?"":path.slice(startDot,end)},join:function(...segments){let joined,index=-1;for(;++index<segments.length;)assertPath(segments[index]),segments[index]&&(joined=void 0===joined?segments[index]:joined+"/"+segments[index]);return void 0===joined?".":function(path){assertPath(path);let absolute=47===path.charCodeAt(0),value=function(path,allowAboveRoot){let code,lastSlashIndex,result="",lastSegmentLength=0,lastSlash=-1,dots=0,index=-1;for(;++index<=path.length;){if(index<path.length)code=path.charCodeAt(index);else if(47===code)break;else code=47;if(47===code){if(lastSlash===index-1||1===dots);else if(lastSlash!==index-1&&2===dots){if(result.length<2||2!==lastSegmentLength||46!==result.charCodeAt(result.length-1)||46!==result.charCodeAt(result.length-2)){if(result.length>2){if((lastSlashIndex=result.lastIndexOf("/"))!==result.length-1){lastSlashIndex<0?(result="",lastSegmentLength=0):lastSegmentLength=(result=result.slice(0,lastSlashIndex)).length-1-result.lastIndexOf("/"),lastSlash=index,dots=0;continue}}else if(result.length>0){result="",lastSegmentLength=0,lastSlash=index,dots=0;continue}}allowAboveRoot&&(result=result.length>0?result+"/..":"..",lastSegmentLength=2)}else result.length>0?result+="/"+path.slice(lastSlash+1,index):result=path.slice(lastSlash+1,index),lastSegmentLength=index-lastSlash-1;lastSlash=index,dots=0}else 46===code&&dots>-1?dots++:dots=-1}return result}(path,!absolute);return 0!==value.length||absolute||(value="."),value.length>0&&47===path.charCodeAt(path.length-1)&&(value+="/"),absolute?"/"+value:value}(joined)},sep:"/"};function assertPath(path){if("string"!=typeof path)throw TypeError("Path must be a string. Received "+JSON.stringify(path))}let proc={cwd:function(){return"/"}};function isUrl(fileURLOrPath){return null!==fileURLOrPath&&"object"==typeof fileURLOrPath&&fileURLOrPath.href&&fileURLOrPath.origin}let order=["history","path","basename","stem","extname","dirname"];class VFile{constructor(value){let options,prop;options=value?"string"==typeof value||is_buffer(value)?{value}:isUrl(value)?{path:value}:value:{},this.data={},this.messages=[],this.history=[],this.cwd=proc.cwd(),this.value,this.stored,this.result,this.map;let index=-1;for(;++index<order.length;){let prop1=order[index];prop1 in options&&void 0!==options[prop1]&&(this[prop1]="history"===prop1?[...options[prop1]]:options[prop1])}for(prop in options)order.includes(prop)||(this[prop]=options[prop])}get path(){return this.history[this.history.length-1]}set path(path){isUrl(path)&&(path=function(path){if("string"==typeof path)path=new URL(path);else if(!isUrl(path)){let error=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+path+"`");throw error.code="ERR_INVALID_ARG_TYPE",error}if("file:"!==path.protocol){let error1=TypeError("The URL must be of scheme file");throw error1.code="ERR_INVALID_URL_SCHEME",error1}return function(url){if(""!==url.hostname){let error=TypeError('File URL host must be "localhost" or empty on darwin');throw error.code="ERR_INVALID_FILE_URL_HOST",error}let pathname=url.pathname,index=-1;for(;++index<pathname.length;)if(37===pathname.charCodeAt(index)&&50===pathname.charCodeAt(index+1)){let third=pathname.charCodeAt(index+2);if(70===third||102===third){let error1=TypeError("File URL path must not include encoded / characters");throw error1.code="ERR_INVALID_FILE_URL_PATH",error1}}return decodeURIComponent(pathname)}(path)}(path)),assertNonEmpty(path,"path"),this.path!==path&&this.history.push(path)}get dirname(){return"string"==typeof this.path?path.dirname(this.path):void 0}set dirname(dirname){lib_assertPath(this.basename,"dirname"),this.path=path.join(dirname||"",this.basename)}get basename(){return"string"==typeof this.path?path.basename(this.path):void 0}set basename(basename){assertNonEmpty(basename,"basename"),assertPart(basename,"basename"),this.path=path.join(this.dirname||"",basename)}get extname(){return"string"==typeof this.path?path.extname(this.path):void 0}set extname(extname){if(assertPart(extname,"extname"),lib_assertPath(this.dirname,"extname"),extname){if(46!==extname.charCodeAt(0))throw Error("`extname` must start with `.`");if(extname.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=path.join(this.dirname,this.stem+(extname||""))}get stem(){return"string"==typeof this.path?path.basename(this.path,this.extname):void 0}set stem(stem){assertNonEmpty(stem,"stem"),assertPart(stem,"stem"),this.path=path.join(this.dirname||"",stem+(this.extname||""))}toString(encoding){return(this.value||"").toString(encoding)}message(reason,place,origin){let message=new VFileMessage(reason,place,origin);return this.path&&(message.name=this.path+":"+message.name,message.file=this.path),message.fatal=!1,this.messages.push(message),message}info(reason,place,origin){let message=this.message(reason,place,origin);return message.fatal=null,message}fail(reason,place,origin){let message=this.message(reason,place,origin);throw message.fatal=!0,message}}function assertPart(part,name){if(part&&part.includes(path.sep))throw Error("`"+name+"` cannot be a path: did not expect `"+path.sep+"`")}function assertNonEmpty(part,name){if(!part)throw Error("`"+name+"` cannot be empty")}function lib_assertPath(path,name){if(!path)throw Error("Setting `"+name+"` requires `path` to be set too")}function bail(error){if(error)throw error}var extend=__webpack_require__(94470);function isPlainObject(value){if("object"!=typeof value||null===value)return!1;let prototype=Object.getPrototypeOf(value);return(null===prototype||prototype===Object.prototype||null===Object.getPrototypeOf(prototype))&&!(Symbol.toStringTag in value)&&!(Symbol.iterator in value)}let unified=(function base(){let frozen;let transformers=function(){let fns=[],pipeline={run:function(...values){let middlewareIndex=-1,callback=values.pop();if("function"!=typeof callback)throw TypeError("Expected function as last argument, not "+callback);!function next(error,...output){let fn=fns[++middlewareIndex],index=-1;if(error){callback(error);return}for(;++index<values.length;)(null===output[index]||void 0===output[index])&&(output[index]=values[index]);values=output,fn?(function(middleware,callback){let called;return function(...parameters){let result;let fnExpectsCallback=middleware.length>parameters.length;fnExpectsCallback&&parameters.push(done);try{result=middleware.apply(this,parameters)}catch(error){if(fnExpectsCallback&&called)throw error;return done(error)}fnExpectsCallback||(result instanceof Promise?result.then(then,done):result instanceof Error?done(result):then(result))};function done(error,...output){called||(called=!0,callback(error,...output))}function then(value){done(null,value)}})(fn,next)(...output):callback(null,...output)}(null,...values)},use:function(middelware){if("function"!=typeof middelware)throw TypeError("Expected `middelware` to be a function, not "+middelware);return fns.push(middelware),pipeline}};return pipeline}(),attachers=[],namespace={},freezeIndex=-1;return processor.data=function(key,value){return"string"==typeof key?2==arguments.length?(assertUnfrozen("data",frozen),namespace[key]=value,processor):own.call(namespace,key)&&namespace[key]||null:key?(assertUnfrozen("data",frozen),namespace=key,processor):namespace},processor.Parser=void 0,processor.Compiler=void 0,processor.freeze=function(){if(frozen)return processor;for(;++freezeIndex<attachers.length;){let[attacher,...options]=attachers[freezeIndex];if(!1===options[0])continue;!0===options[0]&&(options[0]=void 0);let transformer=attacher.call(processor,...options);"function"==typeof transformer&&transformers.use(transformer)}return frozen=!0,freezeIndex=Number.POSITIVE_INFINITY,processor},processor.attachers=attachers,processor.use=function(value,...options){let settings;if(assertUnfrozen("use",frozen),null==value);else if("function"==typeof value)addPlugin(value,...options);else if("object"==typeof value)Array.isArray(value)?addList(value):addPreset(value);else throw TypeError("Expected usable value, not `"+value+"`");return settings&&(namespace.settings=Object.assign(namespace.settings||{},settings)),processor;function addPreset(result){addList(result.plugins),result.settings&&(settings=Object.assign(settings||{},result.settings))}function addList(plugins){let index=-1;if(null==plugins);else if(Array.isArray(plugins))for(;++index<plugins.length;){let thing=plugins[index];!function(value){if("function"==typeof value)addPlugin(value);else if("object"==typeof value){if(Array.isArray(value)){let[plugin,...options]=value;addPlugin(plugin,...options)}else addPreset(value)}else throw TypeError("Expected usable value, not `"+value+"`")}(thing)}else throw TypeError("Expected a list of plugins, not `"+plugins+"`")}function addPlugin(plugin,value){let entry,index=-1;for(;++index<attachers.length;)if(attachers[index][0]===plugin){entry=attachers[index];break}entry?(isPlainObject(entry[1])&&isPlainObject(value)&&(value=extend(!0,entry[1],value)),entry[1]=value):attachers.push([...arguments])}},processor.parse=function(doc){processor.freeze();let file=vfile(doc),Parser=processor.Parser;return(assertParser("parse",Parser),newable(Parser,"parse"))?new Parser(String(file),file).parse():Parser(String(file),file)},processor.stringify=function(node,doc){processor.freeze();let file=vfile(doc),Compiler=processor.Compiler;return(assertCompiler("stringify",Compiler),assertNode(node),newable(Compiler,"compile"))?new Compiler(node,file).compile():Compiler(node,file)},processor.run=function(node,doc,callback){if(assertNode(node),processor.freeze(),callback||"function"!=typeof doc||(callback=doc,doc=void 0),!callback)return new Promise(executor);function executor(resolve,reject){transformers.run(node,vfile(doc),function(error,tree,file){tree=tree||node,error?reject(error):resolve?resolve(tree):callback(null,tree,file)})}executor(null,callback)},processor.runSync=function(node,file){let result,complete;return processor.run(node,file,function(error,tree){bail(error),result=tree,complete=!0}),assertDone("runSync","run",complete),result},processor.process=function(doc,callback){if(processor.freeze(),assertParser("process",processor.Parser),assertCompiler("process",processor.Compiler),!callback)return new Promise(executor);function executor(resolve,reject){let file=vfile(doc);function done(error,file){error||!file?reject(error):resolve?resolve(file):callback(null,file)}processor.run(processor.parse(file),file,(error,tree,file)=>{if(!error&&tree&&file){let result=processor.stringify(tree,file);null==result||("string"==typeof result||is_buffer(result)?file.value=result:file.result=result),done(error,file)}else done(error)})}executor(null,callback)},processor.processSync=function(doc){let complete;processor.freeze(),assertParser("processSync",processor.Parser),assertCompiler("processSync",processor.Compiler);let file=vfile(doc);return processor.process(file,function(error){complete=!0,bail(error)}),assertDone("processSync","process",complete),file},processor;function processor(){let destination=base(),index=-1;for(;++index<attachers.length;)destination.use(...attachers[index]);return destination.data(extend(!0,{},namespace)),destination}})().freeze(),own={}.hasOwnProperty;function newable(value,name){return"function"==typeof value&&value.prototype&&(function(value){let key;for(key in value)if(own.call(value,key))return!0;return!1}(value.prototype)||name in value.prototype)}function assertParser(name,value){if("function"!=typeof value)throw TypeError("Cannot `"+name+"` without `Parser`")}function assertCompiler(name,value){if("function"!=typeof value)throw TypeError("Cannot `"+name+"` without `Compiler`")}function assertUnfrozen(name,frozen){if(frozen)throw Error("Cannot call `"+name+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function assertNode(node){if(!isPlainObject(node)||"string"!=typeof node.type)throw TypeError("Expected node, got `"+node+"`")}function assertDone(name,asyncName,complete){if(!complete)throw Error("`"+name+"` finished async. Use `"+asyncName+"` instead")}function vfile(value){return Boolean(value&&"object"==typeof value&&"message"in value&&"messages"in value)?value:new VFile(value)}function one(node,includeImageAlt){return node&&"object"==typeof node&&(node.value||(includeImageAlt?node.alt:"")||"children"in node&&mdast_util_to_string_all(node.children,includeImageAlt)||Array.isArray(node)&&mdast_util_to_string_all(node,includeImageAlt))||""}function mdast_util_to_string_all(values,includeImageAlt){for(var result=[],index=-1;++index<values.length;)result[index]=one(values[index],includeImageAlt);return result.join("")}function splice(list,start,remove,items){let parameters;let end=list.length,chunkStart=0;if(start=start<0?-start>end?0:end+start:start>end?end:start,remove=remove>0?remove:0,items.length<1e4)(parameters=Array.from(items)).unshift(start,remove),[].splice.apply(list,parameters);else for(remove&&[].splice.apply(list,[start,remove]);chunkStart<items.length;)(parameters=items.slice(chunkStart,chunkStart+1e4)).unshift(start,0),[].splice.apply(list,parameters),chunkStart+=1e4,start+=1e4}function push(list,items){return list.length>0?(splice(list,list.length,0,items),list):items}let micromark_util_combine_extensions_hasOwnProperty={}.hasOwnProperty,asciiAlpha=regexCheck(/[A-Za-z]/),asciiDigit=regexCheck(/\d/),asciiHexDigit=regexCheck(/[\dA-Fa-f]/),asciiAlphanumeric=regexCheck(/[\dA-Za-z]/),asciiPunctuation=regexCheck(/[!-/:-@[-`{-~]/),asciiAtext=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(code){return null!==code&&(code<32||127===code)}function markdownLineEndingOrSpace(code){return null!==code&&(code<0||32===code)}function markdownLineEnding(code){return null!==code&&code<-2}function markdownSpace(code){return -2===code||-1===code||32===code}let unicodeWhitespace=regexCheck(/\s/),unicodePunctuation=regexCheck(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\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]/);function regexCheck(regex){return function(code){return null!==code&&regex.test(String.fromCharCode(code))}}function factorySpace(effects,ok,type,max){let limit=max?max-1:Number.POSITIVE_INFINITY,size=0;return function(code){return markdownSpace(code)?(effects.enter(type),function prefix(code){return markdownSpace(code)&&size++<limit?(effects.consume(code),prefix):(effects.exit(type),ok(code))}(code)):ok(code)}}let content={tokenize:function(effects){let previous;let contentStart=effects.attempt(this.parser.constructs.contentInitial,function(code){if(null===code){effects.consume(code);return}return effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),factorySpace(effects,contentStart,"linePrefix")},function(code){return effects.enter("paragraph"),function lineStart(code){let token=effects.enter("chunkText",{contentType:"text",previous});return previous&&(previous.next=token),previous=token,function data(code){if(null===code){effects.exit("chunkText"),effects.exit("paragraph"),effects.consume(code);return}return markdownLineEnding(code)?(effects.consume(code),effects.exit("chunkText"),lineStart):(effects.consume(code),data)}(code)}(code)});return contentStart}},document_document={tokenize:function(effects){let childFlow,childToken,lineStartOffset;let self1=this,stack=[],continued=0;return start;function start(code){if(continued<stack.length){let item=stack[continued];return self1.containerState=item[1],effects.attempt(item[0].continuation,documentContinue,checkNewContainers)(code)}return checkNewContainers(code)}function documentContinue(code){if(continued++,self1.containerState._closeFlow){let point;self1.containerState._closeFlow=void 0,childFlow&&closeFlow();let indexBeforeExits=self1.events.length,indexBeforeFlow=indexBeforeExits;for(;indexBeforeFlow--;)if("exit"===self1.events[indexBeforeFlow][0]&&"chunkFlow"===self1.events[indexBeforeFlow][1].type){point=self1.events[indexBeforeFlow][1].end;break}exitContainers(continued);let index=indexBeforeExits;for(;index<self1.events.length;)self1.events[index][1].end=Object.assign({},point),index++;return splice(self1.events,indexBeforeFlow+1,0,self1.events.slice(indexBeforeExits)),self1.events.length=index,checkNewContainers(code)}return start(code)}function checkNewContainers(code){if(continued===stack.length){if(!childFlow)return documentContinued(code);if(childFlow.currentConstruct&&childFlow.currentConstruct.concrete)return flowStart(code);self1.interrupt=Boolean(childFlow.currentConstruct&&!childFlow._gfmTableDynamicInterruptHack)}return self1.containerState={},effects.check(containerConstruct,thereIsANewContainer,thereIsNoNewContainer)(code)}function thereIsANewContainer(code){return childFlow&&closeFlow(),exitContainers(continued),documentContinued(code)}function thereIsNoNewContainer(code){return self1.parser.lazy[self1.now().line]=continued!==stack.length,lineStartOffset=self1.now().offset,flowStart(code)}function documentContinued(code){return self1.containerState={},effects.attempt(containerConstruct,containerContinue,flowStart)(code)}function containerContinue(code){return continued++,stack.push([self1.currentConstruct,self1.containerState]),documentContinued(code)}function flowStart(code){if(null===code){childFlow&&closeFlow(),exitContainers(0),effects.consume(code);return}return childFlow=childFlow||self1.parser.flow(self1.now()),effects.enter("chunkFlow",{contentType:"flow",previous:childToken,_tokenizer:childFlow}),function flowContinue(code){if(null===code){writeToChild(effects.exit("chunkFlow"),!0),exitContainers(0),effects.consume(code);return}return markdownLineEnding(code)?(effects.consume(code),writeToChild(effects.exit("chunkFlow")),continued=0,self1.interrupt=void 0,start):(effects.consume(code),flowContinue)}(code)}function writeToChild(token,eof){let stream=self1.sliceStream(token);if(eof&&stream.push(null),token.previous=childToken,childToken&&(childToken.next=token),childToken=token,childFlow.defineSkip(token.start),childFlow.write(stream),self1.parser.lazy[token.start.line]){let seen,point,index=childFlow.events.length;for(;index--;)if(childFlow.events[index][1].start.offset<lineStartOffset&&(!childFlow.events[index][1].end||childFlow.events[index][1].end.offset>lineStartOffset))return;let indexBeforeExits=self1.events.length,indexBeforeFlow=indexBeforeExits;for(;indexBeforeFlow--;)if("exit"===self1.events[indexBeforeFlow][0]&&"chunkFlow"===self1.events[indexBeforeFlow][1].type){if(seen){point=self1.events[indexBeforeFlow][1].end;break}seen=!0}for(exitContainers(continued),index=indexBeforeExits;index<self1.events.length;)self1.events[index][1].end=Object.assign({},point),index++;splice(self1.events,indexBeforeFlow+1,0,self1.events.slice(indexBeforeExits)),self1.events.length=index}}function exitContainers(size){let index=stack.length;for(;index-- >size;){let entry=stack[index];self1.containerState=entry[1],entry[0].exit.call(self1,effects)}stack.length=size}function closeFlow(){childFlow.write([null]),childToken=void 0,childFlow=void 0,self1.containerState._closeFlow=void 0}}},containerConstruct={tokenize:function(effects,ok,nok){return factorySpace(effects,effects.attempt(this.parser.constructs.document,ok,nok),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},blankLine={tokenize:function(effects,ok,nok){return factorySpace(effects,function(code){return null===code||markdownLineEnding(code)?ok(code):nok(code)},"linePrefix")},partial:!0};function subtokenize(events){let event,lineIndex,otherIndex,otherEvent,parameters,subevents,more;let jumps={},index=-1;for(;++index<events.length;){for(;(index in jumps);)index=jumps[index];if(event=events[index],index&&"chunkFlow"===event[1].type&&"listItemPrefix"===events[index-1][1].type&&((otherIndex=0)<(subevents=event[1]._tokenizer.events).length&&"lineEndingBlank"===subevents[otherIndex][1].type&&(otherIndex+=2),otherIndex<subevents.length&&"content"===subevents[otherIndex][1].type))for(;++otherIndex<subevents.length&&"content"!==subevents[otherIndex][1].type;)"chunkText"===subevents[otherIndex][1].type&&(subevents[otherIndex][1]._isInFirstContentOfListItem=!0,otherIndex++);if("enter"===event[0])event[1].contentType&&(Object.assign(jumps,function(events,eventIndex){let stream,previous;let token=events[eventIndex][1],context=events[eventIndex][2],startPosition=eventIndex-1,startPositions=[],tokenizer=token._tokenizer||context.parser[token.contentType](token.start),childEvents=tokenizer.events,jumps=[],gaps={},index=-1,current=token,adjust=0,start=0,breaks=[start];for(;current;){for(;events[++startPosition][1]!==current;);startPositions.push(startPosition),!current._tokenizer&&(stream=context.sliceStream(current),current.next||stream.push(null),previous&&tokenizer.defineSkip(current.start),current._isInFirstContentOfListItem&&(tokenizer._gfmTasklistFirstContentOfListItem=!0),tokenizer.write(stream),current._isInFirstContentOfListItem&&(tokenizer._gfmTasklistFirstContentOfListItem=void 0)),previous=current,current=current.next}for(current=token;++index<childEvents.length;)"exit"===childEvents[index][0]&&"enter"===childEvents[index-1][0]&&childEvents[index][1].type===childEvents[index-1][1].type&&childEvents[index][1].start.line!==childEvents[index][1].end.line&&(start=index+1,breaks.push(start),current._tokenizer=void 0,current.previous=void 0,current=current.next);for(tokenizer.events=[],current?(current._tokenizer=void 0,current.previous=void 0):breaks.pop(),index=breaks.length;index--;){let slice=childEvents.slice(breaks[index],breaks[index+1]),start1=startPositions.pop();jumps.unshift([start1,start1+slice.length-1]),splice(events,start1,2,slice)}for(index=-1;++index<jumps.length;)gaps[adjust+jumps[index][0]]=adjust+jumps[index][1],adjust+=jumps[index][1]-jumps[index][0]-1;return gaps}(events,index)),index=jumps[index],more=!0);else if(event[1]._container){for(otherIndex=index,lineIndex=void 0;otherIndex--;)if("lineEnding"===(otherEvent=events[otherIndex])[1].type||"lineEndingBlank"===otherEvent[1].type)"enter"===otherEvent[0]&&(lineIndex&&(events[lineIndex][1].type="lineEndingBlank"),otherEvent[1].type="lineEnding",lineIndex=otherIndex);else break;lineIndex&&(event[1].end=Object.assign({},events[lineIndex][1].start),(parameters=events.slice(lineIndex,index)).unshift(event),splice(events,lineIndex,index-lineIndex+1,parameters))}}return!more}let content_content={tokenize:function(effects,ok){let previous;return function(code){return effects.enter("content"),previous=effects.enter("chunkContent",{contentType:"content"}),data(code)};function data(code){return null===code?contentEnd(code):markdownLineEnding(code)?effects.check(continuationConstruct,contentContinue,contentEnd)(code):(effects.consume(code),data)}function contentEnd(code){return effects.exit("chunkContent"),effects.exit("content"),ok(code)}function contentContinue(code){return effects.consume(code),effects.exit("chunkContent"),previous.next=effects.enter("chunkContent",{contentType:"content",previous}),previous=previous.next,data}},resolve:function(events){return subtokenize(events),events}},continuationConstruct={tokenize:function(effects,ok,nok){let self1=this;return function(code){return effects.exit("chunkContent"),effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),factorySpace(effects,prefixed,"linePrefix")};function prefixed(code){if(null===code||markdownLineEnding(code))return nok(code);let tail=self1.events[self1.events.length-1];return!self1.parser.constructs.disable.null.includes("codeIndented")&&tail&&"linePrefix"===tail[1].type&&tail[2].sliceSerialize(tail[1],!0).length>=4?ok(code):effects.interrupt(self1.parser.constructs.flow,nok,ok)(code)}},partial:!0},flow={tokenize:function(effects){let self1=this,initial=effects.attempt(blankLine,function(code){if(null===code){effects.consume(code);return}return effects.enter("lineEndingBlank"),effects.consume(code),effects.exit("lineEndingBlank"),self1.currentConstruct=void 0,initial},effects.attempt(this.parser.constructs.flowInitial,afterConstruct,factorySpace(effects,effects.attempt(this.parser.constructs.flow,afterConstruct,effects.attempt(content_content,afterConstruct)),"linePrefix")));return initial;function afterConstruct(code){if(null===code){effects.consume(code);return}return effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),self1.currentConstruct=void 0,initial}}},resolver={resolveAll:createResolver()},string=initializeFactory("string"),text_text=initializeFactory("text");function initializeFactory(field){return{tokenize:function(effects){let self1=this,constructs=this.parser.constructs[field],text=effects.attempt(constructs,start,notText);return start;function start(code){return atBreak(code)?text(code):notText(code)}function notText(code){if(null===code){effects.consume(code);return}return effects.enter("data"),effects.consume(code),data}function data(code){return atBreak(code)?(effects.exit("data"),text(code)):(effects.consume(code),data)}function atBreak(code){if(null===code)return!0;let list=constructs[code],index=-1;if(list)for(;++index<list.length;){let item=list[index];if(!item.previous||item.previous.call(self1,self1.previous))return!0}return!1}},resolveAll:createResolver("text"===field?resolveAllLineSuffixes:void 0)}}function createResolver(extraResolver){return function(events,context){let enter,index=-1;for(;++index<=events.length;)void 0===enter?events[index]&&"data"===events[index][1].type&&(enter=index,index++):events[index]&&"data"===events[index][1].type||(index!==enter+2&&(events[enter][1].end=events[index-1][1].end,events.splice(enter+2,index-enter-2),index=enter+2),enter=void 0);return extraResolver?extraResolver(events,context):events}}function resolveAllLineSuffixes(events,context){let eventIndex=0;for(;++eventIndex<=events.length;)if((eventIndex===events.length||"lineEnding"===events[eventIndex][1].type)&&"data"===events[eventIndex-1][1].type){let tabs;let data=events[eventIndex-1][1],chunks=context.sliceStream(data),index=chunks.length,bufferIndex=-1,size=0;for(;index--;){let chunk=chunks[index];if("string"==typeof chunk){for(bufferIndex=chunk.length;32===chunk.charCodeAt(bufferIndex-1);)size++,bufferIndex--;if(bufferIndex)break;bufferIndex=-1}else if(-2===chunk)tabs=!0,size++;else if(-1===chunk);else{index++;break}}if(size){let token={type:eventIndex===events.length||tabs||size<2?"lineSuffix":"hardBreakTrailing",start:{line:data.end.line,column:data.end.column-size,offset:data.end.offset-size,_index:data.start._index+index,_bufferIndex:index?bufferIndex:data.start._bufferIndex+bufferIndex},end:Object.assign({},data.end)};data.end=Object.assign({},token.start),data.start.offset===data.end.offset?Object.assign(data,token):(events.splice(eventIndex,0,["enter",token,context],["exit",token,context]),eventIndex+=2)}eventIndex++}return events}function resolveAll(constructs,events,context){let called=[],index=-1;for(;++index<constructs.length;){let resolve=constructs[index].resolveAll;resolve&&!called.includes(resolve)&&(events=resolve(events,context),called.push(resolve))}return events}let thematicBreak={name:"thematicBreak",tokenize:function(effects,ok,nok){let size=0;return function(code){return effects.enter("thematicBreak"),function atBreak(code1){return code1===code?(effects.enter("thematicBreakSequence"),function sequence(code1){return code1===code?(effects.consume(code1),size++,sequence):(effects.exit("thematicBreakSequence"),atBreak(code1))}(code1)):markdownSpace(code1)?factorySpace(effects,atBreak,"whitespace")(code1):size<3||null!==code1&&!markdownLineEnding(code1)?nok(code1):(effects.exit("thematicBreak"),ok(code1))}(code)}}},list={name:"list",tokenize:function(effects,ok,nok){let self1=this,tail=self1.events[self1.events.length-1],initialSize=tail&&"linePrefix"===tail[1].type?tail[2].sliceSerialize(tail[1],!0).length:0,size=0;return function(code){let kind=self1.containerState.type||(42===code||43===code||45===code?"listUnordered":"listOrdered");if("listUnordered"===kind?!self1.containerState.marker||code===self1.containerState.marker:asciiDigit(code)){if(self1.containerState.type||(self1.containerState.type=kind,effects.enter(kind,{_container:!0})),"listUnordered"===kind)return effects.enter("listItemPrefix"),42===code||45===code?effects.check(thematicBreak,nok,atMarker)(code):atMarker(code);if(!self1.interrupt||49===code)return effects.enter("listItemPrefix"),effects.enter("listItemValue"),function inside(code){return asciiDigit(code)&&++size<10?(effects.consume(code),inside):(!self1.interrupt||size<2)&&(self1.containerState.marker?code===self1.containerState.marker:41===code||46===code)?(effects.exit("listItemValue"),atMarker(code)):nok(code)}(code)}return nok(code)};function atMarker(code){return effects.enter("listItemMarker"),effects.consume(code),effects.exit("listItemMarker"),self1.containerState.marker=self1.containerState.marker||code,effects.check(blankLine,self1.interrupt?nok:onBlank,effects.attempt(listItemPrefixWhitespaceConstruct,endOfPrefix,otherPrefix))}function onBlank(code){return self1.containerState.initialBlankLine=!0,initialSize++,endOfPrefix(code)}function otherPrefix(code){return markdownSpace(code)?(effects.enter("listItemPrefixWhitespace"),effects.consume(code),effects.exit("listItemPrefixWhitespace"),endOfPrefix):nok(code)}function endOfPrefix(code){return self1.containerState.size=initialSize+self1.sliceSerialize(effects.exit("listItemPrefix"),!0).length,ok(code)}},continuation:{tokenize:function(effects,ok,nok){let self1=this;return self1.containerState._closeFlow=void 0,effects.check(blankLine,function(code){return self1.containerState.furtherBlankLines=self1.containerState.furtherBlankLines||self1.containerState.initialBlankLine,factorySpace(effects,ok,"listItemIndent",self1.containerState.size+1)(code)},function(code){return self1.containerState.furtherBlankLines||!markdownSpace(code)?(self1.containerState.furtherBlankLines=void 0,self1.containerState.initialBlankLine=void 0,notInCurrentItem(code)):(self1.containerState.furtherBlankLines=void 0,self1.containerState.initialBlankLine=void 0,effects.attempt(indentConstruct,ok,notInCurrentItem)(code))});function notInCurrentItem(code){return self1.containerState._closeFlow=!0,self1.interrupt=void 0,factorySpace(effects,effects.attempt(list,ok,nok),"linePrefix",self1.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(code)}}},exit:function(effects){effects.exit(this.containerState.type)}},listItemPrefixWhitespaceConstruct={tokenize:function(effects,ok,nok){let self1=this;return factorySpace(effects,function(code){let tail=self1.events[self1.events.length-1];return!markdownSpace(code)&&tail&&"listItemPrefixWhitespace"===tail[1].type?ok(code):nok(code)},"listItemPrefixWhitespace",self1.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},indentConstruct={tokenize:function(effects,ok,nok){let self1=this;return factorySpace(effects,function(code){let tail=self1.events[self1.events.length-1];return tail&&"listItemIndent"===tail[1].type&&tail[2].sliceSerialize(tail[1],!0).length===self1.containerState.size?ok(code):nok(code)},"listItemIndent",self1.containerState.size+1)},partial:!0},blockQuote={name:"blockQuote",tokenize:function(effects,ok,nok){let self1=this;return function(code){if(62===code){let state=self1.containerState;return state.open||(effects.enter("blockQuote",{_container:!0}),state.open=!0),effects.enter("blockQuotePrefix"),effects.enter("blockQuoteMarker"),effects.consume(code),effects.exit("blockQuoteMarker"),after}return nok(code)};function after(code){return markdownSpace(code)?(effects.enter("blockQuotePrefixWhitespace"),effects.consume(code),effects.exit("blockQuotePrefixWhitespace"),effects.exit("blockQuotePrefix"),ok):(effects.exit("blockQuotePrefix"),ok(code))}},continuation:{tokenize:function(effects,ok,nok){return factorySpace(effects,effects.attempt(blockQuote,ok,nok),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(effects){effects.exit("blockQuote")}};function factoryDestination(effects,ok,nok,type,literalType,literalMarkerType,rawType,stringType,max){let limit=max||Number.POSITIVE_INFINITY,balance=0;return function(code){return 60===code?(effects.enter(type),effects.enter(literalType),effects.enter(literalMarkerType),effects.consume(code),effects.exit(literalMarkerType),destinationEnclosedBefore):null===code||41===code||asciiControl(code)?nok(code):(effects.enter(type),effects.enter(rawType),effects.enter(stringType),effects.enter("chunkString",{contentType:"string"}),destinationRaw(code))};function destinationEnclosedBefore(code){return 62===code?(effects.enter(literalMarkerType),effects.consume(code),effects.exit(literalMarkerType),effects.exit(literalType),effects.exit(type),ok):(effects.enter(stringType),effects.enter("chunkString",{contentType:"string"}),destinationEnclosed(code))}function destinationEnclosed(code){return 62===code?(effects.exit("chunkString"),effects.exit(stringType),destinationEnclosedBefore(code)):null===code||60===code||markdownLineEnding(code)?nok(code):(effects.consume(code),92===code?destinationEnclosedEscape:destinationEnclosed)}function destinationEnclosedEscape(code){return 60===code||62===code||92===code?(effects.consume(code),destinationEnclosed):destinationEnclosed(code)}function destinationRaw(code){return 40===code?++balance>limit?nok(code):(effects.consume(code),destinationRaw):41===code?balance--?(effects.consume(code),destinationRaw):(effects.exit("chunkString"),effects.exit(stringType),effects.exit(rawType),effects.exit(type),ok(code)):null===code||markdownLineEndingOrSpace(code)?balance?nok(code):(effects.exit("chunkString"),effects.exit(stringType),effects.exit(rawType),effects.exit(type),ok(code)):asciiControl(code)?nok(code):(effects.consume(code),92===code?destinationRawEscape:destinationRaw)}function destinationRawEscape(code){return 40===code||41===code||92===code?(effects.consume(code),destinationRaw):destinationRaw(code)}}function factoryLabel(effects,ok,nok,type,markerType,stringType){let data;let self1=this,size=0;return function(code){return effects.enter(type),effects.enter(markerType),effects.consume(code),effects.exit(markerType),effects.enter(stringType),atBreak};function atBreak(code){return null===code||91===code||93===code&&!data||94===code&&!size&&"_hiddenFootnoteSupport"in self1.parser.constructs||size>999?nok(code):93===code?(effects.exit(stringType),effects.enter(markerType),effects.consume(code),effects.exit(markerType),effects.exit(type),ok):markdownLineEnding(code)?(effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),atBreak):(effects.enter("chunkString",{contentType:"string"}),label(code))}function label(code){return null===code||91===code||93===code||markdownLineEnding(code)||size++>999?(effects.exit("chunkString"),atBreak(code)):(effects.consume(code),data=data||!markdownSpace(code),92===code?labelEscape:label)}function labelEscape(code){return 91===code||92===code||93===code?(effects.consume(code),size++,label):label(code)}}function factoryTitle(effects,ok,nok,type,markerType,stringType){let marker;return function(code){return effects.enter(type),effects.enter(markerType),effects.consume(code),effects.exit(markerType),marker=40===code?41:code,atFirstTitleBreak};function atFirstTitleBreak(code){return code===marker?(effects.enter(markerType),effects.consume(code),effects.exit(markerType),effects.exit(type),ok):(effects.enter(stringType),atTitleBreak(code))}function atTitleBreak(code){return code===marker?(effects.exit(stringType),atFirstTitleBreak(marker)):null===code?nok(code):markdownLineEnding(code)?(effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),factorySpace(effects,atTitleBreak,"linePrefix")):(effects.enter("chunkString",{contentType:"string"}),title(code))}function title(code){return code===marker||null===code||markdownLineEnding(code)?(effects.exit("chunkString"),atTitleBreak(code)):(effects.consume(code),92===code?titleEscape:title)}function titleEscape(code){return code===marker||92===code?(effects.consume(code),title):title(code)}}function factoryWhitespace(effects,ok){let seen;return function start(code){return markdownLineEnding(code)?(effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),seen=!0,start):markdownSpace(code)?factorySpace(effects,start,seen?"linePrefix":"lineSuffix")(code):ok(code)}}function normalizeIdentifier(value){return value.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let titleConstruct={tokenize:function(effects,ok,nok){return function(code){return markdownLineEndingOrSpace(code)?factoryWhitespace(effects,before)(code):nok(code)};function before(code){return 34===code||39===code||40===code?factoryTitle(effects,factorySpace(effects,after,"whitespace"),nok,"definitionTitle","definitionTitleMarker","definitionTitleString")(code):nok(code)}function after(code){return null===code||markdownLineEnding(code)?ok(code):nok(code)}},partial:!0},codeIndented={name:"codeIndented",tokenize:function(effects,ok,nok){let self1=this;return function(code){return effects.enter("codeIndented"),factorySpace(effects,afterStartPrefix,"linePrefix",5)(code)};function afterStartPrefix(code){let tail=self1.events[self1.events.length-1];return tail&&"linePrefix"===tail[1].type&&tail[2].sliceSerialize(tail[1],!0).length>=4?function afterPrefix(code){return null===code?after(code):markdownLineEnding(code)?effects.attempt(indentedContent,afterPrefix,after)(code):(effects.enter("codeFlowValue"),function content(code){return null===code||markdownLineEnding(code)?(effects.exit("codeFlowValue"),afterPrefix(code)):(effects.consume(code),content)}(code))}(code):nok(code)}function after(code){return effects.exit("codeIndented"),ok(code)}}},indentedContent={tokenize:function(effects,ok,nok){let self1=this;return start;function start(code){return self1.parser.lazy[self1.now().line]?nok(code):markdownLineEnding(code)?(effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),start):factorySpace(effects,afterPrefix,"linePrefix",5)(code)}function afterPrefix(code){let tail=self1.events[self1.events.length-1];return tail&&"linePrefix"===tail[1].type&&tail[2].sliceSerialize(tail[1],!0).length>=4?ok(code):markdownLineEnding(code)?start(code):nok(code)}},partial:!0},setextUnderline={name:"setextUnderline",tokenize:function(effects,ok,nok){let paragraph;let self1=this,index=self1.events.length;for(;index--;)if("lineEnding"!==self1.events[index][1].type&&"linePrefix"!==self1.events[index][1].type&&"content"!==self1.events[index][1].type){paragraph="paragraph"===self1.events[index][1].type;break}return function(code){return!self1.parser.lazy[self1.now().line]&&(self1.interrupt||paragraph)?(effects.enter("setextHeadingLine"),effects.enter("setextHeadingLineSequence"),function closingSequence(code1){return code1===code?(effects.consume(code1),closingSequence):(effects.exit("setextHeadingLineSequence"),factorySpace(effects,closingSequenceEnd,"lineSuffix")(code1))}(code)):nok(code)};function closingSequenceEnd(code){return null===code||markdownLineEnding(code)?(effects.exit("setextHeadingLine"),ok(code)):nok(code)}},resolveTo:function(events,context){let content,text,definition,index=events.length;for(;index--;)if("enter"===events[index][0]){if("content"===events[index][1].type){content=index;break}"paragraph"===events[index][1].type&&(text=index)}else"content"===events[index][1].type&&events.splice(index,1),definition||"definition"!==events[index][1].type||(definition=index);let heading={type:"setextHeading",start:Object.assign({},events[text][1].start),end:Object.assign({},events[events.length-1][1].end)};return events[text][1].type="setextHeadingText",definition?(events.splice(text,0,["enter",heading,context]),events.splice(definition+1,0,["exit",events[content][1],context]),events[content][1].end=Object.assign({},events[definition][1].end)):events[content][1]=heading,events.push(["exit",heading,context]),events}},htmlBlockNames=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],htmlRawNames=["pre","script","style","textarea"],nextBlankConstruct={tokenize:function(effects,ok,nok){return function(code){return effects.exit("htmlFlowData"),effects.enter("lineEndingBlank"),effects.consume(code),effects.exit("lineEndingBlank"),effects.attempt(blankLine,ok,nok)}},partial:!0},codeFenced={name:"codeFenced",tokenize:function(effects,ok,nok){let marker;let self1=this,closingFenceConstruct={tokenize:function(effects,ok,nok){let size=0;return factorySpace(effects,function(code){return effects.enter("codeFencedFence"),effects.enter("codeFencedFenceSequence"),function closingSequence(code){return code===marker?(effects.consume(code),size++,closingSequence):size<sizeOpen?nok(code):(effects.exit("codeFencedFenceSequence"),factorySpace(effects,closingSequenceEnd,"whitespace")(code))}(code)},"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function closingSequenceEnd(code){return null===code||markdownLineEnding(code)?(effects.exit("codeFencedFence"),ok(code)):nok(code)}},partial:!0},nonLazyLine={tokenize:function(effects,ok,nok){let self1=this;return function(code){return effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),lineStart};function lineStart(code){return self1.parser.lazy[self1.now().line]?nok(code):ok(code)}},partial:!0},tail=this.events[this.events.length-1],initialPrefix=tail&&"linePrefix"===tail[1].type?tail[2].sliceSerialize(tail[1],!0).length:0,sizeOpen=0;return function(code){return effects.enter("codeFenced"),effects.enter("codeFencedFence"),effects.enter("codeFencedFenceSequence"),marker=code,function sequenceOpen(code){return code===marker?(effects.consume(code),sizeOpen++,sequenceOpen):(effects.exit("codeFencedFenceSequence"),sizeOpen<3?nok(code):factorySpace(effects,infoOpen,"whitespace")(code))}(code)};function infoOpen(code){return null===code||markdownLineEnding(code)?openAfter(code):(effects.enter("codeFencedFenceInfo"),effects.enter("chunkString",{contentType:"string"}),function info(code){return null===code||markdownLineEndingOrSpace(code)?(effects.exit("chunkString"),effects.exit("codeFencedFenceInfo"),factorySpace(effects,infoAfter,"whitespace")(code)):96===code&&code===marker?nok(code):(effects.consume(code),info)}(code))}function infoAfter(code){return null===code||markdownLineEnding(code)?openAfter(code):(effects.enter("codeFencedFenceMeta"),effects.enter("chunkString",{contentType:"string"}),function meta(code){return null===code||markdownLineEnding(code)?(effects.exit("chunkString"),effects.exit("codeFencedFenceMeta"),openAfter(code)):96===code&&code===marker?nok(code):(effects.consume(code),meta)}(code))}function openAfter(code){return effects.exit("codeFencedFence"),self1.interrupt?ok(code):function contentStart(code){return null===code?after(code):markdownLineEnding(code)?effects.attempt(nonLazyLine,effects.attempt(closingFenceConstruct,after,initialPrefix?factorySpace(effects,contentStart,"linePrefix",initialPrefix+1):contentStart),after)(code):(effects.enter("codeFlowValue"),function contentContinue(code){return null===code||markdownLineEnding(code)?(effects.exit("codeFlowValue"),contentStart(code)):(effects.consume(code),contentContinue)}(code))}(code)}function after(code){return effects.exit("codeFenced"),ok(code)}},concrete:!0},index_dom_element=document.createElement("i");function decodeNamedCharacterReference(value){let characterReference="&"+value+";";index_dom_element.innerHTML=characterReference;let char=index_dom_element.textContent;return(59!==char.charCodeAt(char.length-1)||"semi"===value)&&char!==characterReference&&char}let characterReference={name:"characterReference",tokenize:function(effects,ok,nok){let max,test;let self1=this,size=0;return function(code){return effects.enter("characterReference"),effects.enter("characterReferenceMarker"),effects.consume(code),effects.exit("characterReferenceMarker"),open};function open(code){return 35===code?(effects.enter("characterReferenceMarkerNumeric"),effects.consume(code),effects.exit("characterReferenceMarkerNumeric"),numeric):(effects.enter("characterReferenceValue"),max=31,test=asciiAlphanumeric,value(code))}function numeric(code){return 88===code||120===code?(effects.enter("characterReferenceMarkerHexadecimal"),effects.consume(code),effects.exit("characterReferenceMarkerHexadecimal"),effects.enter("characterReferenceValue"),max=6,test=asciiHexDigit,value):(effects.enter("characterReferenceValue"),max=7,test=asciiDigit,value(code))}function value(code){let token;return 59===code&&size?(token=effects.exit("characterReferenceValue"),test!==asciiAlphanumeric||decodeNamedCharacterReference(self1.sliceSerialize(token)))?(effects.enter("characterReferenceMarker"),effects.consume(code),effects.exit("characterReferenceMarker"),effects.exit("characterReference"),ok):nok(code):test(code)&&size++<max?(effects.consume(code),value):nok(code)}}},characterEscape={name:"characterEscape",tokenize:function(effects,ok,nok){return function(code){return effects.enter("characterEscape"),effects.enter("escapeMarker"),effects.consume(code),effects.exit("escapeMarker"),open};function open(code){return asciiPunctuation(code)?(effects.enter("characterEscapeValue"),effects.consume(code),effects.exit("characterEscapeValue"),effects.exit("characterEscape"),ok):nok(code)}}},lineEnding={name:"lineEnding",tokenize:function(effects,ok){return function(code){return effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),factorySpace(effects,ok,"linePrefix")}}},labelEnd={name:"labelEnd",tokenize:function(effects,ok,nok){let labelStart,defined;let self1=this,index=self1.events.length;for(;index--;)if(("labelImage"===self1.events[index][1].type||"labelLink"===self1.events[index][1].type)&&!self1.events[index][1]._balanced){labelStart=self1.events[index][1];break}return function(code){return labelStart?labelStart._inactive?balanced(code):(defined=self1.parser.defined.includes(normalizeIdentifier(self1.sliceSerialize({start:labelStart.end,end:self1.now()}))),effects.enter("labelEnd"),effects.enter("labelMarker"),effects.consume(code),effects.exit("labelMarker"),effects.exit("labelEnd"),afterLabelEnd):nok(code)};function afterLabelEnd(code){return 40===code?effects.attempt(resourceConstruct,ok,defined?ok:balanced)(code):91===code?effects.attempt(fullReferenceConstruct,ok,defined?effects.attempt(collapsedReferenceConstruct,ok,balanced):balanced)(code):defined?ok(code):balanced(code)}function balanced(code){return labelStart._balanced=!0,nok(code)}},resolveTo:function(events,context){let token,open,close,media,index=events.length,offset=0;for(;index--;)if(token=events[index][1],open){if("link"===token.type||"labelLink"===token.type&&token._inactive)break;"enter"===events[index][0]&&"labelLink"===token.type&&(token._inactive=!0)}else if(close){if("enter"===events[index][0]&&("labelImage"===token.type||"labelLink"===token.type)&&!token._balanced&&(open=index,"labelLink"!==token.type)){offset=2;break}}else"labelEnd"===token.type&&(close=index);let group={type:"labelLink"===events[open][1].type?"link":"image",start:Object.assign({},events[open][1].start),end:Object.assign({},events[events.length-1][1].end)},label={type:"label",start:Object.assign({},events[open][1].start),end:Object.assign({},events[close][1].end)},text={type:"labelText",start:Object.assign({},events[open+offset+2][1].end),end:Object.assign({},events[close-2][1].start)};return media=push(media=[["enter",group,context],["enter",label,context]],events.slice(open+1,open+offset+3)),media=push(media,[["enter",text,context]]),media=push(media,resolveAll(context.parser.constructs.insideSpan.null,events.slice(open+offset+4,close-3),context)),media=push(media,[["exit",text,context],events[close-2],events[close-1],["exit",label,context]]),media=push(media,events.slice(close+1)),media=push(media,[["exit",group,context]]),splice(events,open,events.length,media),events},resolveAll:function(events){let token,index=-1;for(;++index<events.length;)("labelImage"===(token=events[index][1]).type||"labelLink"===token.type||"labelEnd"===token.type)&&(events.splice(index+1,"labelImage"===token.type?4:2),token.type="data",index++);return events}},resourceConstruct={tokenize:function(effects,ok,nok){return function(code){return effects.enter("resource"),effects.enter("resourceMarker"),effects.consume(code),effects.exit("resourceMarker"),factoryWhitespace(effects,open)};function open(code){return 41===code?end(code):factoryDestination(effects,destinationAfter,nok,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(code)}function destinationAfter(code){return markdownLineEndingOrSpace(code)?factoryWhitespace(effects,between)(code):end(code)}function between(code){return 34===code||39===code||40===code?factoryTitle(effects,factoryWhitespace(effects,end),nok,"resourceTitle","resourceTitleMarker","resourceTitleString")(code):end(code)}function end(code){return 41===code?(effects.enter("resourceMarker"),effects.consume(code),effects.exit("resourceMarker"),effects.exit("resource"),ok):nok(code)}}},fullReferenceConstruct={tokenize:function(effects,ok,nok){let self1=this;return function(code){return factoryLabel.call(self1,effects,afterLabel,nok,"reference","referenceMarker","referenceString")(code)};function afterLabel(code){return self1.parser.defined.includes(normalizeIdentifier(self1.sliceSerialize(self1.events[self1.events.length-1][1]).slice(1,-1)))?ok(code):nok(code)}}},collapsedReferenceConstruct={tokenize:function(effects,ok,nok){return function(code){return effects.enter("reference"),effects.enter("referenceMarker"),effects.consume(code),effects.exit("referenceMarker"),open};function open(code){return 93===code?(effects.enter("referenceMarker"),effects.consume(code),effects.exit("referenceMarker"),effects.exit("reference"),ok):nok(code)}}},labelStartImage={name:"labelStartImage",tokenize:function(effects,ok,nok){let self1=this;return function(code){return effects.enter("labelImage"),effects.enter("labelImageMarker"),effects.consume(code),effects.exit("labelImageMarker"),open};function open(code){return 91===code?(effects.enter("labelMarker"),effects.consume(code),effects.exit("labelMarker"),effects.exit("labelImage"),after):nok(code)}function after(code){return 94===code&&"_hiddenFootnoteSupport"in self1.parser.constructs?nok(code):ok(code)}},resolveAll:labelEnd.resolveAll};function classifyCharacter(code){return null===code||markdownLineEndingOrSpace(code)||unicodeWhitespace(code)?1:unicodePunctuation(code)?2:void 0}let attention={name:"attention",tokenize:function(effects,ok){let attentionMarkers=this.parser.constructs.attentionMarkers.null,previous=this.previous,before=classifyCharacter(previous);return function(code){return effects.enter("attentionSequence"),function sequence(code1){if(code1===code)return effects.consume(code1),sequence;let token=effects.exit("attentionSequence"),after=classifyCharacter(code1),open=!after||2===after&&before||attentionMarkers.includes(code1),close=!before||2===before&&after||attentionMarkers.includes(previous);return token._open=Boolean(42===code?open:open&&(before||!close)),token._close=Boolean(42===code?close:close&&(after||!open)),ok(code1)}(code)}},resolveAll:function(events,context){let open,group,text,openingSequence,closingSequence,use,nextEvents,offset,index=-1;for(;++index<events.length;)if("enter"===events[index][0]&&"attentionSequence"===events[index][1].type&&events[index][1]._close){for(open=index;open--;)if("exit"===events[open][0]&&"attentionSequence"===events[open][1].type&&events[open][1]._open&&context.sliceSerialize(events[open][1]).charCodeAt(0)===context.sliceSerialize(events[index][1]).charCodeAt(0)){if((events[open][1]._close||events[index][1]._open)&&(events[index][1].end.offset-events[index][1].start.offset)%3&&!((events[open][1].end.offset-events[open][1].start.offset+events[index][1].end.offset-events[index][1].start.offset)%3))continue;use=events[open][1].end.offset-events[open][1].start.offset>1&&events[index][1].end.offset-events[index][1].start.offset>1?2:1;let start=Object.assign({},events[open][1].end),end=Object.assign({},events[index][1].start);movePoint(start,-use),movePoint(end,use),openingSequence={type:use>1?"strongSequence":"emphasisSequence",start,end:Object.assign({},events[open][1].end)},closingSequence={type:use>1?"strongSequence":"emphasisSequence",start:Object.assign({},events[index][1].start),end},text={type:use>1?"strongText":"emphasisText",start:Object.assign({},events[open][1].end),end:Object.assign({},events[index][1].start)},group={type:use>1?"strong":"emphasis",start:Object.assign({},openingSequence.start),end:Object.assign({},closingSequence.end)},events[open][1].end=Object.assign({},openingSequence.start),events[index][1].start=Object.assign({},closingSequence.end),nextEvents=[],events[open][1].end.offset-events[open][1].start.offset&&(nextEvents=push(nextEvents,[["enter",events[open][1],context],["exit",events[open][1],context]])),nextEvents=push(nextEvents,[["enter",group,context],["enter",openingSequence,context],["exit",openingSequence,context],["enter",text,context]]),nextEvents=push(nextEvents,resolveAll(context.parser.constructs.insideSpan.null,events.slice(open+1,index),context)),nextEvents=push(nextEvents,[["exit",text,context],["enter",closingSequence,context],["exit",closingSequence,context],["exit",group,context]]),events[index][1].end.offset-events[index][1].start.offset?(offset=2,nextEvents=push(nextEvents,[["enter",events[index][1],context],["exit",events[index][1],context]])):offset=0,splice(events,open-1,index-open+3,nextEvents),index=open+nextEvents.length-offset-2;break}}for(index=-1;++index<events.length;)"attentionSequence"===events[index][1].type&&(events[index][1].type="data");return events}};function movePoint(point,offset){point.column+=offset,point.offset+=offset,point._bufferIndex+=offset}let labelStartLink={name:"labelStartLink",tokenize:function(effects,ok,nok){let self1=this;return function(code){return effects.enter("labelLink"),effects.enter("labelMarker"),effects.consume(code),effects.exit("labelMarker"),effects.exit("labelLink"),after};function after(code){return 94===code&&"_hiddenFootnoteSupport"in self1.parser.constructs?nok(code):ok(code)}},resolveAll:labelEnd.resolveAll},constructs_document={42:list,43:list,45:list,48:list,49:list,50:list,51:list,52:list,53:list,54:list,55:list,56:list,57:list,62:blockQuote},contentInitial={91:{name:"definition",tokenize:function(effects,ok,nok){let identifier;let self1=this;return function(code){return effects.enter("definition"),factoryLabel.call(self1,effects,labelAfter,nok,"definitionLabel","definitionLabelMarker","definitionLabelString")(code)};function labelAfter(code){return(identifier=normalizeIdentifier(self1.sliceSerialize(self1.events[self1.events.length-1][1]).slice(1,-1)),58===code)?(effects.enter("definitionMarker"),effects.consume(code),effects.exit("definitionMarker"),factoryWhitespace(effects,factoryDestination(effects,effects.attempt(titleConstruct,factorySpace(effects,after,"whitespace"),factorySpace(effects,after,"whitespace")),nok,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):nok(code)}function after(code){return null===code||markdownLineEnding(code)?(effects.exit("definition"),self1.parser.defined.includes(identifier)||self1.parser.defined.push(identifier),ok(code)):nok(code)}}}},flowInitial={[-2]:codeIndented,[-1]:codeIndented,32:codeIndented},constructs_flow={35:{name:"headingAtx",tokenize:function(effects,ok,nok){let self1=this,size=0;return function(code){return effects.enter("atxHeading"),effects.enter("atxHeadingSequence"),function fenceOpenInside(code){return 35===code&&size++<6?(effects.consume(code),fenceOpenInside):null===code||markdownLineEndingOrSpace(code)?(effects.exit("atxHeadingSequence"),self1.interrupt?ok(code):function headingBreak(code){return 35===code?(effects.enter("atxHeadingSequence"),function sequence(code){return 35===code?(effects.consume(code),sequence):(effects.exit("atxHeadingSequence"),headingBreak(code))}(code)):null===code||markdownLineEnding(code)?(effects.exit("atxHeading"),ok(code)):markdownSpace(code)?factorySpace(effects,headingBreak,"whitespace")(code):(effects.enter("atxHeadingText"),function data(code){return null===code||35===code||markdownLineEndingOrSpace(code)?(effects.exit("atxHeadingText"),headingBreak(code)):(effects.consume(code),data)}(code))}(code)):nok(code)}(code)}},resolve:function(events,context){let content,text,contentEnd=events.length-2,contentStart=3;return"whitespace"===events[3][1].type&&(contentStart+=2),contentEnd-2>contentStart&&"whitespace"===events[contentEnd][1].type&&(contentEnd-=2),"atxHeadingSequence"===events[contentEnd][1].type&&(contentStart===contentEnd-1||contentEnd-4>contentStart&&"whitespace"===events[contentEnd-2][1].type)&&(contentEnd-=contentStart+1===contentEnd?2:4),contentEnd>contentStart&&(content={type:"atxHeadingText",start:events[contentStart][1].start,end:events[contentEnd][1].end},text={type:"chunkText",start:events[contentStart][1].start,end:events[contentEnd][1].end,contentType:"text"},splice(events,contentStart,contentEnd-contentStart+1,[["enter",content,context],["enter",text,context],["exit",text,context],["exit",content,context]])),events}},42:thematicBreak,45:[setextUnderline,thematicBreak],60:{name:"htmlFlow",tokenize:function(effects,ok,nok){let kind,startTag,buffer,index,marker;let self1=this;return function(code){return effects.enter("htmlFlow"),effects.enter("htmlFlowData"),effects.consume(code),open};function open(code){return 33===code?(effects.consume(code),declarationStart):47===code?(effects.consume(code),tagCloseStart):63===code?(effects.consume(code),kind=3,self1.interrupt?ok:continuationDeclarationInside):asciiAlpha(code)?(effects.consume(code),buffer=String.fromCharCode(code),startTag=!0,tagName):nok(code)}function declarationStart(code){return 45===code?(effects.consume(code),kind=2,commentOpenInside):91===code?(effects.consume(code),kind=5,buffer="CDATA[",index=0,cdataOpenInside):asciiAlpha(code)?(effects.consume(code),kind=4,self1.interrupt?ok:continuationDeclarationInside):nok(code)}function commentOpenInside(code){return 45===code?(effects.consume(code),self1.interrupt?ok:continuationDeclarationInside):nok(code)}function cdataOpenInside(code){return code===buffer.charCodeAt(index++)?(effects.consume(code),index===buffer.length?self1.interrupt?ok:continuation:cdataOpenInside):nok(code)}function tagCloseStart(code){return asciiAlpha(code)?(effects.consume(code),buffer=String.fromCharCode(code),tagName):nok(code)}function tagName(code){return null===code||47===code||62===code||markdownLineEndingOrSpace(code)?47!==code&&startTag&&htmlRawNames.includes(buffer.toLowerCase())?(kind=1,self1.interrupt?ok(code):continuation(code)):htmlBlockNames.includes(buffer.toLowerCase())?(kind=6,47===code)?(effects.consume(code),basicSelfClosing):self1.interrupt?ok(code):continuation(code):(kind=7,self1.interrupt&&!self1.parser.lazy[self1.now().line]?nok(code):startTag?completeAttributeNameBefore(code):function completeClosingTagAfter(code){return markdownSpace(code)?(effects.consume(code),completeClosingTagAfter):completeEnd(code)}(code)):45===code||asciiAlphanumeric(code)?(effects.consume(code),buffer+=String.fromCharCode(code),tagName):nok(code)}function basicSelfClosing(code){return 62===code?(effects.consume(code),self1.interrupt?ok:continuation):nok(code)}function completeAttributeNameBefore(code){return 47===code?(effects.consume(code),completeEnd):58===code||95===code||asciiAlpha(code)?(effects.consume(code),completeAttributeName):markdownSpace(code)?(effects.consume(code),completeAttributeNameBefore):completeEnd(code)}function completeAttributeName(code){return 45===code||46===code||58===code||95===code||asciiAlphanumeric(code)?(effects.consume(code),completeAttributeName):completeAttributeNameAfter(code)}function completeAttributeNameAfter(code){return 61===code?(effects.consume(code),completeAttributeValueBefore):markdownSpace(code)?(effects.consume(code),completeAttributeNameAfter):completeAttributeNameBefore(code)}function completeAttributeValueBefore(code){return null===code||60===code||61===code||62===code||96===code?nok(code):34===code||39===code?(effects.consume(code),marker=code,completeAttributeValueQuoted):markdownSpace(code)?(effects.consume(code),completeAttributeValueBefore):(marker=null,function completeAttributeValueUnquoted(code){return null===code||34===code||39===code||60===code||61===code||62===code||96===code||markdownLineEndingOrSpace(code)?completeAttributeNameAfter(code):(effects.consume(code),completeAttributeValueUnquoted)}(code))}function completeAttributeValueQuoted(code){return null===code||markdownLineEnding(code)?nok(code):code===marker?(effects.consume(code),completeAttributeValueQuotedAfter):(effects.consume(code),completeAttributeValueQuoted)}function completeAttributeValueQuotedAfter(code){return 47===code||62===code||markdownSpace(code)?completeAttributeNameBefore(code):nok(code)}function completeEnd(code){return 62===code?(effects.consume(code),completeAfter):nok(code)}function completeAfter(code){return markdownSpace(code)?(effects.consume(code),completeAfter):null===code||markdownLineEnding(code)?continuation(code):nok(code)}function continuation(code){return 45===code&&2===kind?(effects.consume(code),continuationCommentInside):60===code&&1===kind?(effects.consume(code),continuationRawTagOpen):62===code&&4===kind?(effects.consume(code),continuationClose):63===code&&3===kind?(effects.consume(code),continuationDeclarationInside):93===code&&5===kind?(effects.consume(code),continuationCharacterDataInside):markdownLineEnding(code)&&(6===kind||7===kind)?effects.check(nextBlankConstruct,continuationClose,continuationAtLineEnding)(code):null===code||markdownLineEnding(code)?continuationAtLineEnding(code):(effects.consume(code),continuation)}function continuationAtLineEnding(code){return effects.exit("htmlFlowData"),function htmlContinueStart(code){return null===code?done(code):markdownLineEnding(code)?effects.attempt({tokenize:htmlLineEnd,partial:!0},htmlContinueStart,done)(code):(effects.enter("htmlFlowData"),continuation(code))}(code)}function htmlLineEnd(effects,ok,nok){return function(code){return effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),lineStart};function lineStart(code){return self1.parser.lazy[self1.now().line]?nok(code):ok(code)}}function continuationCommentInside(code){return 45===code?(effects.consume(code),continuationDeclarationInside):continuation(code)}function continuationRawTagOpen(code){return 47===code?(effects.consume(code),buffer="",continuationRawEndTag):continuation(code)}function continuationRawEndTag(code){return 62===code&&htmlRawNames.includes(buffer.toLowerCase())?(effects.consume(code),continuationClose):asciiAlpha(code)&&buffer.length<8?(effects.consume(code),buffer+=String.fromCharCode(code),continuationRawEndTag):continuation(code)}function continuationCharacterDataInside(code){return 93===code?(effects.consume(code),continuationDeclarationInside):continuation(code)}function continuationDeclarationInside(code){return 62===code?(effects.consume(code),continuationClose):45===code&&2===kind?(effects.consume(code),continuationDeclarationInside):continuation(code)}function continuationClose(code){return null===code||markdownLineEnding(code)?(effects.exit("htmlFlowData"),done(code)):(effects.consume(code),continuationClose)}function done(code){return effects.exit("htmlFlow"),ok(code)}},resolveTo:function(events){let index=events.length;for(;index--&&("enter"!==events[index][0]||"htmlFlow"!==events[index][1].type););return index>1&&"linePrefix"===events[index-2][1].type&&(events[index][1].start=events[index-2][1].start,events[index+1][1].start=events[index-2][1].start,events.splice(index-2,2)),events},concrete:!0},61:setextUnderline,95:thematicBreak,96:codeFenced,126:codeFenced},constructs_string={38:characterReference,92:characterEscape},constructs_text={[-5]:lineEnding,[-4]:lineEnding,[-3]:lineEnding,33:labelStartImage,38:characterReference,42:attention,60:[{name:"autolink",tokenize:function(effects,ok,nok){let size=1;return function(code){return effects.enter("autolink"),effects.enter("autolinkMarker"),effects.consume(code),effects.exit("autolinkMarker"),effects.enter("autolinkProtocol"),open};function open(code){return asciiAlpha(code)?(effects.consume(code),schemeOrEmailAtext):asciiAtext(code)?emailAtext(code):nok(code)}function schemeOrEmailAtext(code){return 43===code||45===code||46===code||asciiAlphanumeric(code)?function schemeInsideOrEmailAtext(code){return 58===code?(effects.consume(code),urlInside):(43===code||45===code||46===code||asciiAlphanumeric(code))&&size++<32?(effects.consume(code),schemeInsideOrEmailAtext):emailAtext(code)}(code):emailAtext(code)}function urlInside(code){return 62===code?(effects.exit("autolinkProtocol"),end(code)):null===code||32===code||60===code||asciiControl(code)?nok(code):(effects.consume(code),urlInside)}function emailAtext(code){return 64===code?(effects.consume(code),size=0,emailAtSignOrDot):asciiAtext(code)?(effects.consume(code),emailAtext):nok(code)}function emailAtSignOrDot(code){return asciiAlphanumeric(code)?function emailLabel(code){return 46===code?(effects.consume(code),size=0,emailAtSignOrDot):62===code?(effects.exit("autolinkProtocol").type="autolinkEmail",end(code)):function emailValue(code){return(45===code||asciiAlphanumeric(code))&&size++<63?(effects.consume(code),45===code?emailValue:emailLabel):nok(code)}(code)}(code):nok(code)}function end(code){return effects.enter("autolinkMarker"),effects.consume(code),effects.exit("autolinkMarker"),effects.exit("autolink"),ok}}},{name:"htmlText",tokenize:function(effects,ok,nok){let marker,buffer,index,returnState;let self1=this;return function(code){return effects.enter("htmlText"),effects.enter("htmlTextData"),effects.consume(code),open};function open(code){return 33===code?(effects.consume(code),declarationOpen):47===code?(effects.consume(code),tagCloseStart):63===code?(effects.consume(code),instruction):asciiAlpha(code)?(effects.consume(code),tagOpen):nok(code)}function declarationOpen(code){return 45===code?(effects.consume(code),commentOpen):91===code?(effects.consume(code),buffer="CDATA[",index=0,cdataOpen):asciiAlpha(code)?(effects.consume(code),declaration):nok(code)}function commentOpen(code){return 45===code?(effects.consume(code),commentStart):nok(code)}function commentStart(code){return null===code||62===code?nok(code):45===code?(effects.consume(code),commentStartDash):comment(code)}function commentStartDash(code){return null===code||62===code?nok(code):comment(code)}function comment(code){return null===code?nok(code):45===code?(effects.consume(code),commentClose):markdownLineEnding(code)?(returnState=comment,atLineEnding(code)):(effects.consume(code),comment)}function commentClose(code){return 45===code?(effects.consume(code),end):comment(code)}function cdataOpen(code){return code===buffer.charCodeAt(index++)?(effects.consume(code),index===buffer.length?cdata:cdataOpen):nok(code)}function cdata(code){return null===code?nok(code):93===code?(effects.consume(code),cdataClose):markdownLineEnding(code)?(returnState=cdata,atLineEnding(code)):(effects.consume(code),cdata)}function cdataClose(code){return 93===code?(effects.consume(code),cdataEnd):cdata(code)}function cdataEnd(code){return 62===code?end(code):93===code?(effects.consume(code),cdataEnd):cdata(code)}function declaration(code){return null===code||62===code?end(code):markdownLineEnding(code)?(returnState=declaration,atLineEnding(code)):(effects.consume(code),declaration)}function instruction(code){return null===code?nok(code):63===code?(effects.consume(code),instructionClose):markdownLineEnding(code)?(returnState=instruction,atLineEnding(code)):(effects.consume(code),instruction)}function instructionClose(code){return 62===code?end(code):instruction(code)}function tagCloseStart(code){return asciiAlpha(code)?(effects.consume(code),tagClose):nok(code)}function tagClose(code){return 45===code||asciiAlphanumeric(code)?(effects.consume(code),tagClose):function tagCloseBetween(code){return markdownLineEnding(code)?(returnState=tagCloseBetween,atLineEnding(code)):markdownSpace(code)?(effects.consume(code),tagCloseBetween):end(code)}(code)}function tagOpen(code){return 45===code||asciiAlphanumeric(code)?(effects.consume(code),tagOpen):47===code||62===code||markdownLineEndingOrSpace(code)?tagOpenBetween(code):nok(code)}function tagOpenBetween(code){return 47===code?(effects.consume(code),end):58===code||95===code||asciiAlpha(code)?(effects.consume(code),tagOpenAttributeName):markdownLineEnding(code)?(returnState=tagOpenBetween,atLineEnding(code)):markdownSpace(code)?(effects.consume(code),tagOpenBetween):end(code)}function tagOpenAttributeName(code){return 45===code||46===code||58===code||95===code||asciiAlphanumeric(code)?(effects.consume(code),tagOpenAttributeName):function tagOpenAttributeNameAfter(code){return 61===code?(effects.consume(code),tagOpenAttributeValueBefore):markdownLineEnding(code)?(returnState=tagOpenAttributeNameAfter,atLineEnding(code)):markdownSpace(code)?(effects.consume(code),tagOpenAttributeNameAfter):tagOpenBetween(code)}(code)}function tagOpenAttributeValueBefore(code){return null===code||60===code||61===code||62===code||96===code?nok(code):34===code||39===code?(effects.consume(code),marker=code,tagOpenAttributeValueQuoted):markdownLineEnding(code)?(returnState=tagOpenAttributeValueBefore,atLineEnding(code)):markdownSpace(code)?(effects.consume(code),tagOpenAttributeValueBefore):(effects.consume(code),marker=void 0,tagOpenAttributeValueUnquoted)}function tagOpenAttributeValueQuoted(code){return code===marker?(effects.consume(code),tagOpenAttributeValueQuotedAfter):null===code?nok(code):markdownLineEnding(code)?(returnState=tagOpenAttributeValueQuoted,atLineEnding(code)):(effects.consume(code),tagOpenAttributeValueQuoted)}function tagOpenAttributeValueQuotedAfter(code){return 62===code||47===code||markdownLineEndingOrSpace(code)?tagOpenBetween(code):nok(code)}function tagOpenAttributeValueUnquoted(code){return null===code||34===code||39===code||60===code||61===code||96===code?nok(code):62===code||markdownLineEndingOrSpace(code)?tagOpenBetween(code):(effects.consume(code),tagOpenAttributeValueUnquoted)}function atLineEnding(code){return effects.exit("htmlTextData"),effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),factorySpace(effects,afterPrefix,"linePrefix",self1.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function afterPrefix(code){return effects.enter("htmlTextData"),returnState(code)}function end(code){return 62===code?(effects.consume(code),effects.exit("htmlTextData"),effects.exit("htmlText"),ok):nok(code)}}}],91:labelStartLink,92:[{name:"hardBreakEscape",tokenize:function(effects,ok,nok){return function(code){return effects.enter("hardBreakEscape"),effects.enter("escapeMarker"),effects.consume(code),open};function open(code){return markdownLineEnding(code)?(effects.exit("escapeMarker"),effects.exit("hardBreakEscape"),ok(code)):nok(code)}}},characterEscape],93:labelEnd,95:attention,96:{name:"codeText",tokenize:function(effects,ok,nok){let size,token,sizeOpen=0;return function(code){return effects.enter("codeText"),effects.enter("codeTextSequence"),function openingSequence(code){return 96===code?(effects.consume(code),sizeOpen++,openingSequence):(effects.exit("codeTextSequence"),gap(code))}(code)};function gap(code){return null===code?nok(code):96===code?(token=effects.enter("codeTextSequence"),size=0,function closingSequence(code){return 96===code?(effects.consume(code),size++,closingSequence):size===sizeOpen?(effects.exit("codeTextSequence"),effects.exit("codeText"),ok(code)):(token.type="codeTextData",data(code))}(code)):32===code?(effects.enter("space"),effects.consume(code),effects.exit("space"),gap):markdownLineEnding(code)?(effects.enter("lineEnding"),effects.consume(code),effects.exit("lineEnding"),gap):(effects.enter("codeTextData"),data(code))}function data(code){return null===code||32===code||96===code||markdownLineEnding(code)?(effects.exit("codeTextData"),gap(code)):(effects.consume(code),data)}},resolve:function(events){let index,enter,tailExitIndex=events.length-4,headEnterIndex=3;if(("lineEnding"===events[3][1].type||"space"===events[headEnterIndex][1].type)&&("lineEnding"===events[tailExitIndex][1].type||"space"===events[tailExitIndex][1].type)){for(index=headEnterIndex;++index<tailExitIndex;)if("codeTextData"===events[index][1].type){events[headEnterIndex][1].type="codeTextPadding",events[tailExitIndex][1].type="codeTextPadding",headEnterIndex+=2,tailExitIndex-=2;break}}for(index=headEnterIndex-1,tailExitIndex++;++index<=tailExitIndex;)void 0===enter?index!==tailExitIndex&&"lineEnding"!==events[index][1].type&&(enter=index):(index===tailExitIndex||"lineEnding"===events[index][1].type)&&(events[enter][1].type="codeTextData",index!==enter+2&&(events[enter][1].end=events[index-1][1].end,events.splice(enter+2,index-enter-2),tailExitIndex-=index-enter-2,index=enter+2),enter=void 0);return events},previous:function(code){return 96!==code||"characterEscape"===this.events[this.events.length-1][1].type}}},insideSpan={null:[attention,resolver]},attentionMarkers={null:[42,95]},disable={null:[]},search=/[\0\t\n\r]/g;function decodeNumericCharacterReference(value,base){let code=Number.parseInt(value,base);return code<9||11===code||code>13&&code<32||code>126&&code<160||code>55295&&code<57344||code>64975&&code<65008||(65535&code)==65535||(65535&code)==65534||code>1114111?"<22>":String.fromCharCode(code)}let characterEscapeOrReference=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decode($0,$1,$2){if($1)return $1;let head=$2.charCodeAt(0);if(35===head){let head1=$2.charCodeAt(1),hex=120===head1||88===head1;return decodeNumericCharacterReference($2.slice(hex?2:1),hex?16:10)}return decodeNamedCharacterReference($2)||$0}let lib_own={}.hasOwnProperty,fromMarkdown=function(value,encoding,options){let atCarriageReturn,column,buffer,start;return"string"!=typeof encoding&&(options=encoding,encoding=void 0),(function(options={}){let config=function configure(combined,extensions){let index=-1;for(;++index<extensions.length;){let value=extensions[index];Array.isArray(value)?configure(combined,value):function(combined,extension){let key;for(key in extension)if(lib_own.call(extension,key)){let list="canContainEols"===key||"transforms"===key,maybe=lib_own.call(combined,key)?combined[key]:void 0,left=maybe||(combined[key]=list?[]:{}),right=extension[key];right&&(list?combined[key]=[...left,...right]:Object.assign(left,right))}}(combined,value)}return combined}({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:opener(link),autolinkProtocol:onenterdata,autolinkEmail:onenterdata,atxHeading:opener(heading),blockQuote:opener(function(){return{type:"blockquote",children:[]}}),characterEscape:onenterdata,characterReference:onenterdata,codeFenced:opener(codeFlow),codeFencedFenceInfo:buffer,codeFencedFenceMeta:buffer,codeIndented:opener(codeFlow,buffer),codeText:opener(function(){return{type:"inlineCode",value:""}},buffer),codeTextData:onenterdata,data:onenterdata,codeFlowValue:onenterdata,definition:opener(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:buffer,definitionLabelString:buffer,definitionTitleString:buffer,emphasis:opener(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:opener(hardBreak),hardBreakTrailing:opener(hardBreak),htmlFlow:opener(html,buffer),htmlFlowData:onenterdata,htmlText:opener(html,buffer),htmlTextData:onenterdata,image:opener(function(){return{type:"image",title:null,url:"",alt:null}}),label:buffer,link:opener(link),listItem:opener(function(token){return{type:"listItem",spread:token._spread,checked:null,children:[]}}),listItemValue:function(token){if(data.expectingFirstListItemValue){let ancestor=this.stack[this.stack.length-2];ancestor.start=Number.parseInt(this.sliceSerialize(token),10),data.expectingFirstListItemValue=void 0}},listOrdered:opener(list,function(){data.expectingFirstListItemValue=!0}),listUnordered:opener(list),paragraph:opener(function(){return{type:"paragraph",children:[]}}),reference:function(){data.referenceType="collapsed"},referenceString:buffer,resourceDestinationString:buffer,resourceTitleString:buffer,setextHeading:opener(heading),strong:opener(function(){return{type:"strong",children:[]}}),thematicBreak:opener(function(){return{type:"thematicBreak"}})},exit:{atxHeading:closer(),atxHeadingSequence:function(token){let node=this.stack[this.stack.length-1];if(!node.depth){let depth=this.sliceSerialize(token).length;node.depth=depth}},autolink:closer(),autolinkEmail:function(token){onexitdata.call(this,token);let node=this.stack[this.stack.length-1];node.url="mailto:"+this.sliceSerialize(token)},autolinkProtocol:function(token){onexitdata.call(this,token);let node=this.stack[this.stack.length-1];node.url=this.sliceSerialize(token)},blockQuote:closer(),characterEscapeValue:onexitdata,characterReferenceMarkerHexadecimal:onexitcharacterreferencemarker,characterReferenceMarkerNumeric:onexitcharacterreferencemarker,characterReferenceValue:function(token){let value;let data1=this.sliceSerialize(token),type=data.characterReferenceType;type?(value=decodeNumericCharacterReference(data1,"characterReferenceMarkerNumeric"===type?10:16),data.characterReferenceType=void 0):value=decodeNamedCharacterReference(data1);let tail=this.stack.pop();tail.value+=value,tail.position.end=point(token.end)},codeFenced:closer(function(){let data1=this.resume(),node=this.stack[this.stack.length-1];node.value=data1.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),data.flowCodeInside=void 0}),codeFencedFence:function(){!data.flowCodeInside&&(this.buffer(),data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.lang=data},codeFencedFenceMeta:function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.meta=data},codeFlowValue:onexitdata,codeIndented:closer(function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.value=data.replace(/(\r?\n|\r)$/g,"")}),codeText:closer(function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.value=data}),codeTextData:onexitdata,data:onexitdata,definition:closer(),definitionDestinationString:function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.url=data},definitionLabelString:function(token){let label=this.resume(),node=this.stack[this.stack.length-1];node.label=label,node.identifier=normalizeIdentifier(this.sliceSerialize(token)).toLowerCase()},definitionTitleString:function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.title=data},emphasis:closer(),hardBreakEscape:closer(onexithardbreak),hardBreakTrailing:closer(onexithardbreak),htmlFlow:closer(function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.value=data}),htmlFlowData:onexitdata,htmlText:closer(function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.value=data}),htmlTextData:onexitdata,image:closer(function(){let context=this.stack[this.stack.length-1];data.inReference?(context.type+="Reference",context.referenceType=data.referenceType||"shortcut",delete context.url,delete context.title):(delete context.identifier,delete context.label),data.referenceType=void 0}),label:function(){let fragment=this.stack[this.stack.length-1],value=this.resume(),node=this.stack[this.stack.length-1];data.inReference=!0,"link"===node.type?node.children=fragment.children:node.alt=value},labelText:function(token){let ancestor=this.stack[this.stack.length-2],string=this.sliceSerialize(token);ancestor.label=string.replace(characterEscapeOrReference,decode),ancestor.identifier=normalizeIdentifier(string).toLowerCase()},lineEnding:function(token){let context=this.stack[this.stack.length-1];if(data.atHardBreak){let tail=context.children[context.children.length-1];tail.position.end=point(token.end),data.atHardBreak=void 0;return}!data.setextHeadingSlurpLineEnding&&config.canContainEols.includes(context.type)&&(onenterdata.call(this,token),onexitdata.call(this,token))},link:closer(function(){let context=this.stack[this.stack.length-1];data.inReference?(context.type+="Reference",context.referenceType=data.referenceType||"shortcut",delete context.url,delete context.title):(delete context.identifier,delete context.label),data.referenceType=void 0}),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function(token){let label=this.resume(),node=this.stack[this.stack.length-1];node.label=label,node.identifier=normalizeIdentifier(this.sliceSerialize(token)).toLowerCase(),data.referenceType="full"},resourceDestinationString:function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.url=data},resourceTitleString:function(){let data=this.resume(),node=this.stack[this.stack.length-1];node.title=data},resource:function(){data.inReference=void 0},setextHeading:closer(function(){data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(token){let node=this.stack[this.stack.length-1];node.depth=61===this.sliceSerialize(token).charCodeAt(0)?1:2},setextHeadingText:function(){data.setextHeadingSlurpLineEnding=!0},strong:closer(),thematicBreak:closer()}},options.mdastExtensions||[]),data={};return function(events){let tree={type:"root",children:[]},stack=[tree],tokenStack=[],listStack=[],context={stack,tokenStack,config,enter,exit,buffer,resume,setData,getData},index=-1;for(;++index<events.length;)if("listOrdered"===events[index][1].type||"listUnordered"===events[index][1].type){if("enter"===events[index][0])listStack.push(index);else{let tail=listStack.pop();index=function(events,start,length){let listItem,lineIndex,firstBlankLineIndex,atMarker,index=start-1,containerBalance=-1,listSpread=!1;for(;++index<=length;){let event=events[index];if("listUnordered"===event[1].type||"listOrdered"===event[1].type||"blockQuote"===event[1].type?("enter"===event[0]?containerBalance++:containerBalance--,atMarker=void 0):"lineEndingBlank"===event[1].type?"enter"===event[0]&&(!listItem||atMarker||containerBalance||firstBlankLineIndex||(firstBlankLineIndex=index),atMarker=void 0):"linePrefix"===event[1].type||"listItemValue"===event[1].type||"listItemMarker"===event[1].type||"listItemPrefix"===event[1].type||"listItemPrefixWhitespace"===event[1].type||(atMarker=void 0),!containerBalance&&"enter"===event[0]&&"listItemPrefix"===event[1].type||-1===containerBalance&&"exit"===event[0]&&("listUnordered"===event[1].type||"listOrdered"===event[1].type)){if(listItem){let tailIndex=index;for(lineIndex=void 0;tailIndex--;){let tailEvent=events[tailIndex];if("lineEnding"===tailEvent[1].type||"lineEndingBlank"===tailEvent[1].type){if("exit"===tailEvent[0])continue;lineIndex&&(events[lineIndex][1].type="lineEndingBlank",listSpread=!0),tailEvent[1].type="lineEnding",lineIndex=tailIndex}else if("linePrefix"===tailEvent[1].type||"blockQuotePrefix"===tailEvent[1].type||"blockQuotePrefixWhitespace"===tailEvent[1].type||"blockQuoteMarker"===tailEvent[1].type||"listItemIndent"===tailEvent[1].type);else break}firstBlankLineIndex&&(!lineIndex||firstBlankLineIndex<lineIndex)&&(listItem._spread=!0),listItem.end=Object.assign({},lineIndex?events[lineIndex][1].start:event[1].end),events.splice(lineIndex||index,0,["exit",listItem,event[2]]),index++,length++}"listItemPrefix"===event[1].type&&(listItem={type:"listItem",_spread:!1,start:Object.assign({},event[1].start)},events.splice(index,0,["enter",listItem,event[2]]),index++,length++,firstBlankLineIndex=void 0,atMarker=!0)}}return events[start][1]._spread=listSpread,length}(events,tail,index)}}for(index=-1;++index<events.length;){let handler=config[events[index][0]];lib_own.call(handler,events[index][1].type)&&handler[events[index][1].type].call(Object.assign({sliceSerialize:events[index][2].sliceSerialize},context),events[index][1])}if(tokenStack.length>0){let tail1=tokenStack[tokenStack.length-1],handler1=tail1[1]||defaultOnError;handler1.call(context,void 0,tail1[0])}for(tree.position={start:point(events.length>0?events[0][1].start:{line:1,column:1,offset:0}),end:point(events.length>0?events[events.length-2][1].end:{line:1,column:1,offset:0})},index=-1;++index<config.transforms.length;)tree=config.transforms[index](tree)||tree;return tree};function setData(key,value){data[key]=value}function getData(key){return data[key]}function point(d){return{line:d.line,column:d.column,offset:d.offset}}function opener(create,and){return function(token){enter.call(this,create(token),token),and&&and.call(this,token)}}function buffer(){this.stack.push({type:"fragment",children:[]})}function enter(node,token,errorHandler){let parent=this.stack[this.stack.length-1];return parent.children.push(node),this.stack.push(node),this.tokenStack.push([token,errorHandler]),node.position={start:point(token.start)},node}function closer(and){return function(token){and&&and.call(this,token),exit.call(this,token)}}function exit(token,onExitError){let node=this.stack.pop(),open=this.tokenStack.pop();if(open){if(open[0].type!==token.type){if(onExitError)onExitError.call(this,token,open[0]);else{let handler=open[1]||defaultOnError;handler.call(this,token,open[0])}}}else throw Error("Cannot close `"+token.type+"` ("+stringifyPosition({start:token.start,end:token.end})+"): its not open");return node.position.end=point(token.end),node}function resume(){return function(node,options){var{includeImageAlt=!0}={};return one(node,includeImageAlt)}(this.stack.pop())}function onenterdata(token){let parent=this.stack[this.stack.length-1],tail=parent.children[parent.children.length-1];tail&&"text"===tail.type||((tail={type:"text",value:""}).position={start:point(token.start)},parent.children.push(tail)),this.stack.push(tail)}function onexitdata(token){let tail=this.stack.pop();tail.value+=this.sliceSerialize(token),tail.position.end=point(token.end)}function onexithardbreak(){data.atHardBreak=!0}function onexitcharacterreferencemarker(token){var value;value=token.type,data.characterReferenceType=value}function codeFlow(){return{type:"code",lang:null,meta:null,value:""}}function heading(){return{type:"heading",depth:void 0,children:[]}}function hardBreak(){return{type:"break"}}function html(){return{type:"html",value:""}}function link(){return{type:"link",title:null,url:"",children:[]}}function list(token){return{type:"list",ordered:"listOrdered"===token.type,start:null,spread:token._spread,children:[]}}})(options)(function(events){for(;!subtokenize(events););return events}((function(options={}){let constructs=function(extensions){let all={},index=-1;for(;++index<extensions.length;)!function(all,extension){let hook;for(hook in extension){let code;let maybe=micromark_util_combine_extensions_hasOwnProperty.call(all,hook)?all[hook]:void 0,left=maybe||(all[hook]={}),right=extension[hook];for(code in right){micromark_util_combine_extensions_hasOwnProperty.call(left,code)||(left[code]=[]);let value=right[code];!function(existing,list){let index=-1,before=[];for(;++index<list.length;)("after"===list[index].add?existing:before).push(list[index]);splice(existing,0,0,before)}(left[code],Array.isArray(value)?value:value?[value]:[])}}}(all,extensions[index]);return all}([constructs_namespaceObject].concat(options.extensions||[])),parser={defined:[],lazy:{},constructs,content:create(content),document:create(document_document),flow:create(flow),string:create(string),text:create(text_text)};return parser;function create(initial){return function(from){return function(parser,initialize,from){let point=Object.assign(from?Object.assign({},from):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),columnStart={},resolveAllConstructs=[],chunks=[],stack=[],effects={consume:function(code){markdownLineEnding(code)?(point.line++,point.column=1,point.offset+=-3===code?2:1,accountForPotentialSkip()):-1!==code&&(point.column++,point.offset++),point._bufferIndex<0?point._index++:(point._bufferIndex++,point._bufferIndex===chunks[point._index].length&&(point._bufferIndex=-1,point._index++)),context.previous=code},enter:function(type,fields){let token=fields||{};return token.type=type,token.start=now(),context.events.push(["enter",token,context]),stack.push(token),token},exit:function(type){let token=stack.pop();return token.end=now(),context.events.push(["exit",token,context]),token},attempt:constructFactory(function(construct,info){addResult(construct,info.from)}),check:constructFactory(onsuccessfulcheck),interrupt:constructFactory(onsuccessfulcheck,{interrupt:!0})},context={previous:null,code:null,containerState:{},events:[],parser,sliceStream,sliceSerialize:function(token,expandTabs){return function(chunks,expandTabs){let atTab,index=-1,result=[];for(;++index<chunks.length;){let value;let chunk=chunks[index];if("string"==typeof chunk)value=chunk;else switch(chunk){case -5:value="\r";break;case -4:value="\n";break;case -3:value="\r\n";break;case -2:value=expandTabs?" ":" ";break;case -1:if(!expandTabs&&atTab)continue;value=" ";break;default:value=String.fromCharCode(chunk)}atTab=-2===chunk,result.push(value)}return result.join("")}(sliceStream(token),expandTabs)},now,defineSkip:function(value){columnStart[value.line]=value.column,accountForPotentialSkip()},write:function(slice){return(chunks=push(chunks,slice),function(){let chunkIndex;for(;point._index<chunks.length;){var code;let chunk=chunks[point._index];if("string"==typeof chunk)for(chunkIndex=point._index,point._bufferIndex<0&&(point._bufferIndex=0);point._index===chunkIndex&&point._bufferIndex<chunk.length;)state=state(chunk.charCodeAt(point._bufferIndex));else state=state(chunk)}}(),null!==chunks[chunks.length-1])?[]:(addResult(initialize,0),context.events=resolveAll(resolveAllConstructs,context.events,context),context.events)}},state=initialize.tokenize.call(context,effects);return initialize.resolveAll&&resolveAllConstructs.push(initialize),context;function sliceStream(token){return function(chunks,token){let view;let startIndex=token.start._index,startBufferIndex=token.start._bufferIndex,endIndex=token.end._index,endBufferIndex=token.end._bufferIndex;return startIndex===endIndex?view=[chunks[startIndex].slice(startBufferIndex,endBufferIndex)]:(view=chunks.slice(startIndex,endIndex),startBufferIndex>-1&&(view[0]=view[0].slice(startBufferIndex)),endBufferIndex>0&&view.push(chunks[endIndex].slice(0,endBufferIndex))),view}(chunks,token)}function now(){return Object.assign({},point)}function onsuccessfulcheck(_,info){info.restore()}function constructFactory(onreturn,fields){return function(constructs,returnState,bogusState){let listOfConstructs,constructIndex,currentConstruct,info;return Array.isArray(constructs)?handleListOfConstructs(constructs):"tokenize"in constructs?handleListOfConstructs([constructs]):function(code){let def=null!==code&&constructs[code],all=null!==code&&constructs.null,list=[...Array.isArray(def)?def:def?[def]:[],...Array.isArray(all)?all:all?[all]:[]];return handleListOfConstructs(list)(code)};function handleListOfConstructs(list){return(listOfConstructs=list,constructIndex=0,0===list.length)?bogusState:handleConstruct(list[constructIndex])}function handleConstruct(construct){return function(code){return(info=function(){let startPoint=now(),startPrevious=context.previous,startCurrentConstruct=context.currentConstruct,startEventsIndex=context.events.length,startStack=Array.from(stack);return{restore:function(){point=startPoint,context.previous=startPrevious,context.currentConstruct=startCurrentConstruct,context.events.length=startEventsIndex,stack=startStack,accountForPotentialSkip()},from:startEventsIndex}}(),currentConstruct=construct,construct.partial||(context.currentConstruct=construct),construct.name&&context.parser.constructs.disable.null.includes(construct.name))?nok(code):construct.tokenize.call(fields?Object.assign(Object.create(context),fields):context,effects,ok,nok)(code)}}function ok(code){return onreturn(currentConstruct,info),returnState}function nok(code){return(info.restore(),++constructIndex<listOfConstructs.length)?handleConstruct(listOfConstructs[constructIndex]):bogusState}}}function addResult(construct,from){construct.resolveAll&&!resolveAllConstructs.includes(construct)&&resolveAllConstructs.push(construct),construct.resolve&&splice(context.events,from,context.events.length-from,construct.resolve(context.events.slice(from),context)),construct.resolveTo&&(context.events=construct.resolveTo(context.events,context))}function accountForPotentialSkip(){point.line in columnStart&&point.column<2&&(point.column=columnStart[point.line],point.offset+=columnStart[point.line]-1)}}(parser,initial,from)}}})(options).document().write((column=1,buffer="",start=!0,function(value,encoding,end){let match,next,startPosition,endPosition,code;let chunks=[];for(value=buffer+value.toString(encoding),startPosition=0,buffer="",start&&(65279===value.charCodeAt(0)&&startPosition++,start=void 0);startPosition<value.length;){if(search.lastIndex=startPosition,endPosition=(match=search.exec(value))&&void 0!==match.index?match.index:value.length,code=value.charCodeAt(endPosition),!match){buffer=value.slice(startPosition);break}if(10===code&&startPosition===endPosition&&atCarriageReturn)chunks.push(-3),atCarriageReturn=void 0;else switch(atCarriageReturn&&(chunks.push(-5),atCarriageReturn=void 0),startPosition<endPosition&&(chunks.push(value.slice(startPosition,endPosition)),column+=endPosition-startPosition),code){case 0:chunks.push(65533),column++;break;case 9:for(next=4*Math.ceil(column/4),chunks.push(-2);column++<next;)chunks.push(-1);break;case 10:chunks.push(-4),column=1;break;default:atCarriageReturn=!0,column=1}startPosition=endPosition+1}return end&&(atCarriageReturn&&chunks.push(-5),buffer&&chunks.push(buffer),chunks.push(null)),chunks})(value,encoding,!0))))};function defaultOnError(left,right){if(left)throw Error("Cannot close `"+left.type+"` ("+stringifyPosition({start:left.start,end:left.end})+"): a different token (`"+right.type+"`, "+stringifyPosition({start:right.start,end:right.end})+") is open");throw Error("Cannot close document, a token (`"+right.type+"`, "+stringifyPosition({start:right.start,end:right.end})+") is still open")}var remark_parse=function(options){let parser=doc=>{let settings=this.data("settings");return fromMarkdown(doc,Object.assign({},settings,options,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:parser})},u=function(type,props,value){var node={type:String(type)};return null==value&&("string"==typeof props||Array.isArray(props))?value=props:Object.assign(node,props),Array.isArray(value)?node.children=value:null!=value&&(node.value=String(value)),node};let convert=function(test){if(null==test)return ok;if("string"==typeof test)return castFactory(function(node){return node&&node.type===test});if("object"==typeof test)return Array.isArray(test)?function(tests){let checks=[],index=-1;for(;++index<tests.length;)checks[index]=convert(tests[index]);return castFactory(function(...parameters){let index=-1;for(;++index<checks.length;)if(checks[index].call(this,...parameters))return!0;return!1})}(test):castFactory(function(node){let key;for(key in test)if(node[key]!==test[key])return!1;return!0});if("function"==typeof test)return castFactory(test);throw Error("Expected function, string, or object as test")};function castFactory(check){return function(...parameters){return Boolean(check.call(this,...parameters))}}function ok(){return!0}let visitParents=function(tree,test,visitor,reverse){"function"==typeof test&&"function"!=typeof visitor&&(reverse=visitor,visitor=test,test=null);let is=convert(test),step=reverse?-1:1;(function factory(node,index,parents){let name;let value="object"==typeof node&&null!==node?node:{};return"string"==typeof value.type&&(name="string"==typeof value.tagName?value.tagName:"string"==typeof value.name?value.name:void 0,Object.defineProperty(visit,"name",{value:"node ("+value.type+(name?"<"+name+">":"")+")"})),visit;function visit(){var value;let subresult,offset,grandparents,result=[];if((!test||is(node,index,parents[parents.length-1]||null))&&!1===(result=Array.isArray(value=visitor(node,parents))?value:"number"==typeof value?[!0,value]:[value])[0])return result;if(node.children&&"skip"!==result[0])for(offset=(reverse?node.children.length:-1)+step,grandparents=parents.concat(node);offset>-1&&offset<node.children.length;){if(!1===(subresult=factory(node.children[offset],offset,grandparents)())[0])return subresult;offset="number"==typeof subresult[1]?subresult[1]:offset+step}return result}})(tree,null,[])()},visit=function(tree,test,visitor,reverse){"function"==typeof test&&"function"!=typeof visitor&&(reverse=visitor,visitor=test,test=null),visitParents(tree,test,function(node,parents){let parent=parents[parents.length-1];return visitor(node,parent?parent.children.indexOf(node):null,parent)},reverse)},pointStart=unist_util_position_point("start"),pointEnd=unist_util_position_point("end");function unist_util_position_point(type){return function(node){let point=node&&node.position&&node.position[type]||{};return{line:point.line||null,column:point.column||null,offset:point.offset>-1?point.offset:null}}}let mdast_util_definitions_own={}.hasOwnProperty;function clean(value){return String(value||"").toUpperCase()}let traverse_own={}.hasOwnProperty;function unknown(h,node){let data=node.data||{};return"value"in node&&!(traverse_own.call(data,"hName")||traverse_own.call(data,"hProperties")||traverse_own.call(data,"hChildren"))?h.augment(node,u("text",node.value)):h(node,"div",traverse_all(h,node))}function traverse_one(h,node,parent){let fn;let type=node&&node.type;if(!type)throw Error("Expected node, got `"+node+"`");return("function"==typeof(fn=traverse_own.call(h.handlers,type)?h.handlers[type]:h.passThrough&&h.passThrough.includes(type)?returnNode:h.unknownHandler)?fn:unknown)(h,node,parent)}function returnNode(h,node){return"children"in node?{...node,children:traverse_all(h,node)}:node}function traverse_all(h,parent){let values=[];if("children"in parent){let nodes=parent.children,index=-1;for(;++index<nodes.length;){let result=traverse_one(h,nodes[index],parent);if(result){if(index&&"break"===nodes[index-1].type&&(Array.isArray(result)||"text"!==result.type||(result.value=result.value.replace(/^\s+/,"")),!Array.isArray(result)&&"element"===result.type)){let head=result.children[0];head&&"text"===head.type&&(head.value=head.value.replace(/^\s+/,""))}Array.isArray(result)?values.push(...result):values.push(result)}}}return values}function normalizeUri(value){let result=[],index=-1,start=0,skip=0;for(;++index<value.length;){let code=value.charCodeAt(index),replace="";if(37===code&&asciiAlphanumeric(value.charCodeAt(index+1))&&asciiAlphanumeric(value.charCodeAt(index+2)))skip=2;else if(code<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(code))||(replace=String.fromCharCode(code));else if(code>55295&&code<57344){let next=value.charCodeAt(index+1);code<56320&&next>56319&&next<57344?(replace=String.fromCharCode(code,next),skip=1):replace="<22>"}else replace=String.fromCharCode(code);replace&&(result.push(value.slice(start,index),encodeURIComponent(replace)),start=index+skip+1,replace=""),skip&&(index+=skip,skip=0)}return result.join("")+value.slice(start)}function wrap_wrap(nodes,loose){let result=[],index=-1;for(loose&&result.push(u("text","\n"));++index<nodes.length;)index&&result.push(u("text","\n")),result.push(nodes[index]);return loose&&nodes.length>0&&result.push(u("text","\n")),result}function footnoteReference(h,node){let counter;let id=String(node.identifier),safeId=normalizeUri(id.toLowerCase()),index=h.footnoteOrder.indexOf(id);-1===index?(h.footnoteOrder.push(id),h.footnoteCounts[id]=1,counter=h.footnoteOrder.length):(h.footnoteCounts[id]++,counter=index+1);let reuseCounter=h.footnoteCounts[id];return h(node,"sup",[h(node.position,"a",{href:"#"+h.clobberPrefix+"fn-"+safeId,id:h.clobberPrefix+"fnref-"+safeId+(reuseCounter>1?"-"+reuseCounter:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[u("text",String(counter))])])}function revert(h,node){let subtype=node.referenceType,suffix="]";if("collapsed"===subtype?suffix+="[]":"full"===subtype&&(suffix+="["+(node.label||node.identifier)+"]"),"imageReference"===node.type)return u("text","!["+node.alt+suffix);let contents=traverse_all(h,node),head=contents[0];head&&"text"===head.type?head.value="["+head.value:contents.unshift(u("text","["));let tail=contents[contents.length-1];return tail&&"text"===tail.type?tail.value+=suffix:contents.push(u("text",suffix)),contents}function listItemLoose(node){let spread=node.spread;return null==spread?node.children.length>1:spread}function trimLine(value,start,end){let startIndex=0,endIndex=value.length;if(start){let code=value.codePointAt(startIndex);for(;9===code||32===code;)startIndex++,code=value.codePointAt(startIndex)}if(end){let code1=value.codePointAt(endIndex-1);for(;9===code1||32===code1;)endIndex--,code1=value.codePointAt(endIndex-1)}return endIndex>startIndex?value.slice(startIndex,endIndex):""}let handlers={blockquote:function(h,node){return h(node,"blockquote",wrap_wrap(traverse_all(h,node),!0))},break:function(h,node){return[h(node,"br"),u("text","\n")]},code:function(h,node){let value=node.value?node.value+"\n":"",lang=node.lang&&node.lang.match(/^[^ \t]+(?=[ \t]|$)/),props={};lang&&(props.className=["language-"+lang]);let code=h(node,"code",props,[u("text",value)]);return node.meta&&(code.data={meta:node.meta}),h(node.position,"pre",[code])},delete:function(h,node){return h(node,"del",traverse_all(h,node))},emphasis:function(h,node){return h(node,"em",traverse_all(h,node))},footnoteReference:footnoteReference,footnote:function(h,node){let footnoteById=h.footnoteById,no=1;for(;(no in footnoteById);)no++;let identifier=String(no);return footnoteById[identifier]={type:"footnoteDefinition",identifier,children:[{type:"paragraph",children:node.children}],position:node.position},footnoteReference(h,{type:"footnoteReference",identifier,position:node.position})},heading:function(h,node){return h(node,"h"+node.depth,traverse_all(h,node))},html:function(h,node){return h.dangerous?h.augment(node,u("raw",node.value)):null},imageReference:function(h,node){let def=h.definition(node.identifier);if(!def)return revert(h,node);let props={src:normalizeUri(def.url||""),alt:node.alt};return null!==def.title&&void 0!==def.title&&(props.title=def.title),h(node,"img",props)},image:function(h,node){let props={src:normalizeUri(node.url),alt:node.alt};return null!==node.title&&void 0!==node.title&&(props.title=node.title),h(node,"img",props)},inlineCode:function(h,node){return h(node,"code",[u("text",node.value.replace(/\r?\n|\r/g," "))])},linkReference:function(h,node){let def=h.definition(node.identifier);if(!def)return revert(h,node);let props={href:normalizeUri(def.url||"")};return null!==def.title&&void 0!==def.title&&(props.title=def.title),h(node,"a",props,traverse_all(h,node))},link:function(h,node){let props={href:normalizeUri(node.url)};return null!==node.title&&void 0!==node.title&&(props.title=node.title),h(node,"a",props,traverse_all(h,node))},listItem:function(h,node,parent){let result=traverse_all(h,node),loose=parent?function(node){let loose=node.spread,children=node.children,index=-1;for(;!loose&&++index<children.length;)loose=listItemLoose(children[index]);return Boolean(loose)}(parent):listItemLoose(node),props={},wrapped=[];if("boolean"==typeof node.checked){let paragraph;result[0]&&"element"===result[0].type&&"p"===result[0].tagName?paragraph=result[0]:(paragraph=h(null,"p",[]),result.unshift(paragraph)),paragraph.children.length>0&&paragraph.children.unshift(u("text"," ")),paragraph.children.unshift(h(null,"input",{type:"checkbox",checked:node.checked,disabled:!0})),props.className=["task-list-item"]}let index=-1;for(;++index<result.length;){let child=result[index];(loose||0!==index||"element"!==child.type||"p"!==child.tagName)&&wrapped.push(u("text","\n")),"element"!==child.type||"p"!==child.tagName||loose?wrapped.push(child):wrapped.push(...child.children)}let tail=result[result.length-1];return!tail||!loose&&"tagName"in tail&&"p"===tail.tagName||wrapped.push(u("text","\n")),h(node,"li",props,wrapped)},list:function(h,node){let props={},name=node.ordered?"ol":"ul",items=traverse_all(h,node),index=-1;for("number"==typeof node.start&&1!==node.start&&(props.start=node.start);++index<items.length;){let item=items[index];if("element"===item.type&&"li"===item.tagName&&item.properties&&Array.isArray(item.properties.className)&&item.properties.className.includes("task-list-item")){props.className=["contains-task-list"];break}}return h(node,name,props,wrap_wrap(items,!0))},paragraph:function(h,node){return h(node,"p",traverse_all(h,node))},root:function(h,node){return h.augment(node,u("root",wrap_wrap(traverse_all(h,node))))},strong:function(h,node){return h(node,"strong",traverse_all(h,node))},table:function(h,node){let rows=node.children,index=-1,align=node.align||[],result=[];for(;++index<rows.length;){let row=rows[index].children,name=0===index?"th":"td",out=[],cellIndex=-1,length=node.align?align.length:row.length;for(;++cellIndex<length;){let cell=row[cellIndex];out.push(h(cell,name,{align:align[cellIndex]},cell?traverse_all(h,cell):[]))}result[index]=h(rows[index],"tr",wrap_wrap(out,!0))}return h(node,"table",wrap_wrap([h(result[0].position,"thead",wrap_wrap([result[0]],!0))].concat(result[1]?h({start:pointStart(result[1]),end:pointEnd(result[result.length-1])},"tbody",wrap_wrap(result.slice(1),!0)):[]),!0))},text:function(h,node){return h.augment(node,u("text",function(value){let source=String(value),search=/\r?\n|\r/g,match=search.exec(source),last=0,lines=[];for(;match;)lines.push(trimLine(source.slice(last,match.index),last>0,!0),match[0]),last=match.index+match[0].length,match=search.exec(source);return lines.push(trimLine(source.slice(last),last>0,!1)),lines.join("")}(String(node.value))))},thematicBreak:function(h,node){return h(node,"hr")},toml:ignore,yaml:ignore,definition:ignore,footnoteDefinition:ignore};function ignore(){return null}let mdast_util_to_hast_lib_own={}.hasOwnProperty;function toHast(tree,options){let h=function(tree,options){let settings=options||{},dangerous=settings.allowDangerousHtml||!1,footnoteById={};return h.dangerous=dangerous,h.clobberPrefix=void 0===settings.clobberPrefix||null===settings.clobberPrefix?"user-content-":settings.clobberPrefix,h.footnoteLabel=settings.footnoteLabel||"Footnotes",h.footnoteLabelTagName=settings.footnoteLabelTagName||"h2",h.footnoteLabelProperties=settings.footnoteLabelProperties||{className:["sr-only"]},h.footnoteBackLabel=settings.footnoteBackLabel||"Back to content",h.definition=function(node){let cache=Object.create(null);if(!node||!node.type)throw Error("mdast-util-definitions expected node");return visit(node,"definition",definition=>{let id=clean(definition.identifier);id&&!mdast_util_definitions_own.call(cache,id)&&(cache[id]=definition)}),function(identifier){let id=clean(identifier);return id&&mdast_util_definitions_own.call(cache,id)?cache[id]:null}}(tree),h.footnoteById=footnoteById,h.footnoteOrder=[],h.footnoteCounts={},h.augment=augment,h.handlers={...handlers,...settings.handlers},h.unknownHandler=settings.unknownHandler,h.passThrough=settings.passThrough,visit(tree,"footnoteDefinition",definition=>{let id=String(definition.identifier).toUpperCase();mdast_util_to_hast_lib_own.call(footnoteById,id)||(footnoteById[id]=definition)}),h;function augment(left,right){if(left&&"data"in left&&left.data){let data=left.data;data.hName&&("element"!==right.type&&(right={type:"element",tagName:"",properties:{},children:[]}),right.tagName=data.hName),"element"===right.type&&data.hProperties&&(right.properties={...right.properties,...data.hProperties}),"children"in right&&right.children&&data.hChildren&&(right.children=data.hChildren)}if(left){let ctx="type"in left?left:{position:left};!ctx||!ctx.position||!ctx.position.start||!ctx.position.start.line||!ctx.position.start.column||!ctx.position.end||!ctx.position.end.line||!ctx.position.end.column||(right.position={start:pointStart(ctx),end:pointEnd(ctx)})}return right}function h(node,tagName,props,children){return Array.isArray(props)&&(children=props,props={}),augment(node,{type:"element",tagName,properties:props||{},children:children||[]})}}(tree,options),node=traverse_one(h,tree,null),foot=function(h){let index=-1,listItems=[];for(;++index<h.footnoteOrder.length;){let def=h.footnoteById[h.footnoteOrder[index].toUpperCase()];if(!def)continue;let content=traverse_all(h,def),id=String(def.identifier),safeId=normalizeUri(id.toLowerCase()),referenceIndex=0,backReferences=[];for(;++referenceIndex<=h.footnoteCounts[id];){let backReference={type:"element",tagName:"a",properties:{href:"#"+h.clobberPrefix+"fnref-"+safeId+(referenceIndex>1?"-"+referenceIndex:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:h.footnoteBackLabel},children:[{type:"text",value:"↩"}]};referenceIndex>1&&backReference.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(referenceIndex)}]}),backReferences.length>0&&backReferences.push({type:"text",value:" "}),backReferences.push(backReference)}let tail=content[content.length-1];if(tail&&"element"===tail.type&&"p"===tail.tagName){let tailTail=tail.children[tail.children.length-1];tailTail&&"text"===tailTail.type?tailTail.value+=" ":tail.children.push({type:"text",value:" "}),tail.children.push(...backReferences)}else content.push(...backReferences);let listItem={type:"element",tagName:"li",properties:{id:h.clobberPrefix+"fn-"+safeId},children:wrap_wrap(content,!0)};def.position&&(listItem.position=def.position),listItems.push(listItem)}return 0===listItems.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:h.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(h.footnoteLabelProperties)),id:"footnote-label"},children:[u("text",h.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:wrap_wrap(listItems,!0)},{type:"text",value:"\n"}]}}(h);return foot&&node.children.push(u("text","\n"),foot),Array.isArray(node)?{type:"root",children:node}:node}var lib=function(destination,options){var options1;return destination&&"run"in destination?(node,file,next)=>{destination.run(toHast(node,options),file,error=>{next(error)})}:(options1=destination||options,node=>toHast(node,options1))},prop_types=__webpack_require__(45697);class Schema{constructor(property,normal,space){this.property=property,this.normal=normal,space&&(this.space=space)}}function merge(definitions,space){let property={},normal={},index=-1;for(;++index<definitions.length;)Object.assign(property,definitions[index].property),Object.assign(normal,definitions[index].normal);return new Schema(property,normal,space)}function normalize_normalize(value){return value.toLowerCase()}Schema.prototype.property={},Schema.prototype.normal={},Schema.prototype.space=null;class Info{constructor(property,attribute){this.property=property,this.attribute=attribute}}Info.prototype.space=null,Info.prototype.boolean=!1,Info.prototype.booleanish=!1,Info.prototype.overloadedBoolean=!1,Info.prototype.number=!1,Info.prototype.commaSeparated=!1,Info.prototype.spaceSeparated=!1,Info.prototype.commaOrSpaceSeparated=!1,Info.prototype.mustUseProperty=!1,Info.prototype.defined=!1;let powers=0,types_boolean=increment(),booleanish=increment(),overloadedBoolean=increment(),number=increment(),spaceSeparated=increment(),commaSeparated=increment(),commaOrSpaceSeparated=increment();function increment(){return 2**++powers}let checks=Object.keys(types_namespaceObject);class DefinedInfo extends Info{constructor(property,attribute,mask,space){var values,values1,key,value;let index=-1;if(super(property,attribute),values=this,space&&(values.space=space),"number"==typeof mask)for(;++index<checks.length;){let check=checks[index];values1=this,key=checks[index],(value=(mask&types_namespaceObject[check])===types_namespaceObject[check])&&(values1[key]=value)}}}DefinedInfo.prototype.defined=!0;let create_own={}.hasOwnProperty;function create(definition){let prop;let property={},normal={};for(prop in definition.properties)if(create_own.call(definition.properties,prop)){let value=definition.properties[prop],info=new DefinedInfo(prop,definition.transform(definition.attributes||{},prop),value,definition.space);definition.mustUseProperty&&definition.mustUseProperty.includes(prop)&&(info.mustUseProperty=!0),property[prop]=info,normal[normalize_normalize(prop)]=prop,normal[normalize_normalize(info.attribute)]=prop}return new Schema(property,normal,definition.space)}let xlink=create({space:"xlink",transform:(_,prop)=>"xlink:"+prop.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),xml=create({space:"xml",transform:(_,prop)=>"xml:"+prop.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function caseSensitiveTransform(attributes,attribute){return attribute in attributes?attributes[attribute]:attribute}function caseInsensitiveTransform(attributes,property){return caseSensitiveTransform(attributes,property.toLowerCase())}let xmlns=create({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:caseInsensitiveTransform,properties:{xmlns:null,xmlnsXLink:null}}),aria=create({transform:(_,prop)=>"role"===prop?prop:"aria-"+prop.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:booleanish,ariaAutoComplete:null,ariaBusy:booleanish,ariaChecked:booleanish,ariaColCount:number,ariaColIndex:number,ariaColSpan:number,ariaControls:spaceSeparated,ariaCurrent:null,ariaDescribedBy:spaceSeparated,ariaDetails:null,ariaDisabled:booleanish,ariaDropEffect:spaceSeparated,ariaErrorMessage:null,ariaExpanded:booleanish,ariaFlowTo:spaceSeparated,ariaGrabbed:booleanish,ariaHasPopup:null,ariaHidden:booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:spaceSeparated,ariaLevel:number,ariaLive:null,ariaModal:booleanish,ariaMultiLine:booleanish,ariaMultiSelectable:booleanish,ariaOrientation:null,ariaOwns:spaceSeparated,ariaPlaceholder:null,ariaPosInSet:number,ariaPressed:booleanish,ariaReadOnly:booleanish,ariaRelevant:null,ariaRequired:booleanish,ariaRoleDescription:spaceSeparated,ariaRowCount:number,ariaRowIndex:number,ariaRowSpan:number,ariaSelected:booleanish,ariaSetSize:number,ariaSort:null,ariaValueMax:number,ariaValueMin:number,ariaValueNow:number,ariaValueText:null,role:null}}),html_html=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:commaSeparated,acceptCharset:spaceSeparated,accessKey:spaceSeparated,action:null,allow:null,allowFullScreen:types_boolean,allowPaymentRequest:types_boolean,allowUserMedia:types_boolean,alt:null,as:null,async:types_boolean,autoCapitalize:null,autoComplete:spaceSeparated,autoFocus:types_boolean,autoPlay:types_boolean,capture:types_boolean,charSet:null,checked:types_boolean,cite:null,className:spaceSeparated,cols:number,colSpan:null,content:null,contentEditable:booleanish,controls:types_boolean,controlsList:spaceSeparated,coords:number|commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:types_boolean,defer:types_boolean,dir:null,dirName:null,disabled:types_boolean,download:overloadedBoolean,draggable:booleanish,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:types_boolean,formTarget:null,headers:spaceSeparated,height:number,hidden:types_boolean,high:number,href:null,hrefLang:null,htmlFor:spaceSeparated,httpEquiv:spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:types_boolean,itemId:null,itemProp:spaceSeparated,itemRef:spaceSeparated,itemScope:types_boolean,itemType:spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:types_boolean,low:number,manifest:null,max:null,maxLength:number,media:null,method:null,min:null,minLength:number,multiple:types_boolean,muted:types_boolean,name:null,nonce:null,noModule:types_boolean,noValidate:types_boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint: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,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:types_boolean,optimum:number,pattern:null,ping:spaceSeparated,placeholder:null,playsInline:types_boolean,poster:null,preload:null,readOnly:types_boolean,referrerPolicy:null,rel:spaceSeparated,required:types_boolean,reversed:types_boolean,rows:number,rowSpan:number,sandbox:spaceSeparated,scope:null,scoped:types_boolean,seamless:types_boolean,selected:types_boolean,shape:null,size:number,sizes:null,slot:null,span:number,spellCheck:booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:number,step:null,style:null,tabIndex:number,target:null,title:null,translate:null,type:null,typeMustMatch:types_boolean,useMap:null,value:booleanish,width:number,wrap:null,align:null,aLink:null,archive:spaceSeparated,axis:null,background:null,bgColor:null,border:number,borderColor:null,bottomMargin:number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:types_boolean,declare:types_boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:number,leftMargin:number,link:null,longDesc:null,lowSrc:null,marginHeight:number,marginWidth:number,noResize:types_boolean,noHref:types_boolean,noShade:types_boolean,noWrap:types_boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:number,rules:null,scheme:null,scrolling:booleanish,standby:null,summary:null,text:null,topMargin:number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:types_boolean,disableRemotePlayback:types_boolean,prefix:null,property:null,results:number,security:null,unselectable:null}}),svg=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",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:commaOrSpaceSeparated,accentHeight:number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:number,amplitude:number,arabicForm:null,ascent:number,attributeName:null,attributeType:null,azimuth:number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:number,by:null,calcMode:null,capHeight:number,className:spaceSeparated,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:number,diffuseConstant:number,direction:null,display:null,dur:null,divisor:number,dominantBaseline:null,download:types_boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:number,enableBackground:null,end:null,event:null,exponent:number,externalResourcesRequired:null,fill:null,fillOpacity:number,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:commaSeparated,g2:commaSeparated,glyphName:commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:number,horizOriginX:number,horizOriginY:number,id:null,ideographic:number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:number,k:number,k1:number,k2:number,k3:number,k4:number,kernelMatrix:commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:number,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:number,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:number,overlineThickness:number,paintOrder:null,panose1:null,path:null,pathLength:number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:number,pointsAtY:number,pointsAtZ:number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:commaOrSpaceSeparated,rev:commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:commaOrSpaceSeparated,requiredFeatures:commaOrSpaceSeparated,requiredFonts:commaOrSpaceSeparated,requiredFormats:commaOrSpaceSeparated,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:number,specularExponent:number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:number,strikethroughThickness:number,string:null,stroke:null,strokeDashArray:commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:number,strokeOpacity:number,strokeWidth:null,style:null,surfaceScale:number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:commaOrSpaceSeparated,tabIndex:number,tableValues:null,target:null,targetX:number,targetY:number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:commaOrSpaceSeparated,to:null,transform:null,u1:null,u2:null,underlinePosition:number,underlineThickness:number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:number,values:null,vAlphabetic:number,vMathematical:number,vectorEffect:null,vHanging:number,vIdeographic:number,version:null,vertAdvY:number,vertOriginX:number,vertOriginY:number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),property_information_html=merge([xml,xlink,xmlns,aria,html_html],"html"),property_information_svg=merge([xml,xlink,xmlns,aria,svg],"svg"),unist_util_is_convert=function(test){if(null==test)return unist_util_is_ok;if("string"==typeof test)return unist_util_is_castFactory(function(node){return node&&node.type===test});if("object"==typeof test)return Array.isArray(test)?function(tests){let checks=[],index=-1;for(;++index<tests.length;)checks[index]=unist_util_is_convert(tests[index]);return unist_util_is_castFactory(function(...parameters){let index=-1;for(;++index<checks.length;)if(checks[index].call(this,...parameters))return!0;return!1})}(test):unist_util_is_castFactory(function(node){let key;for(key in test)if(node[key]!==test[key])return!1;return!0});if("function"==typeof test)return unist_util_is_castFactory(test);throw Error("Expected function, string, or object as test")};function unist_util_is_castFactory(check){return function(...parameters){return Boolean(check.call(this,...parameters))}}function unist_util_is_ok(){return!0}let unist_util_visit_parents_visitParents=function(tree,test,visitor,reverse){"function"==typeof test&&"function"!=typeof visitor&&(reverse=visitor,visitor=test,test=null);let is=unist_util_is_convert(test),step=reverse?-1:1;(function factory(node,index,parents){let name;let value="object"==typeof node&&null!==node?node:{};return"string"==typeof value.type&&(name="string"==typeof value.tagName?value.tagName:"string"==typeof value.name?value.name:void 0,Object.defineProperty(visit,"name",{value:"node ("+value.type+(name?"<"+name+">":"")+")"})),visit;function visit(){var value;let subresult,offset,grandparents,result=[];if((!test||is(node,index,parents[parents.length-1]||null))&&!1===(result=Array.isArray(value=visitor(node,parents))?value:"number"==typeof value?[!0,value]:[value])[0])return result;if(node.children&&"skip"!==result[0])for(offset=(reverse?node.children.length:-1)+step,grandparents=parents.concat(node);offset>-1&&offset<node.children.length;){if(!1===(subresult=factory(node.children[offset],offset,grandparents)())[0])return subresult;offset="number"==typeof subresult[1]?subresult[1]:offset+step}return result}})(tree,null,[])()},unist_util_visit_visit=function(tree,test,visitor,reverse){"function"==typeof test&&"function"!=typeof visitor&&(reverse=visitor,visitor=test,test=null),unist_util_visit_parents_visitParents(tree,test,function(node,parents){let parent=parents[parents.length-1];return visitor(node,parent?parent.children.indexOf(node):null,parent)},reverse)};function rehypeFilter(options){if(options.allowedElements&&options.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(options.allowedElements||options.disallowedElements||options.allowElement)return tree=>{unist_util_visit_visit(tree,"element",(node,index,parent_)=>{let remove;if(options.allowedElements?remove=!options.allowedElements.includes(node.tagName):options.disallowedElements&&(remove=options.disallowedElements.includes(node.tagName)),!remove&&options.allowElement&&"number"==typeof index&&(remove=!options.allowElement(node,index,parent_)),remove&&"number"==typeof index)return options.unwrapDisallowed&&node.children?parent_.children.splice(index,1,...node.children):parent_.children.splice(index,1),index})}}let protocols=["http","https","mailto","tel"];var react_is=__webpack_require__(82143);let valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}let hastToReact={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var style_to_object=__webpack_require__(57848);let ast_to_react_own={}.hasOwnProperty,tableElements=new Set(["table","thead","tbody","tfoot","tr"]);function getElementsBeforeCount(parent,node){let index=-1,count=0;for(;++index<parent.children.length&&parent.children[index]!==node;)"element"===parent.children[index].type&&count++;return count}function styleReplacer(_,$1){return $1.toUpperCase()}let react_markdown_own={}.hasOwnProperty,deprecated={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function ReactMarkdown(options){for(let key in deprecated)if(react_markdown_own.call(deprecated,key)&&react_markdown_own.call(options,key)){let deprecation=deprecated[key];console.warn(`[react-markdown] Warning: please ${deprecation.to?`use \`${deprecation.to}\` instead of`:"remove"} \`${key}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${deprecation.id}> for more info)`),delete deprecated[key]}let processor=unified().use(remark_parse).use(options.remarkPlugins||[]).use(lib,{...options.remarkRehypeOptions,allowDangerousHtml:!0}).use(options.rehypePlugins||[]).use(rehypeFilter,options),file=new VFile;"string"==typeof options.children?file.value=options.children:void 0!==options.children&&null!==options.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${options.children}\`)`);let hastNode=processor.runSync(processor.parse(file),file);if("root"!==hastNode.type)throw TypeError("Expected a `root` node");let result=react.createElement(react.Fragment,{},function childrenToReact(context,node){let child;let children=[],childIndex=-1;for(;++childIndex<node.children.length;)"element"===(child=node.children[childIndex]).type?children.push(function(context,node,index,parent){let property;let options=context.options,parentSchema=context.schema,name=node.tagName,properties={},schema=parentSchema;if("html"===parentSchema.space&&"svg"===name&&(schema=property_information_svg,context.schema=schema),node.properties)for(property in node.properties)ast_to_react_own.call(node.properties,property)&&function(props,prop,value,ctx){let info=function(schema,value){let normal=normalize_normalize(value),prop=value,Type=Info;if(normal in schema.normal)return schema.property[schema.normal[normal]];if(normal.length>4&&"data"===normal.slice(0,4)&&valid.test(value)){if("-"===value.charAt(4)){let rest=value.slice(5).replace(dash,camelcase);prop="data"+rest.charAt(0).toUpperCase()+rest.slice(1)}else{let rest1=value.slice(4);if(!dash.test(rest1)){let dashes=rest1.replace(cap,kebab);"-"!==dashes.charAt(0)&&(dashes="-"+dashes),value="data"+dashes}}Type=DefinedInfo}return new Type(prop,value)}(ctx.schema,prop),result=value;null!=result&&result==result&&(Array.isArray(result)&&(result=info.commaSeparated?function(values,options){let settings={},input=""===values[values.length-1]?[...values,""]:values;return input.join((settings.padRight?" ":"")+","+(!1===settings.padLeft?"":" ")).trim()}(result):result.join(" ").trim()),"style"===info.property&&"string"==typeof result&&(result=function(value){let result={};try{style_to_object(value,function(name,v){let k="-ms-"===name.slice(0,4)?`ms-${name.slice(4)}`:name;result[k.replace(/-([a-z])/g,styleReplacer)]=v})}catch{}return result}(result)),info.space&&info.property?props[ast_to_react_own.call(hastToReact,info.property)?hastToReact[info.property]:info.property]=result:info.attribute&&(props[info.attribute]=result))}(properties,property,node.properties[property],context);("ol"===name||"ul"===name)&&context.listDepth++;let children=childrenToReact(context,node);("ol"===name||"ul"===name)&&context.listDepth--,context.schema=parentSchema;let position=node.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},component=options.components&&ast_to_react_own.call(options.components,name)?options.components[name]:name,basic="string"==typeof component||component===react.Fragment;if(!react_is.isValidElementType(component))throw TypeError(`Component for name \`${name}\` not defined or is not renderable`);if(properties.key=[name,position.start.line,position.start.column,index].join("-"),"a"===name&&options.linkTarget&&(properties.target="function"==typeof options.linkTarget?options.linkTarget(String(properties.href||""),node.children,"string"==typeof properties.title?properties.title:null):options.linkTarget),"a"===name&&options.transformLinkUri&&(properties.href=options.transformLinkUri(String(properties.href||""),node.children,"string"==typeof properties.title?properties.title:null)),basic||"code"!==name||"element"!==parent.type||"pre"===parent.tagName||(properties.inline=!0),basic||"h1"!==name&&"h2"!==name&&"h3"!==name&&"h4"!==name&&"h5"!==name&&"h6"!==name||(properties.level=Number.parseInt(name.charAt(1),10)),"img"===name&&options.transformImageUri&&(properties.src=options.transformImageUri(String(properties.src||""),String(properties.alt||""),"string"==typeof properties.title?properties.title:null)),!basic&&"li"===name&&"element"===parent.type){let input=function(node){let index=-1;for(;++index<node.children.length;){let child=node.children[index];if("element"===child.type&&"input"===child.tagName)return child}return null}(node);properties.checked=input&&input.properties?Boolean(input.properties.checked):null,properties.index=getElementsBeforeCount(parent,node),properties.ordered="ol"===parent.tagName}return basic||"ol"!==name&&"ul"!==name||(properties.ordered="ol"===name,properties.depth=context.listDepth),"td"!==name&&"th"!==name||(properties.align&&(properties.style||(properties.style={}),properties.style.textAlign=properties.align,delete properties.align),basic||(properties.isHeader="th"===name)),basic||"tr"!==name||"element"!==parent.type||(properties.isHeader=Boolean("thead"===parent.tagName)),options.sourcePos&&(properties["data-sourcepos"]=[position.start.line,":",position.start.column,"-",position.end.line,":",position.end.column].map(d=>String(d)).join("")),!basic&&options.rawSourcePos&&(properties.sourcePosition=node.position),!basic&&options.includeElementIndex&&(properties.index=getElementsBeforeCount(parent,node),properties.siblingCount=getElementsBeforeCount(parent)),basic||(properties.node=node),children.length>0?react.createElement(component,properties,children):react.createElement(component,properties)}(context,child,childIndex,node)):"text"===child.type?"element"===node.type&&tableElements.has(node.tagName)&&function(thing){var value=thing&&"object"==typeof thing&&"text"===thing.type?thing.value||"":thing;return"string"==typeof value&&""===value.replace(/[ \t\n\f\r]/g,"")}(child)||children.push(child.value):"raw"!==child.type||context.options.skipHtml||children.push(child.value);return children}({options,schema:property_information_html,listDepth:0},hastNode));return options.className&&(result=react.createElement("div",{className:options.className},result)),result}ReactMarkdown.defaultProps={transformLinkUri:function(uri){let url=(uri||"").trim(),first=url.charAt(0);if("#"===first||"/"===first)return url;let colon=url.indexOf(":");if(-1===colon)return url;let index=-1;for(;++index<protocols.length;){let protocol=protocols[index];if(colon===protocol.length&&url.slice(0,protocol.length).toLowerCase()===protocol)return url}return -1!==(index=url.indexOf("?"))&&colon>index||-1!==(index=url.indexOf("#"))&&colon>index?url:"javascript:void(0)"}},ReactMarkdown.propTypes={children:prop_types.string,className:prop_types.string,allowElement:prop_types.func,allowedElements:prop_types.arrayOf(prop_types.string),disallowedElements:prop_types.arrayOf(prop_types.string),unwrapDisallowed:prop_types.bool,remarkPlugins:prop_types.arrayOf(prop_types.oneOfType([prop_types.object,prop_types.func,prop_types.arrayOf(prop_types.oneOfType([prop_types.bool,prop_types.string,prop_types.object,prop_types.func,prop_types.arrayOf(prop_types.any)]))])),rehypePlugins:prop_types.arrayOf(prop_types.oneOfType([prop_types.object,prop_types.func,prop_types.arrayOf(prop_types.oneOfType([prop_types.bool,prop_types.string,prop_types.object,prop_types.func,prop_types.arrayOf(prop_types.any)]))])),sourcePos:prop_types.bool,rawSourcePos:prop_types.bool,skipHtml:prop_types.bool,includeElementIndex:prop_types.bool,transformLinkUri:prop_types.oneOfType([prop_types.func,prop_types.bool]),linkTarget:prop_types.oneOfType([prop_types.func,prop_types.string]),transformImageUri:prop_types.func,components:prop_types.object}}}]);