Current File : /home/kelaby89/abl.academy/wp-content/plugins/thim-elementor-kit/build/dashboard.js |
(()=>{var e={849:e=>{"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},l=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var n,t,r,o,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p<d;++p)if(null!=(n=arguments[p]))for(t in n)r=a(f,t),f!==(o=a(n,t))&&(h&&o&&(l(o)||(s=i(o)))?(s?(s=!1,c=r&&i(r)?r:[]):c=r&&l(r)?r:{},u(f,{name:t,newValue:e(h,c,o)})):void 0!==o&&u(f,{name:t,newValue:o}));return f}},788:e=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,a=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(a,s):s}e.exports=function(e,a){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];a=a||{};var f=1,p=1;function d(e){var n=e.match(t);n&&(f+=n.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function h(){var e={line:f,column:p};return function(n){return n.position=new m(e),x(),n}}function m(e){this.start=e,this.end={line:f,column:p},this.source=a.source}m.prototype.content=e;var g=[];function y(n){var t=new Error(a.source+":"+f+":"+p+": "+n);if(t.reason=n,t.filename=a.source,t.line=f,t.column=p,t.source=e,!a.silent)throw t;g.push(t)}function k(n){var t=n.exec(e);if(t){var r=t[0];return d(r),e=e.slice(r.length),t}}function x(){k(r)}function v(e){var n;for(e=e||[];n=b();)!1!==n&&e.push(n);return e}function b(){var n=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var t=2;s!=e.charAt(t)&&("*"!=e.charAt(t)||"/"!=e.charAt(t+1));)++t;if(t+=2,s===e.charAt(t-1))return y("End of comment missing");var r=e.slice(2,t-2);return p+=2,d(r),e=e.slice(t),p+=2,n({type:"comment",comment:r})}}function w(){var e=h(),t=k(o);if(t){if(b(),!k(i))return y("property missing ':'");var r=k(l),a=e({type:"declaration",property:c(t[0].replace(n,s)),value:r?c(r[0].replace(n,s)):s});return k(u),a}}return x(),function(){var e,n=[];for(v(n);e=w();)!1!==e&&(n.push(e),v(n));return n}()}},331:e=>{"use strict";var n={};function t(e,r,o){var i,l,u,a,s,c="";for("string"!=typeof r&&(o=r,r=t.defaultChars),void 0===o&&(o=!0),s=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(r),i=0,l=e.length;i<l;i++)if(u=e.charCodeAt(i),o&&37===u&&i+2<l&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))c+=e.slice(i,i+3),i+=2;else if(u<128)c+=s[u];else if(u>=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1<l&&(a=e.charCodeAt(i+1))>=56320&&a<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}t.defaultChars=";/?:@&=+$,-_.!~*'()#",t.componentChars="-_.!~*'()",e.exports=t},694:(e,n,t)=>{"use strict";var r=t(925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,i,l){if(l!==r){var u=new 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 u.name="Invariant Violation",u}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},556:(e,n,t)=>{e.exports=t(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},255:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},976:(e,n)=>{"use strict";var t=60103,r=60106,o=60107,i=60108,l=60114,u=60109,a=60110,s=60112,c=60113,f=60120,p=60115,d=60116,h=60121,m=60122,g=60117,y=60129,k=60131;if("function"==typeof Symbol&&Symbol.for){var x=Symbol.for;t=x("react.element"),r=x("react.portal"),o=x("react.fragment"),i=x("react.strict_mode"),l=x("react.profiler"),u=x("react.provider"),a=x("react.context"),s=x("react.forward_ref"),c=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),d=x("react.lazy"),h=x("react.block"),m=x("react.server.block"),g=x("react.fundamental"),y=x("react.debug_trace_mode"),k=x("react.legacy_hidden")}function v(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:switch(e=e.type){case o:case l:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case a:case s:case d:case p:case u:return e;default:return n}}case r:return n}}}var b=u,w=t,S=s,E=o,C=d,A=p,F=r,T=l,P=i,O=c;n.ContextConsumer=a,n.ContextProvider=b,n.Element=w,n.ForwardRef=S,n.Fragment=E,n.Lazy=C,n.Memo=A,n.Portal=F,n.Profiler=T,n.StrictMode=P,n.Suspense=O,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return v(e)===a},n.isContextProvider=function(e){return v(e)===u},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},n.isForwardRef=function(e){return v(e)===s},n.isFragment=function(e){return v(e)===o},n.isLazy=function(e){return v(e)===d},n.isMemo=function(e){return v(e)===p},n.isPortal=function(e){return v(e)===r},n.isProfiler=function(e){return v(e)===l},n.isStrictMode=function(e){return v(e)===i},n.isSuspense=function(e){return v(e)===c},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===y||e===i||e===c||e===f||e===k||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===s||e.$$typeof===g||e.$$typeof===h||e[0]===m)},n.typeOf=v},316:(e,n,t)=>{"use strict";e.exports=t(976)},108:(e,n,t)=>{var r=t(788);e.exports=function(e,n){var t,o=null;if(!e||"string"!=typeof e)return o;for(var i,l,u=r(e),a="function"==typeof n,s=0,c=u.length;s<c;s++)i=(t=u[s]).property,l=t.value,a?n(i,l,t):l&&(o||(o={}),o[i]=l);return o}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};t.r(e),t.d(e,{attentionMarkers:()=>yn,contentInitial:()=>fn,disable:()=>kn,document:()=>cn,flow:()=>dn,flowInitial:()=>pn,insideSpan:()=>gn,string:()=>hn,text:()=>mn});var n={};t.r(n),t.d(n,{boolean:()=>ct,booleanish:()=>ft,commaOrSpaceSeparated:()=>gt,commaSeparated:()=>mt,number:()=>dt,overloadedBoolean:()=>pt,spaceSeparated:()=>ht});const r=window.wp.element,o=window.wp.i18n,i=window.wp.components,l=window.wp.apiFetch;var u=t.n(l);const a=window.React;var s=t(255);function c(e){return e&&"object"==typeof e?"position"in e||"type"in e?p(e.position):"start"in e||"end"in e?p(e):"line"in e||"column"in e?f(e):"":""}function f(e){return d(e&&e.line)+":"+d(e&&e.column)}function p(e){return f(e&&e.start)+"-"+f(e&&e.end)}function d(e){return e&&"number"==typeof e?e:1}class h extends Error{constructor(e,n,t){const r=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof n&&(t=n,n=void 0),"string"==typeof t){const e=t.indexOf(":");-1===e?r[1]=t:(r[0]=t.slice(0,e),r[1]=t.slice(e+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=c(n)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}h.prototype.file="",h.prototype.name="",h.prototype.reason="",h.prototype.message="",h.prototype.stack="",h.prototype.fatal=null,h.prototype.column=null,h.prototype.line=null,h.prototype.source=null,h.prototype.ruleId=null,h.prototype.position=null;const m=function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');v(e);let t,r=0,o=-1,i=e.length;if(void 0===n||0===n.length||n.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=l));return r===o?o=l:o<0&&(o=e.length),e.slice(r,o)},g=function(e){if(v(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},y=function(e){v(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const u=e.charCodeAt(t);if(47!==u)r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}return i<0||r<0||0===l||1===l&&i===r-1&&i===o+1?"":e.slice(i,r)},k=function(...e){let n,t=-1;for(;++t<e.length;)v(e[t]),e[t]&&(n=void 0===n?e[t]:n+"/"+e[t]);return void 0===n?".":function(e){v(e);const n=47===e.charCodeAt(0);let t=function(e,n){let t,r,o="",i=0,l=-1,u=0,a=-1;for(;++a<=e.length;){if(a<e.length)t=e.charCodeAt(a);else{if(47===t)break;t=47}if(47===t){if(l===a-1||1===u);else if(l!==a-1&&2===u){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=a,u=0;continue}}else if(o.length>0){o="",i=0,l=a,u=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,a):o=e.slice(l+1,a),i=a-l-1;l=a,u=0}else 46===t&&u>-1?u++:u=-1}return o}(e,!n);return 0!==t.length||n||(t="."),t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/"),n?"/"+t:t}(n)},x="/";function v(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const b=function(){return"/"};function w(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const S=["history","path","basename","stem","extname","dirname"];class E{constructor(e){let n;n=e?"string"==typeof e||s(e)?{value:e}:w(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=b(),this.value,this.stored,this.result,this.map;let t,r=-1;for(;++r<S.length;){const e=S[r];e in n&&void 0!==n[e]&&(this[e]="history"===e?[...n[e]]:n[e])}for(t in n)S.includes(t)||(this[t]=n[t])}get path(){return this.history[this.history.length-1]}set path(e){w(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!w(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const n=e.pathname;let t=-1;for(;++t<n.length;)if(37===n.charCodeAt(t)&&50===n.charCodeAt(t+1)){const e=n.charCodeAt(t+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(n)}(e)}(e)),A(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?g(this.path):void 0}set dirname(e){F(this.basename,"dirname"),this.path=k(e||"",this.basename)}get basename(){return"string"==typeof this.path?m(this.path):void 0}set basename(e){A(e,"basename"),C(e,"basename"),this.path=k(this.dirname||"",e)}get extname(){return"string"==typeof this.path?y(this.path):void 0}set extname(e){if(C(e,"extname"),F(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=k(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?m(this.path,this.extname):void 0}set stem(e){A(e,"stem"),C(e,"stem"),this.path=k(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,n,t){const r=new h(e,n,t);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,n,t){const r=this.message(e,n,t);return r.fatal=null,r}fail(e,n,t){const r=this.message(e,n,t);throw r.fatal=!0,r}}function C(e,n){if(e&&e.includes(x))throw new Error("`"+n+"` cannot be a path: did not expect `"+x+"`")}function A(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function F(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function T(e){if(e)throw e}var P=t(849);function O(e){if("object"!=typeof e||null===e)return!1;const n=Object.getPrototypeOf(e);return!(null!==n&&n!==Object.prototype&&null!==Object.getPrototypeOf(n)||Symbol.toStringTag in e||Symbol.iterator in e)}const I=function e(){const n=function(){const e=[],n={run:function(...n){let t=-1;const r=n.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...l){const u=e[++t];let a=-1;if(i)r(i);else{for(;++a<n.length;)null!==l[a]&&void 0!==l[a]||(l[a]=n[a]);n=l,u?function(e,n){let t;return function(...n){const i=e.length>n.length;let l;i&&n.push(r);try{l=e.apply(this,n)}catch(e){if(i&&t)throw e;return r(e)}i||(l instanceof Promise?l.then(o,r):l instanceof Error?r(l):o(l))};function r(e,...r){t||(t=!0,n(e,...r))}function o(e){r(null,e)}}(u,o)(...l):r(null,...l)}}(null,...n)},use:function(t){if("function"!=typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}(),t=[];let r,o={},i=-1;return l.data=function(e,n){return"string"==typeof e?2===arguments.length?(M("data",r),o[e]=n,l):D.call(o,e)&&o[e]||null:e?(M("data",r),o=e,l):o},l.Parser=void 0,l.Compiler=void 0,l.freeze=function(){if(r)return l;for(;++i<t.length;){const[e,...r]=t[i];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const o=e.call(l,...r);"function"==typeof o&&n.use(o)}return r=!0,i=Number.POSITIVE_INFINITY,l},l.attachers=t,l.use=function(e,...n){let i;if(M("use",r),null==e);else if("function"==typeof e)c(e,...n);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):a(e)}return i&&(o.settings=Object.assign(o.settings||{},i)),l;function u(e){if("function"==typeof e)c(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[n,...t]=e;c(n,...t)}else a(e)}}function a(e){s(e.plugins),e.settings&&(i=Object.assign(i||{},e.settings))}function s(e){let n=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++n<e.length;)u(e[n])}}function c(e,n){let r,o=-1;for(;++o<t.length;)if(t[o][0]===e){r=t[o];break}r?(O(r[1])&&O(n)&&(n=P(!0,r[1],n)),r[1]=n):t.push([...arguments])}},l.parse=function(e){l.freeze();const n=j(e),t=l.Parser;return L("parse",t),_(t,"parse")?new t(String(n),n).parse():t(String(n),n)},l.stringify=function(e,n){l.freeze();const t=j(n),r=l.Compiler;return z("stringify",r),R(e),_(r,"compile")?new r(e,t).compile():r(e,t)},l.run=function(e,t,r){if(R(e),l.freeze(),r||"function"!=typeof t||(r=t,t=void 0),!r)return new Promise(o);function o(o,i){n.run(e,j(t),(function(n,t,l){t=t||e,n?i(n):o?o(t):r(null,t,l)}))}o(null,r)},l.runSync=function(e,n){let t,r;return l.run(e,n,(function(e,n){T(e),t=n,r=!0})),B("runSync","run",r),t},l.process=function(e,n){if(l.freeze(),L("process",l.Parser),z("process",l.Compiler),!n)return new Promise(t);function t(t,r){const o=j(e);function i(e,o){e||!o?r(e):t?t(o):n(null,o)}l.run(l.parse(o),o,((e,n,t)=>{if(!e&&n&&t){const o=l.stringify(n,t);null==o||("string"==typeof(r=o)||s(r)?t.value=o:t.result=o),i(e,t)}else i(e);var r}))}t(null,n)},l.processSync=function(e){let n;l.freeze(),L("processSync",l.Parser),z("processSync",l.Compiler);const t=j(e);return l.process(t,(function(e){n=!0,T(e)})),B("processSync","process",n),t},l;function l(){const n=e();let r=-1;for(;++r<t.length;)n.use(...t[r]);return n.data(P(!0,{},o)),n}}().freeze(),D={}.hasOwnProperty;function _(e,n){return"function"==typeof e&&e.prototype&&(function(e){let n;for(n in e)if(D.call(e,n))return!0;return!1}(e.prototype)||n in e.prototype)}function L(e,n){if("function"!=typeof n)throw new TypeError("Cannot `"+e+"` without `Parser`")}function z(e,n){if("function"!=typeof n)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function M(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function R(e){if(!O(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function B(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function j(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new E(e)}function H(e,n){return e&&"object"==typeof e&&(e.value||(n?e.alt:"")||"children"in e&&N(e.children,n)||Array.isArray(e)&&N(e,n))||""}function N(e,n){for(var t=[],r=-1;++r<e.length;)t[r]=H(e[r],n);return t.join("")}function U(e,n,t,r){const o=e.length;let i,l=0;if(n=n<0?-n>o?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);l<r.length;)i=r.slice(l,l+1e4),i.unshift(n,0),[].splice.apply(e,i),l+=1e4,n+=1e4}function V(e,n){return e.length>0?(U(e,e.length,0,n),e):n}const q={}.hasOwnProperty;function $(e,n){let t;for(t in n){const r=(q.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;for(i in o){q.call(r,i)||(r[i]=[]);const e=o[i];W(r[i],Array.isArray(e)?e:e?[e]:[])}}}function W(e,n){let t=-1;const r=[];for(;++t<n.length;)("after"===n[t].add?e:r).push(n[t]);U(e,0,0,r)}const Y=ie(/[A-Za-z]/),Q=ie(/\d/),K=ie(/[\dA-Fa-f]/),X=ie(/[\dA-Za-z]/),Z=ie(/[!-/:-@[-`{-~]/),G=ie(/[#-'*+\--9=?A-Z^-~]/);function J(e){return null!==e&&(e<32||127===e)}function ee(e){return null!==e&&(e<0||32===e)}function ne(e){return null!==e&&e<-2}function te(e){return-2===e||-1===e||32===e}const re=ie(/\s/),oe=ie(/[!-/:-@[-`{-~\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 ie(e){return function(n){return null!==n&&e.test(String.fromCharCode(n))}}function le(e,n,t,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return te(r)?(e.enter(t),l(r)):n(r)};function l(r){return te(r)&&i++<o?(e.consume(r),l):(e.exit(t),n(r))}}const ue={tokenize:function(e){const n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null!==t)return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),le(e,n,"linePrefix");e.consume(t)}),(function(n){return e.enter("paragraph"),r(n)}));let t;return n;function r(n){const r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,o(n)}function o(n){return null===n?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(n)):ne(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),o)}}},ae={tokenize:function(e){const n=this,t=[];let r,o,i,l=0;return u;function u(r){if(l<t.length){const o=t[l];return n.containerState=o[1],e.attempt(o[0].continuation,a,s)(r)}return s(r)}function a(e){if(l++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,r&&k();const t=n.events.length;let o,i=t;for(;i--;)if("exit"===n.events[i][0]&&"chunkFlow"===n.events[i][1].type){o=n.events[i][1].end;break}y(l);let u=t;for(;u<n.events.length;)n.events[u][1].end=Object.assign({},o),u++;return U(n.events,i+1,0,n.events.slice(t)),n.events.length=u,s(e)}return u(e)}function s(o){if(l===t.length){if(!r)return p(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);n.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(se,c,f)(o)}function c(e){return r&&k(),y(l),p(e)}function f(e){return n.parser.lazy[n.now().line]=l!==t.length,i=n.now().offset,h(e)}function p(t){return n.containerState={},e.attempt(se,d,h)(t)}function d(e){return l++,t.push([n.currentConstruct,n.containerState]),p(e)}function h(t){return null===t?(r&&k(),y(0),void e.consume(t)):(r=r||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(t))}function m(t){return null===t?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(t)):ne(t)?(e.consume(t),g(e.exit("chunkFlow")),l=0,n.interrupt=void 0,u):(e.consume(t),m)}function g(e,t){const u=n.sliceStream(e);if(t&&u.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(u),n.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const t=n.events.length;let o,u,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(o){u=n.events[a][1].end;break}o=!0}for(y(l),e=t;e<n.events.length;)n.events[e][1].end=Object.assign({},u),e++;U(n.events,a+1,0,n.events.slice(t)),n.events.length=e}}function y(r){let o=t.length;for(;o-- >r;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function k(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},se={tokenize:function(e,n,t){return le(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},ce={tokenize:function(e,n,t){return le(e,(function(e){return null===e||ne(e)?n(e):t(e)}),"linePrefix")},partial:!0};function fe(e){const n={};let t,r,o,i,l,u,a,s=-1;for(;++s<e.length;){for(;s in n;)s=n[s];if(t=e[s],s&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[s-1][1].type&&(u=t[1]._tokenizer.events,o=0,o<u.length&&"lineEndingBlank"===u[o][1].type&&(o+=2),o<u.length&&"content"===u[o][1].type))for(;++o<u.length&&"content"!==u[o][1].type;)"chunkText"===u[o][1].type&&(u[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===t[0])t[1].contentType&&(Object.assign(n,pe(e,s)),s=n[s],a=!0);else if(t[1]._container){for(o=s,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(t[1].end=Object.assign({},e[r][1].start),l=e.slice(r,s),l.unshift(t),U(e,r,s-r+1,l))}}return!a}function pe(e,n){const t=e[n][1],r=e[n][2];let o=n-1;const i=[],l=t._tokenizer||r.parser[t.contentType](t.start),u=l.events,a=[],s={};let c,f,p=-1,d=t,h=0,m=0;const g=[m];for(;d;){for(;e[++o][1]!==d;);i.push(o),d._tokenizer||(c=r.sliceStream(d),d.next||c.push(null),f&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=t;++p<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(m=p+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),p=g.length;p--;){const n=u.slice(g[p],g[p+1]),t=i.pop();a.unshift([t,t+n.length-1]),U(e,t,2,n)}for(p=-1;++p<a.length;)s[h+a[p][0]]=h+a[p][1],h+=a[p][1]-a[p][0]-1;return s}const de={tokenize:function(e,n){let t;return function(n){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),r(n)};function r(n){return null===n?o(n):ne(n)?e.check(he,i,o)(n):(e.consume(n),r)}function o(t){return e.exit("chunkContent"),e.exit("content"),n(t)}function i(n){return e.consume(n),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,r}},resolve:function(e){return fe(e),e}},he={tokenize:function(e,n,t){const r=this;return function(n){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),le(e,o,"linePrefix")};function o(o){if(null===o||ne(o))return t(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0},me={tokenize:function(e){const n=this,t=e.attempt(ce,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,le(e,e.attempt(this.parser.constructs.flow,r,e.attempt(de,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}},ge={resolveAll:ve()},ye=xe("string"),ke=xe("text");function xe(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return a(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),u;n.consume(e)}function u(e){return a(e)?(n.exit("data"),o(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o<n.length;){const e=n[o];if(!e.previous||e.previous.call(t,t.previous))return!0}return!1}},resolveAll:ve("text"===e?be:void 0)}}function ve(e){return function(n,t){let r,o=-1;for(;++o<=n.length;)void 0===r?n[o]&&"data"===n[o][1].type&&(r=o,o++):n[o]&&"data"===n[o][1].type||(o!==r+2&&(n[r][1].end=n[o-1][1].end,n.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(n,t):n}}function be(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||"lineEnding"===e[t][1].type)&&"data"===e[t-1][1].type){const r=e[t-1][1],o=n.sliceStream(r);let i,l=o.length,u=-1,a=0;for(;l--;){const e=o[l];if("string"==typeof e){for(u=e.length;32===e.charCodeAt(u-1);)a++,u--;if(u)break;u=-1}else if(-2===e)i=!0,a++;else if(-1!==e){l++;break}}if(a){const o={type:t===e.length||i||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+l,_bufferIndex:l?u:r.start._bufferIndex+u},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(t,0,["enter",o,n],["exit",o,n]),t+=2)}t++}return e}function we(e,n,t){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(n=i(n,t),r.push(i))}return n}function Se(e,n,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let l=[],u=[],a=!0;const s={consume:function(e){ne(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,x()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e,a=!0},enter:function(e,n){const t=n||{};return t.type=e,t.start=h(),c.events.push(["enter",t,c]),u.push(t),t},exit:function(e){const n=u.pop();return n.end=h(),c.events.push(["exit",n,c]),n},attempt:y((function(e,n){k(e,n.from)})),check:y(g),interrupt:y(g,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,n){return function(e,n){let t=-1;const r=[];let o;for(;++t<e.length;){const i=e[t];let l;if("string"==typeof i)l=i;else switch(i){case-5:l="\r";break;case-4:l="\n";break;case-3:l="\r\n";break;case-2:l=n?" ":"\t";break;case-1:if(!n&&o)continue;l=" ";break;default:l=String.fromCharCode(i)}o=-2===i,r.push(l)}return r.join("")}(d(e),n)},now:h,defineSkip:function(e){o[e.line]=e.column,x()},write:function(e){return l=V(l,e),function(){let e;for(;r._index<l.length;){const n=l[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)m(n.charCodeAt(r._bufferIndex));else m(n)}}(),null!==l[l.length-1]?[]:(k(n,0),c.events=we(i,c.events,c),c.events)}};let f,p=n.tokenize.call(c,s);return n.resolveAll&&i.push(n),c;function d(e){return function(e,n){const t=n.start._index,r=n.start._bufferIndex,o=n.end._index,i=n.end._bufferIndex;let l;return t===o?l=[e[t].slice(r,i)]:(l=e.slice(t,o),r>-1&&(l[0]=l[0].slice(r)),i>0&&l.push(e[o].slice(0,i))),l}(l,e)}function h(){return Object.assign({},r)}function m(e){a=void 0,f=e,p=p(e)}function g(e,n){n.restore()}function y(e,n){return function(t,o,i){let l,f,p,d;return Array.isArray(t)?g(t):"tokenize"in t?g([t]):(m=t,function(e){const n=null!==e&&m[e],t=null!==e&&m.null;return g([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(t)?t:t?[t]:[]])(e)});var m;function g(e){return l=e,f=0,0===e.length?i:y(e[f])}function y(e){return function(t){return d=function(){const e=h(),n=c.previous,t=c.currentConstruct,o=c.events.length,i=Array.from(u);return{restore:function(){r=e,c.previous=n,c.currentConstruct=t,c.events.length=o,u=i,x()},from:o}}(),p=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?v():e.tokenize.call(n?Object.assign(Object.create(c),n):c,s,k,v)(t)}}function k(n){return a=!0,e(p,d),o}function v(e){return a=!0,d.restore(),++f<l.length?y(l[f]):i}}}function k(e,n){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&U(c.events,n,c.events.length-n,e.resolve(c.events.slice(n),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function x(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const Ee={name:"thematicBreak",tokenize:function(e,n,t){let r,o=0;return function(n){return e.enter("thematicBreak"),r=n,i(n)};function i(u){return u===r?(e.enter("thematicBreakSequence"),l(u)):te(u)?le(e,i,"whitespace")(u):o<3||null!==u&&!ne(u)?t(u):(e.exit("thematicBreak"),n(u))}function l(n){return n===r?(e.consume(n),o++,l):(e.exit("thematicBreakSequence"),i(n))}}},Ce={name:"list",tokenize:function(e,n,t){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,l=0;return function(n){const o=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||n===r.containerState.marker:Q(n)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===n||45===n?e.check(Ee,t,a)(n):a(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(n)}return t(n)};function u(n){return Q(n)&&++l<10?(e.consume(n),u):(!r.interrupt||l<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),a(n)):t(n)}function a(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(ce,r.interrupt?t:s,e.attempt(Ae,f,c))}function s(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function c(n){return te(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),f):t(n)}function f(t){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(ce,(function(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,le(e,n,"listItemIndent",r.containerState.size+1)(t)}),(function(t){return r.containerState.furtherBlankLines||!te(t)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(t)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Fe,n,o)(t))}));function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,le(e,e.attempt(Ce,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},Ae={tokenize:function(e,n,t){const r=this;return le(e,(function(e){const o=r.events[r.events.length-1];return!te(e)&&o&&"listItemPrefixWhitespace"===o[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Fe={tokenize:function(e,n,t){const r=this;return le(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},Te={name:"blockQuote",tokenize:function(e,n,t){const r=this;return function(n){if(62===n){const t=r.containerState;return t.open||(e.enter("blockQuote",{_container:!0}),t.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),o}return t(n)};function o(t){return te(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){return le(e,e.attempt(Te,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function Pe(e,n,t,r,o,i,l,u,a){const s=a||Number.POSITIVE_INFINITY;let c=0;return function(n){return 60===n?(e.enter(r),e.enter(o),e.enter(i),e.consume(n),e.exit(i),f):null===n||41===n||J(n)?t(n):(e.enter(r),e.enter(l),e.enter(u),e.enter("chunkString",{contentType:"string"}),h(n))};function f(t){return 62===t?(e.enter(i),e.consume(t),e.exit(i),e.exit(o),e.exit(r),n):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(t))}function p(n){return 62===n?(e.exit("chunkString"),e.exit(u),f(n)):null===n||60===n||ne(n)?t(n):(e.consume(n),92===n?d:p)}function d(n){return 60===n||62===n||92===n?(e.consume(n),p):p(n)}function h(o){return 40===o?++c>s?t(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):null===o||ee(o)?c?t(o):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):J(o)?t(o):(e.consume(o),92===o?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function Oe(e,n,t,r,o,i){const l=this;let u,a=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!u||94===f&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):ne(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||ne(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),u=u||!te(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function Ie(e,n,t,r,o,i){let l;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,u};function u(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===l?(e.exit(i),u(l)):null===n?t(n):ne(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),le(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===l||null===n||ne(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===l||92===n?(e.consume(n),s):s(n)}}function De(e,n){let t;return function r(o){return ne(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r):te(o)?le(e,r,t?"linePrefix":"lineSuffix")(o):n(o)}}function _e(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Le={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),Oe.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(n){return o=_e(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),De(e,Pe(e,e.attempt(ze,le(e,l,"whitespace"),le(e,l,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(n)}function l(i){return null===i||ne(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),n(i)):t(i)}}},ze={tokenize:function(e,n,t){return function(n){return ee(n)?De(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?Ie(e,le(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function o(e){return null===e||ne(e)?n(e):t(e)}},partial:!0},Me={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),le(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?u(n):ne(n)?e.attempt(Re,i,u)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||ne(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function u(t){return e.exit("codeIndented"),n(t)}}},Re={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):ne(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):le(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):ne(e)?o(e):t(e)}},partial:!0},Be={name:"headingAtx",tokenize:function(e,n,t){const r=this;let o=0;return function(n){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(n)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||ee(u)?(e.exit("atxHeadingSequence"),r.interrupt?n(u):l(u)):t(u)}function l(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||ne(t)?(e.exit("atxHeading"),n(t)):te(t)?le(e,l,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),l(n))}function a(n){return null===n||35===n||ee(n)?(e.exit("atxHeadingText"),l(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;return"whitespace"===e[i][1].type&&(i+=2),o-2>i&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4),o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},U(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},je={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return function(n){return r.parser.lazy[r.now().line]||!r.interrupt&&!i?t(n):(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=n,u(n))};function u(n){return n===o?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),le(e,a,"lineSuffix")(n))}function a(r){return null===r||ne(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l,e.push(["exit",l,n]),e}},He=["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"],Ne=["pre","script","style","textarea"],Ue={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,u,a;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),d):63===u?(e.consume(u),o=3,r.interrupt?n:L):Y(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,h):t(u)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,l="CDATA[",u=0,p):Y(i)?(e.consume(i),o=4,r.interrupt?n:L):t(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?n:L):t(o)}function p(o){return o===l.charCodeAt(u++)?(e.consume(o),u===l.length?r.interrupt?n:A:p):t(o)}function d(n){return Y(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(u){return null===u||47===u||62===u||ee(u)?47!==u&&i&&Ne.includes(l.toLowerCase())?(o=1,r.interrupt?n(u):A(u)):He.includes(l.toLowerCase())?(o=6,47===u?(e.consume(u),m):r.interrupt?n(u):A(u)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(u):i?y(u):g(u)):45===u||X(u)?(e.consume(u),l+=String.fromCharCode(u),h):t(u)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:A):t(o)}function g(n){return te(n)?(e.consume(n),g):E(n)}function y(n){return 47===n?(e.consume(n),E):58===n||95===n||Y(n)?(e.consume(n),k):te(n)?(e.consume(n),y):E(n)}function k(n){return 45===n||46===n||58===n||95===n||X(n)?(e.consume(n),k):x(n)}function x(n){return 61===n?(e.consume(n),v):te(n)?(e.consume(n),x):y(n)}function v(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,b):te(n)?(e.consume(n),v):(a=null,w(n))}function b(n){return null===n||ne(n)?t(n):n===a?(e.consume(n),S):(e.consume(n),b)}function w(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||ee(n)?x(n):(e.consume(n),w)}function S(e){return 47===e||62===e||te(e)?y(e):t(e)}function E(n){return 62===n?(e.consume(n),C):t(n)}function C(n){return te(n)?(e.consume(n),C):null===n||ne(n)?A(n):t(n)}function A(n){return 45===n&&2===o?(e.consume(n),O):60===n&&1===o?(e.consume(n),I):62===n&&4===o?(e.consume(n),z):63===n&&3===o?(e.consume(n),L):93===n&&5===o?(e.consume(n),_):!ne(n)||6!==o&&7!==o?null===n||ne(n)?F(n):(e.consume(n),A):e.check(Ve,z,F)(n)}function F(n){return e.exit("htmlFlowData"),T(n)}function T(n){return null===n?M(n):ne(n)?e.attempt({tokenize:P,partial:!0},T,M)(n):(e.enter("htmlFlowData"),A(n))}function P(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}}function O(n){return 45===n?(e.consume(n),L):A(n)}function I(n){return 47===n?(e.consume(n),l="",D):A(n)}function D(n){return 62===n&&Ne.includes(l.toLowerCase())?(e.consume(n),z):Y(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),D):A(n)}function _(n){return 93===n?(e.consume(n),L):A(n)}function L(n){return 62===n?(e.consume(n),z):45===n&&2===o?(e.consume(n),L):A(n)}function z(n){return null===n||ne(n)?(e.exit("htmlFlowData"),M(n)):(e.consume(n),z)}function M(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},Ve={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ce,n,t)}},partial:!0},qe={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let r=0;return le(e,(function(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),o(n)}),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(n){return n===a?(e.consume(n),r++,o):r<s?t(n):(e.exit("codeFencedFenceSequence"),le(e,i,"whitespace")(n))}function i(r){return null===r||ne(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0},i={tokenize:function(e,n,t){const r=this;return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},l=this.events[this.events.length-1],u=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0;let a,s=0;return function(n){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),a=n,c(n)};function c(n){return n===a?(e.consume(n),s++,c):(e.exit("codeFencedFenceSequence"),s<3?t(n):le(e,f,"whitespace")(n))}function f(n){return null===n||ne(n)?m(n):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(n))}function p(n){return null===n||ee(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),le(e,d,"whitespace")(n)):96===n&&n===a?t(n):(e.consume(n),p)}function d(n){return null===n||ne(n)?m(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(n))}function h(n){return null===n||ne(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(n)):96===n&&n===a?t(n):(e.consume(n),h)}function m(t){return e.exit("codeFencedFence"),r.interrupt?n(t):g(t)}function g(n){return null===n?k(n):ne(n)?e.attempt(i,e.attempt(o,k,u?le(e,g,"linePrefix",u+1):g),k)(n):(e.enter("codeFlowValue"),y(n))}function y(n){return null===n||ne(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),y)}function k(t){return e.exit("codeFenced"),n(t)}},concrete:!0},$e=document.createElement("i");function We(e){const n="&"+e+";";$e.innerHTML=n;const t=$e.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&t!==n&&t}const Ye={name:"characterReference",tokenize:function(e,n,t){const r=this;let o,i,l=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),u};function u(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),a):(e.enter("characterReferenceValue"),o=31,i=X,s(n))}function a(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=K,s):(e.enter("characterReferenceValue"),o=7,i=Q,s(n))}function s(u){let a;return 59===u&&l?(a=e.exit("characterReferenceValue"),i!==X||We(r.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(u)):i(u)&&l++<o?(e.consume(u),s):t(u)}}},Qe={name:"characterEscape",tokenize:function(e,n,t){return function(n){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(n),e.exit("escapeMarker"),r};function r(r){return Z(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(r)}}},Ke={name:"lineEnding",tokenize:function(e,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),le(e,n,"linePrefix")}}},Xe={name:"labelEnd",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if(("labelImage"===r.events[l][1].type||"labelLink"===r.events[l][1].type)&&!r.events[l][1]._balanced){o=r.events[l][1];break}return function(n){return o?o._inactive?a(n):(i=r.parser.defined.includes(_e(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelEnd"),u):t(n)};function u(t){return 40===t?e.attempt(Ze,n,i?n:a)(t):91===t?e.attempt(Ge,n,i?e.attempt(Je,n,a):a)(t):i?n(t):a(t)}function a(e){return o._balanced=!0,t(e)}},resolveTo:function(e,n){let t,r,o,i,l=e.length,u=0;for(;l--;)if(t=e[l][1],r){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[l][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(o){if("enter"===e[l][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(r=l,"labelLink"!==t.type)){u=2;break}}else"labelEnd"===t.type&&(o=l);const a={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},c={type:"labelText",start:Object.assign({},e[r+u+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",a,n],["enter",s,n]],i=V(i,e.slice(r+1,r+u+3)),i=V(i,[["enter",c,n]]),i=V(i,we(n.parser.constructs.insideSpan.null,e.slice(r+u+4,o-3),n)),i=V(i,[["exit",c,n],e[o-2],e[o-1],["exit",s,n]]),i=V(i,e.slice(o+1)),i=V(i,[["exit",a,n]]),U(e,r,e.length,i),e},resolveAll:function(e){let n,t=-1;for(;++t<e.length;)n=e[t][1],"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++);return e}},Ze={tokenize:function(e,n,t){return function(n){return e.enter("resource"),e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),De(e,r)};function r(n){return 41===n?l(n):Pe(e,o,t,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(n)}function o(n){return ee(n)?De(e,i)(n):l(n)}function i(n){return 34===n||39===n||40===n?Ie(e,De(e,l),t,"resourceTitle","resourceTitleMarker","resourceTitleString")(n):l(n)}function l(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),n):t(r)}}},Ge={tokenize:function(e,n,t){const r=this;return function(n){return Oe.call(r,e,o,t,"reference","referenceMarker","referenceString")(n)};function o(e){return r.parser.defined.includes(_e(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(e):t(e)}}},Je={tokenize:function(e,n,t){return function(n){return e.enter("reference"),e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),n):t(r)}}},en={name:"labelStartImage",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(n),e.exit("labelImageMarker"),o};function o(n){return 91===n?(e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelImage"),i):t(n)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:Xe.resolveAll};function nn(e){return null===e||ee(e)||re(e)?1:oe(e)?2:void 0}const tn={name:"attention",tokenize:function(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,o=nn(r);let i;return function(n){return e.enter("attentionSequence"),i=n,l(n)};function l(u){if(u===i)return e.consume(u),l;const a=e.exit("attentionSequence"),s=nn(u),c=!s||2===s&&o||t.includes(u),f=!o||2===o&&s||t.includes(r);return a._open=Boolean(42===i?c:c&&(o||!f)),a._close=Boolean(42===i?f:f&&(s||!c)),n(u)}},resolveAll:function(e,n){let t,r,o,i,l,u,a,s,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(t=c;t--;)if("exit"===e[t][0]&&"attentionSequence"===e[t][1].type&&e[t][1]._open&&n.sliceSerialize(e[t][1]).charCodeAt(0)===n.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[t][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[t][1].end.offset-e[t][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;u=e[t][1].end.offset-e[t][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);rn(f,-u),rn(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=V(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=V(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),a=V(a,we(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=V(a,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=V(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,U(e,t-1,c-t+3,a),c=t+a.length-s-2;break}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function rn(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const on={name:"autolink",tokenize:function(e,n,t){let r=1;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(n){return Y(n)?(e.consume(n),i):G(n)?a(n):t(n)}function i(e){return 43===e||45===e||46===e||X(e)?l(e):a(e)}function l(n){return 58===n?(e.consume(n),u):(43===n||45===n||46===n||X(n))&&r++<32?(e.consume(n),l):a(n)}function u(n){return 62===n?(e.exit("autolinkProtocol"),p(n)):null===n||32===n||60===n||J(n)?t(n):(e.consume(n),u)}function a(n){return 64===n?(e.consume(n),r=0,s):G(n)?(e.consume(n),a):t(n)}function s(e){return X(e)?c(e):t(e)}function c(n){return 46===n?(e.consume(n),r=0,s):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",p(n)):f(n)}function f(n){return(45===n||X(n))&&r++<63?(e.consume(n),45===n?f:c):t(n)}function p(t){return e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n}}},ln={name:"htmlText",tokenize:function(e,n,t){const r=this;let o,i,l,u;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),a};function a(n){return 33===n?(e.consume(n),s):47===n?(e.consume(n),w):63===n?(e.consume(n),v):Y(n)?(e.consume(n),C):t(n)}function s(n){return 45===n?(e.consume(n),c):91===n?(e.consume(n),i="CDATA[",l=0,m):Y(n)?(e.consume(n),x):t(n)}function c(n){return 45===n?(e.consume(n),f):t(n)}function f(n){return null===n||62===n?t(n):45===n?(e.consume(n),p):d(n)}function p(e){return null===e||62===e?t(e):d(e)}function d(n){return null===n?t(n):45===n?(e.consume(n),h):ne(n)?(u=d,_(n)):(e.consume(n),d)}function h(n){return 45===n?(e.consume(n),z):d(n)}function m(n){return n===i.charCodeAt(l++)?(e.consume(n),l===i.length?g:m):t(n)}function g(n){return null===n?t(n):93===n?(e.consume(n),y):ne(n)?(u=g,_(n)):(e.consume(n),g)}function y(n){return 93===n?(e.consume(n),k):g(n)}function k(n){return 62===n?z(n):93===n?(e.consume(n),k):g(n)}function x(n){return null===n||62===n?z(n):ne(n)?(u=x,_(n)):(e.consume(n),x)}function v(n){return null===n?t(n):63===n?(e.consume(n),b):ne(n)?(u=v,_(n)):(e.consume(n),v)}function b(e){return 62===e?z(e):v(e)}function w(n){return Y(n)?(e.consume(n),S):t(n)}function S(n){return 45===n||X(n)?(e.consume(n),S):E(n)}function E(n){return ne(n)?(u=E,_(n)):te(n)?(e.consume(n),E):z(n)}function C(n){return 45===n||X(n)?(e.consume(n),C):47===n||62===n||ee(n)?A(n):t(n)}function A(n){return 47===n?(e.consume(n),z):58===n||95===n||Y(n)?(e.consume(n),F):ne(n)?(u=A,_(n)):te(n)?(e.consume(n),A):z(n)}function F(n){return 45===n||46===n||58===n||95===n||X(n)?(e.consume(n),F):T(n)}function T(n){return 61===n?(e.consume(n),P):ne(n)?(u=T,_(n)):te(n)?(e.consume(n),T):A(n)}function P(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),o=n,O):ne(n)?(u=P,_(n)):te(n)?(e.consume(n),P):(e.consume(n),o=void 0,D)}function O(n){return n===o?(e.consume(n),I):null===n?t(n):ne(n)?(u=O,_(n)):(e.consume(n),O)}function I(e){return 62===e||47===e||ee(e)?A(e):t(e)}function D(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):62===n||ee(n)?A(n):(e.consume(n),D)}function _(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),le(e,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function L(n){return e.enter("htmlTextData"),u(n)}function z(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}}},un={name:"labelStartLink",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:Xe.resolveAll},an={name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(n),r};function r(r){return ne(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(r)):t(r)}}},sn={name:"codeText",tokenize:function(e,n,t){let r,o,i=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),l(n)};function l(n){return 96===n?(e.consume(n),i++,l):(e.exit("codeTextSequence"),u(n))}function u(n){return null===n?t(n):96===n?(o=e.enter("codeTextSequence"),r=0,s(n)):32===n?(e.enter("space"),e.consume(n),e.exit("space"),u):ne(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),u):(e.enter("codeTextData"),a(n))}function a(n){return null===n||32===n||96===n||ne(n)?(e.exit("codeTextData"),u(n)):(e.consume(n),a)}function s(t){return 96===t?(e.consume(t),r++,s):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(t)):(o.type="codeTextData",a(t))}},resolve:function(e){let n,t,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(n=o;++n<r;)if("codeTextData"===e[n][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}for(n=o-1,r++;++n<=r;)void 0===t?n!==r&&"lineEnding"!==e[n][1].type&&(t=n):n!==r&&"lineEnding"!==e[n][1].type||(e[t][1].type="codeTextData",n!==t+2&&(e[t][1].end=e[n-1][1].end,e.splice(t+2,n-t-2),r-=n-t-2,n=t+2),t=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}},cn={42:Ce,43:Ce,45:Ce,48:Ce,49:Ce,50:Ce,51:Ce,52:Ce,53:Ce,54:Ce,55:Ce,56:Ce,57:Ce,62:Te},fn={91:Le},pn={[-2]:Me,[-1]:Me,32:Me},dn={35:Be,42:Ee,45:[je,Ee],60:Ue,61:je,95:Ee,96:qe,126:qe},hn={38:Ye,92:Qe},mn={[-5]:Ke,[-4]:Ke,[-3]:Ke,33:en,38:Ye,42:tn,60:[on,ln],91:un,92:[an,Qe],93:Xe,95:tn,96:sn},gn={null:[tn,ge]},yn={null:[42,95]},kn={null:[]};const xn=/[\0\t\n\r]/g;function vn(e,n){const t=Number.parseInt(e,n);return t<9||11===t||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||!(65535&~t)||65534==(65535&t)||t>1114111?"�":String.fromCharCode(t)}const bn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wn(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return vn(t.slice(n?2:1),n?16:10)}return We(t)||e}const Sn={}.hasOwnProperty,En=function(n,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e={}){const n=Cn({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(w),autolinkProtocol:h,autolinkEmail:h,atxHeading:u(x),blockQuote:u((function(){return{type:"blockquote",children:[]}})),characterEscape:h,characterReference:h,codeFenced:u(k),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:u(k,a),codeText:u((function(){return{type:"inlineCode",value:""}}),a),codeTextData:h,data:h,codeFlowValue:h,definition:u((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:u((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:u(v),hardBreakTrailing:u(v),htmlFlow:u(b,a),htmlFlowData:h,htmlText:u(b,a),htmlTextData:h,image:u((function(){return{type:"image",title:null,url:"",alt:null}})),label:a,link:u(w),listItem:u((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){i("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue"))},listOrdered:u(S,(function(){o("expectingFirstListItemValue",!0)})),listUnordered:u(S),paragraph:u((function(){return{type:"paragraph",children:[]}})),reference:function(){o("referenceType","collapsed")},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:u(x),strong:u((function(){return{type:"strong",children:[]}})),thematicBreak:u((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:f(),atxHeadingSequence:function(e){const n=this.stack[this.stack.length-1];if(!n.depth){const t=this.sliceSerialize(e).length;n.depth=t}},autolink:f(),autolinkEmail:function(e){m.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){m.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:f(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:y,characterReferenceMarkerNumeric:y,characterReferenceValue:function(e){const n=this.sliceSerialize(e),t=i("characterReferenceType");let r;t?(r=vn(n,"characterReferenceMarkerNumeric"===t?10:16),o("characterReferenceType")):r=We(n);const u=this.stack.pop();u.value+=r,u.position.end=l(e.end)},codeFenced:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")})),codeFencedFence:function(){i("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:m,codeIndented:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:m,data:m,definition:f(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=_e(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:f(),hardBreakEscape:f(g),hardBreakTrailing:f(g),htmlFlow:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:m,htmlText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:m,image:f((function(){const e=this.stack[this.stack.length-1];i("inReference")?(e.type+="Reference",e.referenceType=i("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),o("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];o("inReference",!0),"link"===t.type?t.children=e.children:t.alt=n},labelText:function(e){const n=this.stack[this.stack.length-2],t=this.sliceSerialize(e);n.label=function(e){return e.replace(bn,wn)}(t),n.identifier=_e(t).toLowerCase()},lineEnding:function(e){const t=this.stack[this.stack.length-1];if(i("atHardBreak"))return t.children[t.children.length-1].position.end=l(e.end),void o("atHardBreak");!i("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(t.type)&&(h.call(this,e),m.call(this,e))},link:f((function(){const e=this.stack[this.stack.length-1];i("inReference")?(e.type+="Reference",e.referenceType=i("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),o("referenceType")})),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=_e(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){o("inReference")},setextHeading:f((function(){o("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){o("setextHeadingSlurpLineEnding",!0)},strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),t={};return function(e){let t={type:"root",children:[]};const u=[],c=[],f={stack:[t],tokenStack:u,config:n,enter:s,exit:p,buffer:a,resume:d,setData:o,getData:i};let h=-1;for(;++h<e.length;)"listOrdered"!==e[h][1].type&&"listUnordered"!==e[h][1].type||("enter"===e[h][0]?c.push(h):h=r(e,c.pop(),h));for(h=-1;++h<e.length;){const t=n[e[h][0]];Sn.call(t,e[h][1].type)&&t[e[h][1].type].call(Object.assign({sliceSerialize:e[h][2].sliceSerialize},f),e[h][1])}if(u.length>0){const e=u[u.length-1];(e[1]||Fn).call(f,void 0,e[0])}for(t.position={start:l(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:l(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<n.transforms.length;)t=n.transforms[h](t)||t;return t};function r(e,n,t){let r,o,i,l,u=n-1,a=-1,s=!1;for(;++u<=t;){const n=e[u];if("listUnordered"===n[1].type||"listOrdered"===n[1].type||"blockQuote"===n[1].type?("enter"===n[0]?a++:a--,l=void 0):"lineEndingBlank"===n[1].type?"enter"===n[0]&&(!r||l||a||i||(i=u),l=void 0):"linePrefix"===n[1].type||"listItemValue"===n[1].type||"listItemMarker"===n[1].type||"listItemPrefix"===n[1].type||"listItemPrefixWhitespace"===n[1].type||(l=void 0),!a&&"enter"===n[0]&&"listItemPrefix"===n[1].type||-1===a&&"exit"===n[0]&&("listUnordered"===n[1].type||"listOrdered"===n[1].type)){if(r){let l=u;for(o=void 0;l--;){const n=e[l];if("lineEnding"===n[1].type||"lineEndingBlank"===n[1].type){if("exit"===n[0])continue;o&&(e[o][1].type="lineEndingBlank",s=!0),n[1].type="lineEnding",o=l}else if("linePrefix"!==n[1].type&&"blockQuotePrefix"!==n[1].type&&"blockQuotePrefixWhitespace"!==n[1].type&&"blockQuoteMarker"!==n[1].type&&"listItemIndent"!==n[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:n[1].end),e.splice(o||u,0,["exit",r,n[2]]),u++,t++}"listItemPrefix"===n[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},n[1].start)},e.splice(u,0,["enter",r,n[2]]),u++,t++,i=void 0,l=!0)}}return e[n][1]._spread=s,t}function o(e,n){t[e]=n}function i(e){return t[e]}function l(e){return{line:e.line,column:e.column,offset:e.offset}}function u(e,n){return function(t){s.call(this,e(t),t),n&&n.call(this,t)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(e,n,t){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([n,t]),e.position={start:l(n.start)},e}function f(e){return function(n){e&&e.call(this,n),p.call(this,n)}}function p(e,n){const t=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+c({start:e.start,end:e.end})+"): it’s not open");return r[0].type!==e.type&&(n?n.call(this,e,r[0]):(r[1]||Fn).call(this,e,r[0])),t.position.end=l(e.end),t}function d(){return function(e){var{includeImageAlt:n=!0}={};return H(e,n)}(this.stack.pop())}function h(e){const n=this.stack[this.stack.length-1];let t=n.children[n.children.length-1];t&&"text"===t.type||(t={type:"text",value:""},t.position={start:l(e.start)},n.children.push(t)),this.stack.push(t)}function m(e){const n=this.stack.pop();n.value+=this.sliceSerialize(e),n.position.end=l(e.end)}function g(){o("atHardBreak",!0)}function y(e){o("characterReferenceType",e.type)}function k(){return{type:"code",lang:null,meta:null,value:""}}function x(){return{type:"heading",depth:void 0,children:[]}}function v(){return{type:"break"}}function b(){return{type:"html",value:""}}function w(){return{type:"link",title:null,url:"",children:[]}}function S(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(r)(function(e){for(;!fe(e););return e}(function(n={}){const t=function(e){const n={};let t=-1;for(;++t<e.length;)$(n,e[t]);return n}([e].concat(n.extensions||[])),r={defined:[],lazy:{},constructs:t,content:o(ue),document:o(ae),flow:o(me),string:o(ye),text:o(ke)};return r;function o(e){return function(n){return Se(r,e,n)}}}(r).document().write(function(){let e,n=1,t="",r=!0;return function(o,i,l){const u=[];let a,s,c,f,p;for(o=t+o.toString(i),c=0,t="",r&&(65279===o.charCodeAt(0)&&c++,r=void 0);c<o.length;){if(xn.lastIndex=c,a=xn.exec(o),f=a&&void 0!==a.index?a.index:o.length,p=o.charCodeAt(f),!a){t=o.slice(c);break}if(10===p&&c===f&&e)u.push(-3),e=void 0;else switch(e&&(u.push(-5),e=void 0),c<f&&(u.push(o.slice(c,f)),n+=f-c),p){case 0:u.push(65533),n++;break;case 9:for(s=4*Math.ceil(n/4),u.push(-2);n++<s;)u.push(-1);break;case 10:u.push(-4),n=1;break;default:e=!0,n=1}c=f+1}return l&&(e&&u.push(-5),t&&u.push(t),u.push(null)),u}}()(n,t,!0))))};function Cn(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?Cn(e,r):An(e,r)}return e}function An(e,n){let t;for(t in n)if(Sn.call(n,t)){const r="canContainEols"===t||"transforms"===t,o=(Sn.call(e,t)?e[t]:void 0)||(e[t]=r?[]:{}),i=n[t];i&&(r?e[t]=[...o,...i]:Object.assign(o,i))}}function Fn(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+c({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+c({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+c({start:n.start,end:n.end})+") is still open")}const Tn=function(e){Object.assign(this,{Parser:n=>{const t=this.data("settings");return En(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};var Pn=function(e,n,t){var r={type:String(e)};return null!=t||"string"!=typeof n&&!Array.isArray(n)?Object.assign(r,n):t=n,Array.isArray(t)?r.children=t:null!=t&&(r.value=String(t)),r};const On=function(e){if(null==e)return Dn;if("string"==typeof e)return n=e,In((function(e){return e&&e.type===n}));var n;if("object"==typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=On(e[t]);return In((function(...e){let t=-1;for(;++t<n.length;)if(n[t].call(this,...e))return!0;return!1}))}(e):function(e){return In((function(n){let t;for(t in e)if(n[t]!==e[t])return!1;return!0}))}(e);if("function"==typeof e)return In(e);throw new Error("Expected function, string, or object as test")};function In(e){return function(...n){return Boolean(e.call(this,...n))}}function Dn(){return!0}const Ln=!1,zn=function(e,n,t,r){"function"==typeof n&&"function"!=typeof t&&(r=t,t=n,n=null),function(e,n,t,r){"function"==typeof n&&"function"!=typeof t&&(r=t,t=n,n=null);const o=On(n),i=r?-1:1;!function e(l,u,a){const s="object"==typeof l&&null!==l?l:{};let c;return"string"==typeof s.type&&(c="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0,Object.defineProperty(f,"name",{value:"node ("+s.type+(c?"<"+c+">":"")+")"})),f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(t(l,a)),p[0]===Ln))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c<l.children.length;){if(s=e(l.children[c],c,f)(),s[0]===Ln)return s;c="number"==typeof s[1]?s[1]:c+i}return p}}(e,null,[])()}(e,n,(function(e,n){const r=n[n.length-1];return t(e,r?r.children.indexOf(e):null,r)}),r)},Mn=Bn("start"),Rn=Bn("end");function Bn(e){return function(n){const t=n&&n.position&&n.position[e]||{};return{line:t.line||null,column:t.column||null,offset:t.offset>-1?t.offset:null}}}const jn={}.hasOwnProperty;function Hn(e){return String(e||"").toUpperCase()}const Nn={}.hasOwnProperty;function Un(e,n){const t=n.data||{};return"value"in n&&!(Nn.call(t,"hName")||Nn.call(t,"hProperties")||Nn.call(t,"hChildren"))?e.augment(n,Pn("text",n.value)):e(n,"div",$n(e,n))}function Vn(e,n,t){const r=n&&n.type;let o;if(!r)throw new Error("Expected node, got `"+n+"`");return o=Nn.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?qn:e.unknownHandler,("function"==typeof o?o:Un)(e,n,t)}function qn(e,n){return"children"in n?{...n,children:$n(e,n)}:n}function $n(e,n){const t=[];if("children"in n){const r=n.children;let o=-1;for(;++o<r.length;){const i=Vn(e,r[o],n);if(i){if(o&&"break"===r[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}function Wn(e,n){return e(n,"hr")}function Yn(e,n){const t=[];let r=-1;for(n&&t.push(Pn("text","\n"));++r<e.length;)r&&t.push(Pn("text","\n")),t.push(e[r]);return n&&e.length>0&&t.push(Pn("text","\n")),t}function Qn(e,n){const t={},r=n.ordered?"ol":"ul",o=$n(e,n);let i=-1;for("number"==typeof n.start&&1!==n.start&&(t.start=n.start);++i<o.length;){const e=o[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}return e(n,r,t,Yn(o,!0))}function Kn(e,n){const t=e.footnoteOrder,r=String(n.identifier),o=t.indexOf(r),i=String(-1===o?t.push(r):o+1);return e(n,"a",{href:"#fn"+i,className:["footnote-ref"],id:"fnref"+i,role:"doc-noteref"},[e(n.position,"sup",[Pn("text",i)])])}var Xn=t(331);function Zn(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return Pn("text","!["+n.alt+r);const o=$n(e,n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(Pn("text","["));const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push(Pn("text",r)),o}function Gn(e){const n=e.spread;return null==n?e.children.length>1:n}const Jn={blockquote:function(e,n){return e(n,"blockquote",Yn($n(e,n),!0))},break:function(e,n){return[e(n,"br"),Pn("text","\n")]},code:function(e,n){const t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(n,"code",o,[Pn("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",$n(e,n))},emphasis:function(e,n){return e(n,"em",$n(e,n))},footnoteReference:Kn,footnote:function(e,n){const t=e.footnoteById,r=e.footnoteOrder;let o=1;for(;o in t;)o++;const i=String(o);return r.push(i),t[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:n.children}],position:n.position},Kn(e,{type:"footnoteReference",identifier:i,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,$n(e,n))},html:function(e,n){return e.dangerous?e.augment(n,Pn("raw",n.value)):null},imageReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Zn(e,n);const r={src:Xn(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){const t={src:Xn(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[Pn("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Zn(e,n);const r={href:Xn(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,$n(e,n))},link:function(e,n){const t={href:Xn(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,$n(e,n))},listItem:function(e,n,t){const r=$n(e,n),o=t?function(e){let n=e.spread;const t=e.children;let r=-1;for(;!n&&++r<t.length;)n=Gn(t[r]);return Boolean(n)}(t):Gn(n),i={},l=[];if("boolean"==typeof n.checked){let t;r[0]&&"element"===r[0].type&&"p"===r[0].tagName?t=r[0]:(t=e(null,"p",[]),r.unshift(t)),t.children.length>0&&t.children.unshift(Pn("text"," ")),t.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const e=r[u];(o||0!==u||"element"!==e.type||"p"!==e.tagName)&&l.push(Pn("text","\n")),"element"!==e.type||"p"!==e.tagName||o?l.push(e):l.push(...e.children)}const a=r[r.length-1];return!a||!o&&"tagName"in a&&"p"===a.tagName||l.push(Pn("text","\n")),e(n,"li",i,l)},list:Qn,paragraph:function(e,n){return e(n,"p",$n(e,n))},root:function(e,n){return e.augment(n,Pn("root",Yn($n(e,n))))},strong:function(e,n){return e(n,"strong",$n(e,n))},table:function(e,n){const t=n.children;let r=-1;const o=n.align||[],i=[];for(;++r<t.length;){const l=t[r].children,u=0===r?"th":"td";let a=n.align?o.length:l.length;const s=[];for(;a--;){const n=l[a];s[a]=e(n,u,{align:o[a]},n?$n(e,n):[])}i[r]=e(t[r],"tr",Yn(s,!0))}return e(n,"table",Yn([e(i[0].position,"thead",Yn([i[0]],!0))].concat(i[1]?e({start:Mn(i[1]),end:Rn(i[i.length-1])},"tbody",Yn(i.slice(1),!0)):[]),!0))},text:function(e,n){return e.augment(n,Pn("text",String(n.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:Wn,toml:et,yaml:et,definition:et,footnoteDefinition:et};function et(){return null}const nt={}.hasOwnProperty;function tt(e,n){const t=function(e,n){const t=n||{},r=t.allowDangerousHtml||!1,o={};return l.dangerous=r,l.definition=function(e){const n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return zn(e,"definition",(e=>{const t=Hn(e.identifier);t&&!jn.call(n,t)&&(n[t]=e)})),function(e){const t=Hn(e);return t&&jn.call(n,t)?n[t]:null}}(e),l.footnoteById=o,l.footnoteOrder=[],l.augment=i,l.handlers={...Jn,...t.handlers},l.unknownHandler=t.unknownHandler,l.passThrough=t.passThrough,zn(e,"footnoteDefinition",(e=>{const n=String(e.identifier).toUpperCase();nt.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){const t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){const r="type"in e?e:{position:e};(t=r)&&t.position&&t.position.start&&t.position.start.line&&t.position.start.column&&t.position.end&&t.position.end.line&&t.position.end.column&&(n.position={start:Mn(r),end:Rn(r)})}var t;return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}(e,n),r=Vn(t,e,null),o=function(e){const n=e.footnoteById,t=e.footnoteOrder;let r=-1;const o=[];for(;++r<t.length;){const e=n[t[r].toUpperCase()];if(!e)continue;const i=String(r+1),l=[...e.children],u={type:"link",url:"#fnref"+i,data:{hProperties:{className:["footnote-back"],role:"doc-backlink"}},children:[{type:"text",value:"↩"}]},a=l[l.length-1];a&&"paragraph"===a.type?a.children.push(u):l.push(u),o.push({type:"listItem",data:{hProperties:{id:"fn"+i,role:"doc-endnote"}},children:l,position:e.position})}return 0===o.length?null:e(null,"section",{className:["footnotes"],role:"doc-endnotes"},Yn([Wn(e),Qn(e,{type:"list",ordered:!0,children:o})],!0))}(t);return o&&r.children.push(Pn("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}const rt=function(e,n){return e&&"run"in e?function(e,n){return(t,r,o)=>{e.run(tt(t,n),r,(e=>{o(e)}))}}(e,n):function(e){return n=>tt(n,e)}(e)};var ot=t(556);class it{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function lt(e,n){const t={},r={};let o=-1;for(;++o<e.length;)Object.assign(t,e[o].property),Object.assign(r,e[o].normal);return new it(t,r,n)}function ut(e){return e.toLowerCase()}it.prototype.property={},it.prototype.normal={},it.prototype.space=null;class at{constructor(e,n){this.property=e,this.attribute=n}}at.prototype.space=null,at.prototype.boolean=!1,at.prototype.booleanish=!1,at.prototype.overloadedBoolean=!1,at.prototype.number=!1,at.prototype.commaSeparated=!1,at.prototype.spaceSeparated=!1,at.prototype.commaOrSpaceSeparated=!1,at.prototype.mustUseProperty=!1,at.prototype.defined=!1;let st=0;const ct=yt(),ft=yt(),pt=yt(),dt=yt(),ht=yt(),mt=yt(),gt=yt();function yt(){return 2**++st}const kt=Object.keys(n);class xt extends at{constructor(e,t,r,o){let i=-1;if(super(e,t),vt(this,"space",o),"number"==typeof r)for(;++i<kt.length;){const e=kt[i];vt(this,kt[i],(r&n[e])===n[e])}}}function vt(e,n,t){t&&(e[n]=t)}xt.prototype.defined=!0;const bt={}.hasOwnProperty;function wt(e){const n={},t={};let r;for(r in e.properties)if(bt.call(e.properties,r)){const o=e.properties[r],i=new xt(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),n[r]=i,t[ut(r)]=r,t[ut(i.attribute)]=r}return new it(n,t,e.space)}const St=wt({space:"xlink",transform:(e,n)=>"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Et=wt({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ct(e,n){return n in e?e[n]:n}function At(e,n){return Ct(e,n.toLowerCase())}const Ft=wt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:At,properties:{xmlns:null,xmlnsXLink:null}}),Tt=wt({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:ft,ariaAutoComplete:null,ariaBusy:ft,ariaChecked:ft,ariaColCount:dt,ariaColIndex:dt,ariaColSpan:dt,ariaControls:ht,ariaCurrent:null,ariaDescribedBy:ht,ariaDetails:null,ariaDisabled:ft,ariaDropEffect:ht,ariaErrorMessage:null,ariaExpanded:ft,ariaFlowTo:ht,ariaGrabbed:ft,ariaHasPopup:null,ariaHidden:ft,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ht,ariaLevel:dt,ariaLive:null,ariaModal:ft,ariaMultiLine:ft,ariaMultiSelectable:ft,ariaOrientation:null,ariaOwns:ht,ariaPlaceholder:null,ariaPosInSet:dt,ariaPressed:ft,ariaReadOnly:ft,ariaRelevant:null,ariaRequired:ft,ariaRoleDescription:ht,ariaRowCount:dt,ariaRowIndex:dt,ariaRowSpan:dt,ariaSelected:ft,ariaSetSize:dt,ariaSort:null,ariaValueMax:dt,ariaValueMin:dt,ariaValueNow:dt,ariaValueText:null,role:null}}),Pt=wt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:At,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:mt,acceptCharset:ht,accessKey:ht,action:null,allow:null,allowFullScreen:ct,allowPaymentRequest:ct,allowUserMedia:ct,alt:null,as:null,async:ct,autoCapitalize:null,autoComplete:ht,autoFocus:ct,autoPlay:ct,capture:ct,charSet:null,checked:ct,cite:null,className:ht,cols:dt,colSpan:null,content:null,contentEditable:ft,controls:ct,controlsList:ht,coords:dt|mt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ct,defer:ct,dir:null,dirName:null,disabled:ct,download:pt,draggable:ft,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ct,formTarget:null,headers:ht,height:dt,hidden:ct,high:dt,href:null,hrefLang:null,htmlFor:ht,httpEquiv:ht,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ct,itemId:null,itemProp:ht,itemRef:ht,itemScope:ct,itemType:ht,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ct,low:dt,manifest:null,max:null,maxLength:dt,media:null,method:null,min:null,minLength:dt,multiple:ct,muted:ct,name:null,nonce:null,noModule:ct,noValidate:ct,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ct,optimum:dt,pattern:null,ping:ht,placeholder:null,playsInline:ct,poster:null,preload:null,readOnly:ct,referrerPolicy:null,rel:ht,required:ct,reversed:ct,rows:dt,rowSpan:dt,sandbox:ht,scope:null,scoped:ct,seamless:ct,selected:ct,shape:null,size:dt,sizes:null,slot:null,span:dt,spellCheck:ft,src:null,srcDoc:null,srcLang:null,srcSet:null,start:dt,step:null,style:null,tabIndex:dt,target:null,title:null,translate:null,type:null,typeMustMatch:ct,useMap:null,value:ft,width:dt,wrap:null,align:null,aLink:null,archive:ht,axis:null,background:null,bgColor:null,border:dt,borderColor:null,bottomMargin:dt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ct,declare:ct,event:null,face:null,frame:null,frameBorder:null,hSpace:dt,leftMargin:dt,link:null,longDesc:null,lowSrc:null,marginHeight:dt,marginWidth:dt,noResize:ct,noHref:ct,noShade:ct,noWrap:ct,object:null,profile:null,prompt:null,rev:null,rightMargin:dt,rules:null,scheme:null,scrolling:ft,standby:null,summary:null,text:null,topMargin:dt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:dt,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ct,disableRemotePlayback:ct,prefix:null,property:null,results:dt,security:null,unselectable:null}}),Ot=wt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ct,properties:{about:gt,accentHeight:dt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:dt,amplitude:dt,arabicForm:null,ascent:dt,attributeName:null,attributeType:null,azimuth:dt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:dt,by:null,calcMode:null,capHeight:dt,className:ht,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:dt,diffuseConstant:dt,direction:null,display:null,dur:null,divisor:dt,dominantBaseline:null,download:ct,dx:null,dy:null,edgeMode:null,editable:null,elevation:dt,enableBackground:null,end:null,event:null,exponent:dt,externalResourcesRequired:null,fill:null,fillOpacity:dt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:mt,g2:mt,glyphName:mt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:dt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:dt,horizOriginX:dt,horizOriginY:dt,id:null,ideographic:dt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:dt,k:dt,k1:dt,k2:dt,k3:dt,k4:dt,kernelMatrix:gt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:dt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:dt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:dt,overlineThickness:dt,paintOrder:null,panose1:null,path:null,pathLength:dt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:dt,pointsAtY:dt,pointsAtZ:dt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:gt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:gt,rev:gt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:gt,requiredFeatures:gt,requiredFonts:gt,requiredFormats:gt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:dt,specularExponent:dt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:dt,strikethroughThickness:dt,string:null,stroke:null,strokeDashArray:gt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:dt,strokeOpacity:dt,strokeWidth:null,style:null,surfaceScale:dt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:gt,tabIndex:dt,tableValues:null,target:null,targetX:dt,targetY:dt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:gt,to:null,transform:null,u1:null,u2:null,underlinePosition:dt,underlineThickness:dt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:dt,values:null,vAlphabetic:dt,vMathematical:dt,vectorEffect:null,vHanging:dt,vIdeographic:dt,version:null,vertAdvY:dt,vertOriginX:dt,vertOriginY:dt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:dt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),It=lt([Et,St,Ft,Tt,Pt],"html"),Dt=lt([Et,St,Ft,Tt,Ot],"svg");function _t(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{zn(n,"element",((n,t,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&"number"==typeof t&&(i=!e.allowElement(n,t,o)),i&&"number"==typeof t)return e.unwrapDisallowed&&n.children?o.children.splice(t,1,...n.children):o.children.splice(t,1),t}))}}const Lt=["http","https","mailto","tel"];var zt=t(316);function Mt(e){const n=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}const Rt=/^data[-\w.:]+$/i,Bt=/-[a-z]/g,jt=/[A-Z]/g;function Ht(e){return"-"+e.toLowerCase()}function Nt(e){return e.charAt(1).toUpperCase()}const Ut={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Vt=t(108);const qt={}.hasOwnProperty,$t=new Set(["table","thead","tbody","tfoot","tr"]);function Wt(e,n){const t=[];let r,o=-1;for(;++o<n.children.length;)r=n.children[o],"element"===r.type?t.push(Yt(e,r,o,n)):"text"===r.type?"element"===n.type&&$t.has(n.tagName)&&Mt(r)||t.push(r.value):"raw"!==r.type||e.options.skipHtml||t.push(r.value);return t}function Yt(e,n,t,r){const o=e.options,i=e.schema,l=n.tagName,u={};let s,c=i;if("html"===i.space&&"svg"===l&&(c=Dt,e.schema=c),n.properties)for(s in n.properties)qt.call(n.properties,s)&&Kt(u,s,n.properties[s],e);"ol"!==l&&"ul"!==l||e.listDepth++;const f=Wt(e,n);"ol"!==l&&"ul"!==l||e.listDepth--,e.schema=i;const p=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},d=o.components&&qt.call(o.components,l)?o.components[l]:l,h="string"==typeof d||d===a.Fragment;if(!zt.isValidElementType(d))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(u.key=[l,p.start.line,p.start.column,t].join("-"),"a"===l&&o.linkTarget&&(u.target="function"==typeof o.linkTarget?o.linkTarget(String(u.href||""),n.children,"string"==typeof u.title?u.title:null):o.linkTarget),"a"===l&&o.transformLinkUri&&(u.href=o.transformLinkUri(String(u.href||""),n.children,"string"==typeof u.title?u.title:null)),h||"code"!==l||"element"!==r.type||"pre"===r.tagName||(u.inline=!0),h||"h1"!==l&&"h2"!==l&&"h3"!==l&&"h4"!==l&&"h5"!==l&&"h6"!==l||(u.level=Number.parseInt(l.charAt(1),10)),"img"===l&&o.transformImageUri&&(u.src=o.transformImageUri(String(u.src||""),String(u.alt||""),"string"==typeof u.title?u.title:null)),!h&&"li"===l&&"element"===r.type){const e=function(e){let n=-1;for(;++n<e.children.length;){const t=e.children[n];if("element"===t.type&&"input"===t.tagName)return t}return null}(n);u.checked=e&&e.properties?Boolean(e.properties.checked):null,u.index=Qt(r,n),u.ordered="ol"===r.tagName}var m;return h||"ol"!==l&&"ul"!==l||(u.ordered="ol"===l,u.depth=e.listDepth),"td"!==l&&"th"!==l||(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),h||(u.isHeader="th"===l)),h||"tr"!==l||"element"!==r.type||(u.isHeader=Boolean("thead"===r.tagName)),o.sourcePos&&(u["data-sourcepos"]=[(m=p).start.line,":",m.start.column,"-",m.end.line,":",m.end.column].map((e=>String(e))).join("")),!h&&o.rawSourcePos&&(u.sourcePosition=n.position),!h&&o.includeElementIndex&&(u.index=Qt(r,n),u.siblingCount=Qt(r)),h||(u.node=n),f.length>0?a.createElement(d,u,f):a.createElement(d,u)}function Qt(e,n){let t=-1,r=0;for(;++t<e.children.length&&e.children[t]!==n;)"element"===e.children[t].type&&r++;return r}function Kt(e,n,t,r){const o=function(e,n){const t=ut(n);let r=n,o=at;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&"data"===t.slice(0,4)&&Rt.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Bt,Nt);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Bt.test(e)){let t=e.replace(jt,Ht);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=xt}return new o(r,n)}(r.schema,n);let i=t;null!=i&&i==i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e){const n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"==typeof i&&(i=function(e){const n={};try{Vt(e,(function(e,t){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,Xt)]=t}))}catch{}return n}(i)),o.space&&o.property?e[qt.call(Ut,o.property)?Ut[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Xt(e,n){return n.toUpperCase()}const Zt={}.hasOwnProperty,Gt={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 Jt(e){for(const n in Gt)if(Zt.call(Gt,n)&&Zt.call(e,n)){const e=Gt[n];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${n}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete Gt[n]}const n=I().use(Tn).use(e.remarkPlugins||e.plugins||[]).use(rt,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(_t,e),t=new E;"string"==typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=a.createElement(a.Fragment,{},Wt({options:e,schema:It,listDepth:0},r));return e.className&&(o=a.createElement("div",{className:e.className},o)),o}Jt.defaultProps={transformLinkUri:function(e){const n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;const r=n.indexOf(":");if(-1===r)return n;let o=-1;for(;++o<Lt.length;){const e=Lt[o];if(r===e.length&&n.slice(0,e.length).toLowerCase()===e)return n}return o=n.indexOf("?"),-1!==o&&r>o?n:(o=n.indexOf("#"),-1!==o&&r>o?n:"javascript:void(0)")}},Jt.propTypes={children:ot.string,className:ot.string,allowElement:ot.func,allowedElements:ot.arrayOf(ot.string),disallowedElements:ot.arrayOf(ot.string),unwrapDisallowed:ot.bool,remarkPlugins:ot.arrayOf(ot.oneOfType([ot.object,ot.func,ot.arrayOf(ot.oneOfType([ot.object,ot.func]))])),rehypePlugins:ot.arrayOf(ot.oneOfType([ot.object,ot.func,ot.arrayOf(ot.oneOfType([ot.object,ot.func]))])),sourcePos:ot.bool,rawSourcePos:ot.bool,skipHtml:ot.bool,includeElementIndex:ot.bool,transformLinkUri:ot.oneOfType([ot.func,ot.bool]),linkTarget:ot.oneOfType([ot.func,ot.string]),transformImageUri:ot.func,components:ot.object};const er=[{title:(0,o.__)("Documentation","thim-elementor-kit"),content:(0,o.__)("Thim Elementor Templates is a collection of Elementor Templates for your website. You can use these templates to build your website quickly and easily.","thim-elementor-kit"),link:{text:(0,o.__)("Get Started","thim-elementor-kit"),url:"https://docspress.thimpress.com/thim-elementor-kit/"}},{title:(0,o.__)("Video Tutorials","thim-elementor-kit"),content:(0,o.__)("Thim Elementor Templates is a collection of Elementor Templates for your website. You can use these templates to build your website quickly and easily.","thim-elementor-kit"),link:{text:(0,o.__)("Get Started","thim-elementor-kit"),url:""}},{title:(0,o.__)("Help Center","thim-elementor-kit"),content:(0,o.__)("Thim Elementor Templates is a collection of Elementor Templates for your website. You can use these templates to build your website quickly and easily.","thim-elementor-kit"),link:{text:(0,o.__)("Get Started","thim-elementor-kit"),url:""}}];wp.element.render((0,r.createElement)((function(){const[e,n]=(0,r.useState)(""),[t,l]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{!async function(){l(!0);const e=await u()({path:"thim-ekit/changelog",method:"GET"});n(e),l(!1)}()}),[]),(0,r.createElement)("div",{className:"thim-ekit-dashboard"},(0,r.createElement)("div",{className:"thim-ekit-dashboard__banner"},thim_ekit_dashboard.banner&&(0,r.createElement)("img",{src:thim_ekit_dashboard.banner,alt:""})),(0,r.createElement)("div",{className:"thim-ekit-dashboard__inner"},(0,r.createElement)("div",{className:"thim-ekit-dashboard__content"},er.map((e=>{let{title:n,content:t,link:o}=e;return(0,r.createElement)("div",{key:n,className:"thim-ekit-dashboard__content__inner"},(0,r.createElement)("h1",null,n),(0,r.createElement)("p",null,t),(0,r.createElement)("div",{className:"thim-ekit-dashboard__content__inner__button"},(0,r.createElement)("a",{href:o.url},o.text)))}))),(0,r.createElement)("div",{className:"thim-ekit-dashboard__changelog"},(0,r.createElement)("h1",null,(0,o.__)("Changelog","thim-elementor-kit")),(0,r.createElement)("div",{className:"thim-ekit-dashboard__changelog__inner"},t?(0,r.createElement)(i.Spinner,null):(0,r.createElement)(Jt,null,e)))))}),null),document.getElementById("thim-ekit-dashboard-app"))})()})();