-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvendors-5.1838f740.bundle.js
1 lines (1 loc) · 37.5 KB
/
vendors-5.1838f740.bundle.js
1
(self.webpackChunktypescript_tutorial_exercises=self.webpackChunktypescript_tutorial_exercises||[]).push([["315"],{22857:function(e,t,r){"use strict";e.exports=r.p+"7bbe8604eda090d7c4d6.ttf"},22732:function(e,t,r){"use strict";e.exports=r.p+"5a4e13499d41e2b6d1c8.woff"},94312:function(e,t,r){"use strict";e.exports=r.p+"aa4c8cbe9fdd87cd3238.woff2"},88612:function(e,t,r){"use strict";e.exports=r.p+"87b309477a570c0206cb.woff"},11198:function(e,t){"use strict";t.Z={paths:{vs:"https://cdn.jsdelivr.net/npm/[email protected]/min/vs"}}},35875:function(e,t,r){"use strict";e.exports=r("62290")()?Object.keys:r("97703")},95170:function(e,t,r){"use strict";e.exports=r("19809")()?String.prototype.contains:r("9186")},23667:function(e,t,r){"use strict";r.d(t,{K:function(){return s}});var n=r("676"),o=r("43994"),i=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var o=n+1;o<r;o+=1){var i=e[n].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(e,r){return!t.has(r)})},a=function(e){return e.parentNode?a(e.parentNode):e},s=function(e){return(0,o._2)(e).filter(Boolean).reduce(function(e,t){var r=t.getAttribute(n.Sk);return e.push.apply(e,r?i((0,o.qo)(a(t).querySelectorAll("[".concat(n.Sk,'="').concat(r,'"]:not([').concat(n.ZO,'="disabled"])')))):[t]),e},[])}},34958:function(e,t,r){"use strict";r.d(t,{$K:function(){return v},IS:function(){return g},MH:function(){return f},Z9:function(){return m},Zo:function(){return p},bh:function(){return u},gm:function(){return c},pY:function(){return l}});var n=r("676"),o=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},i=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},a=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},s=function(e,t){return!e||a(e)||!o(e)&&!e.hasAttribute("inert")&&t(i(e))},u=function(e,t){var r=e.get(t);if(void 0!==r)return r;var n=s(t,u.bind(void 0,e));return e.set(t,n),n},c=function(e,t){var r,n,o=e.get(t);if(void 0!==o)return o;var s=(r=t,n=c.bind(void 0,e),!r||!!a(r)||!!h(r)&&n(i(r)));return e.set(t,s),s},l=function(e){return e.dataset},d=function(e){return"INPUT"===e.tagName},f=function(e){return d(e)&&"radio"===e.type},p=function(e){return!((d(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))},h=function(e){return![!0,"true",""].includes(e.getAttribute(n.WQ))},m=function(e){var t;return!!(e&&(null===(t=l(e))||void 0===t?void 0:t.focusGuard))},g=function(e){return!m(e)},v=function(e){return!!e}},95226:function(e,t,r){var n=r("69026"),o=r("67767"),i=r("8592"),a=r("60762"),s=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,l=u.hasOwnProperty,d=RegExp("^"+c.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(a(e))}},95728:function(e,t,r){var n=r("43080");e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},85652:function(e){e.exports=function(e){return this.__data__.has(e)}},97266:function(e){e.exports=function(e){return this.__data__.get(e)}},79788:function(e,t,r){var n=r("62926"),o=r("84118"),i=r("21010");e.exports=function(e,t){var r,a,s=this.__data__;if(r=s,null!=(a=n)&&"undefined"!=typeof Symbol&&a[Symbol.hasInstance]?!!a[Symbol.hasInstance](r):r instanceof a){var u=s.__data__;if(!o||u.length<199)return u.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(u)}return s.set(e,t),this.size=s.size,this}},72952:function(e,t,r){"use strict";var n=r("10311");t.ZP=n.Z},61657:function(e,t,r){"use strict";var n=r("83501"),o=r("7223"),i=r.n(o),a=(0,n.Z)(i(),{});a.registerLanguage=function(e,t){return i().register(t)},a.alias=function(e,t){return i().alias(e,t)},t.Z=a},254:function(e){"use strict";e.exports=r;var t=r.prototype;function r(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}t.space=null,t.normal={},t.property={}},59782:function(e,t,r){"use strict";var n=r("24425");function o(e){return e===Object(e)&&0!==Object.keys(e).length}t.Z=function(e,t){var r=!e.ownerDocument.documentElement.contains(e);if(o(t)&&"function"==typeof t.behavior)return t.behavior(r?[]:(0,n.Z)(e,t));if(!r){var i,a=!1===(i=t)?{block:"end",inline:"nearest"}:o(i)?i:{block:"start",inline:"nearest"};return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(e){var n=e.el,o=e.top,i=e.left;n.scroll&&r?n.scroll({top:o,left:i,behavior:t}):(n.scrollTop=o,n.scrollLeft=i)})}((0,n.Z)(e,a),a.behavior)}}},29791:function(e,t,r){"use strict";var n=r("90347"),o=/^\s*class[\s{/}]/,i=Function.prototype.toString;e.exports=function(e){return!(!n(e)||o.test(i.call(e)))&&!0}},77392:function(e,t,r){"use strict";r.d(t,{ML:function(){return g},_m:function(){return n.Z}});var n=r("78706"),o=r("10791"),i={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},a={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"},s=function({children:e}){return o.createElement("div",{style:a},e)},u=(0,o.memo)(function({width:e,height:t,isEditorReady:r,loading:n,_ref:a,className:u,wrapperProps:c}){return o.createElement("section",{style:{...i.wrapper,width:e,height:t},...c},!r&&o.createElement(s,null,n),o.createElement("div",{ref:a,style:{...i.fullWidth,...!r&&i.hide},className:u}))}),c=function(e){(0,o.useEffect)(e,[])},l=function(e,t,r=!0){let n=(0,o.useRef)(!0);(0,o.useEffect)(n.current||!r?()=>{n.current=!1}:e,t)};function d(){}function f(e,t,r,n){return function(e,t){return e.editor.getModel(p(e,t))}(e,n)||function(e,t,r,n){return e.editor.createModel(t,r,n?p(e,n):void 0)}(e,t,r,n)}function p(e,t){return e.Uri.parse(t)}(0,o.memo)(function({original:e,modified:t,language:r,originalLanguage:i,modifiedLanguage:a,originalModelPath:s,modifiedModelPath:p,keepCurrentOriginalModel:h=!1,keepCurrentModifiedModel:m=!1,theme:g="light",loading:v="Loading...",options:y={},height:k="100%",width:b="100%",className:w,wrapperProps:x={},beforeMount:T=d,onMount:O=d}){let[E,M]=(0,o.useState)(!1),[z,S]=(0,o.useState)(!0),C=(0,o.useRef)(null),_=(0,o.useRef)(null),P=(0,o.useRef)(null),I=(0,o.useRef)(O),N=(0,o.useRef)(T),j=(0,o.useRef)(!1);c(()=>{let e=n.Z.init();return e.then(e=>(_.current=e)&&S(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>C.current?function(){let e=C.current?.getModel();h||e?.original?.dispose(),m||e?.modified?.dispose(),C.current?.dispose()}():e.cancel()}),l(()=>{if(C.current&&_.current){let t=C.current.getOriginalEditor(),n=f(_.current,e||"",i||r||"text",s||"");n!==t.getModel()&&t.setModel(n)}},[s],E),l(()=>{if(C.current&&_.current){let e=C.current.getModifiedEditor(),n=f(_.current,t||"",a||r||"text",p||"");n!==e.getModel()&&e.setModel(n)}},[p],E),l(()=>{let e=C.current.getModifiedEditor();e.getOption(_.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],E),l(()=>{C.current?.getModel()?.original.setValue(e||"")},[e],E),l(()=>{let{original:e,modified:t}=C.current.getModel();_.current.editor.setModelLanguage(e,i||r||"text"),_.current.editor.setModelLanguage(t,a||r||"text")},[r,i,a],E),l(()=>{_.current?.editor.setTheme(g)},[g],E),l(()=>{C.current?.updateOptions(y)},[y],E);let A=(0,o.useCallback)(()=>{if(!_.current)return;N.current(_.current);let n=f(_.current,e||"",i||r||"text",s||""),o=f(_.current,t||"",a||r||"text",p||"");C.current?.setModel({original:n,modified:o})},[r,t,a,e,i,s,p]),L=(0,o.useCallback)(()=>{!j.current&&P.current&&(C.current=_.current.editor.createDiffEditor(P.current,{automaticLayout:!0,...y}),A(),_.current?.editor.setTheme(g),M(!0),j.current=!0)},[y,g,A]);return(0,o.useEffect)(()=>{E&&I.current(C.current,_.current)},[E]),(0,o.useEffect)(()=>{z||E||L()},[z,E,L]),o.createElement(u,{width:b,height:k,isEditorReady:E,loading:v,_ref:P,className:w,wrapperProps:x})});var h=function(e){let t=(0,o.useRef)();return(0,o.useEffect)(()=>{t.current=e},[e]),t.current},m=new Map,g=(0,o.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:r,value:i,language:a,path:s,theme:p="light",line:g,loading:v="Loading...",options:y={},overrideServices:k={},saveViewState:b=!0,keepCurrentModel:w=!1,width:x="100%",height:T="100%",className:O,wrapperProps:E={},beforeMount:M=d,onMount:z=d,onChange:S,onValidate:C=d}){let[_,P]=(0,o.useState)(!1),[I,N]=(0,o.useState)(!0),j=(0,o.useRef)(null),A=(0,o.useRef)(null),L=(0,o.useRef)(null),D=(0,o.useRef)(z),R=(0,o.useRef)(M),U=(0,o.useRef)(),V=(0,o.useRef)(i),Z=h(s),B=(0,o.useRef)(!1),$=(0,o.useRef)(!1);c(()=>{let e=n.Z.init();return e.then(e=>(j.current=e)&&N(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>A.current?function(){U.current?.dispose(),w?b&&m.set(s,A.current.saveViewState()):A.current.getModel()?.dispose(),A.current.dispose()}():e.cancel()}),l(()=>{let n=f(j.current,e||i||"",t||a||"",s||r||"");n!==A.current?.getModel()&&(b&&m.set(Z,A.current?.saveViewState()),A.current?.setModel(n),b&&A.current?.restoreViewState(m.get(s)))},[s],_),l(()=>{A.current?.updateOptions(y)},[y],_),l(()=>{A.current&&void 0!==i&&(A.current.getOption(j.current.editor.EditorOption.readOnly)?A.current.setValue(i):i===A.current.getValue()||($.current=!0,A.current.executeEdits("",[{range:A.current.getModel().getFullModelRange(),text:i,forceMoveMarkers:!0}]),A.current.pushUndoStop(),$.current=!1))},[i],_),l(()=>{let e=A.current?.getModel();e&&a&&j.current?.editor.setModelLanguage(e,a)},[a],_),l(()=>{void 0!==g&&A.current?.revealLine(g)},[g],_),l(()=>{j.current?.editor.setTheme(p)},[p],_);let F=(0,o.useCallback)(()=>{if(!(!L.current||!j.current)&&!B.current){R.current(j.current);let n=s||r,o=f(j.current,i||e||"",t||a||"",n||"");A.current=j.current?.editor.create(L.current,{model:o,automaticLayout:!0,...y},k),b&&A.current.restoreViewState(m.get(n)),j.current.editor.setTheme(p),void 0!==g&&A.current.revealLine(g),P(!0),B.current=!0}},[e,t,r,i,a,s,y,k,b,p,g]);return(0,o.useEffect)(()=>{_&&D.current(A.current,j.current)},[_]),(0,o.useEffect)(()=>{I||_||F()},[I,_,F]),V.current=i,(0,o.useEffect)(()=>{_&&S&&(U.current?.dispose(),U.current=A.current?.onDidChangeModelContent(e=>{$.current||S(A.current.getValue(),e)}))},[_,S]),(0,o.useEffect)(()=>{if(_){let e=j.current.editor.onDidChangeMarkers(e=>{let t=A.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=j.current.editor.getModelMarkers({resource:t});C?.(e)}});return()=>{e?.dispose()}}return()=>{}},[_,C]),o.createElement(u,{width:x,height:T,isEditorReady:_,loading:v,_ref:L,className:O,wrapperProps:E})})},82310:function(e,t,r){"use strict";r.d(t,{L:function(){return g}});var n=r("1781"),o=r("72265"),i=r("95068"),a=r("8695"),s=r("95530"),u=r("1971"),c=r("22958"),l=r("34231"),d=r("10809");function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var h=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),m={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function g(e,t){var r=function(e){var t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),n=(0,d.z)("type",{handlers:{root:y,element:k,text:b,comment:x,doctype:w,raw:T},unknown:O}),i={parser:r?new s._b(m):s._b.getFragmentParser(void 0,m),handle:function(e){n(e,i)},stitches:!1,options:t||{}};n(e,i),E(i,(0,u.Pk)());var a=r?i.parser.document:i.parser.getFragment(),l=(0,o.e)(a,{file:i.options.file});return(i.stitches&&(0,c.Vn)(l,"comment",function(e,t,r){if(e.value.stitch&&r&&void 0!==t)return r.children[t]=e.value.stitch,t}),"root"===l.type&&1===l.children.length&&l.children[0].type===e.type)?l.children[0]:l}function v(e,t){var r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function y(e,t){v(e.children,t)}function k(e,t){(function(e,t){var r=e.tagName.toLowerCase();if(t.parser.tokenizer.state!==s.P4.PLAINTEXT){E(t,(0,u.Pk)(e));var n=t.parser.openElements.current,o="namespaceURI"in n?n.namespaceURI:l.t.html;o===l.t.html&&"svg"===r&&(o=l.t.svg);var a=(0,i.$)(p(f({},e),{children:[]}),{space:o===l.t.svg?"svg":"html"}),c={type:s.WU.i.START_TAG,tagName:r,tagID:s.dy.OL(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:z(e)};t.parser.currentToken=c,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}})(e,t),v(e.children,t),function(e,t){var r=e.tagName.toLowerCase();if(!(!t.parser.tokenizer.inForeignNode&&a.z.includes(r))){if(t.parser.tokenizer.state!==s.P4.PLAINTEXT){E(t,(0,u.rb)(e));var n={type:s.WU.i.END_TAG,tagName:r,tagID:s.dy.OL(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:z(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===s.P4.RCDATA||t.parser.tokenizer.state===s.P4.RAWTEXT||t.parser.tokenizer.state===s.P4.SCRIPT_DATA)&&(t.parser.tokenizer.state=s.P4.DATA)}}}(e,t)}function b(e,t){var r={type:s.WU.i.CHARACTER,chars:e.value,location:z(e)};E(t,(0,u.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function w(e,t){var r={type:s.WU.i.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:z(e)};E(t,(0,u.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function x(e,t){var r=e.value,n={type:s.WU.i.COMMENT,data:r,location:z(e)};E(t,(0,u.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function T(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,M(t,(0,u.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;var r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function O(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;var r=function(e){return"children"in e?(0,n.ZP)(p(f({},e),{children:[]})):(0,n.ZP)(e)}(e);if("children"in e&&"children"in r){var o=g({type:"root",children:e.children},t.options);r.children=o.children}x({type:"comment",value:{stitch:r}},t)}(e,t);else{var r="";throw h.has(e.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+r)}}function E(e,t){M(e,t);var r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=s.P4.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function M(e,t){if(t&&void 0!==t.offset){var r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function z(e){var t=(0,u.Pk)(e)||{line:void 0,column:void 0,offset:void 0},r=(0,u.rb)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}},85763:function(e,t,r){"use strict";r.d(t,{l:function(){return m}});var n=r("2385"),o=r("6858");function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=/\n/g,u=/[\t ]+/g,c=(0,n.Y)("br"),l=(0,n.Y)("p"),d=(0,n.Y)(["th","td"]),f=(0,n.Y)("tr"),p=(0,n.Y)(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return!!(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),h=(0,n.Y)(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function m(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="children"in e?e.children:[],o=h(e),i=y(e,{whitespace:r.whitespace||"normal",breakBefore:!1,breakAfter:!1}),s=[];("text"===e.type||"comment"===e.type)&&s.push.apply(s,a(v(e,{whitespace:i,breakBefore:!0,breakAfter:!0})));for(var u=-1;++u<n.length;)s.push.apply(s,a(g(n[u],e,{whitespace:i,breakBefore:u?void 0:o,breakAfter:u<n.length-1?c(n[u+1]):o})));var l=[];for(u=-1;++u<s.length;){var d=s[u];"number"==typeof d?void 0!==t&&d>t&&(t=d):d&&(void 0!==t&&t>-1&&l.push("\n".repeat(t)||" "),t=-1,l.push(d))}return l.join("")}function g(e,t,r){return"element"===e.type?function(e,t,r){var n,i,a=y(e,r),s=e.children||[],u=-1,m=[];if(p(e))return m;for(c(e)?i="\n":f(e)&&(0,o.U)(t,e,f)?i="\n":l(e)?(n=2,i=2):h(e)&&(n=1,i=1);++u<s.length;)m=m.concat(g(s[u],e,{whitespace:a,breakBefore:u?void 0:n,breakAfter:u<s.length-1?c(s[u+1]):i}));return d(e)&&(0,o.U)(t,e,d)&&m.push(" "),n&&m.unshift(n),i&&m.push(i),m}(e,t,r):"text"===e.type?"normal"===r.whitespace?v(e,r):function(e){return[String(e.value)]}(e):[]}function v(e,t){for(var r,n=String(e.value),o=[],i=[],a=0;a<=n.length;){s.lastIndex=a;var c=s.exec(n),l=c&&"index"in c?c.index:n.length;o.push(function(e,t,r){for(var n,o=[],i=0;i<e.length;){u.lastIndex=i;var a=u.exec(e);n=a?a.index:e.length,!i&&!n&&a&&!t&&o.push(""),i!==n&&o.push(e.slice(i,n)),i=a?n+a[0].length:n}return i!==n&&!r&&o.push(""),o.join(" ")}(n.slice(a,l).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==a||t.breakBefore,l!==n.length||t.breakAfter)),a=l+1}for(var d=-1;++d<o.length;)8203===o[d].charCodeAt(o[d].length-1)||d<o.length-1&&8203===o[d+1].charCodeAt(0)?(i.push(o[d]),r=void 0):o[d]?("number"==typeof r&&i.push(r),i.push(o[d]),r=0):(0===d||d===o.length-1)&&i.push(0);return i}function y(e,t){if("element"===e.type){var r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}},13120:function(e,t,r){"use strict";r.d(t,{p:function(){return i}});var n=r("59146"),o=r("49552");function i(e,t){var r={href:n(t.url)};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(t,"a",r,(0,o.$)(e,t))}},26444:function(e,t,r){"use strict";r.d(t,{p:function(){return i}});var n=r("97011"),o=r("49552");function i(e,t){var r={},i=t.ordered?"ol":"ul",a=(0,o.$)(e,t),s=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++s<a.length;){var u=a[s];if("element"===u.type&&"li"===u.tagName&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}return e(t,i,r,(0,n.r)(a,!0))}},22726:function(e,t,r){"use strict";r.d(t,{K:function(){return a}});var n=r("44807"),o=r("97011"),i=r("49552");function a(e,t){for(var r=t.children,a=-1,s=t.align||[],u=[];++a<r.length;){for(var c=r[a].children,l=0===a?"th":"td",d=t.align?s.length:c.length,f=[];d--;){var p=c[d];f[d]=e(p,l,{align:s[d]},p?(0,i.$)(e,p):[])}u[a]=e(r[a],"tr",(0,o.r)(f,!0))}return e(t,"table",(0,o.r)([e(u[0].position,"thead",(0,o.r)([u[0]],!0))].concat(u[1]?e({start:(0,n.Pk)(u[1]),end:(0,n.rb)(u[u.length-1])},"tbody",(0,o.r)(u.slice(1),!0)):[]),!0))}},9962:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r("61205");function o(e){return e.label||!e.identifier?e.label||"":(0,n.v)(e.identifier)}},69362:function(e,t,r){"use strict";r.d(t,{j:function(){return o}});var n=r("38619"),o={name:"autolink",tokenize:function(e,t,r){var o=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,n.jv)(t)?(e.consume(t),a):u(t)}function a(t){return 43===t||45===t||46===t||(0,n.H$)(t)?(o=1,function t(r){return 58===r?(e.consume(r),o=0,s):(43===r||45===r||46===r||(0,n.H$)(r))&&o++<32?(e.consume(r),t):(o=0,u(r))}(t)):u(t)}function s(o){return 62===o?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):null===o||32===o||60===o||(0,n.Av)(o)?r(o):(e.consume(o),s)}function u(t){return 64===t?(e.consume(t),c):(0,n.n9)(t)?(e.consume(t),u):r(t)}function c(e){return(0,n.H$)(e)?l(e):r(e)}function l(i){return 46===i?(e.consume(i),o=0,c):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||(0,n.H$)(i))&&o++<63){var a=45===i?t:l;return e.consume(i),a}return r(i)}(i)}}}},33112:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r("36768"),o=r("38619"),i={name:"htmlText",tokenize:function(e,t,r){var i,a,s,u=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),c};function c(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),x):63===t?(e.consume(t),b):(0,o.jv)(t)?(e.consume(t),O):r(t)}function l(t){return 45===t?(e.consume(t),d):91===t?(e.consume(t),a=0,m):(0,o.jv)(t)?(e.consume(t),k):r(t)}function d(t){return 45===t?(e.consume(t),h):r(t)}function f(t){return null===t?r(t):45===t?(e.consume(t),p):(0,o.Ch)(t)?(s=f,I(t)):(e.consume(t),f)}function p(t){return 45===t?(e.consume(t),h):f(t)}function h(e){return 62===e?P(e):45===e?p(e):f(e)}function m(t){var n="CDATA[";return t===n.charCodeAt(a++)?(e.consume(t),a===n.length?g:m):r(t)}function g(t){return null===t?r(t):93===t?(e.consume(t),v):(0,o.Ch)(t)?(s=g,I(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),y):g(t)}function y(t){return 62===t?P(t):93===t?(e.consume(t),y):g(t)}function k(t){return null===t||62===t?P(t):(0,o.Ch)(t)?(s=k,I(t)):(e.consume(t),k)}function b(t){return null===t?r(t):63===t?(e.consume(t),w):(0,o.Ch)(t)?(s=b,I(t)):(e.consume(t),b)}function w(e){return 62===e?P(e):b(e)}function x(t){return(0,o.jv)(t)?(e.consume(t),T):r(t)}function T(t){return 45===t||(0,o.H$)(t)?(e.consume(t),T):function t(r){return(0,o.Ch)(r)?(s=t,I(r)):(0,o.xz)(r)?(e.consume(r),t):P(r)}(t)}function O(t){return 45===t||(0,o.H$)(t)?(e.consume(t),O):47===t||62===t||(0,o.z3)(t)?E(t):r(t)}function E(t){return 47===t?(e.consume(t),P):58===t||95===t||(0,o.jv)(t)?(e.consume(t),M):(0,o.Ch)(t)?(s=E,I(t)):(0,o.xz)(t)?(e.consume(t),E):P(t)}function M(t){return 45===t||46===t||58===t||95===t||(0,o.H$)(t)?(e.consume(t),M):function t(r){return 61===r?(e.consume(r),z):(0,o.Ch)(r)?(s=t,I(r)):(0,o.xz)(r)?(e.consume(r),t):E(r)}(t)}function z(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),i=t,S):(0,o.Ch)(t)?(s=z,I(t)):(0,o.xz)(t)?(e.consume(t),z):(e.consume(t),C)}function S(t){return t===i?(e.consume(t),i=void 0,_):null===t?r(t):(0,o.Ch)(t)?(s=S,I(t)):(e.consume(t),S)}function C(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||(0,o.z3)(t)?E(t):(e.consume(t),C)}function _(e){return 47===e||62===e||(0,o.z3)(e)?E(e):r(e)}function P(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return(0,o.xz)(t)?(0,n.f)(e,j,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):j(t)}function j(t){return e.enter("htmlTextData"),s(t)}}}},37364:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r("59840"),o=r("16358"),i=r("56391"),a=r("71823"),s=r("38619"),u=r("40161"),c=r("74457"),l=r("80258"),d={name:"labelEnd",tokenize:function(e,t,r){for(var n,o,i=this,a=i.events.length;a--;)if(("labelImage"===i.events[a][1].type||"labelLink"===i.events[a][1].type)&&!i.events[a][1]._balanced){n=i.events[a][1];break}return function(t){return n?n._inactive?d(t):(o=i.parser.defined.includes((0,c.d)(i.sliceSerialize({start:n.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):r(t)};function s(t){return 40===t?e.attempt(f,l,o?l:d)(t):91===t?e.attempt(p,l,o?u:d)(t):o?l(t):d(t)}function u(t){return e.attempt(h,l,d)(t)}function l(e){return t(e)}function d(e){return n._balanced=!0,r(e)}},resolveTo:function(e,t){for(var r,n,o,i,a=e.length,s=0;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(o=a);var c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},d={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[o][1].end)},f={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",c,t],["enter",d,t]],i=(0,u.V)(i,e.slice(n+1,n+s+3)),i=(0,u.V)(i,[["enter",f,t]]),i=(0,u.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,u.V)(i,[["exit",f,t],e[o-2],e[o-1],["exit",d,t]]),i=(0,u.V)(i,e.slice(o+1)),i=(0,u.V)(i,[["exit",c,t]]),(0,u.d)(e,n,e.length,i),e},resolveAll:function(e){for(var t=-1;++t<e.length;){var r=e[t][1];("labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type)&&(e.splice(t+1,"labelImage"===r.type?4:2),r.type="data",t++)}return e}},f={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),o};function o(t){return(0,s.z3)(t)?(0,a.S)(e,u)(t):u(t)}function u(t){return 41===t?p(t):(0,n.Z)(e,c,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function c(t){return(0,s.z3)(t)?(0,a.S)(e,d)(t):p(t)}function l(e){return r(e)}function d(t){return 34===t||39===t||40===t?(0,i.X)(e,f,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):p(t)}function f(t){return(0,s.z3)(t)?(0,a.S)(e,p)(t):p(t)}function p(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},p={tokenize:function(e,t,r){var n=this;return function(t){return o.f.call(n,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes((0,c.d)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function a(e){return r(e)}}},h={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},7147:function(e,t,r){"use strict";r.d(t,{_:function(){return o}});var n=r("40161");function o(e){for(var t,r,o,i,a,s,u,c={},l=-1;++l<e.length;){for(;(l in c);)l=c[l];if(t=e[l],l&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[l-1][1].type&&(s=t[1]._tokenizer.events,(o=0)<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;){;"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,o++)}if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){for(var r,o,i=e[t][1],a=e[t][2],s=t-1,u=[],c=i._tokenizer||a.parser[i.contentType](i.start),l=c.events,d=[],f={},p=-1,h=i,m=0,g=0,v=[0];h;){for(;e[++s][1]!==h;);u.push(s),!h._tokenizer&&(r=a.sliceStream(h),!h.next&&r.push(null),o&&c.defineSkip(h.start),h._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(r),h._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),o=h,h=h.next}for(h=i;++p<l.length;)"exit"===l[p][0]&&"enter"===l[p-1][0]&&l[p][1].type===l[p-1][1].type&&l[p][1].start.line!==l[p][1].end.line&&(g=p+1,v.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(c.events=[],h?(h._tokenizer=void 0,h.previous=void 0):v.pop(),p=v.length;p--;){var y=l.slice(v[p],v[p+1]),k=u.pop();d.unshift([k,k+y.length-1]),(0,n.d)(e,k,2,y)}for(p=-1;++p<d.length;)f[m+d[p][0]]=m+d[p][1],m+=d[p][1]-d[p][0]-1;return f}(e,l)),l=c[l],u=!0);else if(t[1]._container){for(o=l,r=void 0;o--;)if("lineEnding"===(i=e[o])[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else break;r&&(t[1].end=Object.assign({},e[r][1].start),(a=e.slice(r,l)).unshift(t),(0,n.d)(e,r,l-r+1,a))}}return!u}},94983:function(e,t,r){"use strict";r.d(t,{d:function(){return o}});var n=/[\0\t\n\r]/g;function o(){var e,t=1,r="",o=!0;return function(i,a,s){var u,c,l,d,f,p=[];for(i=r+i.toString(a),l=0,r="",o&&(65279===i.charCodeAt(0)&&l++,o=void 0);l<i.length;){if(n.lastIndex=l,d=(u=n.exec(i))&&void 0!==u.index?u.index:i.length,f=i.charCodeAt(d),!u){r=i.slice(l);break}if(10===f&&l===d&&e)p.push(-3),e=void 0;else switch(e&&(p.push(-5),e=void 0),l<d&&(p.push(i.slice(l,d)),t+=d-l),f){case 0:p.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),p.push(-2);t++<c;)p.push(-1);break;case 10:p.push(-4),t=1;break;default:e=!0,t=1}l=d+1}return s&&(e&&p.push(-5),r&&p.push(r),p.push(null)),p}}},47808:function(e,t,r){"use strict";r.d(t,{M:function(){return h},f:function(){return p}});var n=r("24307");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a="html",s=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],u=i(s).concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),c=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],d=i(l).concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function f(e,t){return t.some(function(t){return e.startsWith(t)})}function p(e){return e.name===a&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)}function h(e){if(e.name!==a)return n.Bj.QUIRKS;var t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return n.Bj.QUIRKS;var r=e.publicId;if(null!==r){if(r=r.toLowerCase(),c.has(r))return n.Bj.QUIRKS;var o=null===t?u:s;if(f(r,o))return n.Bj.QUIRKS;if(f(r,o=null===t?l:d))return n.Bj.LIMITED_QUIRKS}return n.Bj.NO_QUIRKS}},39269:function(e,t,r){"use strict";r.d(t,{D:function(){return m}});var n=r("10791"),o=r("27263"),i=r("74064"),a=r("75277"),s=r("58309"),u=r("97334"),c=r("94850"),l=r("33835"),d=r("59401"),f=r("63547"),p={}.hasOwnProperty,h={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 m(e){for(var t in h)if(p.call(h,t)&&p.call(e,t)){var r=h[t];console.warn("[react-markdown] Warning: please ".concat(r.to?"use `".concat(r.to,"` instead of"):"remove"," `").concat(t,"` (see <").concat("https://github.com/remarkjs/react-markdown/blob/main/changelog.md","#").concat(r.id,"> for more info)")),delete h[t]}var u=(0,i.l)().use(a.Z).use(e.remarkPlugins||e.plugins||[]).use(s.Z,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(l.Z,e),d=new o.k;"string"==typeof e.children?d.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));var m=u.runSync(u.parse(d),d);if("root"!==m.type)throw TypeError("Expected a `root` node");var g=n.createElement(n.Fragment,{},(0,f.I)({options:e,schema:c.dy,listDepth:0},m));return e.className&&(g=n.createElement("div",{className:e.className},g)),g}m.defaultProps={transformLinkUri:d.A},m.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}}}]);