PageSourceSearch

https://alfa-brain.com/_next/static/chunks/3221.6d62de2a16f2bc70.js

js alfa-brain.com collected 2026-10-08 16:42:48 UTC 186,783 bytes, 13 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3221],{3375:function(e,t,n){"use strict";let r=n(60878),i=n(1819),u=n(87849);e.exports=e=>{return e=e||{},e=>{r(e,"element",t)};function t(t,n,r){let o;if(!r||"pre"!==r.tagName||"code"!==t.tagName)return;let l=function(e){for(let t of e.properties.className||[])if("language-"===t.slice(0,9))return t.slice(9).toLowerCase();return null}(t);if(null!==l){try{r.properties.className=(r.properties.className||[]).concat("language-"+l),o=u.highlight(i(t),l)}catch(t){if(e.ignoreMissing&&/Unknown language/.test(t.message))return;throw t}t.children=o}}}},12993:function(e){"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return!!(e&&e.type===n)};if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r<t.length;)n[r]=e(t[r]);return function(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(n):function(e){var t;for(t in n)if(e[t]!==n[t])return!1;return!0};if("function"==typeof n)return n;throw Error("Expected function, string, or object as test")}},14127:function(e){e.exports=function(e){return e}},70870:function(e,t,n){"use strict";e.exports=o;var r=n(12993),i=n(14127),u="skip";function o(e,t,n,o){var l,c;"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),c=r(t),l=o?-1:1,(function e(r,a,s){var f,d="object"==typeof r&&null!==r?r:{};return"string"==typeof d.type&&(f="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0,p.displayName="node ("+i(d.type+(f?"<"+f+">":""))+")"),p;function p(){var i,f,d,p=s.concat(r),h=[];if((!t||c(r,a,s[s.length-1]||null))&&!1===(h=null!==(i=n(r,s))&&"object"==typeof i&&"length"in i?i:"number"==typeof i?[!0,i]:[i])[0])return h;if(r.children&&h[0]!==u)for(d=(o?r.children.length:-1)+l;d>-1&&d<r.children.length;){if(!1===(f=e(r.children[d],d,p)())[0])return f;d="number"==typeof f[1]?f[1]:d+l}return h}})(e,null,[])()}o.CONTINUE=!0,o.SKIP=u,o.EXIT=!1},60878:function(e,t,n){"use strict";e.exports=l;var r=n(70870),i=r.CONTINUE,u=r.SKIP,o=r.EXIT;function l(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),r(e,t,function(e,t){var r=t[t.length-1],i=r?r.children.indexOf(e):null;return n(e,i,r)},i)}l.CONTINUE=i,l.SKIP=u,l.EXIT=o},20844:function(e,t){"use strict";/** @license React v17.0.2
2 * react-is.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */var n=60103,r=60106,i=60107,u=60108,o=60114,l=60109,c=60110,a=60112,s=60113,f=60120,d=60115,p=60116,h=60121,m=60122,g=60117,D=60129,x=60131;if("function"==typeof Symbol&&Symbol.for){var F=Symbol.for;n=F("react.element"),r=F("react.portal"),i=F("react.fragment"),u=F("react.strict_mode"),o=F("react.profiler"),l=F("react.provider"),c=F("react.context"),a=F("react.forward_ref"),s=F("react.suspense"),f=F("react.suspense_list"),d=F("react.memo"),p=F("react.lazy"),h=F("react.block"),m=F("react.server.block"),g=F("react.fundamental"),D=F("react.debug_trace_mode"),x=F("react.legacy_hidden")}function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case o:case u:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case a:case p:case d:case l:return e;default:return t}}case r:return t}}}var y=l,v=n,E=a,b=i,k=p,A=d,w=r,S=o,B=u,T=s;t.ContextConsumer=c,t.ContextProvider=y,t.Element=v,t.ForwardRef=E,t.Fragment=b,t.Lazy=k,t.Memo=A,t.Portal=w,t.Profiler=S,t.StrictMode=B,t.Suspense=T,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return C(e)===c},t.isContextProvider=function(e){return C(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return C(e)===a},t.isFragment=function(e){return C(e)===i},t.isLazy=function(e){return C(e)===p},t.isMemo=function(e){return C(e)===d},t.isPortal=function(e){return C(e)===r},t.isProfiler=function(e){return C(e)===o},t.isStrictMode=function(e){return C(e)===u},t.isSuspense=function(e){return C(e)===s},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===o||e===D||e===u||e===s||e===f||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===l||e.$$typeof===c||e.$$typeof===a||e.$$typeof===g||e.$$typeof===h||e[0]===m)},t.typeOf=C},385:function(e,t,n){"use strict";e.exports=n(20844)},3221:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{EditorContext:function(){return n8},MarkdownUtil:function(){return o},TextAreaCommandOrchestrator:function(){return ic},TextAreaTextApi:function(){return il},bold:function(){return rN},checkedListCommand:function(){return rW},code:function(){return rM},codeBlock:function(){return rU},codeEdit:function(){return r5},codeLive:function(){return r7},codePreview:function(){return r6},commands:function(){return l},default:function(){return iy},divider:function(){return r3},fullscreen:function(){return r8},getBreaksNeededForEmptyLineAfter:function(){return rz},getBreaksNeededForEmptyLineBefore:function(){return rP},getCommands:function(){return ii},getExtraCommands:function(){return iu},getStateFromTextArea:function(){return io},group:function(){return r4},hr:function(){return rQ},image:function(){return r9},italic:function(){return rR},link:function(){return r_},orderedListCommand:function(){return r$},quote:function(){return rZ},reducer:function(){return n7},selectWord:function(){return rO},strikethrough:function(){return ie},title:function(){return rK},title1:function(){return rX},title2:function(){return rY},title3:function(){return rG},title4:function(){return rJ},title5:function(){return r1},title6:function(){return r0},unorderedListCommand:function(){return rV}});var i,u={};n.r(u),n.d(u,{attentionMarkers:function(){return e4},contentInitial:function(){return eX},disable:function(){return e3},document:function(){return eK},flow:function(){return eJ},flowInitial:function(){return eG},insideSpan:function(){return e2},string:function(){return e1},text:function(){return e0}});var o={};n.r(o),n.d(o,{getBreaksNeededForEmptyLineAfter:function(){return rz},getBreaksNeededForEmptyLineBefore:function(){return rP},selectWord:function(){return rO}});var l={};function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){if(null==e)return{};var n,r,i={},u=Object.keys(e);for(r=0;r<u.length;r++)n=u[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.r(l),n.d(l,{TextAreaCommandOrchestrator:function(){return ic},TextAreaTextApi:function(){return il},bold:function(){return rN},checkedListCommand:function(){return rW},code:function(){return rM},codeBlock:function(){return rU},codeEdit:function(){return r5},codeLive:function(){return r7},codePreview:function(){return r6},divider:function(){return r3},fullscreen:function(){return r8},getCommands:function(){return ii},getExtraCommands:function(){return iu},getStateFromTextArea:function(){return io},group:function(){return r4},hr:function(){return rQ},image:function(){return r9},italic:function(){return rR},link:function(){return r_},orderedListCommand:function(){return r$},quote:function(){return rZ},strikethrough:function(){return ie},title:function(){return rK},title1:function(){return rX},title2:function(){return rY},title3:function(){return rG},title4:function(){return rJ},title5:function(){return r1},title6:function(){return r0},unorderedListCommand:function(){return rV}});var s=n(19469);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var d=n(87665);function p(e){return m(e&&e.line)+":"+m(e&&e.column)}function h(e){return p(e&&e.start)+"-"+p(e&&e.end)}function m(e){return e&&"number"==typeof e?e:1}
8class g extends Error{constructor(e,t,n){var r;let i=[null,null],u={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?i[1]=n:(i[0]=n.slice(0,e),i[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(u=t.position):"start"in t||"end"in t?u=t:("line"in t||"column"in t)&&(u.start=t)),this.name=((r=t)&&"object"==typeof r?"position"in r||"type"in r?h(r.position):"start"in r||"end"in r?h(r):"line"in r||"column"in r?p(r):"":"")||"1:1",this.message="object"==typeof e?e.message:e,this.stack="object"==typeof e?e.stack:"",this.reason=this.message,this.fatal,this.line=u.start.line,this.column=u.start.column,this.source=i[0],this.ruleId=i[1],this.position=u,this.actual,this.expected,this.file,this.url,this.note}}g.prototype.file="",g.prototype.name="",g.prototype.reason="",g.prototype.message="",g.prototype.stack="",g.prototype.fatal=null,g.prototype.column=null,g.prototype.line=null,g.prototype.source=null,g.prototype.ruleId=null,g.prototype.position=null;let D={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');x(e);let r=0,i=-1,u=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;u--;)if(47===e.charCodeAt(u)){if(n){r=u+1;break}}else i<0&&(n=!0,i=u+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,l=t.length-1;for(;u--;)if(47===e.charCodeAt(u)){if(n){r=u+1;break}}else o<0&&(n=!0,o=u+1),l>-1&&(e.charCodeAt(u)===t.charCodeAt(l--)?l<0&&(i=u):(l=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(x(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;x(e);let n=e.length,r=-1,i=0,u=-1,o=0;for(;n--;){let l=e.charCodeAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?u<0?u=n:1!==o&&(o=1):u>-1&&(o=-1)}return u<0||r<0||0===o||1===o&&u===r-1&&u===i+1?"":e.slice(u,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)x(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){x(e);let t=47===e.charCodeAt(0),n=function(e,t){let n,r,i="",u=0,o=-1,l=0,c=-1;for(;++c<=e.length;){if(c<e.length)n=e.charCodeAt(c);else if(47===n)break;else n=47;if(47===n){if(o===c-1||1===l);else if(o!==c-1&&2===l){if(i.length<2||2!==u||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",u=0):u=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=c,l=0;continue}}else if(i.length>0){i="",u=0,o=c,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",u=2)}else i.length>0?i+="/"+e.slice(o+1,c):i=e.slice(o+1,c),u=c-o-1;o=c,l=0}else 46===n&&l>-1?l++:l=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function x(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function F(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let C=["history","path","basename","stem","extname","dirname"];class y{constructor(e){let t,n;t=e?"string"==typeof e||d(e)?{value:e}:F(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/",this.value,this.stored,this.result,this.map;let r=-1;for(;++r<C.length;){let e=C[r];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)C.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){F(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!F(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){let e=t.charCodeAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),E(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?D.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=D.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?D.basename(this.path):void 0}
8set basename(e){E(e,"basename"),v(e,"basename"),this.path=D.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?D.extname(this.path):void 0}set extname(e){if(v(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=D.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?D.basename(this.path,this.extname):void 0}set stem(e){E(e,"stem"),v(e,"stem"),this.path=D.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,n){let r=new g(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}}function v(e,t){if(e&&e.includes(D.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+D.sep+"`")}function E(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}var k=n(49817),A=n(65830),w=n(21733),S=n(8138);let B=(function e(){let t;let n=(0,S.r)(),r=[],i={},u=-1;return o.data=function(e,n){return"string"==typeof e?2==arguments.length?(O("data",t),i[e]=n,o):T.call(i,e)&&i[e]||null:e?(O("data",t),i=e,o):i},o.Parser=void 0,o.Compiler=void 0,o.freeze=function(){if(t)return o;for(;++u<r.length;){let[e,...t]=r[u];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let i=e.call(o,...t);"function"==typeof i&&n.use(i)}return t=!0,u=Number.POSITIVE_INFINITY,o},o.attachers=r,o.use=function(e,...n){let u;if(O("use",t),null==e);else if("function"==typeof e)a(e,...n);else if("object"==typeof e)Array.isArray(e)?c(e):l(e);else throw TypeError("Expected usable value, not `"+e+"`");return u&&(i.settings=Object.assign(i.settings||{},u)),o;function l(e){c(e.plugins),e.settings&&(u=Object.assign(u||{},e.settings))}function c(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)a(e);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;a(t,...n)}else l(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function a(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?((0,w.Z)(n[1])&&(0,w.Z)(t)&&(t=A(!0,n[1],t)),n[1]=t):r.push([...arguments])}},o.parse=function(e){o.freeze();let t=N(e),n=o.Parser;return(I("parse",n),L(n,"parse"))?new n(String(t),t).parse():n(String(t),t)},o.stringify=function(e,t){o.freeze();let n=N(t),r=o.Compiler;return(j("stringify",r),P(e),L(r,"compile"))?new r(e,n).compile():r(e,n)},o.run=function(e,t,r){if(P(e),o.freeze(),r||"function"!=typeof t||(r=t,t=void 0),!r)return new Promise(i);function i(i,u){n.run(e,N(t),function(t,n,o){n=n||e,t?u(t):i?i(n):r(null,n,o)})}i(null,r)},o.runSync=function(e,t){let n,r;return o.run(e,t,function(e,t){(0,k.N)(e),n=t,r=!0}),z("runSync","run",r),n},o.process=function(e,t){if(o.freeze(),I("process",o.Parser),j("process",o.Compiler),!t)return new Promise(n);function n(n,r){let i=N(e);function u(e,i){e||!i?r(e):n?n(i):t(null,i)}o.run(o.parse(i),i,(e,t,n)=>{if(!e&&t&&n){let r=o.stringify(t,n);null==r||("string"==typeof r||d(r)?n.value=r:n.result=r),u(e,n)}else u(e)})}n(null,t)},o.processSync=function(e){let t;o.freeze(),I("processSync",o.Parser),j("processSync",o.Compiler);let n=N(e);return o.process(n,function(e){t=!0,(0,k.N)(e)}),z("processSync","process",t),n},o;function o(){let t=e(),n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(A(!0,{},i)),t}})().freeze(),T={}.hasOwnProperty;function L(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(T.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function I(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Parser`")}function j(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Compiler`")}function O(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function P(e){if(!(0,w.Z)(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function z(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function N(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new y(e)}function M(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&U(e.children,t)||Array.isArray(e)&&U(e,t))||""}function U(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=M(e[r],t);return n.join("")}function R(e,t,n,r){let i;let u=e.length,o=0;if(t=t<0?-t>u?0:u+t:t>u?u:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),[].splice.apply(e,i),o+=1e4,t+=1e4}function _(e,t){return e.length>0?(R(e,e.length,0,t),e):t}let H={}.hasOwnProperty;function q(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r;let i=(H.call(e,n)?e[n]:void 0)||(e[n]={}),u=t[n];for(r in u){H.call(i,r)||(i[r]=[]);let e=u[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);R(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}let V=en(/[A-Za-z]/),$=en(/\d/),W=en(/[\dA-Fa-f]/),Z=en(/[\dA-Za-z]/),Q=en(/[!-/:-@[-`{-~]/),Y=en(/[#-'*+\--9=?A-Z^-~]/);function K(e){return null!==e&&(e<32||127===e)}function X(e){return null!==e&&(e<0||32===e)}function G(e){return null!==e&&e<-2}function J(e){return -2===e||-1===e||32===e}let ee=en(/\s/),et=en(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function en(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function er(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,u=0;return function(r){return J(r)?(e.enter(n),function r(o){return J(o)&&u++<i?(e.consume(o),r):(e.exit(n),t(o))}(r)):t(r)}}let ei={tokenize:function(e){let t;let 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"),er(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return G(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eu={tokenize:function(e){let t,n,r;let i=this,u=[],o=0;return l;function l(t){if(o<u.length){let n=u[o];return i.containerState=n[1],e.attempt(n[0].continuation,c,a)(t)}return a(t)}function c(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&D();let r=i.events.length,u=r;
8for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){n=i.events[u][1].end;break}g(o);let l=r;for(;l<i.events.length;)i.events[l][1].end=Object.assign({},n),l++;return R(i.events,u+1,0,i.events.slice(r)),i.events.length=l,a(e)}return l(e)}function a(n){if(o===u.length){if(!t)return d(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(eo,s,f)(n)}function s(e){return t&&D(),g(o),d(e)}function f(e){return i.parser.lazy[i.now().line]=o!==u.length,r=i.now().offset,h(e)}function d(t){return i.containerState={},e.attempt(eo,p,h)(t)}function p(e){return o++,u.push([i.currentConstruct,i.containerState]),d(e)}function h(r){if(null===r){t&&D(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return G(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,i.interrupt=void 0,l):(e.consume(n),t)}(r)}function m(e,u){let l=i.sliceStream(e);if(u&&l.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(l),i.parser.lazy[e.start.line]){let e,n,u=t.events.length;for(;u--;)if(t.events[u][1].start.offset<r&&(!t.events[u][1].end||t.events[u][1].end.offset>r))return;let l=i.events.length,c=l;for(;c--;)if("exit"===i.events[c][0]&&"chunkFlow"===i.events[c][1].type){if(e){n=i.events[c][1].end;break}e=!0}for(g(o),u=l;u<i.events.length;)i.events[u][1].end=Object.assign({},n),u++;R(i.events,c+1,0,i.events.slice(l)),i.events.length=u}}function g(t){let n=u.length;for(;n-- >t;){let t=u[n];i.containerState=t[1],t[0].exit.call(i,e)}u.length=t}function D(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eo={tokenize:function(e,t,n){return er(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},el={tokenize:function(e,t,n){return er(e,function(e){return null===e||G(e)?t(e):n(e)},"linePrefix")},partial:!0};function ec(e){let t,n,r,i,u,o,l;let c={},a=-1;for(;++a<e.length;){for(;(a in c);)a=c[a];if(t=e[a],a&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[a-1][1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,r;let i=e[t][1],u=e[t][2],o=t-1,l=[],c=i._tokenizer||u.parser[i.contentType](i.start),a=c.events,s=[],f={},d=-1,p=i,h=0,m=0,g=[0];for(;p;){for(;e[++o][1]!==p;);l.push(o),!p._tokenizer&&(n=u.sliceStream(p),p.next||n.push(null),r&&c.defineSkip(p.start),p._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(n),p._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++d<a.length;)"exit"===a[d][0]&&"enter"===a[d-1][0]&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(c.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){let t=a.slice(g[d],g[d+1]),n=l.pop();s.unshift([n,n+t.length-1]),R(e,n,2,t)}for(d=-1;++d<s.length;)f[h+s[d][0]]=h+s[d][1],h+=s[d][1]-s[d][0]-1;return f}(e,a)),a=c[a],l=!0);else if(t[1]._container){for(r=a,n=void 0;r--;)if("lineEnding"===(i=e[r])[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(e[n][1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},e[n][1].start),(u=e.slice(n,a)).unshift(t),R(e,n,a-n+1,u))}}return!l}let ea={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):G(t)?e.check(es,u,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function u(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return ec(e),e}},es={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),er(e,i,"linePrefix")};function i(i){if(null===i||G(i))return n(i);let u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},ef={tokenize:function(e){let t=this,n=e.attempt(el,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,r,er(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ea,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},ed={resolveAll:eg()},ep=em("string"),eh=em("text");function em(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,u,o);return u;function u(e){return c(e)?i(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return c(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function c(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:eg("text"===e?eD:void 0)}}function eg(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function eD(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let i=e[n-1][1],u=t.sliceStream(i),o=u.length,l=-1,c=0;for(;o--;){let e=u[o];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)c++,l--;if(l)break;l=-1}
8else if(-2===e)r=!0,c++;else if(-1===e);else{o++;break}}if(c){let u={type:n===e.length||r||c<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-c,offset:i.end.offset-c,_index:i.start._index+o,_bufferIndex:o?l:i.start._bufferIndex+l},end:Object.assign({},i.end)};i.end=Object.assign({},u.start),i.start.offset===i.end.offset?Object.assign(i,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}function ex(e,t,n){let r=[],i=-1;for(;++i<e.length;){let u=e[i].resolveAll;u&&!r.includes(u)&&(t=u(t,n),r.push(u))}return t}let eF={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(u){return e.enter("thematicBreak"),r=u,function u(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),u(n))}(o)):J(o)?er(e,u,"whitespace")(o):i<3||null!==o&&!G(o)?n(o):(e.exit("thematicBreak"),t(o))}(u)}}},eC={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],u=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:$(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(eF,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return $(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(el,r.interrupt?n:c,e.attempt(ey,s,a))}
8function c(e){return r.containerState.initialBlankLine=!0,u++,s(e)}function a(t){return J(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),s):n(t)}function s(n){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(el,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,er(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!J(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ev,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,er(e,e.attempt(eC,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},ey={tokenize:function(e,t,n){let r=this;return er(e,function(e){let i=r.events[r.events.length-1];return!J(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ev={tokenize:function(e,t,n){let r=this;return er(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},eE={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return J(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return er(e,e.attempt(eE,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function eb(e,t,n,r,i,u,o,l,c){let a=c||Number.POSITIVE_INFINITY,s=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(u),e.consume(t),e.exit(u),f):null===t||41===t||K(t)?n(t):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function f(n){return 62===n?(e.enter(u),e.consume(n),e.exit(u),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(l),f(t)):null===t||60===t||G(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(i){return 40===i?++s>a?n(i):(e.consume(i),h):41===i?s--?(e.consume(i),h):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(i)):null===i||X(i)?s?n(i):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(i)):K(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function ek(e,t,n,r,i,u){let o;let l=this,c=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(u),a};function a(f){return null===f||91===f||93===f&&!o||94===f&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs||c>999?n(f):93===f?(e.exit(u),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):G(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a):(e.enter("chunkString",{contentType:"string"}),s(f))}function s(t){return null===t||91===t||93===t||G(t)||c++>999?(e.exit("chunkString"),a(t)):(e.consume(t),o=o||!J(t),92===t?f:s)}function f(t){return 91===t||92===t||93===t?(e.consume(t),c++,s):s(t)}}function eA(e,t,n,r,i,u){let o;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,l};function l(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(u),c(n))}function c(t){return t===o?(e.exit(u),l(o)):null===t?n(t):G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),er(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),a(t))}function a(t){return t===o||null===t||G(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?s:a)}function s(t){return t===o||92===t?(e.consume(t),a):a(t)}}function ew(e,t){let n;return function r(i){return G(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):J(i)?er(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function eS(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let eB={tokenize:function(e,t,n){return function(t){return X(t)?ew(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?eA(e,er(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function i(e){return null===e||G(e)?t(e):n(e)}},partial:!0},eT={name:"codeIndented",tokenize:function(e,t,n){let r=this;
8return function(t){return e.enter("codeIndented"),er(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?u(n):G(n)?e.attempt(eL,t,u)(n):(e.enter("codeFlowValue"),function n(r){return null===r||G(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function u(n){return e.exit("codeIndented"),t(n)}}},eL={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):er(e,u,"linePrefix",5)(t)}function u(e){let u=r.events[r.events.length-1];return u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?t(e):G(e)?i(e):n(e)}},partial:!0},eI={name:"setextUnderline",tokenize:function(e,t,n){let r,i;let u=this,o=u.events.length;for(;o--;)if("lineEnding"!==u.events[o][1].type&&"linePrefix"!==u.events[o][1].type&&"content"!==u.events[o][1].type){i="paragraph"===u.events[o][1].type;break}return function(t){return!u.parser.lazy[u.now().line]&&(u.interrupt||i)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),r=t,function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),er(e,l,"lineSuffix")(n))}(t)):n(t)};function l(r){return null===r||G(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){n=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),i||"definition"!==e[u][1].type||(i=u);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},ej=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eO=["pre","script","style","textarea"],eP={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(el,t,n)}},partial:!0},ez={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,u={tokenize:function(e,t,n){let i=0;return er(e,function(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(o){return o===r?(e.consume(o),i++,t):i<a?n(o):(e.exit("codeFencedFenceSequence"),er(e,u,"whitespace")(o))}(t)},"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function u(r){return null===r||G(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o={tokenize:function(e,t,n){let r=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},l=this.events[this.events.length-1],c=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,a=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),r=t,function t(i){return i===r?(e.consume(i),a++,t):(e.exit("codeFencedFenceSequence"),a<3?n(i):er(e,s,"whitespace")(i))}(t)};function s(t){return null===t||G(t)?d(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||X(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),er(e,f,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function f(t){return null===t||G(t)?d(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||G(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function d(n){return e.exit("codeFencedFence"),i.interrupt?t(n):function t(n){return null===n?p(n):G(n)?e.attempt(o,e.attempt(u,p,c?er(e,t,"linePrefix",c+1):t),p)(n):(e.enter("co
8deFlowValue"),function n(r){return null===r||G(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(n)}function p(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eN=n(4333);let eM={name:"characterReference",tokenize:function(e,t,n){let r,i;let u=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),r=31,i=Z,a(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=W,a):(e.enter("characterReferenceValue"),r=7,i=$,a(t))}function a(l){let c;return 59===l&&o?(c=e.exit("characterReferenceValue"),i!==Z||(0,eN.T)(u.sliceSerialize(c)))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l):i(l)&&o++<r?(e.consume(l),a):n(l)}}},eU={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Q(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eR={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),er(e,t,"linePrefix")}}},e_={name:"labelEnd",tokenize:function(e,t,n){let r,i;let u=this,o=u.events.length;for(;o--;)if(("labelImage"===u.events[o][1].type||"labelLink"===u.events[o][1].type)&&!u.events[o][1]._balanced){r=u.events[o][1];break}return function(t){return r?r._inactive?c(t):(i=u.parser.defined.includes(eS(u.sliceSerialize({start:r.end,end:u.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(n){return 40===n?e.attempt(eH,t,i?t:c)(n):91===n?e.attempt(eq,t,i?e.attempt(eV,t,c):c)(n):i?t(n):c(n)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,u,o=e.length,l=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(i=o);let c={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},s={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[i-2][1].start)};return u=_(u=[["enter",c,t],["enter",a,t]],e.slice(r+1,r+l+3)),u=_(u,[["enter",s,t]]),u=_(u,ex(t.parser.constructs.insideSpan.null,e.slice(r+l+4,i-3),t)),u=_(u,[["exit",s,t],e[i-2],e[i-1],["exit",a,t]]),u=_(u,e.slice(i+1)),u=_(u,[["exit",c,t]]),R(e,r,e.length,u),e},resolveAll:function(e){let t,n=-1;for(;++n<e.length;)("labelImage"===(t=e[n][1]).type||"labelLink"===t.type||"labelEnd"===t.type)&&(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},eH={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),ew(e,r)};function r(t){return 41===t?o(t):eb(e,i,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return X(t)?ew(e,u)(t):o(t)}function u(t){return 34===t||39===t||40===t?eA(e,ew(e,o),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):o(t)}function o(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eq={tokenize:function(e,t,n){let r=this;return function(t){return ek.call(r,e,i,n,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(eS(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},eV={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},e$={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),u):n(t)}function u(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:e_.resolveAll};function eW(e){return null===e||X(e)||ee(e)?1:et(e)?2:void 0}let eZ={name:"attention",tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,u=eW(i);return function(o){return e.enter("attentionSequence"),n=o,function o(l){if(l===n)return e.consume(l),o;let c=e.exit("attentionSequence"),a=eW(l),s=!a||2===a&&u||r.includes(l),f=!u||2===u&&a||r.includes(i);return c._open=!!(42===n?s:s&&(u||!f)),c._close=!!(42===n?f:f&&(a||!s)),t(l)}(o)}},resolveAll:function(e,t){let n,r,i,u,o,l,c,a,s=-1;for(;++s<e.length;)if("enter"===e[s][0]&&"attentionSequence"===e[s][1].type&&e[s][1]._close){for(n=s;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
8n][1]).charCodeAt(0)===t.sliceSerialize(e[s][1]).charCodeAt(0)){if((e[n][1]._close||e[s][1]._open)&&(e[s][1].end.offset-e[s][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[s][1].end.offset-e[s][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[s][1].end.offset-e[s][1].start.offset>1?2:1;let f=Object.assign({},e[n][1].end),d=Object.assign({},e[s][1].start);eQ(f,-l),eQ(d,l),u={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[s][1].start),end:d},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[s][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},u.start),e[s][1].start=Object.assign({},o.end),c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=_(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=_(c,[["enter",r,t],["enter",u,t],["exit",u,t],["enter",i,t]]),c=_(c,ex(t.parser.constructs.insideSpan.null,e.slice(n+1,s),t)),c=_(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[s][1].end.offset-e[s][1].start.offset?(a=2,c=_(c,[["enter",e[s][1],t],["exit",e[s][1],t]])):a=0,R(e,n-1,s-n+3,c),s=n+c.length-a-2;break}}for(s=-1;++s<e.length;)"attentionSequence"===e[s][1].type&&(e[s][1].type="data");return e}};function eQ(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eY={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:e_.resolveAll},eK={42:eC,43:eC,45:eC,48:eC,49:eC,50:eC,51:eC,52:eC,53:eC,54:eC,55:eC,56:eC,57:eC,62:eE},eX={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),ek.call(i,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function u(t){return(r=eS(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),ew(e,eb(e,e.attempt(eB,er(e,o,"whitespace"),er(e,o,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function o(u){return null===u||G(u)?(e.exit("definition"),i.parser.defined.includes(r)||i.parser.defined.push(r),t(u)):n(u)}}}},eG={[-2]:eT,[-1]:eT,32:eT},eJ={35:{name:"headingAtx",tokenize:function(e,t,n){let r=this,i=0;return function(u){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function u(o){return 35===o&&i++<6?(e.consume(o),u):null===o||X(o)?(e.exit("atxHeadingSequence"),r.interrupt?t(o):function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||G(r)?(e.exit("atxHeading"),t(r)):J(r)?er(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||X(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(u)}},resolve:function(e,t){let n,r,i=e.length-2,u=3;return"whitespace"===e[3][1].type&&(u+=2),i-2>u&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(u===i-1||i-4>u&&"whitespace"===e[i-2][1].type)&&(i-=u+1===i?2:4),i>u&&(n={type:"atxHeadingText",start:e[u][1].start,end:e[i][1].end},r={type:"chunkText",start:e[u][1].start,end:e[i][1].end,contentType:"text"},R(e,u,i-u+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:eF,45:[eI,eF],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,u,o,l;let c=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),a};function a(o){return 33===o?(e.consume(o),s):47===o?(e.consume(o),p):63===o?(e.consume(o),r=3,c.interrupt?t:L):V(o)?(e.consume(o),u=String.fromCharCode(o),i=!0,h):n(o)}function s(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,u="CDATA[",o=0,d):V(i)?(e.consume(i),r=4,c.interrupt?t:L):n(i)}function f(r){return 45===r?(e.consume(r),c.interrupt?t:L):n(r)}function d(r){return r===u.charCodeAt(o++)?(e.consume(r),o===u.length?c.interrupt?t:b:d):n(r)}function p(t){return V(t)?(e.consume(t),u=String.fromCharCode(t),h):n(t)}function h(o){return null===o||47===o||62===o||X(o)?47!==o&&i&&eO.includes(u.toLowerCase())?(r=1,c.interrupt?t(o):b(o)):ej.includes(u.toLowerCase())?(r=6,47===o)?(e.consume(o),m):c.interrupt?t(o):b(o):(r=7,c.interrupt&&!c.parser.lazy[c.now().line]?n(o):i?g(o):function t(n){return J(n)?(e.consume(n),t):v(n)}(o)):45===o||Z(o)?(e.consume(o),u+=String.fromCharCode(o),h):n(o)}function m(r){return 62===r?(e.consume(r),c.interrupt?t:b):n(r)}function g(t){return 47===t?(e.consume(t),v):58===t||95===t||V(t)?(e.consume(t),D):J(t)?(e.consume(t),g):v(t)}function D(t){return 45===t||46===t||58===t||95===t||Z(t)?(e.consume(t),D):x(t)}function x(t){return 61===t?(e.consume(t),F):J(t)?(e.consume(t),x):g(t)}function F(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,C):J(t)?(e.consume(t),F):(l=null,function t(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||X(n)?x(n):(e.consume(n),t)}(t))}function C(t){return null===t||G(t)?n(t):t===l?(e.consume(t),y):(e.consume(t),C)}function y(e){return 47===e||62===e||J(e)?g(e):n(e)}function v(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return J(t)?(e.consume(t),E):null===t||G(t)?b(t):n(t)}function b(t){return 45===t&&2===r?(e.consume(t),w):60===t&&1===r?(e.consume(t),S):62===t&&4===r?(e.consume(t),I):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),T):G(t)&&(6===r||7===r)?e.check(eP,I,k)(t):null===t||G(t)?k(t):(e.consume(t),b)}function k(t){return e.exit("htmlFlowData"),function t(n){return null===n?j(n):G(n)?e.attempt({tokenize:A,partial:!0},t,j)(n):(e.enter("htmlFlowData"),b(n))}(t)}function A(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return c.parser.lazy[c.now().line]?n(e):t(e)}}function w(t){return 45===t?(e.consume(t),L):b(t)}function S(t){return 47===t?(e.consume(t),u="",B):b(t)}function B(t){return 62===t&&eO.includes(u.toLowerCase())?(e.consume(t),I):V(t)&&u.length<8?(e.consume(t),u+=String.fromCharCode(t),B):b(t)}function T(t){return 93===t?(e.consume(t),L):b(t)}function L(t){return 62===t?(e.consume(t),I):45===t&&2===r?(e.consume(t),L):b(t)}function I(t){return null===t||G(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),I)}function j(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;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},61:eI,95:eF,96:ez,126:ez},e1={38:eM,92:eU},e0={[-5]:eR,[-4]:eR,[-3]:eR,33:e$,38:eM,42:eZ,60:[{name:"autolink",tokenize:function(e,t,n){let r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return V(t)?(e.consume(t),u):Y(t)?l(t):n(t)}function u(t){return 43===t||45===t||46===t||Z(t)?function t(n){return 58===n?(e.consume(n),o):(43===n||45===n||46===n||Z(n))&&r++<32?(e.consume(n),t):l(n)}(t):l(t)}function o(t){return 62===t?(e.exit("autolinkProtocol"),a(t)):null===t||32===t||60===t||K(t)?n(t):(e.consume(t),o)}function l(t){return 64===t?(e.consume(t),r=0,c):Y(t)?(e.consume(t),l):n(t)}function c(t){return Z(t)?function t(i){return 46===i?(e.consume(i),r=0,c):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",a(i)):function i(u){return(45===u||Z(u))&&r++<63?(e.consume(u),45===u?i:t):n(u)}(i)}(t):n(t)}function a(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,u,o;let l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),c};function c(t){return 33===t?(e.consume(t),a):47===t?(e.consume(t),v):63===t?(e.consume(t),C):V(t)?(e.consume(t),b):n(t)}function a(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i="CDATA[",u=0,m):V(t)?(e.consume(t),F):n(t)}function s(t){return 45===t?(e.consume(t),f):n(t)}function f(t){return null===t||62===t?n(t):45===t?(e.consume(t),d):p(t)}function d(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),h):G(t)?(o=p,L(t)):(e.consume(t),p)}function h(t){return 45===t?(e.consume(t),j):p(t)}function m(t){return t===i.charCodeAt(u++)?(e.consume(t),u===i.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),D):G(t)?(o=g,L(t)):(e.consume(t),g)}function D(t){return 93===t?(e.consume(t),x):g(t)}function x(t){return 62===t?j(t):93===t?(e.consume(t),x):g(t)}function F(t){return null===t||62===t?j(t):G(t)?(o=F,L(t)):(e.consume(t),F)}function C(t){return null===t?n(t):63===t?(e.consume(t),y):G(t)?(o=C,L(t)):(e.consume(t),C)}function y(e){return 62===e?j(e):C(e)}function v(t){return V(t)?(e.consume(t),E):n(t)}function E(t){return 45===t||Z(t)?(e.consume(t),E):function t(n){return G(n)?(o=t,L(n)):J(n)?(e.consume(n),t):j(n)}(t)}function b(t){return 45===t||Z(t)?(e.consume(t),b):47===t||62===t||X(t)?k(t):n(t)}function k(t){return 47===t?(e.consume(t),j):58===t||95===t||V(t)?(e.consume(t),A):G(t)?(o=k,L(t)):J(t)?(e.consume(t),k):j(t)}function A(t){return 45===t||46===t||58===t||95===t||Z(t)?(e.consume(t),A):function t(n){return 61===n?(e.consume(n),w):G(n)?(o=t,L(n)):J(n)?(e.consume(n),t):k(n)}(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,S):G(t)?(o=w,L(t)):J(t)?(e.consume(t),w):(e.consume(t),r=void 0,T)}function S(t){return t===r?(e.consume(t),B):null===t?n(t):G(t)?(o=S,L(t)):(e.consume(t),S)}function B(e){return 62===e||47===e||X(e)?k(e):n(e)}function T(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||X(t)?k(t):(e.consume(t),T)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),er(e,I,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(t){return e.enter("htmlTextData"),o(t)}function j(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}}],91:eY,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return G(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}},eU],93:e_,95:eZ,96:{name:"codeText",tokenize:function(e,t,n){let r,i,u=0;
8return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),u++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(c){return null===c?n(c):96===c?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===u?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",l(o))}(c)):32===c?(e.enter("space"),e.consume(c),e.exit("space"),o):G(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(c))}function l(t){return null===t||32===t||96===t||G(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),l)}},resolve:function(e){let 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<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},e2={null:[eZ,ed]},e4={null:[42,95]},e3={null:[]},e6=/[\0\t\n\r]/g;function e5(e,t){let n=Number.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?"�":String.fromCharCode(n)}let e7=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e8(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return e5(n.slice(t?2:1),t?16:10)}return(0,eN.T)(n)||e}function e9(e){return e&&"object"==typeof e?"position"in e||"type"in e?tt(e.position):"start"in e||"end"in e?tt(e):"line"in e||"column"in e?te(e):"":""}function te(e){return tn(e&&e.line)+":"+tn(e&&e.column)}function tt(e){return te(e&&e.start)+"-"+te(e&&e.end)}function tn(e){return e&&"number"==typeof e?e:1}let tr={}.hasOwnProperty,ti=function(e,t,n){let r,i,o,l;return"string"!=typeof t&&(n=t,t=void 0),(function(e={}){let t=function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(tr.call(t,n)){let r="canContainEols"===n||"transforms"===n,i=(tr.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),u=t[n];u&&(r?e[n]=[...i,...u]:Object.assign(i,u))}}(t,i)}return t}({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(C),autolinkProtocol:d,autolinkEmail:d,atxHeading:o(D),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:d,characterReference:d,codeFenced:o(g),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(g,l),codeText:o(function(){return{type:"inlineCode",value:""}},l),codeTextData:d,data:d,codeFlowValue:d,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(x),hardBreakTrailing:o(x),htmlFlow:o(F,l),htmlFlowData:d,htmlText:o(F,l),htmlTextData:d,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:l,link:o(C),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){n.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0)},listOrdered:o(y,function(){n.expectingFirstListItemValue=!0}),listUnordered:o(y),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(D),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:a(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let t;let r=this.sliceSerialize(e),i=n.characterReferenceType;i?(t=e5(r,"characterReferenceMarkerNumeric"===i?10:16),n.characterReferenceType=void 0):t=(0,eN.T)(r);let o=this.stack.pop();o.value+=t,o.position.end=u(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){!n.flowCodeInside&&(this.buffer(),n.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=eS(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(h),hardBreakTrailing:a(h),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:a(function(){let 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),n.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];n.inReference=!0,"link"===r.type?r.children=e.children:r.alt=t},labelText:function(e){let t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=n.replace(e7,e8),t.identifier=eS(n).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(n.atHardBreak){r.children[r.children.length-1].position.end=u(e.end),n.atHardBreak=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(d.call(this,e),p.call(this,e))},link:a(function(){let 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),n.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=eS(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:a(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:a(),thematicBreak:a()}},e.mdastExtensions||[]),n={};return function(e){let n={type:"root",children:[]},o=[],a=[],d={stack:[n],tokenStack:o,config:t,enter:c,exit:s,buffer:l,resume:f,setData:r,getData:i},p=-1;for(;++p<e.length;)("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)&&("enter"===e[p][0]?a.push(p):p=function(e,t,n){let r,i,u,o,l=t-1,c=-1,a=!1;for(;++l<=n;){let t=e[l];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?c++:c--,o=void 0):"lineEndingBlank"===t[1].type?"enter"
8===t[0]&&(!r||o||c||u||(u=l),o=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(o=void 0),!c&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===c&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=l;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",a=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}u&&(!i||u<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||l,0,["exit",r,t[2]]),l++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(l,0,["enter",r,t[2]]),l++,n++,u=void 0,o=!0)}}return e[t][1]._spread=a,n}(e,a.pop(),p));for(p=-1;++p<e.length;){let n=t[e[p][0]];tr.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},d),e[p][1])}if(o.length>0){let e=o[o.length-1];(e[1]||tu).call(d,void 0,e[0])}for(n.position={start:u(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:u(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)n=t.transforms[p](n)||n;return n};function r(e,t){n[e]=t}function i(e){return n[e]}function u(e){return{line:e.line,column:e.column,offset:e.offset}}function o(e,t){return function(n){c.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:u(t.start)},e}function a(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||tu).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+e9({start:e.start,end:e.end})+"): it’s not open");return n.position.end=u(e.end),n}function f(){return function(e,t){var{includeImageAlt:n=!0}={};return M(e,n)}(this.stack.pop())}function d(e){let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:u(e.start)},t.children.push(n)),this.stack.push(n)}function p(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=u(e.end)}function h(){n.atHardBreak=!0}function m(e){var t;t=e.type,n.characterReferenceType=t}function g(){return{type:"code",lang:null,meta:null,value:""}}function D(){return{type:"heading",depth:void 0,children:[]}}function x(){return{type:"break"}}function F(){return{type:"html",value:""}}function C(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!ec(e););return e}((function(e={}){let t={defined:[],lazy:{},constructs:q([u].concat(e.extensions||[])),content:n(ei),document:n(eu),flow:n(ef),string:n(ep),text:n(eh)};return t;function n(e){return function(n){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},u=[],o=[],l=[],c={consume:function(e){G(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),a.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=d(),a.events.push(["enter",n,a]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=d(),a.events.push(["exit",t,a]),t},attempt:h(function(e,t){m(e,t.from)}),check:h(p),interrupt:h(p,{interrupt:!0})},a={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:f,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let u;let o=e[r];if("string"==typeof o)u=o;else switch(o){case -5:u="\r";break;case -4:u="\n";break;case -3:u="\r\n";break;case -2:u=t?" ":"	";break;case -1:if(!t&&n)continue;u=" ";break;default:u=String.fromCharCode(o)}n=-2===o,i.push(u)}return i.join("")}(f(e),t)}
8,now:d,defineSkip:function(e){i[e.line]=e.column,g()},write:function(e){return(o=_(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),s=s(t)}else s=s(n)}}(),null!==o[o.length-1])?[]:(m(t,0),a.events=ex(u,a.events,a),a.events)}},s=t.tokenize.call(a,c);return t.resolveAll&&u.push(t),a;function f(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,u=t.end._index,o=t.end._bufferIndex;return r===u?n=[e[r].slice(i,o)]:(n=e.slice(r,u),i>-1&&(n[0]=n[0].slice(i)),o>0&&n.push(e[u].slice(0,o))),n}(o,e)}function d(){return Object.assign({},r)}function p(e,t){t.restore()}function h(e,t){return function(n,i,u){let o,s,f,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function h(e){return(o=e,s=0,0===e.length)?u:m(e[s])}function m(e){return function(n){return(p=function(){let e=d(),t=a.previous,n=a.currentConstruct,i=a.events.length,u=Array.from(l);return{restore:function(){r=e,a.previous=t,a.currentConstruct=n,a.events.length=i,l=u,g()},from:i}}(),f=e,e.partial||(a.currentConstruct=e),e.name&&a.parser.constructs.disable.null.includes(e.name))?x(n):e.tokenize.call(t?Object.assign(Object.create(a),t):a,c,D,x)(n)}}function D(t){return e(f,p),i}function x(e){return(p.restore(),++s<o.length)?m(o[s]):u}}}function m(e,t){e.resolveAll&&!u.includes(e)&&u.push(e),e.resolve&&R(a.events,t,a.events.length-t,e.resolve(a.events.slice(t),a)),e.resolveTo&&(a.events=e.resolveTo(a.events,a))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((i=1,o="",l=!0,function(e,t,n){let u,c,a,s,f;let d=[];for(e=o+e.toString(t),a=0,o="",l&&(65279===e.charCodeAt(0)&&a++,l=void 0);a<e.length;){if(e6.lastIndex=a,s=(u=e6.exec(e))&&void 0!==u.index?u.index:e.length,f=e.charCodeAt(s),!u){o=e.slice(a);break}if(10===f&&a===s&&r)d.push(-3),r=void 0;else switch(r&&(d.push(-5),r=void 0),a<s&&(d.push(e.slice(a,s)),i+=s-a),f){case 0:d.push(65533),i++;break;case 9:for(c=4*Math.ceil(i/4),d.push(-2);i++<c;)d.push(-1);break;case 10:d.push(-4),i=1;break;default:r=!0,i=1}a=s+1}return n&&(r&&d.push(-5),o&&d.push(o),d.push(null)),d})(e,t,!0))))};function tu(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+e9({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+e9({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+e9({start:t.start,end:t.end})+") is still open")}var to=function(e){Object.assign(this,{Parser:t=>ti(t,Object.assign({},this.data("settings"),e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))})},tl=function(e,t,n){var r={type:String(e)};return null==n&&("string"==typeof t||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r},tc=n(84802),ta=n(24998);let ts={}.hasOwnProperty;function tf(e){return String(e||"").toUpperCase()}let td={}.hasOwnProperty;function tp(e,t,n){let r;let i=t&&t.type;if(!i)throw Error("Expected node, got `"+t+"`");return("function"==typeof(r=td.call(e.handlers,i)?e.handlers[i]:e.passThrough&&e.passThrough.includes(i)?th:e.unknownHandler)?r:function(e,t){let n=t.data||{};return"value"in t&&!(td.call(n,"hName")||td.call(n,"hProperties")||td.call(n,"hChildren"))?e.augment(t,tl("text",t.value)):e(t,"div",tm(e,t))})(e,t,n)}function th(e,t){return"children"in t?{...t,children:tm(e,t)}:t}function tm(e,t){let n=[];if("children"in t){let r=t.children,i=-1;for(;++i<r.length;){let u=tp(e,r[i],t);if(u){if(i&&"break"===r[i-1].type&&(Array.isArray(u)||"text"!==u.type||(u.value=u.value.replace(/^\s+/,"")),!Array.isArray(u)&&"element"===u.type)){let e=u.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(u)?n.push(...u):n.push(u)}}}return n}function tg(e,t){return e(t,"hr")}function tD(e,t){let n=[],r=-1;for(t&&n.push(tl("text","\n"));++r<e.length;)r&&n.push(tl("text","\n")),n.push(e[r]);return t&&e.length>0&&n.push(tl("text","\n")),n}function tx(e,t){let n={},r=t.ordered?"ol":"ul",i=tm(e,t),u=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++u<i.length;){let e=i[u];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,tD(i,!0))}function tF(e,t){let n=e.footnoteOrder,r=String(t.identifier),i=n.indexOf(r),u=String(-1===i?n.push(r):i+1);return e(t,"a",{href:"#fn"+u,className:["footnote-ref"],id:"fnref"+u,role:"doc-noteref"},[e(t.position,"sup",[tl("text",u)])])}var tC=n(8900);function ty(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return tl("text","!["+t.alt+r);let i=tm(e,t),u=i[0];u&&"text"===u.type?u.value="["+u.value:i.unshift(tl("text","["));let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push(tl("text",r)),i}function tv(e){let t=e.spread;return null==t?e.children.length>1:t}let tE={blockquote:function(e,t){return e(t,"blockquote",tD(tm(e,t),!0))},break:function(e,t){return[e(t,"br"),tl("text","\n")]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);let u=e(t,"code",i,[tl("text",n)]);return t.meta&&(u.data={meta:t.meta}),e(t.position,"pre",[u])},delete:function(e,t){return e(t,"del",tm(e,t))},emphasis:function(e,t){return e(t,"em",tm(e,t))},footnoteReference:tF,footnote:function(e,t){let n=e.footnoteById,r=e.footnoteOrder,i=1;for(;(i in n);)i++;let u=String(i);return r.push(u),n[u]={type:"footnoteDefinition",identifier:u,children:[{type:"paragraph",children:t.children}],position:t.position},tF(e,{type:"footnoteReference",identifier:u,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,tm(e,t))},html:function(e,t){return e.dangerous?e.augment(t,tl("raw",t.value)):null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return ty(e,t);let r={src:tC(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"img",r)},image:function(e,t){let n={src:tC(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[tl("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return ty(e,t);let r={href:tC(n.url||"")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"a",r,tm(e,t))},link:function(e,t){let n={href:tC(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,tm(e,t))},listItem:function(e,t,n){let r=tm(e,t),i=n?function(e){let t=e.spread,n=e.children,r=-1;for(;!t&&++r<n.length;)t=tv(n[r]);return!!t}(n):tv(t),u={},o=[];if("boolean"==typeof t.checked){let n;r[0]&&"element"===r[0].type&&"p"===r[0].tagName?n=r[0]:(n=e(null,"p",[]),r.unshift(n)),n.children.length>0&&n.children.unshift(tl("text"," ")),n.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),u.className=["task-list-item"]}let l=-1;for(;++l<r.length;){let e=r[l];(i||0!==l||"element"!==e.type||"p"!==e.tagName)&&o.push(tl("text","\n")),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let c=r[r.length-1];return!c||!i&&"tagName"in c&&"p"===c.tagName||o.push(tl("text","\n")),e(t,"li",u,o)},list:tx,paragraph:function(e,t){return e(t,"p",tm(e,t))},root:function(e,t){return e.augment(t,tl("root",tD(tm(e,t))))},strong:function(e,t){return e(t,"strong",tm(e,t))},table:function(e,t){let n=t.children,r=-1,i=t.align||[],u=[];for(;++r<n.length;){let o=n[r].children,l=0===r?"th":"td",c=t.align?i.length:o.length,a=[];for(;c--;){let t=o[c];
8a[c]=e(t,l,{align:i[c]},t?tm(e,t):[])}u[r]=e(n[r],"tr",tD(a,!0))}return e(t,"table",tD([e(u[0].position,"thead",tD([u[0]],!0))].concat(u[1]?e({start:(0,ta.Pk)(u[1]),end:(0,ta.rb)(u[u.length-1])},"tbody",tD(u.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,tl("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:tg,toml:tb,yaml:tb,definition:tb,footnoteDefinition:tb};function tb(){return null}let tk={}.hasOwnProperty;function tA(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,i={};return o.dangerous=r,o.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return(0,tc.Vn)(e,"definition",e=>{let n=tf(e.identifier);n&&!ts.call(t,n)&&(t[n]=e)}),function(e){let n=tf(e);return n&&ts.call(t,n)?t[n]:null}}(e),o.footnoteById=i,o.footnoteOrder=[],o.augment=u,o.handlers={...tE,...n.handlers},o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,(0,tc.Vn)(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();tk.call(i,t)||(i[t]=e)}),o;function u(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column||(t.position={start:(0,ta.Pk)(n),end:(0,ta.rb)(n)})}return t}function o(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),u(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=tp(n,e,null),i=function(e){let t=e.footnoteById,n=e.footnoteOrder,r=-1,i=[];for(;++r<n.length;){let e=t[n[r].toUpperCase()];if(!e)continue;let u=String(r+1),o=[...e.children],l={type:"link",url:"#fnref"+u,data:{hProperties:{className:["footnote-back"],role:"doc-backlink"}},children:[{type:"text",value:"↩"}]},c=o[o.length-1];c&&"paragraph"===c.type?c.children.push(l):o.push(l),i.push({type:"listItem",data:{hProperties:{id:"fn"+u,role:"doc-endnote"}},children:o,position:e.position})}return 0===i.length?null:e(null,"section",{className:["footnotes"],role:"doc-endnotes"},tD([tg(e),tx(e,{type:"list",ordered:!0,children:i})],!0))}(n);return i&&r.children.push(tl("text","\n"),i),Array.isArray(r)?{type:"root",children:r}:r}var tw=function(e,t){return e&&"run"in e?(n,r,i)=>{e.run(tA(n,t),r,e=>{i(e)})}:t=>tA(t,e)},tS=n(74809),tB=n(30740);function tT(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 t=>{(0,tc.Vn)(t,"element",(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})}}let tL=["http","https","mailto","tel"];var tI=n(385),tj=n(39670),tO=n(20259),tP=n(49028),tz=n(28705),tN=n(68903);let tM={}.hasOwnProperty,tU=new Set(["table","thead","tbody","tfoot","tr"]);function tR(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function t_(e,t){return t.toUpperCase()}let tH={}.hasOwnProperty,tq={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 tV(e){for(let t in tq)if(tH.call(tq,t)&&tH.call(e,t)){let e=tq[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete tq[t]}let t=B().use(to).use(e.remarkPlugins||e.plugins||[]).use(tw,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(tT,e),n=new y;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let i=s.createElement(s.Fragment,{},function e(t,n){let r;let i=[],u=-1;for(;++u<n.children.length;)"element"===(r=n.children[u]).type?i.push(function(t,n,r,i){let u;let o=t.options,l=t.schema,c=n.tagName,a={},f=l;if("html"===l.space&&"svg"===c&&(f=tB.YP,t.schema=f),n.properties)for(u in n.properties)tM.call(n.properties,u)&&function(e,t,n,r){let i=(0,tj.s)(r.schema,t),u=n;null!=u&&u==u&&(Array.isArray(u)&&(u=i.commaSeparated?(0,tz.P)(u):(0,tP.P)(u)),"style"===i.property&&"string"==typeof u&&(u=function(e){let t={};try{tN(e,function(e,n){t[("-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e).replace(/-([a-z])/g,t_)]=n})}catch{}return t}(u)),i.space&&i.property?e[tM.call(tO.D,i.property)?tO.D[i.property]:i.property]=u:i.attribute&&(e[i.attribute]=u))}(a,u,n.properties[u],t);("ol"===c||"ul"===c)&&t.listDepth++;let d=e(t,n);("ol"===c||"ul"===c)&&t.listDepth--,t.schema=l;let p=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=o.components&&tM.call(o.components,c)?o.components[c]:c,m="string"==typeof h||h===s.Fragment;if(!tI.isValidElementType(h))throw TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(a.key=[c,p.start.line,p.start.column,r].join("-"),"a"===c&&o.linkTarget&&(a.target="function"==typeof o.linkTarget?o.linkTarget(String(a.href||""),n.children,"string"==typeof a.title?a.title:null):o.linkTarget),"a"===c&&o.transformLinkUri&&(a.href=o.transformLinkUri(String(a.href||""),n.children,"string"==typeof a.title?a.title:null)),m||"code"!==c||"element"!==i.type||"pre"===i.tagName||(a.inline=!0),m||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(a.level=Number.parseInt(c.charAt(1),10)),"img"===c&&o.transformImageUri&&(a.src=o.transformImageUri(String(a.src||""),String(a.alt||""),"string"==typeof a.title?a.title:null)),!m&&"li"===c&&"element"===i.type){let e=function(e){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(n);a.checked=e&&e.properties?!!e.properties.checked:null,a.index=tR(i,n),a.ordered="ol"===i.tagName}return m||"ol"!==c&&"ul"!==c||(a.ordered="ol"===c,a.depth=t.listDepth),"td"!==c&&"th"!==c||(a.align&&(a.style||(a.style={}),a.style.textAlign=a.align,delete a.align),m||(a.isHeader="th"===c)),m||"tr"!==c||"element"!==i.type||(a.isHeader="thead"===i.tagName),o.sourcePos&&(a["data-sourcepos"]=[p.start.line,":",p.start.column,"-",p.end.line,":",p.end.column].map(e=>String(e)).join("")),!m&&o.rawSourcePos&&(a.sourcePosition=n.position),!m&&o.includeElementIndex&&(a.index=tR(i,n),a.siblingCount=tR(i)),m||(a.node=n),d.length>0?s.createElement(h,a,d):s.createElement(h,a)}(t,r,u,n)):"text"===r.type?"element"===n.type&&tU.has(n.tagName)&&"\n"===r.value||i.push(r.value):"raw"!==r.type||t.options.skipHtml||i.push(r.value);return i}({options:e,schema:tB.dy,listDepth:0},r));return e.className&&(i=s.createElement("div",{className:e.className},i)),i}tV.defaultProps={transformLinkUri:function(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<tL.length;){let e=tL[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return -1!==(i=t.indexOf("?"))&&r>i||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}},tV.propTypes={children:tS.string,className:tS.string,allowElement:tS.func,allowedElements:tS.arrayOf(tS.string),disallowedElements:tS.arrayOf(tS.string),unwrapDisallowed:tS.bool,remarkPlugins:tS.arrayOf(tS.oneOfType([tS.object,tS.func,tS.arrayOf(tS.oneOfType([tS.object,tS.func
8]))])),rehypePlugins:tS.arrayOf(tS.oneOfType([tS.object,tS.func,tS.arrayOf(tS.oneOfType([tS.object,tS.func]))])),sourcePos:tS.bool,rawSourcePos:tS.bool,skipHtml:tS.bool,includeElementIndex:tS.bool,transformLinkUri:tS.oneOfType([tS.func,tS.bool]),linkTarget:tS.oneOfType([tS.func,tS.string]),transformImageUri:tS.func,components:tS.object};let t$={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||119===t?(e.consume(t),i):n(t)}function i(t){return 87===t||119===t?(e.consume(t),u):n(t)}function u(t){return 46===t?(e.consume(t),o):n(t)}function o(e){return null===e||G(e)?n(e):t(e)}},partial:!0},tW={tokenize:function(e,t,n){let r,i;return u;function u(t){return 38===t?e.check(tY,l,o)(t):46===t||95===t?e.check(tQ,l,o)(t):null===t||K(t)||ee(t)||45!==t&&et(t)?l(t):(e.consume(t),u)}function o(t){return 46===t?(i=r,r=void 0):95===t&&(r=!0),e.consume(t),u}function l(e){return i||r?n(e):t(e)}},partial:!0},tZ={tokenize:function(e,t){let n=0;return r;function r(o){return 38===o?e.check(tY,t,i)(o):(40===o&&n++,41===o)?e.check(tQ,u,i)(o):t4(o)?t(o):t2(o)?e.check(tQ,t,i)(o):(e.consume(o),r)}function i(t){return e.consume(t),r}function u(e){return--n<0?t(e):i(e)}},partial:!0},tQ={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(i){return t2(i)?(e.consume(i),r):t4(i)?t(i):n(i)}},partial:!0},tY={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return V(t)?(e.consume(t),r):59===t?(e.consume(t),i):n(t)}function i(e){return t4(e)?t(e):n(e)}},partial:!0},tK={tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!t6(r.previous)||t8(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(t$,e.attempt(tW,e.attempt(tZ,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:t6},tX={tokenize:function(e,t,n){let r=this;return function(t){return 72!==t&&104!==t||!t5(r.previous)||t8(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i)};function i(t){return 84===t||116===t?(e.consume(t),u):n(t)}function u(t){return 84===t||116===t?(e.consume(t),o):n(t)}function o(t){return 80===t||112===t?(e.consume(t),l):n(t)}function l(t){return 83===t||115===t?(e.consume(t),c):c(t)}function c(t){return 58===t?(e.consume(t),a):n(t)}function a(t){return 47===t?(e.consume(t),s):n(t)}function s(t){return 47===t?(e.consume(t),f):n(t)}function f(t){return null===t||K(t)||ee(t)||et(t)?n(t):e.attempt(tW,e.attempt(tZ,d),n)(t)}function d(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:t5},tG={tokenize:function(e,t,n){let r,i;let u=this;return function(t){return!t3(t)||!t7(u.previous)||t8(u.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return t3(r)?(e.consume(r),t):64===r?(e.consume(r),o):n(r)}(t))};function o(t){return 46===t?e.check(tQ,s,l)(t):45===t||95===t?e.check(tQ,n,c)(t):Z(t)?(!i&&$(t)&&(i=!0),e.consume(t),o):s(t)}function l(t){return e.consume(t),r=!0,i=void 0,o}function c(t){return e.consume(t),a}function a(t){return 46===t?e.check(tQ,n,l)(t):o(t)}function s(u){return r&&!i?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(u)):n(u)}},previous:t7},tJ={},t1={text:tJ},t0=48;for(;t0<123;)tJ[t0]=tG,58==++t0?t0=65:91===t0&&(t0=97);function t2(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function t4(e){return null===e||60===e||X(e)}function t3(e){return 43===e||45===e||46===e||95===e||Z(e)}function t6(e){return null===e||40===e||42===e||95===e||126===e||X(e)}function t5(e){return null===e||!V(e)}function t7(e){return 47!==e&&t5(e)}function t8(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}tJ[43]=tG,tJ[45]=tG,tJ[46]=tG,tJ[95]=tG,tJ[72]=[tG,tX],tJ[104]=[tG,tX],tJ[87]=[tG,tK],tJ[119]=[tG,tK];let t9={'"':"quot","&":"amp","<":"lt",">":"gt"};function ne(e,t){let n=this.sliceSerialize(e);this.tag('<a href="'+function(e,t){let n=(function(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let u=e.charCodeAt(n),o="";if(37===u&&Z(e.charCodeAt(n+1))&&Z(e.charCodeAt(n+2)))i=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(o=String.fromCharCode(u));else if(u>55295&&u<57344){let t=e.charCodeAt(n+1);u<56320&&t>56319&&t<57344?(o=String.fromCharCode(u,t),i=1):o="�"}else o=String.fromCharCode(u);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)})(e||"").replace(/["&<>]/g,function(e){return"&"+t9[e]+";"});if(!t)return n;let r=n.indexOf(":"),i=n.indexOf("?"),u=n.indexOf("#"),o=n.indexOf("/");return r<0||o>-1&&r>o||i>-1&&r>i||u>-1&&r>u||t.test(n.slice(0,r))?n:""}((t||"")+n)+'">'),this.raw(this.encode(n)),this.tag("</a>")}let nt={flow:{null:{tokenize:function(e,t,n){let r,i;let u=this,o=[],l=0;return function(t){return(e.enter("table")._align=o,e.enter("tableHead"),e.enter("tableRow"),124===t)?c(t):(l++,e.enter("temporaryTableCellContent"),f(t))};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,a}function a(t){return null===t||G(t)?function(t){if(null===t)return n(t);e.exit("tableRow"),e.exit("tableHead");let r=u.interrupt;return u.interrupt=!0,e.attempt({tokenize:S,partial:!0},function(t){return u.interrupt=r,e.enter("tableDelimiterRow"),p(t)},function(e){return u.interrupt=r,n(e)})(t)}(t):J(t)?(e.enter("whitespace"),e.consume(t),s):(r&&(r=void 0,l++),124===t)?c(t):(e.enter("temporaryTableCellContent"),f(t))}function s(t){return J(t)?(e.consume(t),s):(e.exit("whitespace"),a(t))}function f(t){return null===t||124===t||X(t)?(e.exit("temporaryTableCellContent"),a(t)):(e.consume(t),92===t?d:f)}function d(t){return 92===t||124===t?(e.consume(t),f):f(t)}function p(t){return null===t||G(t)?x(t):J(t)?(e.enter("whitespace"),e.consume(t),h):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,o.push("none"),m):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o.push("left"),g):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):n(t)}function h(t){return J(t)?(e.consume(t),h):(e.exit("whitespace"),p(t))}function m(t){return 45===t?(e.consume(t),m):(e.exit("tableDelimiterFiller"),58===t)?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o[o.length-1]="left"===o[o.length-1]?"center":"right",D):p(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,m):n(t)}function D(t){return null===t||G(t)?x(t):J(t)?(e.enter("whitespace"),e.consume(t),h):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):n(t)}function x(t){return(e.exit("tableDelimiterRow"),i&&l===o.length)?null===t?F(t):e.check(nn,F,e.attempt({tokenize:S,partial:!0},er(e,C,"linePrefix",4),F))(t):n(t)}function F(n){return e.exit("table"),t(n)}function C(t){return e.enter("tableBody"),y(t)}function y(t){return(e.enter("tableRow"),124===t)?v(t):(e.enter("temporaryTableCellContent"),k(t))}function v(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),E}function E(t){return null===t||G(t)?(e.exit("tableRow"),null===t)?w(t):e.check(nn,w,e.attempt({tokenize:S,partial:!0},er(e,y,"linePrefix",4),w))(t):J(t)?(e.enter("whitespace"),e.consume(t),b):124===t?v(t):(e.enter("temporaryTableCellContent"),k(t))}function b(t){return J(t)?(e.consume(t),b):(e.exit("whitespace"),E(t))}function k(t){return null===t||124===t||X(t)?(e.exit("temporaryTableCellContent"),E(t)):(e.consume(t),92===t?A:k)}function A(t){return 92===t||124===t?(e.consume(t),k):k(t)}function w(t){return e.exit("tableBody"),F(t)}function S(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),er(e,r,"linePrefix")};function r(r){if(u.parser.lazy[u.now().line]||null===r||G(r))return n(r);let i=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(r):(u._gfmTableDynamicInterruptHack=!0,e.check(u.parser.constructs.flow,function(e){return u._gfmTableDynamicInterruptHack=!1,n(e)},function(e){return u._gfmTableDynamicInterruptHack=!1,t(e)})(r))}}},resolve:function(e,t){let n,r,i,u,o,l,c,a=-1;for(;++a<e.length;){let s=e[a][1];if(i&&("temporaryTableCellContent"===s.type&&(u=u||a,o=a),("tableCellDivider"===s.type||"tableRow"===s.type)&&o)){let n={type:"tableContent",start:e[u][1].start,end:e[o][1].end},r={type:"chunkText",start:n.start,end:n.end,contentType:"text"};e.splice(u,o-u+1,["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]),a-=o-u-3,u=void 0,o=void 0}if("exit"===e[a][0]&&void 0!==l&&l+(c?0:1)<a&&("tableCellDivider"===s.type||"tableRow"===s.type&&(l+3<a||"whitespace"!==e[l][1].type))){let i={type:r?"tableDelimiter":n?"tableHeader":"tableData",start:e[l][1].start,end:e[a][1].end};e.splice(a+("tableCellDivider"===s.type?1:0),0,["exit",i,t]),e.splice(l,0,["enter",i,t]),a+=2,l=a+1,c=!0}"tableRow"===s.type&&(i="enter"===e[a][0])&&(l=a+1,c=!1),"tableDelimiterRow"===s.type&&(r="enter"===e[a][0])&&(l=a+1,c=!1),"tableHead"===s.type&&(n="enter"===e[a][0])}return e}}}},nn={tokenize:function(e,t,n){let r=0;return function(t){return e.enter("check"),e.consume(t),i};function i(u){return -1===u||32===u?(e.consume(u),4==++r?t:i):null===u||X(u)?t(u):n(u)}},partial:!0},nr={none:"",left:' align="left"',right:' align="right"',center:' align="center"'};function ni(e,t){return"|"===t?t:e}let nu=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|title|textarea|xmp)(?=[\t\n\f\r />])/gi,no=RegExp("^"+nu.source,"i");function nl(e,t){let n=this.sliceSerialize(e);this.options.allowDangerousHtml&&(n=n.replace(t,"&lt;$1$2")),this.raw(this.encode(n))}let nc={text:{91:{tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return X(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),u):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),u):n(t)}function u(r){return 93===r?(e.enter("taskListCheckMarker"),e.consume(r),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:na},t,n)):n(r)}}}}};function na(e,t,n){let r=this;return er(e,function(e){let i=r.events[r.events.length-1];return(i&&"whitespace"===i[1].type||G(e))&&null!==e?t(e):n(e)},"whitespace")}function ns(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}!function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r;let i=(H.call(e,n)?e[n]:void 0)||(e[n]={}),u=t[n];if(u)for(r in u)i[r]=u[r]}}(t,e[n])}([{exit:{literalAutolinkEmail:function(e){ne.call(this,e,"mailto:")},literalAutolinkHttp:function(e){ne.call(this,e)},literalAutolinkWww:function(e){ne.call(this,e,"http://")}}}
8,{enter:{strikethrough(){this.tag("<del>")}},exit:{strikethrough(){this.tag("</del>")}}},{enter:{table(e){let t=e._align;this.lineEndingIfNeeded(),this.tag("<table>"),this.setData("tableAlign",t)},tableBody(){this.setData("slurpOneLineEnding"),this.tag("<tbody>")},tableData(){let e=nr[this.getData("tableAlign")[this.getData("tableColumn")]];void 0===e?this.buffer():(this.lineEndingIfNeeded(),this.tag("<td"+e+">"))},tableHead(){this.lineEndingIfNeeded(),this.tag("<thead>")},tableHeader(){let e=nr[this.getData("tableAlign")[this.getData("tableColumn")]];this.lineEndingIfNeeded(),this.tag("<th"+e+">")},tableRow(){this.setData("tableColumn",0),this.lineEndingIfNeeded(),this.tag("<tr>")}},exit:{codeTextData(e){let t=this.sliceSerialize(e);this.getData("tableAlign")&&(t=t.replace(/\\([\\|])/g,ni)),this.raw(this.encode(t))},table(){this.setData("tableAlign"),this.setData("slurpAllLineEndings"),this.lineEndingIfNeeded(),this.tag("</table>")},tableBody(){this.lineEndingIfNeeded(),this.tag("</tbody>")},tableData(){let e=this.getData("tableAlign"),t=this.getData("tableColumn");t in e?(this.tag("</td>"),this.setData("tableColumn",t+1)):this.resume()},tableHead(){this.lineEndingIfNeeded(),this.tag("</thead>"),this.setData("slurpOneLineEnding",!0)},tableHeader(){let e=this.getData("tableColumn");this.tag("</th>"),this.setData("tableColumn",e+1)},tableRow(){let e=this.getData("tableAlign"),t=this.getData("tableColumn");for(;t<e.length;)this.lineEndingIfNeeded(),this.tag("<td"+nr[e[t]]+"></td>"),t++;this.setData("tableColumn",t),this.lineEndingIfNeeded(),this.tag("</tr>")}}},{exit:{htmlFlowData(e){nl.call(this,e,nu)},htmlTextData(e){nl.call(this,e,no)}}}
8,{enter:{taskListCheck(){this.tag('<input type="checkbox" disabled="" ')}},exit:{taskListCheck(){this.tag("/>")},taskListCheckValueChecked(){this.tag('checked="" ')}}}]);var nf=n(20145),nd=n(75056);let np={}.hasOwnProperty,nh=function(e,t,n,r){let i,u;"string"==typeof t||t instanceof RegExp?(u=[[t,n]],i=r):(u=t,i=n),i||(i={});let o=(0,nd.O)(i.ignore||[]),l=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([nm(e[n][0]),ng(e[n][1])])}else{let n;for(n in e)np.call(e,n)&&t.push([nm(n),ng(e[n])])}return t}(u),c=-1;for(;++c<l.length;)(0,nf.S4)(e,"text",a);return e;function a(e,t){let n,r=-1;for(;++r<t.length;){let e=t[r];if(o(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n;let r=t[t.length-1],i=l[c][0],u=l[c][1],o=0,a=r.children.indexOf(e),s=!1,f=[];i.lastIndex=0;let d=i.exec(e.value);for(;d;){n=d.index;let r={index:d.index,input:d.input,stack:[...t,e]},l=u(...d,r);if("string"==typeof l&&(l=l.length>0?{type:"text",value:l}:void 0),!1!==l&&(o!==n&&f.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(l)?f.push(...l):l&&f.push(l),o=n+d[0].length,s=!0),!i.global)break;d=i.exec(e.value)}return s?(o<e.value.length&&f.push({type:"text",value:e.value.slice(o)}),r.children.splice(a,1,...f)):f=[e],a+f.length}(e,t)}};function nm(e){return"string"==typeof e?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function ng(e){return"function"==typeof e?e:()=>e}let nD="phrasing",nx=["autolink","link","image","label"],nF={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:nD,notInConstruct:nx},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:nD,notInConstruct:nx},{character:":",before:"[ps]",after:"\\/",inConstruct:nD,notInConstruct:nx}]};function nC(e){this.config.enter.autolinkProtocol.call(this,e)}function ny(e,t,n,r,i){let u="";if(!nE(i)||(/^w/i.test(t)&&(n=t+n,t="",u="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let o=function(e){let t,n,r,i;let u=/[!"&'),.:;<>?\]}]+$/.exec(e);if(u)for(e=e.slice(0,u.index),t=(i=u[0]).indexOf(")"),n=ns(e,"("),r=ns(e,")");-1!==t&&n>r;)e+=i.slice(0,t+1),t=(i=i.slice(t+1)).indexOf(")"),r++;return[e,i]}(n+r);if(!o[0])return!1;let l={type:"link",title:null,url:u+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function nv(e,t,n,r){return!(!nE(r,!0)||/[_-\d]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function nE(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||ee(n)||et(n))&&(!t||47!==n)}function nb(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,u=n.column||1;return{move:function(e=""){let t=e.split(/\r?\n|\r/g),n=t[t.length-1];return i+=t.length-1,u=1===t.length?u+n.length:1+n.length+r,e},current:function(){return{now:{line:i,column:u},lineShift:r}},shift:function(e){r+=e}}}function nk(e,t,n){let r=t.indexStack,i=e.children||[],u=[],o=-1,l=n.before;r.push(-1);let c=nb(n);for(;++o<i.length;){let a;let s=i[o];if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),a=n?n(i[o+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else a=n.after;u.length>0&&("\r"===l||"\n"===l)&&"html"===s.type&&(u[u.length-1]=u[u.length-1].replace(/(\r?\n|\r)$/," "),l=" ",(c=nb(n)).move(u.join(""))),u.push(c.move(t.handle(s,e,t,{...c.current(),before:l,after:a}))),l=u[u.length-1].slice(-1)}return r.pop(),u.join("")}let nA={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:nw}};function nw(e,t,n,r){let i=nb(r),u=n.enter("emphasis"),o=i.move("~~");return o+=nk(e,n,{...i.current(),before:o,after:"~"})+i.move("~~"),u(),o}function nS(e,t,n){let r=e.value||"",i="`",u=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++u<n.unsafe.length;){let e;let t=n.unsafe[u],i=function(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}function nB(e){return e.length}function nT(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function nL(e){this.exit(e)}function nI(e){this.enter({type:"tableCell",children:[]},e)}function nj(e,t){return"|"===t?t:e}nw.peek=function(){return"~"},nS.peek=function(){return"`"};let nO=/\r?\n|\r/g,nP={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){let i=e.children[0],u="boolean"==typeof e.checked&&i&&"paragraph"===i.type,o="["+(e.checked?"x":" ")+"] ",l=nb(r);u&&l.move(o);let c=function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),u=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(u=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+u);let o=u.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let l=nb(r);l.move(u+" ".repeat(o-u.length)),l.shift(o);let c=n.enter("listItem"),a=function(e,t){let n;let r=[],i=0,u=0;for(;n=nO.exec(e);)o(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,u++;return o(e.slice(i)),r.join("");function o(e){r.push(t(e,u,!e))}}(function(e,t,n){let r=t.indexStack,i=e.children||[],u=nb(n),o=[],l=-1;for(r.push(-1);++l<i.length;){let n=i[l];r[r.length-1]=l,o.push(u.move(t.handle(n,e,t,{before:"\n",after:"\n",...u.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),l<i.length-1&&o.push(u.move(function(n,r){let i=t.join.length;for(;i--;){let u=t.join[i](n,r,e,t);if(!0===u||1===u)break;if("number"==typeof u)return"\n".repeat(1+u);if(!1===u)return"\n\n<!---->\n\n"}return"\n\n"}(n,i[l+1])))}return r.pop(),o.join("")}(e,n,l.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?u:u+" ".repeat(o-u.length))+e});return c(),a}(e,t,n,{...r,...l.current()});return u&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),c}}};function nz(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}let nN=[{transforms:[function(e){nh(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ny],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,nv]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:nC,literalAutolinkHttp:nC,literalAutolinkWww:nC},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}}
8,{canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},{enter:{table:function(e){let t=e._align;this.enter({type:"table",align:t.map(e=>"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:nI,tableHeader:nI,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,nj)),this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:nL,tableHeader:nL,tableRow:nL}},{exit:{taskListCheckValueChecked:nz,taskListCheckValueUnchecked:nz,paragraph:function(e){let t;let n=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],i=n.children,u=r.children[0],o=-1;if(n&&"listItem"===n.type&&"boolean"==typeof n.checked&&u&&"text"===u.type){for(;++o<i.length;){let e=i[o];if("paragraph"===e.type){t=e;break}}t===r&&(u.value=u.value.slice(1),0===u.value.length?r.children.shift():r.position&&u.position&&"number"==typeof u.position.start.offset&&(u.position.start.column++,u.position.start.offset++,r.position.start=Object.assign({},u.position.start)))}this.exit(e)}}}];function nM(e={}){let t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",q([t1,function(e={}){let t=e.singleTilde,n={tokenize:function(e,n,r){let i=this.previous,u=this.events,o=0;return function(l){return 126===i&&"characterEscape"!==u[u.length-1][1].type?r(l):(e.enter("strikethroughSequenceTemporary"),function u(l){let c=eW(i);if(126===l)return o>1?r(l):(e.consume(l),o++,u);if(o<2&&!t)return r(l);let a=e.exit("strikethroughSequenceTemporary"),s=eW(l);return a._open=!s||2===s&&!!c,a._close=!c||2===c&&!!s,n(l)}(l))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},u={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",u,t]];R(o,o.length,0,ex(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),R(o,o.length,0,[["exit",u,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),R(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(e),nt,nc])),n("fromMarkdownExtensions",nN),n("toMarkdownExtensions",{extensions:[nF,nA,function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return l(function(e,t,n){let r=e.children,i=-1,u=[],o=t.enter("table");for(;++i<r.length;)u[i]=c(r[i],t,n);return o(),u}(e,n,r),e.align)},tableRow:function(e,t,n,r){let i=l([c(e,n,r)]);return i.slice(0,i.indexOf("\n"))},tableCell:o,inlineCode:function(e,t,n){let r=nS(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function o(e,t,n,r){let i=n.enter("tableCell"),o=n.enter("phrasing"),l=nk(e,n,{...r,before:u,after:u});return o(),i(),l}function l(e,t){return function(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||nB,i=[],u=[],o=[],l=[],c=0,a=-1;for(;++a<e.length;){let n=[],i=[],f=-1;for(e[a].length>c&&(c=e[a].length);++f<e[a].length;){var s;let u=null==(s=e[a][f])?"":String(s);if(!1!==t.alignDelimiters){let e=r(u);i[f]=e,(void 0===l[f]||e>l[f])&&(l[f]=e)}n.push(u)}u[a]=n,o[a]=i}let f=-1;if("object"==typeof n&&"length"in n)for(;++f<c;)i[f]=nT(n[f]);else{let e=nT(n);for(;++f<c;)i[f]=e}f=-1;let d=[],p=[];for(;++f<c;){let e=i[f],n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let u=!1===t.alignDelimiters?1:Math.max(1,l[f]-n.length-r.length),o=n+"-".repeat(u)+r;!1!==t.alignDelimiters&&((u=n.length+u+r.length)>l[f]&&(l[f]=u),p[f]=u),d[f]=o}u.splice(1,0,d),o.splice(1,0,p),a=-1;let h=[];for(;++a<u.length;){let e=u[a],n=o[a];f=-1;let r=[];for(;++f<c;){let u=e[f]||"",o="",a="";if(!1!==t.alignDelimiters){let e=l[f]-(n[f]||0),t=i[f];114===t?o=" ".repeat(e):99===t?e%2?(o=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):a=o=" ".repeat(e/2):a=" ".repeat(e)}!1===t.delimiterStart||f||r.push("|"),!1!==t.padding&&!(!1===t.alignDelimiters&&""===u)&&(!1!==t.delimiterStart||f)&&r.push(" "),!1!==t.alignDelimiters&&r.push(o),r.push(u),!1!==t.alignDelimiters&&r.push(a),!1!==t.padding&&r.push(" "),(!1!==t.delimiterEnd||f!==c-1)&&r.push("|")}h.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}
8function c(e,t,n){let r=e.children,i=-1,u=[],l=t.enter("tableRow");for(;++i<r.length;)u[i]=o(r[i],e,t,n);return l(),u}}(e),nP]})}var nU=n(46135),nR={}.hasOwnProperty;function n_(e,t){var n=t&&e&&"object"==typeof e&&"element"===e.type&&e.properties&&nR.call(e.properties,t)&&e.properties[t];return null!=n&&!1!==n}function nH(e){var t=e&&"element"===e.type&&e.tagName.toLowerCase()||"",n=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return n>48&&n<55?n-48:null}let nq=new nU;function nV(){return e=>{nq.reset(),(0,tc.Vn)(e,"element",e=>{nH(e)&&e.properties&&!n_(e,"id")&&(e.properties.id=nq.slug("children"in e?function e(t){let n=-1,r=[];for(;++n<t.children.length;){var i;r[n]="text"===(i=t.children[n]).type?i.value:"children"in i?e(i):""}return r.join("")}(e):"value"in e?e.value:""))})}}let n$=function(e,t,n,r,i){let u=nW(t);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw Error("Expected positive finite index for child node");if(null!=r&&(!r.type||!r.children))throw Error("Expected parent node");if(!e||!e.type||"string"!=typeof e.type)return!1;if(null==r!=(null==n))throw Error("Expected both parent and index");return u.call(i,e,n,r)},nW=function(e){if(null==e)return nQ;if("string"==typeof e)return function(t){return nQ(t)&&t.tagName===e};if("object"==typeof e)return function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=nW(e[n]);return nZ(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e);if("function"==typeof e)return nZ(e);throw Error("Expected function, string, or array as test")};function nZ(e){return function(t,...n){return nQ(t)&&!!e.call(this,t,...n)}}function nQ(e){return!!(e&&"object"==typeof e&&"element"===e.type&&"string"==typeof e.tagName)}let nY={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]};function nK(e={}){let t,n=e.properties,r=e.behaviour||e.behavior||"prepend",i=e.content||nY,u=e.group,o=nW(e.test);return"wrap"===r?t=function(e){return e.children=[a(e,A(!0,{},n),e.children)],[nf.AM]}:"before"===r||"after"===r?t=function(e,t,o){if("number"!=typeof t||!o)return;let s=a(e,A(!0,{},n),l(i,e)),f="before"===r?[s,e]:[e,s];if(u){let t=c(u,e);t&&!Array.isArray(t)&&"element"===t.type&&(t.children=f,f=[t])}return o.children.splice(t,1,...f),[nf.AM,t+f.length]}:(n||(n={ariaHidden:"true",tabIndex:-1}),t=function(e){return e.children["prepend"===r?"unshift":"push"](a(e,A(!0,{},n),l(i,e))),[nf.AM]}),e=>{(0,tc.Vn)(e,"element",(e,n,r)=>{if(nH(e)&&n_(e,"id")&&o(e,n,r))return t(e,n,r)})};function l(e,t){let n=c(e,t);return Array.isArray(n)?n:[n]}function c(e,t){return"function"==typeof e?e(t):A(!0,Array.isArray(e)?[]:{},e)}function a(e,t,n){return{type:"element",tagName:"a",properties:Object.assign({},t,{href:"#"+(e.properties||{}).id}),children:n}}}var nX=n(74310);function nG(e={}){return(t,n)=>(0,nX.L)(t,n,e)}var nJ=n(3375),n1=n.n(nJ),n0=n(68102),n2=n.n(n0),n4=n(92202),n3=["prefixCls","className","source","style","onScroll","onMouseOver","warpperElement"],n6=function(e,t,n){if("element"===e.type&&"root"===n.type&&/h(1|2|3|4|5|6)/.test(e.tagName)&&0!==t){var r=e.children&&e.children[0]?e.children[0]:null;r&&r.properties&&"true"===r.properties.ariaHidden&&(r.properties=f({class:"anchor"},r.properties),r.children=[{type:"element",tagName:"svg",properties:{class:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]}])}},n5=s.forwardRef(function(e,t){var n=e||{},r=n.prefixCls,i=n.className,u=n.source,o=n.style,l=n.onScroll,c=n.onMouseOver,a=n.warpperElement,d=function(e,t){if(null==e)return{};var n,r,i={},u=Object.keys(e);for(r=0;r<u.length;r++)n=u[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(n,n3),p=s.createRef();return(0,s.useImperativeHandle)(t,function(){return f({},e,{mdp:p})},[p,e]),(0,n4.jsx)("div",f({ref:p,onScroll:l,onMouseOver:c},void 0===a?{}:a,{className:((void 0===r?"wmde-markdown wmde-markdown-color":r)||"")+" "+(i||""),style:o,children:(0,n4.jsx)(tV,f({},d,{rehypePlugins:[[n1(),{ignoreMissing:!0}],nV,nK,[n2(),n6],nG].concat(d.rehypePlugins||[]),remarkPlugins:[].concat(d.remarkPlugins||[],[nM]),children:u||""}))}))});function n7(e,t){return c({},e,t)}var n8=s.createContext({markdown:""});function n9(e,t,n,r,i){void 0===t&&(t=[]);var u=function e(t,n){return void 0===t&&(t=[]),void 0===n&&(n={}),t.forEach(function(t){t.children&&Array.isArray(t.children)?n=c({},n,e(t.children||[])):t.keyCommand&&t.shortcuts&&t.execute&&(n[t.shortcuts.toLocaleLowerCase()]=t)}),n}(t||[]),o=[];if(e.altKey&&o.push("alt"),e.shiftKey&&o.push("shift"),e.metaKey&&o.push("cmd"),e.ctrlKey&&o.push("ctrl"),o.length>0&&!/(control|alt|meta|shift)/.test(e.key.toLocaleLowerCase())&&o.push(e.key.toLocaleLowerCase()),/escape/.test(e.key.toLocaleLowerCase())&&o.push("escape"),!(o.length<1)){var l=u[o.join("+")]?u[o.join("+")]:void 0;if(Object.keys(u).forEach(function(e){e.split("+").every(function(e){return/ctrlcmd/.test(e)?o.includes("ctrl")||o.includes("cmd"):o.includes(e)})&&(l=u[e])}),l&&n){e.stopPropagation(),e.preventDefault(),n.executeCommand(l,r,i);return}}}var re=n(79300),rt=n(17183);let rn={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"}
8,abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"}
8,missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}}
8,rr={2:!0,1:!1,0:null};var ri=n(30156);let ru=(0,nd.O)("comment");function ro(e){var t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}let rl=ra(1),rc=ra(-1);function ra(e){return function(t,n,r){let i=t&&t.children,u=n+e,o=i&&i[u];if(!r)for(;o&&ro(o);)u+=e,o=i[u];return o}}let rs=(0,nd.O)("text");function rf(e){return rs(e)&&ro(e.value.charAt(0))}let rd={}.hasOwnProperty;function rp(e){return function(t,n,r){return rd.call(e,t.tagName)&&e[t.tagName](t,n,r)}}let rh=rp({html:function(e,t,n){let r=rl(n,t);return!r||!ru(r)},head:rm,body:function(e,t,n){let r=rl(n,t);return!r||!ru(r)},p:function(e,t,n){let r=rl(n,t);return r?n$(r,["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]):!n||!n$(n,["a","audio","del","ins","map","noscript","video"])},li:function(e,t,n){let r=rl(n,t);return!r||n$(r,"li")},dt:function(e,t,n){let r=rl(n,t);return r&&n$(r,["dt","dd"])},dd:function(e,t,n){let r=rl(n,t);return!r||n$(r,["dt","dd"])},rt:rg,rp:rg,optgroup:function(e,t,n){let r=rl(n,t);return!r||n$(r,"optgroup")},option:function(e,t,n){let r=rl(n,t);return!r||n$(r,["option","optgroup"])},menuitem:function(e,t,n){let r=rl(n,t);return!r||n$(r,["menuitem","hr","menu"])},colgroup:rm,caption:rm,thead:function(e,t,n){let r=rl(n,t);return r&&n$(r,["tbody","tfoot"])},tbody:function(e,t,n){let r=rl(n,t);return!r||n$(r,["tbody","tfoot"])},tfoot:function(e,t,n){return!rl(n,t)},tr:function(e,t,n){let r=rl(n,t);return!r||n$(r,"tr")},td:rD,th:rD});function rm(e,t,n){let r=rl(n,t,!0);return!r||!ru(r)&&!rf(r)}function rg(e,t,n){let r=rl(n,t);return!r||n$(r,["rp","rt"])}function rD(e,t,n){let r=rl(n,t);return!r||n$(r,["td","th"])}let rx={opening:rp({html:function(e){let t=rl(e,-1);return!t||!ru(t)},head:function(e){let t;let n=e.children,r=[],i=-1;for(;++i<n.length;)if(n$(t=n[i],["title","base"])){if(r.includes(t.tagName))return!1;r.push(t.tagName)}return n.length>0},body:function(e){let t=rl(e,-1,!0);return!t||!ru(t)&&!rf(t)&&!n$(t,["meta","link","script","style","template"])},colgroup:function(e,t,n){let r=rc(n,t),i=rl(e,-1,!0);return!(n$(r,"colgroup")&&rh(r,n.children.indexOf(r),n))&&i&&n$(i,"col")},tbody:function(e,t,n){let r=rc(n,t),i=rl(e,-1);return!(n$(r,["thead","tbody"])&&rh(r,n.children.indexOf(r),n))&&i&&n$(i,"tr")}}),closing:rh},rF=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
8sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],rC={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub
8:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ry=["cent","copy","divide","gt","lt","not","para","times"],rv={}.hasOwnProperty,rE={};for(r in rC)rv.call(rC,r)&&(rE[rC[r]]=r);function rb(e,t,n){let r,i=function(e,t,n){let r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){let i=String.fromCharCode(e);if(rv.call(rE,i)){let e=rE[i],u="&"+e;return n&&rF.includes(e)&&!ry.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?u:u+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){let r=function(e,t,n){let r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function rk(e,t){return function(e,t){if(e=e.replace(t.subset?function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}(e,Object.assign({format:rb},t))}let rA={name:[["	\n\f\r &/=>".split(""),"	\n\f\r \"&'/=>`".split("")],["\x00	\n\f\r \"&'/<=>".split(""),"\x00	\n\f\r \"&'/<=>`".split("")]],unquoted:[["	\n\f\r &>".split(""),"\x00	\n\f\r \"&'<=>`".split("")],["\x00	\n\f\r \"&'<=>`".split(""),"\x00	\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\x00&'".split(""),"\x00\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\x00"&'.split(""),"\x00\"&'`".split("")]]};function rw(e,t,n,r){return r&&"element"===r.type&&("script"===r.tagName||"style"===r.tagName)?t.value:rk(t.value,Object.assign({},e.entities,{subset:["<","&"]}))}let rS={comment:function(e,t){return e.bogusComments?"<?"+rk(t.value,Object.assign({},e.entities,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,function(t){return rk(t,Object.assign({},e.entities,{subset:["<",">"]}))})+"-->"},doctype:function(e){return"<!"+(e.upperDoctype?"DOCTYPE":"doctype")+(e.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){let i;let u=e.schema,o="svg"===u.space?void 0:e.omit,l="svg"===u.space?e.closeEmpty:e.voids.includes(t.tagName.toLowerCase()),c=[];"html"===u.space&&"svg"===t.tagName&&(e.schema=tB.YP);let a=function(e,t){let n,r,i;let u=[],o=-1;for(n in t)void 0!==t[n]&&null!==t[n]&&(r=function(e,t,n){let r;let i=(0,tj.s)(e.schema,t),u=e.quote;if(i.overloadedBoolean&&(n===i.attribute||""===n)?n=!0:(i.boolean||i.overloadedBoolean&&"string"!=typeof n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let o=rk(i.attribute,Object.assign({},e.entities,{subset:rA.name["html"===e.schema.space?e.valid:1][e.safe]}));return!0===n?o:(n="object"==typeof n&&"length"in n?(i.commaSeparated?tz.P:tP.P)(n,{padLeft:!e.tightLists}):String(n),e.collapseEmpty&&!n)?o:(e.unquoted&&(r=rk(n,Object.assign({},e.entities,{subset:rA.unquoted[e.valid][e.safe],attribute:!0}))),r!==n&&(e.smart&&ns(n,u)>ns(n,e.alternative)&&(u=e.alternative),r=u+rk(n,Object.assign({},e.entities,{subset:("'"===u?rA.single:rA.double)["html"===e.schema.space?e.valid:1][e.safe],attribute:!0}))+u),o+(r?"="+r:r))}
8(e,n,t[n]))&&u.push(r);for(;++o<u.length;)i=e.tight?u[o].charAt(u[o].length-1):null,o!==u.length-1&&'"'!==i&&"'"!==i&&(u[o]+=" ");return u.join("")}(e,t.properties),s=rL(e,"html"===u.space&&"template"===t.tagName?t.content:t);return e.schema=u,s&&(l=!1),!a&&o&&o.opening(t,n,r)||(c.push("<",t.tagName,a?" "+a:""),l&&("svg"===u.space||e.close)&&(i=a.charAt(a.length-1),(!e.tightClose||"/"===i||i&&'"'!==i&&"'"!==i)&&c.push(" "),c.push("/")),c.push(">")),c.push(s),l||o&&o.closing(t,n,r)||c.push("</"+t.tagName+">"),c.join("")},raw:function(e,t,n,r){return e.dangerous?t.value:rw(e,t,n,r)},root:rL,text:rw},rB={}.hasOwnProperty;function rT(e,t,n,r){if(!t||!t.type)throw Error("Expected node, not `"+t+"`");if(!rB.call(rS,t.type))throw Error("Cannot compile unknown node `"+t.type+"`");return rS[t.type](e,t,n,r)}function rL(e,t){let n=[],r=t&&t.children||[],i=-1;for(;++i<r.length;)n[i]=rT(e,r[i],i,t);return n.join("")}let rI=B().use(function(e){let t=Object.assign({},this.data("settings"),e);Object.assign(this,{Parser:function(e,n){let r=t.fragment?"parseFragment":"parse",i=new re({sourceCodeLocationInfo:!0,onParseError:t.emitParseErrors?function(r){let i=r.code,u=i.replace(/-[a-z]/g,e=>e.charAt(1).toUpperCase()),o=t[u],l=null==o||o,c="number"==typeof l?l:l?1:0,a={line:r.startLine,column:r.startCol,offset:r.startOffset},s={line:r.endLine,column:r.endCol,offset:r.endOffset};if(c){let e=rn[u]||{reason:"",description:"",url:""},t=n.message(f(e.reason),{start:a,end:s});t.source="parse-error",t.ruleId=i,t.fatal=rr[c],t.note=f(e.description),t.url="url"in e&&!1===e.url?null:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+i}function f(t){return t.replace(/%c(?:-(\d+))?/g,(t,n)=>{let i=n?-Number.parseInt(n,10):0,u=e.charAt(r.startOffset+i);return"`"===u?"` ` `":u}).replace(/%x/g,()=>"0x"+e.charCodeAt(r.startOffset).toString(16).toUpperCase())}}:null,scriptingEnabled:!1});return(0,rt.e)(i[r](e),{space:t.space,file:n,verbose:t.verbose})}})}).use(function(e){let t=Object.assign({},this.data("settings"),e);Object.assign(this,{Compiler:function(e){return function(e,t={}){let n=t.quote||'"';if('"'!==n&&"'"!==n)throw Error("Invalid quote `"+n+"`, expected `'` or `\"`");return rT({valid:t.allowParseErrors?0:1,safe:t.allowDangerousCharacters?0:1,schema:"svg"===t.space?tB.YP:tB.dy,omit:t.omitOptionalTags?rx:void 0,quote:n,alternative:'"'===n?"'":'"',smart:t.quoteSmart,unquoted:t.preferUnquoted,tight:t.tightAttributes,upperDoctype:t.upperDoctype,tightDoctype:t.tightDoctype,bogusComments:t.bogusComments,tightLists:t.tightCommaSeparatedLists,tightClose:t.tightSelfClosing,collapseEmpty:t.collapseEmptyAttributes,dangerous:t.allowDangerousHtml,voids:t.voids||ri.z.concat(),entities:t.entities||{},close:t.closeSelfClosing,closeEmpty:t.closeEmptyElements},Array.isArray(e)?{type:"root",children:e}:e,null,null)}(e,t)}})}).freeze();function rj(e){var t=e.prefixCls,n=(0,s.useContext)(n8),r=n.markdown,i=void 0===r?"":r,u=n.highlightEnable,o=n.dispatch,l=s.createRef();return(0,s.useEffect)(function(){l.current&&o&&o({textareaPre:l.current})},[]),(0,s.useMemo)(function(){if(!u||!i)return(0,n4.jsx)("pre",{children:i||"",ref:l,className:t+"-text-pre wmde-markdown-color"});var e=rI().data("settings",{fragment:!0}).use(n1(),{ignoreMissing:!0}).processSync('<pre class="language-markdown '+t+'-text-pre wmde-markdown-color"><code class="language-markdown">'+i.replace(/```(.*)\s+([\s\S]*?)(\s.+)?```/g,function(e){return e.replace(/[<>&"]/g,function(e){return({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"})[e]})}).replace(/[<>&"]/g,function(e){return({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"})[e]})+"</code></pre>");return s.createElement("div",{className:"wmde-markdown-color",dangerouslySetInnerHTML:{__html:e.value}})},[u,i,l,t])}function rO(e){var t=e.text,n=e.selection;return t&&t.length&&n.start===n.end?function(e,t){if(!e)throw Error("Argument 'text' should be truthy");for(var n=function(e){return" "===e||10===e.charCodeAt(0)},r=0,i=e.length,u=t;u-1>-1;u--)if(n(e[u-1])){r=u;break}for(var o=t;o<e.length;o++)if(n(e[o])){i=o;break}return{start:r,end:i}}(t,n.start):n}function rP(e,t){if(void 0===e&&(e=""),0===t)return 0;for(var n=2,r=!0,i=t-1;i>=0&&n>=0;i--)switch(e.charCodeAt(i)){case 32:continue;case 10:n--,r=!1;break;default:return n}return r?0:n}function rz(e,t){if(void 0===e&&(e=""),t===e.length-1)return 0;for(var n=2,r=!0,i=t;i<e.length&&n>=0;i++)switch(e.charCodeAt(i)){case 32:continue;case 10:n--,r=!1;break;default:return n}return r?0:n}var rN={name:"bold",keyCommand:"bold",shortcuts:"ctrlcmd+b",buttonProps:{"aria-label":"Add bold text",title:"Add bold text"},icon:(0,n4.jsx)("svg",{role:"img",width:"12",height:"12",viewBox:"0 0 384 512",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"})}),execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=t.replaceSelection("**"+r.selectedText+"**");t.setSelectionRange({start:i.selection.end-2-r.selectedText.length,end:i.selection.end-2})}},rM={name:"code",keyCommand:"code",shortcuts:"ctrlcmd+j",buttonProps:{"aria-label":"Insert code"},icon:(0,n4.jsx)("svg",{width:"12",height:"12",role:"img",viewBox:"0 0 640 512",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"})}),execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n);if(-1===r.selectedText.indexOf("\n")){t.replaceSelection("`"+r.selectedText+"`");var i=r.selection.start+1,u=i+r.selectedText.length;t.setSelectionRange({start:i,end:u});return}var o=rP(r.text,r.selection.start),l=Array(o+1).join("\n"),c=Array(rz(r.text,r.selection.end)+1).join("\n");t.replaceSelection(l+"```\n"+r.selectedText+"\n```"+c);var a=r.selection.start+o+4,s=a+r.selectedText.length;t.setSelectionRange({start:a,end:s})}},rU={name:"codeBlock",keyCommand:"codeBlock",shortcuts:"ctrlcmd+shift+j",execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=rP(r.text,r.selection.start),u=Array(i+1).join("\n"),o=Array(rz(r.text,r.selection.end)+1).join("\n");t.replaceSelection(u+"```\n"+r.selectedText+"\n```"+o);var l=r.selection.start+i+4,c=l+r.selectedText.length;t.setSelectionRange({start:l,end:c})}},rR={name:"italic",keyCommand:"italic",shortcuts:"ctrlcmd+i",buttonProps:{"aria-label":"Add italic text",title:"Add italic text"},icon:(0,n4.jsx)("svg",{"data-name":"italic",width:"12",height:"12",role:"img",viewBox:"0 0 320 512",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M204.758 416h-33.849l62.092-320h40.725a16 16 0 0 0 15.704-12.937l6.242-32C297.599 41.184 290.034 32 279.968 32H120.235a16 16 0 0 0-15.704 12.937l-6.242 32C96.362 86.816 103.927 96 113.993 96h33.846l-62.09 320H46.278a16 16 0 0 0-15.704 12.935l-6.245 32C22.402 470.815 29.967 480 40.034 480h158.479a16 16 0 0 0 15.704-12.935l6.245-32c1.927-9.88-5.638-19.065-15.704-19.065z"})}),execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=t.replaceSelection("*"+r.selectedText+"*");t.setSelectionRange({start:i.selection.end-1-r.selectedText.length,end:i.selection.end-1})}},r_={name:"link",keyCommand:"link",shortcuts:"ctrlcmd+k",buttonProps:{"aria-label":"Add a link",title:"Add a link"},icon:(0,n4.jsx)("svg",{"data-name":"italic",width:"12",height:"12",role:"img",viewBox:"0 0 520 520",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M331.751196,182.121107 C392.438214,241.974735 391.605313,337.935283 332.11686,396.871226 C332.005129,396.991316 331.873084,397.121413 331.751196,397.241503 L263.493918,464.491645 C203.291404,523.80587 105.345257,523.797864 45.151885,464.491645 C-15.0506283,405.187427 -15.0506283,308.675467 45.151885,249.371249 L82.8416853,212.237562 C92.836501,202.39022 110.049118,208.9351 110.56511,222.851476 C111.223305,240.5867 114.451306,258.404985 120.407566,275.611815 C122.424812,281.438159 120.983487,287.882964 116.565047,292.23621 L103.272145,305.332975 C74.8052033,333.379887 73.9123737,379.047937 102.098973,407.369054 C130.563883,435.969378 177.350591,436.139505 206.033884,407.879434 L274.291163,340.6393 C302.9257,312.427264 302.805844,266.827265 274.291163,238.733318 C270.531934,235.036561 266.74528,232.16442 263.787465,230.157924 C259.544542,227.2873 256.928256,222.609848 256.731165,217.542518 C256.328935,206.967633 260.13184,196.070508 268.613213,187.714278 L289.998463,166.643567 C295.606326,161.118448 304.403592,160.439942 310.906317,164.911276 C318.353355,170.034591 325.328531,175.793397 331.751196,182.121107 Z M240.704978,55.4828366 L172.447607,122.733236 C172.325719,122.853326 172.193674,122.983423 172.081943,123.103513 C117.703294,179.334654 129.953294,261.569283 185.365841,328.828764 C191.044403,335.721376 198.762988,340.914712 206.209732,346.037661 C212.712465,350.509012 221.510759,349.829503 227.117615,344.305363 L248.502893,323.234572 C256.984277,314.87831 260.787188,303.981143 260.384957,293.406218 C260.187865,288.338869 257.571576,283.661398 253.328648,280.790763 C250.370829,278.78426 246.58417,275.912107 242.824936,272.215337 C214.310216,244.121282 206.209732,204.825874 229.906702,179.334654 L298.164
8073,112.094263 C326.847404,83.8340838 373.633159,84.0042113 402.099123,112.604645 C430.285761,140.92587 429.393946,186.594095 400.92595,214.641114 L387.63303,227.737929 C383.214584,232.091191 381.773257,238.536021 383.790506,244.362388 C389.746774,261.569283 392.974779,279.387637 393.632975,297.122928 C394.149984,311.039357 411.361608,317.584262 421.356437,307.736882 L459.046288,270.603053 C519.249898,211.29961 519.249898,114.787281 459.047304,55.4828366 C398.853851,-3.82360914 300.907572,-3.83161514 240.704978,55.4828366 Z"})}),execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=t.replaceSelection("["+r.selectedText+"](url)");t.setSelectionRange({start:i.selection.end-6-r.selectedText.length,end:i.selection.end-6})}};function rH(e,t){var n=e.split(/\n/),r=0;return{modifiedText:n.map(function(e,n){if("string"==typeof t)return r+=t.length,t+e;if("function"==typeof t){var i=t(e,n);return r+=i.length,t(e,n)+e}throw Error("insertion is expected to be either a string or a function")}).join("\n"),insertionLength:r}}var rq=function(e,t,n){var r=rO({text:e.text,selection:e.selection}),i=t.setSelectionRange(r),u=rP(i.text,i.selection.start),o=Array(u+1).join("\n"),l=Array(rz(i.text,i.selection.end)+1).join("\n"),c=rH(i.selectedText,n);t.replaceSelection(""+o+c.modifiedText+l);var a=-1===i.selectedText.indexOf("\n")?c.insertionLength:0,s=i.selection.start+u+a,f=s+c.modifiedText.length-a;t.setSelectionRange({start:s,end:f})},rV={name:"unordered-list",keyCommand:"list",shortcuts:"ctrl+shift+l",buttonProps:{"aria-label":"Add unordered list",title:"Add unordered list"},icon:(0,n4.jsx)("svg",{"data-name":"unordered-list",width:"12",height:"12",viewBox:"0 0 512 512",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M96 96c0 26.51-21.49 48-48 48S0 122.51 0 96s21.49-48 48-48 48 21.49 48 48zM48 208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm0 160c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm96-236h352c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"})}),execute:function(e,t){rq(e,t,"- ")}},r$={name:"ordered-list",keyCommand:"list",shortcuts:"ctrl+shift+o",buttonProps:{"aria-label":"Add ordered list",title:"Add ordered list"},icon:(0,n4.jsx)("svg",{"data-name":"ordered-list",width:"12",height:"12",role:"img",viewBox:"0 0 512 512",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M3.263 139.527c0-7.477 3.917-11.572 11.573-11.572h15.131V88.078c0-5.163.534-10.503.534-10.503h-.356s-1.779 2.67-2.848 3.738c-4.451 4.273-10.504 4.451-15.666-1.068l-5.518-6.231c-5.342-5.341-4.984-11.216.534-16.379l21.72-19.938C32.815 33.602 36.732 32 42.785 32H54.89c7.656 0 11.749 3.916 11.749 11.572v84.384h15.488c7.655 0 11.572 4.094 11.572 11.572v8.901c0 7.477-3.917 11.572-11.572 11.572H14.836c-7.656 0-11.573-4.095-11.573-11.572v-8.902zM2.211 304.591c0-47.278 50.955-56.383 50.955-69.165 0-7.18-5.954-8.755-9.28-8.755-3.153 0-6.479 1.051-9.455 3.852-5.079 4.903-10.507 7.004-16.111 2.451l-8.579-6.829c-5.779-4.553-7.18-9.805-2.803-15.409C13.592 201.981 26.025 192 47.387 192c19.437 0 44.476 10.506 44.476 39.573 0 38.347-46.753 46.402-48.679 56.909h39.049c7.529 0 11.557 4.027 11.557 11.382v8.755c0 7.354-4.028 11.382-11.557 11.382h-67.94c-7.005 0-12.083-4.028-12.083-11.382v-4.028zM5.654 454.61l5.603-9.28c3.853-6.654 9.105-7.004 15.584-3.152 4.903 2.101 9.63 3.152 14.359 3.152 10.155 0 14.358-3.502 14.358-8.23 0-6.654-5.604-9.106-15.934-9.106h-4.728c-5.954 0-9.28-2.101-12.258-7.88l-1.05-1.926c-2.451-4.728-1.226-9.806 2.801-14.884l5.604-7.004c6.829-8.405 12.257-13.483 12.257-13.483v-.35s-4.203 1.051-12.608 1.051H16.685c-7.53 0-11.383-4.028-11.383-11.382v-8.755c0-7.53 3.853-11.382 11.383-11.382h58.484c7.529 0 11.382 4.027 11.382 11.382v3.327c0 5.778-1.401 9.806-5.079 14.183l-17.509 20.137c19.611 5.078 28.716 20.487 28.716 34.845 0 21.363-14.358 44.126-48.503 44.126-16.636 0-28.192-4.728-35.896-9.455-5.7
879-4.202-6.304-9.805-2.626-15.934zM144 132h352c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"})}),execute:function(e,t){rq(e,t,function(e,t){return t+1+". "})}},rW={name:"checked-list",keyCommand:"list",shortcuts:"ctrl+shift+c",buttonProps:{"aria-label":"Add checked list",title:"Add checked list"},icon:(0,n4.jsx)("svg",{"data-name":"checked-list",width:"12",height:"12",role:"img",viewBox:"0 0 512 512",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M208 132h288c8.8 0 16-7.2 16-16V76c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zm0 160h288c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zm0 160h288c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zM64 368c-26.5 0-48.6 21.5-48.6 48s22.1 48 48.6 48 48-21.5 48-48-21.5-48-48-48zm92.5-299l-72.2 72.2-15.6 15.6c-4.7 4.7-12.9 4.7-17.6 0L3.5 109.4c-4.7-4.7-4.7-12.3 0-17l15.7-15.7c4.7-4.7 12.3-4.7 17 0l22.7 22.1 63.7-63.3c4.7-4.7 12.3-4.7 17 0l17 16.5c4.6 4.7 4.6 12.3-.1 17zm0 159.6l-72.2 72.2-15.7 15.7c-4.7 4.7-12.9 4.7-17.6 0L3.5 269c-4.7-4.7-4.7-12.3 0-17l15.7-15.7c4.7-4.7 12.3-4.7 17 0l22.7 22.1 63.7-63.7c4.7-4.7 12.3-4.7 17 0l17 17c4.6 4.6 4.6 12.2-.1 16.9z"})}),execute:function(e,t){rq(e,t,function(e,t){return"- [ ] "})}},rZ={name:"quote",keyCommand:"quote",shortcuts:"ctrlcmd+q",buttonProps:{"aria-label":"Insert a quote",title:"Insert a quote"},icon:(0,n4.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M520,95.75 L520,225.75 C520,364.908906 457.127578,437.050625 325.040469,472.443125 C309.577578,476.586875 294.396016,464.889922 294.396016,448.881641 L294.396016,414.457031 C294.396016,404.242891 300.721328,395.025078 310.328125,391.554687 C377.356328,367.342187 414.375,349.711094 414.375,274.5 L341.25,274.5 C314.325781,274.5 292.5,252.674219 292.5,225.75 L292.5,95.75 C292.5,68.8257812 314.325781,47 341.25,47 L471.25,47 C498.174219,47 520,68.8257812 520,95.75 Z M178.75,47 L48.75,47 C21.8257813,47 0,68.8257812 0,95.75 L0,225.75 C0,252.674219 21.8257813,274.5 48.75,274.5 L121.875,274.5 C121.875,349.711094 84.8563281,367.342187 17.828125,391.554687 C8.22132813,395.025078 1.89601563,404.242891 1.89601563,414.457031 L1.89601563,448.881641 C1.89601563,464.889922 17.0775781,476.586875 32.5404687,472.443125 C164.627578,437.050625 227.5,364.908906 227.5,225.75 L227.5,95.75 C227.5,68.8257812 205.674219,47 178.75,47 Z"})}),execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=rP(r.text,r.selection.start),u=Array(i+1).join("\n"),o=Array(rz(r.text,r.selection.end)+1).join("\n");t.replaceSelection(u+"> "+r.selectedText+o);var l=r.selection.start+i+2,c=l+r.selectedText.length;t.setSelectionRange({start:l,end:c})}},rQ={name:"hr",keyCommand:"hr",shortcuts:"ctrlcmd+h",buttonProps:{"aria-label":"Insert HR",title:"Insert HR"},icon:(0,n4.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 175 175",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M0,129 L175,129 L175,154 L0,154 L0,129 Z M3,9 L28.2158203,9 L28.2158203,47.9824219 L55.7695313,47.9824219 L55.7695313,9 L81.0966797,9 L81.0966797,107.185547 L55.7695313,107.185547 L55.7695313,68.0214844 L28.2158203,68.0214844 L28.2158203,107.185547 L3,107.185547 L3,9 Z M93.1855469,100.603516 L93.1855469,19 L135.211914,19 C143.004922,19 148.960917,19.6679621 153.080078,21.0039063 C157.199239,22.3398504 160.520495,24.8168764 163.043945,28.4350586 C165.567395,32.0532407 166.829102,36.459935 166.829102,41.6552734 C166.829102,46.1826398 165.864267,50.0883625 163.93457,53.3725586 C162.004873,56.6567547 159.351579,59.3193257 155.974609,61.3603516 C153.822255,62.6591862 150.872089,63.7353473 147.124023,64.5888672 C150.129898,65.5908253 152.319329,66.5927684 153.692383,67.5947266 C154.620122,68.2626987 155.965323,69.6913953 157.728027,71.8808594 C159.490731,74.0703234 160.668942,75.7587831 161.262695,76.9462891 L173,100.603516 L144.953125,100.603516 L131.482422,75.6660156 C129.775382,72.4374839 128.253913,70.3408251 126.917969,69.3759766 C125.0996,68.1142515 123.040051,67.4833984 120.739258,67.4833984 L118.512695,67.4833984 L118.512695,100.603516 L93.1855469,100.603516 Z M118.512695,52.0644531 L129.144531,52.0644531 C130.294928,52.0644531 132.521468,51.6933631 135.824219,50.9511719 C137.494149,50.6171858 138.857905,49.7636787 139.915527,48.390625 C140.97315,47.0175713 141.501953,45.4404386 141.501953,43.6591797 C141.501953,41.0244009 
8140.667001,39.0019602 138.99707,37.5917969 C137.32714,36.1816336 134.191429,35.4765625 129.589844,35.4765625 L117.512695,35.4765625 L118.512695,52.0644531 Z",transform:"translate(0 9)"})}),execute:function(e,t){t.replaceSelection(e.selectedText+"\n\n----------\n\n")}},rY={name:"title2",keyCommand:"title2",shortcuts:"ctrlcmd+2",buttonProps:{"aria-label":"Insert title2",title:"Insert title 2"},icon:(0,n4.jsx)("div",{style:{fontSize:16,textAlign:"left"},children:"Title 2"}),execute:function(e,t){var n="## "+e.selectedText+"\n";e.selectedText||(n="## "),t.replaceSelection(n)}},rK=c({},rY,{icon:(0,n4.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M15.7083333,468 C7.03242448,468 0,462.030833 0,454.666667 L0,421.333333 C0,413.969167 7.03242448,408 15.7083333,408 L361.291667,408 C369.967576,408 377,413.969167 377,421.333333 L377,454.666667 C377,462.030833 369.967576,468 361.291667,468 L15.7083333,468 Z M21.6666667,366 C9.69989583,366 0,359.831861 0,352.222222 L0,317.777778 C0,310.168139 9.69989583,304 21.6666667,304 L498.333333,304 C510.300104,304 520,310.168139 520,317.777778 L520,352.222222 C520,359.831861 510.300104,366 498.333333,366 L21.6666667,366 Z M136.835938,64 L136.835937,126 L107.25,126 L107.25,251 L40.75,251 L40.75,126 L-5.68434189e-14,126 L-5.68434189e-14,64 L136.835938,64 Z M212,64 L212,251 L161.648438,251 L161.648438,64 L212,64 Z M378,64 L378,126 L343.25,126 L343.25,251 L281.75,251 L281.75,126 L238,126 L238,64 L378,64 Z M449.047619,189.550781 L520,189.550781 L520,251 L405,251 L405,64 L449.047619,64 L449.047619,189.550781 Z"})})}),rX={name:"title1",keyCommand:"title1",shortcuts:"ctrlcmd+1",buttonProps:{"aria-label":"Insert title 1",title:"Insert title 1"},icon:(0,n4.jsx)("div",{style:{fontSize:18,textAlign:"left"},children:"Title 1"}),execute:function(e,t){var n="# "+e.selectedText+"\n";e.selectedText||(n="# "),t.replaceSelection(n)}},rG={name:"title3",keyCommand:"title3",shortcuts:"ctrlcmd+3",buttonProps:{"aria-label":"Insert title3",title:"Insert title 3"},icon:(0,n4.jsx)("div",{style:{fontSize:15,textAlign:"left"},children:"Title 3"}),execute:function(e,t){var n="### "+e.selectedText+"\n";e.selectedText||(n="### "),t.replaceSelection(n)}},rJ={name:"title4",keyCommand:"title4",shortcuts:"ctrlcmd+4",buttonProps:{"aria-label":"Insert title4",title:"Insert title 4"},icon:(0,n4.jsx)("div",{style:{fontSize:14,textAlign:"left"},children:"Title 4"}),execute:function(e,t){var n="#### "+e.selectedText+"\n";e.selectedText||(n="#### "),t.replaceSelection(n)}},r1={name:"title5",keyCommand:"title5",shortcuts:"ctrlcmd+5",buttonProps:{"aria-label":"Insert title5",title:"Insert title 5"},icon:(0,n4.jsx)("div",{style:{fontSize:12,textAlign:"left"},children:"Title 5"}),execute:function(e,t){var n="##### "+e.selectedText+"\n";e.selectedText||(n="##### "),t.replaceSelection(n)}},r0={name:"title6",keyCommand:"title6",shortcuts:"ctrlcmd+6",buttonProps:{"aria-label":"Insert title6",title:"Insert title 6"},icon:(0,n4.jsx)("div",{style:{fontSize:12,textAlign:"left"},children:"Title 6"}),execute:function(e,t){var n="###### "+e.selectedText+"\n";e.selectedText||(n="###### "),t.replaceSelection(n)}},r2={name:"comment",keyCommand:"comment",shortcuts:"ctrlcmd+/",execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=t.replaceSelection("<!-- "+r.selectedText+" -->");t.setSelectionRange({start:i.selection.end-4-r.selectedText.length,end:i.selection.end-4})}},r4=function(e,t){var n=c({children:e,icon:(0,n4.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M15.7083333,468 C7.03242448,468 0,462.030833 0,454.666667 L0,421.333333 C0,413.969167 7.03242448,408 15.7083333,408 L361.291667,408 C369.967576,408 377,413.969167 377,421.333333 L377,454.666667 C377,462.030833 369.967576,468 361.291667,468 L15.7083333,468 Z M21.6666667,366 C9.69989583,366 0,359.831861 0,352.222222 L0,317.777778 C0,310.168139 9.69989583,304 21.6666667,304 L498.333333,304 C510.300104,304 520,310.168139 520,317.777778 L520,352.222222 C520,359.831861 510.300104,366 498.333333,366 L21.6666667,366 Z M136.835938,64 L136.835937,126 L107.25,126 L107.25,251 L40.75,251 L40.75,126 L-5.68434189e-14,126 L-5.68434189e-14,64 L136.835938,64 Z M212,64 L212,251 L161.648438,251 L161.648438,64 L212,64 Z M378,64 L378,126 L343.25,126 L343.25,251 L281.75,251 L281.75,126 L238,126 L238,64 L378,64 Z M449.047619,189.550781 L520,189.550781 L520,251 L405,251 L405,64 L449.047619,64 L449.047619,189.550781 Z"})}),execute:function(){}},t,{keyCommand:"group"});return Array.isArray(n.children)&&(n.children=n.children.map(function(e){var t=c({},e);return t.parent=n,c({},t)})),n},r3={keyCommand:"divider"},r6={name:"preview",keyCommand:"preview",value:"preview",buttonProps:{"aria-label":"Preview code",title:"Preview code"},icon:(0,n4.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:[(0,n4.jsx)("polygon",{fill:"currentColor",points:"0 71.293 0 122 38.023 123 38.023 398 0 397 0 449.707 91.023 450.413 91.023 72.293"}),(0,n4.jsx)("polygon",{fill:"currentColor",points:"148.023 72.293 520 71.293 520 122 200.023 124 200.023 397 520 396 520 449.707 148.023 450.413"})]}),execute:function(){}},r5={name:"edit",keyCommand:"preview",value:"edit",buttonProps:{"aria-label":"Edit code",title:"Edit code"},icon:(0,n4.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:[(0,n4.jsx)("polygon",{fill:"currentColor",points:"0 71.293 0 122 319 122 319 397 0 397 0 449.707 372 449.413 372 71.293"}),(0,n4.jsx)("polygon",{fill:"currentColor",points:"429 71.293 520 71.293 520 122 481 123 481 396 520 396 520 449.707 429 449.413"})]}),execute:function(){}},r7={name:"live",keyCommand:"preview",value:"live",buttonProps:{"aria-label":"Live code",title:"Live code"},icon:(0,n4.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:[(0,n4.jsx)("polygon",{fill:"currentColor",points:"0 71.293 0 122 179 122 179 397 0 397 0 449.707 232 449.413 232 71.293"}),(0,n4.jsx)("polygon",{fill:"currentColor",points:"289 71.293 520 71.293 520 122 341 123 341 396 520 396 520 449.707 289 449.413"})]}),execute:function(){}},r8={name:"fullscreen",keyCommand:"fullscreen",shortcuts:"escape",buttonProps:{"aria-label":"fullscreen",title:"fullscreen"},icon:(0,n4.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M118 171.133334L118 342.200271C118 353.766938 126.675 365.333605 141.133333 365.333605L382.634614 365.333605C394.201281 365.333605 405.767948 356.658605 405.767948 342.200271L4
805.767948 171.133334C405.767948 159.566667 397.092948 148 382.634614 148L141.133333 148C126.674999 148 117.999999 156.675 118 171.133334zM465.353591 413.444444L370 413.444444 370 471.222222 474.0221 471.222222C500.027624 471.222222 520.254143 451 520.254143 425L520.254143 321 462.464089 321 462.464089 413.444444 465.353591 413.444444zM471.0221 43L367 43 367 100.777778 462.353591 100.777778 462.353591 196.111111 520.143647 196.111111 520.143647 89.2222219C517.254144 63.2222219 497.027624 43 471.0221 43zM57.7900547 100.777778L153.143646 100.777778 153.143646 43 46.2320439 43C20.2265191 43 0 63.2222219 0 89.2222219L0 193.222222 57.7900547 193.222222 57.7900547 100.777778zM57.7900547 321L0 321 0 425C0 451 20.2265191 471.222222 46.2320439 471.222223L150.254143 471.222223 150.254143 413.444445 57.7900547 413.444445 57.7900547 321z"})}),execute:function(e,t,n,r){t.textArea.focus(),n&&r&&r.fullscreen&&n({fullscreen:!1})}},r9={name:"image",keyCommand:"image",shortcuts:"ctrlcmd+i",buttonProps:{"aria-label":"Add image",title:"Add image"},icon:(0,n4.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 20 20",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M15 9c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4-7H1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 13l-6-5-2 2-4-5-4 8V4h16v11z"})}),execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=r.selectedText||"https://example.com/your-image.png";t.replaceSelection("![]("+i+")"),t.setSelectionRange({start:4+r.selection.start,end:4+r.selection.start+i.length})}},ie={name:"strikethrough",keyCommand:"strikethrough",shortcuts:"ctrl+shift+x",buttonProps:{"aria-label":"Add strikethrough text",title:"Add strikethrough text"},icon:(0,n4.jsx)("svg",{"data-name":"strikethrough",width:"12",height:"12",role:"img",viewBox:"0 0 512 512",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M496 288H16c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h480c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16zm-214.666 16c27.258 12.937 46.524 28.683 46.524 56.243 0 33.108-28.977 53.676-75.621 53.676-32.325 0-76.874-12.08-76.874-44.271V368c0-8.837-7.164-16-16-16H113.75c-8.836 0-16 7.163-16 16v19.204c0 66.845 77.717 101.82 154.487 101.82 88.578 0 162.013-45.438 162.013-134.424 0-19.815-3.618-36.417-10.143-50.6H281.334zm-30.952-96c-32.422-13.505-56.836-28.946-56.836-59.683 0-33.92 30.901-47.406 64.962-47.406 42.647 0 64.962 16.593 64.962 32.985V136c0 8.837 7.164 16 16 16h45.613c8.836 0 16-7.163 16-16v-30.318c0-52.438-71.725-79.875-142.575-79.875-85.203 0-150.726 40.972-150.726 125.646 0 22.71 4.665 41.176 12.777 56.547h129.823z"})}),execute:function(e,t){var n=rO({text:e.text,selection:e.selection}),r=t.setSelectionRange(n),i=t.replaceSelection("~~"+r.selectedText+"~~");t.setSelectionRange({start:i.selection.end-2-r.selectedText.length,end:i.selection.end-2})}};function it(e){if("TEXTAREA"!==e.nodeName)return!1;if(void 0===i){var t=document.createElement("textarea");t.value="1",i=!!t.firstChild}return i}function ir(e,t){if(e.focus(),document.selection){var n=document.selection.createRange();n.text=t,n.collapse(!1),n.select();return}if(!(document.execCommand&&document.execCommand("insertText",!1,t))){var r=e.selectionStart,i=e.selectionEnd;if("function"==typeof e.setRangeText)e.setRangeText(t);else{var u=document.createRange(),o=document.createTextNode(t);if(it(e)){var l=e.firstChild;if(l){for(var c=0,a=null,s=null;l&&(null===a||null===s);){var f=l.nodeValue.length;r>=c&&r<=c+f&&u.setStart(a=l,r-c),i>=c&&i<=c+f&&u.setEnd(s=l,i-c),c+=f,l=l.nextSibling}r!==i&&u.deleteContents()}else e.appendChild(o)}if(it(e)&&"#text"===u.commonAncestorContainer.nodeName)u.insertNode(o);else{var d=e.value;e.value=d.slice(0,r)+t+d.slice(i)}}e.setSelectionRange(r+t.length,r+t.length);var p=document.createEvent("UIEvent");p.initEvent("input",!0,!1),e.dispatchEvent(p)}}var ii=function(){return[r2,rN,rR,ie,rQ,rK,r3,r_,rZ,rM,rU,r9,r3,rV,r$,rW]},iu=function(){return[r5,r7,r6,r3,r8]};function io(e){return{selection:{start:e.selectionStart,end:e.selectionEnd},text:e.value,selectedText:e.value.slice(e.selectionStart,e.selectionEnd)}}var il=function(){function e(e){this.textArea=void 0,this.textArea=e}var t=e.prototype;return t.replaceSelection=function(e){return ir(this.textArea,e),io(this.textArea)},t.setSelectionRange=function(e){return this.textArea.focus(),this.textArea.selectionStart=e.start,this.textArea.selectionEnd=e.end,io(this.textArea)},e}(),ic=function(){function e(e){this.textArea=void 0,this.textApi=void 0,this.textArea=e,this.textApi=new il(e)}var t=e.prototype;return t.getState=function(){return!!this.textArea&&io(this.textArea)},t.executeCommand=function(e,t,n){e.execute&&e.execute(io(this.textArea),this.textApi,t,n)},e}();function ia(e){e.stopPropagation(),e.preventDefault()}var is=["prefixCls"];function id(e){var t=e.prefixCls,n=a(e,is),r=(0,s.useContext)(n8),i=r.markdown,u=r.commands,o=r.fullscreen,l=r.preview,f=r.highlightEnable,d=r.extraCommands,p=r.tabSize,h=r.onChange,m=r.dispatch,g=s.useRef(null),D=s.useRef(),x=s.useRef({fullscreen:o,preview:l});(0,s.useEffect)(function(){x.current={fullscreen:o,preview:l,highlightEnable:f}},[o,l,f]),(0,s.useEffect)(function(){if(g.current&&m){var e=new ic(g.current);D.current=e,m({textarea:g.current,commandOrchestrator:e})}},[]);var F=function(e){!function(e,t){void 0===t&&(t=2);var n=e.target,r=n.value.substr(0,n.selectionStart).split("\n"),i=r[r.length-1],u=new il(n);if(e.code&&"tab"===e.code.toLowerCase()){ia(e);var o=Array(t+1).join("  ");if(n.selectionStart===n.selectionEnd)return ir(n,o);var l=n.value.substring(0,n.selectionStart).split("\n"),c=n.value.substring(0,n.selectionEnd).split("\n"),a=[];
8c.forEach(function(e,t){e!==l[t]&&a.push(e)});var s=a.join("\n"),f=n.value.substring(n.selectionStart,n.selectionEnd),d=n.value.substring(0,n.selectionStart).length;u.setSelectionRange({start:n.value.indexOf(s),end:n.selectionEnd});var p=rH(s,e.shiftKey?"":o).modifiedText;e.shiftKey&&(p=p.split("\n").map(function(e){return e.replace(RegExp("^"+o),"")}).join("\n")),u.replaceSelection(p);var h=e.shiftKey?-t:t,m=e.shiftKey?-a.length*t:a.length*t;u.setSelectionRange({start:d+h,end:d+f.length+m})}else if(e.code&&"enter"===e.code.toLowerCase()&&(/^(-|\*)\s/.test(i)||/^\d+.\s/.test(i))){ia(e);var g="\n- ";i.startsWith("*")&&(g="\n* "),/^\d+.\s/.test(i)&&(g="\n"+(parseInt(i)+1)+". "),ir(n,g)}}(e,p),n9(e,[].concat(u||[],d||[]),D.current,m,x.current)};return(0,s.useEffect)(function(){return g.current&&g.current.addEventListener("keydown",F),function(){g.current&&g.current.removeEventListener("keydown",F)}},[]),(0,n4.jsx)("textarea",c({autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1},n,{ref:g,className:t+"-text-input "+(n.className?n.className:""),value:i,onChange:function(e){m&&m({markdown:e.target.value}),h&&h(e.target.value)}}))}var ip=["prefixCls","className","onScroll","renderTextarea"];function ih(e){var t=e||{},n=t.prefixCls,r=t.className,i=t.onScroll,u=t.renderTextarea,o=a(t,ip),l=(0,s.useContext)(n8),f=l.markdown,d=l.scrollTop,p=l.commands,h=l.extraCommands,m=l.onChange,g=l.dispatch,D=s.useRef(null),x=s.useRef(),F=s.createRef();return(0,s.useEffect)(function(){var e={};F.current&&(e.textareaWarp=F.current||void 0,F.current.scrollTop=d||0),g&&g(c({},e))},[]),(0,s.useEffect)(function(){if(D.current&&g){var e=new ic(D.current);x.current=e,g({textarea:D.current,commandOrchestrator:e})}},[]),(0,n4.jsx)("div",{ref:F,className:n+"-aree "+(r||""),onScroll:i,children:(0,n4.jsx)("div",{className:n+"-text",children:u?s.cloneElement(u(c({},o,{value:f,autoComplete:"off",autoCorrect:"off",spellCheck:"false",autoCapitalize:"off",className:n+"-text-input",style:{WebkitTextFillColor:"inherit",overflow:"auto"}}),{dispatch:g,onChange:m,shortcuts:n9,useContext:{commands:p,extraCommands:h,commandOrchestrator:x.current}}),{ref:D}):(0,n4.jsxs)(s.Fragment,{children:[(0,n4.jsx)(rj,{prefixCls:n}),(0,n4.jsx)(id,c({prefixCls:n},o))]})})})}function im(e){var t=e||{},n=t.prefixCls,r=t.groupName,i=t.commands,u=t.children,o=(0,s.useContext)(n8).barPopup,l=void 0===o?{}:o;return(0,s.useMemo)(function(){return(0,n4.jsx)("div",{className:n+"-toolbar-child "+(r&&l[r]?"active":""),onClick:function(e){return e.stopPropagation()},children:Array.isArray(i)?(0,n4.jsx)(iD,c({commands:i},e,{height:"",isChild:!0})):u})},[i,l,r,n])}function ig(e){var t=e.prefixCls,n=(0,s.useContext)(n8),r=n.fullscreen,i=n.preview,u=n.barPopup,o=void 0===u?{}:u,l=n.commandOrchestrator,a=n.dispatch;function f(t,n){if(a){var i={barPopup:c({},o)};"preview"===t.keyCommand&&(i.preview=t.value),"fullscreen"===t.keyCommand&&(i.fullscreen=!r),e.commands&&"group"===t.keyCommand?e.commands.forEach(function(e){n===e.groupName?i.barPopup[n]=!0:e.keyCommand&&(i.barPopup[e.groupName]=!1)}):(n||t.parent)&&Object.keys(i.barPopup||{}).forEach(function(e){i.barPopup[e]=!1}),Object.keys(i).length&&a(c({},i)),l&&l.executeCommand(t)}}return(0,s.useEffect)(function(){document&&(document.body.style.overflow=r?"hidden":"initial")},[r]),(0,n4.jsx)("ul",{children:(e.commands||[]).map(function(e,n){if("divider"===e.keyCommand)return(0,n4.jsx)("li",c({},e.liProps,{className:t+"-toolbar-divider"}),n);
8if(!e.keyCommand)return(0,n4.jsx)(s.Fragment,{});var u=r&&"fullscreen"===e.keyCommand||"preview"===e.keyCommand&&i===e.value,a=e.children&&"function"==typeof e.children?e.children({getState:function(){return l.getState()},textApi:l?l.textApi:void 0,close:function(){return f({},e.groupName)},execute:function(){return f({execute:e.execute})}}):void 0,d=o&&i&&"preview"===i&&!/(preview|fullscreen)/.test(e.keyCommand);return(0,n4.jsxs)("li",c({},e.liProps,{className:u?"active":"",children:[!e.buttonProps&&e.icon,e.buttonProps&&s.createElement("button",c({type:"button",disabled:d,"data-name":e.name},e.buttonProps,{onClick:function(t){t.stopPropagation(),f(e,e.groupName)}}),e.icon),e.children&&(0,n4.jsx)(im,{groupName:e.groupName,prefixCls:t,children:a,commands:Array.isArray(e.children)?e.children:void 0})]}),n)})})}function iD(e){void 0===e&&(e={});var t=e,n=t.prefixCls,r=t.height,i=t.isChild,u=(0,s.useContext)(n8),o=u.commands,l=u.extraCommands;return(0,n4.jsxs)("div",{className:n+"-toolbar",style:{height:void 0===r?29:r},children:[(0,n4.jsx)(ig,c({},e,{commands:e.commands||o||[]})),!i&&(0,n4.jsx)(ig,c({},e,{commands:l||[]}))]})}var ix=function(e){var t=e||{},n=t.prefixCls,r=t.onChange,i=(0,s.useRef)();function u(t){if(i.current){var n=i.current.height+t.clientY-i.current.dragY;n>=e.minHeight&&n<=e.maxHeight&&r&&r(i.current.height+(t.clientY-i.current.dragY))}}function o(){i.current=void 0}(0,s.useEffect)(function(){return document&&(document.addEventListener("mousemove",u),document.addEventListener("mouseup",o)),function(){document&&(document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",o))}},[]);var l=(0,s.useMemo)(function(){return(0,n4.jsx)("svg",{viewBox:"0 0 512 512",height:"100%",children:(0,n4.jsx)("path",{fill:"currentColor",d:"M304 256c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm120-48c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm-336 0c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z"})})},[]);return(0,n4.jsx)("div",{className:n+"-bar",onMouseDown:function(t){i.current={height:e.height,dragY:t.clientY}},children:l})},iF=["prefixCls","className","value","commands","extraCommands","height","toolbarHeight","enableScroll","visiableDragbar","highlightEnable","preview","fullscreen","previewOptions","textareaProps","maxHeight","minHeight","autoFocus","tabSize","onChange","hideToolbar","renderTextarea"],iC=s.forwardRef(function(e,t){var n=e||{},r=n.prefixCls,i=void 0===r?"w-md-editor":r,u=n.className,o=n.value,l=n.commands,f=void 0===l?ii():l,d=n.extraCommands,p=void 0===d?iu():d,h=n.height,m=void 0===h?200:h,g=n.toolbarHeight,D=void 0===g?29:g,x=n.enableScroll,F=void 0===x||x,C=n.visiableDragbar,y=n.highlightEnable,v=void 0===y||y,E=n.preview,b=void 0===E?"live":E,k=n.fullscreen,A=void 0!==k&&k,w=n.previewOptions,S=n.textareaProps,B=n.maxHeight,T=n.minHeight,L=n.autoFocus,I=n.tabSize,j=void 0===I?2:I,O=n.onChange,P=n.hideToolbar,z=n.renderTextarea,N=a(n,iF),M=(0,s.useReducer)(n7,{markdown:o,preview:b,height:m,highlightEnable:v,tabSize:j,scrollTop:0,scrollTopPreview:0,commands:f,extraCommands:p,fullscreen:A,onChange:O,barPopup:{}}),U=M[0],R=M[1],_=(0,s.useRef)(null),H=(0,s.useRef)(null),q=(0,s.useRef)(F);(0,s.useImperativeHandle)(t,function(){return c({},U)}),(0,s.useMemo)(function(){return q.current=F},[F]),(0,s.useEffect)(function(){var e={};_.current&&(e.container=_.current||void 0),e.markdown=o||"",e.barPopup={},R&&R(c({},U,e))},[]);var V=[u,i,U.preview?i+"-show-"+U.preview:null,U.fullscreen?i+"-fullscreen":null].filter(Boolean).join(" ").trim();(0,s.useMemo)(function(){return o!==U.markdown&&R({markdown:o||""})},[o,U.markdown]),(0,s.useMemo)(function(){return b!==U.preview&&R({preview:b})},[b]),(0,s.useMemo)(function(){return m!==U.height&&R({height:m})},[m]),(0,s.useMemo)(function(){return j!==U.tabSize&&R({tabSize:j})},[j]),(0,s.useMemo)(function(){return v!==U.highlightEnable&&R({highlightEnable:v})},[v]),(0,s.useMemo)(function(){return L!==U.autoFocus&&R({autoFocus:L})},[L]),(0,s.useMemo)(function(){return A!==U.fullscreen&&R({fullscreen:A})},[A]);var $=(0,s.useRef)(),W=(0,s.useRef)("preview"),Z=(0,s.useRef)(!1);(0,s.useMemo)(function(){$.current=U.textareaWarp,U.textareaWarp&&(U.textareaWarp.addEventListener("mouseover",function(){W.current="text"}),U.textareaWarp.addEventListener("mouseleave",function(){W.current="preview"}))},[U.textareaWarp]);var Q=function(e,t){if(q.current){var n=$.current,r=H.current?H.current.mdp.current:void 0;if(Z.current||(W.current=t,Z.current=!0),n&&r){var i=(n.scrollHeight-n.offsetHeight)/(r.scrollHeight-r.offsetHeight);e.target===n&&"text"===W.current&&(r.scrollTop=n.scrollTop/i),e.target===r&&"preview"===W.current&&(n.scrollTop=r.scrollTop*i);var u=0;"text"===W.current?u=n.scrollTop||0:"preview"===W.current&&(u=r.scrollTop||0),R({scrollTop:u})}}};return(0,n4.jsx)(n8.Provider,{value:c({},U,{dispatch:R}),children:(0,n4.jsxs)("div",c({ref:_,className:V},N,{onClick:function(){var e;R({barPopup:c({},(void 0===(e=U.barPopup)&&(e={}),Object.keys(e).forEach(function(t){e[t]=!1}),e))})},style:c({},N.style,{height:U.fullscreen?"100%":P?Number(U.height)-D:U.height}),children:[!P&&(0,n4.jsx)(iD,{prefixCls:i,height:D}),(0,n4.jsxs)("div",{className:i+"-content",style:{height:U.fullscreen?"calc(100% - "+D+"px)":Number(U.height)-D},children:[/(edit|live)/.test(U.preview||"")&&(0,n4.jsx)(ih,c({className:i+"-input",prefixCls:i,autoFocus:L},S,{renderTextarea:z,onScroll:function(e){return Q(e,"text")}})),/(live|preview)/.test(U.preview||"")&&(0,n4.jsx)(n5,c({},void 0===w?{}:w,{onScroll:function(e){return Q(e,"preview")},ref:H,source:U.markdown||"",className:i+"-preview"}))]}),(void 0===C||C)&&!U.fullscreen&&(0,n4.jsx)(ix,{prefixCls:i,height:U.height,maxHeight:void 0===B?1200:B,minHeight:void 0===T?100:T,onChange:function(e){R({height:e})}})]}))})});iC.Markdown=n5;var iy=iC},46135:function(e,t,n){let r=n(14369);e.exports=u;let i=Object.hasOwnProperty;function u(){if(!(this instanceof u))return new u;this.reset()}function o(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(r,"").replace(/ /g,"-"))}u.prototype.slug=function(e,t){let n=o(e,!0===t),r=n;for(;i.call(this.occurrences,n);)this.occurrences[r]++,n=r+"-"+this.occurrences[r];return this.occurrences[n]=0,n},u.prototype.reset=function(){this.occurrences=Object.create(null)},u.slug=o},14369:function(e){e.exports=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085
8F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uD
8F37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},1819:function(e){"use strict";e.exports=function(e){return"children"in e?function e(t){for(var n,r=t.children,i=r.length,u=-1,o=[];++u<i;)o[u]="text"===(n=r[u]).type?n.value:n.children?e(n):"";return o.join("")}(e):"value"in e?e.value:""}},87665:function(e){/*!
9 * Determine if an object is a Buffer
10 *
11 * @author   Feross Aboukhadijeh <https://feross.org>
12 * @license  MIT
13 */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},8900:function(e){"use strict";var t={};function n(e,r,i){var u,o,l,c,a,s="";for("string"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),a=function(e){var n,r,i=t[e];if(i)return i;for(n=0,i=t[e]=[];n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)i[e.charCodeAt(n)]=e[n];return i}(r),u=0,o=e.length;u<o;u++){if(l=e.charCodeAt(u),i&&37===l&&u+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(u+1,u+3))){s+=e.slice(u,u+3),u+=2;continue}if(l<128){s+=a[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&u+1<o&&(c=e.charCodeAt(u+1))>=56320&&c<=57343){s+=encodeURIComponent(e[u]+e[u+1]),u++;continue}s+="%EF%BF%BD";continue}s+=encodeURIComponent(e[u])}return s}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},29032:function(e,t,n){"use strict";var r=n(66154);function i(){}function u(){}u.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,u,o){if(o!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
13:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u,resetWarningCache:i};return n.PropTypes=n,n}},74809:function(e,t,n){e.exports=n(29032)()},66154:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},68102:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(63023))&&r.__esModule?r:{default:r};t.default=e=>t=>{(0,i.default)(t,(t,n,r)=>{e&&"function"==typeof e&&e(t,n,r)})},e.exports=t.default},63023:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e&&e.children&&Array.isArray(e.children)&&function e(t,n,r){t.forEach((t,i)=>{r(t,i,n),t&&Array.isArray(t.children)&&e(t.children,t,r)})}(e.children,e,t)},e.exports=t.default}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.