(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1519],{38550:function(e,t,n){e.exports=n(29608)},81923:function(e,t,n){"use strict";var r=n(96086),i=n(72695),o=n(81247),a=n(97118),l=n(41051),u=["projectId","dataset","imageOptions","ignoreUnknownTypes"],s={imageOptions:{},ignoreUnknownTypes:!0};function isListItem(e){return"block"===e._type&&e.listItem}e.exports=function(e,t,n,c){var f=r({},s,t),g=o(a(Array.isArray(f.blocks)?f.blocks:[f.blocks]),f.listNestMode),x=l(n,f.serializers||{}),k=u.reduce(function(e,t){var n=f[t];return void 0!==n&&(e[t]=n),e},{}),b=!!f.renderContainerOnSingleChild,S=g.map(function serializeNode(t,n,r,o){var a,l,u,s,f,g,b,S,w;return"list"===t._type&&t.listItem?(a=t.listItem,l=t.level,u=t._key,s=t.children.map(serializeNode),e(x.list,{key:u,level:l,type:a,options:k},s)):isListItem(t)?(f=function(e,t){for(var n=0,r=0;r1){var w=f.className?{className:f.className}:{};return e(x.container,w,S)}return S[0]?S[0]:"function"==typeof x.empty?e(x.empty):x.empty}},72695:function(e){"use strict";var t=["strong","em","code","underline","strike-through"];function sortMarksByOccurences(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var r=sortMarks.bind(null,e.marks.reduce(function(e,r){e[r]=e[r]?e[r]+1:1;for(var i=t+1;ir?1:0}e.exports=function(e){var t=e.children,n=e.markDefs;if(!t||!t.length)return[];var r=t.map(sortMarksByOccurences),i={_type:"span",children:[]},o=[i];return t.forEach(function(e,t){var i=r[t];if(!i){o[o.length-1].children.push(e);return}var a=1;if(o.length>1)for(;a=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}}(o=o.slice(0,a));if(i.forEach(function(t){var r={_type:"span",_key:e._key,children:[],mark:n.find(function(e){return e._key===t})||t,markKey:t};s.children.push(r),o.push(r),s=r}),"span"===e._type&&"string"==typeof e.text&&(Array.isArray(e.marks)||void 0===e.marks)){for(var c=e.text.split("\n"),f=c.length;f-- >1;)c.splice(f,0,"\n");s.children=s.children.concat(c)}else s.children=s.children.concat(e)}),i.children}},97118:function(e,t,n){"use strict";var r=n(96086);e.exports=function(e){return e.map(function(e){return e._key?e:r({_key:(function(e){var t=0,n=e.length;if(0===n)return t;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"html",i=[],o=0;ot.level){var u=listFromBlock(l);if("html"===n){var s=lastChild(t),c=r({},s,{children:s.children.concat(u)});t.children[t.children.length-1]=c}else t.children.push(u);t=u;continue}if(l.level0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(NodeWithChildren.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),NodeWithChildren}(u);t.NodeWithChildren=x;var k=function(e){function Document(t){return e.call(this,a.ElementType.Root,t)||this}return i(Document,e),Document}(x);t.Document=k;var b=function(e){function Element(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(Element,e),Object.defineProperty(Element.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(Element.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),Element}(x);function isTag(e){return(0,a.isTag)(e)}function isCDATA(e){return e.type===a.ElementType.CDATA}function isText(e){return e.type===a.ElementType.Text}function isComment(e){return e.type===a.ElementType.Comment}function isDirective(e){return e.type===a.ElementType.Directive}function isDocument(e){return e.type===a.ElementType.Root}function cloneNode(e,t){if(void 0===t&&(t=!1),isText(e))n=new c(e.data);else if(isComment(e))n=new f(e.data);else if(isTag(e)){var n,r=t?cloneChildren(e.children):[],i=new b(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(isCDATA(e)){var r=t?cloneChildren(e.children):[],l=new x(a.ElementType.CDATA,r);r.forEach(function(e){return e.parent=l}),n=l}else if(isDocument(e)){var r=t?cloneChildren(e.children):[],u=new k(r);r.forEach(function(e){return e.parent=u}),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else if(isDirective(e)){var s=new g(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function cloneChildren(e){for(var t=e.map(function(e){return cloneNode(e,!0)}),n=1;n/i,s=//i,parseFromDocument=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},parseFromString=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var c=new window.DOMParser;parseFromDocument=parseFromString=function(e,t){return t&&(e="<"+t+">"+e+""),c.parseFromString(e,"text/html")}}if(document.implementation){var f=n(1507).isIE,g=document.implementation.createHTMLDocument(f()?"html-dom-parser":void 0);parseFromDocument=function(e,t){return t?g.documentElement.getElementsByTagName(t)[0].innerHTML=e:g.documentElement.innerHTML=e,g}}var x=document.createElement("template");x.content&&(r=function(e){return x.innerHTML=e,x.content.childNodes}),e.exports=function(e){var t,n,c,f,g=e.match(l);switch(g&&g[1]&&(t=g[1].toLowerCase()),t){case i:return n=parseFromString(e),!u.test(e)&&(c=n.getElementsByTagName(o)[0])&&c.parentNode.removeChild(c),!s.test(e)&&(c=n.getElementsByTagName(a)[0])&&c.parentNode.removeChild(c),n.getElementsByTagName(i);case o:case a:if(f=parseFromDocument(e).getElementsByTagName(t),s.test(e)&&u.test(e))return f[0].parentNode.childNodes;return f;default:if(r)return r(e);return parseFromDocument(e,a).getElementsByTagName(a)[0].childNodes}}},14152:function(e,t,n){var r=n(38276),i=n(1507).formatDOM,o=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(o);return n&&n[1]&&(t=n[1]),i(r(e),null,t)}},1507:function(e,t,n){for(var r,i=n(60885),o=n(97790),a=i.CASE_SENSITIVE_TAG_NAMES,l=o.Comment,u=o.Element,s=o.ProcessingInstruction,c=o.Text,f={},g=0,x=a.length;g1&&(s=x(s,{key:s.key||C})),S.push(s);continue}if("text"===n.type){if((u=!n.data.trim().length)&&n.parent&&!l(n.parent)||E&&u)continue;S.push(n.data);continue}switch(c=n.attribs,o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===n.type&&o.isCustomComponent(n.name,n.attribs)?a(c.style,c):c&&(c=i(c)),f=null,n.type){case"script":case"style":n.children[0]&&(c.dangerouslySetInnerHTML={__html:n.children[0].data});break;case"tag":"textarea"===n.name&&n.children[0]?c.defaultValue=n.children[0].data:n.children&&n.children.length&&(f=domToReact(n.children,t));break;default:continue}T>1&&(c.key=C),S.push(k(n.name,c,f))}return 1===S.length?S[0]:S}},74606:function(e,t,n){var r=n(67294),i=n(41476).default,o={reactCompat:!0},a=r.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,r,i="function"==typeof t,o={},a={};for(n in e){if(r=e[n],i&&(o=t(n,r))&&2===o.length){a[o[0]]=o[1];continue}"string"==typeof r&&(a[r]=n)}return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,o)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},elementsWithNoTextChildren:l}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g;function trim(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var s=1,c=1;function updatePosition(e){var t=e.match(n);t&&(s+=t.length);var r=e.lastIndexOf("\n");c=~r?e.length-r:c+e.length}function position(){var e={line:s,column:c};return function(t){return t.position=new Position(e),match(r),t}}function Position(e){this.start=e,this.end={line:s,column:c},this.source=u.source}Position.prototype.content=e;var f=[];function error(t){var n=Error(u.source+":"+s+":"+c+": "+t);if(n.reason=t,n.filename=u.source,n.line=s,n.column=c,n.source=e,u.silent)f.push(n);else throw n}function match(t){var n=t.exec(e);if(n){var r=n[0];return updatePosition(r),e=e.slice(r.length),n}}function comments(e){var t;for(e=e||[];t=comment();)!1!==t&&e.push(t);return e}function comment(){var t=position();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return error("End of comment missing");var r=e.slice(2,n-2);return c+=2,updatePosition(r),e=e.slice(n),c+=2,t({type:"comment",comment:r})}}return match(r),function(){var e,n=[];for(comments(n);e=function(){var e=position(),n=match(i);if(n){if(comment(),!match(o))return error("property missing ':'");var r=match(a),u=e({type:"declaration",property:trim(n[0].replace(t,"")),value:r?trim(r[0].replace(t,"")):""});return match(l),u}}();)!1!==e&&(n.push(e),comments(n));return n}()}},33310:function(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},86630:function(e,t,n){"use strict";var r=n(62854);e.exports=function(e,t){var n;return n=function(e){var t={};if(!e||!e.type)throw Error("mdast-util-definitions expected node");return r(e,"definition",function(e){var n=normalise(e.identifier);i.call(t,n)||(t[n]=e)}),t}(e,t),function(e){var t=e&&normalise(e);return t&&i.call(n,t)?n[t]:null}};var i={}.hasOwnProperty;function normalise(e){return e.toUpperCase()}},52524:function(e,t,n){"use strict";e.exports=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),(function(e){var t=function(e,t){for(var n=-1;++n-1&&(onenterdata.call(this,e),onexitdata.call(this,e))},link:closer(function(){var e=this.stack[this.stack.length-1];n.inReference?(e.type+="Reference",e.referenceType=n.referenceType||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),n.referenceType=void 0}),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:closer(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:closer(),thematicBreak:closer()}},(e||{}).mdastExtensions||[]),n={};return function(e){for(var n,r={type:"root",children:[]},a=[],l=[],u=-1,s={stack:[r],tokenStack:a,config:t,enter:enter,exit:exit,buffer:buffer,resume:resume,setData:setData,getData:getData};++u0&&s.children.unshift(r("text"," ")),s.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),f.className=["task-list-item"]),o=u.length,a=-1;++a1:t}},47888:function(e,t,n){"use strict";e.exports=function(e,t){var n,o,a={},l=t.ordered?"ol":"ul",u=-1;for("number"==typeof t.start&&1!==t.start&&(a.start=t.start),o=(n=i(e,t)).length;++u-1?returnNode:e.unknownHandler)?a:function(e,t){var n;return(n=t.data||{},!(o.call(n,"hName")||o.call(n,"hProperties")||o.call(n,"hChildren"))&&"value"in t)?e.augment(t,r("text",t.value)):e(t,"div",i(e,t))})(e,t,n)};var r=n(50914),i=n(95426),o={}.hasOwnProperty;function returnNode(e,t){var n;return t.children?((n=Object.assign({},t)).children=i(e,t),n):t}},713:function(e,t,n){"use strict";e.exports=function(e,t){var n,o,a,l=t.referenceType,u="]";return("collapsed"===l?u+="[]":"full"===l&&(u+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)?r("text","!["+t.alt+u):((o=(n=i(e,t))[0])&&"text"===o.type?o.value="["+o.value:n.unshift(r("text","[")),(a=n[n.length-1])&&"text"===a.type?a.value+=u:n.push(r("text",u)),n)};var r=n(50914),i=n(95426)},96115:function(e,t,n){"use strict";e.exports=function(e,t){var n=[],i=-1,o=e.length;for(t&&n.push(r("text","\n"));++i0&&n.push(r("text","\n")),n};var r=n(50914)},4999:function(e){"use strict";function toString(e){return e&&(e.value||e.alt||e.title||"children"in e&&all(e.children)||"length"in e&&all(e))||""}function all(e){for(var t=[],n=-1;++n=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&l<=57343){s+=encodeURIComponent(e[i]+e[i+1]),i++;continue}s+="%EF%BF%BD";continue}s+=encodeURIComponent(e[i])}return s}encode.defaultChars=";/?:@&=+$,-_.!~*'()#",encode.componentChars="-_.!~*'()",e.exports=encode},76734:function(e,t,n){"use strict";var r=n(2841)(/[A-Za-z]/);e.exports=r},46712:function(e,t,n){"use strict";var r=n(2841)(/[\dA-Za-z]/);e.exports=r},13571:function(e,t,n){"use strict";var r=n(2841)(/[#-'*+\--9=?A-Z^-~]/);e.exports=r},89696:function(e){"use strict";e.exports=function(e){return e<32||127===e}},73977:function(e,t,n){"use strict";var r=n(2841)(/\d/);e.exports=r},56238:function(e,t,n){"use strict";var r=n(2841)(/[\dA-Fa-f]/);e.exports=r},83074:function(e,t,n){"use strict";var r=n(2841)(/[!-/:-@[-`{-~]/);e.exports=r},88367:function(e){"use strict";e.exports=function(e){return e<0||32===e}},17238:function(e){"use strict";e.exports=function(e){return e<-2}},73654:function(e){"use strict";e.exports=function(e){return -2===e||-1===e||32===e}},36996:function(e,t,n){"use strict";var r=n(76830),i=n(2841)(r);e.exports=i},10395:function(e,t,n){"use strict";var r=n(2841)(/\s/);e.exports=r},99198:function(e){"use strict";var t=Object.assign;e.exports=t},93267:function(e){"use strict";var t=String.fromCharCode;e.exports=t},46706:function(e){"use strict";e.exports=({}).hasOwnProperty},57139:function(e){"use strict";e.exports=["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","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},16871:function(e){"use strict";e.exports=["pre","script","style","textarea"]},21362:function(e){"use strict";var t=[].splice;e.exports=t},76830:function(e){"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},36274:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97082),i=n(47542),o=n(1349),a=n(45485),l=n(49653),u=n(36713),s=n(46597),c=n(20431),f=n(60026),g=n(93865),x=n(65694),k=n(596),b=n(76872),S=n(28911),w=n(31294),E=n(36215),C=n(60534),T=n(92607),A=n(46931),I=n(15874),F=n(37039),D={null:[i,r.resolver]};t.contentInitial={91:g},t.disable={null:[]},t.document={42:A,43:A,45:A,48:A,49:A,50:A,51:A,52:A,53:A,54:A,55:A,56:A,57:A,62:a},t.flow={35:k,42:F,45:[I,F],60:b,61:I,95:F,96:s,126:s},t.flowInitial={"-2":c,"-1":c,32:c},t.insideSpan=D,t.string={38:u,92:l},t.text={"-5":T,"-4":T,"-3":T,33:E,38:u,42:i,60:[o,S],91:C,92:[x,l],93:w,95:i,96:f}},13745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928);t.tokenize=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function lineStart(n){var i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function data(t){if(null===t){e.exit("chunkText"),e.exit("paragraph"),e.consume(t);return}return r(t)?(e.consume(t),e.exit("chunkText"),lineStart):(e.consume(t),data)}(n)}(n)});return n}},14201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928),o=n(66532),a={tokenize:function(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},l={tokenize:function(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=function(e){var t,n,i,u=this,s=[],c=0,f={tokenize:function(e,r){var i=0;return t={},inspectStart;function inspectStart(r){return it;)u.containerState=s[o][1],s[o][0].exit.call(u,e);s.length=t}}},22871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64590),i=n(52928),o=n(66532);t.tokenize=function(e){var t=this,n=e.attempt(o,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,afterConstruct,i(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(r,afterConstruct)),"linePrefix")));return n;function afterConstruct(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},97082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99198),i=n(75923),o=initializeFactory("text"),a=initializeFactory("string"),l={resolveAll:createResolver()};function initializeFactory(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,start,notText);return start;function start(e){return atBreak(e)?i(e):notText(e)}function notText(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),data}function data(e){return atBreak(e)?(t.exit("data"),i(e)):(t.consume(e),data)}function atBreak(e){var t=r[e],i=-1;if(null===e)return!0;if(t){for(;++i1&&e[b][1].end.offset-e[b][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:a(u(e[n][1].end),-g),end:u(e[n][1].end)},f={type:g>1?"strongSequence":"emphasisSequence",start:u(e[b][1].start),end:a(u(e[b][1].start),g)},s={type:g>1?"strongText":"emphasisText",start:u(e[n][1].end),end:u(e[b][1].start)},o={type:g>1?"strong":"emphasis",start:u(c.start),end:u(f.end)},e[n][1].end=u(c.start),e[b][1].start=u(f.end),x=[],e[n][1].end.offset-e[n][1].start.offset&&(x=r(x,[["enter",e[n][1],t],["exit",e[n][1],t]])),x=r(x,[["enter",o,t],["enter",c,t],["exit",c,t],["enter",s,t]]),x=r(x,l(t.parser.constructs.insideSpan.null,e.slice(n+1,b),t)),x=r(x,[["exit",s,t],["enter",f,t],["exit",f,t],["exit",o,t]]),e[b][1].end.offset-e[b][1].start.offset?(k=2,x=r(x,[["enter",e[b][1],t],["exit",e[b][1],t]])):k=0,i(e,n-1,b-n+3,x),b=n+x.length-k-2;break}}for(b=-1;++b-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=o},49653:function(e,t,n){"use strict";var r=n(83074);e.exports={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),open};function open(i){return r(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}}},36713:function(e,t,n){"use strict";var r=n(89435),i=n(46712),o=n(73977),a=n(56238),l=r&&"object"==typeof r&&"default"in r?r:{default:r};e.exports={name:"characterReference",tokenize:function(e,t,n){var r,u,s=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),open};function open(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),numeric):(e.enter("characterReferenceValue"),r=31,u=i,value(t))}function numeric(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,u=a,value):(e.enter("characterReferenceValue"),r=7,u=o,value(t))}function value(o){var a;return 59===o&&c?(a=e.exit("characterReferenceValue"),u!==i||l.default(s.sliceSerialize(a)))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o):u(o)&&c++-1?void 0:4);function closingSequenceEnd(i){return null===i||r(i)?(e.exit("codeFencedFence"),t(i)):n(i)}},partial:!0},c=o(this.events,"linePrefix"),f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,function sequenceOpen(t){return t===l?(e.consume(t),f++,sequenceOpen):(e.exit("codeFencedFenceSequence"),f<3?n(t):a(e,infoOpen,"whitespace")(t))}(t)};function infoOpen(t){return null===t||r(t)?openAfter(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function info(t){return null===t||i(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(e,infoAfter,"whitespace")(t)):96===t&&t===l?n(t):(e.consume(t),info)}(t))}function infoAfter(t){return null===t||r(t)?openAfter(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function meta(t){return null===t||r(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),openAfter(t)):96===t&&t===l?n(t):(e.consume(t),meta)}(t))}function openAfter(n){return e.exit("codeFencedFence"),u.interrupt?t(n):function content(t){return null===t?after(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e.attempt(s,after,c?a(e,content,"linePrefix",c+1):content)):(e.enter("codeFlowValue"),function contentContinue(t){return null===t||r(t)?(e.exit("codeFlowValue"),content(t)):(e.consume(t),contentContinue)}(t))}(n)}function after(n){return e.exit("codeFenced"),t(n)}},concrete:!0}},20431:function(e,t,n){"use strict";var r=n(17238),i=n(56808),o=n(15096),a=n(52928),l={tokenize:function(e,t,n){var i=this;return a(e,function afterPrefix(l){return r(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a(e,afterPrefix,"linePrefix",5)):4>o(i.events,"linePrefix")?n(l):t(l)},"linePrefix",5)},partial:!0};e.exports={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(l,function afterPrefix(n){return null===n?t(n):r(n)?e.attempt(l,afterPrefix,t)(n):(e.enter("codeFlowValue"),function content(t){return null===t||r(t)?(e.exit("codeFlowValue"),afterPrefix(t)):(e.consume(t),content)}(n))},n)},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return i(e,0,0,[["enter",n,t]]),i(e,e.length,0,[["exit",n,t]]),e}}},60026:function(e,t,n){"use strict";var r=n(17238);e.exports={name:"codeText",tokenize:function(e,t,n){var i,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function openingSequence(t){return 96===t?(e.consume(t),a++,openingSequence):(e.exit("codeTextSequence"),gap(t))}(t)};function gap(l){return null===l?n(l):96===l?(o=e.enter("codeTextSequence"),i=0,function closingSequence(n){return 96===n?(e.consume(n),i++,closingSequence):i===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",data(n))}(l)):32===l?(e.enter("space"),e.consume(l),e.exit("space"),gap):r(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),gap):(e.enter("codeTextData"),data(l))}function data(t){return null===t||32===t||96===t||r(t)?(e.exit("codeTextData"),gap(t)):(e.consume(t),data)}},resolve:function(e){var t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t-1||4>i(o.events,"linePrefix")?e.interrupt(o.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),data(t)};function data(t){return null===t?contentEnd(t):r(t)?e.check(l,contentContinue,contentEnd)(t):(e.consume(t),data)}function contentEnd(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function contentContinue(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),data}},resolve:function(e){return o(e),e},interruptible:!0,lazy:!0}},93865:function(e,t,n){"use strict";var r=n(17238),i=n(88367),o=n(35478),a=n(38229),l=n(97154),u=n(52928),s=n(31056),c=n(59283),f={tokenize:function(e,t,n){return function(t){return i(t)?s(e,before)(t):n(t)};function before(t){return 34===t||39===t||40===t?c(e,u(e,after,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function after(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports={name:"definition",tokenize:function(e,t,n){var i,c=this;return function(t){return e.enter("definition"),l.call(c,e,labelAfter,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function labelAfter(t){return(i=o(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s(e,a(e,e.attempt(f,u(e,after,"whitespace"),u(e,after,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function after(o){return null===o||r(o)?(e.exit("definition"),0>c.parser.defined.indexOf(i)&&c.parser.defined.push(i),t(o)):n(o)}}}},38229:function(e,t,n){"use strict";var r=n(89696),i=n(88367),o=n(17238);e.exports=function(e,t,n,a,l,u,s,c,f){var g=f||1/0,x=0;return function(t){return 60===t?(e.enter(a),e.enter(l),e.enter(u),e.consume(t),e.exit(u),destinationEnclosedBefore):r(t)||41===t?n(t):(e.enter(a),e.enter(s),e.enter(c),e.enter("chunkString",{contentType:"string"}),destinationRaw(t))};function destinationEnclosedBefore(n){return 62===n?(e.enter(u),e.consume(n),e.exit(u),e.exit(l),e.exit(a),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),destinationEnclosed(n))}function destinationEnclosed(t){return 62===t?(e.exit("chunkString"),e.exit(c),destinationEnclosedBefore(t)):null===t||60===t||o(t)?n(t):(e.consume(t),92===t?destinationEnclosedEscape:destinationEnclosed)}function destinationEnclosedEscape(t){return 60===t||62===t||92===t?(e.consume(t),destinationEnclosed):destinationEnclosed(t)}function destinationRaw(o){return 40===o?++x>g?n(o):(e.consume(o),destinationRaw):41===o?x--?(e.consume(o),destinationRaw):(e.exit("chunkString"),e.exit(c),e.exit(s),e.exit(a),t(o)):null===o||i(o)?x?n(o):(e.exit("chunkString"),e.exit(c),e.exit(s),e.exit(a),t(o)):r(o)?n(o):(e.consume(o),92===o?destinationRawEscape:destinationRaw)}function destinationRawEscape(t){return 40===t||41===t||92===t?(e.consume(t),destinationRaw):destinationRaw(t)}}},97154:function(e,t,n){"use strict";var r=n(17238),i=n(73654);e.exports=function(e,t,n,o,a,l){var u,s=this,c=0;return function(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(l),atBreak};function atBreak(i){return null===i||91===i||93===i&&!u||94===i&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?n(i):93===i?(e.exit(l),e.enter(a),e.consume(i),e.exit(a),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),label(i))}function label(t){return null===t||91===t||93===t||r(t)||c++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),u=u||!i(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),c++,label):label(t)}}},52928:function(e,t,n){"use strict";var r=n(73654);e.exports=function(e,t,n,i){var o=i?i-1:1/0,a=0;return function(i){return r(i)?(e.enter(n),function prefix(i){return r(i)&&a++o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},a(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}}},76872:function(e,t,n){"use strict";var r=n(76734),i=n(46712),o=n(17238),a=n(88367),l=n(73654),u=n(93267),s=n(57139),c=n(16871),f=n(66532),g={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(f,t,n)}},partial:!0};e.exports={name:"htmlFlow",tokenize:function(e,t,n){var f,x,k,b,S,w=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),open};function open(i){return 33===i?(e.consume(i),declarationStart):47===i?(e.consume(i),tagCloseStart):63===i?(e.consume(i),f=3,w.interrupt?t:continuationDeclarationInside):r(i)?(e.consume(i),k=u(i),x=!0,tagName):n(i)}function declarationStart(i){return 45===i?(e.consume(i),f=2,commentOpenInside):91===i?(e.consume(i),f=5,k="CDATA[",b=0,cdataOpenInside):r(i)?(e.consume(i),f=4,w.interrupt?t:continuationDeclarationInside):n(i)}function commentOpenInside(r){return 45===r?(e.consume(r),w.interrupt?t:continuationDeclarationInside):n(r)}function cdataOpenInside(r){return r===k.charCodeAt(b++)?(e.consume(r),b===k.length?w.interrupt?t:continuation:cdataOpenInside):n(r)}function tagCloseStart(t){return r(t)?(e.consume(t),k=u(t),tagName):n(t)}function tagName(r){return null===r||47===r||62===r||a(r)?47!==r&&x&&c.indexOf(k.toLowerCase())>-1?(f=1,w.interrupt?t(r):continuation(r)):s.indexOf(k.toLowerCase())>-1?(f=6,47===r)?(e.consume(r),basicSelfClosing):w.interrupt?t(r):continuation(r):(f=7,w.interrupt?n(r):x?completeAttributeNameBefore(r):function completeClosingTagAfter(t){return l(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}(r)):45===r||i(r)?(e.consume(r),k+=u(r),tagName):n(r)}function basicSelfClosing(r){return 62===r?(e.consume(r),w.interrupt?t:continuation):n(r)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||r(t)?(e.consume(t),completeAttributeName):l(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):l(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),S=t,completeAttributeValueQuoted):l(t)?(e.consume(t),completeAttributeValueBefore):(S=void 0,function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}(t))}function completeAttributeValueQuoted(t){return t===S?(e.consume(t),completeAttributeValueQuotedAfter):null===t||o(t)?n(t):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||l(e)?completeAttributeNameBefore(e):n(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):n(t)}function completeAfter(t){return l(t)?(e.consume(t),completeAfter):null===t||o(t)?continuation(t):n(t)}function continuation(t){return 45===t&&2===f?(e.consume(t),continuationCommentInside):60===t&&1===f?(e.consume(t),continuationRawTagOpen):62===t&&4===f?(e.consume(t),continuationClose):63===t&&3===f?(e.consume(t),continuationDeclarationInside):93===t&&5===f?(e.consume(t),continuationCharacterDataInside):o(t)&&(6===f||7===f)?e.check(g,continuationClose,continuationAtLineEnding)(t):null===t||o(t)?continuationAtLineEnding(t):(e.consume(t),continuation)}function continuationAtLineEnding(t){return e.exit("htmlFlowData"),function htmlContinueStart(t){return null===t?done(t):o(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),htmlContinueStart):(e.enter("htmlFlowData"),continuation(t))}(t)}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),k="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){return 62===t&&c.indexOf(k.toLowerCase())>-1?(e.consume(t),continuationClose):r(t)&&k.length<8?(e.consume(t),k+=u(t),continuationRawEndTag):continuation(t)}function continuationCharacterDataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):continuation(t)}function continuationClose(t){return null===t||o(t)?(e.exit("htmlFlowData"),done(t)):(e.consume(t),continuationClose)}function done(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){for(var t=e.length;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0}},28911:function(e,t,n){"use strict";var r=n(76734),i=n(46712),o=n(17238),a=n(88367),l=n(73654),u=n(52928);e.exports={name:"htmlText",tokenize:function(e,t,n){var s,c,f,g,x=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),open};function open(t){return 33===t?(e.consume(t),declarationOpen):47===t?(e.consume(t),tagCloseStart):63===t?(e.consume(t),instruction):r(t)?(e.consume(t),tagOpen):n(t)}function declarationOpen(t){return 45===t?(e.consume(t),commentOpen):91===t?(e.consume(t),c="CDATA[",f=0,cdataOpen):r(t)?(e.consume(t),declaration):n(t)}function commentOpen(t){return 45===t?(e.consume(t),commentStart):n(t)}function commentStart(t){return null===t||62===t?n(t):45===t?(e.consume(t),commentStartDash):comment(t)}function commentStartDash(e){return null===e||62===e?n(e):comment(e)}function comment(t){return null===t?n(t):45===t?(e.consume(t),commentClose):o(t)?(g=comment,atLineEnding(t)):(e.consume(t),comment)}function commentClose(t){return 45===t?(e.consume(t),end):comment(t)}function cdataOpen(t){return t===c.charCodeAt(f++)?(e.consume(t),f===c.length?cdata:cdataOpen):n(t)}function cdata(t){return null===t?n(t):93===t?(e.consume(t),cdataClose):o(t)?(g=cdata,atLineEnding(t)):(e.consume(t),cdata)}function cdataClose(t){return 93===t?(e.consume(t),cdataEnd):cdata(t)}function cdataEnd(t){return 62===t?end(t):93===t?(e.consume(t),cdataEnd):cdata(t)}function declaration(t){return null===t||62===t?end(t):o(t)?(g=declaration,atLineEnding(t)):(e.consume(t),declaration)}function instruction(t){return null===t?n(t):63===t?(e.consume(t),instructionClose):o(t)?(g=instruction,atLineEnding(t)):(e.consume(t),instruction)}function instructionClose(e){return 62===e?end(e):instruction(e)}function tagCloseStart(t){return r(t)?(e.consume(t),tagClose):n(t)}function tagClose(t){return 45===t||i(t)?(e.consume(t),tagClose):function tagCloseBetween(t){return o(t)?(g=tagCloseBetween,atLineEnding(t)):l(t)?(e.consume(t),tagCloseBetween):end(t)}(t)}function tagOpen(t){return 45===t||i(t)?(e.consume(t),tagOpen):47===t||62===t||a(t)?tagOpenBetween(t):n(t)}function tagOpenBetween(t){return 47===t?(e.consume(t),end):58===t||95===t||r(t)?(e.consume(t),tagOpenAttributeName):o(t)?(g=tagOpenBetween,atLineEnding(t)):l(t)?(e.consume(t),tagOpenBetween):end(t)}function tagOpenAttributeName(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),tagOpenAttributeName):function tagOpenAttributeNameAfter(t){return 61===t?(e.consume(t),tagOpenAttributeValueBefore):o(t)?(g=tagOpenAttributeNameAfter,atLineEnding(t)):l(t)?(e.consume(t),tagOpenAttributeNameAfter):tagOpenBetween(t)}(t)}function tagOpenAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,tagOpenAttributeValueQuoted):o(t)?(g=tagOpenAttributeValueBefore,atLineEnding(t)):l(t)?(e.consume(t),tagOpenAttributeValueBefore):(e.consume(t),s=void 0,tagOpenAttributeValueUnquoted)}function tagOpenAttributeValueQuoted(t){return t===s?(e.consume(t),tagOpenAttributeValueQuotedAfter):null===t?n(t):o(t)?(g=tagOpenAttributeValueQuoted,atLineEnding(t)):(e.consume(t),tagOpenAttributeValueQuoted)}function tagOpenAttributeValueQuotedAfter(e){return 62===e||47===e||a(e)?tagOpenBetween(e):n(e)}function tagOpenAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||a(t)?tagOpenBetween(t):(e.consume(t),tagOpenAttributeValueUnquoted)}function atLineEnding(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u(e,afterPrefix,"linePrefix",x.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function afterPrefix(t){return e.enter("htmlTextData"),g(t)}function end(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}}},31294:function(e,t,n){"use strict";var r=n(88367),i=n(78811),o=n(56808),a=n(35478),l=n(58280),u=n(75923),s=n(38229),c=n(97154),f=n(59283),g=n(31056),x={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),g(e,open)};function open(t){return 41===t?end(t):s(e,destinationAfter,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function destinationAfter(t){return r(t)?g(e,between)(t):end(t)}function between(t){return 34===t||39===t||40===t?f(e,g(e,end),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):end(t)}function end(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},k={tokenize:function(e,t,n){var r=this;return function(t){return c.call(r,e,afterLabel,n,"reference","referenceMarker","referenceString")(t)};function afterLabel(e){return 0>r.parser.defined.indexOf(a(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(e):t(e)}}},b={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),open};function open(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};e.exports={name:"labelEnd",tokenize:function(e,t,n){for(var r,i,o=this,l=o.events.length;l--;)if(("labelImage"===o.events[l][1].type||"labelLink"===o.events[l][1].type)&&!o.events[l][1]._balanced){r=o.events[l][1];break}return function(t){return r?r._inactive?balanced(t):(i=o.parser.defined.indexOf(a(o.sliceSerialize({start:r.end,end:o.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),afterLabelEnd):n(t)};function afterLabelEnd(n){return 40===n?e.attempt(x,t,i?t:balanced)(n):91===n?e.attempt(k,t,i?e.attempt(b,t,balanced):balanced)(n):i?t(n):balanced(n)}function balanced(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){for(var n,r,a,s,c,f,g,x=e.length,k=0;x--;)if(s=e[x][1],c){if("link"===s.type||"labelLink"===s.type&&s._inactive)break;"enter"===e[x][0]&&"labelLink"===s.type&&(s._inactive=!0)}else if(f){if("enter"===e[x][0]&&("labelImage"===s.type||"labelLink"===s.type)&&!s._balanced&&(c=x,"labelLink"!==s.type)){k=2;break}}else"labelEnd"===s.type&&(f=x);return n={type:"labelLink"===e[c][1].type?"link":"image",start:u(e[c][1].start),end:u(e[e.length-1][1].end)},r={type:"label",start:u(e[c][1].start),end:u(e[f][1].end)},a={type:"labelText",start:u(e[c+k+2][1].end),end:u(e[f-2][1].start)},g=i(g=[["enter",n,t],["enter",r,t]],e.slice(c+1,c+k+3)),g=i(g,[["enter",a,t]]),g=i(g,l(t.parser.constructs.insideSpan.null,e.slice(c+k+4,f-3),t)),g=i(g,[["exit",a,t],e[f-2],e[f-1],["exit",r,t]]),g=i(g,e.slice(f+1)),g=i(g,[["exit",n,t]]),o(e,c,e.length,g),e},resolveAll:function(e){for(var t,n=-1;++n-1?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},f={tokenize:function(e,t,n){var r=this;return l(e,function(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},g={tokenize:function(e,t,n){var r=this;return l(e,function(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=c},66532:function(e,t,n){"use strict";var r=n(17238),i=n(52928);e.exports={tokenize:function(e,t,n){return i(e,function(e){return null===e||r(e)?t(e):n(e)},"linePrefix")},partial:!0}},15874:function(e,t,n){"use strict";var r=n(17238),i=n(75923),o=n(52928);e.exports={name:"setextUnderline",tokenize:function(e,t,n){for(var i,a,l=this,u=l.events.length;u--;)if("lineEnding"!==l.events[u][1].type&&"linePrefix"!==l.events[u][1].type&&"content"!==l.events[u][1].type){a="paragraph"===l.events[u][1].type;break}return function(t){return!l.lazy&&(l.interrupt||a)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,function closingSequence(t){return t===i?(e.consume(t),closingSequence):(e.exit("setextHeadingLineSequence"),o(e,closingSequenceEnd,"lineSuffix")(t))}(t)):n(t)};function closingSequenceEnd(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function(e,t){for(var n,r,o,a,l=e.length;l--;)if("enter"===e[l][0]){if("content"===e[l][1].type){n=l;break}"paragraph"===e[l][1].type&&(r=l)}else"content"===e[l][1].type&&e.splice(l,1),o||"definition"!==e[l][1].type||(o=l);return a={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}}},37039:function(e,t,n){"use strict";var r=n(17238),i=n(73654),o=n(52928);e.exports={name:"thematicBreak",tokenize:function(e,t,n){var a,l=0;return function(u){return e.enter("thematicBreak"),a=u,function atBreak(u){return u===a?(e.enter("thematicBreakSequence"),function sequence(t){return t===a?(e.consume(t),l++,sequence):(e.exit("thematicBreakSequence"),atBreak(t))}(u)):i(u)?o(e,atBreak,"whitespace")(u):l<3||null!==u&&!r(u)?n(u):(e.exit("thematicBreak"),t(u))}(u)}}}},78811:function(e,t,n){"use strict";var r=n(56808);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},56808:function(e,t,n){"use strict";var r=n(21362);e.exports=function(e,t,n,i){var o,a=e.length,l=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);l-1)?nok():e.tokenize.call(t?r({},E,t):E,w,ok,nok)(n)}}function ok(t){return e(s,c),i}function nok(e){return(c.restore(),++uk.indexOf(e)&&k.push(e),e.resolve&&a(E.events,t,E.events.length-t,e.resolve(E.events.slice(t),E)),e.resolveTo&&(E.events=e.resolveTo(E.events,E))}function accountForPotentialSkip(){g.line in x&&g.column<2&&(g.column=x[g.line],g.offset+=x[g.line]-1)}}},28180:function(e){"use strict";e.exports=function(e){return null==e?[]:"length"in e?e:[e]}},15644:function(e){"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},35478:function(e){"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},15096:function(e,t,n){"use strict";var r=n(18892);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},2841:function(e,t,n){"use strict";var r=n(93267);e.exports=function(e){return function(t){return e.test(r(t))}}},58280:function(e){"use strict";e.exports=function(e,t,n){for(var r,i=[],o=-1;++oi.indexOf(r)&&(t=r(t,n),i.push(r));return t}},10596:function(e,t,n){"use strict";var r=n(93267);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":r(n)}},23082:function(e,t,n){"use strict";var r=n(93267);e.exports=function(e){for(var t,n,i,o=-1,a=[];++o-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a))),n}},84423:function(e,t,n){"use strict";var r=n(99198),i=n(56808),o=n(75923);e.exports=function(e){for(var t,n,a,l,u,s,c,f={},g=-1;++g4&&g.slice(0,4)===a&&l.test(t)&&("-"===t.charAt(4)?x=a+(n=t.slice(5).replace(u,camelcase)).charAt(0).toUpperCase()+n.slice(1):(f=(c=t).slice(4),t=u.test(f)?c:("-"!==(f=f.replace(s,kebab)).charAt(0)&&(f="-"+f),a+f)),k=i),new k(x,t))};var l=/^data[-\w.:]+$/i,u=/-[a-z]/g,s=/[A-Z]/g;function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}},97247:function(e,t,n){"use strict";var r=n(19940),i=n(8289),o=n(5812),a=n(94397),l=n(67716),u=n(61805);e.exports=r([o,i,a,l,u])},67716:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=r.booleanish,a=r.number,l=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:o,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:l,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:l,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},61805:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=n(10855),a=r.boolean,l=r.overloadedBoolean,u=r.booleanish,s=r.number,c=r.spaceSeparated,f=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:s,colSpan:null,content:null,contentEditable:u,controls:a,controlsList:c,coords:s|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:l,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:s,hidden:a,high:s,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:s,manifest:null,max:null,maxLength:s,media:null,method:null,min:null,minLength:s,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu: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:a,optimum:s,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:s,rowSpan:s,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:s,sizes:null,slot:null,span:s,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:f,start:s,step:null,style:null,tabIndex:s,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:u,width:s,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:s,borderColor:null,bottomMargin:s,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:s,leftMargin:s,link:null,longDesc:null,lowSrc:null,marginHeight:s,marginWidth:s,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:s,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:s,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:s,security:null,unselectable:null}})},45789:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=n(28740),a=r.boolean,l=r.number,u=r.spaceSeparated,s=r.commaSeparated,c=r.commaOrSpaceSeparated;e.exports=i({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:o,properties:{about:c,accentHeight:l,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l,amplitude:l,arabicForm:null,ascent:l,attributeName:null,attributeType:null,azimuth:l,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l,by:null,calcMode:null,capHeight:l,className:u,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:l,diffuseConstant:l,direction:null,display:null,dur:null,divisor:l,dominantBaseline:null,download:a,dx:null,dy:null,edgeMode:null,editable:null,elevation:l,enableBackground:null,end:null,event:null,exponent:l,externalResourcesRequired:null,fill:null,fillOpacity:l,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:s,g2:s,glyphName:s,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l,horizOriginX:l,horizOriginY:l,id:null,ideographic:l,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l,k:l,k1:l,k2:l,k3:l,k4:l,kernelMatrix:c,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l,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:l,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:l,overlineThickness:l,paintOrder:null,panose1:null,path:null,pathLength:l,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l,pointsAtY:l,pointsAtZ:l,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:c,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:c,rev:c,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:c,requiredFeatures:c,requiredFonts:c,requiredFormats:c,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:l,specularExponent:l,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l,strikethroughThickness:l,string:null,stroke:null,strokeDashArray:c,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l,strokeOpacity:l,strokeWidth:null,style:null,surfaceScale:l,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:c,tabIndex:l,tableValues:null,target:null,targetX:l,targetY:l,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:c,to:null,transform:null,u1:null,u2:null,underlinePosition:l,underlineThickness:l,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l,values:null,vAlphabetic:l,vMathematical:l,vectorEffect:null,vHanging:l,vIdeographic:l,version:null,vertAdvY:l,vertOriginX:l,vertOriginY:l,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},10855:function(e,t,n){"use strict";var r=n(28740);e.exports=function(e,t){return r(e,t.toLowerCase())}},28740:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:function(e,t,n){"use strict";var r=n(66632),i=n(99607),o=n(98805);e.exports=function(e){var t,n,a=e.space,l=e.mustUseProperty||[],u=e.attributes||{},s=e.properties,c=e.transform,f={},g={};for(t in s)n=new o(t,c(u,t),s[t],a),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),f[t]=n,g[r(t)]=t,g[r(n.attribute)]=t;return new i(f,g,a)}},98805:function(e,t,n){"use strict";var r=n(57643),i=n(17e3);e.exports=DefinedInfo,DefinedInfo.prototype=new r,DefinedInfo.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function DefinedInfo(e,t,n,l){var u,s,c,f=-1;for(l&&(this.space=l),r.call(this,e,t);++fString(e)).join("")),!I&&k.rawSourcePos&&(w.sourcePosition=t.position),!I&&k.includeElementIndex&&(w.index=getElementsBeforeCount(g,t),w.siblingCount=getElementsBeforeCount(g)),I||(w.node=t),C.length>0?r.createElement(A,w,C):r.createElement(A,w)}(e,n,k,t)):"text"===n.type?"element"===t.type&&g.has(t.tagName)&&"\n"===n.value||x.push(n.value):"raw"!==n.type||e.options.skipHtml||x.push(n.value);return x};let f={}.hasOwnProperty,g=new Set(["table","thead","tbody","tfoot","tr"]);function getElementsBeforeCount(e,t){let n=-1,r=0;for(;++n for more info)`),delete k[t]}let n=o().use(a).use(e.remarkPlugins||e.plugins||[]).use(l,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(c,e);"string"==typeof e.children?t=i(e.children):(void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`),t=i());let u=n.runSync(n.parse(t),t);if("root"!==u.type)throw TypeError("Expected a `root` node");let f=r.createElement(r.Fragment,{},g({options:e,schema:s,listDepth:0},u));return e.className&&(f=r.createElement("div",{className:e.className},f)),f}ReactMarkdown.defaultProps={transformLinkUri:f},ReactMarkdown.propTypes={children:u.string,className:u.string,allowElement:u.func,allowedElements:u.arrayOf(u.string),disallowedElements:u.arrayOf(u.string),unwrapDisallowed:u.bool,remarkPlugins:u.arrayOf(u.oneOfType([u.object,u.func,u.arrayOf(u.oneOfType([u.object,u.func]))])),rehypePlugins:u.arrayOf(u.oneOfType([u.object,u.func,u.arrayOf(u.oneOfType([u.object,u.func]))])),sourcePos:u.bool,rawSourcePos:u.bool,skipHtml:u.bool,includeElementIndex:u.bool,transformLinkUri:u.oneOfType([u.func,u.bool]),linkTarget:u.oneOfType([u.func,u.string]),transformImageUri:u.func,components:u.object},ReactMarkdown.uriTransformer=f},26625:function(e,t,n){let r=n(62854);e.exports=function(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return e=>{r(e,"element",onelement)};function onelement(t,n,r){let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,r)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n}}},40100:function(e){let t=["http","https","mailto","tel"];e.exports=function(e){let n=(e||"").trim(),r=n.charAt(0);if("#"===r||"/"===r)return n;let i=n.indexOf(":");if(-1===i)return n;let o=-1;for(;++oo||-1!==(o=n.indexOf("#"))&&i>o?n:"javascript:void(0)"}},87737:function(e,t,n){var r=Object.create,i=Object.defineProperty,o=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertySymbols,c=Object.prototype.propertyIsEnumerable,f=Object.assign,O=e=>i(e,"__esModule",{value:!0}),m=(e,t)=>{var n={};for(var r in e)a.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))0>t.indexOf(r)&&c.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of l(t))a.call(e,r)||"default"===r||i(e,r,{get:()=>t[r],enumerable:!(n=u(t,r))||n.enumerable});return e},P=e=>Q(O(i(null!=e?r(o(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);O(t),((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(t,{blockContentToPlainText:()=>Z,default:()=>S});var g=P(n(67294)),x=P(n(45697)),k=P(n(88863)),b=k.default.defaultSerializers,q=e=>{var{content:t,className:n,serializers:r={},dataset:i,projectId:o}=e,a=m(e,["content","className","serializers","dataset","projectId"]);if(!t)throw Error("No `content` provided to PortableText.");return g.default.createElement(k.default,f({blocks:t,className:n,serializers:V(r),renderContainerOnSingleChild:!0,dataset:i,projectId:o},a))},S=q;q.propTypes={content:x.default.array.isRequired,className:x.default.string,projectId:x.default.string,dataset:x.default.string,ignoreUnknownTypes:x.default.bool,serializers:x.default.shape({link:x.default.elementType,strong:x.default.elementType,em:x.default.elementType,underline:x.default.elementType,del:x.default.elementType,code:x.default.elementType,ul:x.default.elementType,ol:x.default.elementType,li:x.default.elementType,h1:x.default.elementType,h2:x.default.elementType,h3:x.default.elementType,h4:x.default.elementType,h5:x.default.elementType,h6:x.default.elementType,blockquote:x.default.elementType,container:x.default.elementType,block:x.default.elementType,span:x.default.elementType,hardBreak:x.default.elementType,unknownType:x.default.elementType,unknownMark:x.default.elementType})};var V=e=>{let{link:t,strong:n,em:r,underline:i,del:o,code:a,ul:l,ol:u,li:s,h1:c,h2:x,h3:S,h4:w,h5:E,h6:C,blockquote:T,container:A="div",block:I=b.BlockSerializer,span:F=b.SpanSerializer,hardBreak:D=b.HardBreakSerializer,unknownType:M=b.DefaultUnknownTypeSerializer,unknownMark:z="span"}=e,L=m(e,["link","strong","em","underline","del","code","ul","ol","li","h1","h2","h3","h4","h5","h6","blockquote","container","block","span","hardBreak","unknownType","unknownMark"]),N={h1:c,h2:x,h3:S,h4:w,h5:E,h6:C,blockquote:T};return{container:A,block:I,span:F,hardBreak:D,unknownType:M,unknownMark:z,marks:Y(f({link:t,strong:n,em:r,underline:i,code:a,"strike-through":o},L)),list:e=>{let{type:t,children:n}=e,r="bullet"===t?l:u;return r?r({children:n}):k.default.defaultSerializers.list(e)},listItem:e=>{let{children:t}=e;return s?s({children:t}):k.default.defaultSerializers.listItem(e)},types:f({block:e=>{let{node:{style:t},children:n}=e;return N[t]?N[t]({children:n}):L[t]?L[t]({children:n}):k.default.defaultSerializers.types.block(e)}},Object.entries(L).reduce((e,[t,n])=>{let d=({node:e})=>g.default.createElement(n,e);return d.displayName=`${v(t)}Wrapper`,e[t]=d,e},{}))}},Y=e=>Object.entries(e).reduce((e,[t,n])=>{if(n){let p=e=>{var{_type:t,_key:r,mark:i,markKey:o,children:a}=e,l=m(e,["_type","_key","mark","markKey","children"]);if("object"==typeof i){let{_type:e,_key:t}=i;Object.entries(m(i,["_type","_key"])).forEach(([e,t])=>{l[e]=t})}return g.default.createElement(n,l,a)};p.displayName=`${v(t)}Wrapper`,e[t]=p}return e},{}),Z=(e=[])=>e.map(e=>"block"===e._type&&e.children?e.children.map(e=>e.text).join(""):"").join(` `),v=e=>e.slice(0,1).toUpperCase()+e.slice(1)},25726:function(e,t,n){"use strict";function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ni.length;o&&i.push(done);try{n=e.apply(null,i)}catch(e){if(o&&r)throw e;return done(e)}o||(n&&"function"==typeof n.then?n.then(then,done):n instanceof Error?done(n):then(n))};function done(){r||(r=!0,n.apply(null,arguments))}function then(e){done(null,e)}}},18835:function(e,t,n){"use strict";var r=n(18869),i=n(73469),o=n(94470),a=n(33310),l=n(28281),u=n(10939);e.exports=(function unified(){var e,t=[],n=l(),i={},g=-1;return processor.data=function(t,n){return"string"==typeof t?2==arguments.length?(assertUnfrozen("data",e),i[t]=n,processor):c.call(i,t)&&i[t]||null:t?(assertUnfrozen("data",e),i=t,processor):i},processor.freeze=freeze,processor.attachers=t,processor.use=function(n){var r;if(assertUnfrozen("use",e),null==n);else if("function"==typeof n)addPlugin.apply(null,arguments);else if("object"==typeof n)"length"in n?addList(n):addPreset(n);else throw Error("Expected usable value, not `"+n+"`");return r&&(i.settings=o(i.settings||{},r)),processor;function addPreset(e){addList(e.plugins),e.settings&&(r=o(r||{},e.settings))}function addList(e){var t=-1;if(null==e);else if("object"==typeof e&&"length"in e)for(;++t * @license MIT */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},50914:function(e){"use strict";e.exports=function(e,t,n){var r;return null==n&&("object"!=typeof t||Array.isArray(t))&&(n=t,t={}),r=Object.assign({type:String(e)},t),Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r}},61744:function(e){"use strict";e.exports=function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}},48145:function(e){"use strict";function ok(){return!0}e.exports=function convert(e){if(null==e)return ok;if("string"==typeof e)return function(t){return!!(t&&t.type===e)};if("object"==typeof e)return"length"in e?function(e){for(var t=[],n=-1;++n":""))+")"),visit;function visit(){var i,c,f,g=s.concat(e),x=[];if((!t||u(e,r,s[s.length-1]||null))&&!1===(x=null!==(i=n(e,s))&&"object"==typeof i&&"length"in i?i:"number"==typeof i?[!0,i]:[i])[0])return x;if(e.children&&x[0]!==o)for(f=(a?e.children.length:-1)+l;f>-1&&fl.indexOf(t)&&(this[t]=e[t])}function assertPart(e,t){if(e&&e.indexOf(r.sep)>-1)throw Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function assertNonEmpty(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}VFile.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(VFile.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(VFile.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){assertPath(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(VFile.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(VFile.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(assertPart(e,"extname"),assertPath(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(VFile.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},65905:function(e,t,n){"use strict";var r=n(80734),i=n(45442);e.exports=i,i.prototype.message=function(e,t,n){var i=new r(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i},i.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},28064:function(e,t){"use strict";function assertPath(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var n,r,i,o,a=0,l=-1;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');if(assertPath(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else l<0&&(i=!0,l=n+1);return l<0?"":e.slice(a,l)}if(t===e)return"";for(r=-1,o=t.length-1;n--;)if(47===e.charCodeAt(n)){if(i){a=n+1;break}}else r<0&&(i=!0,r=n+1),o>-1&&(e.charCodeAt(n)===t.charCodeAt(o--)?o<0&&(l=n):(o=-1,l=r));return a===l?l=r:l<0&&(l=e.length),e.slice(a,l)},t.dirname=function(e){var t,n,r;if(assertPath(e),!e.length)return".";for(t=-1,r=e.length;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,n,r,i=-1,o=0,a=-1,l=0;for(assertPath(e),r=e.length;r--;){if(47===(n=e.charCodeAt(r))){if(t){o=r+1;break}continue}a<0&&(t=!0,a=r+1),46===n?i<0?i=r:1!==l&&(l=1):i>-1&&(l=-1)}return i<0||a<0||0===l||1===l&&i===a-1&&i===o+1?"":e.slice(i,a)},t.join=function(){for(var e,t,n,r,i=-1;++i2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=u,l=0;continue}}else if(i.length){i="",o=0,a=u,l=0;continue}}t&&(i=i.length?i+"/..":"..",o=2)}else i.length?i+="/"+e.slice(a+1,u):i=e.slice(a+1,u),o=u-a-1;a=u,l=0}else 46===n&&l>-1?l++:l=-1}return i}(e,!t)).length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n)},t.sep="/"},54228:function(e,t){"use strict";t.cwd=function(){return"/"}},70529:function(e){/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},47529:function(e){e.exports=function(){for(var e={},n=0;n