@object-ui/plugin-markdown 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,48 +1,40 @@
1
- (function(Pe,Me){typeof exports=="object"&&typeof module<"u"?Me(exports,require("react"),require("@object-ui/core"),require("@object-ui/components")):typeof define=="function"&&define.amd?define(["exports","react","@object-ui/core","@object-ui/components"],Me):(Pe=typeof globalThis<"u"?globalThis:Pe||self,Me(Pe.ObjectUIPluginMarkdown={},Pe.React,Pe.ObjectUICore,Pe.ObjectUIComponents))})(this,(function(Pe,Me,il,ll){"use strict";function Yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var An={exports:{}},cn={};var Xt;function ol(){if(Xt)return cn;Xt=1;var e=Me,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function l(a,u,s){var f,c={},h=null,p=null;s!==void 0&&(h=""+s),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(p=u.ref);for(f in u)r.call(u,f)&&!o.hasOwnProperty(f)&&(c[f]=u[f]);if(a&&a.defaultProps)for(f in u=a.defaultProps,u)c[f]===void 0&&(c[f]=u[f]);return{$$typeof:t,type:a,key:h,ref:p,props:c,_owner:i.current}}return cn.Fragment=n,cn.jsx=l,cn.jsxs=l,cn}var fn={};var Gt;function al(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&(function(){var e=Me,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),y=Symbol.iterator,S="@@iterator";function C(m){if(m===null||typeof m!="object")return null;var v=y&&m[y]||m[S];return typeof v=="function"?v:null}var k=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(m){{for(var v=arguments.length,R=new Array(v>1?v-1:0),L=1;L<v;L++)R[L-1]=arguments[L];T("error",m,R)}}function T(m,v,R){{var L=k.ReactDebugCurrentFrame,K=L.getStackAddendum();K!==""&&(v+="%s",R=R.concat([K]));var Z=R.map(function(Y){return String(Y)});Z.unshift("Warning: "+v),Function.prototype.apply.call(console[m],console,Z)}}var M=!1,N=!1,w=!1,B=!1,X=!1,V;V=Symbol.for("react.module.reference");function x(m){return!!(typeof m=="string"||typeof m=="function"||m===r||m===o||X||m===i||m===s||m===f||B||m===p||M||N||w||typeof m=="object"&&m!==null&&(m.$$typeof===h||m.$$typeof===c||m.$$typeof===l||m.$$typeof===a||m.$$typeof===u||m.$$typeof===V||m.getModuleId!==void 0))}function _(m,v,R){var L=m.displayName;if(L)return L;var K=v.displayName||v.name||"";return K!==""?R+"("+K+")":R}function D(m){return m.displayName||"Context"}function U(m){if(m==null)return null;if(typeof m.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case r:return"Fragment";case n:return"Portal";case o:return"Profiler";case i:return"StrictMode";case s:return"Suspense";case f:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case a:var v=m;return D(v)+".Consumer";case l:var R=m;return D(R._context)+".Provider";case u:return _(m,m.render,"ForwardRef");case c:var L=m.displayName||null;return L!==null?L:U(m.type)||"Memo";case h:{var K=m,Z=K._payload,Y=K._init;try{return U(Y(Z))}catch{return null}}}return null}var O=Object.assign,P=0,G,ne,he,Ce,d,me,Ee;function g(){}g.__reactDisabledLog=!0;function ke(){{if(P===0){G=console.log,ne=console.info,he=console.warn,Ce=console.error,d=console.group,me=console.groupCollapsed,Ee=console.groupEnd;var m={configurable:!0,enumerable:!0,value:g,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}P++}}function Fe(){{if(P--,P===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},m,{value:G}),info:O({},m,{value:ne}),warn:O({},m,{value:he}),error:O({},m,{value:Ce}),group:O({},m,{value:d}),groupCollapsed:O({},m,{value:me}),groupEnd:O({},m,{value:Ee})})}P<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=k.ReactCurrentDispatcher,Le;function xe(m,v,R){{if(Le===void 0)try{throw Error()}catch(K){var L=K.stack.trim().match(/\n( *(at )?)/);Le=L&&L[1]||""}return`
2
- `+Le+m}}var De=!1,Ie;{var an=typeof WeakMap=="function"?WeakMap:Map;Ie=new an}function $n(m,v){if(!m||De)return"";{var R=Ie.get(m);if(R!==void 0)return R}var L;De=!0;var K=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=te.current,te.current=null,ke();try{if(v){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(de){L=de}Reflect.construct(m,[],Y)}else{try{Y.call()}catch(de){L=de}m.call(Y.prototype)}}else{try{throw Error()}catch(de){L=de}m()}}catch(de){if(de&&L&&typeof de.stack=="string"){for(var H=de.stack.split(`
3
- `),ce=L.stack.split(`
4
- `),re=H.length-1,le=ce.length-1;re>=1&&le>=0&&H[re]!==ce[le];)le--;for(;re>=1&&le>=0;re--,le--)if(H[re]!==ce[le]){if(re!==1||le!==1)do if(re--,le--,le<0||H[re]!==ce[le]){var ve=`
5
- `+H[re].replace(" at new "," at ");return m.displayName&&ve.includes("<anonymous>")&&(ve=ve.replace("<anonymous>",m.displayName)),typeof m=="function"&&Ie.set(m,ve),ve}while(re>=1&&le>=0);break}}}finally{De=!1,te.current=Z,Fe(),Error.prepareStackTrace=K}var sn=m?m.displayName||m.name:"",Qe=sn?xe(sn):"";return typeof m=="function"&&Ie.set(m,Qe),Qe}function jt(m,v,R){return $n(m,!1)}function Bt(m){var v=m.prototype;return!!(v&&v.isReactComponent)}function Xe(m,v,R){if(m==null)return"";if(typeof m=="function")return $n(m,Bt(m));if(typeof m=="string")return xe(m);switch(m){case s:return xe("Suspense");case f:return xe("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case u:return jt(m.render);case c:return Xe(m.type,v,R);case h:{var L=m,K=L._payload,Z=L._init;try{return Xe(Z(K),v,R)}catch{}}}return""}var $e=Object.prototype.hasOwnProperty,Tn={},qn=k.ReactDebugCurrentFrame;function Ge(m){if(m){var v=m._owner,R=Xe(m.type,m._source,v?v.type:null);qn.setExtraStackFrame(R)}else qn.setExtraStackFrame(null)}function Hn(m,v,R,L,K){{var Z=Function.call.bind($e);for(var Y in m)if(Z(m,Y)){var H=void 0;try{if(typeof m[Y]!="function"){var ce=Error((L||"React class")+": "+R+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ce.name="Invariant Violation",ce}H=m[Y](v,Y,L,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(re){H=re}H&&!(H instanceof Error)&&(Ge(K),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",L||"React class",R,Y,typeof H),Ge(null)),H instanceof Error&&!(H.message in Tn)&&(Tn[H.message]=!0,Ge(K),E("Failed %s type: %s",R,H.message),Ge(null))}}}var Ut=Array.isArray;function In(m){return Ut(m)}function $t(m){{var v=typeof Symbol=="function"&&Symbol.toStringTag,R=v&&m[Symbol.toStringTag]||m.constructor.name||"Object";return R}}function qt(m){try{return Vn(m),!1}catch{return!0}}function Vn(m){return""+m}function b(m){if(qt(m))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$t(m)),Vn(m)}var A=k.ReactCurrentOwner,z={key:!0,ref:!0,__self:!0,__source:!0},$,J;function be(m){if($e.call(m,"ref")){var v=Object.getOwnPropertyDescriptor(m,"ref").get;if(v&&v.isReactWarning)return!1}return m.ref!==void 0}function ze(m){if($e.call(m,"key")){var v=Object.getOwnPropertyDescriptor(m,"key").get;if(v&&v.isReactWarning)return!1}return m.key!==void 0}function Ae(m,v){typeof m.ref=="string"&&A.current}function Je(m,v){{var R=function(){$||($=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))};R.isReactWarning=!0,Object.defineProperty(m,"key",{get:R,configurable:!0})}}function Ke(m,v){{var R=function(){J||(J=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))};R.isReactWarning=!0,Object.defineProperty(m,"ref",{get:R,configurable:!0})}}var se=function(m,v,R,L,K,Z,Y){var H={$$typeof:t,type:m,key:v,ref:R,props:Y,_owner:Z};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:L}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:K}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function qe(m,v,R,L,K){{var Z,Y={},H=null,ce=null;R!==void 0&&(b(R),H=""+R),ze(v)&&(b(v.key),H=""+v.key),be(v)&&(ce=v.ref,Ae(v,K));for(Z in v)$e.call(v,Z)&&!z.hasOwnProperty(Z)&&(Y[Z]=v[Z]);if(m&&m.defaultProps){var re=m.defaultProps;for(Z in re)Y[Z]===void 0&&(Y[Z]=re[Z])}if(H||ce){var le=typeof m=="function"?m.displayName||m.name||"Unknown":m;H&&Je(Y,le),ce&&Ke(Y,le)}return se(m,H,ce,K,L,A.current,Y)}}var we=k.ReactCurrentOwner,Ki=k.ReactDebugCurrentFrame;function un(m){if(m){var v=m._owner,R=Xe(m.type,m._source,v?v.type:null);Ki.setExtraStackFrame(R)}else Ki.setExtraStackFrame(null)}var Ht;Ht=!1;function Vt(m){return typeof m=="object"&&m!==null&&m.$$typeof===t}function Qi(){{if(we.current){var m=U(we.current.type);if(m)return`
6
-
7
- Check the render method of \``+m+"`."}return""}}function jf(m){return""}var Zi={};function Bf(m){{var v=Qi();if(!v){var R=typeof m=="string"?m:m.displayName||m.name;R&&(v=`
8
-
9
- Check the top-level render call using <`+R+">.")}return v}}function el(m,v){{if(!m._store||m._store.validated||m.key!=null)return;m._store.validated=!0;var R=Bf(v);if(Zi[R])return;Zi[R]=!0;var L="";m&&m._owner&&m._owner!==we.current&&(L=" It was passed a child from "+U(m._owner.type)+"."),un(m),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,L),un(null)}}function nl(m,v){{if(typeof m!="object")return;if(In(m))for(var R=0;R<m.length;R++){var L=m[R];Vt(L)&&el(L,v)}else if(Vt(m))m._store&&(m._store.validated=!0);else if(m){var K=C(m);if(typeof K=="function"&&K!==m.entries)for(var Z=K.call(m),Y;!(Y=Z.next()).done;)Vt(Y.value)&&el(Y.value,v)}}}function Uf(m){{var v=m.type;if(v==null||typeof v=="string")return;var R;if(typeof v=="function")R=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===u||v.$$typeof===c))R=v.propTypes;else return;if(R){var L=U(v);Hn(R,m.props,"prop",L,m)}else if(v.PropTypes!==void 0&&!Ht){Ht=!0;var K=U(v);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",K||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $f(m){{for(var v=Object.keys(m.props),R=0;R<v.length;R++){var L=v[R];if(L!=="children"&&L!=="key"){un(m),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",L),un(null);break}}m.ref!==null&&(un(m),E("Invalid attribute `ref` supplied to `React.Fragment`."),un(null))}}var tl={};function rl(m,v,R,L,K,Z){{var Y=x(m);if(!Y){var H="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(H+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ce=jf();ce?H+=ce:H+=Qi();var re;m===null?re="null":In(m)?re="array":m!==void 0&&m.$$typeof===t?(re="<"+(U(m.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):re=typeof m,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",re,H)}var le=qe(m,v,R,K,Z);if(le==null)return le;if(Y){var ve=v.children;if(ve!==void 0)if(L)if(In(ve)){for(var sn=0;sn<ve.length;sn++)nl(ve[sn],m);Object.freeze&&Object.freeze(ve)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else nl(ve,m)}if($e.call(v,"key")){var Qe=U(m),de=Object.keys(v).filter(function(Xf){return Xf!=="key"}),Wt=de.length>0?"{key: someKey, "+de.join(": ..., ")+": ...}":"{key: someKey}";if(!tl[Qe+Wt]){var Yf=de.length>0?"{"+de.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
1
+ (function(de,Ae){typeof exports=="object"&&typeof module<"u"?Ae(exports,require("react"),require("@object-ui/core"),require("@object-ui/components")):typeof define=="function"&&define.amd?define(["exports","react","@object-ui/core","@object-ui/components"],Ae):(de=typeof globalThis<"u"?globalThis:de||self,Ae(de.ObjectUIPluginMarkdown={},de.React,de.ObjectUICore,de.ObjectUIComponents))})(this,(function(de,Ae,Ci,Ei){"use strict";function mt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var on={exports:{}},qe={};var dt;function Ti(){if(dt)return qe;dt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,o){var l=null;if(o!==void 0&&(l=""+o),i.key!==void 0&&(l=""+i.key),"key"in i){o={};for(var a in i)a!=="key"&&(o[a]=i[a])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:l,ref:i!==void 0?i:null,props:o}}return qe.Fragment=t,qe.jsx=n,qe.jsxs=n,qe}var Ue={};var gt;function Ii(){return gt||(gt=1,process.env.NODE_ENV!=="production"&&(function(){function e(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===P?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case C:return"Fragment";case I:return"Profiler";case y:return"StrictMode";case b:return"Suspense";case N:return"SuspenseList";case k:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case S:return"Portal";case L:return w.displayName||"Context";case E:return(w._context.displayName||"Context")+".Consumer";case F:var z=w.render;return w=w.displayName,w||(w=z.displayName||z.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case H:return z=w.displayName||null,z!==null?z:e(w.type)||"Memo";case B:z=w._payload,w=w._init;try{return e(w(z))}catch{}}return null}function t(w){return""+w}function n(w){try{t(w);var z=!1}catch{z=!0}if(z){z=console;var m=z.error,W=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return m.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",W),t(w)}}function r(w){if(w===C)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===B)return"<...>";try{var z=e(w);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function i(){var w=_.A;return w===null?null:w.getOwner()}function o(){return Error("react-stack-top-frame")}function l(w){if($.call(w,"key")){var z=Object.getOwnPropertyDescriptor(w,"key").get;if(z&&z.isReactWarning)return!1}return w.key!==void 0}function a(w,z){function m(){V||(V=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",z))}m.isReactWarning=!0,Object.defineProperty(w,"key",{get:m,configurable:!0})}function s(){var w=e(this.type);return J[w]||(J[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function u(w,z,m,W,pe,K){var Q=m.ref;return w={$$typeof:g,type:w,key:z,props:m,_owner:W},(Q!==void 0?Q:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:s}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:pe}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function f(w,z,m,W,pe,K){var Q=z.children;if(Q!==void 0)if(W)if(R(Q)){for(W=0;W<Q.length;W++)c(Q[W]);Object.freeze&&Object.freeze(Q)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(Q);if($.call(z,"key")){Q=e(w);var re=Object.keys(z).filter(function(Ie){return Ie!=="key"});W=0<re.length?"{key: someKey, "+re.join(": ..., ")+": ...}":"{key: someKey}",d[Q+W]||(re=0<re.length?"{"+re.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
10
2
  let props = %s;
11
3
  <%s {...props} />
12
4
  React keys must be passed directly to JSX without using spread:
13
5
  let props = %s;
14
- <%s key={someKey} {...props} />`,Wt,Qe,Yf,Qe),tl[Qe+Wt]=!0}}return m===r?$f(le):Uf(le),le}}function qf(m,v,R){return rl(m,v,R,!0)}function Hf(m,v,R){return rl(m,v,R,!1)}var Vf=Hf,Wf=qf;fn.Fragment=r,fn.jsx=Vf,fn.jsxs=Wf})()),fn}var Jt;function ul(){return Jt||(Jt=1,process.env.NODE_ENV==="production"?An.exports=ol():An.exports=al()),An.exports}var Ne=ul();const sl=Me.lazy(()=>Promise.resolve().then(()=>Nf)),Wn=({schema:e})=>Ne.jsx(Me.Suspense,{fallback:Ne.jsx(ll.Skeleton,{className:"w-full h-[200px]"}),children:Ne.jsx(sl,{content:e.content||"",className:e.className})});il.ComponentRegistry.register("markdown",Wn,{label:"Markdown",category:"plugin",inputs:[{name:"content",type:"string",label:"Markdown Content",required:!0,inputType:"textarea"},{name:"className",type:"string",label:"CSS Class"}],defaultProps:{content:`# Hello World
6
+ <%s key={someKey} {...props} />`,W,Q,re,Q),d[Q+W]=!0)}if(Q=null,m!==void 0&&(n(m),Q=""+m),l(z)&&(n(z.key),Q=""+z.key),"key"in z){m={};for(var ke in z)ke!=="key"&&(m[ke]=z[ke])}else m=z;return Q&&a(m,typeof w=="function"?w.displayName||w.name||"Unknown":w),u(w,Q,m,i(),pe,K)}function c(w){h(w)?w._store&&(w._store.validated=1):typeof w=="object"&&w!==null&&w.$$typeof===B&&(w._payload.status==="fulfilled"?h(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function h(w){return typeof w=="object"&&w!==null&&w.$$typeof===g}var p=Ae,g=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),L=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),P=Symbol.for("react.client.reference"),_=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,R=Array.isArray,v=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(w){return w()}};var V,J={},oe=p.react_stack_bottom_frame.bind(p,o)(),fe=v(r(o)),d={};Ue.Fragment=C,Ue.jsx=function(w,z,m){var W=1e4>_.recentlyCreatedOwnerStacks++;return f(w,z,m,!1,W?Error("react-stack-top-frame"):oe,W?v(r(w)):fe)},Ue.jsxs=function(w,z,m){var W=1e4>_.recentlyCreatedOwnerStacks++;return f(w,z,m,!0,W?Error("react-stack-top-frame"):oe,W?v(r(w)):fe)}})()),Ue}var yt;function Ai(){return yt||(yt=1,process.env.NODE_ENV==="production"?on.exports=Ti():on.exports=Ii()),on.exports}var Se=Ai();const vi=Ae.lazy(()=>Promise.resolve().then(()=>tf)),wn=({schema:e})=>Se.jsx(Ae.Suspense,{fallback:Se.jsx(Ei.Skeleton,{className:"w-full h-[200px]"}),children:Se.jsx(vi,{content:e.content||"",className:e.className})});Ci.ComponentRegistry.register("markdown",wn,{label:"Markdown",category:"plugin",inputs:[{name:"content",type:"string",label:"Markdown Content",required:!0,inputType:"textarea"},{name:"className",type:"string",label:"CSS Class"}],defaultProps:{content:`# Hello World
15
7
 
16
8
  This is a **markdown** component with *formatting* support.
17
9
 
18
10
  - Item 1
19
11
  - Item 2
20
- - Item 3`}});const cl={markdown:Wn};function Gf(){}function Jf(){}function fl(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const pl=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,hl=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ml={};function Kt(e,t){return(ml.jsx?hl:pl).test(e)}const dl=/[ \t\n\f\r]/g;function gl(e){return typeof e=="object"?e.type==="text"?Qt(e.value):!1:Qt(e)}function Qt(e){return e.replace(dl,"")===""}class pn{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}pn.prototype.normal={},pn.prototype.property={},pn.prototype.space=void 0;function Zt(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new pn(n,r,t)}function Yn(e){return e.toLowerCase()}class fe{constructor(t,n){this.attribute=n,this.property=t}}fe.prototype.attribute="",fe.prototype.booleanish=!1,fe.prototype.boolean=!1,fe.prototype.commaOrSpaceSeparated=!1,fe.prototype.commaSeparated=!1,fe.prototype.defined=!1,fe.prototype.mustUseProperty=!1,fe.prototype.number=!1,fe.prototype.overloadedBoolean=!1,fe.prototype.property="",fe.prototype.spaceSeparated=!1,fe.prototype.space=void 0;let yl=0;const j=He(),ie=He(),Xn=He(),I=He(),ee=He(),Ze=He(),ge=He();function He(){return 2**++yl}const Gn=Object.freeze(Object.defineProperty({__proto__:null,boolean:j,booleanish:ie,commaOrSpaceSeparated:ge,commaSeparated:Ze,number:I,overloadedBoolean:Xn,spaceSeparated:ee},Symbol.toStringTag,{value:"Module"})),Jn=Object.keys(Gn);class Kn extends fe{constructor(t,n,r,i){let o=-1;if(super(t,n),er(this,"space",i),typeof r=="number")for(;++o<Jn.length;){const l=Jn[o];er(this,Jn[o],(r&Gn[l])===Gn[l])}}}Kn.prototype.defined=!0;function er(e,t,n){n&&(e[t]=n)}function en(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new Kn(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Yn(r)]=r,n[Yn(o.attribute)]=r}return new pn(t,n,e.space)}const nr=en({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:ee,ariaCurrent:null,ariaDescribedBy:ee,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:ee,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:ee,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ee,ariaLevel:I,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:ee,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:ee,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:ie,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function tr(e,t){return t in e?e[t]:t}function rr(e,t){return tr(e,t.toLowerCase())}const kl=en({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ze,acceptCharset:ee,accessKey:ee,action:null,allow:null,allowFullScreen:j,allowPaymentRequest:j,allowUserMedia:j,alt:null,as:null,async:j,autoCapitalize:null,autoComplete:ee,autoFocus:j,autoPlay:j,blocking:ee,capture:null,charSet:null,checked:j,cite:null,className:ee,cols:I,colSpan:null,content:null,contentEditable:ie,controls:j,controlsList:ee,coords:I|Ze,crossOrigin:null,data:null,dateTime:null,decoding:null,default:j,defer:j,dir:null,dirName:null,disabled:j,download:Xn,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:j,formTarget:null,headers:ee,height:I,hidden:Xn,high:I,href:null,hrefLang:null,htmlFor:ee,httpEquiv:ee,id:null,imageSizes:null,imageSrcSet:null,inert:j,inputMode:null,integrity:null,is:null,isMap:j,itemId:null,itemProp:ee,itemRef:ee,itemScope:j,itemType:ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:j,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:j,muted:j,name:null,nonce:null,noModule:j,noValidate:j,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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:j,optimum:I,pattern:null,ping:ee,placeholder:null,playsInline:j,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:j,referrerPolicy:null,rel:ee,required:j,reversed:j,rows:I,rowSpan:I,sandbox:ee,scope:null,scoped:j,seamless:j,selected:j,shadowRootClonable:j,shadowRootDelegatesFocus:j,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:j,useMap:null,value:ie,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ee,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:j,declare:j,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:j,noHref:j,noShade:j,noWrap:j,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:j,disableRemotePlayback:j,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:rr}),xl=en({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",transformOrigin:"transform-origin",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"},properties:{about:ge,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:ee,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:j,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:Ze,g2:Ze,glyphName:Ze,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:ge,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ge,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ge,rev:ge,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ge,requiredFeatures:ge,requiredFonts:ge,requiredFormats:ge,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:ge,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ge,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ge,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:tr}),ir=en({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),lr=en({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:rr}),or=en({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),bl={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"},wl=/[A-Z]/g,ar=/-[a-z]/g,Sl=/^data[-\w.:]+$/i;function Cl(e,t){const n=Yn(t);let r=t,i=fe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Sl.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(ar,vl);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!ar.test(o)){let l=o.replace(wl,El);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=Kn}return new i(r,t)}function El(e){return"-"+e.toLowerCase()}function vl(e){return e.charAt(1).toUpperCase()}const Tl=Zt([nr,kl,ir,lr,or],"html"),Qn=Zt([nr,xl,ir,lr,or],"svg");function Il(e){return e.join(" ").trim()}var nn={},Zn,ur;function Al(){if(ur)return Zn;ur=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g,u=`
21
- `,s="/",f="*",c="",h="comment",p="declaration";function y(C,k){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];k=k||{};var E=1,T=1;function M(O){var P=O.match(t);P&&(E+=P.length);var G=O.lastIndexOf(u);T=~G?O.length-G:T+O.length}function N(){var O={line:E,column:T};return function(P){return P.position=new w(O),V(),P}}function w(O){this.start=O,this.end={line:E,column:T},this.source=k.source}w.prototype.content=C;function B(O){var P=new Error(k.source+":"+E+":"+T+": "+O);if(P.reason=O,P.filename=k.source,P.line=E,P.column=T,P.source=C,!k.silent)throw P}function X(O){var P=O.exec(C);if(P){var G=P[0];return M(G),C=C.slice(G.length),P}}function V(){X(n)}function x(O){var P;for(O=O||[];P=_();)P!==!1&&O.push(P);return O}function _(){var O=N();if(!(s!=C.charAt(0)||f!=C.charAt(1))){for(var P=2;c!=C.charAt(P)&&(f!=C.charAt(P)||s!=C.charAt(P+1));)++P;if(P+=2,c===C.charAt(P-1))return B("End of comment missing");var G=C.slice(2,P-2);return T+=2,M(G),C=C.slice(P),T+=2,O({type:h,comment:G})}}function D(){var O=N(),P=X(r);if(P){if(_(),!X(i))return B("property missing ':'");var G=X(o),ne=O({type:p,property:S(P[0].replace(e,c)),value:G?S(G[0].replace(e,c)):c});return X(l),ne}}function U(){var O=[];x(O);for(var P;P=D();)P!==!1&&(O.push(P),x(O));return O}return V(),U()}function S(C){return C?C.replace(a,c):c}return Zn=y,Zn}var sr;function Pl(){if(sr)return nn;sr=1;var e=nn&&nn.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(nn,"__esModule",{value:!0}),nn.default=n;const t=e(Al());function n(r,i){let o=null;if(!r||typeof r!="string")return o;const l=(0,t.default)(r),a=typeof i=="function";return l.forEach(u=>{if(u.type!=="declaration")return;const{property:s,value:f}=u;a?i(s,f,u):f&&(o=o||{},o[s]=f)}),o}return nn}var hn={},cr;function Rl(){if(cr)return hn;cr=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,o=function(s){return!s||n.test(s)||e.test(s)},l=function(s,f){return f.toUpperCase()},a=function(s,f){return"".concat(f,"-")},u=function(s,f){return f===void 0&&(f={}),o(s)?s:(s=s.toLowerCase(),f.reactCompat?s=s.replace(i,a):s=s.replace(r,a),s.replace(t,l))};return hn.camelCase=u,hn}var mn,fr;function _l(){if(fr)return mn;fr=1;var e=mn&&mn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(Pl()),n=Rl();function r(i,o){var l={};return!i||typeof i!="string"||(0,t.default)(i,function(a,u){a&&u&&(l[(0,n.camelCase)(a,o)]=u)}),l}return r.default=r,mn=r,mn}var Dl=_l();const Ol=Yt(Dl),pr=hr("end"),et=hr("start");function hr(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function mr(e){const t=et(e),n=pr(e);if(t&&n)return{start:t,end:n}}function dn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?dr(e.position):"start"in e||"end"in e?dr(e):"line"in e||"column"in e?nt(e):""}function nt(e){return gr(e&&e.line)+":"+gr(e&&e.column)}function dr(e){return nt(e&&e.start)+"-"+nt(e&&e.end)}function gr(e){return e&&typeof e=="number"?e:1}class oe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(l=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?o.ruleId=r:(o.source=r.slice(0,u),o.ruleId=r.slice(u+1))}if(!o.place&&o.ancestors&&o.ancestors){const u=o.ancestors[o.ancestors.length-1];u&&(o.place=u.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=dn(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}oe.prototype.file="",oe.prototype.name="",oe.prototype.reason="",oe.prototype.message="",oe.prototype.stack="",oe.prototype.column=void 0,oe.prototype.line=void 0,oe.prototype.ancestors=void 0,oe.prototype.cause=void 0,oe.prototype.fatal=void 0,oe.prototype.place=void 0,oe.prototype.ruleId=void 0,oe.prototype.source=void 0;const tt={}.hasOwnProperty,Fl=new Map,Ll=/[A-Z]/g,zl=new Set(["table","tbody","thead","tfoot","tr"]),Ml=new Set(["td","th"]),yr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Nl(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Wl(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Vl(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Qn:Tl,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=kr(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function kr(e,t,n){if(t.type==="element")return jl(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Bl(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return $l(e,t,n);if(t.type==="mdxjsEsm")return Ul(e,t);if(t.type==="root")return ql(e,t,n);if(t.type==="text")return Hl(e,t)}function jl(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Qn,e.schema=i),e.ancestors.push(t);const o=br(e,t.tagName,!1),l=Yl(e,t);let a=it(e,t);return zl.has(t.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!gl(u):!0})),xr(e,l,o,t),rt(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function Bl(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}gn(e,t.position)}function Ul(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);gn(e,t.position)}function $l(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Qn,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:br(e,t.name,!0),l=Xl(e,t),a=it(e,t);return xr(e,l,o,t),rt(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function ql(e,t,n){const r={};return rt(r,it(e,t)),e.create(t,e.Fragment,r,n)}function Hl(e,t){return t.value}function xr(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function rt(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Vl(e,t,n){return r;function r(i,o,l,a){const s=Array.isArray(l.children)?n:t;return a?s(o,l,a):s(o,l)}}function Wl(e,t){return n;function n(r,i,o,l){const a=Array.isArray(o.children),u=et(r);return t(i,o,l,a,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Yl(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&tt.call(t.properties,i)){const o=Gl(e,i,t.properties[i]);if(o){const[l,a]=o;e.tableCellAlignToStyle&&l==="align"&&typeof a=="string"&&Ml.has(t.tagName)?r=a:n[l]=a}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Xl(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const a=l.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else gn(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else gn(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function it(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Fl;for(;++r<t.children.length;){const o=t.children[r];let l;if(e.passKeys){const u=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(u){const s=i.get(u)||0;l=u+"-"+s,i.set(u,s+1)}}const a=kr(e,o,l);a!==void 0&&n.push(a)}return n}function Gl(e,t,n){const r=Cl(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?fl(n):Il(n)),r.property==="style"){let i=typeof n=="object"?n:Jl(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Kl(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?bl[r.property]||r.property:r.attribute,n]}}function Jl(e,t){try{return Ol(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new oe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=yr+"#cannot-parse-style-attribute",i}}function br(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,l;for(;++o<i.length;){const a=Kt(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}r=l}else r=Kt(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return tt.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);gn(e)}function gn(e,t){const n=new oe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=yr+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Kl(e){const t={};let n;for(n in e)tt.call(e,n)&&(t[Ql(n)]=e[n]);return t}function Ql(e){let t=e.replace(Ll,Zl);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Zl(e){return"-"+e.toLowerCase()}const lt={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},eo={};function ot(e,t){const n=eo,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return wr(e,r,i)}function wr(e,t,n){if(no(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Sr(e.children,t,n)}return Array.isArray(e)?Sr(e,t,n):""}function Sr(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=wr(e[i],t,n);return r.join("")}function no(e){return!!(e&&typeof e=="object")}const Cr=document.createElement("i");function at(e){const t="&"+e+";";Cr.innerHTML=t;const n=Cr.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function ye(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function Se(e,t){return e.length>0?(ye(e,e.length,0,t),e):t}const Er={}.hasOwnProperty;function vr(e){const t={};let n=-1;for(;++n<e.length;)to(t,e[n]);return t}function to(e,t){let n;for(n in t){const i=(Er.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){Er.call(i,l)||(i[l]=[]);const a=o[l];ro(i[l],Array.isArray(a)?a:a?[a]:[])}}}function ro(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ye(e,0,0,r)}function Tr(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ue=je(/[A-Za-z]/),ae=je(/[\dA-Za-z]/),io=je(/[#-'*+\--9=?A-Z^-~]/);function Pn(e){return e!==null&&(e<32||e===127)}const ut=je(/\d/),lo=je(/[\dA-Fa-f]/),oo=je(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function Q(e){return e!==null&&(e<0||e===32)}function q(e){return e===-2||e===-1||e===32}const Rn=je(new RegExp("\\p{P}|\\p{S}","u")),Ve=je(/\s/);function je(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function tn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&ae(e.charCodeAt(n+1))&&ae(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function W(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(u){return q(u)?(e.enter(n),a(u)):t(u)}function a(u){return q(u)&&o++<i?(e.consume(u),a):(e.exit(n),t(u))}}const ao={tokenize:uo};function uo(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),W(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,l(a)}function l(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return F(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}const so={tokenize:co},Ir={tokenize:fo};function co(e){const t=this,n=[];let r=0,i,o,l;return a;function a(T){if(r<n.length){const M=n[r];return t.containerState=M[1],e.attempt(M[0].continuation,u,s)(T)}return s(T)}function u(T){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&E();const M=t.events.length;let N=M,w;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){w=t.events[N][1].end;break}k(r);let B=M;for(;B<t.events.length;)t.events[B][1].end={...w},B++;return ye(t.events,N+1,0,t.events.slice(M)),t.events.length=B,s(T)}return a(T)}function s(T){if(r===n.length){if(!i)return h(T);if(i.currentConstruct&&i.currentConstruct.concrete)return y(T);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ir,f,c)(T)}function f(T){return i&&E(),k(r),h(T)}function c(T){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,y(T)}function h(T){return t.containerState={},e.attempt(Ir,p,y)(T)}function p(T){return r++,n.push([t.currentConstruct,t.containerState]),h(T)}function y(T){if(T===null){i&&E(),k(0),e.consume(T);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),S(T)}function S(T){if(T===null){C(e.exit("chunkFlow"),!0),k(0),e.consume(T);return}return F(T)?(e.consume(T),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(T),S)}function C(T,M){const N=t.sliceStream(T);if(M&&N.push(null),T.previous=o,o&&(o.next=T),o=T,i.defineSkip(T.start),i.write(N),t.parser.lazy[T.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<l&&(!i.events[w][1].end||i.events[w][1].end.offset>l))return;const B=t.events.length;let X=B,V,x;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){if(V){x=t.events[X][1].end;break}V=!0}for(k(r),w=B;w<t.events.length;)t.events[w][1].end={...x},w++;ye(t.events,X+1,0,t.events.slice(B)),t.events.length=w}}function k(T){let M=n.length;for(;M-- >T;){const N=n[M];t.containerState=N[1],N[0].exit.call(t,e)}n.length=T}function E(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function fo(e,t,n){return W(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function rn(e){if(e===null||Q(e)||Ve(e))return 1;if(Rn(e))return 2}function _n(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const st={name:"attention",resolveAll:po,tokenize:ho};function po(e,t){let n=-1,r,i,o,l,a,u,s,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const c={...e[r][1].end},h={...e[n][1].start};Ar(c,-u),Ar(h,u),l={type:u>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},o={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},e[r][1].end={...l.start},e[n][1].start={...a.end},s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=Se(s,[["enter",e[r][1],t],["exit",e[r][1],t]])),s=Se(s,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),s=Se(s,_n(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),s=Se(s,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,s=Se(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,ye(e,r-1,n-r+3,s),n=r+s.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function ho(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=rn(r);let o;return l;function l(u){return o=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===o)return e.consume(u),a;const s=e.exit("attentionSequence"),f=rn(u),c=!f||f===2&&i||n.includes(u),h=!i||i===2&&f||n.includes(r);return s._open=!!(o===42?c:c&&(i||!h)),s._close=!!(o===42?h:h&&(f||!c)),t(u)}}function Ar(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const mo={name:"autolink",tokenize:go};function go(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return ue(p)?(e.consume(p),l):p===64?n(p):s(p)}function l(p){return p===43||p===45||p===46||ae(p)?(r=1,a(p)):s(p)}function a(p){return p===58?(e.consume(p),r=0,u):(p===43||p===45||p===46||ae(p))&&r++<32?(e.consume(p),a):(r=0,s(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||Pn(p)?n(p):(e.consume(p),u)}function s(p){return p===64?(e.consume(p),f):io(p)?(e.consume(p),s):n(p)}function f(p){return ae(p)?c(p):n(p)}function c(p){return p===46?(e.consume(p),r=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):h(p)}function h(p){if((p===45||ae(p))&&r++<63){const y=p===45?h:c;return e.consume(p),y}return n(p)}}const yn={partial:!0,tokenize:yo};function yo(e,t,n){return r;function r(o){return q(o)?W(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||F(o)?t(o):n(o)}}const Pr={continuation:{tokenize:xo},exit:bo,name:"blockQuote",tokenize:ko};function ko(e,t,n){const r=this;return i;function i(l){if(l===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return q(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function xo(e,t,n){const r=this;return i;function i(l){return q(l)?W(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(Pr,t,n)(l)}}function bo(e){e.exit("blockQuote")}const Rr={name:"characterEscape",tokenize:wo};function wo(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return oo(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const _r={name:"characterReference",tokenize:So};function So(e,t,n){const r=this;let i=0,o,l;return a;function a(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),u}function u(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=ae,f(c))}function s(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=lo,f):(e.enter("characterReferenceValue"),o=7,l=ut,f(c))}function f(c){if(c===59&&i){const h=e.exit("characterReferenceValue");return l===ae&&!at(r.sliceSerialize(h))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(c)&&i++<o?(e.consume(c),f):n(c)}}const Dr={partial:!0,tokenize:Eo},Or={concrete:!0,name:"codeFenced",tokenize:Co};function Co(e,t,n){const r=this,i={partial:!0,tokenize:N};let o=0,l=0,a;return u;function u(w){return s(w)}function s(w){const B=r.events[r.events.length-1];return o=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,a=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(w)}function f(w){return w===a?(l++,e.consume(w),f):l<3?n(w):(e.exit("codeFencedFenceSequence"),q(w)?W(e,c,"whitespace")(w):c(w))}function c(w){return w===null||F(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(Dr,S,M)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(w))}function h(w){return w===null||F(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(w)):q(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),W(e,p,"whitespace")(w)):w===96&&w===a?n(w):(e.consume(w),h)}function p(w){return w===null||F(w)?c(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(w))}function y(w){return w===null||F(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(w)):w===96&&w===a?n(w):(e.consume(w),y)}function S(w){return e.attempt(i,M,C)(w)}function C(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),k}function k(w){return o>0&&q(w)?W(e,E,"linePrefix",o+1)(w):E(w)}function E(w){return w===null||F(w)?e.check(Dr,S,M)(w):(e.enter("codeFlowValue"),T(w))}function T(w){return w===null||F(w)?(e.exit("codeFlowValue"),E(w)):(e.consume(w),T)}function M(w){return e.exit("codeFenced"),t(w)}function N(w,B,X){let V=0;return x;function x(P){return w.enter("lineEnding"),w.consume(P),w.exit("lineEnding"),_}function _(P){return w.enter("codeFencedFence"),q(P)?W(w,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):D(P)}function D(P){return P===a?(w.enter("codeFencedFenceSequence"),U(P)):X(P)}function U(P){return P===a?(V++,w.consume(P),U):V>=l?(w.exit("codeFencedFenceSequence"),q(P)?W(w,O,"whitespace")(P):O(P)):X(P)}function O(P){return P===null||F(P)?(w.exit("codeFencedFence"),B(P)):X(P)}}}function Eo(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const ct={name:"codeIndented",tokenize:To},vo={partial:!0,tokenize:Io};function To(e,t,n){const r=this;return i;function i(s){return e.enter("codeIndented"),W(e,o,"linePrefix",5)(s)}function o(s){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(s):n(s)}function l(s){return s===null?u(s):F(s)?e.attempt(vo,l,u)(s):(e.enter("codeFlowValue"),a(s))}function a(s){return s===null||F(s)?(e.exit("codeFlowValue"),l(s)):(e.consume(s),a)}function u(s){return e.exit("codeIndented"),t(s)}}function Io(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):F(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):W(e,o,"linePrefix",5)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):F(l)?i(l):n(l)}}const Ao={name:"codeText",previous:Ro,resolve:Po,tokenize:_o};function Po(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Ro(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function _o(e,t,n){let r=0,i,o;return l;function l(c){return e.enter("codeText"),e.enter("codeTextSequence"),a(c)}function a(c){return c===96?(e.consume(c),r++,a):(e.exit("codeTextSequence"),u(c))}function u(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),u):c===96?(o=e.enter("codeTextSequence"),i=0,f(c)):F(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):(e.enter("codeTextData"),s(c))}function s(c){return c===null||c===32||c===96||F(c)?(e.exit("codeTextData"),u(c)):(e.consume(c),s)}function f(c){return c===96?(e.consume(c),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(o.type="codeTextData",s(c))}}class Do{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&kn(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),kn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),kn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);kn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);kn(this.left,n.reverse())}}}function kn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Fr(e){const t={};let n=-1,r,i,o,l,a,u,s;const f=new Do(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,o=0,o<u.length&&u[o][1].type==="lineEndingBlank"&&(o+=2),o<u.length&&u[o][1].type==="content"))for(;++o<u.length&&u[o][1].type!=="content";)u[o][1].type==="chunkText"&&(u[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Oo(f,n)),n=t[n],s=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=f.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},a=f.slice(i,n),a.unshift(r),f.splice(i,n-i+1,a))}}return ye(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!s}function Oo(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,u=[],s={};let f,c,h=-1,p=n,y=0,S=0;const C=[S];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),c&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),c=p,p=p.next}for(p=n;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(S=h+1,C.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),h=C.length;h--;){const k=a.slice(C[h],C[h+1]),E=o.pop();u.push([E,E+k.length-1]),e.splice(E,2,k)}for(u.reverse(),h=-1;++h<u.length;)s[y+u[h][0]]=y+u[h][1],y+=u[h][1]-u[h][0]-1;return s}const Fo={resolve:zo,tokenize:Mo},Lo={partial:!0,tokenize:No};function zo(e){return Fr(e),e}function Mo(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):F(a)?e.check(Lo,l,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function l(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function No(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),W(e,o,"linePrefix")}function o(l){if(l===null||F(l))return n(l);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function Lr(e,t,n,r,i,o,l,a,u){const s=u||Number.POSITIVE_INFINITY;let f=0;return c;function c(k){return k===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(k),e.exit(o),h):k===null||k===32||k===41||Pn(k)?n(k):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),S(k))}function h(k){return k===62?(e.enter(o),e.consume(k),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===62?(e.exit("chunkString"),e.exit(a),h(k)):k===null||k===60||F(k)?n(k):(e.consume(k),k===92?y:p)}function y(k){return k===60||k===62||k===92?(e.consume(k),p):p(k)}function S(k){return!f&&(k===null||k===41||Q(k))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(k)):f<s&&k===40?(e.consume(k),f++,S):k===41?(e.consume(k),f--,S):k===null||k===32||k===40||Pn(k)?n(k):(e.consume(k),k===92?C:S)}function C(k){return k===40||k===41||k===92?(e.consume(k),S):S(k)}}function zr(e,t,n,r,i,o){const l=this;let a=0,u;return s;function s(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),f}function f(p){return a>999||p===null||p===91||p===93&&!u||p===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===null||p===91||p===93||F(p)||a++>999?(e.exit("chunkString"),f(p)):(e.consume(p),u||(u=!q(p)),p===92?h:c)}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,c):c(p)}}function Mr(e,t,n,r,i,o){let l;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),l=h===40?41:h,u):n(h)}function u(h){return h===l?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(o),s(h))}function s(h){return h===l?(e.exit(o),u(l)):h===null?n(h):F(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),W(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===l||h===null||F(h)?(e.exit("chunkString"),s(h)):(e.consume(h),h===92?c:f)}function c(h){return h===l||h===92?(e.consume(h),f):f(h)}}function xn(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):q(i)?W(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const jo={name:"definition",tokenize:Uo},Bo={partial:!0,tokenize:$o};function Uo(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),l(p)}function l(p){return zr.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return Q(p)?xn(e,s)(p):s(p)}function s(p){return Lr(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(Bo,c,c)(p)}function c(p){return q(p)?W(e,h,"whitespace")(p):h(p)}function h(p){return p===null||F(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function $o(e,t,n){return r;function r(a){return Q(a)?xn(e,i)(a):n(a)}function i(a){return Mr(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return q(a)?W(e,l,"whitespace")(a):l(a)}function l(a){return a===null||F(a)?t(a):n(a)}}const qo={name:"hardBreakEscape",tokenize:Ho};function Ho(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return F(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Vo={name:"headingAtx",resolve:Wo,tokenize:Yo};function Wo(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ye(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Yo(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||Q(f)?(e.exit("atxHeadingSequence"),a(f)):n(f)}function a(f){return f===35?(e.enter("atxHeadingSequence"),u(f)):f===null||F(f)?(e.exit("atxHeading"),t(f)):q(f)?W(e,a,"whitespace")(f):(e.enter("atxHeadingText"),s(f))}function u(f){return f===35?(e.consume(f),u):(e.exit("atxHeadingSequence"),a(f))}function s(f){return f===null||f===35||Q(f)?(e.exit("atxHeadingText"),a(f)):(e.consume(f),s)}}const Xo=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Nr=["pre","script","style","textarea"],Go={concrete:!0,name:"htmlFlow",resolveTo:Qo,tokenize:Zo},Jo={partial:!0,tokenize:na},Ko={partial:!0,tokenize:ea};function Qo(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Zo(e,t,n){const r=this;let i,o,l,a,u;return s;function s(g){return f(g)}function f(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),c}function c(g){return g===33?(e.consume(g),h):g===47?(e.consume(g),o=!0,S):g===63?(e.consume(g),i=3,r.interrupt?t:d):ue(g)?(e.consume(g),l=String.fromCharCode(g),C):n(g)}function h(g){return g===45?(e.consume(g),i=2,p):g===91?(e.consume(g),i=5,a=0,y):ue(g)?(e.consume(g),i=4,r.interrupt?t:d):n(g)}function p(g){return g===45?(e.consume(g),r.interrupt?t:d):n(g)}function y(g){const ke="CDATA[";return g===ke.charCodeAt(a++)?(e.consume(g),a===ke.length?r.interrupt?t:D:y):n(g)}function S(g){return ue(g)?(e.consume(g),l=String.fromCharCode(g),C):n(g)}function C(g){if(g===null||g===47||g===62||Q(g)){const ke=g===47,Fe=l.toLowerCase();return!ke&&!o&&Nr.includes(Fe)?(i=1,r.interrupt?t(g):D(g)):Xo.includes(l.toLowerCase())?(i=6,ke?(e.consume(g),k):r.interrupt?t(g):D(g)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(g):o?E(g):T(g))}return g===45||ae(g)?(e.consume(g),l+=String.fromCharCode(g),C):n(g)}function k(g){return g===62?(e.consume(g),r.interrupt?t:D):n(g)}function E(g){return q(g)?(e.consume(g),E):x(g)}function T(g){return g===47?(e.consume(g),x):g===58||g===95||ue(g)?(e.consume(g),M):q(g)?(e.consume(g),T):x(g)}function M(g){return g===45||g===46||g===58||g===95||ae(g)?(e.consume(g),M):N(g)}function N(g){return g===61?(e.consume(g),w):q(g)?(e.consume(g),N):T(g)}function w(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),u=g,B):q(g)?(e.consume(g),w):X(g)}function B(g){return g===u?(e.consume(g),u=null,V):g===null||F(g)?n(g):(e.consume(g),B)}function X(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||Q(g)?N(g):(e.consume(g),X)}function V(g){return g===47||g===62||q(g)?T(g):n(g)}function x(g){return g===62?(e.consume(g),_):n(g)}function _(g){return g===null||F(g)?D(g):q(g)?(e.consume(g),_):n(g)}function D(g){return g===45&&i===2?(e.consume(g),G):g===60&&i===1?(e.consume(g),ne):g===62&&i===4?(e.consume(g),me):g===63&&i===3?(e.consume(g),d):g===93&&i===5?(e.consume(g),Ce):F(g)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Jo,Ee,U)(g)):g===null||F(g)?(e.exit("htmlFlowData"),U(g)):(e.consume(g),D)}function U(g){return e.check(Ko,O,Ee)(g)}function O(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),P}function P(g){return g===null||F(g)?U(g):(e.enter("htmlFlowData"),D(g))}function G(g){return g===45?(e.consume(g),d):D(g)}function ne(g){return g===47?(e.consume(g),l="",he):D(g)}function he(g){if(g===62){const ke=l.toLowerCase();return Nr.includes(ke)?(e.consume(g),me):D(g)}return ue(g)&&l.length<8?(e.consume(g),l+=String.fromCharCode(g),he):D(g)}function Ce(g){return g===93?(e.consume(g),d):D(g)}function d(g){return g===62?(e.consume(g),me):g===45&&i===2?(e.consume(g),d):D(g)}function me(g){return g===null||F(g)?(e.exit("htmlFlowData"),Ee(g)):(e.consume(g),me)}function Ee(g){return e.exit("htmlFlow"),t(g)}}function ea(e,t,n){const r=this;return i;function i(l){return F(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function na(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(yn,t,n)}}const ta={name:"htmlText",tokenize:ra};function ra(e,t,n){const r=this;let i,o,l;return a;function a(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),u}function u(d){return d===33?(e.consume(d),s):d===47?(e.consume(d),N):d===63?(e.consume(d),T):ue(d)?(e.consume(d),X):n(d)}function s(d){return d===45?(e.consume(d),f):d===91?(e.consume(d),o=0,y):ue(d)?(e.consume(d),E):n(d)}function f(d){return d===45?(e.consume(d),p):n(d)}function c(d){return d===null?n(d):d===45?(e.consume(d),h):F(d)?(l=c,ne(d)):(e.consume(d),c)}function h(d){return d===45?(e.consume(d),p):c(d)}function p(d){return d===62?G(d):d===45?h(d):c(d)}function y(d){const me="CDATA[";return d===me.charCodeAt(o++)?(e.consume(d),o===me.length?S:y):n(d)}function S(d){return d===null?n(d):d===93?(e.consume(d),C):F(d)?(l=S,ne(d)):(e.consume(d),S)}function C(d){return d===93?(e.consume(d),k):S(d)}function k(d){return d===62?G(d):d===93?(e.consume(d),k):S(d)}function E(d){return d===null||d===62?G(d):F(d)?(l=E,ne(d)):(e.consume(d),E)}function T(d){return d===null?n(d):d===63?(e.consume(d),M):F(d)?(l=T,ne(d)):(e.consume(d),T)}function M(d){return d===62?G(d):T(d)}function N(d){return ue(d)?(e.consume(d),w):n(d)}function w(d){return d===45||ae(d)?(e.consume(d),w):B(d)}function B(d){return F(d)?(l=B,ne(d)):q(d)?(e.consume(d),B):G(d)}function X(d){return d===45||ae(d)?(e.consume(d),X):d===47||d===62||Q(d)?V(d):n(d)}function V(d){return d===47?(e.consume(d),G):d===58||d===95||ue(d)?(e.consume(d),x):F(d)?(l=V,ne(d)):q(d)?(e.consume(d),V):G(d)}function x(d){return d===45||d===46||d===58||d===95||ae(d)?(e.consume(d),x):_(d)}function _(d){return d===61?(e.consume(d),D):F(d)?(l=_,ne(d)):q(d)?(e.consume(d),_):V(d)}function D(d){return d===null||d===60||d===61||d===62||d===96?n(d):d===34||d===39?(e.consume(d),i=d,U):F(d)?(l=D,ne(d)):q(d)?(e.consume(d),D):(e.consume(d),O)}function U(d){return d===i?(e.consume(d),i=void 0,P):d===null?n(d):F(d)?(l=U,ne(d)):(e.consume(d),U)}function O(d){return d===null||d===34||d===39||d===60||d===61||d===96?n(d):d===47||d===62||Q(d)?V(d):(e.consume(d),O)}function P(d){return d===47||d===62||Q(d)?V(d):n(d)}function G(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),t):n(d)}function ne(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),he}function he(d){return q(d)?W(e,Ce,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):Ce(d)}function Ce(d){return e.enter("htmlTextData"),l(d)}}const ft={name:"labelEnd",resolveAll:aa,resolveTo:ua,tokenize:sa},ia={tokenize:ca},la={tokenize:fa},oa={tokenize:pa};function aa(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&ye(e,0,e.length,n),e}function ua(e,t){let n=e.length,r=0,i,o,l,a;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const u={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return a=[["enter",u,t],["enter",s,t]],a=Se(a,e.slice(o+1,o+r+3)),a=Se(a,[["enter",f,t]]),a=Se(a,_n(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),a=Se(a,[["exit",f,t],e[l-2],e[l-1],["exit",s,t]]),a=Se(a,e.slice(l+1)),a=Se(a,[["exit",u,t]]),ye(e,o,e.length,a),e}function sa(e,t,n){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return a;function a(h){return o?o._inactive?c(h):(l=r.parser.defined.includes(Te(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),u):n(h)}function u(h){return h===40?e.attempt(ia,f,l?f:c)(h):h===91?e.attempt(la,f,l?s:c)(h):l?f(h):c(h)}function s(h){return e.attempt(oa,f,c)(h)}function f(h){return t(h)}function c(h){return o._balanced=!0,n(h)}}function ca(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return Q(c)?xn(e,o)(c):o(c)}function o(c){return c===41?f(c):Lr(e,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function l(c){return Q(c)?xn(e,u)(c):f(c)}function a(c){return n(c)}function u(c){return c===34||c===39||c===40?Mr(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function s(c){return Q(c)?xn(e,f)(c):f(c)}function f(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function fa(e,t,n){const r=this;return i;function i(a){return zr.call(r,e,o,l,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function l(a){return n(a)}}function pa(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const ha={name:"labelStartImage",resolveAll:ft.resolveAll,tokenize:ma};function ma(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),l):n(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const da={name:"labelStartLink",resolveAll:ft.resolveAll,tokenize:ga};function ga(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const pt={name:"lineEnding",tokenize:ya};function ya(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),W(e,t,"linePrefix")}}const Dn={name:"thematicBreak",tokenize:ka};function ka(e,t,n){let r=0,i;return o;function o(s){return e.enter("thematicBreak"),l(s)}function l(s){return i=s,a(s)}function a(s){return s===i?(e.enter("thematicBreakSequence"),u(s)):r>=3&&(s===null||F(s))?(e.exit("thematicBreak"),t(s)):n(s)}function u(s){return s===i?(e.consume(s),r++,u):(e.exit("thematicBreakSequence"),q(s)?W(e,a,"whitespace")(s):a(s))}}const pe={continuation:{tokenize:Sa},exit:Ea,name:"list",tokenize:wa},xa={partial:!0,tokenize:va},ba={partial:!0,tokenize:Ca};function wa(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:ut(p)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Dn,n,s)(p):s(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return ut(p)&&++l<10?(e.consume(p),u):(!r.interrupt||l<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),s(p)):n(p)}function s(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(yn,r.interrupt?n:f,e.attempt(xa,h,c))}function f(p){return r.containerState.initialBlankLine=!0,o++,h(p)}function c(p){return q(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):n(p)}function h(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Sa(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(yn,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,W(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!q(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ba,t,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,W(e,e.attempt(pe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Ca(e,t,n){const r=this;return W(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function Ea(e){e.exit(this.containerState.type)}function va(e,t,n){const r=this;return W(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!q(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const jr={name:"setextUnderline",resolveTo:Ta,tokenize:Ia};function Ta(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function Ia(e,t,n){const r=this;let i;return o;function o(s){let f=r.events.length,c;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){c=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=s,l(s)):n(s)}function l(s){return e.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===i?(e.consume(s),a):(e.exit("setextHeadingLineSequence"),q(s)?W(e,u,"lineSuffix")(s):u(s))}function u(s){return s===null||F(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}const Aa={tokenize:Pa};function Pa(e){const t=this,n=e.attempt(yn,r,e.attempt(this.parser.constructs.flowInitial,i,W(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Fo,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Ra={resolveAll:Ur()},_a=Br("string"),Da=Br("text");function Br(e){return{resolveAll:Ur(e==="text"?Oa:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,a);return l;function l(f){return s(f)?o(f):a(f)}function a(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),u}function u(f){return s(f)?(n.exit("data"),o(f)):(n.consume(f),u)}function s(f){if(f===null)return!0;const c=i[f];let h=-1;if(c)for(;++h<c.length;){const p=c[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Ur(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function Oa(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,l=-1,a=0,u;for(;o--;){const s=i[o];if(typeof s=="string"){for(l=s.length;s.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(s===-2)u=!0,a++;else if(s!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const s={type:n===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}const Fa=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:jo},disable:{null:[]},document:{42:pe,43:pe,45:pe,48:pe,49:pe,50:pe,51:pe,52:pe,53:pe,54:pe,55:pe,56:pe,57:pe,62:Pr},flow:{35:Vo,42:Dn,45:[jr,Dn],60:Go,61:jr,95:Dn,96:Or,126:Or},flowInitial:{[-2]:ct,[-1]:ct,32:ct},insideSpan:{null:[st,Ra]},string:{38:_r,92:Rr},text:{[-5]:pt,[-4]:pt,[-3]:pt,33:ha,38:_r,42:st,60:[mo,ta],91:da,92:[qo,Rr],93:ft,95:st,96:Ao}},Symbol.toStringTag,{value:"Module"}));function La(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let l=[],a=[];const u={attempt:B(N),check:B(w),consume:E,enter:T,exit:M,interrupt:B(w,{interrupt:!0})},s={code:null,containerState:{},defineSkip:S,events:[],now:y,parser:e,previous:null,sliceSerialize:h,sliceStream:p,write:c};let f=t.tokenize.call(s,u);return t.resolveAll&&o.push(t),s;function c(_){return l=Se(l,_),C(),l[l.length-1]!==null?[]:(X(t,0),s.events=_n(o,s.events,s),s.events)}function h(_,D){return Ma(p(_),D)}function p(_){return za(l,_)}function y(){const{_bufferIndex:_,_index:D,line:U,column:O,offset:P}=r;return{_bufferIndex:_,_index:D,line:U,column:O,offset:P}}function S(_){i[_.line]=_.column,x()}function C(){let _;for(;r._index<l.length;){const D=l[r._index];if(typeof D=="string")for(_=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===_&&r._bufferIndex<D.length;)k(D.charCodeAt(r._bufferIndex));else k(D)}}function k(_){f=f(_)}function E(_){F(_)?(r.line++,r.column=1,r.offset+=_===-3?2:1,x()):_!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=_}function T(_,D){const U=D||{};return U.type=_,U.start=y(),s.events.push(["enter",U,s]),a.push(U),U}function M(_){const D=a.pop();return D.end=y(),s.events.push(["exit",D,s]),D}function N(_,D){X(_,D.from)}function w(_,D){D.restore()}function B(_,D){return U;function U(O,P,G){let ne,he,Ce,d;return Array.isArray(O)?Ee(O):"tokenize"in O?Ee([O]):me(O);function me(te){return Le;function Le(xe){const De=xe!==null&&te[xe],Ie=xe!==null&&te.null,an=[...Array.isArray(De)?De:De?[De]:[],...Array.isArray(Ie)?Ie:Ie?[Ie]:[]];return Ee(an)(xe)}}function Ee(te){return ne=te,he=0,te.length===0?G:g(te[he])}function g(te){return Le;function Le(xe){return d=V(),Ce=te,te.partial||(s.currentConstruct=te),te.name&&s.parser.constructs.disable.null.includes(te.name)?Fe():te.tokenize.call(D?Object.assign(Object.create(s),D):s,u,ke,Fe)(xe)}}function ke(te){return _(Ce,d),P}function Fe(te){return d.restore(),++he<ne.length?g(ne[he]):G}}}function X(_,D){_.resolveAll&&!o.includes(_)&&o.push(_),_.resolve&&ye(s.events,D,s.events.length-D,_.resolve(s.events.slice(D),s)),_.resolveTo&&(s.events=_.resolveTo(s.events,s))}function V(){const _=y(),D=s.previous,U=s.currentConstruct,O=s.events.length,P=Array.from(a);return{from:O,restore:G};function G(){r=_,s.previous=D,s.currentConstruct=U,s.events.length=O,a=P,x()}}function x(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function za(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function Ma(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
12
+ - Item 3`}});const Pi={markdown:wn};function hf(){}function mf(){}function _i(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Ri=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Di=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zi={};function kt(e,t){return(zi.jsx?Di:Ri).test(e)}const Li=/[ \t\n\f\r]/g;function Fi(e){return typeof e=="object"?e.type==="text"?xt(e.value):!1:xt(e)}function xt(e){return e.replace(Li,"")===""}class He{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}He.prototype.normal={},He.prototype.property={},He.prototype.space=void 0;function bt(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new He(n,r,t)}function Sn(e){return e.toLowerCase()}class ie{constructor(t,n){this.attribute=n,this.property=t}}ie.prototype.attribute="",ie.prototype.booleanish=!1,ie.prototype.boolean=!1,ie.prototype.commaOrSpaceSeparated=!1,ie.prototype.commaSeparated=!1,ie.prototype.defined=!1,ie.prototype.mustUseProperty=!1,ie.prototype.number=!1,ie.prototype.overloadedBoolean=!1,ie.prototype.property="",ie.prototype.spaceSeparated=!1,ie.prototype.space=void 0;let Oi=0;const M=ve(),Z=ve(),Cn=ve(),T=ve(),G=ve(),ze=ve(),ae=ve();function ve(){return 2**++Oi}const En=Object.freeze(Object.defineProperty({__proto__:null,boolean:M,booleanish:Z,commaOrSpaceSeparated:ae,commaSeparated:ze,number:T,overloadedBoolean:Cn,spaceSeparated:G},Symbol.toStringTag,{value:"Module"})),Tn=Object.keys(En);class In extends ie{constructor(t,n,r,i){let o=-1;if(super(t,n),wt(this,"space",i),typeof r=="number")for(;++o<Tn.length;){const l=Tn[o];wt(this,Tn[o],(r&En[l])===En[l])}}}In.prototype.defined=!0;function wt(e,t,n){n&&(e[t]=n)}function Le(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new In(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Sn(r)]=r,n[Sn(o.attribute)]=r}return new He(t,n,e.space)}const St=Le({properties:{ariaActiveDescendant:null,ariaAtomic:Z,ariaAutoComplete:null,ariaBusy:Z,ariaChecked:Z,ariaColCount:T,ariaColIndex:T,ariaColSpan:T,ariaControls:G,ariaCurrent:null,ariaDescribedBy:G,ariaDetails:null,ariaDisabled:Z,ariaDropEffect:G,ariaErrorMessage:null,ariaExpanded:Z,ariaFlowTo:G,ariaGrabbed:Z,ariaHasPopup:null,ariaHidden:Z,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:G,ariaLevel:T,ariaLive:null,ariaModal:Z,ariaMultiLine:Z,ariaMultiSelectable:Z,ariaOrientation:null,ariaOwns:G,ariaPlaceholder:null,ariaPosInSet:T,ariaPressed:Z,ariaReadOnly:Z,ariaRelevant:null,ariaRequired:Z,ariaRoleDescription:G,ariaRowCount:T,ariaRowIndex:T,ariaRowSpan:T,ariaSelected:Z,ariaSetSize:T,ariaSort:null,ariaValueMax:T,ariaValueMin:T,ariaValueNow:T,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Ct(e,t){return t in e?e[t]:t}function Et(e,t){return Ct(e,t.toLowerCase())}const Mi=Le({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ze,acceptCharset:G,accessKey:G,action:null,allow:null,allowFullScreen:M,allowPaymentRequest:M,allowUserMedia:M,alt:null,as:null,async:M,autoCapitalize:null,autoComplete:G,autoFocus:M,autoPlay:M,blocking:G,capture:null,charSet:null,checked:M,cite:null,className:G,cols:T,colSpan:null,content:null,contentEditable:Z,controls:M,controlsList:G,coords:T|ze,crossOrigin:null,data:null,dateTime:null,decoding:null,default:M,defer:M,dir:null,dirName:null,disabled:M,download:Cn,draggable:Z,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:M,formTarget:null,headers:G,height:T,hidden:Cn,high:T,href:null,hrefLang:null,htmlFor:G,httpEquiv:G,id:null,imageSizes:null,imageSrcSet:null,inert:M,inputMode:null,integrity:null,is:null,isMap:M,itemId:null,itemProp:G,itemRef:G,itemScope:M,itemType:G,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:M,low:T,manifest:null,max:null,maxLength:T,media:null,method:null,min:null,minLength:T,multiple:M,muted:M,name:null,nonce:null,noModule:M,noValidate:M,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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:M,optimum:T,pattern:null,ping:G,placeholder:null,playsInline:M,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:M,referrerPolicy:null,rel:G,required:M,reversed:M,rows:T,rowSpan:T,sandbox:G,scope:null,scoped:M,seamless:M,selected:M,shadowRootClonable:M,shadowRootDelegatesFocus:M,shadowRootMode:null,shape:null,size:T,sizes:null,slot:null,span:T,spellCheck:Z,src:null,srcDoc:null,srcLang:null,srcSet:null,start:T,step:null,style:null,tabIndex:T,target:null,title:null,translate:null,type:null,typeMustMatch:M,useMap:null,value:Z,width:T,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:G,axis:null,background:null,bgColor:null,border:T,borderColor:null,bottomMargin:T,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:M,declare:M,event:null,face:null,frame:null,frameBorder:null,hSpace:T,leftMargin:T,link:null,longDesc:null,lowSrc:null,marginHeight:T,marginWidth:T,noResize:M,noHref:M,noShade:M,noWrap:M,object:null,profile:null,prompt:null,rev:null,rightMargin:T,rules:null,scheme:null,scrolling:Z,standby:null,summary:null,text:null,topMargin:T,valueType:null,version:null,vAlign:null,vLink:null,vSpace:T,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:M,disableRemotePlayback:M,prefix:null,property:null,results:T,security:null,unselectable:null},space:"html",transform:Et}),Ni=Le({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",transformOrigin:"transform-origin",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"},properties:{about:ae,accentHeight:T,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:T,amplitude:T,arabicForm:null,ascent:T,attributeName:null,attributeType:null,azimuth:T,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:T,by:null,calcMode:null,capHeight:T,className:G,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:T,diffuseConstant:T,direction:null,display:null,dur:null,divisor:T,dominantBaseline:null,download:M,dx:null,dy:null,edgeMode:null,editable:null,elevation:T,enableBackground:null,end:null,event:null,exponent:T,externalResourcesRequired:null,fill:null,fillOpacity:T,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:ze,g2:ze,glyphName:ze,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:T,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:T,horizOriginX:T,horizOriginY:T,id:null,ideographic:T,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:T,k:T,k1:T,k2:T,k3:T,k4:T,kernelMatrix:ae,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:T,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:T,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:T,overlineThickness:T,paintOrder:null,panose1:null,path:null,pathLength:T,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:G,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:T,pointsAtY:T,pointsAtZ:T,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ae,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ae,rev:ae,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ae,requiredFeatures:ae,requiredFonts:ae,requiredFormats:ae,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:T,specularExponent:T,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:T,strikethroughThickness:T,string:null,stroke:null,strokeDashArray:ae,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:T,strokeOpacity:T,strokeWidth:null,style:null,surfaceScale:T,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ae,tabIndex:T,tableValues:null,target:null,targetX:T,targetY:T,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ae,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:T,underlineThickness:T,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:T,values:null,vAlphabetic:T,vMathematical:T,vectorEffect:null,vHanging:T,vIdeographic:T,version:null,vertAdvY:T,vertOriginX:T,vertOriginY:T,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:T,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ct}),Tt=Le({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),It=Le({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Et}),At=Le({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),ji={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"},Bi=/[A-Z]/g,vt=/-[a-z]/g,qi=/^data[-\w.:]+$/i;function Ui(e,t){const n=Sn(t);let r=t,i=ie;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&qi.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(vt,$i);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!vt.test(o)){let l=o.replace(Bi,Hi);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=In}return new i(r,t)}function Hi(e){return"-"+e.toLowerCase()}function $i(e){return e.charAt(1).toUpperCase()}const Vi=bt([St,Mi,Tt,It,At],"html"),An=bt([St,Ni,Tt,It,At],"svg");function Wi(e){return e.join(" ").trim()}var Fe={},vn,Pt;function Yi(){if(Pt)return vn;Pt=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g,s=`
13
+ `,u="/",f="*",c="",h="comment",p="declaration";function g(C,y){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];y=y||{};var I=1,E=1;function L(R){var v=R.match(t);v&&(I+=v.length);var V=R.lastIndexOf(s);E=~V?R.length-V:E+R.length}function F(){var R={line:I,column:E};return function(v){return v.position=new b(R),B(),v}}function b(R){this.start=R,this.end={line:I,column:E},this.source=y.source}b.prototype.content=C;function N(R){var v=new Error(y.source+":"+I+":"+E+": "+R);if(v.reason=R,v.filename=y.source,v.line=I,v.column=E,v.source=C,!y.silent)throw v}function H(R){var v=R.exec(C);if(v){var V=v[0];return L(V),C=C.slice(V.length),v}}function B(){H(n)}function k(R){var v;for(R=R||[];v=P();)v!==!1&&R.push(v);return R}function P(){var R=F();if(!(u!=C.charAt(0)||f!=C.charAt(1))){for(var v=2;c!=C.charAt(v)&&(f!=C.charAt(v)||u!=C.charAt(v+1));)++v;if(v+=2,c===C.charAt(v-1))return N("End of comment missing");var V=C.slice(2,v-2);return E+=2,L(V),C=C.slice(v),E+=2,R({type:h,comment:V})}}function _(){var R=F(),v=H(r);if(v){if(P(),!H(i))return N("property missing ':'");var V=H(o),J=R({type:p,property:S(v[0].replace(e,c)),value:V?S(V[0].replace(e,c)):c});return H(l),J}}function $(){var R=[];k(R);for(var v;v=_();)v!==!1&&(R.push(v),k(R));return R}return B(),$()}function S(C){return C?C.replace(a,c):c}return vn=g,vn}var _t;function Xi(){if(_t)return Fe;_t=1;var e=Fe&&Fe.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.default=n;const t=e(Yi());function n(r,i){let o=null;if(!r||typeof r!="string")return o;const l=(0,t.default)(r),a=typeof i=="function";return l.forEach(s=>{if(s.type!=="declaration")return;const{property:u,value:f}=s;a?i(u,f,s):f&&(o=o||{},o[u]=f)}),o}return Fe}var $e={},Rt;function Gi(){if(Rt)return $e;Rt=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,o=function(u){return!u||n.test(u)||e.test(u)},l=function(u,f){return f.toUpperCase()},a=function(u,f){return"".concat(f,"-")},s=function(u,f){return f===void 0&&(f={}),o(u)?u:(u=u.toLowerCase(),f.reactCompat?u=u.replace(i,a):u=u.replace(r,a),u.replace(t,l))};return $e.camelCase=s,$e}var Ve,Dt;function Qi(){if(Dt)return Ve;Dt=1;var e=Ve&&Ve.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(Xi()),n=Gi();function r(i,o){var l={};return!i||typeof i!="string"||(0,t.default)(i,function(a,s){a&&s&&(l[(0,n.camelCase)(a,o)]=s)}),l}return r.default=r,Ve=r,Ve}var Ji=Qi();const Ki=mt(Ji),zt=Lt("end"),Pn=Lt("start");function Lt(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Ft(e){const t=Pn(e),n=zt(e);if(t&&n)return{start:t,end:n}}function We(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ot(e.position):"start"in e||"end"in e?Ot(e):"line"in e||"column"in e?_n(e):""}function _n(e){return Mt(e&&e.line)+":"+Mt(e&&e.column)}function Ot(e){return _n(e&&e.start)+"-"+_n(e&&e.end)}function Mt(e){return e&&typeof e=="number"?e:1}class ee extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(l=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?o.ruleId=r:(o.source=r.slice(0,s),o.ruleId=r.slice(s+1))}if(!o.place&&o.ancestors&&o.ancestors){const s=o.ancestors[o.ancestors.length-1];s&&(o.place=s.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=We(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ee.prototype.file="",ee.prototype.name="",ee.prototype.reason="",ee.prototype.message="",ee.prototype.stack="",ee.prototype.column=void 0,ee.prototype.line=void 0,ee.prototype.ancestors=void 0,ee.prototype.cause=void 0,ee.prototype.fatal=void 0,ee.prototype.place=void 0,ee.prototype.ruleId=void 0,ee.prototype.source=void 0;const Rn={}.hasOwnProperty,Zi=new Map,el=/[A-Z]/g,nl=new Set(["table","tbody","thead","tfoot","tr"]),tl=new Set(["td","th"]),Nt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function rl(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=fl(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=cl(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?An:Vi,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=jt(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function jt(e,t,n){if(t.type==="element")return il(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ll(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return al(e,t,n);if(t.type==="mdxjsEsm")return ol(e,t);if(t.type==="root")return ul(e,t,n);if(t.type==="text")return sl(e,t)}function il(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=An,e.schema=i),e.ancestors.push(t);const o=qt(e,t.tagName,!1),l=pl(e,t);let a=zn(e,t);return nl.has(t.tagName)&&(a=a.filter(function(s){return typeof s=="string"?!Fi(s):!0})),Bt(e,l,o,t),Dn(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function ll(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ye(e,t.position)}function ol(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ye(e,t.position)}function al(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=An,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:qt(e,t.name,!0),l=hl(e,t),a=zn(e,t);return Bt(e,l,o,t),Dn(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function ul(e,t,n){const r={};return Dn(r,zn(e,t)),e.create(t,e.Fragment,r,n)}function sl(e,t){return t.value}function Bt(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Dn(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function cl(e,t,n){return r;function r(i,o,l,a){const u=Array.isArray(l.children)?n:t;return a?u(o,l,a):u(o,l)}}function fl(e,t){return n;function n(r,i,o,l){const a=Array.isArray(o.children),s=Pn(r);return t(i,o,l,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function pl(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Rn.call(t.properties,i)){const o=ml(e,i,t.properties[i]);if(o){const[l,a]=o;e.tableCellAlignToStyle&&l==="align"&&typeof a=="string"&&tl.has(t.tagName)?r=a:n[l]=a}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function hl(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const a=l.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Ye(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else Ye(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function zn(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Zi;for(;++r<t.children.length;){const o=t.children[r];let l;if(e.passKeys){const s=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(s){const u=i.get(s)||0;l=s+"-"+u,i.set(s,u+1)}}const a=jt(e,o,l);a!==void 0&&n.push(a)}return n}function ml(e,t,n){const r=Ui(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?_i(n):Wi(n)),r.property==="style"){let i=typeof n=="object"?n:dl(e,String(n));return e.stylePropertyNameCase==="css"&&(i=gl(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?ji[r.property]||r.property:r.attribute,n]}}function dl(e,t){try{return Ki(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new ee("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Nt+"#cannot-parse-style-attribute",i}}function qt(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,l;for(;++o<i.length;){const a=kt(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}r=l}else r=kt(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Rn.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ye(e)}function Ye(e,t){const n=new ee("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Nt+"#cannot-handle-mdx-estrees-without-createevaluater",n}function gl(e){const t={};let n;for(n in e)Rn.call(e,n)&&(t[yl(n)]=e[n]);return t}function yl(e){let t=e.replace(el,kl);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function kl(e){return"-"+e.toLowerCase()}const Ln={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},xl={};function Fn(e,t){const n=xl,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ut(e,r,i)}function Ut(e,t,n){if(bl(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ht(e.children,t,n)}return Array.isArray(e)?Ht(e,t,n):""}function Ht(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Ut(e[i],t,n);return r.join("")}function bl(e){return!!(e&&typeof e=="object")}const $t=document.createElement("i");function On(e){const t="&"+e+";";$t.innerHTML=t;const n=$t.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function ue(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function ce(e,t){return e.length>0?(ue(e,e.length,0,t),e):t}const Vt={}.hasOwnProperty;function Wt(e){const t={};let n=-1;for(;++n<e.length;)wl(t,e[n]);return t}function wl(e,t){let n;for(n in t){const i=(Vt.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){Vt.call(i,l)||(i[l]=[]);const a=o[l];Sl(i[l],Array.isArray(a)?a:a?[a]:[])}}}function Sl(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ue(e,0,0,r)}function Yt(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function he(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const te=Ce(/[A-Za-z]/),ne=Ce(/[\dA-Za-z]/),Cl=Ce(/[#-'*+\--9=?A-Z^-~]/);function an(e){return e!==null&&(e<32||e===127)}const Mn=Ce(/\d/),El=Ce(/[\dA-Fa-f]/),Tl=Ce(/[!-/:-@[-`{-~]/);function D(e){return e!==null&&e<-2}function Y(e){return e!==null&&(e<0||e===32)}function j(e){return e===-2||e===-1||e===32}const un=Ce(new RegExp("\\p{P}|\\p{S}","u")),Pe=Ce(/\s/);function Ce(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Oe(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&ne(e.charCodeAt(n+1))&&ne(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function U(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return j(s)?(e.enter(n),a(s)):t(s)}function a(s){return j(s)&&o++<i?(e.consume(s),a):(e.exit(n),t(s))}}const Il={tokenize:Al};function Al(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),U(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,l(a)}function l(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return D(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}const vl={tokenize:Pl},Xt={tokenize:_l};function Pl(e){const t=this,n=[];let r=0,i,o,l;return a;function a(E){if(r<n.length){const L=n[r];return t.containerState=L[1],e.attempt(L[0].continuation,s,u)(E)}return u(E)}function s(E){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&I();const L=t.events.length;let F=L,b;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){b=t.events[F][1].end;break}y(r);let N=L;for(;N<t.events.length;)t.events[N][1].end={...b},N++;return ue(t.events,F+1,0,t.events.slice(L)),t.events.length=N,u(E)}return a(E)}function u(E){if(r===n.length){if(!i)return h(E);if(i.currentConstruct&&i.currentConstruct.concrete)return g(E);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Xt,f,c)(E)}function f(E){return i&&I(),y(r),h(E)}function c(E){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,g(E)}function h(E){return t.containerState={},e.attempt(Xt,p,g)(E)}function p(E){return r++,n.push([t.currentConstruct,t.containerState]),h(E)}function g(E){if(E===null){i&&I(),y(0),e.consume(E);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),S(E)}function S(E){if(E===null){C(e.exit("chunkFlow"),!0),y(0),e.consume(E);return}return D(E)?(e.consume(E),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(E),S)}function C(E,L){const F=t.sliceStream(E);if(L&&F.push(null),E.previous=o,o&&(o.next=E),o=E,i.defineSkip(E.start),i.write(F),t.parser.lazy[E.start.line]){let b=i.events.length;for(;b--;)if(i.events[b][1].start.offset<l&&(!i.events[b][1].end||i.events[b][1].end.offset>l))return;const N=t.events.length;let H=N,B,k;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){if(B){k=t.events[H][1].end;break}B=!0}for(y(r),b=N;b<t.events.length;)t.events[b][1].end={...k},b++;ue(t.events,H+1,0,t.events.slice(N)),t.events.length=b}}function y(E){let L=n.length;for(;L-- >E;){const F=n[L];t.containerState=F[1],F[0].exit.call(t,e)}n.length=E}function I(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function _l(e,t,n){return U(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Me(e){if(e===null||Y(e)||Pe(e))return 1;if(un(e))return 2}function sn(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Nn={name:"attention",resolveAll:Rl,tokenize:Dl};function Rl(e,t){let n=-1,r,i,o,l,a,s,u,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const c={...e[r][1].end},h={...e[n][1].start};Gt(c,-s),Gt(h,s),l={type:s>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},o={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:s>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},e[r][1].end={...l.start},e[n][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=ce(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=ce(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),u=ce(u,sn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=ce(u,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,u=ce(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,ue(e,r-1,n-r+3,u),n=r+u.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Dl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Me(r);let o;return l;function l(s){return o=s,e.enter("attentionSequence"),a(s)}function a(s){if(s===o)return e.consume(s),a;const u=e.exit("attentionSequence"),f=Me(s),c=!f||f===2&&i||n.includes(s),h=!i||i===2&&f||n.includes(r);return u._open=!!(o===42?c:c&&(i||!h)),u._close=!!(o===42?h:h&&(f||!c)),t(s)}}function Gt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const zl={name:"autolink",tokenize:Ll};function Ll(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return te(p)?(e.consume(p),l):p===64?n(p):u(p)}function l(p){return p===43||p===45||p===46||ne(p)?(r=1,a(p)):u(p)}function a(p){return p===58?(e.consume(p),r=0,s):(p===43||p===45||p===46||ne(p))&&r++<32?(e.consume(p),a):(r=0,u(p))}function s(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||an(p)?n(p):(e.consume(p),s)}function u(p){return p===64?(e.consume(p),f):Cl(p)?(e.consume(p),u):n(p)}function f(p){return ne(p)?c(p):n(p)}function c(p){return p===46?(e.consume(p),r=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):h(p)}function h(p){if((p===45||ne(p))&&r++<63){const g=p===45?h:c;return e.consume(p),g}return n(p)}}const Xe={partial:!0,tokenize:Fl};function Fl(e,t,n){return r;function r(o){return j(o)?U(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||D(o)?t(o):n(o)}}const Qt={continuation:{tokenize:Ml},exit:Nl,name:"blockQuote",tokenize:Ol};function Ol(e,t,n){const r=this;return i;function i(l){if(l===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return j(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function Ml(e,t,n){const r=this;return i;function i(l){return j(l)?U(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(Qt,t,n)(l)}}function Nl(e){e.exit("blockQuote")}const Jt={name:"characterEscape",tokenize:jl};function jl(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return Tl(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const Kt={name:"characterReference",tokenize:Bl};function Bl(e,t,n){const r=this;let i=0,o,l;return a;function a(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),s}function s(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,l=ne,f(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=El,f):(e.enter("characterReferenceValue"),o=7,l=Mn,f(c))}function f(c){if(c===59&&i){const h=e.exit("characterReferenceValue");return l===ne&&!On(r.sliceSerialize(h))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(c)&&i++<o?(e.consume(c),f):n(c)}}const Zt={partial:!0,tokenize:Ul},er={concrete:!0,name:"codeFenced",tokenize:ql};function ql(e,t,n){const r=this,i={partial:!0,tokenize:F};let o=0,l=0,a;return s;function s(b){return u(b)}function u(b){const N=r.events[r.events.length-1];return o=N&&N[1].type==="linePrefix"?N[2].sliceSerialize(N[1],!0).length:0,a=b,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(b)}function f(b){return b===a?(l++,e.consume(b),f):l<3?n(b):(e.exit("codeFencedFenceSequence"),j(b)?U(e,c,"whitespace")(b):c(b))}function c(b){return b===null||D(b)?(e.exit("codeFencedFence"),r.interrupt?t(b):e.check(Zt,S,L)(b)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(b))}function h(b){return b===null||D(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(b)):j(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),U(e,p,"whitespace")(b)):b===96&&b===a?n(b):(e.consume(b),h)}function p(b){return b===null||D(b)?c(b):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===null||D(b)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(b)):b===96&&b===a?n(b):(e.consume(b),g)}function S(b){return e.attempt(i,L,C)(b)}function C(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),y}function y(b){return o>0&&j(b)?U(e,I,"linePrefix",o+1)(b):I(b)}function I(b){return b===null||D(b)?e.check(Zt,S,L)(b):(e.enter("codeFlowValue"),E(b))}function E(b){return b===null||D(b)?(e.exit("codeFlowValue"),I(b)):(e.consume(b),E)}function L(b){return e.exit("codeFenced"),t(b)}function F(b,N,H){let B=0;return k;function k(v){return b.enter("lineEnding"),b.consume(v),b.exit("lineEnding"),P}function P(v){return b.enter("codeFencedFence"),j(v)?U(b,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):_(v)}function _(v){return v===a?(b.enter("codeFencedFenceSequence"),$(v)):H(v)}function $(v){return v===a?(B++,b.consume(v),$):B>=l?(b.exit("codeFencedFenceSequence"),j(v)?U(b,R,"whitespace")(v):R(v)):H(v)}function R(v){return v===null||D(v)?(b.exit("codeFencedFence"),N(v)):H(v)}}}function Ul(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const jn={name:"codeIndented",tokenize:$l},Hl={partial:!0,tokenize:Vl};function $l(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),U(e,o,"linePrefix",5)(u)}function o(u){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(u):n(u)}function l(u){return u===null?s(u):D(u)?e.attempt(Hl,l,s)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||D(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),a)}function s(u){return e.exit("codeIndented"),t(u)}}function Vl(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):D(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):U(e,o,"linePrefix",5)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):D(l)?i(l):n(l)}}const Wl={name:"codeText",previous:Xl,resolve:Yl,tokenize:Gl};function Yl(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Xl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Gl(e,t,n){let r=0,i,o;return l;function l(c){return e.enter("codeText"),e.enter("codeTextSequence"),a(c)}function a(c){return c===96?(e.consume(c),r++,a):(e.exit("codeTextSequence"),s(c))}function s(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),s):c===96?(o=e.enter("codeTextSequence"),i=0,f(c)):D(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(c))}function u(c){return c===null||c===32||c===96||D(c)?(e.exit("codeTextData"),s(c)):(e.consume(c),u)}function f(c){return c===96?(e.consume(c),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(o.type="codeTextData",u(c))}}class Ql{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Ge(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ge(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ge(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Ge(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ge(this.left,n.reverse())}}}function Ge(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function nr(e){const t={};let n=-1,r,i,o,l,a,s,u;const f=new Ql(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,o=0,o<s.length&&s[o][1].type==="lineEndingBlank"&&(o+=2),o<s.length&&s[o][1].type==="content"))for(;++o<s.length&&s[o][1].type!=="content";)s[o][1].type==="chunkText"&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Jl(f,n)),n=t[n],u=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=f.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},a=f.slice(i,n),a.unshift(r),f.splice(i,n-i+1,a))}}return ue(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!u}function Jl(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,s=[],u={};let f,c,h=-1,p=n,g=0,S=0;const C=[S];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),c&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),c=p,p=p.next}for(p=n;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(S=h+1,C.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),h=C.length;h--;){const y=a.slice(C[h],C[h+1]),I=o.pop();s.push([I,I+y.length-1]),e.splice(I,2,y)}for(s.reverse(),h=-1;++h<s.length;)u[g+s[h][0]]=g+s[h][1],g+=s[h][1]-s[h][0]-1;return u}const Kl={resolve:eo,tokenize:no},Zl={partial:!0,tokenize:to};function eo(e){return nr(e),e}function no(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):D(a)?e.check(Zl,l,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function l(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function to(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),U(e,o,"linePrefix")}function o(l){if(l===null||D(l))return n(l);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function tr(e,t,n,r,i,o,l,a,s){const u=s||Number.POSITIVE_INFINITY;let f=0;return c;function c(y){return y===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(y),e.exit(o),h):y===null||y===32||y===41||an(y)?n(y):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),S(y))}function h(y){return y===62?(e.enter(o),e.consume(y),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(a),h(y)):y===null||y===60||D(y)?n(y):(e.consume(y),y===92?g:p)}function g(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function S(y){return!f&&(y===null||y===41||Y(y))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(y)):f<u&&y===40?(e.consume(y),f++,S):y===41?(e.consume(y),f--,S):y===null||y===32||y===40||an(y)?n(y):(e.consume(y),y===92?C:S)}function C(y){return y===40||y===41||y===92?(e.consume(y),S):S(y)}}function rr(e,t,n,r,i,o){const l=this;let a=0,s;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),f}function f(p){return a>999||p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):D(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===null||p===91||p===93||D(p)||a++>999?(e.exit("chunkString"),f(p)):(e.consume(p),s||(s=!j(p)),p===92?h:c)}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,c):c(p)}}function ir(e,t,n,r,i,o){let l;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),l=h===40?41:h,s):n(h)}function s(h){return h===l?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(o),u(h))}function u(h){return h===l?(e.exit(o),s(l)):h===null?n(h):D(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),U(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===l||h===null||D(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?c:f)}function c(h){return h===l||h===92?(e.consume(h),f):f(h)}}function Qe(e,t){let n;return r;function r(i){return D(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):j(i)?U(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ro={name:"definition",tokenize:lo},io={partial:!0,tokenize:oo};function lo(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),l(p)}function l(p){return rr.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=he(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):n(p)}function s(p){return Y(p)?Qe(e,u)(p):u(p)}function u(p){return tr(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(io,c,c)(p)}function c(p){return j(p)?U(e,h,"whitespace")(p):h(p)}function h(p){return p===null||D(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function oo(e,t,n){return r;function r(a){return Y(a)?Qe(e,i)(a):n(a)}function i(a){return ir(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return j(a)?U(e,l,"whitespace")(a):l(a)}function l(a){return a===null||D(a)?t(a):n(a)}}const ao={name:"hardBreakEscape",tokenize:uo};function uo(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return D(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const so={name:"headingAtx",resolve:co,tokenize:fo};function co(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ue(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function fo(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||Y(f)?(e.exit("atxHeadingSequence"),a(f)):n(f)}function a(f){return f===35?(e.enter("atxHeadingSequence"),s(f)):f===null||D(f)?(e.exit("atxHeading"),t(f)):j(f)?U(e,a,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function s(f){return f===35?(e.consume(f),s):(e.exit("atxHeadingSequence"),a(f))}function u(f){return f===null||f===35||Y(f)?(e.exit("atxHeadingText"),a(f)):(e.consume(f),u)}}const po=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],lr=["pre","script","style","textarea"],ho={concrete:!0,name:"htmlFlow",resolveTo:yo,tokenize:ko},mo={partial:!0,tokenize:bo},go={partial:!0,tokenize:xo};function yo(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function ko(e,t,n){const r=this;let i,o,l,a,s;return u;function u(m){return f(m)}function f(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),c}function c(m){return m===33?(e.consume(m),h):m===47?(e.consume(m),o=!0,S):m===63?(e.consume(m),i=3,r.interrupt?t:d):te(m)?(e.consume(m),l=String.fromCharCode(m),C):n(m)}function h(m){return m===45?(e.consume(m),i=2,p):m===91?(e.consume(m),i=5,a=0,g):te(m)?(e.consume(m),i=4,r.interrupt?t:d):n(m)}function p(m){return m===45?(e.consume(m),r.interrupt?t:d):n(m)}function g(m){const W="CDATA[";return m===W.charCodeAt(a++)?(e.consume(m),a===W.length?r.interrupt?t:_:g):n(m)}function S(m){return te(m)?(e.consume(m),l=String.fromCharCode(m),C):n(m)}function C(m){if(m===null||m===47||m===62||Y(m)){const W=m===47,pe=l.toLowerCase();return!W&&!o&&lr.includes(pe)?(i=1,r.interrupt?t(m):_(m)):po.includes(l.toLowerCase())?(i=6,W?(e.consume(m),y):r.interrupt?t(m):_(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(m):o?I(m):E(m))}return m===45||ne(m)?(e.consume(m),l+=String.fromCharCode(m),C):n(m)}function y(m){return m===62?(e.consume(m),r.interrupt?t:_):n(m)}function I(m){return j(m)?(e.consume(m),I):k(m)}function E(m){return m===47?(e.consume(m),k):m===58||m===95||te(m)?(e.consume(m),L):j(m)?(e.consume(m),E):k(m)}function L(m){return m===45||m===46||m===58||m===95||ne(m)?(e.consume(m),L):F(m)}function F(m){return m===61?(e.consume(m),b):j(m)?(e.consume(m),F):E(m)}function b(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),s=m,N):j(m)?(e.consume(m),b):H(m)}function N(m){return m===s?(e.consume(m),s=null,B):m===null||D(m)?n(m):(e.consume(m),N)}function H(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||Y(m)?F(m):(e.consume(m),H)}function B(m){return m===47||m===62||j(m)?E(m):n(m)}function k(m){return m===62?(e.consume(m),P):n(m)}function P(m){return m===null||D(m)?_(m):j(m)?(e.consume(m),P):n(m)}function _(m){return m===45&&i===2?(e.consume(m),V):m===60&&i===1?(e.consume(m),J):m===62&&i===4?(e.consume(m),w):m===63&&i===3?(e.consume(m),d):m===93&&i===5?(e.consume(m),fe):D(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(mo,z,$)(m)):m===null||D(m)?(e.exit("htmlFlowData"),$(m)):(e.consume(m),_)}function $(m){return e.check(go,R,z)(m)}function R(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),v}function v(m){return m===null||D(m)?$(m):(e.enter("htmlFlowData"),_(m))}function V(m){return m===45?(e.consume(m),d):_(m)}function J(m){return m===47?(e.consume(m),l="",oe):_(m)}function oe(m){if(m===62){const W=l.toLowerCase();return lr.includes(W)?(e.consume(m),w):_(m)}return te(m)&&l.length<8?(e.consume(m),l+=String.fromCharCode(m),oe):_(m)}function fe(m){return m===93?(e.consume(m),d):_(m)}function d(m){return m===62?(e.consume(m),w):m===45&&i===2?(e.consume(m),d):_(m)}function w(m){return m===null||D(m)?(e.exit("htmlFlowData"),z(m)):(e.consume(m),w)}function z(m){return e.exit("htmlFlow"),t(m)}}function xo(e,t,n){const r=this;return i;function i(l){return D(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function bo(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Xe,t,n)}}const wo={name:"htmlText",tokenize:So};function So(e,t,n){const r=this;let i,o,l;return a;function a(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),s}function s(d){return d===33?(e.consume(d),u):d===47?(e.consume(d),F):d===63?(e.consume(d),E):te(d)?(e.consume(d),H):n(d)}function u(d){return d===45?(e.consume(d),f):d===91?(e.consume(d),o=0,g):te(d)?(e.consume(d),I):n(d)}function f(d){return d===45?(e.consume(d),p):n(d)}function c(d){return d===null?n(d):d===45?(e.consume(d),h):D(d)?(l=c,J(d)):(e.consume(d),c)}function h(d){return d===45?(e.consume(d),p):c(d)}function p(d){return d===62?V(d):d===45?h(d):c(d)}function g(d){const w="CDATA[";return d===w.charCodeAt(o++)?(e.consume(d),o===w.length?S:g):n(d)}function S(d){return d===null?n(d):d===93?(e.consume(d),C):D(d)?(l=S,J(d)):(e.consume(d),S)}function C(d){return d===93?(e.consume(d),y):S(d)}function y(d){return d===62?V(d):d===93?(e.consume(d),y):S(d)}function I(d){return d===null||d===62?V(d):D(d)?(l=I,J(d)):(e.consume(d),I)}function E(d){return d===null?n(d):d===63?(e.consume(d),L):D(d)?(l=E,J(d)):(e.consume(d),E)}function L(d){return d===62?V(d):E(d)}function F(d){return te(d)?(e.consume(d),b):n(d)}function b(d){return d===45||ne(d)?(e.consume(d),b):N(d)}function N(d){return D(d)?(l=N,J(d)):j(d)?(e.consume(d),N):V(d)}function H(d){return d===45||ne(d)?(e.consume(d),H):d===47||d===62||Y(d)?B(d):n(d)}function B(d){return d===47?(e.consume(d),V):d===58||d===95||te(d)?(e.consume(d),k):D(d)?(l=B,J(d)):j(d)?(e.consume(d),B):V(d)}function k(d){return d===45||d===46||d===58||d===95||ne(d)?(e.consume(d),k):P(d)}function P(d){return d===61?(e.consume(d),_):D(d)?(l=P,J(d)):j(d)?(e.consume(d),P):B(d)}function _(d){return d===null||d===60||d===61||d===62||d===96?n(d):d===34||d===39?(e.consume(d),i=d,$):D(d)?(l=_,J(d)):j(d)?(e.consume(d),_):(e.consume(d),R)}function $(d){return d===i?(e.consume(d),i=void 0,v):d===null?n(d):D(d)?(l=$,J(d)):(e.consume(d),$)}function R(d){return d===null||d===34||d===39||d===60||d===61||d===96?n(d):d===47||d===62||Y(d)?B(d):(e.consume(d),R)}function v(d){return d===47||d===62||Y(d)?B(d):n(d)}function V(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),t):n(d)}function J(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),oe}function oe(d){return j(d)?U(e,fe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):fe(d)}function fe(d){return e.enter("htmlTextData"),l(d)}}const Bn={name:"labelEnd",resolveAll:Io,resolveTo:Ao,tokenize:vo},Co={tokenize:Po},Eo={tokenize:_o},To={tokenize:Ro};function Io(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&ue(e,0,e.length,n),e}function Ao(e,t){let n=e.length,r=0,i,o,l,a;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const s={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return a=[["enter",s,t],["enter",u,t]],a=ce(a,e.slice(o+1,o+r+3)),a=ce(a,[["enter",f,t]]),a=ce(a,sn(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),a=ce(a,[["exit",f,t],e[l-2],e[l-1],["exit",u,t]]),a=ce(a,e.slice(l+1)),a=ce(a,[["exit",s,t]]),ue(e,o,e.length,a),e}function vo(e,t,n){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return a;function a(h){return o?o._inactive?c(h):(l=r.parser.defined.includes(he(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),s):n(h)}function s(h){return h===40?e.attempt(Co,f,l?f:c)(h):h===91?e.attempt(Eo,f,l?u:c)(h):l?f(h):c(h)}function u(h){return e.attempt(To,f,c)(h)}function f(h){return t(h)}function c(h){return o._balanced=!0,n(h)}}function Po(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return Y(c)?Qe(e,o)(c):o(c)}function o(c){return c===41?f(c):tr(e,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function l(c){return Y(c)?Qe(e,s)(c):f(c)}function a(c){return n(c)}function s(c){return c===34||c===39||c===40?ir(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function u(c){return Y(c)?Qe(e,f)(c):f(c)}function f(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function _o(e,t,n){const r=this;return i;function i(a){return rr.call(r,e,o,l,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(he(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function l(a){return n(a)}}function Ro(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const Do={name:"labelStartImage",resolveAll:Bn.resolveAll,tokenize:zo};function zo(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),l):n(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Lo={name:"labelStartLink",resolveAll:Bn.resolveAll,tokenize:Fo};function Fo(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const qn={name:"lineEnding",tokenize:Oo};function Oo(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),U(e,t,"linePrefix")}}const cn={name:"thematicBreak",tokenize:Mo};function Mo(e,t,n){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):r>=3&&(u===null||D(u))?(e.exit("thematicBreak"),t(u)):n(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),j(u)?U(e,a,"whitespace")(u):a(u))}}const le={continuation:{tokenize:qo},exit:Ho,name:"list",tokenize:Bo},No={partial:!0,tokenize:$o},jo={partial:!0,tokenize:Uo};function Bo(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Mn(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(cn,n,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return n(p)}function s(p){return Mn(p)&&++l<10?(e.consume(p),s):(!r.interrupt||l<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):n(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Xe,r.interrupt?n:f,e.attempt(No,h,c))}function f(p){return r.containerState.initialBlankLine=!0,o++,h(p)}function c(p){return j(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):n(p)}function h(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function qo(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Xe,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,U(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!j(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(jo,t,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,U(e,e.attempt(le,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Uo(e,t,n){const r=this;return U(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function Ho(e){e.exit(this.containerState.type)}function $o(e,t,n){const r=this;return U(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!j(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const or={name:"setextUnderline",resolveTo:Vo,tokenize:Wo};function Vo(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function Wo(e,t,n){const r=this;let i;return o;function o(u){let f=r.events.length,c;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){c=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=u,l(u)):n(u)}function l(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),j(u)?U(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||D(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const Yo={tokenize:Xo};function Xo(e){const t=this,n=e.attempt(Xe,r,e.attempt(this.parser.constructs.flowInitial,i,U(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Kl,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Go={resolveAll:ur()},Qo=ar("string"),Jo=ar("text");function ar(e){return{resolveAll:ur(e==="text"?Ko:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,a);return l;function l(f){return u(f)?o(f):a(f)}function a(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),s}function s(f){return u(f)?(n.exit("data"),o(f)):(n.consume(f),s)}function u(f){if(f===null)return!0;const c=i[f];let h=-1;if(c)for(;++h<c.length;){const p=c[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function ur(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function Ko(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,l=-1,a=0,s;for(;o--;){const u=i[o];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(u===-2)s=!0,a++;else if(u!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const u={type:n===e.length||s||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const Zo=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:ro},disable:{null:[]},document:{42:le,43:le,45:le,48:le,49:le,50:le,51:le,52:le,53:le,54:le,55:le,56:le,57:le,62:Qt},flow:{35:so,42:cn,45:[or,cn],60:ho,61:or,95:cn,96:er,126:er},flowInitial:{[-2]:jn,[-1]:jn,32:jn},insideSpan:{null:[Nn,Go]},string:{38:Kt,92:Jt},text:{[-5]:qn,[-4]:qn,[-3]:qn,33:Do,38:Kt,42:Nn,60:[zl,wo],91:Lo,92:[ao,Jt],93:Bn,95:Nn,96:Wl}},Symbol.toStringTag,{value:"Module"}));function ea(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let l=[],a=[];const s={attempt:N(F),check:N(b),consume:I,enter:E,exit:L,interrupt:N(b,{interrupt:!0})},u={code:null,containerState:{},defineSkip:S,events:[],now:g,parser:e,previous:null,sliceSerialize:h,sliceStream:p,write:c};let f=t.tokenize.call(u,s);return t.resolveAll&&o.push(t),u;function c(P){return l=ce(l,P),C(),l[l.length-1]!==null?[]:(H(t,0),u.events=sn(o,u.events,u),u.events)}function h(P,_){return ta(p(P),_)}function p(P){return na(l,P)}function g(){const{_bufferIndex:P,_index:_,line:$,column:R,offset:v}=r;return{_bufferIndex:P,_index:_,line:$,column:R,offset:v}}function S(P){i[P.line]=P.column,k()}function C(){let P;for(;r._index<l.length;){const _=l[r._index];if(typeof _=="string")for(P=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===P&&r._bufferIndex<_.length;)y(_.charCodeAt(r._bufferIndex));else y(_)}}function y(P){f=f(P)}function I(P){D(P)?(r.line++,r.column=1,r.offset+=P===-3?2:1,k()):P!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=P}function E(P,_){const $=_||{};return $.type=P,$.start=g(),u.events.push(["enter",$,u]),a.push($),$}function L(P){const _=a.pop();return _.end=g(),u.events.push(["exit",_,u]),_}function F(P,_){H(P,_.from)}function b(P,_){_.restore()}function N(P,_){return $;function $(R,v,V){let J,oe,fe,d;return Array.isArray(R)?z(R):"tokenize"in R?z([R]):w(R);function w(K){return Q;function Q(re){const ke=re!==null&&K[re],Ie=re!==null&&K.null,bn=[...Array.isArray(ke)?ke:ke?[ke]:[],...Array.isArray(Ie)?Ie:Ie?[Ie]:[]];return z(bn)(re)}}function z(K){return J=K,oe=0,K.length===0?V:m(K[oe])}function m(K){return Q;function Q(re){return d=B(),fe=K,K.partial||(u.currentConstruct=K),K.name&&u.parser.constructs.disable.null.includes(K.name)?pe():K.tokenize.call(_?Object.assign(Object.create(u),_):u,s,W,pe)(re)}}function W(K){return P(fe,d),v}function pe(K){return d.restore(),++oe<J.length?m(J[oe]):V}}}function H(P,_){P.resolveAll&&!o.includes(P)&&o.push(P),P.resolve&&ue(u.events,_,u.events.length-_,P.resolve(u.events.slice(_),u)),P.resolveTo&&(u.events=P.resolveTo(u.events,u))}function B(){const P=g(),_=u.previous,$=u.currentConstruct,R=u.events.length,v=Array.from(a);return{from:R,restore:V};function V(){r=P,u.previous=_,u.currentConstruct=$,u.events.length=R,a=v,k()}}function k(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function na(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function ta(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
22
14
  `;break}case-3:{l=`\r
23
- `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function Na(e){const r={constructs:vr([Fa,...(e||{}).extensions||[]]),content:i(ao),defined:[],document:i(so),flow:i(Aa),lazy:{},string:i(_a),text:i(Da)};return r;function i(o){return l;function l(a){return La(r,o,a)}}}function ja(e){for(;!Fr(e););return e}const $r=/[\0\t\n\r]/g;function Ba(){let e=1,t="",n=!0,r;return i;function i(o,l,a){const u=[];let s,f,c,h,p;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),c=0,t="",n&&(o.charCodeAt(0)===65279&&c++,n=void 0);c<o.length;){if($r.lastIndex=c,s=$r.exec(o),h=s&&s.index!==void 0?s.index:o.length,p=o.charCodeAt(h),!s){t=o.slice(c);break}if(p===10&&c===h&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),c<h&&(u.push(o.slice(c,h)),e+=h-c),p){case 0:{u.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,u.push(-2);e++<f;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}c=h+1}return a&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Ua=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $a(e){return e.replace(Ua,qa)}function qa(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Tr(n.slice(o?2:1),o?16:10)}return at(n)||e}const qr={}.hasOwnProperty;function Ha(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Va(n)(ja(Na(n).document().write(Ba()(e,t,!0))))}function Va(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Ge),autolinkProtocol:V,autolinkEmail:V,atxHeading:o(Xe),blockQuote:o(Ie),characterEscape:V,characterReference:V,codeFenced:o(an),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(an,l),codeText:o($n,l),codeTextData:V,data:V,codeFlowValue:V,definition:o(jt),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(Bt),hardBreakEscape:o($e),hardBreakTrailing:o($e),htmlFlow:o(Tn,l),htmlFlowData:V,htmlText:o(Tn,l),htmlTextData:V,image:o(qn),label:l,link:o(Ge),listItem:o(Ut),listItemValue:h,listOrdered:o(Hn,c),listUnordered:o(Hn),paragraph:o(In),reference:g,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Xe),strong:o($t),thematicBreak:o(Vn)},exit:{atxHeading:u(),atxHeadingSequence:N,autolink:u(),autolinkEmail:De,autolinkProtocol:xe,blockQuote:u(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:Fe,characterReferenceMarkerNumeric:Fe,characterReferenceValue:te,characterReference:Le,codeFenced:u(C),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:x,codeIndented:u(k),codeText:u(P),codeTextData:x,data:x,definition:u(),definitionDestinationString:M,definitionLabelString:E,definitionTitleString:T,emphasis:u(),hardBreakEscape:u(D),hardBreakTrailing:u(D),htmlFlow:u(U),htmlFlowData:x,htmlText:u(O),htmlTextData:x,image:u(ne),label:Ce,labelText:he,lineEnding:_,link:u(G),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ke,resourceDestinationString:d,resourceTitleString:me,resource:Ee,setextHeading:u(X),setextHeadingLineSequence:B,setextHeadingText:w,strong:u(),thematicBreak:u()}};Hr(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(b){let A={type:"root",children:[]};const z={stack:[A],tokenStack:[],config:t,enter:a,exit:s,buffer:l,resume:f,data:n},$=[];let J=-1;for(;++J<b.length;)if(b[J][1].type==="listOrdered"||b[J][1].type==="listUnordered")if(b[J][0]==="enter")$.push(J);else{const be=$.pop();J=i(b,be,J)}for(J=-1;++J<b.length;){const be=t[b[J][0]];qr.call(be,b[J][1].type)&&be[b[J][1].type].call(Object.assign({sliceSerialize:b[J][2].sliceSerialize},z),b[J][1])}if(z.tokenStack.length>0){const be=z.tokenStack[z.tokenStack.length-1];(be[1]||Vr).call(z,void 0,be[0])}for(A.position={start:Be(b.length>0?b[0][1].start:{line:1,column:1,offset:0}),end:Be(b.length>0?b[b.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<t.transforms.length;)A=t.transforms[J](A)||A;return A}function i(b,A,z){let $=A-1,J=-1,be=!1,ze,Ae,Je,Ke;for(;++$<=z;){const se=b[$];switch(se[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{se[0]==="enter"?J++:J--,Ke=void 0;break}case"lineEndingBlank":{se[0]==="enter"&&(ze&&!Ke&&!J&&!Je&&(Je=$),Ke=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ke=void 0}if(!J&&se[0]==="enter"&&se[1].type==="listItemPrefix"||J===-1&&se[0]==="exit"&&(se[1].type==="listUnordered"||se[1].type==="listOrdered")){if(ze){let qe=$;for(Ae=void 0;qe--;){const we=b[qe];if(we[1].type==="lineEnding"||we[1].type==="lineEndingBlank"){if(we[0]==="exit")continue;Ae&&(b[Ae][1].type="lineEndingBlank",be=!0),we[1].type="lineEnding",Ae=qe}else if(!(we[1].type==="linePrefix"||we[1].type==="blockQuotePrefix"||we[1].type==="blockQuotePrefixWhitespace"||we[1].type==="blockQuoteMarker"||we[1].type==="listItemIndent"))break}Je&&(!Ae||Je<Ae)&&(ze._spread=!0),ze.end=Object.assign({},Ae?b[Ae][1].start:se[1].end),b.splice(Ae||$,0,["exit",ze,se[2]]),$++,z++}if(se[1].type==="listItemPrefix"){const qe={type:"listItem",_spread:!1,start:Object.assign({},se[1].start),end:void 0};ze=qe,b.splice($,0,["enter",qe,se[2]]),$++,z++,Je=void 0,Ke=!0}}}return b[A][1]._spread=be,z}function o(b,A){return z;function z($){a.call(this,b($),$),A&&A.call(this,$)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(b,A,z){this.stack[this.stack.length-1].children.push(b),this.stack.push(b),this.tokenStack.push([A,z||void 0]),b.position={start:Be(A.start),end:void 0}}function u(b){return A;function A(z){b&&b.call(this,z),s.call(this,z)}}function s(b,A){const z=this.stack.pop(),$=this.tokenStack.pop();if($)$[0].type!==b.type&&(A?A.call(this,b,$[0]):($[1]||Vr).call(this,b,$[0]));else throw new Error("Cannot close `"+b.type+"` ("+dn({start:b.start,end:b.end})+"): it’s not open");z.position.end=Be(b.end)}function f(){return ot(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(b){if(this.data.expectingFirstListItemValue){const A=this.stack[this.stack.length-2];A.start=Number.parseInt(this.sliceSerialize(b),10),this.data.expectingFirstListItemValue=void 0}}function p(){const b=this.resume(),A=this.stack[this.stack.length-1];A.lang=b}function y(){const b=this.resume(),A=this.stack[this.stack.length-1];A.meta=b}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const b=this.resume(),A=this.stack[this.stack.length-1];A.value=b.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const b=this.resume(),A=this.stack[this.stack.length-1];A.value=b.replace(/(\r?\n|\r)$/g,"")}function E(b){const A=this.resume(),z=this.stack[this.stack.length-1];z.label=A,z.identifier=Te(this.sliceSerialize(b)).toLowerCase()}function T(){const b=this.resume(),A=this.stack[this.stack.length-1];A.title=b}function M(){const b=this.resume(),A=this.stack[this.stack.length-1];A.url=b}function N(b){const A=this.stack[this.stack.length-1];if(!A.depth){const z=this.sliceSerialize(b).length;A.depth=z}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function B(b){const A=this.stack[this.stack.length-1];A.depth=this.sliceSerialize(b).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function V(b){const z=this.stack[this.stack.length-1].children;let $=z[z.length-1];(!$||$.type!=="text")&&($=qt(),$.position={start:Be(b.start),end:void 0},z.push($)),this.stack.push($)}function x(b){const A=this.stack.pop();A.value+=this.sliceSerialize(b),A.position.end=Be(b.end)}function _(b){const A=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=A.children[A.children.length-1];z.position.end=Be(b.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(A.type)&&(V.call(this,b),x.call(this,b))}function D(){this.data.atHardBreak=!0}function U(){const b=this.resume(),A=this.stack[this.stack.length-1];A.value=b}function O(){const b=this.resume(),A=this.stack[this.stack.length-1];A.value=b}function P(){const b=this.resume(),A=this.stack[this.stack.length-1];A.value=b}function G(){const b=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";b.type+="Reference",b.referenceType=A,delete b.url,delete b.title}else delete b.identifier,delete b.label;this.data.referenceType=void 0}function ne(){const b=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";b.type+="Reference",b.referenceType=A,delete b.url,delete b.title}else delete b.identifier,delete b.label;this.data.referenceType=void 0}function he(b){const A=this.sliceSerialize(b),z=this.stack[this.stack.length-2];z.label=$a(A),z.identifier=Te(A).toLowerCase()}function Ce(){const b=this.stack[this.stack.length-1],A=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const $=b.children;z.children=$}else z.alt=A}function d(){const b=this.resume(),A=this.stack[this.stack.length-1];A.url=b}function me(){const b=this.resume(),A=this.stack[this.stack.length-1];A.title=b}function Ee(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function ke(b){const A=this.resume(),z=this.stack[this.stack.length-1];z.label=A,z.identifier=Te(this.sliceSerialize(b)).toLowerCase(),this.data.referenceType="full"}function Fe(b){this.data.characterReferenceType=b.type}function te(b){const A=this.sliceSerialize(b),z=this.data.characterReferenceType;let $;z?($=Tr(A,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):$=at(A);const J=this.stack[this.stack.length-1];J.value+=$}function Le(b){const A=this.stack.pop();A.position.end=Be(b.end)}function xe(b){x.call(this,b);const A=this.stack[this.stack.length-1];A.url=this.sliceSerialize(b)}function De(b){x.call(this,b);const A=this.stack[this.stack.length-1];A.url="mailto:"+this.sliceSerialize(b)}function Ie(){return{type:"blockquote",children:[]}}function an(){return{type:"code",lang:null,meta:null,value:""}}function $n(){return{type:"inlineCode",value:""}}function jt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Bt(){return{type:"emphasis",children:[]}}function Xe(){return{type:"heading",depth:0,children:[]}}function $e(){return{type:"break"}}function Tn(){return{type:"html",value:""}}function qn(){return{type:"image",title:null,url:"",alt:null}}function Ge(){return{type:"link",title:null,url:"",children:[]}}function Hn(b){return{type:"list",ordered:b.type==="listOrdered",start:null,spread:b._spread,children:[]}}function Ut(b){return{type:"listItem",spread:b._spread,checked:null,children:[]}}function In(){return{type:"paragraph",children:[]}}function $t(){return{type:"strong",children:[]}}function qt(){return{type:"text",value:""}}function Vn(){return{type:"thematicBreak"}}}function Be(e){return{line:e.line,column:e.column,offset:e.offset}}function Hr(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Hr(e,r):Wa(e,r)}}function Wa(e,t){let n;for(n in t)if(qr.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Vr(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+dn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+dn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+dn({start:t.start,end:t.end})+") is still open")}function Ya(e){const t=this;t.parser=n;function n(r){return Ha(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Xa(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Ga(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
24
- `}]}function Ja(e,t){const n=t.value?t.value+`
25
- `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function Ka(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Qa(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Za(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=tn(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let l,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)}function eu(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function nu(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Wr(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function tu(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Wr(e,t);const i={src:tn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function ru(e,t){const n={src:tn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function iu(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function lu(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Wr(e,t);const i={href:tn(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function ou(e,t){const n={href:tn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function au(e,t,n){const r=e.all(t),i=n?uu(n):Yr(t),o={},l=[];if(typeof t.checked=="boolean"){const f=r[0];let c;f&&f.type==="element"&&f.tagName==="p"?c=f:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const f=r[a];(i||a!==0||f.type!=="element"||f.tagName!=="p")&&l.push({type:"text",value:`
26
- `}),f.type==="element"&&f.tagName==="p"&&!i?l.push(...f.children):l.push(f)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&l.push({type:"text",value:`
27
- `});const s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)}function uu(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Yr(n[r])}return t}function Yr(e){const t=e.spread;return t??e.children.length>1}function su(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function cu(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fu(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function pu(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hu(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=et(t.children[1]),u=pr(t.children[t.children.length-1]);a&&u&&(l.position={start:a,end:u}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function mu(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let u=-1;const s=[];for(;++u<a;){const c=t.children[u],h={},p=l?l[u]:void 0;p&&(h.align=p);let y={type:"element",tagName:o,properties:h,children:[]};c&&(y.children=e.all(c),e.patch(c,y),y=e.applyData(c,y)),s.push(y)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,f),e.applyData(t,f)}function du(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Xr=9,Gr=32;function gu(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Jr(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Jr(t.slice(i),i>0,!1)),o.join("")}function Jr(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===Xr||o===Gr;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===Xr||o===Gr;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function yu(e,t){const n={type:"text",value:gu(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function ku(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const xu={blockquote:Xa,break:Ga,code:Ja,delete:Ka,emphasis:Qa,footnoteReference:Za,heading:eu,html:nu,imageReference:tu,image:ru,inlineCode:iu,linkReference:lu,link:ou,listItem:au,list:su,paragraph:cu,root:fu,strong:pu,table:hu,tableCell:du,tableRow:mu,text:yu,thematicBreak:ku,toml:On,yaml:On,definition:On,footnoteDefinition:On};function On(){}const Kr=-1,Fn=0,bn=1,Ln=2,ht=3,mt=4,dt=5,gt=6,Qr=7,Zr=8,ei=typeof self=="object"?self:globalThis,bu=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case Fn:case Kr:return n(l,i);case bn:{const a=n([],i);for(const u of l)a.push(r(u));return a}case Ln:{const a=n({},i);for(const[u,s]of l)a[r(u)]=r(s);return a}case ht:return n(new Date(l),i);case mt:{const{source:a,flags:u}=l;return n(new RegExp(a,u),i)}case dt:{const a=n(new Map,i);for(const[u,s]of l)a.set(r(u),r(s));return a}case gt:{const a=n(new Set,i);for(const u of l)a.add(r(u));return a}case Qr:{const{name:a,message:u}=l;return n(new ei[a](u),i)}case Zr:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:a}=new Uint8Array(l);return n(new DataView(a),l)}}return n(new ei[o](l),i)};return r},ni=e=>bu(new Map,e)(0),ln="",{toString:wu}={},{keys:Su}=Object,wn=e=>{const t=typeof e;if(t!=="object"||!e)return[Fn,t];const n=wu.call(e).slice(8,-1);switch(n){case"Array":return[bn,ln];case"Object":return[Ln,ln];case"Date":return[ht,ln];case"RegExp":return[mt,ln];case"Map":return[dt,ln];case"Set":return[gt,ln];case"DataView":return[bn,n]}return n.includes("Array")?[bn,n]:n.includes("Error")?[Qr,n]:[Ln,n]},zn=([e,t])=>e===Fn&&(t==="function"||t==="symbol"),Cu=(e,t,n,r)=>{const i=(l,a)=>{const u=r.push(l)-1;return n.set(a,u),u},o=l=>{if(n.has(l))return n.get(l);let[a,u]=wn(l);switch(a){case Fn:{let f=l;switch(u){case"bigint":a=Zr,f=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);f=null;break;case"undefined":return i([Kr],l)}return i([a,f],l)}case bn:{if(u){let h=l;return u==="DataView"?h=new Uint8Array(l.buffer):u==="ArrayBuffer"&&(h=new Uint8Array(l)),i([u,[...h]],l)}const f=[],c=i([a,f],l);for(const h of l)f.push(o(h));return c}case Ln:{if(u)switch(u){case"BigInt":return i([u,l.toString()],l);case"Boolean":case"Number":case"String":return i([u,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());const f=[],c=i([a,f],l);for(const h of Su(l))(e||!zn(wn(l[h])))&&f.push([o(h),o(l[h])]);return c}case ht:return i([a,l.toISOString()],l);case mt:{const{source:f,flags:c}=l;return i([a,{source:f,flags:c}],l)}case dt:{const f=[],c=i([a,f],l);for(const[h,p]of l)(e||!(zn(wn(h))||zn(wn(p))))&&f.push([o(h),o(p)]);return c}case gt:{const f=[],c=i([a,f],l);for(const h of l)(e||!zn(wn(h)))&&f.push(o(h));return c}}const{message:s}=l;return i([a,{name:u,message:s}],l)};return o},ti=(e,{json:t,lossy:n}={})=>{const r=[];return Cu(!(t||n),!!t,new Map,r)(e),r},Sn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?ni(ti(e,t)):structuredClone(e):(e,t)=>ni(ti(e,t));function Eu(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function vu(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Tu(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Eu,r=e.options.footnoteBackLabel||vu,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const s=e.footnoteById.get(e.footnoteOrder[u]);if(!s)continue;const f=e.all(s),c=String(s.identifier).toUpperCase(),h=tn(c.toLowerCase());let p=0;const y=[],S=e.footnoteCounts.get(c);for(;S!==void 0&&++p<=S;){y.length>0&&y.push({type:"text",value:" "});let E=typeof n=="string"?n:n(u,p);typeof E=="string"&&(E={type:"text",value:E}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,p),className:["data-footnote-backref"]},children:Array.isArray(E)?E:[E]})}const C=f[f.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const E=C.children[C.children.length-1];E&&E.type==="text"?E.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...y)}else f.push(...y);const k={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(f,!0)};e.patch(s,k),a.push(k)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Sn(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
15
+ `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function ra(e){const r={constructs:Wt([Zo,...(e||{}).extensions||[]]),content:i(Il),defined:[],document:i(vl),flow:i(Yo),lazy:{},string:i(Qo),text:i(Jo)};return r;function i(o){return l;function l(a){return ea(r,o,a)}}}function ia(e){for(;!nr(e););return e}const sr=/[\0\t\n\r]/g;function la(){let e=1,t="",n=!0,r;return i;function i(o,l,a){const s=[];let u,f,c,h,p;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),c=0,t="",n&&(o.charCodeAt(0)===65279&&c++,n=void 0);c<o.length;){if(sr.lastIndex=c,u=sr.exec(o),h=u&&u.index!==void 0?u.index:o.length,p=o.charCodeAt(h),!u){t=o.slice(c);break}if(p===10&&c===h&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),c<h&&(s.push(o.slice(c,h)),e+=h-c),p){case 0:{s.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,s.push(-2);e++<f;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}c=h+1}return a&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}const oa=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function aa(e){return e.replace(oa,ua)}function ua(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Yt(n.slice(o?2:1),o?16:10)}return On(n)||e}const cr={}.hasOwnProperty;function sa(e,t,n){return typeof t!="string"&&(n=t,t=void 0),ca(n)(ia(ra(n).document().write(la()(e,t,!0))))}function ca(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(wi),autolinkProtocol:B,autolinkEmail:B,atxHeading:o(ki),blockQuote:o(Ie),characterEscape:B,characterReference:B,codeFenced:o(bn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(bn,l),codeText:o(rf,l),codeTextData:B,data:B,codeFlowValue:B,definition:o(lf),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(of),hardBreakEscape:o(xi),hardBreakTrailing:o(xi),htmlFlow:o(bi,l),htmlFlowData:B,htmlText:o(bi,l),htmlTextData:B,image:o(af),label:l,link:o(wi),listItem:o(uf),listItemValue:h,listOrdered:o(Si,c),listUnordered:o(Si),paragraph:o(sf),reference:m,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(ki),strong:o(cf),thematicBreak:o(pf)},exit:{atxHeading:s(),atxHeadingSequence:F,autolink:s(),autolinkEmail:ke,autolinkProtocol:re,blockQuote:s(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:pe,characterReferenceMarkerNumeric:pe,characterReferenceValue:K,characterReference:Q,codeFenced:s(C),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:k,codeIndented:s(y),codeText:s(v),codeTextData:k,data:k,definition:s(),definitionDestinationString:L,definitionLabelString:I,definitionTitleString:E,emphasis:s(),hardBreakEscape:s(_),hardBreakTrailing:s(_),htmlFlow:s($),htmlFlowData:k,htmlText:s(R),htmlTextData:k,image:s(J),label:fe,labelText:oe,lineEnding:P,link:s(V),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:W,resourceDestinationString:d,resourceTitleString:w,resource:z,setextHeading:s(H),setextHeadingLineSequence:N,setextHeadingText:b,strong:s(),thematicBreak:s()}};fr(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(x){let A={type:"root",children:[]};const O={stack:[A],tokenStack:[],config:t,enter:a,exit:u,buffer:l,resume:f,data:n},q=[];let X=-1;for(;++X<x.length;)if(x[X][1].type==="listOrdered"||x[X][1].type==="listUnordered")if(x[X][0]==="enter")q.push(X);else{const me=q.pop();X=i(x,me,X)}for(X=-1;++X<x.length;){const me=t[x[X][0]];cr.call(me,x[X][1].type)&&me[x[X][1].type].call(Object.assign({sliceSerialize:x[X][2].sliceSerialize},O),x[X][1])}if(O.tokenStack.length>0){const me=O.tokenStack[O.tokenStack.length-1];(me[1]||pr).call(O,void 0,me[0])}for(A.position={start:Ee(x.length>0?x[0][1].start:{line:1,column:1,offset:0}),end:Ee(x.length>0?x[x.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X<t.transforms.length;)A=t.transforms[X](A)||A;return A}function i(x,A,O){let q=A-1,X=-1,me=!1,De,be,rn,ln;for(;++q<=O;){const se=x[q];switch(se[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{se[0]==="enter"?X++:X--,ln=void 0;break}case"lineEndingBlank":{se[0]==="enter"&&(De&&!ln&&!X&&!rn&&(rn=q),ln=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ln=void 0}if(!X&&se[0]==="enter"&&se[1].type==="listItemPrefix"||X===-1&&se[0]==="exit"&&(se[1].type==="listUnordered"||se[1].type==="listOrdered")){if(De){let Be=q;for(be=void 0;Be--;){const we=x[Be];if(we[1].type==="lineEnding"||we[1].type==="lineEndingBlank"){if(we[0]==="exit")continue;be&&(x[be][1].type="lineEndingBlank",me=!0),we[1].type="lineEnding",be=Be}else if(!(we[1].type==="linePrefix"||we[1].type==="blockQuotePrefix"||we[1].type==="blockQuotePrefixWhitespace"||we[1].type==="blockQuoteMarker"||we[1].type==="listItemIndent"))break}rn&&(!be||rn<be)&&(De._spread=!0),De.end=Object.assign({},be?x[be][1].start:se[1].end),x.splice(be||q,0,["exit",De,se[2]]),q++,O++}if(se[1].type==="listItemPrefix"){const Be={type:"listItem",_spread:!1,start:Object.assign({},se[1].start),end:void 0};De=Be,x.splice(q,0,["enter",Be,se[2]]),q++,O++,rn=void 0,ln=!0}}}return x[A][1]._spread=me,O}function o(x,A){return O;function O(q){a.call(this,x(q),q),A&&A.call(this,q)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(x,A,O){this.stack[this.stack.length-1].children.push(x),this.stack.push(x),this.tokenStack.push([A,O||void 0]),x.position={start:Ee(A.start),end:void 0}}function s(x){return A;function A(O){x&&x.call(this,O),u.call(this,O)}}function u(x,A){const O=this.stack.pop(),q=this.tokenStack.pop();if(q)q[0].type!==x.type&&(A?A.call(this,x,q[0]):(q[1]||pr).call(this,x,q[0]));else throw new Error("Cannot close `"+x.type+"` ("+We({start:x.start,end:x.end})+"): it’s not open");O.position.end=Ee(x.end)}function f(){return Fn(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(x){if(this.data.expectingFirstListItemValue){const A=this.stack[this.stack.length-2];A.start=Number.parseInt(this.sliceSerialize(x),10),this.data.expectingFirstListItemValue=void 0}}function p(){const x=this.resume(),A=this.stack[this.stack.length-1];A.lang=x}function g(){const x=this.resume(),A=this.stack[this.stack.length-1];A.meta=x}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const x=this.resume(),A=this.stack[this.stack.length-1];A.value=x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const x=this.resume(),A=this.stack[this.stack.length-1];A.value=x.replace(/(\r?\n|\r)$/g,"")}function I(x){const A=this.resume(),O=this.stack[this.stack.length-1];O.label=A,O.identifier=he(this.sliceSerialize(x)).toLowerCase()}function E(){const x=this.resume(),A=this.stack[this.stack.length-1];A.title=x}function L(){const x=this.resume(),A=this.stack[this.stack.length-1];A.url=x}function F(x){const A=this.stack[this.stack.length-1];if(!A.depth){const O=this.sliceSerialize(x).length;A.depth=O}}function b(){this.data.setextHeadingSlurpLineEnding=!0}function N(x){const A=this.stack[this.stack.length-1];A.depth=this.sliceSerialize(x).codePointAt(0)===61?1:2}function H(){this.data.setextHeadingSlurpLineEnding=void 0}function B(x){const O=this.stack[this.stack.length-1].children;let q=O[O.length-1];(!q||q.type!=="text")&&(q=ff(),q.position={start:Ee(x.start),end:void 0},O.push(q)),this.stack.push(q)}function k(x){const A=this.stack.pop();A.value+=this.sliceSerialize(x),A.position.end=Ee(x.end)}function P(x){const A=this.stack[this.stack.length-1];if(this.data.atHardBreak){const O=A.children[A.children.length-1];O.position.end=Ee(x.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(A.type)&&(B.call(this,x),k.call(this,x))}function _(){this.data.atHardBreak=!0}function $(){const x=this.resume(),A=this.stack[this.stack.length-1];A.value=x}function R(){const x=this.resume(),A=this.stack[this.stack.length-1];A.value=x}function v(){const x=this.resume(),A=this.stack[this.stack.length-1];A.value=x}function V(){const x=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";x.type+="Reference",x.referenceType=A,delete x.url,delete x.title}else delete x.identifier,delete x.label;this.data.referenceType=void 0}function J(){const x=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";x.type+="Reference",x.referenceType=A,delete x.url,delete x.title}else delete x.identifier,delete x.label;this.data.referenceType=void 0}function oe(x){const A=this.sliceSerialize(x),O=this.stack[this.stack.length-2];O.label=aa(A),O.identifier=he(A).toLowerCase()}function fe(){const x=this.stack[this.stack.length-1],A=this.resume(),O=this.stack[this.stack.length-1];if(this.data.inReference=!0,O.type==="link"){const q=x.children;O.children=q}else O.alt=A}function d(){const x=this.resume(),A=this.stack[this.stack.length-1];A.url=x}function w(){const x=this.resume(),A=this.stack[this.stack.length-1];A.title=x}function z(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function W(x){const A=this.resume(),O=this.stack[this.stack.length-1];O.label=A,O.identifier=he(this.sliceSerialize(x)).toLowerCase(),this.data.referenceType="full"}function pe(x){this.data.characterReferenceType=x.type}function K(x){const A=this.sliceSerialize(x),O=this.data.characterReferenceType;let q;O?(q=Yt(A,O==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):q=On(A);const X=this.stack[this.stack.length-1];X.value+=q}function Q(x){const A=this.stack.pop();A.position.end=Ee(x.end)}function re(x){k.call(this,x);const A=this.stack[this.stack.length-1];A.url=this.sliceSerialize(x)}function ke(x){k.call(this,x);const A=this.stack[this.stack.length-1];A.url="mailto:"+this.sliceSerialize(x)}function Ie(){return{type:"blockquote",children:[]}}function bn(){return{type:"code",lang:null,meta:null,value:""}}function rf(){return{type:"inlineCode",value:""}}function lf(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function of(){return{type:"emphasis",children:[]}}function ki(){return{type:"heading",depth:0,children:[]}}function xi(){return{type:"break"}}function bi(){return{type:"html",value:""}}function af(){return{type:"image",title:null,url:"",alt:null}}function wi(){return{type:"link",title:null,url:"",children:[]}}function Si(x){return{type:"list",ordered:x.type==="listOrdered",start:null,spread:x._spread,children:[]}}function uf(x){return{type:"listItem",spread:x._spread,checked:null,children:[]}}function sf(){return{type:"paragraph",children:[]}}function cf(){return{type:"strong",children:[]}}function ff(){return{type:"text",value:""}}function pf(){return{type:"thematicBreak"}}}function Ee(e){return{line:e.line,column:e.column,offset:e.offset}}function fr(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?fr(e,r):fa(e,r)}}function fa(e,t){let n;for(n in t)if(cr.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function pr(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+We({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+We({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+We({start:t.start,end:t.end})+") is still open")}function pa(e){const t=this;t.parser=n;function n(r){return sa(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function ha(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function ma(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
16
+ `}]}function da(e,t){const n=t.value?t.value+`
17
+ `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function ga(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ya(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ka(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Oe(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let l,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,a+=1,e.footnoteCounts.set(r,a);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)}function xa(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ba(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function hr(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function wa(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hr(e,t);const i={src:Oe(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function Sa(e,t){const n={src:Oe(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Ca(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Ea(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hr(e,t);const i={href:Oe(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function Ta(e,t){const n={href:Oe(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Ia(e,t,n){const r=e.all(t),i=n?Aa(n):mr(t),o={},l=[];if(typeof t.checked=="boolean"){const f=r[0];let c;f&&f.type==="element"&&f.tagName==="p"?c=f:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const f=r[a];(i||a!==0||f.type!=="element"||f.tagName!=="p")&&l.push({type:"text",value:`
18
+ `}),f.type==="element"&&f.tagName==="p"&&!i?l.push(...f.children):l.push(f)}const s=r[r.length-1];s&&(i||s.type!=="element"||s.tagName!=="p")&&l.push({type:"text",value:`
19
+ `});const u={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,u),e.applyData(t,u)}function Aa(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=mr(n[r])}return t}function mr(e){const t=e.spread;return t??e.children.length>1}function va(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function Pa(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _a(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ra(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Da(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=Pn(t.children[1]),s=zt(t.children[t.children.length-1]);a&&s&&(l.position={start:a,end:s}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function za(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let s=-1;const u=[];for(;++s<a;){const c=t.children[s],h={},p=l?l[s]:void 0;p&&(h.align=p);let g={type:"element",tagName:o,properties:h,children:[]};c&&(g.children=e.all(c),e.patch(c,g),g=e.applyData(c,g)),u.push(g)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,f),e.applyData(t,f)}function La(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const dr=9,gr=32;function Fa(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(yr(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(yr(t.slice(i),i>0,!1)),o.join("")}function yr(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===dr||o===gr;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===dr||o===gr;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Oa(e,t){const n={type:"text",value:Fa(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Ma(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Na={blockquote:ha,break:ma,code:da,delete:ga,emphasis:ya,footnoteReference:ka,heading:xa,html:ba,imageReference:wa,image:Sa,inlineCode:Ca,linkReference:Ea,link:Ta,listItem:Ia,list:va,paragraph:Pa,root:_a,strong:Ra,table:Da,tableCell:La,tableRow:za,text:Oa,thematicBreak:Ma,toml:fn,yaml:fn,definition:fn,footnoteDefinition:fn};function fn(){}const kr=-1,pn=0,Je=1,hn=2,Un=3,Hn=4,$n=5,Vn=6,xr=7,br=8,wr=typeof self=="object"?self:globalThis,ja=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case pn:case kr:return n(l,i);case Je:{const a=n([],i);for(const s of l)a.push(r(s));return a}case hn:{const a=n({},i);for(const[s,u]of l)a[r(s)]=r(u);return a}case Un:return n(new Date(l),i);case Hn:{const{source:a,flags:s}=l;return n(new RegExp(a,s),i)}case $n:{const a=n(new Map,i);for(const[s,u]of l)a.set(r(s),r(u));return a}case Vn:{const a=n(new Set,i);for(const s of l)a.add(r(s));return a}case xr:{const{name:a,message:s}=l;return n(new wr[a](s),i)}case br:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:a}=new Uint8Array(l);return n(new DataView(a),l)}}return n(new wr[o](l),i)};return r},Sr=e=>ja(new Map,e)(0),Ne="",{toString:Ba}={},{keys:qa}=Object,Ke=e=>{const t=typeof e;if(t!=="object"||!e)return[pn,t];const n=Ba.call(e).slice(8,-1);switch(n){case"Array":return[Je,Ne];case"Object":return[hn,Ne];case"Date":return[Un,Ne];case"RegExp":return[Hn,Ne];case"Map":return[$n,Ne];case"Set":return[Vn,Ne];case"DataView":return[Je,n]}return n.includes("Array")?[Je,n]:n.includes("Error")?[xr,n]:[hn,n]},mn=([e,t])=>e===pn&&(t==="function"||t==="symbol"),Ua=(e,t,n,r)=>{const i=(l,a)=>{const s=r.push(l)-1;return n.set(a,s),s},o=l=>{if(n.has(l))return n.get(l);let[a,s]=Ke(l);switch(a){case pn:{let f=l;switch(s){case"bigint":a=br,f=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);f=null;break;case"undefined":return i([kr],l)}return i([a,f],l)}case Je:{if(s){let h=l;return s==="DataView"?h=new Uint8Array(l.buffer):s==="ArrayBuffer"&&(h=new Uint8Array(l)),i([s,[...h]],l)}const f=[],c=i([a,f],l);for(const h of l)f.push(o(h));return c}case hn:{if(s)switch(s){case"BigInt":return i([s,l.toString()],l);case"Boolean":case"Number":case"String":return i([s,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());const f=[],c=i([a,f],l);for(const h of qa(l))(e||!mn(Ke(l[h])))&&f.push([o(h),o(l[h])]);return c}case Un:return i([a,l.toISOString()],l);case Hn:{const{source:f,flags:c}=l;return i([a,{source:f,flags:c}],l)}case $n:{const f=[],c=i([a,f],l);for(const[h,p]of l)(e||!(mn(Ke(h))||mn(Ke(p))))&&f.push([o(h),o(p)]);return c}case Vn:{const f=[],c=i([a,f],l);for(const h of l)(e||!mn(Ke(h)))&&f.push(o(h));return c}}const{message:u}=l;return i([a,{name:s,message:u}],l)};return o},Cr=(e,{json:t,lossy:n}={})=>{const r=[];return Ua(!(t||n),!!t,new Map,r)(e),r},Ze=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Sr(Cr(e,t)):structuredClone(e):(e,t)=>Sr(Cr(e,t));function Ha(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function $a(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Va(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Ha,r=e.options.footnoteBackLabel||$a,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let s=-1;for(;++s<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[s]);if(!u)continue;const f=e.all(u),c=String(u.identifier).toUpperCase(),h=Oe(c.toLowerCase());let p=0;const g=[],S=e.footnoteCounts.get(c);for(;S!==void 0&&++p<=S;){g.length>0&&g.push({type:"text",value:" "});let I=typeof n=="string"?n:n(s,p);typeof I=="string"&&(I={type:"text",value:I}),g.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,p),className:["data-footnote-backref"]},children:Array.isArray(I)?I:[I]})}const C=f[f.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const I=C.children[C.children.length-1];I&&I.type==="text"?I.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...g)}else f.push(...g);const y={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(f,!0)};e.patch(u,y),a.push(y)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Ze(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
28
20
  `},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
29
- `}]}}const Mn=(function(e){if(e==null)return Ru;if(typeof e=="function")return Nn(e);if(typeof e=="object")return Array.isArray(e)?Iu(e):Au(e);if(typeof e=="string")return Pu(e);throw new Error("Expected function, string, or object as test")});function Iu(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Mn(e[n]);return Nn(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function Au(e){const t=e;return Nn(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function Pu(e){return Nn(t);function t(n){return n&&n.type===e}}function Nn(e){return t;function t(n,r,i){return!!(_u(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function Ru(){return!0}function _u(e){return e!==null&&typeof e=="object"&&"type"in e}function op(e){return e}const ri=[],Du=!0,yt=!1,Ou="skip";function ii(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=Mn(i),l=r?-1:1;a(e,void 0,[])();function a(u,s,f){const c=u&&typeof u=="object"?u:{};if(typeof c.type=="string"){const p=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(u.type+(p?"<"+p+">":""))+")"})}return h;function h(){let p=ri,y,S,C;if((!t||o(u,s,f[f.length-1]||void 0))&&(p=Fu(n(u,f)),p[0]===yt))return p;if("children"in u&&u.children){const k=u;if(k.children&&p[0]!==Ou)for(S=(r?k.children.length:-1)+l,C=f.concat(k);S>-1&&S<k.children.length;){const E=k.children[S];if(y=a(E,S,C)(),y[0]===yt)return y;S=typeof y[1]=="number"?y[1]:S+l}}return p}}}function Fu(e){return Array.isArray(e)?e:typeof e=="number"?[Du,e]:e==null?ri:[e]}function kt(e,t,n,r){let i,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,i=n):(o=t,l=n,i=r),ii(e,o,a,i);function a(u,s){const f=s[s.length-1],c=f?f.children.indexOf(u):void 0;return l(u,c,f)}}const xt={}.hasOwnProperty,Lu={};function zu(e,t){const n=t||Lu,r=new Map,i=new Map,o=new Map,l={...xu,...n.handlers},a={all:s,applyData:Nu,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:u,options:n,patch:Mu,wrap:Bu};return kt(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const c=f.type==="definition"?r:i,h=String(f.identifier).toUpperCase();c.has(h)||c.set(h,f)}}),a;function u(f,c){const h=f.type,p=a.handlers[h];if(xt.call(a.handlers,h)&&p)return p(a,f,c);if(a.options.passThrough&&a.options.passThrough.includes(h)){if("children"in f){const{children:S,...C}=f,k=Sn(C);return k.children=a.all(f),k}return Sn(f)}return(a.options.unknownHandler||ju)(a,f,c)}function s(f){const c=[];if("children"in f){const h=f.children;let p=-1;for(;++p<h.length;){const y=a.one(h[p],f);if(y){if(p&&h[p-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=li(y.value)),!Array.isArray(y)&&y.type==="element")){const S=y.children[0];S&&S.type==="text"&&(S.value=li(S.value))}Array.isArray(y)?c.push(...y):c.push(y)}}}return c}}function Mu(e,t){e.position&&(t.position=mr(e))}function Nu(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,Sn(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function ju(e,t){const n=t.data||{},r="value"in t&&!(xt.call(n,"hProperties")||xt.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Bu(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
21
+ `}]}}const dn=(function(e){if(e==null)return Ga;if(typeof e=="function")return gn(e);if(typeof e=="object")return Array.isArray(e)?Wa(e):Ya(e);if(typeof e=="string")return Xa(e);throw new Error("Expected function, string, or object as test")});function Wa(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=dn(e[n]);return gn(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function Ya(e){const t=e;return gn(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function Xa(e){return gn(t);function t(n){return n&&n.type===e}}function gn(e){return t;function t(n,r,i){return!!(Qa(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function Ga(){return!0}function Qa(e){return e!==null&&typeof e=="object"&&"type"in e}function Ef(e){return e}const Er=[],Ja=!0,Wn=!1,Ka="skip";function Tr(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=dn(i),l=r?-1:1;a(e,void 0,[])();function a(s,u,f){const c=s&&typeof s=="object"?s:{};if(typeof c.type=="string"){const p=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(s.type+(p?"<"+p+">":""))+")"})}return h;function h(){let p=Er,g,S,C;if((!t||o(s,u,f[f.length-1]||void 0))&&(p=Za(n(s,f)),p[0]===Wn))return p;if("children"in s&&s.children){const y=s;if(y.children&&p[0]!==Ka)for(S=(r?y.children.length:-1)+l,C=f.concat(y);S>-1&&S<y.children.length;){const I=y.children[S];if(g=a(I,S,C)(),g[0]===Wn)return g;S=typeof g[1]=="number"?g[1]:S+l}}return p}}}function Za(e){return Array.isArray(e)?e:typeof e=="number"?[Ja,e]:e==null?Er:[e]}function Yn(e,t,n,r){let i,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,i=n):(o=t,l=n,i=r),Tr(e,o,a,i);function a(s,u){const f=u[u.length-1],c=f?f.children.indexOf(s):void 0;return l(s,c,f)}}const Xn={}.hasOwnProperty,eu={};function nu(e,t){const n=t||eu,r=new Map,i=new Map,o=new Map,l={...Na,...n.handlers},a={all:u,applyData:ru,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:s,options:n,patch:tu,wrap:lu};return Yn(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const c=f.type==="definition"?r:i,h=String(f.identifier).toUpperCase();c.has(h)||c.set(h,f)}}),a;function s(f,c){const h=f.type,p=a.handlers[h];if(Xn.call(a.handlers,h)&&p)return p(a,f,c);if(a.options.passThrough&&a.options.passThrough.includes(h)){if("children"in f){const{children:S,...C}=f,y=Ze(C);return y.children=a.all(f),y}return Ze(f)}return(a.options.unknownHandler||iu)(a,f,c)}function u(f){const c=[];if("children"in f){const h=f.children;let p=-1;for(;++p<h.length;){const g=a.one(h[p],f);if(g){if(p&&h[p-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=Ir(g.value)),!Array.isArray(g)&&g.type==="element")){const S=g.children[0];S&&S.type==="text"&&(S.value=Ir(S.value))}Array.isArray(g)?c.push(...g):c.push(g)}}}return c}}function tu(e,t){e.position&&(t.position=Ft(e))}function ru(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,Ze(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function iu(e,t){const n=t.data||{},r="value"in t&&!(Xn.call(n,"hProperties")||Xn.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function lu(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
30
22
  `});++r<e.length;)r&&n.push({type:"text",value:`
31
23
  `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
32
- `}),n}function li(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function oi(e,t){const n=zu(e,t),r=n.one(e,void 0),i=Tu(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
33
- `},i),o}function Uu(e,t){return e&&"run"in e?async function(n,r){const i=oi(n,{file:r,...t});await e.run(i,r)}:function(n,r){return oi(n,{file:r,...e||t})}}function ai(e){if(e)throw e}var bt,ui;function $u(){if(ui)return bt;ui=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(s){return typeof Array.isArray=="function"?Array.isArray(s):t.call(s)==="[object Array]"},o=function(s){if(!s||t.call(s)!=="[object Object]")return!1;var f=e.call(s,"constructor"),c=s.constructor&&s.constructor.prototype&&e.call(s.constructor.prototype,"isPrototypeOf");if(s.constructor&&!f&&!c)return!1;var h;for(h in s);return typeof h>"u"||e.call(s,h)},l=function(s,f){n&&f.name==="__proto__"?n(s,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):s[f.name]=f.newValue},a=function(s,f){if(f==="__proto__")if(e.call(s,f)){if(r)return r(s,f).value}else return;return s[f]};return bt=function u(){var s,f,c,h,p,y,S=arguments[0],C=1,k=arguments.length,E=!1;for(typeof S=="boolean"&&(E=S,S=arguments[1]||{},C=2),(S==null||typeof S!="object"&&typeof S!="function")&&(S={});C<k;++C)if(s=arguments[C],s!=null)for(f in s)c=a(S,f),h=a(s,f),S!==h&&(E&&h&&(o(h)||(p=i(h)))?(p?(p=!1,y=c&&i(c)?c:[]):y=c&&o(c)?c:{},l(S,{name:f,newValue:u(E,y,h)})):typeof h<"u"&&l(S,{name:f,newValue:h}));return S},bt}var qu=$u();const wt=Yt(qu);function St(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Hu(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...i);function a(u,...s){const f=e[++o];let c=-1;if(u){l(u);return}for(;++c<i.length;)(s[c]===null||s[c]===void 0)&&(s[c]=i[c]);i=s,f?Vu(f,a)(...s):l(null,...s)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Vu(e,t){let n;return r;function r(...l){const a=e.length>l.length;let u;a&&l.push(i);try{u=e.apply(this,l)}catch(s){const f=s;if(a&&n)throw f;return i(f)}a||(u&&u.then&&typeof u.then=="function"?u.then(o,i):u instanceof Error?i(u):o(u))}function i(l,...a){n||(n=!0,t(l,...a))}function o(l){i(null,l)}}const Re={basename:Wu,dirname:Yu,extname:Xu,join:Gu,sep:"/"};function Wu(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Cn(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function Yu(e){if(Cn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Xu(e){Cn(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const a=e.codePointAt(t);if(a===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Gu(...e){let t=-1,n;for(;++t<e.length;)Cn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Ju(n)}function Ju(e){Cn(e);const t=e.codePointAt(0)===47;let n=Ku(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Ku(e,t){let n="",r=0,i=-1,o=0,l=-1,a,u;for(;++l<=e.length;){if(l<e.length)a=e.codePointAt(l);else{if(a===47)break;a=47}if(a===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function Cn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Qu={cwd:Zu};function Zu(){return"/"}function Ct(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function es(e){if(typeof e=="string")e=new URL(e);else if(!Ct(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return ns(e)}function ns(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Et=["history","path","basename","stem","extname","dirname"];class si{constructor(t){let n;t?Ct(t)?n={path:t}:typeof t=="string"||ts(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Qu.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Et.length;){const o=Et[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Et.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Re.basename(this.path):void 0}set basename(t){Tt(t,"basename"),vt(t,"basename"),this.path=Re.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Re.dirname(this.path):void 0}set dirname(t){ci(this.basename,"dirname"),this.path=Re.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Re.extname(this.path):void 0}set extname(t){if(vt(t,"extname"),ci(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Re.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Ct(t)&&(t=es(t)),Tt(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Re.basename(this.path,this.extname):void 0}set stem(t){Tt(t,"stem"),vt(t,"stem"),this.path=Re.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new oe(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function vt(e,t){if(e&&e.includes(Re.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Re.sep+"`")}function Tt(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ci(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function ts(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const rs=(function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o}),is={}.hasOwnProperty;class It extends rs{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Hu()}copy(){const t=new It;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(wt(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Rt("data",this.frozen),this.namespace[t]=n,this):is.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Rt("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=jn(t),r=this.parser||this.Parser;return At("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),At("process",this.parser||this.Parser),Pt("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,l){const a=jn(t),u=r.parse(a);r.run(u,a,function(f,c,h){if(f||!c||!h)return s(f);const p=c,y=r.stringify(p,h);as(y)?h.value=y:h.result=y,s(f,h)});function s(f,c){f||!c?l(f):o?o(c):n(void 0,c)}}}processSync(t){let n=!1,r;return this.freeze(),At("processSync",this.parser||this.Parser),Pt("processSync",this.compiler||this.Compiler),this.process(t,i),pi("processSync","process",n),r;function i(o,l){n=!0,ai(o),r=l}}run(t,n,r){fi(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(l,a){const u=jn(n);i.run(t,u,s);function s(f,c,h){const p=c||t;f?a(f):l?l(p):r(void 0,p,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),pi("runSync","run",r),i;function o(l,a){ai(l),i=a,r=!0}}stringify(t,n){this.freeze();const r=jn(n),i=this.compiler||this.Compiler;return Pt("stringify",i),fi(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Rt("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(s){if(typeof s=="function")u(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[f,...c]=s;u(f,c)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(s.plugins),s.settings&&(i.settings=wt(!0,i.settings,s.settings))}function a(s){let f=-1;if(s!=null)if(Array.isArray(s))for(;++f<s.length;){const c=s[f];o(c)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function u(s,f){let c=-1,h=-1;for(;++c<r.length;)if(r[c][0]===s){h=c;break}if(h===-1)r.push([s,...f]);else if(f.length>0){let[p,...y]=f;const S=r[h][1];St(S)&&St(p)&&(p=wt(!0,S,p)),r[h]=[s,p,...y]}}}}const ls=new It().freeze();function At(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Pt(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Rt(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function fi(e){if(!St(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function pi(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function jn(e){return os(e)?e:new si(e)}function os(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function as(e){return typeof e=="string"||us(e)}function us(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ss="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",hi=[],mi={allowDangerousHtml:!0},cs=/^(https?|ircs?|mailto|xmpp)$/i,fs=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ps(e){const t=hs(e),n=ms(e);return ds(t.runSync(t.parse(n),n),e)}function hs(e){const t=e.rehypePlugins||hi,n=e.remarkPlugins||hi,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...mi}:mi;return ls().use(Ya).use(n).use(Uu,r).use(t)}function ms(e){const t=e.children||"",n=new si;return typeof t=="string"&&(n.value=t),n}function ds(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,a=t.unwrapDisallowed,u=t.urlTransform||gs;for(const f of fs)Object.hasOwn(t,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+ss+f.id,void 0);return kt(e,s),Nl(e,{Fragment:Ne.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Ne.jsx,jsxs:Ne.jsxs,passKeys:!0,passNode:!0});function s(f,c,h){if(f.type==="raw"&&h&&typeof c=="number")return l?h.children.splice(c,1):h.children[c]={type:"text",value:f.value},c;if(f.type==="element"){let p;for(p in lt)if(Object.hasOwn(lt,p)&&Object.hasOwn(f.properties,p)){const y=f.properties[p],S=lt[p];(S===null||S.includes(f.tagName))&&(f.properties[p]=u(String(y||""),p,f))}}if(f.type==="element"){let p=n?!n.includes(f.tagName):o?o.includes(f.tagName):!1;if(!p&&r&&typeof c=="number"&&(p=!r(f,c,h)),p&&h&&typeof c=="number")return a&&f.children?h.children.splice(c,1,...f.children):h.children.splice(c,1),c}}}function gs(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||cs.test(e.slice(0,t))?e:""}function di(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function ys(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ks(e,t,n){const i=Mn((n||{}).ignore||[]),o=xs(t);let l=-1;for(;++l<o.length;)ii(e,"text",a);function a(s,f){let c=-1,h;for(;++c<f.length;){const p=f[c],y=h?h.children:void 0;if(i(p,y?y.indexOf(p):void 0,h))return;h=p}if(h)return u(s,f)}function u(s,f){const c=f[f.length-1],h=o[l][0],p=o[l][1];let y=0;const C=c.children.indexOf(s);let k=!1,E=[];h.lastIndex=0;let T=h.exec(s.value);for(;T;){const M=T.index,N={index:T.index,input:T.input,stack:[...f,s]};let w=p(...T,N);if(typeof w=="string"&&(w=w.length>0?{type:"text",value:w}:void 0),w===!1?h.lastIndex=M+1:(y!==M&&E.push({type:"text",value:s.value.slice(y,M)}),Array.isArray(w)?E.push(...w):w&&E.push(w),y=M+T[0].length,k=!0),!h.global)break;T=h.exec(s.value)}return k?(y<s.value.length&&E.push({type:"text",value:s.value.slice(y)}),c.children.splice(C,1,...E)):E=[s],C+E.length}}function xs(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([bs(i[0]),ws(i[1])])}return t}function bs(e){return typeof e=="string"?new RegExp(ys(e),"g"):e}function ws(e){return typeof e=="function"?e:function(){return e}}const _t="phrasing",Dt=["autolink","link","image","label"];function Ss(){return{transforms:[Ps],enter:{literalAutolink:Es,literalAutolinkEmail:Ot,literalAutolinkHttp:Ot,literalAutolinkWww:Ot},exit:{literalAutolink:As,literalAutolinkEmail:Is,literalAutolinkHttp:vs,literalAutolinkWww:Ts}}}function Cs(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:_t,notInConstruct:Dt},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:_t,notInConstruct:Dt},{character:":",before:"[ps]",after:"\\/",inConstruct:_t,notInConstruct:Dt}]}}function Es(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ot(e){this.config.enter.autolinkProtocol.call(this,e)}function vs(e){this.config.exit.autolinkProtocol.call(this,e)}function Ts(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Is(e){this.config.exit.autolinkEmail.call(this,e)}function As(e){this.exit(e)}function Ps(e){ks(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Rs],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),_s]],{ignore:["link","linkReference"]})}function Rs(e,t,n,r,i){let o="";if(!gi(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!Ds(n)))return!1;const l=Os(n+r);if(!l[0])return!1;const a={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[a,{type:"text",value:l[1]}]:a}function _s(e,t,n,r){return!gi(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Ds(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Os(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=di(e,"(");let o=di(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function gi(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ve(n)||Rn(n))&&(!t||n!==47)}yi.peek=$s;function Fs(){this.buffer()}function Ls(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function zs(){this.buffer()}function Ms(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ns(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Te(this.sliceSerialize(e)).toLowerCase(),n.label=t}function js(e){this.exit(e)}function Bs(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Te(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Us(e){this.exit(e)}function $s(){return"["}function yi(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),l(),o+=i.move("]"),o}function qs(){return{enter:{gfmFootnoteCallString:Fs,gfmFootnoteCall:Ls,gfmFootnoteDefinitionLabelString:zs,gfmFootnoteDefinition:Ms},exit:{gfmFootnoteCallString:Ns,gfmFootnoteCall:js,gfmFootnoteDefinitionLabelString:Bs,gfmFootnoteDefinition:Us}}}function Hs(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:yi},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,l){const a=o.createTracker(l);let u=a.move("[^");const s=o.enter("footnoteDefinition"),f=o.enter("label");return u+=a.move(o.safe(o.associationId(r),{before:u,after:"]"})),f(),u+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),u+=a.move((t?`
34
- `:" ")+o.indentLines(o.containerFlow(r,a.current()),t?ki:Vs))),s(),u}}function Vs(e,t,n){return t===0?e:ki(e,t,n)}function ki(e,t,n){return(n?"":" ")+e}const Ws=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];xi.peek=Ks;function Ys(){return{canContainEols:["delete"],enter:{strikethrough:Gs},exit:{strikethrough:Js}}}function Xs(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ws}],handlers:{delete:xi}}}function Gs(e){this.enter({type:"delete",children:[]},e)}function Js(e){this.exit(e)}function xi(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function Ks(){return"~"}function Qs(e){return e.length}function Zs(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Qs,o=[],l=[],a=[],u=[];let s=0,f=-1;for(;++f<e.length;){const S=[],C=[];let k=-1;for(e[f].length>s&&(s=e[f].length);++k<e[f].length;){const E=ec(e[f][k]);if(n.alignDelimiters!==!1){const T=i(E);C[k]=T,(u[k]===void 0||T>u[k])&&(u[k]=T)}S.push(E)}l[f]=S,a[f]=C}let c=-1;if(typeof r=="object"&&"length"in r)for(;++c<s;)o[c]=bi(r[c]);else{const S=bi(r);for(;++c<s;)o[c]=S}c=-1;const h=[],p=[];for(;++c<s;){const S=o[c];let C="",k="";S===99?(C=":",k=":"):S===108?C=":":S===114&&(k=":");let E=n.alignDelimiters===!1?1:Math.max(1,u[c]-C.length-k.length);const T=C+"-".repeat(E)+k;n.alignDelimiters!==!1&&(E=C.length+E+k.length,E>u[c]&&(u[c]=E),p[c]=E),h[c]=T}l.splice(1,0,h),a.splice(1,0,p),f=-1;const y=[];for(;++f<l.length;){const S=l[f],C=a[f];c=-1;const k=[];for(;++c<s;){const E=S[c]||"";let T="",M="";if(n.alignDelimiters!==!1){const N=u[c]-(C[c]||0),w=o[c];w===114?T=" ".repeat(N):w===99?N%2?(T=" ".repeat(N/2+.5),M=" ".repeat(N/2-.5)):(T=" ".repeat(N/2),M=T):M=" ".repeat(N)}n.delimiterStart!==!1&&!c&&k.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&E==="")&&(n.delimiterStart!==!1||c)&&k.push(" "),n.alignDelimiters!==!1&&k.push(T),k.push(E),n.alignDelimiters!==!1&&k.push(M),n.padding!==!1&&k.push(" "),(n.delimiterEnd!==!1||c!==s-1)&&k.push("|")}y.push(n.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return y.join(`
35
- `)}function ec(e){return e==null?"":String(e)}function bi(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function nc(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),tc);return i(),l}function tc(e,t,n){return">"+(n?"":" ")+e}function rc(e,t){return wi(e,t.inConstruct,!0)&&!wi(e,t.notInConstruct,!1)}function wi(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Si(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
36
- `&&rc(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
37
- `}function ic(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function lc(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function oc(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function ac(e,t,n,r){const i=oc(n),o=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(lc(e,n)){const c=n.enter("codeIndented"),h=n.indentLines(o,uc);return c(),h}const a=n.createTracker(r),u=i.repeat(Math.max(ic(o,i)+1,3)),s=n.enter("codeFenced");let f=a.move(u);if(e.lang){const c=n.enter(`codeFencedLang${l}`);f+=a.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...a.current()})),c()}if(e.lang&&e.meta){const c=n.enter(`codeFencedMeta${l}`);f+=a.move(" "),f+=a.move(n.safe(e.meta,{before:f,after:`
24
+ `}),n}function Ir(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Ar(e,t){const n=nu(e,t),r=n.one(e,void 0),i=Va(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
25
+ `},i),o}function ou(e,t){return e&&"run"in e?async function(n,r){const i=Ar(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Ar(n,{file:r,...e||t})}}function vr(e){if(e)throw e}var Gn,Pr;function au(){if(Pr)return Gn;Pr=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(u){return typeof Array.isArray=="function"?Array.isArray(u):t.call(u)==="[object Array]"},o=function(u){if(!u||t.call(u)!=="[object Object]")return!1;var f=e.call(u,"constructor"),c=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!f&&!c)return!1;var h;for(h in u);return typeof h>"u"||e.call(u,h)},l=function(u,f){n&&f.name==="__proto__"?n(u,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):u[f.name]=f.newValue},a=function(u,f){if(f==="__proto__")if(e.call(u,f)){if(r)return r(u,f).value}else return;return u[f]};return Gn=function s(){var u,f,c,h,p,g,S=arguments[0],C=1,y=arguments.length,I=!1;for(typeof S=="boolean"&&(I=S,S=arguments[1]||{},C=2),(S==null||typeof S!="object"&&typeof S!="function")&&(S={});C<y;++C)if(u=arguments[C],u!=null)for(f in u)c=a(S,f),h=a(u,f),S!==h&&(I&&h&&(o(h)||(p=i(h)))?(p?(p=!1,g=c&&i(c)?c:[]):g=c&&o(c)?c:{},l(S,{name:f,newValue:s(I,g,h)})):typeof h<"u"&&l(S,{name:f,newValue:h}));return S},Gn}var uu=au();const Qn=mt(uu);function Jn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function su(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...i);function a(s,...u){const f=e[++o];let c=-1;if(s){l(s);return}for(;++c<i.length;)(u[c]===null||u[c]===void 0)&&(u[c]=i[c]);i=u,f?cu(f,a)(...u):l(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function cu(e,t){let n;return r;function r(...l){const a=e.length>l.length;let s;a&&l.push(i);try{s=e.apply(this,l)}catch(u){const f=u;if(a&&n)throw f;return i(f)}a||(s&&s.then&&typeof s.then=="function"?s.then(o,i):s instanceof Error?i(s):o(s))}function i(l,...a){n||(n=!0,t(l,...a))}function o(l){i(null,l)}}const ge={basename:fu,dirname:pu,extname:hu,join:mu,sep:"/"};function fu(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');en(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function pu(e){if(en(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function hu(e){en(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const a=e.codePointAt(t);if(a===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function mu(...e){let t=-1,n;for(;++t<e.length;)en(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":du(n)}function du(e){en(e);const t=e.codePointAt(0)===47;let n=gu(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function gu(e,t){let n="",r=0,i=-1,o=0,l=-1,a,s;for(;++l<=e.length;){if(l<e.length)a=e.codePointAt(l);else{if(a===47)break;a=47}if(a===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function en(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const yu={cwd:ku};function ku(){return"/"}function Kn(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function xu(e){if(typeof e=="string")e=new URL(e);else if(!Kn(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return bu(e)}function bu(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Zn=["history","path","basename","stem","extname","dirname"];class _r{constructor(t){let n;t?Kn(t)?n={path:t}:typeof t=="string"||wu(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":yu.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Zn.length;){const o=Zn[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Zn.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?ge.basename(this.path):void 0}set basename(t){nt(t,"basename"),et(t,"basename"),this.path=ge.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ge.dirname(this.path):void 0}set dirname(t){Rr(this.basename,"dirname"),this.path=ge.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ge.extname(this.path):void 0}set extname(t){if(et(t,"extname"),Rr(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ge.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Kn(t)&&(t=xu(t)),nt(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ge.basename(this.path,this.extname):void 0}set stem(t){nt(t,"stem"),et(t,"stem"),this.path=ge.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new ee(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function et(e,t){if(e&&e.includes(ge.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ge.sep+"`")}function nt(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Rr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function wu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Su=(function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o}),Cu={}.hasOwnProperty;class tt extends Su{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=su()}copy(){const t=new tt;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Qn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(lt("data",this.frozen),this.namespace[t]=n,this):Cu.call(this.namespace,t)&&this.namespace[t]||void 0:t?(lt("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=yn(t),r=this.parser||this.Parser;return rt("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),rt("process",this.parser||this.Parser),it("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,l){const a=yn(t),s=r.parse(a);r.run(s,a,function(f,c,h){if(f||!c||!h)return u(f);const p=c,g=r.stringify(p,h);Iu(g)?h.value=g:h.result=g,u(f,h)});function u(f,c){f||!c?l(f):o?o(c):n(void 0,c)}}}processSync(t){let n=!1,r;return this.freeze(),rt("processSync",this.parser||this.Parser),it("processSync",this.compiler||this.Compiler),this.process(t,i),zr("processSync","process",n),r;function i(o,l){n=!0,vr(o),r=l}}run(t,n,r){Dr(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(l,a){const s=yn(n);i.run(t,s,u);function u(f,c,h){const p=c||t;f?a(f):l?l(p):r(void 0,p,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),zr("runSync","run",r),i;function o(l,a){vr(l),i=a,r=!0}}stringify(t,n){this.freeze();const r=yn(n),i=this.compiler||this.Compiler;return it("stringify",i),Dr(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(lt("use",this.frozen),t!=null)if(typeof t=="function")s(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(u){if(typeof u=="function")s(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[f,...c]=u;s(f,c)}else l(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function l(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(u.plugins),u.settings&&(i.settings=Qn(!0,i.settings,u.settings))}function a(u){let f=-1;if(u!=null)if(Array.isArray(u))for(;++f<u.length;){const c=u[f];o(c)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function s(u,f){let c=-1,h=-1;for(;++c<r.length;)if(r[c][0]===u){h=c;break}if(h===-1)r.push([u,...f]);else if(f.length>0){let[p,...g]=f;const S=r[h][1];Jn(S)&&Jn(p)&&(p=Qn(!0,S,p)),r[h]=[u,p,...g]}}}}const Eu=new tt().freeze();function rt(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function it(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function lt(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Dr(e){if(!Jn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function zr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function yn(e){return Tu(e)?e:new _r(e)}function Tu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Iu(e){return typeof e=="string"||Au(e)}function Au(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const vu="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Lr=[],Fr={allowDangerousHtml:!0},Pu=/^(https?|ircs?|mailto|xmpp)$/i,_u=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Ru(e){const t=Du(e),n=zu(e);return Lu(t.runSync(t.parse(n),n),e)}function Du(e){const t=e.rehypePlugins||Lr,n=e.remarkPlugins||Lr,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Fr}:Fr;return Eu().use(pa).use(n).use(ou,r).use(t)}function zu(e){const t=e.children||"",n=new _r;return typeof t=="string"&&(n.value=t),n}function Lu(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,a=t.unwrapDisallowed,s=t.urlTransform||Fu;for(const f of _u)Object.hasOwn(t,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+vu+f.id,void 0);return Yn(e,u),rl(e,{Fragment:Se.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Se.jsx,jsxs:Se.jsxs,passKeys:!0,passNode:!0});function u(f,c,h){if(f.type==="raw"&&h&&typeof c=="number")return l?h.children.splice(c,1):h.children[c]={type:"text",value:f.value},c;if(f.type==="element"){let p;for(p in Ln)if(Object.hasOwn(Ln,p)&&Object.hasOwn(f.properties,p)){const g=f.properties[p],S=Ln[p];(S===null||S.includes(f.tagName))&&(f.properties[p]=s(String(g||""),p,f))}}if(f.type==="element"){let p=n?!n.includes(f.tagName):o?o.includes(f.tagName):!1;if(!p&&r&&typeof c=="number"&&(p=!r(f,c,h)),p&&h&&typeof c=="number")return a&&f.children?h.children.splice(c,1,...f.children):h.children.splice(c,1),c}}}function Fu(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Pu.test(e.slice(0,t))?e:""}function Or(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function Ou(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Mu(e,t,n){const i=dn((n||{}).ignore||[]),o=Nu(t);let l=-1;for(;++l<o.length;)Tr(e,"text",a);function a(u,f){let c=-1,h;for(;++c<f.length;){const p=f[c],g=h?h.children:void 0;if(i(p,g?g.indexOf(p):void 0,h))return;h=p}if(h)return s(u,f)}function s(u,f){const c=f[f.length-1],h=o[l][0],p=o[l][1];let g=0;const C=c.children.indexOf(u);let y=!1,I=[];h.lastIndex=0;let E=h.exec(u.value);for(;E;){const L=E.index,F={index:E.index,input:E.input,stack:[...f,u]};let b=p(...E,F);if(typeof b=="string"&&(b=b.length>0?{type:"text",value:b}:void 0),b===!1?h.lastIndex=L+1:(g!==L&&I.push({type:"text",value:u.value.slice(g,L)}),Array.isArray(b)?I.push(...b):b&&I.push(b),g=L+E[0].length,y=!0),!h.global)break;E=h.exec(u.value)}return y?(g<u.value.length&&I.push({type:"text",value:u.value.slice(g)}),c.children.splice(C,1,...I)):I=[u],C+I.length}}function Nu(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([ju(i[0]),Bu(i[1])])}return t}function ju(e){return typeof e=="string"?new RegExp(Ou(e),"g"):e}function Bu(e){return typeof e=="function"?e:function(){return e}}const ot="phrasing",at=["autolink","link","image","label"];function qu(){return{transforms:[Xu],enter:{literalAutolink:Hu,literalAutolinkEmail:ut,literalAutolinkHttp:ut,literalAutolinkWww:ut},exit:{literalAutolink:Yu,literalAutolinkEmail:Wu,literalAutolinkHttp:$u,literalAutolinkWww:Vu}}}function Uu(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ot,notInConstruct:at},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ot,notInConstruct:at},{character:":",before:"[ps]",after:"\\/",inConstruct:ot,notInConstruct:at}]}}function Hu(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ut(e){this.config.enter.autolinkProtocol.call(this,e)}function $u(e){this.config.exit.autolinkProtocol.call(this,e)}function Vu(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Wu(e){this.config.exit.autolinkEmail.call(this,e)}function Yu(e){this.exit(e)}function Xu(e){Mu(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Gu],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Qu]],{ignore:["link","linkReference"]})}function Gu(e,t,n,r,i){let o="";if(!Mr(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!Ju(n)))return!1;const l=Ku(n+r);if(!l[0])return!1;const a={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[a,{type:"text",value:l[1]}]:a}function Qu(e,t,n,r){return!Mr(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Ju(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Ku(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Or(e,"(");let o=Or(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function Mr(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Pe(n)||un(n))&&(!t||n!==47)}Nr.peek=as;function Zu(){this.buffer()}function es(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ns(){this.buffer()}function ts(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function rs(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=he(this.sliceSerialize(e)).toLowerCase(),n.label=t}function is(e){this.exit(e)}function ls(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=he(this.sliceSerialize(e)).toLowerCase(),n.label=t}function os(e){this.exit(e)}function as(){return"["}function Nr(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),l(),o+=i.move("]"),o}function us(){return{enter:{gfmFootnoteCallString:Zu,gfmFootnoteCall:es,gfmFootnoteDefinitionLabelString:ns,gfmFootnoteDefinition:ts},exit:{gfmFootnoteCallString:rs,gfmFootnoteCall:is,gfmFootnoteDefinitionLabelString:ls,gfmFootnoteDefinition:os}}}function ss(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Nr},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,l){const a=o.createTracker(l);let s=a.move("[^");const u=o.enter("footnoteDefinition"),f=o.enter("label");return s+=a.move(o.safe(o.associationId(r),{before:s,after:"]"})),f(),s+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),s+=a.move((t?`
26
+ `:" ")+o.indentLines(o.containerFlow(r,a.current()),t?jr:cs))),u(),s}}function cs(e,t,n){return t===0?e:jr(e,t,n)}function jr(e,t,n){return(n?"":" ")+e}const fs=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Br.peek=gs;function ps(){return{canContainEols:["delete"],enter:{strikethrough:ms},exit:{strikethrough:ds}}}function hs(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:fs}],handlers:{delete:Br}}}function ms(e){this.enter({type:"delete",children:[]},e)}function ds(e){this.exit(e)}function Br(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function gs(){return"~"}function ys(e){return e.length}function ks(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||ys,o=[],l=[],a=[],s=[];let u=0,f=-1;for(;++f<e.length;){const S=[],C=[];let y=-1;for(e[f].length>u&&(u=e[f].length);++y<e[f].length;){const I=xs(e[f][y]);if(n.alignDelimiters!==!1){const E=i(I);C[y]=E,(s[y]===void 0||E>s[y])&&(s[y]=E)}S.push(I)}l[f]=S,a[f]=C}let c=-1;if(typeof r=="object"&&"length"in r)for(;++c<u;)o[c]=qr(r[c]);else{const S=qr(r);for(;++c<u;)o[c]=S}c=-1;const h=[],p=[];for(;++c<u;){const S=o[c];let C="",y="";S===99?(C=":",y=":"):S===108?C=":":S===114&&(y=":");let I=n.alignDelimiters===!1?1:Math.max(1,s[c]-C.length-y.length);const E=C+"-".repeat(I)+y;n.alignDelimiters!==!1&&(I=C.length+I+y.length,I>s[c]&&(s[c]=I),p[c]=I),h[c]=E}l.splice(1,0,h),a.splice(1,0,p),f=-1;const g=[];for(;++f<l.length;){const S=l[f],C=a[f];c=-1;const y=[];for(;++c<u;){const I=S[c]||"";let E="",L="";if(n.alignDelimiters!==!1){const F=s[c]-(C[c]||0),b=o[c];b===114?E=" ".repeat(F):b===99?F%2?(E=" ".repeat(F/2+.5),L=" ".repeat(F/2-.5)):(E=" ".repeat(F/2),L=E):L=" ".repeat(F)}n.delimiterStart!==!1&&!c&&y.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&I==="")&&(n.delimiterStart!==!1||c)&&y.push(" "),n.alignDelimiters!==!1&&y.push(E),y.push(I),n.alignDelimiters!==!1&&y.push(L),n.padding!==!1&&y.push(" "),(n.delimiterEnd!==!1||c!==u-1)&&y.push("|")}g.push(n.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return g.join(`
27
+ `)}function xs(e){return e==null?"":String(e)}function qr(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function bs(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),ws);return i(),l}function ws(e,t,n){return">"+(n?"":" ")+e}function Ss(e,t){return Ur(e,t.inConstruct,!0)&&!Ur(e,t.notInConstruct,!1)}function Ur(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Hr(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
28
+ `&&Ss(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
29
+ `}function Cs(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function Es(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Ts(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Is(e,t,n,r){const i=Ts(n),o=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(Es(e,n)){const c=n.enter("codeIndented"),h=n.indentLines(o,As);return c(),h}const a=n.createTracker(r),s=i.repeat(Math.max(Cs(o,i)+1,3)),u=n.enter("codeFenced");let f=a.move(s);if(e.lang){const c=n.enter(`codeFencedLang${l}`);f+=a.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...a.current()})),c()}if(e.lang&&e.meta){const c=n.enter(`codeFencedMeta${l}`);f+=a.move(" "),f+=a.move(n.safe(e.meta,{before:f,after:`
38
30
  `,encode:["`"],...a.current()})),c()}return f+=a.move(`
39
31
  `),o&&(f+=a.move(o+`
40
- `)),f+=a.move(u),s(),f}function uc(e,t,n){return(n?"":" ")+e}function Ft(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function sc(e,t,n,r){const i=Ft(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("definition");let a=n.enter("label");const u=n.createTracker(r);let s=u.move("[");return s+=u.move(n.safe(n.associationId(e),{before:s,after:"]",...u.current()})),s+=u.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),s+=u.move("<"),s+=u.move(n.safe(e.url,{before:s,after:">",...u.current()})),s+=u.move(">")):(a=n.enter("destinationRaw"),s+=u.move(n.safe(e.url,{before:s,after:e.title?" ":`
41
- `,...u.current()}))),a(),e.title&&(a=n.enter(`title${o}`),s+=u.move(" "+i),s+=u.move(n.safe(e.title,{before:s,after:i,...u.current()})),s+=u.move(i),a()),l(),s}function cc(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function En(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Bn(e,t,n){const r=rn(e),i=rn(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Ci.peek=fc;function Ci(e,t,n,r){const i=cc(n),o=n.enter("emphasis"),l=n.createTracker(r),a=l.move(i);let u=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()}));const s=u.charCodeAt(0),f=Bn(r.before.charCodeAt(r.before.length-1),s,i);f.inside&&(u=En(s)+u.slice(1));const c=u.charCodeAt(u.length-1),h=Bn(r.after.charCodeAt(0),c,i);h.inside&&(u=u.slice(0,-1)+En(c));const p=l.move(i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},a+u+p}function fc(e,t,n){return n.options.emphasis||"*"}function pc(e,t){let n=!1;return kt(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,yt}),!!((!e.depth||e.depth<3)&&ot(e)&&(t.options.setext||n))}function hc(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(pc(e,n)){const f=n.enter("headingSetext"),c=n.enter("phrasing"),h=n.containerPhrasing(e,{...o.current(),before:`
32
+ `)),f+=a.move(s),u(),f}function As(e,t,n){return(n?"":" ")+e}function st(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function vs(e,t,n,r){const i=st(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("definition");let a=n.enter("label");const s=n.createTracker(r);let u=s.move("[");return u+=s.move(n.safe(n.associationId(e),{before:u,after:"]",...s.current()})),u+=s.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(a=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":`
33
+ `,...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),a()),l(),u}function Ps(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function nn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function kn(e,t,n){const r=Me(e),i=Me(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}$r.peek=_s;function $r(e,t,n,r){const i=Ps(n),o=n.enter("emphasis"),l=n.createTracker(r),a=l.move(i);let s=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()}));const u=s.charCodeAt(0),f=kn(r.before.charCodeAt(r.before.length-1),u,i);f.inside&&(s=nn(u)+s.slice(1));const c=s.charCodeAt(s.length-1),h=kn(r.after.charCodeAt(0),c,i);h.inside&&(s=s.slice(0,-1)+nn(c));const p=l.move(i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},a+s+p}function _s(e,t,n){return n.options.emphasis||"*"}function Rs(e,t){let n=!1;return Yn(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Wn}),!!((!e.depth||e.depth<3)&&Fn(e)&&(t.options.setext||n))}function Ds(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(Rs(e,n)){const f=n.enter("headingSetext"),c=n.enter("phrasing"),h=n.containerPhrasing(e,{...o.current(),before:`
42
34
  `,after:`
43
35
  `});return c(),f(),h+`
44
36
  `+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
45
- `))+1))}const l="#".repeat(i),a=n.enter("headingAtx"),u=n.enter("phrasing");o.move(l+" ");let s=n.containerPhrasing(e,{before:"# ",after:`
46
- `,...o.current()});return/^[\t ]/.test(s)&&(s=En(s.charCodeAt(0))+s.slice(1)),s=s?l+" "+s:l,n.options.closeAtx&&(s+=" "+l),u(),a(),s}Ei.peek=mc;function Ei(e){return e.value||""}function mc(){return"<"}vi.peek=dc;function vi(e,t,n,r){const i=Ft(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("image");let a=n.enter("label");const u=n.createTracker(r);let s=u.move("![");return s+=u.move(n.safe(e.alt,{before:s,after:"]",...u.current()})),s+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),s+=u.move("<"),s+=u.move(n.safe(e.url,{before:s,after:">",...u.current()})),s+=u.move(">")):(a=n.enter("destinationRaw"),s+=u.move(n.safe(e.url,{before:s,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=n.enter(`title${o}`),s+=u.move(" "+i),s+=u.move(n.safe(e.title,{before:s,after:i,...u.current()})),s+=u.move(i),a()),s+=u.move(")"),l(),s}function dc(){return"!"}Ti.peek=gc;function Ti(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let l=n.enter("label");const a=n.createTracker(r);let u=a.move("![");const s=n.safe(e.alt,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!s||s!==c?u+=a.move(c+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}function gc(){return"!"}Ii.peek=yc;function Ii(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const l=n.unsafe[o],a=n.compilePattern(l);let u;if(l.atBreak)for(;u=a.exec(r);){let s=u.index;r.charCodeAt(s)===10&&r.charCodeAt(s-1)===13&&s--,r=r.slice(0,s)+" "+r.slice(u.index+1)}}return i+r+i}function yc(){return"`"}function Ai(e,t){const n=ot(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Pi.peek=kc;function Pi(e,t,n,r){const i=Ft(n),o=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let a,u;if(Ai(e,n)){const f=n.stack;n.stack=[],a=n.enter("autolink");let c=l.move("<");return c+=l.move(n.containerPhrasing(e,{before:c,after:">",...l.current()})),c+=l.move(">"),a(),n.stack=f,c}a=n.enter("link"),u=n.enter("label");let s=l.move("[");return s+=l.move(n.containerPhrasing(e,{before:s,after:"](",...l.current()})),s+=l.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),s+=l.move("<"),s+=l.move(n.safe(e.url,{before:s,after:">",...l.current()})),s+=l.move(">")):(u=n.enter("destinationRaw"),s+=l.move(n.safe(e.url,{before:s,after:e.title?" ":")",...l.current()}))),u(),e.title&&(u=n.enter(`title${o}`),s+=l.move(" "+i),s+=l.move(n.safe(e.title,{before:s,after:i,...l.current()})),s+=l.move(i),u()),s+=l.move(")"),a(),s}function kc(e,t,n){return Ai(e,n)?"<":"["}Ri.peek=xc;function Ri(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let l=n.enter("label");const a=n.createTracker(r);let u=a.move("[");const s=n.containerPhrasing(e,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!s||s!==c?u+=a.move(c+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}function xc(){return"["}function Lt(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function bc(e){const t=Lt(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function wc(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function _i(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Sc(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let l=e.ordered?wc(n):Lt(n);const a=e.ordered?l==="."?")":".":bc(n);let u=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),_i(n)===l&&f){let c=-1;for(;++c<e.children.length;){const h=e.children[c];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(l=a),n.bulletCurrent=l;const s=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),s}function Cc(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Ec(e,t,n,r){const i=Cc(n);let o=n.bulletCurrent||Lt(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const a=n.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);const u=n.enter("listItem"),s=n.indentLines(n.containerFlow(e,a.current()),f);return u(),s;function f(c,h,p){return h?(p?"":" ".repeat(l))+c:(p?o:o+" ".repeat(l-o.length))+c}}function vc(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l}const Tc=Mn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ic(e,t,n,r){return(e.children.some(function(l){return Tc(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Ac(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Di.peek=Pc;function Di(e,t,n,r){const i=Ac(n),o=n.enter("strong"),l=n.createTracker(r),a=l.move(i+i);let u=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()}));const s=u.charCodeAt(0),f=Bn(r.before.charCodeAt(r.before.length-1),s,i);f.inside&&(u=En(s)+u.slice(1));const c=u.charCodeAt(u.length-1),h=Bn(r.after.charCodeAt(0),c,i);h.inside&&(u=u.slice(0,-1)+En(c));const p=l.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},a+u+p}function Pc(e,t,n){return n.options.strong||"*"}function Rc(e,t,n,r){return n.safe(e.value,r)}function _c(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Dc(e,t,n){const r=(_i(n)+(n.options.ruleSpaces?" ":"")).repeat(_c(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Oi={blockquote:nc,break:Si,code:ac,definition:sc,emphasis:Ci,hardBreak:Si,heading:hc,html:Ei,image:vi,imageReference:Ti,inlineCode:Ii,link:Pi,linkReference:Ri,list:Sc,listItem:Ec,paragraph:vc,root:Ic,strong:Di,text:Rc,thematicBreak:Dc};function Oc(){return{enter:{table:Fc,tableData:Fi,tableHeader:Fi,tableRow:zc},exit:{codeText:Mc,table:Lc,tableData:zt,tableHeader:zt,tableRow:zt}}}function Fc(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Lc(e){this.exit(e),this.data.inTable=void 0}function zc(e){this.enter({type:"tableRow",children:[]},e)}function zt(e){this.exit(e)}function Fi(e){this.enter({type:"tableCell",children:[]},e)}function Mc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Nc));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Nc(e,t){return t==="|"?t:e}function jc(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
47
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:l,tableCell:u,tableRow:a}};function l(p,y,S,C){return s(f(p,S,C),p.align)}function a(p,y,S,C){const k=c(p,S,C),E=s([k]);return E.slice(0,E.indexOf(`
48
- `))}function u(p,y,S,C){const k=S.enter("tableCell"),E=S.enter("phrasing"),T=S.containerPhrasing(p,{...C,before:o,after:o});return E(),k(),T}function s(p,y){return Zs(p,{align:y,alignDelimiters:r,padding:n,stringLength:i})}function f(p,y,S){const C=p.children;let k=-1;const E=[],T=y.enter("table");for(;++k<C.length;)E[k]=c(C[k],y,S);return T(),E}function c(p,y,S){const C=p.children;let k=-1;const E=[],T=y.enter("tableRow");for(;++k<C.length;)E[k]=u(C[k],p,y,S);return T(),E}function h(p,y,S){let C=Oi.inlineCode(p,y,S);return S.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function Bc(){return{exit:{taskListCheckValueChecked:Li,taskListCheckValueUnchecked:Li,paragraph:$c}}}function Uc(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:qc}}}function Li(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function $c(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,l;for(;++o<i.length;){const a=i[o];if(a.type==="paragraph"){l=a;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function qc(e,t,n,r){const i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(l);let u=Oi.listItem(e,t,n,{...r,...a.current()});return o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s)),u;function s(f){return f+l}}function Hc(){return[Ss(),qs(),Ys(),Oc(),Bc()]}function Vc(e){return{extensions:[Cs(),Hs(e),Xs(),jc(e),Uc()]}}const Wc={tokenize:Qc,partial:!0},zi={tokenize:Zc,partial:!0},Mi={tokenize:ef,partial:!0},Ni={tokenize:nf,partial:!0},Yc={tokenize:tf,partial:!0},ji={name:"wwwAutolink",tokenize:Jc,previous:Ui},Bi={name:"protocolAutolink",tokenize:Kc,previous:$i},Oe={name:"emailAutolink",tokenize:Gc,previous:qi},_e={};function Xc(){return{text:_e}}let We=48;for(;We<123;)_e[We]=Oe,We++,We===58?We=65:We===91&&(We=97);_e[43]=Oe,_e[45]=Oe,_e[46]=Oe,_e[95]=Oe,_e[72]=[Oe,Bi],_e[104]=[Oe,Bi],_e[87]=[Oe,ji],_e[119]=[Oe,ji];function Gc(e,t,n){const r=this;let i,o;return l;function l(c){return!Mt(c)||!qi.call(r,r.previous)||Nt(r.events)?n(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(c))}function a(c){return Mt(c)?(e.consume(c),a):c===64?(e.consume(c),u):n(c)}function u(c){return c===46?e.check(Yc,f,s)(c):c===45||c===95||ae(c)?(o=!0,e.consume(c),u):f(c)}function s(c){return e.consume(c),i=!0,u}function f(c){return o&&i&&ue(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):n(c)}}function Jc(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!Ui.call(r,r.previous)||Nt(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Wc,e.attempt(zi,e.attempt(Mi,o),n),n)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function Kc(e,t,n){const r=this;let i="",o=!1;return l;function l(c){return(c===72||c===104)&&$i.call(r,r.previous)&&!Nt(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),a):n(c)}function a(c){if(ue(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),a;if(c===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(c),u}return n(c)}function u(c){return c===47?(e.consume(c),o?s:(o=!0,u)):n(c)}function s(c){return c===null||Pn(c)||Q(c)||Ve(c)||Rn(c)?n(c):e.attempt(zi,e.attempt(Mi,f),n)(c)}function f(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function Qc(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function Zc(e,t,n){let r,i,o;return l;function l(s){return s===46||s===95?e.check(Ni,u,a)(s):s===null||Q(s)||Ve(s)||s!==45&&Rn(s)?u(s):(o=!0,e.consume(s),l)}function a(s){return s===95?r=!0:(i=r,r=void 0),e.consume(s),l}function u(s){return i||r||!o?n(s):t(s)}}function ef(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r<n?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(Ni,t,o)(l):l===null||Q(l)||Ve(l)?t(l):(e.consume(l),i)}function o(l){return l===41&&r++,e.consume(l),i}}function nf(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),o):a===93?(e.consume(a),i):a===60||a===null||Q(a)||Ve(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Q(a)||Ve(a)?t(a):r(a)}function o(a){return ue(a)?l(a):n(a)}function l(a){return a===59?(e.consume(a),r):ue(a)?(e.consume(a),l):n(a)}}function tf(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return ae(o)?n(o):t(o)}}function Ui(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Q(e)}function $i(e){return!ue(e)}function qi(e){return!(e===47||Mt(e))}function Mt(e){return e===43||e===45||e===46||e===95||ae(e)}function Nt(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const rf={tokenize:pf,partial:!0};function lf(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:sf,continuation:{tokenize:cf},exit:ff}},text:{91:{name:"gfmFootnoteCall",tokenize:uf},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:of,resolveTo:af}}}}function of(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){l=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return a;function a(u){if(!l||!l._balanced)return n(u);const s=Te(r.sliceSerialize({start:l.end,end:r.now()}));return s.codePointAt(0)!==94||!o.includes(s.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function af(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function uf(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,l;return a;function a(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),u}function u(c){return c!==94?n(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(c){if(o>999||c===93&&!l||c===null||c===91||Q(c))return n(c);if(c===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(Te(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return Q(c)||(l=!0),o++,e.consume(c),c===92?f:s}function f(c){return c===91||c===92||c===93?(e.consume(c),o++,s):s(c)}}function sf(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,a;return u;function u(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(y)}function f(y){if(l>999||y===93&&!a||y===null||y===91||Q(y))return n(y);if(y===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return o=Te(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Q(y)||(a=!0),l++,e.consume(y),y===92?c:f}function c(y){return y===91||y===92||y===93?(e.consume(y),l++,f):f(y)}function h(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),i.includes(o)||i.push(o),W(e,p,"gfmFootnoteDefinitionWhitespace")):n(y)}function p(y){return t(y)}}function cf(e,t,n){return e.check(yn,t,e.attempt(rf,t,n))}function ff(e){e.exit("gfmFootnoteDefinition")}function pf(e,t,n){const r=this;return W(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function hf(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,a){let u=-1;for(;++u<l.length;)if(l[u][0]==="enter"&&l[u][1].type==="strikethroughSequenceTemporary"&&l[u][1]._close){let s=u;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._open&&l[u][1].end.offset-l[u][1].start.offset===l[s][1].end.offset-l[s][1].start.offset){l[u][1].type="strikethroughSequence",l[s][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},l[s][1].start),end:Object.assign({},l[u][1].end)},c={type:"strikethroughText",start:Object.assign({},l[s][1].end),end:Object.assign({},l[u][1].start)},h=[["enter",f,a],["enter",l[s][1],a],["exit",l[s][1],a],["enter",c,a]],p=a.parser.constructs.insideSpan.null;p&&ye(h,h.length,0,_n(p,l.slice(s+1,u),a)),ye(h,h.length,0,[["exit",c,a],["enter",l[u][1],a],["exit",l[u][1],a],["exit",f,a]]),ye(l,s-1,u-s+3,h),u=s+h.length-2;break}}for(u=-1;++u<l.length;)l[u][1].type==="strikethroughSequenceTemporary"&&(l[u][1].type="data");return l}function o(l,a,u){const s=this.previous,f=this.events;let c=0;return h;function h(y){return s===126&&f[f.length-1][1].type!=="characterEscape"?u(y):(l.enter("strikethroughSequenceTemporary"),p(y))}function p(y){const S=rn(s);if(y===126)return c>1?u(y):(l.consume(y),c++,p);if(c<2&&!n)return u(y);const C=l.exit("strikethroughSequenceTemporary"),k=rn(y);return C._open=!k||k===2&&!!S,C._close=!S||S===2&&!!k,a(y)}}}class mf{constructor(){this.map=[]}add(t,n,r){df(this,t,n,r)}consume(t){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const o of i)t.push(o);i=r.pop()}this.map.length=0}}function df(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function gf(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function yf(){return{flow:{null:{name:"table",tokenize:kf,resolveAll:xf}}}}function kf(e,t,n){const r=this;let i=0,o=0,l;return a;function a(x){let _=r.events.length-1;for(;_>-1;){const O=r.events[_][1].type;if(O==="lineEnding"||O==="linePrefix")_--;else break}const D=_>-1?r.events[_][1].type:null,U=D==="tableHead"||D==="tableRow"?w:u;return U===w&&r.parser.lazy[r.now().line]?n(x):U(x)}function u(x){return e.enter("tableHead"),e.enter("tableRow"),s(x)}function s(x){return x===124||(l=!0,o+=1),f(x)}function f(x){return x===null?n(x):F(x)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),p):n(x):q(x)?W(e,f,"whitespace")(x):(o+=1,l&&(l=!1,i+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),c(x)))}function c(x){return x===null||x===124||Q(x)?(e.exit("data"),f(x)):(e.consume(x),x===92?h:c)}function h(x){return x===92||x===124?(e.consume(x),c):c(x)}function p(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(x):(e.enter("tableDelimiterRow"),l=!1,q(x)?W(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):y(x))}function y(x){return x===45||x===58?C(x):x===124?(l=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),S):N(x)}function S(x){return q(x)?W(e,C,"whitespace")(x):C(x)}function C(x){return x===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),k):x===45?(o+=1,k(x)):x===null||F(x)?M(x):N(x)}function k(x){return x===45?(e.enter("tableDelimiterFiller"),E(x)):N(x)}function E(x){return x===45?(e.consume(x),E):x===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(x))}function T(x){return q(x)?W(e,M,"whitespace")(x):M(x)}function M(x){return x===124?y(x):x===null||F(x)?!l||i!==o?N(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):N(x)}function N(x){return n(x)}function w(x){return e.enter("tableRow"),B(x)}function B(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),B):x===null||F(x)?(e.exit("tableRow"),t(x)):q(x)?W(e,B,"whitespace")(x):(e.enter("data"),X(x))}function X(x){return x===null||x===124||Q(x)?(e.exit("data"),B(x)):(e.consume(x),x===92?V:X)}function V(x){return x===92||x===124?(e.consume(x),X):X(x)}}function xf(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],a=!1,u=0,s,f,c;const h=new mf;for(;++n<e.length;){const p=e[n],y=p[1];p[0]==="enter"?y.type==="tableHead"?(a=!1,u!==0&&(Hi(h,t,u,s,f),f=void 0,u=0),s={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},h.add(n,0,[["enter",s,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(r=!0,c=void 0,o=[0,0,0,0],l=[0,n+1,0,0],a&&(a=!1,f={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},h.add(n,0,[["enter",f,t]])),i=y.type==="tableDelimiterRow"?2:f?3:1):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],c=Un(h,t,o,i,void 0,c),o=[0,0,0,0]),l[2]=n)):y.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(l[0]=l[1],c=Un(h,t,o,i,void 0,c)),o=l,l=[o[1],n,0,0])):y.type==="tableHead"?(a=!0,u=n):y.type==="tableRow"||y.type==="tableDelimiterRow"?(u=n,o[1]!==0?(l[0]=l[1],c=Un(h,t,o,i,n,c)):l[1]!==0&&(c=Un(h,t,l,i,n,c)),i=0):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(l[3]=n)}for(u!==0&&Hi(h,t,u,s,f),h.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=gf(t.events,n))}return e}function Un(e,t,n,r,i,o){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(o.end=Object.assign({},on(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const u=on(t.events,n[1]);if(o={type:l,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const s=on(t.events,n[2]),f=on(t.events,n[3]),c={type:a,start:Object.assign({},s),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",c,t]]),r!==2){const h=t.events[n[2]],p=t.events[n[3]];if(h[1].end=Object.assign({},p[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const y=n[2]+1,S=n[3]-n[2]-1;e.add(y,S,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return i!==void 0&&(o.end=Object.assign({},on(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Hi(e,t,n,r,i){const o=[],l=on(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function on(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const bf={name:"tasklistCheck",tokenize:Sf};function wf(){return{text:{91:bf}}}function Sf(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),o)}function o(u){return Q(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),l):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),l):n(u)}function l(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(u)}function a(u){return F(u)?t(u):q(u)?e.check({tokenize:Cf},t,n)(u):n(u)}}function Cf(e,t,n){return W(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Ef(e){return vr([Xc(),lf(),hf(e),yf(),wf()])}const vf={};function Tf(e){const t=this,n=e||vf,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Ef(n)),o.push(Hc()),l.push(Vc(n))}const Ye=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Vi={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Ye,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Ye],h2:[["className","sr-only"]],img:[...Ye,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Ye,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Ye],table:[...Ye],ul:[...Ye,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},Ue={}.hasOwnProperty;function If(e,t){let n={type:"root",children:[]};const r={schema:t?{...Vi,...t}:Vi,stack:[]},i=Wi(r,e);return i&&(Array.isArray(i)?i.length===1?n=i[0]:n.children=i:n=i),n}function Wi(e,t){if(t&&typeof t=="object"){const n=t;switch(typeof n.type=="string"?n.type:""){case"comment":return Af(e,n);case"doctype":return Pf(e,n);case"element":return Rf(e,n);case"root":return _f(e,n);case"text":return Df(e,n)}}}function Af(e,t){if(e.schema.allowComments){const n=typeof t.value=="string"?t.value:"",r=n.indexOf("-->"),o={type:"comment",value:r<0?n:n.slice(0,r)};return vn(o,t),o}}function Pf(e,t){if(e.schema.allowDoctypes){const n={type:"doctype"};return vn(n,t),n}}function Rf(e,t){const n=typeof t.tagName=="string"?t.tagName:"";e.stack.push(n);const r=Yi(e,t.children),i=Of(e,t.properties);e.stack.pop();let o=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(o=!0,e.schema.ancestors&&Ue.call(e.schema.ancestors,n))){const a=e.schema.ancestors[n];let u=-1;for(o=!1;++u<a.length;)e.stack.includes(a[u])&&(o=!0)}if(!o)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const l={type:"element",tagName:n,properties:i,children:r};return vn(l,t),l}function _f(e,t){const r={type:"root",children:Yi(e,t.children)};return vn(r,t),r}function Df(e,t){const r={type:"text",value:typeof t.value=="string"?t.value:""};return vn(r,t),r}function Yi(e,t){const n=[];if(Array.isArray(t)){const r=t;let i=-1;for(;++i<r.length;){const o=Wi(e,r[i]);o&&(Array.isArray(o)?n.push(...o):n.push(o))}}return n}function Of(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,o=r&&Ue.call(r,n)?r[n]:void 0,l=r&&Ue.call(r,"*")?r["*"]:void 0,a=t&&typeof t=="object"?t:{},u={};let s;for(s in a)if(Ue.call(a,s)){const f=a[s];let c=Xi(e,Ji(o,s),s,f);c==null&&(c=Xi(e,Ji(l,s),s,f)),c!=null&&(u[s]=c)}if(i&&Ue.call(i,n)){const f=i[n];for(s in f)Ue.call(f,s)&&!Ue.call(u,s)&&(u[s]=f[s])}return u}function Xi(e,t,n,r){return t?Array.isArray(r)?Ff(e,t,n,r):Gi(e,t,n,r):void 0}function Ff(e,t,n,r){let i=-1;const o=[];for(;++i<r.length;){const l=Gi(e,t,n,r[i]);(typeof l=="number"||typeof l=="string")&&o.push(l)}return o}function Gi(e,t,n,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&Lf(e,n,r)){if(typeof t=="object"&&t.length>1){let i=!1,o=0;for(;++o<t.length;){const l=t[o];if(l&&typeof l=="object"&&"flags"in l){if(l.test(String(r))){i=!0;break}}else if(l===r){i=!0;break}}if(!i)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function Lf(e,t,n){const r=e.schema.protocols&&Ue.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;const i=String(n),o=i.indexOf(":"),l=i.indexOf("?"),a=i.indexOf("#"),u=i.indexOf("/");if(o<0||u>-1&&o>u||l>-1&&o>l||a>-1&&o>a)return!0;let s=-1;for(;++s<r.length;){const f=r[s];if(o===f.length&&i.slice(0,f.length)===f)return!0}return!1}function vn(e,t){const n=mr(t);t.data&&(e.data=Sn(t.data)),n&&(e.position=n)}function Ji(e,t){let n,r=-1;if(e)for(;++r<e.length;){const i=e[r],o=typeof i=="string"?i:i[0];if(o===t)return i;o==="data*"&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return n}function zf(e){return function(t){return If(t,e)}}function Mf({content:e,className:t}){const n=(...r)=>r.filter(Boolean).join(" ");return Ne.jsx("div",{"data-slot":"markdown",className:n("prose prose-sm dark:prose-invert max-w-none","prose-headings:font-semibold prose-headings:tracking-tight","prose-h1:text-3xl prose-h2:text-2xl prose-h3:text-xl","prose-p:leading-relaxed prose-p:text-foreground","prose-a:text-primary prose-a:no-underline hover:prose-a:underline","prose-code:text-foreground prose-code:bg-muted prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:before:content-none prose-code:after:content-none","prose-pre:bg-muted prose-pre:text-foreground prose-pre:border","prose-blockquote:border-l-primary prose-blockquote:text-muted-foreground","prose-strong:text-foreground prose-strong:font-semibold","prose-ul:list-disc prose-ol:list-decimal","prose-li:text-foreground prose-li:marker:text-muted-foreground","prose-table:border prose-th:border prose-th:bg-muted prose-td:border","prose-img:rounded-md prose-img:border",t),children:Ne.jsx(ps,{remarkPlugins:[Tf],rehypePlugins:[zf],disallowedElements:["script","style","iframe","object","embed"],unwrapDisallowed:!0,children:e})})}const Nf=Object.freeze(Object.defineProperty({__proto__:null,default:Mf},Symbol.toStringTag,{value:"Module"}));Pe.MarkdownRenderer=Wn,Pe.markdownComponents=cl,Object.defineProperty(Pe,Symbol.toStringTag,{value:"Module"})}));
37
+ `))+1))}const l="#".repeat(i),a=n.enter("headingAtx"),s=n.enter("phrasing");o.move(l+" ");let u=n.containerPhrasing(e,{before:"# ",after:`
38
+ `,...o.current()});return/^[\t ]/.test(u)&&(u=nn(u.charCodeAt(0))+u.slice(1)),u=u?l+" "+u:l,n.options.closeAtx&&(u+=" "+l),s(),a(),u}Vr.peek=zs;function Vr(e){return e.value||""}function zs(){return"<"}Wr.peek=Ls;function Wr(e,t,n,r){const i=st(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("image");let a=n.enter("label");const s=n.createTracker(r);let u=s.move("![");return u+=s.move(n.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(a=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),a()),u+=s.move(")"),l(),u}function Ls(){return"!"}Yr.peek=Fs;function Yr(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let l=n.enter("label");const a=n.createTracker(r);let s=a.move("![");const u=n.safe(e.alt,{before:s,after:"]",...a.current()});s+=a.move(u+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!u||u!==c?s+=a.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function Fs(){return"!"}Xr.peek=Os;function Xr(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const l=n.unsafe[o],a=n.compilePattern(l);let s;if(l.atBreak)for(;s=a.exec(r);){let u=s.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(s.index+1)}}return i+r+i}function Os(){return"`"}function Gr(e,t){const n=Fn(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Qr.peek=Ms;function Qr(e,t,n,r){const i=st(n),o=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let a,s;if(Gr(e,n)){const f=n.stack;n.stack=[],a=n.enter("autolink");let c=l.move("<");return c+=l.move(n.containerPhrasing(e,{before:c,after:">",...l.current()})),c+=l.move(">"),a(),n.stack=f,c}a=n.enter("link"),s=n.enter("label");let u=l.move("[");return u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()})),u+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),u+=l.move(" "+i),u+=l.move(n.safe(e.title,{before:u,after:i,...l.current()})),u+=l.move(i),s()),u+=l.move(")"),a(),u}function Ms(e,t,n){return Gr(e,n)?"<":"["}Jr.peek=Ns;function Jr(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let l=n.enter("label");const a=n.createTracker(r);let s=a.move("[");const u=n.containerPhrasing(e,{before:s,after:"]",...a.current()});s+=a.move(u+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!u||u!==c?s+=a.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function Ns(){return"["}function ct(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function js(e){const t=ct(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Bs(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Kr(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function qs(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let l=e.ordered?Bs(n):ct(n);const a=e.ordered?l==="."?")":".":js(n);let s=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(s=!0),Kr(n)===l&&f){let c=-1;for(;++c<e.children.length;){const h=e.children[c];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(l=a),n.bulletCurrent=l;const u=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),u}function Us(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Hs(e,t,n,r){const i=Us(n);let o=n.bulletCurrent||ct(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const a=n.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,a.current()),f);return s(),u;function f(c,h,p){return h?(p?"":" ".repeat(l))+c:(p?o:o+" ".repeat(l-o.length))+c}}function $s(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l}const Vs=dn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ws(e,t,n,r){return(e.children.some(function(l){return Vs(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Ys(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Zr.peek=Xs;function Zr(e,t,n,r){const i=Ys(n),o=n.enter("strong"),l=n.createTracker(r),a=l.move(i+i);let s=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()}));const u=s.charCodeAt(0),f=kn(r.before.charCodeAt(r.before.length-1),u,i);f.inside&&(s=nn(u)+s.slice(1));const c=s.charCodeAt(s.length-1),h=kn(r.after.charCodeAt(0),c,i);h.inside&&(s=s.slice(0,-1)+nn(c));const p=l.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},a+s+p}function Xs(e,t,n){return n.options.strong||"*"}function Gs(e,t,n,r){return n.safe(e.value,r)}function Qs(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Js(e,t,n){const r=(Kr(n)+(n.options.ruleSpaces?" ":"")).repeat(Qs(n));return n.options.ruleSpaces?r.slice(0,-1):r}const ei={blockquote:bs,break:Hr,code:Is,definition:vs,emphasis:$r,hardBreak:Hr,heading:Ds,html:Vr,image:Wr,imageReference:Yr,inlineCode:Xr,link:Qr,linkReference:Jr,list:qs,listItem:Hs,paragraph:$s,root:Ws,strong:Zr,text:Gs,thematicBreak:Js};function Ks(){return{enter:{table:Zs,tableData:ni,tableHeader:ni,tableRow:nc},exit:{codeText:tc,table:ec,tableData:ft,tableHeader:ft,tableRow:ft}}}function Zs(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function ec(e){this.exit(e),this.data.inTable=void 0}function nc(e){this.enter({type:"tableRow",children:[]},e)}function ft(e){this.exit(e)}function ni(e){this.enter({type:"tableCell",children:[]},e)}function tc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,rc));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function rc(e,t){return t==="|"?t:e}function ic(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
39
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:l,tableCell:s,tableRow:a}};function l(p,g,S,C){return u(f(p,S,C),p.align)}function a(p,g,S,C){const y=c(p,S,C),I=u([y]);return I.slice(0,I.indexOf(`
40
+ `))}function s(p,g,S,C){const y=S.enter("tableCell"),I=S.enter("phrasing"),E=S.containerPhrasing(p,{...C,before:o,after:o});return I(),y(),E}function u(p,g){return ks(p,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function f(p,g,S){const C=p.children;let y=-1;const I=[],E=g.enter("table");for(;++y<C.length;)I[y]=c(C[y],g,S);return E(),I}function c(p,g,S){const C=p.children;let y=-1;const I=[],E=g.enter("tableRow");for(;++y<C.length;)I[y]=s(C[y],p,g,S);return E(),I}function h(p,g,S){let C=ei.inlineCode(p,g,S);return S.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function lc(){return{exit:{taskListCheckValueChecked:ti,taskListCheckValueUnchecked:ti,paragraph:ac}}}function oc(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:uc}}}function ti(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function ac(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,l;for(;++o<i.length;){const a=i[o];if(a.type==="paragraph"){l=a;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function uc(e,t,n,r){const i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(l);let s=ei.listItem(e,t,n,{...r,...a.current()});return o&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(f){return f+l}}function sc(){return[qu(),us(),ps(),Ks(),lc()]}function cc(e){return{extensions:[Uu(),ss(e),hs(),ic(e),oc()]}}const fc={tokenize:yc,partial:!0},ri={tokenize:kc,partial:!0},ii={tokenize:xc,partial:!0},li={tokenize:bc,partial:!0},pc={tokenize:wc,partial:!0},oi={name:"wwwAutolink",tokenize:dc,previous:ui},ai={name:"protocolAutolink",tokenize:gc,previous:si},xe={name:"emailAutolink",tokenize:mc,previous:ci},ye={};function hc(){return{text:ye}}let _e=48;for(;_e<123;)ye[_e]=xe,_e++,_e===58?_e=65:_e===91&&(_e=97);ye[43]=xe,ye[45]=xe,ye[46]=xe,ye[95]=xe,ye[72]=[xe,ai],ye[104]=[xe,ai],ye[87]=[xe,oi],ye[119]=[xe,oi];function mc(e,t,n){const r=this;let i,o;return l;function l(c){return!pt(c)||!ci.call(r,r.previous)||ht(r.events)?n(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(c))}function a(c){return pt(c)?(e.consume(c),a):c===64?(e.consume(c),s):n(c)}function s(c){return c===46?e.check(pc,f,u)(c):c===45||c===95||ne(c)?(o=!0,e.consume(c),s):f(c)}function u(c){return e.consume(c),i=!0,s}function f(c){return o&&i&&te(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):n(c)}}function dc(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!ui.call(r,r.previous)||ht(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(fc,e.attempt(ri,e.attempt(ii,o),n),n)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function gc(e,t,n){const r=this;let i="",o=!1;return l;function l(c){return(c===72||c===104)&&si.call(r,r.previous)&&!ht(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),a):n(c)}function a(c){if(te(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),a;if(c===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(c),s}return n(c)}function s(c){return c===47?(e.consume(c),o?u:(o=!0,s)):n(c)}function u(c){return c===null||an(c)||Y(c)||Pe(c)||un(c)?n(c):e.attempt(ri,e.attempt(ii,f),n)(c)}function f(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function yc(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function kc(e,t,n){let r,i,o;return l;function l(u){return u===46||u===95?e.check(li,s,a)(u):u===null||Y(u)||Pe(u)||u!==45&&un(u)?s(u):(o=!0,e.consume(u),l)}function a(u){return u===95?r=!0:(i=r,r=void 0),e.consume(u),l}function s(u){return i||r||!o?n(u):t(u)}}function xc(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r<n?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(li,t,o)(l):l===null||Y(l)||Pe(l)?t(l):(e.consume(l),i)}function o(l){return l===41&&r++,e.consume(l),i}}function bc(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),o):a===93?(e.consume(a),i):a===60||a===null||Y(a)||Pe(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Y(a)||Pe(a)?t(a):r(a)}function o(a){return te(a)?l(a):n(a)}function l(a){return a===59?(e.consume(a),r):te(a)?(e.consume(a),l):n(a)}}function wc(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return ne(o)?n(o):t(o)}}function ui(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Y(e)}function si(e){return!te(e)}function ci(e){return!(e===47||pt(e))}function pt(e){return e===43||e===45||e===46||e===95||ne(e)}function ht(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Sc={tokenize:_c,partial:!0};function Cc(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Ac,continuation:{tokenize:vc},exit:Pc}},text:{91:{name:"gfmFootnoteCall",tokenize:Ic},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Ec,resolveTo:Tc}}}}function Ec(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){l=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return a;function a(s){if(!l||!l._balanced)return n(s);const u=he(r.sliceSerialize({start:l.end,end:r.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function Tc(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function Ic(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,l;return a;function a(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),s}function s(c){return c!==94?n(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(o>999||c===93&&!l||c===null||c===91||Y(c))return n(c);if(c===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(he(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return Y(c)||(l=!0),o++,e.consume(c),c===92?f:u}function f(c){return c===91||c===92||c===93?(e.consume(c),o++,u):u(c)}}function Ac(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,a;return s;function s(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(g)}function f(g){if(l>999||g===93&&!a||g===null||g===91||Y(g))return n(g);if(g===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return o=he(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Y(g)||(a=!0),l++,e.consume(g),g===92?c:f}function c(g){return g===91||g===92||g===93?(e.consume(g),l++,f):f(g)}function h(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(o)||i.push(o),U(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}function vc(e,t,n){return e.check(Xe,t,e.attempt(Sc,t,n))}function Pc(e){e.exit("gfmFootnoteDefinition")}function _c(e,t,n){const r=this;return U(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function Rc(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,a){let s=-1;for(;++s<l.length;)if(l[s][0]==="enter"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._close){let u=s;for(;u--;)if(l[u][0]==="exit"&&l[u][1].type==="strikethroughSequenceTemporary"&&l[u][1]._open&&l[s][1].end.offset-l[s][1].start.offset===l[u][1].end.offset-l[u][1].start.offset){l[s][1].type="strikethroughSequence",l[u][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},l[u][1].start),end:Object.assign({},l[s][1].end)},c={type:"strikethroughText",start:Object.assign({},l[u][1].end),end:Object.assign({},l[s][1].start)},h=[["enter",f,a],["enter",l[u][1],a],["exit",l[u][1],a],["enter",c,a]],p=a.parser.constructs.insideSpan.null;p&&ue(h,h.length,0,sn(p,l.slice(u+1,s),a)),ue(h,h.length,0,[["exit",c,a],["enter",l[s][1],a],["exit",l[s][1],a],["exit",f,a]]),ue(l,u-1,s-u+3,h),s=u+h.length-2;break}}for(s=-1;++s<l.length;)l[s][1].type==="strikethroughSequenceTemporary"&&(l[s][1].type="data");return l}function o(l,a,s){const u=this.previous,f=this.events;let c=0;return h;function h(g){return u===126&&f[f.length-1][1].type!=="characterEscape"?s(g):(l.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const S=Me(u);if(g===126)return c>1?s(g):(l.consume(g),c++,p);if(c<2&&!n)return s(g);const C=l.exit("strikethroughSequenceTemporary"),y=Me(g);return C._open=!y||y===2&&!!S,C._close=!S||S===2&&!!y,a(g)}}}class Dc{constructor(){this.map=[]}add(t,n,r){zc(this,t,n,r)}consume(t){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const o of i)t.push(o);i=r.pop()}this.map.length=0}}function zc(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function Lc(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Fc(){return{flow:{null:{name:"table",tokenize:Oc,resolveAll:Mc}}}}function Oc(e,t,n){const r=this;let i=0,o=0,l;return a;function a(k){let P=r.events.length-1;for(;P>-1;){const R=r.events[P][1].type;if(R==="lineEnding"||R==="linePrefix")P--;else break}const _=P>-1?r.events[P][1].type:null,$=_==="tableHead"||_==="tableRow"?b:s;return $===b&&r.parser.lazy[r.now().line]?n(k):$(k)}function s(k){return e.enter("tableHead"),e.enter("tableRow"),u(k)}function u(k){return k===124||(l=!0,o+=1),f(k)}function f(k){return k===null?n(k):D(k)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),p):n(k):j(k)?U(e,f,"whitespace")(k):(o+=1,l&&(l=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),c(k)))}function c(k){return k===null||k===124||Y(k)?(e.exit("data"),f(k)):(e.consume(k),k===92?h:c)}function h(k){return k===92||k===124?(e.consume(k),c):c(k)}function p(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),l=!1,j(k)?U(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):g(k))}function g(k){return k===45||k===58?C(k):k===124?(l=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),S):F(k)}function S(k){return j(k)?U(e,C,"whitespace")(k):C(k)}function C(k){return k===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(o+=1,y(k)):k===null||D(k)?L(k):F(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),I(k)):F(k)}function I(k){return k===45?(e.consume(k),I):k===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(k))}function E(k){return j(k)?U(e,L,"whitespace")(k):L(k)}function L(k){return k===124?g(k):k===null||D(k)?!l||i!==o?F(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):F(k)}function F(k){return n(k)}function b(k){return e.enter("tableRow"),N(k)}function N(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),N):k===null||D(k)?(e.exit("tableRow"),t(k)):j(k)?U(e,N,"whitespace")(k):(e.enter("data"),H(k))}function H(k){return k===null||k===124||Y(k)?(e.exit("data"),N(k)):(e.consume(k),k===92?B:H)}function B(k){return k===92||k===124?(e.consume(k),H):H(k)}}function Mc(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],a=!1,s=0,u,f,c;const h=new Dc;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(a=!1,s!==0&&(fi(h,t,s,u,f),f=void 0,s=0),u={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},h.add(n,0,[["enter",u,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,c=void 0,o=[0,0,0,0],l=[0,n+1,0,0],a&&(a=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},h.add(n,0,[["enter",f,t]])),i=g.type==="tableDelimiterRow"?2:f?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],c=xn(h,t,o,i,void 0,c),o=[0,0,0,0]),l[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(l[0]=l[1],c=xn(h,t,o,i,void 0,c)),o=l,l=[o[1],n,0,0])):g.type==="tableHead"?(a=!0,s=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(s=n,o[1]!==0?(l[0]=l[1],c=xn(h,t,o,i,n,c)):l[1]!==0&&(c=xn(h,t,l,i,n,c)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(l[3]=n)}for(s!==0&&fi(h,t,s,u,f),h.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=Lc(t.events,n))}return e}function xn(e,t,n,r,i,o){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(o.end=Object.assign({},je(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const s=je(t.events,n[1]);if(o={type:l,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const u=je(t.events,n[2]),f=je(t.events,n[3]),c={type:a,start:Object.assign({},u),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",c,t]]),r!==2){const h=t.events[n[2]],p=t.events[n[3]];if(h[1].end=Object.assign({},p[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,S=n[3]-n[2]-1;e.add(g,S,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return i!==void 0&&(o.end=Object.assign({},je(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function fi(e,t,n,r,i){const o=[],l=je(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function je(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Nc={name:"tasklistCheck",tokenize:Bc};function jc(){return{text:{91:Nc}}}function Bc(e,t,n){const r=this;return i;function i(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),o)}function o(s){return Y(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),l):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),l):n(s)}function l(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(s)}function a(s){return D(s)?t(s):j(s)?e.check({tokenize:qc},t,n)(s):n(s)}}function qc(e,t,n){return U(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Uc(e){return Wt([hc(),Cc(),Rc(e),Fc(),jc()])}const Hc={};function $c(e){const t=this,n=e||Hc,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Uc(n)),o.push(sc()),l.push(cc(n))}const Re=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],pi={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Re,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Re],h2:[["className","sr-only"]],img:[...Re,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Re,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Re],table:[...Re],ul:[...Re,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},Te={}.hasOwnProperty;function Vc(e,t){let n={type:"root",children:[]};const r={schema:t?{...pi,...t}:pi,stack:[]},i=hi(r,e);return i&&(Array.isArray(i)?i.length===1?n=i[0]:n.children=i:n=i),n}function hi(e,t){if(t&&typeof t=="object"){const n=t;switch(typeof n.type=="string"?n.type:""){case"comment":return Wc(e,n);case"doctype":return Yc(e,n);case"element":return Xc(e,n);case"root":return Gc(e,n);case"text":return Qc(e,n)}}}function Wc(e,t){if(e.schema.allowComments){const n=typeof t.value=="string"?t.value:"",r=n.indexOf("-->"),o={type:"comment",value:r<0?n:n.slice(0,r)};return tn(o,t),o}}function Yc(e,t){if(e.schema.allowDoctypes){const n={type:"doctype"};return tn(n,t),n}}function Xc(e,t){const n=typeof t.tagName=="string"?t.tagName:"";e.stack.push(n);const r=mi(e,t.children),i=Jc(e,t.properties);e.stack.pop();let o=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(o=!0,e.schema.ancestors&&Te.call(e.schema.ancestors,n))){const a=e.schema.ancestors[n];let s=-1;for(o=!1;++s<a.length;)e.stack.includes(a[s])&&(o=!0)}if(!o)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const l={type:"element",tagName:n,properties:i,children:r};return tn(l,t),l}function Gc(e,t){const r={type:"root",children:mi(e,t.children)};return tn(r,t),r}function Qc(e,t){const r={type:"text",value:typeof t.value=="string"?t.value:""};return tn(r,t),r}function mi(e,t){const n=[];if(Array.isArray(t)){const r=t;let i=-1;for(;++i<r.length;){const o=hi(e,r[i]);o&&(Array.isArray(o)?n.push(...o):n.push(o))}}return n}function Jc(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,o=r&&Te.call(r,n)?r[n]:void 0,l=r&&Te.call(r,"*")?r["*"]:void 0,a=t&&typeof t=="object"?t:{},s={};let u;for(u in a)if(Te.call(a,u)){const f=a[u];let c=di(e,yi(o,u),u,f);c==null&&(c=di(e,yi(l,u),u,f)),c!=null&&(s[u]=c)}if(i&&Te.call(i,n)){const f=i[n];for(u in f)Te.call(f,u)&&!Te.call(s,u)&&(s[u]=f[u])}return s}function di(e,t,n,r){return t?Array.isArray(r)?Kc(e,t,n,r):gi(e,t,n,r):void 0}function Kc(e,t,n,r){let i=-1;const o=[];for(;++i<r.length;){const l=gi(e,t,n,r[i]);(typeof l=="number"||typeof l=="string")&&o.push(l)}return o}function gi(e,t,n,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&Zc(e,n,r)){if(typeof t=="object"&&t.length>1){let i=!1,o=0;for(;++o<t.length;){const l=t[o];if(l&&typeof l=="object"&&"flags"in l){if(l.test(String(r))){i=!0;break}}else if(l===r){i=!0;break}}if(!i)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function Zc(e,t,n){const r=e.schema.protocols&&Te.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;const i=String(n),o=i.indexOf(":"),l=i.indexOf("?"),a=i.indexOf("#"),s=i.indexOf("/");if(o<0||s>-1&&o>s||l>-1&&o>l||a>-1&&o>a)return!0;let u=-1;for(;++u<r.length;){const f=r[u];if(o===f.length&&i.slice(0,f.length)===f)return!0}return!1}function tn(e,t){const n=Ft(t);t.data&&(e.data=Ze(t.data)),n&&(e.position=n)}function yi(e,t){let n,r=-1;if(e)for(;++r<e.length;){const i=e[r],o=typeof i=="string"?i:i[0];if(o===t)return i;o==="data*"&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return n}function ef(e){return function(t){return Vc(t,e)}}function nf({content:e,className:t}){const n=(...r)=>r.filter(Boolean).join(" ");return Se.jsx("div",{"data-slot":"markdown",className:n("prose prose-sm dark:prose-invert max-w-none","prose-headings:font-semibold prose-headings:tracking-tight","prose-h1:text-3xl prose-h2:text-2xl prose-h3:text-xl","prose-p:leading-relaxed prose-p:text-foreground","prose-a:text-primary prose-a:no-underline hover:prose-a:underline","prose-code:text-foreground prose-code:bg-muted prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:before:content-none prose-code:after:content-none","prose-pre:bg-muted prose-pre:text-foreground prose-pre:border","prose-blockquote:border-l-primary prose-blockquote:text-muted-foreground","prose-strong:text-foreground prose-strong:font-semibold","prose-ul:list-disc prose-ol:list-decimal","prose-li:text-foreground prose-li:marker:text-muted-foreground","prose-table:border prose-th:border prose-th:bg-muted prose-td:border","prose-img:rounded-md prose-img:border",t),children:Se.jsx(Ru,{remarkPlugins:[$c],rehypePlugins:[ef],disallowedElements:["script","style","iframe","object","embed"],unwrapDisallowed:!0,children:e})})}const tf=Object.freeze(Object.defineProperty({__proto__:null,default:nf},Symbol.toStringTag,{value:"Module"}));de.MarkdownRenderer=wn,de.markdownComponents=Pi,Object.defineProperty(de,Symbol.toStringTag,{value:"Module"})}));