@sakura-ui/markdown 0.0.2 → 0.0.3
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.
- package/dist/index.cjs.js +115 -77
- package/dist/index.es.js +7093 -5592
- package/dist/types/plugins/helper.d.ts +0 -7
- package/dist/types/plugins/helper.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const At=require("react");function oc(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const u in r)if(u!=="default"&&!(u in e)){const i=Object.getOwnPropertyDescriptor(r,u);i&&Object.defineProperty(e,u,i.get?i:{enumerable:!0,get:()=>r[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var ia=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vu={exports:{}},$n={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var aa;function lc(){if(aa)return $n;aa=1;var e=At,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,u=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(o,l,c){var f,d={},g=null,m=null;c!==void 0&&(g=""+c),l.key!==void 0&&(g=""+l.key),l.ref!==void 0&&(m=l.ref);for(f in l)r.call(l,f)&&!i.hasOwnProperty(f)&&(d[f]=l[f]);if(o&&o.defaultProps)for(f in l=o.defaultProps,l)d[f]===void 0&&(d[f]=l[f]);return{$$typeof:t,type:o,key:g,ref:m,props:d,_owner:u.current}}return $n.Fragment=n,$n.jsx=a,$n.jsxs=a,$n}var Wn={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,52 +14,90 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var sa;function cc(){return sa||(sa=1,process.env.NODE_ENV!=="production"&&function(){var e=At,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),T=Symbol.iterator,O="@@iterator";function S(h){if(h===null||typeof h!="object")return null;var y=T&&h[T]||h[O];return typeof y=="function"?y:null}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(h){{for(var y=arguments.length,k=new Array(y>1?y-1:0),V=1;V<y;V++)k[V-1]=arguments[V];j("error",h,k)}}function j(h,y,k){{var V=R.ReactDebugCurrentFrame,ne=V.getStackAddendum();ne!==""&&(y+="%s",k=k.concat([ne]));var ae=k.map(function(Z){return String(Z)});ae.unshift("Warning: "+y),Function.prototype.apply.call(console[h],console,ae)}}var ee=!1,K=!1,P=!1,H=!1,se=!1,oe;oe=Symbol.for("react.module.reference");function L(h){return!!(typeof h=="string"||typeof h=="function"||h===r||h===i||se||h===u||h===c||h===f||H||h===m||ee||K||P||typeof h=="object"&&h!==null&&(h.$$typeof===g||h.$$typeof===d||h.$$typeof===a||h.$$typeof===o||h.$$typeof===l||h.$$typeof===oe||h.getModuleId!==void 0))}function G(h,y,k){var V=h.displayName;if(V)return V;var ne=y.displayName||y.name||"";return ne!==""?k+"("+ne+")":k}function Y(h){return h.displayName||"Context"}function te(h){if(h==null)return null;if(typeof h.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case u:return"StrictMode";case c:return"Suspense";case f:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case o:var y=h;return Y(y)+".Consumer";case a:var k=h;return Y(k._context)+".Provider";case l:return G(h,h.render,"ForwardRef");case d:var V=h.displayName||null;return V!==null?V:te(h.type)||"Memo";case g:{var ne=h,ae=ne._payload,Z=ne._init;try{return te(Z(ae))}catch{return null}}}return null}var re=Object.assign,x=0,Ne,J,He,$e,D,N,z;function A(){}A.__reactDisabledLog=!0;function le(){{if(x===0){Ne=console.log,J=console.info,He=console.warn,$e=console.error,D=console.group,N=console.groupCollapsed,z=console.groupEnd;var h={configurable:!0,enumerable:!0,value:A,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}x++}}function ge(){{if(x--,x===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},h,{value:Ne}),info:re({},h,{value:J}),warn:re({},h,{value:He}),error:re({},h,{value:$e}),group:re({},h,{value:D}),groupCollapsed:re({},h,{value:N}),groupEnd:re({},h,{value:z})})}x<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fe=R.ReactCurrentDispatcher,Se;function Te(h,y,k){{if(Se===void 0)try{throw Error()}catch(ne){var V=ne.stack.trim().match(/\n( *(at )?)/);Se=V&&V[1]||""}return`
|
|
18
|
+
`+Se+h}}var Ce=!1,Pe;{var Pt=typeof WeakMap=="function"?WeakMap:Map;Pe=new Pt}function zt(h,y){if(!h||Ce)return"";{var k=Pe.get(h);if(k!==void 0)return k}var V;Ce=!0;var ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=fe.current,fe.current=null,le();try{if(y){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(we){V=we}Reflect.construct(h,[],Z)}else{try{Z.call()}catch(we){V=we}h.call(Z.prototype)}}else{try{throw Error()}catch(we){V=we}h()}}catch(we){if(we&&V&&typeof we.stack=="string"){for(var X=we.stack.split(`
|
|
19
|
+
`),Fe=V.stack.split(`
|
|
20
|
+
`),pe=X.length-1,Ee=Fe.length-1;pe>=1&&Ee>=0&&X[pe]!==Fe[Ee];)Ee--;for(;pe>=1&&Ee>=0;pe--,Ee--)if(X[pe]!==Fe[Ee]){if(pe!==1||Ee!==1)do if(pe--,Ee--,Ee<0||X[pe]!==Fe[Ee]){var ve=`
|
|
21
|
+
`+X[pe].replace(" at new "," at ");return h.displayName&&ve.includes("<anonymous>")&&(ve=ve.replace("<anonymous>",h.displayName)),typeof h=="function"&&Pe.set(h,ve),ve}while(pe>=1&&Ee>=0);break}}}finally{Ce=!1,fe.current=ae,ge(),Error.prepareStackTrace=ne}var ft=h?h.displayName||h.name:"",et=ft?Te(ft):"";return typeof h=="function"&&Pe.set(h,et),et}function wt(h,y,k){return zt(h,!1)}function sn(h){var y=h.prototype;return!!(y&&y.isReactComponent)}function ht(h,y,k){if(h==null)return"";if(typeof h=="function")return zt(h,sn(h));if(typeof h=="string")return Te(h);switch(h){case c:return Te("Suspense");case f:return Te("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case l:return wt(h.render);case d:return ht(h.type,y,k);case g:{var V=h,ne=V._payload,ae=V._init;try{return ht(ae(ne),y,k)}catch{}}}return""}var Ze=Object.prototype.hasOwnProperty,Et={},Yt=R.ReactDebugCurrentFrame;function st(h){if(h){var y=h._owner,k=ht(h.type,h._source,y?y.type:null);Yt.setExtraStackFrame(k)}else Yt.setExtraStackFrame(null)}function ot(h,y,k,V,ne){{var ae=Function.call.bind(Ze);for(var Z in h)if(ae(h,Z)){var X=void 0;try{if(typeof h[Z]!="function"){var Fe=Error((V||"React class")+": "+k+" type `"+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[Z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fe.name="Invariant Violation",Fe}X=h[Z](y,Z,V,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){X=pe}X&&!(X instanceof Error)&&(st(ne),v("%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).",V||"React class",k,Z,typeof X),st(null)),X instanceof Error&&!(X.message in Et)&&(Et[X.message]=!0,st(ne),v("Failed %s type: %s",k,X.message),st(null))}}}var It=Array.isArray;function _t(h){return It(h)}function Jt(h){{var y=typeof Symbol=="function"&&Symbol.toStringTag,k=y&&h[Symbol.toStringTag]||h.constructor.name||"Object";return k}}function Zt(h){try{return St(h),!1}catch{return!0}}function St(h){return""+h}function M(h){if(Zt(h))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Jt(h)),St(h)}var $=R.ReactCurrentOwner,ce={key:!0,ref:!0,__self:!0,__source:!0},me,ke,Ye;Ye={};function bt(h){if(Ze.call(h,"ref")){var y=Object.getOwnPropertyDescriptor(h,"ref").get;if(y&&y.isReactWarning)return!1}return h.ref!==void 0}function lt(h){if(Ze.call(h,"key")){var y=Object.getOwnPropertyDescriptor(h,"key").get;if(y&&y.isReactWarning)return!1}return h.key!==void 0}function kt(h,y){if(typeof h.ref=="string"&&$.current&&y&&$.current.stateNode!==y){var k=te($.current.type);Ye[k]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',te($.current.type),h.ref),Ye[k]=!0)}}function rt(h,y){{var k=function(){me||(me=!0,v("%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)",y))};k.isReactWarning=!0,Object.defineProperty(h,"key",{get:k,configurable:!0})}}function We(h,y){{var k=function(){ke||(ke=!0,v("%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)",y))};k.isReactWarning=!0,Object.defineProperty(h,"ref",{get:k,configurable:!0})}}var Ct=function(h,y,k,V,ne,ae,Z){var X={$$typeof:t,type:h,key:y,ref:k,props:Z,_owner:ae};return X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(X,"_self",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.defineProperty(X,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X};function ct(h,y,k,V,ne){{var ae,Z={},X=null,Fe=null;k!==void 0&&(M(k),X=""+k),lt(y)&&(M(y.key),X=""+y.key),bt(y)&&(Fe=y.ref,kt(y,ne));for(ae in y)Ze.call(y,ae)&&!ce.hasOwnProperty(ae)&&(Z[ae]=y[ae]);if(h&&h.defaultProps){var pe=h.defaultProps;for(ae in pe)Z[ae]===void 0&&(Z[ae]=pe[ae])}if(X||Fe){var Ee=typeof h=="function"?h.displayName||h.name||"Unknown":h;X&&rt(Z,Ee),Fe&&We(Z,Ee)}return Ct(h,X,Fe,ne,V,$.current,Z)}}var vt=R.ReactCurrentOwner,on=R.ReactDebugCurrentFrame;function ut(h){if(h){var y=h._owner,k=ht(h.type,h._source,y?y.type:null);on.setExtraStackFrame(k)}else on.setExtraStackFrame(null)}var Rt;Rt=!1;function Dt(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function Bt(){{if(vt.current){var h=te(vt.current.type);if(h)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+h+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+h+"`."}return""}}function Mn(h){return""}var ln={};function Hn(h){{var y=Bt();if(!y){var k=typeof h=="string"?h:h.displayName||h.name;k&&(y=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+k+">.")}return
|
|
25
|
+
Check the top-level render call using <`+k+">.")}return y}}function cn(h,y){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var k=Hn(y);if(ln[k])return;ln[k]=!0;var V="";h&&h._owner&&h._owner!==vt.current&&(V=" It was passed a child from "+te(h._owner.type)+"."),ut(h),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,V),ut(null)}}function fn(h,y){{if(typeof h!="object")return;if(_t(h))for(var k=0;k<h.length;k++){var V=h[k];Dt(V)&&cn(V,y)}else if(Dt(h))h._store&&(h._store.validated=!0);else if(h){var ne=S(h);if(typeof ne=="function"&&ne!==h.entries)for(var ae=ne.call(h),Z;!(Z=ae.next()).done;)Dt(Z.value)&&cn(Z.value,y)}}}function qt(h){{var y=h.type;if(y==null||typeof y=="string")return;var k;if(typeof y=="function")k=y.propTypes;else if(typeof y=="object"&&(y.$$typeof===l||y.$$typeof===d))k=y.propTypes;else return;if(k){var V=te(y);ot(k,h.props,"prop",V,h)}else if(y.PropTypes!==void 0&&!Rt){Rt=!0;var ne=te(y);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ne||"Unknown")}typeof y.getDefaultProps=="function"&&!y.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function hn(h){{for(var y=Object.keys(h.props),k=0;k<y.length;k++){var V=y[k];if(V!=="children"&&V!=="key"){ut(h),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",V),ut(null);break}}h.ref!==null&&(ut(h),v("Invalid attribute `ref` supplied to `React.Fragment`."),ut(null))}}var en={};function dn(h,y,k,V,ne,ae){{var Z=L(h);if(!Z){var X="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(X+=" 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 Fe=Mn();Fe?X+=Fe:X+=Bt();var pe;h===null?pe="null":_t(h)?pe="array":h!==void 0&&h.$$typeof===t?(pe="<"+(te(h.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof h,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,X)}var Ee=ct(h,y,k,ne,ae);if(Ee==null)return Ee;if(Z){var ve=y.children;if(ve!==void 0)if(V)if(_t(ve)){for(var ft=0;ft<ve.length;ft++)fn(ve[ft],h);Object.freeze&&Object.freeze(ve)}else v("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 fn(ve,h)}if(Ze.call(y,"key")){var et=te(h),we=Object.keys(y).filter(function(qn){return qn!=="key"}),Vt=we.length>0?"{key: someKey, "+we.join(": ..., ")+": ...}":"{key: someKey}";if(!en[et+Vt]){var Yn=we.length>0?"{"+we.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,wt,ve,Sr,ve),pn[ve+wt]=!0}}return h===r?Dr(ae):_r(ae),ae}}function xr(h,_,k){return En(h,_,k,!0)}function Nr(h,_,k){return En(h,_,k,!1)}var yr=Nr,Ir=xr;bn.Fragment=r,bn.jsx=yr,bn.jsxs=Ir}()),bn}process.env.NODE_ENV==="production"?tu.exports=wo():tu.exports=Bo();var le=tu.exports;const Mo=xa(le),vo=Po({__proto__:null,default:Mo},[le]),bt=(...e)=>e.filter(Boolean).join(" ");function ri(e){if(e)throw e}var Kn=Object.prototype.hasOwnProperty,Na=Object.prototype.toString,ui=Object.defineProperty,ii=Object.getOwnPropertyDescriptor,ai=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Na.call(t)==="[object Array]"},si=function(t){if(!t||Na.call(t)!=="[object Object]")return!1;var n=Kn.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Kn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var u;for(u in t);return typeof u>"u"||Kn.call(t,u)},oi=function(t,n){ui&&n.name==="__proto__"?ui(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},li=function(t,n){if(n==="__proto__")if(Kn.call(t,n)){if(ii)return ii(t,n).value}else return;return t[n]},Ho=function e(){var t,n,r,u,i,a,o=arguments[0],l=1,c=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=li(o,n),u=li(t,n),o!==u&&(f&&u&&(si(u)||(i=ai(u)))?(i?(i=!1,a=r&&ai(r)?r:[]):a=r&&si(r)?r:{},oi(o,{name:n,newValue:e(f,a,u)})):typeof u<"u"&&oi(o,{name:n,newValue:u}));return o};const Rr=xa(Ho);function nu(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 Uo(){const e=[],t={run:n,use:r};return t;function n(...u){let i=-1;const a=u.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...u);function o(l,...c){const f=e[++i];let d=-1;if(l){a(l);return}for(;++d<u.length;)(c[d]===null||c[d]===void 0)&&(c[d]=u[d]);u=c,f?zo(f,o)(...c):a(null,...c)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function zo(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(u);try{l=e.apply(this,a)}catch(c){const f=c;if(o&&n)throw f;return u(f)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,u):l instanceof Error?u(l):i(l))}function u(a,...o){n||(n=!0,t(a,...o))}function i(a){u(null,a)}}function yn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ci(e.position):"start"in e||"end"in e?ci(e):"line"in e||"column"in e?ru(e):""}function ru(e){return fi(e&&e.line)+":"+fi(e&&e.column)}function ci(e){return ru(e&&e.start)+"-"+ru(e&&e.end)}function fi(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 u="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?u=t:!i.cause&&t&&(a=!0,u=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?i.ruleId=r:(i.source=r.slice(0,l),i.ruleId=r.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=u,this.line=o?o.line:void 0,this.name=yn(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}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 lt={basename:jo,dirname:Yo,extname:qo,join:Vo,sep:"/"};function jo(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');vn(e);let n=0,r=-1,u=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else r<0&&(i=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else a<0&&(i=!0,a=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Yo(e){if(vn(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 qo(e){vn(e);let t=e.length,n=-1,r=0,u=-1,i=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?u<0?u=t:i!==1&&(i=1):u>-1&&(i=-1)}return u<0||n<0||i===0||i===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function Vo(...e){let t=-1,n;for(;++t<e.length;)vn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Wo(n)}function Wo(e){vn(e);const t=e.codePointAt(0)===47;let n=Qo(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Qo(e,t){let n="",r=0,u=-1,i=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(u===a-1||i===1))if(u!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),u=a,i=0;continue}}else if(n.length>0){n="",r=0,u=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,a):n=e.slice(u+1,a),r=a-u-1;u=a,i=0}else o===46&&i>-1?i++:i=-1}return n}function vn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Go={cwd:$o};function $o(){return"/"}function uu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Xo(e){if(typeof e=="string")e=new URL(e);else if(!uu(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 Ko(e)}function Ko(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 u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const Lr=["history","path","basename","stem","extname","dirname"];class Jo{constructor(t){let n;t?uu(t)?n={path:t}:typeof t=="string"||Zo(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Go.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Lr.length;){const i=Lr[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let u;for(u in n)Lr.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?lt.basename(this.path):void 0}set basename(t){Or(t,"basename"),Fr(t,"basename"),this.path=lt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?lt.dirname(this.path):void 0}set dirname(t){hi(this.basename,"dirname"),this.path=lt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?lt.extname(this.path):void 0}set extname(t){if(Fr(t,"extname"),hi(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=lt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){uu(t)&&(t=Xo(t)),Or(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?lt.basename(this.path,this.extname):void 0}set stem(t){Or(t,"stem"),Fr(t,"stem"),this.path=lt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new Oe(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Fr(e,t){if(e&&e.includes(lt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+lt.sep+"`")}function Or(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function hi(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Zo(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const el=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},tl={}.hasOwnProperty;class _u extends el{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=Uo()}copy(){const t=new _u;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Rr(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Br("data",this.frozen),this.namespace[t]=n,this):tl.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Br("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 u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=qn(t),r=this.parser||this.Parser;return Pr("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Pr("process",this.parser||this.Parser),wr("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=qn(t),l=r.parse(o);r.run(l,o,function(f,d,T){if(f||!d||!T)return c(f);const p=d,g=r.stringify(p,T);rl(g)?T.value=g:T.result=g,c(f,T)});function c(f,d){f||!d?a(f):i?i(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),Pr("processSync",this.parser||this.Parser),wr("processSync",this.compiler||this.Compiler),this.process(t,u),pi("processSync","process",n),r;function u(i,a){n=!0,ri(i),r=a}}run(t,n,r){mi(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,o){const l=qn(n);u.run(t,l,c);function c(f,d,T){const p=d||t;f?o(f):a?a(p):r(void 0,p,T)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),pi("runSync","run",r),u;function i(a,o){ri(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=qn(n),u=this.compiler||this.Compiler;return wr("stringify",u),mi(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(Br("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[f,...d]=c;l(f,d)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))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");o(c.plugins),c.settings&&(u.settings=Rr(!0,u.settings,c.settings))}function o(c){let f=-1;if(c!=null)if(Array.isArray(c))for(;++f<c.length;){const d=c[f];i(d)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,f){let d=-1,T=-1;for(;++d<r.length;)if(r[d][0]===c){T=d;break}if(T===-1)r.push([c,...f]);else if(f.length>0){let[p,...g]=f;const S=r[T][1];nu(S)&&nu(p)&&(p=Rr(!0,S,p)),r[T]=[c,p,...g]}}}}const di=new _u().freeze();function Pr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function wr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Br(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 mi(e){if(!nu(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 qn(e){return nl(e)?e:new Jo(e)}function nl(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function rl(e){return typeof e=="string"||ul(e)}function ul(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const il={};function On(e,t){const n=il,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return ya(e,r,u)}function ya(e,t,n){if(al(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 Ei(e.children,t,n)}return Array.isArray(e)?Ei(e,t,n):""}function Ei(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=ya(e[u],t,n);return r.join("")}function al(e){return!!(e&&typeof e=="object")}const Ti=document.createElement("i");function Pn(e){const t="&"+e+";";Ti.innerHTML=t;const n=Ti.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function tt(e,t,n,r){const u=e.length;let i=0,a;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function et(e,t){return e.length>0?(tt(e,e.length,0,t),e):t}const bi={}.hasOwnProperty;function Ia(e){const t={};let n=-1;for(;++n<e.length;)sl(t,e[n]);return t}function sl(e,t){let n;for(n in t){const u=(bi.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){bi.call(u,a)||(u[a]=[]);const o=i[a];ol(u[a],Array.isArray(o)?o:o?[o]:[])}}}function ol(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);tt(e,0,0,r)}function Sa(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 at(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Le=St(/[A-Za-z]/),Ie=St(/[\dA-Za-z]/),ll=St(/[#-'*+\--9=?A-Z^-~]/);function nr(e){return e!==null&&(e<32||e===127)}const iu=St(/\d/),cl=St(/[\dA-Fa-f]/),fl=St(/[!-/:-@[-`{-~]/);function W(e){return e!==null&&e<-2}function fe(e){return e!==null&&(e<0||e===32)}function se(e){return e===-2||e===-1||e===32}const lr=St(new RegExp("\\p{P}|\\p{S}","u")),Ut=St(/\s/);function St(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Jt(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Ie(e.charCodeAt(n+1))&&Ie(e.charCodeAt(n+2)))u=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(n+1);i<56320&&o>56319&&o<57344?(a=String.fromCharCode(i,o),u=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+u+1,a=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function ue(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return se(l)?(e.enter(n),o(l)):t(l)}function o(l){return se(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const hl={tokenize:dl};function dl(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ue(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return W(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const ml={tokenize:pl},gi={tokenize:El};function pl(e){const t=this,n=[];let r=0,u,i,a;return o;function o(B){if(r<n.length){const Q=n[r];return t.containerState=Q[1],e.attempt(Q[0].continuation,l,c)(B)}return c(B)}function l(B){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&L();const Q=t.events.length;let K=Q,F;for(;K--;)if(t.events[K][0]==="exit"&&t.events[K][1].type==="chunkFlow"){F=t.events[K][1].end;break}y(r);let w=Q;for(;w<t.events.length;)t.events[w][1].end=Object.assign({},F),w++;return tt(t.events,K+1,0,t.events.slice(Q)),t.events.length=w,c(B)}return o(B)}function c(B){if(r===n.length){if(!u)return T(B);if(u.currentConstruct&&u.currentConstruct.concrete)return g(B);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(gi,f,d)(B)}function f(B){return u&&L(),y(r),T(B)}function d(B){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,g(B)}function T(B){return t.containerState={},e.attempt(gi,p,g)(B)}function p(B){return r++,n.push([t.currentConstruct,t.containerState]),T(B)}function g(B){if(B===null){u&&L(),y(0),e.consume(B);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:u}),S(B)}function S(B){if(B===null){N(e.exit("chunkFlow"),!0),y(0),e.consume(B);return}return W(B)?(e.consume(B),N(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(B),S)}function N(B,Q){const K=t.sliceStream(B);if(Q&&K.push(null),B.previous=i,i&&(i.next=B),i=B,u.defineSkip(B.start),u.write(K),t.parser.lazy[B.start.line]){let F=u.events.length;for(;F--;)if(u.events[F][1].start.offset<a&&(!u.events[F][1].end||u.events[F][1].end.offset>a))return;const w=t.events.length;let ee=w,J,I;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(J){I=t.events[ee][1].end;break}J=!0}for(y(r),F=w;F<t.events.length;)t.events[F][1].end=Object.assign({},I),F++;tt(t.events,ee+1,0,t.events.slice(w)),t.events.length=F}}function y(B){let Q=n.length;for(;Q-- >B;){const K=n[Q];t.containerState=K[1],K[0].exit.call(t,e)}n.length=B}function L(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function El(e,t,n){return ue(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function rr(e){if(e===null||fe(e)||Ut(e))return 1;if(lr(e))return 2}function cr(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const i=e[u].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const au={name:"attention",tokenize:bl,resolveAll:Tl};function Tl(e,t){let n=-1,r,u,i,a,o,l,c,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;l=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 d=Object.assign({},e[r][1].end),T=Object.assign({},e[n][1].start);Ai(d,-l),Ai(T,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:T},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},u={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=et(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=et(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=et(c,cr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=et(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=et(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,tt(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function bl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=rr(r);let i;return a;function a(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const c=e.exit("attentionSequence"),f=rr(l),d=!f||f===2&&u||n.includes(l),T=!u||u===2&&f||n.includes(r);return c._open=!!(i===42?d:d&&(u||!T)),c._close=!!(i===42?T:T&&(f||!d)),t(l)}}function Ai(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const gl={name:"autolink",tokenize:Al};function Al(e,t,n){let r=0;return u;function u(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return Le(p)?(e.consume(p),a):p===64?n(p):c(p)}function a(p){return p===43||p===45||p===46||Ie(p)?(r=1,o(p)):c(p)}function o(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Ie(p))&&r++<32?(e.consume(p),o):(r=0,c(p))}function l(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||nr(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),f):ll(p)?(e.consume(p),c):n(p)}function f(p){return Ie(p)?d(p):n(p)}function d(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):T(p)}function T(p){if((p===45||Ie(p))&&r++<63){const g=p===45?T:d;return e.consume(p),g}return n(p)}}const Hn={tokenize:Cl,partial:!0};function Cl(e,t,n){return r;function r(i){return se(i)?ue(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||W(i)?t(i):n(i)}}const ka={name:"blockQuote",tokenize:_l,continuation:{tokenize:Dl},exit:xl};function _l(e,t,n){const r=this;return u;function u(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return se(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Dl(e,t,n){const r=this;return u;function u(a){return se(a)?ue(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(ka,t,n)(a)}}function xl(e){e.exit("blockQuote")}const Ra={name:"characterEscape",tokenize:Nl};function Nl(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),u}function u(i){return fl(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const La={name:"characterReference",tokenize:yl};function yl(e,t,n){const r=this;let u=0,i,a;return o;function o(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=Ie,f(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=cl,f):(e.enter("characterReferenceValue"),i=7,a=iu,f(d))}function f(d){if(d===59&&u){const T=e.exit("characterReferenceValue");return a===Ie&&!Pn(r.sliceSerialize(T))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(d)&&u++<i?(e.consume(d),f):n(d)}}const Ci={tokenize:Sl,partial:!0},_i={name:"codeFenced",tokenize:Il,concrete:!0};function Il(e,t,n){const r=this,u={tokenize:K,partial:!0};let i=0,a=0,o;return l;function l(F){return c(F)}function c(F){const w=r.events[r.events.length-1];return i=w&&w[1].type==="linePrefix"?w[2].sliceSerialize(w[1],!0).length:0,o=F,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(F)}function f(F){return F===o?(a++,e.consume(F),f):a<3?n(F):(e.exit("codeFencedFenceSequence"),se(F)?ue(e,d,"whitespace")(F):d(F))}function d(F){return F===null||W(F)?(e.exit("codeFencedFence"),r.interrupt?t(F):e.check(Ci,S,Q)(F)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),T(F))}function T(F){return F===null||W(F)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(F)):se(F)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ue(e,p,"whitespace")(F)):F===96&&F===o?n(F):(e.consume(F),T)}function p(F){return F===null||W(F)?d(F):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(F))}function g(F){return F===null||W(F)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(F)):F===96&&F===o?n(F):(e.consume(F),g)}function S(F){return e.attempt(u,Q,N)(F)}function N(F){return e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),y}function y(F){return i>0&&se(F)?ue(e,L,"linePrefix",i+1)(F):L(F)}function L(F){return F===null||W(F)?e.check(Ci,S,Q)(F):(e.enter("codeFlowValue"),B(F))}function B(F){return F===null||W(F)?(e.exit("codeFlowValue"),L(F)):(e.consume(F),B)}function Q(F){return e.exit("codeFenced"),t(F)}function K(F,w,ee){let J=0;return I;function I(D){return F.enter("lineEnding"),F.consume(D),F.exit("lineEnding"),j}function j(D){return F.enter("codeFencedFence"),se(D)?ue(F,v,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):v(D)}function v(D){return D===o?(F.enter("codeFencedFenceSequence"),G(D)):ee(D)}function G(D){return D===o?(J++,F.consume(D),G):J>=a?(F.exit("codeFencedFenceSequence"),se(D)?ue(F,X,"whitespace")(D):X(D)):ee(D)}function X(D){return D===null||W(D)?(F.exit("codeFencedFence"),w(D)):ee(D)}}}function Sl(e,t,n){const r=this;return u;function u(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Mr={name:"codeIndented",tokenize:Rl},kl={tokenize:Ll,partial:!0};function Rl(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),ue(e,i,"linePrefix",5)(c)}function i(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):W(c)?e.attempt(kl,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||W(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Ll(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):W(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):ue(e,i,"linePrefix",5)(a)}function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):W(a)?u(a):n(a)}}const Fl={name:"codeText",tokenize:wl,resolve:Ol,previous:Pl};function Ol(e){let t=e.length-4,n=3,r,u;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;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function Pl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function wl(e,t,n){let r=0,u,i;return a;function a(d){return e.enter("codeText"),e.enter("codeTextSequence"),o(d)}function o(d){return d===96?(e.consume(d),r++,o):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),u=0,f(d)):W(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||W(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function f(d){return d===96?(e.consume(d),u++,f):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",c(d))}}class Bl{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 u=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&gn(this.left,r),i.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),gn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),gn(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);gn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);gn(this.left,n.reverse())}}}function gn(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 Fa(e){const t={};let n=-1,r,u,i,a,o,l,c;const f=new Bl(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"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Ml(f,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--&&(a=f.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(u&&(f.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);u&&(r[1].end=Object.assign({},f.get(u)[1].start),o=f.slice(u,n),o.unshift(r),f.splice(u,n-u+1,o))}}return tt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function Ml(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),o=a.events,l=[],c={};let f,d,T=-1,p=n,g=0,S=0;const N=[S];for(;p;){for(;e.get(++u)[1]!==p;);i.push(u),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++T<o.length;)o[T][0]==="exit"&&o[T-1][0]==="enter"&&o[T][1].type===o[T-1][1].type&&o[T][1].start.line!==o[T][1].end.line&&(S=T+1,N.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):N.pop(),T=N.length;T--;){const y=o.slice(N[T],N[T+1]),L=i.pop();l.push([L,L+y.length-1]),e.splice(L,2,y)}for(l.reverse(),T=-1;++T<l.length;)c[g+l[T][0]]=g+l[T][1],g+=l[T][1]-l[T][0]-1;return c}const vl={tokenize:zl,resolve:Ul},Hl={tokenize:jl,partial:!0};function Ul(e){return Fa(e),e}function zl(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?i(o):W(o)?e.check(Hl,a,i)(o):(e.consume(o),u)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function jl(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ue(e,i,"linePrefix")}function i(a){if(a===null||W(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Oa(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return d;function d(y){return y===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(y),e.exit(i),T):y===null||y===32||y===41||nr(y)?n(y):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),S(y))}function T(y){return y===62?(e.enter(i),e.consume(y),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(o),T(y)):y===null||y===60||W(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||fe(y))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(y)):f<c&&y===40?(e.consume(y),f++,S):y===41?(e.consume(y),f--,S):y===null||y===32||y===40||nr(y)?n(y):(e.consume(y),y===92?N:S)}function N(y){return y===40||y===41||y===92?(e.consume(y),S):S(y)}}function Pa(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(p){return e.enter(r),e.enter(u),e.consume(p),e.exit(u),e.enter(i),f}function f(p){return o>999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(i),e.enter(u),e.consume(p),e.exit(u),e.exit(r),t):W(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||W(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!se(p)),p===92?T:d)}function T(p){return p===91||p===92||p===93?(e.consume(p),o++,d):d(p)}}function wa(e,t,n,r,u,i){let a;return o;function o(T){return T===34||T===39||T===40?(e.enter(r),e.enter(u),e.consume(T),e.exit(u),a=T===40?41:T,l):n(T)}function l(T){return T===a?(e.enter(u),e.consume(T),e.exit(u),e.exit(r),t):(e.enter(i),c(T))}function c(T){return T===a?(e.exit(i),l(a)):T===null?n(T):W(T)?(e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),ue(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(T))}function f(T){return T===a||T===null||W(T)?(e.exit("chunkString"),c(T)):(e.consume(T),T===92?d:f)}function d(T){return T===a||T===92?(e.consume(T),f):f(T)}}function Et(e,t){let n;return r;function r(u){return W(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):se(u)?ue(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const Yl={name:"definition",tokenize:Vl},ql={tokenize:Wl,partial:!0};function Vl(e,t,n){const r=this;let u;return i;function i(p){return e.enter("definition"),a(p)}function a(p){return Pa.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return u=at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return fe(p)?Et(e,c)(p):c(p)}function c(p){return Oa(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(ql,d,d)(p)}function d(p){return se(p)?ue(e,T,"whitespace")(p):T(p)}function T(p){return p===null||W(p)?(e.exit("definition"),r.parser.defined.push(u),t(p)):n(p)}}function Wl(e,t,n){return r;function r(o){return fe(o)?Et(e,u)(o):n(o)}function u(o){return wa(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return se(o)?ue(e,a,"whitespace")(o):a(o)}function a(o){return o===null||W(o)?t(o):n(o)}}const Ql={name:"hardBreakEscape",tokenize:Gl};function Gl(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return W(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const $l={name:"headingAtx",tokenize:Kl,resolve:Xl};function Xl(e,t){let n=e.length-2,r=3,u,i;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&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},tt(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function Kl(e,t,n){let r=0;return u;function u(f){return e.enter("atxHeading"),i(f)}function i(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||fe(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||W(f)?(e.exit("atxHeading"),t(f)):se(f)?ue(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||fe(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const Jl=["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"],Di=["pre","script","style","textarea"],Zl={name:"htmlFlow",tokenize:rc,resolveTo:nc,concrete:!0},ec={tokenize:ic,partial:!0},tc={tokenize:uc,partial:!0};function nc(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 rc(e,t,n){const r=this;let u,i,a,o,l;return c;function c(C){return f(C)}function f(C){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(C),d}function d(C){return C===33?(e.consume(C),T):C===47?(e.consume(C),i=!0,S):C===63?(e.consume(C),u=3,r.interrupt?t:A):Le(C)?(e.consume(C),a=String.fromCharCode(C),N):n(C)}function T(C){return C===45?(e.consume(C),u=2,p):C===91?(e.consume(C),u=5,o=0,g):Le(C)?(e.consume(C),u=4,r.interrupt?t:A):n(C)}function p(C){return C===45?(e.consume(C),r.interrupt?t:A):n(C)}function g(C){const Me="CDATA[";return C===Me.charCodeAt(o++)?(e.consume(C),o===Me.length?r.interrupt?t:v:g):n(C)}function S(C){return Le(C)?(e.consume(C),a=String.fromCharCode(C),N):n(C)}function N(C){if(C===null||C===47||C===62||fe(C)){const Me=C===47,rt=a.toLowerCase();return!Me&&!i&&Di.includes(rt)?(u=1,r.interrupt?t(C):v(C)):Jl.includes(a.toLowerCase())?(u=6,Me?(e.consume(C),y):r.interrupt?t(C):v(C)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(C):i?L(C):B(C))}return C===45||Ie(C)?(e.consume(C),a+=String.fromCharCode(C),N):n(C)}function y(C){return C===62?(e.consume(C),r.interrupt?t:v):n(C)}function L(C){return se(C)?(e.consume(C),L):I(C)}function B(C){return C===47?(e.consume(C),I):C===58||C===95||Le(C)?(e.consume(C),Q):se(C)?(e.consume(C),B):I(C)}function Q(C){return C===45||C===46||C===58||C===95||Ie(C)?(e.consume(C),Q):K(C)}function K(C){return C===61?(e.consume(C),F):se(C)?(e.consume(C),K):B(C)}function F(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),l=C,w):se(C)?(e.consume(C),F):ee(C)}function w(C){return C===l?(e.consume(C),l=null,J):C===null||W(C)?n(C):(e.consume(C),w)}function ee(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||fe(C)?K(C):(e.consume(C),ee)}function J(C){return C===47||C===62||se(C)?B(C):n(C)}function I(C){return C===62?(e.consume(C),j):n(C)}function j(C){return C===null||W(C)?v(C):se(C)?(e.consume(C),j):n(C)}function v(C){return C===45&&u===2?(e.consume(C),me):C===60&&u===1?(e.consume(C),Ae):C===62&&u===4?(e.consume(C),ke):C===63&&u===3?(e.consume(C),A):C===93&&u===5?(e.consume(C),we):W(C)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(ec,Be,G)(C)):C===null||W(C)?(e.exit("htmlFlowData"),G(C)):(e.consume(C),v)}function G(C){return e.check(tc,X,Be)(C)}function X(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),D}function D(C){return C===null||W(C)?G(C):(e.enter("htmlFlowData"),v(C))}function me(C){return C===45?(e.consume(C),A):v(C)}function Ae(C){return C===47?(e.consume(C),a="",Se):v(C)}function Se(C){if(C===62){const Me=a.toLowerCase();return Di.includes(Me)?(e.consume(C),ke):v(C)}return Le(C)&&a.length<8?(e.consume(C),a+=String.fromCharCode(C),Se):v(C)}function we(C){return C===93?(e.consume(C),A):v(C)}function A(C){return C===62?(e.consume(C),ke):C===45&&u===2?(e.consume(C),A):v(C)}function ke(C){return C===null||W(C)?(e.exit("htmlFlowData"),Be(C)):(e.consume(C),ke)}function Be(C){return e.exit("htmlFlow"),t(C)}}function uc(e,t,n){const r=this;return u;function u(a){return W(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function ic(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Hn,t,n)}}const ac={name:"htmlText",tokenize:sc};function sc(e,t,n){const r=this;let u,i,a;return o;function o(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),l}function l(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),K):A===63?(e.consume(A),B):Le(A)?(e.consume(A),ee):n(A)}function c(A){return A===45?(e.consume(A),f):A===91?(e.consume(A),i=0,g):Le(A)?(e.consume(A),L):n(A)}function f(A){return A===45?(e.consume(A),p):n(A)}function d(A){return A===null?n(A):A===45?(e.consume(A),T):W(A)?(a=d,Ae(A)):(e.consume(A),d)}function T(A){return A===45?(e.consume(A),p):d(A)}function p(A){return A===62?me(A):A===45?T(A):d(A)}function g(A){const ke="CDATA[";return A===ke.charCodeAt(i++)?(e.consume(A),i===ke.length?S:g):n(A)}function S(A){return A===null?n(A):A===93?(e.consume(A),N):W(A)?(a=S,Ae(A)):(e.consume(A),S)}function N(A){return A===93?(e.consume(A),y):S(A)}function y(A){return A===62?me(A):A===93?(e.consume(A),y):S(A)}function L(A){return A===null||A===62?me(A):W(A)?(a=L,Ae(A)):(e.consume(A),L)}function B(A){return A===null?n(A):A===63?(e.consume(A),Q):W(A)?(a=B,Ae(A)):(e.consume(A),B)}function Q(A){return A===62?me(A):B(A)}function K(A){return Le(A)?(e.consume(A),F):n(A)}function F(A){return A===45||Ie(A)?(e.consume(A),F):w(A)}function w(A){return W(A)?(a=w,Ae(A)):se(A)?(e.consume(A),w):me(A)}function ee(A){return A===45||Ie(A)?(e.consume(A),ee):A===47||A===62||fe(A)?J(A):n(A)}function J(A){return A===47?(e.consume(A),me):A===58||A===95||Le(A)?(e.consume(A),I):W(A)?(a=J,Ae(A)):se(A)?(e.consume(A),J):me(A)}function I(A){return A===45||A===46||A===58||A===95||Ie(A)?(e.consume(A),I):j(A)}function j(A){return A===61?(e.consume(A),v):W(A)?(a=j,Ae(A)):se(A)?(e.consume(A),j):J(A)}function v(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),u=A,G):W(A)?(a=v,Ae(A)):se(A)?(e.consume(A),v):(e.consume(A),X)}function G(A){return A===u?(e.consume(A),u=void 0,D):A===null?n(A):W(A)?(a=G,Ae(A)):(e.consume(A),G)}function X(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||fe(A)?J(A):(e.consume(A),X)}function D(A){return A===47||A===62||fe(A)?J(A):n(A)}function me(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function Ae(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),Se}function Se(A){return se(A)?ue(e,we,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):we(A)}function we(A){return e.enter("htmlTextData"),a(A)}}const Du={name:"labelEnd",tokenize:dc,resolveTo:hc,resolveAll:fc},oc={tokenize:mc},lc={tokenize:pc},cc={tokenize:Ec};function fc(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function hc(e,t){let n=e.length,r=0,u,i,a,o;for(;n--;)if(u=e[n][1],i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(a=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[a][1].end)},f={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=et(o,e.slice(i+1,i+r+3)),o=et(o,[["enter",f,t]]),o=et(o,cr(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=et(o,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),o=et(o,e.slice(a+1)),o=et(o,[["exit",l,t]]),tt(e,i,e.length,o),e}function dc(e,t,n){const r=this;let u=r.events.length,i,a;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){i=r.events[u][1];break}return o;function o(T){return i?i._inactive?d(T):(a=r.parser.defined.includes(at(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(T),e.exit("labelMarker"),e.exit("labelEnd"),l):n(T)}function l(T){return T===40?e.attempt(oc,f,a?f:d)(T):T===91?e.attempt(lc,f,a?c:d)(T):a?f(T):d(T)}function c(T){return e.attempt(cc,f,d)(T)}function f(T){return t(T)}function d(T){return i._balanced=!0,n(T)}}function mc(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),u}function u(d){return fe(d)?Et(e,i)(d):i(d)}function i(d){return d===41?f(d):Oa(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function a(d){return fe(d)?Et(e,l)(d):f(d)}function o(d){return n(d)}function l(d){return d===34||d===39||d===40?wa(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function c(d){return fe(d)?Et(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function pc(e,t,n){const r=this;return u;function u(o){return Pa.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function Ec(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),u}function u(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const Tc={name:"labelStartImage",tokenize:bc,resolveAll:Du.resolveAll};function bc(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const gc={name:"labelStartLink",tokenize:Ac,resolveAll:Du.resolveAll};function Ac(e,t,n){const r=this;return u;function u(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const vr={name:"lineEnding",tokenize:Cc};function Cc(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ue(e,t,"linePrefix")}}const Jn={name:"thematicBreak",tokenize:_c};function _c(e,t,n){let r=0,u;return i;function i(c){return e.enter("thematicBreak"),a(c)}function a(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||W(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),se(c)?ue(e,o,"whitespace")(c):o(c))}}const je={name:"list",tokenize:Nc,continuation:{tokenize:yc},exit:Sc},Dc={tokenize:kc,partial:!0},xc={tokenize:Ic,partial:!0};function Nc(e,t,n){const r=this,u=r.events[r.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:iu(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(Jn,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return iu(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Hn,r.interrupt?n:f,e.attempt(Dc,T,d))}function f(p){return r.containerState.initialBlankLine=!0,i++,T(p)}function d(p){return se(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),T):n(p)}function T(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function yc(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Hn,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ue(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!se(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(xc,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ue(e,e.attempt(je,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ic(e,t,n){const r=this;return ue(e,u,"listItemIndent",r.containerState.size+1);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function Sc(e){e.exit(this.containerState.type)}function kc(e,t,n){const r=this;return ue(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const a=r.events[r.events.length-1];return!se(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const xi={name:"setextUnderline",tokenize:Lc,resolveTo:Rc};function Rc(e,t){let n=e.length,r,u,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:Object.assign({},e[u][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[u][1].type="setextHeadingText",i?(e.splice(u,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function Lc(e,t,n){const r=this;let u;return i;function i(c){let f=r.events.length,d;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){d=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),u=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),se(c)?ue(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||W(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Fc={tokenize:Oc};function Oc(e){const t=this,n=e.attempt(Hn,r,e.attempt(this.parser.constructs.flowInitial,u,ue(e,e.attempt(this.parser.constructs.flow,u,e.attempt(vl,u)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Pc={resolveAll:Ma()},wc=Ba("string"),Bc=Ba("text");function Ba(e){return{tokenize:t,resolveAll:Ma(e==="text"?Mc:void 0)};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(f){return c(f)?i(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),i(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const d=u[f];let T=-1;if(d)for(;++T<d.length;){const p=d[T];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Ma(e){return t;function t(n,r){let u=-1,i;for(;++u<=n.length;)i===void 0?n[u]&&n[u][1].type==="data"&&(i=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==i+2&&(n[i][1].end=n[u-1][1].end,n.splice(i+2,u-i-2),u=i+2),i=void 0);return e?e(n,r):n}}function Mc(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],u=t.sliceStream(r);let i=u.length,a=-1,o=0,l;for(;i--;){const c=u[i];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-o,offset:r.end.offset-o,_index:r.start._index+i,_bufferIndex:i?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function vc(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const u={},i=[];let a=[],o=[];const l={consume:L,enter:B,exit:Q,attempt:w(K),check:w(F),interrupt:w(F,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:T,now:g,defineSkip:S,write:d};let f=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(j){return a=et(a,j),N(),a[a.length-1]!==null?[]:(ee(t,0),c.events=cr(i,c.events,c),c.events)}function T(j,v){return Uc(p(j),v)}function p(j){return Hc(a,j)}function g(){const{line:j,column:v,offset:G,_index:X,_bufferIndex:D}=r;return{line:j,column:v,offset:G,_index:X,_bufferIndex:D}}function S(j){u[j.line]=j.column,I()}function N(){let j;for(;r._index<a.length;){const v=a[r._index];if(typeof v=="string")for(j=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===j&&r._bufferIndex<v.length;)y(v.charCodeAt(r._bufferIndex));else y(v)}}function y(j){f=f(j)}function L(j){W(j)?(r.line++,r.column=1,r.offset+=j===-3?2:1,I()):j!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=j}function B(j,v){const G=v||{};return G.type=j,G.start=g(),c.events.push(["enter",G,c]),o.push(G),G}function Q(j){const v=o.pop();return v.end=g(),c.events.push(["exit",v,c]),v}function K(j,v){ee(j,v.from)}function F(j,v){v.restore()}function w(j,v){return G;function G(X,D,me){let Ae,Se,we,A;return Array.isArray(X)?Be(X):"tokenize"in X?Be([X]):ke(X);function ke(Te){return qe;function qe(xe){const He=xe!==null&&Te[xe],Fe=xe!==null&&Te.null,_t=[...Array.isArray(He)?He:He?[He]:[],...Array.isArray(Fe)?Fe:Fe?[Fe]:[]];return Be(_t)(xe)}}function Be(Te){return Ae=Te,Se=0,Te.length===0?me:C(Te[Se])}function C(Te){return qe;function qe(xe){return A=J(),we=Te,Te.partial||(c.currentConstruct=Te),Te.name&&c.parser.constructs.disable.null.includes(Te.name)?rt():Te.tokenize.call(v?Object.assign(Object.create(c),v):c,l,Me,rt)(xe)}}function Me(Te){return j(we,A),D}function rt(Te){return A.restore(),++Se<Ae.length?C(Ae[Se]):me}}}function ee(j,v){j.resolveAll&&!i.includes(j)&&i.push(j),j.resolve&&tt(c.events,v,c.events.length-v,j.resolve(c.events.slice(v),c)),j.resolveTo&&(c.events=j.resolveTo(c.events,c))}function J(){const j=g(),v=c.previous,G=c.currentConstruct,X=c.events.length,D=Array.from(o);return{restore:me,from:X};function me(){r=j,c.previous=v,c.currentConstruct=G,c.events.length=X,o=D,I()}}function I(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function Hc(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,i=t.end._bufferIndex;let a;if(n===u)a=[e[n].slice(r,i)];else{if(a=e.slice(n,u),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}i>0&&a.push(e[u].slice(0,i))}return a}function Uc(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
|
|
30
|
+
<%s key={someKey} {...props} />`,Vt,et,Yn,et),en[et+Vt]=!0}}return h===r?hn(Ee):qt(Ee),Ee}}function Un(h,y,k){return dn(h,y,k,!0)}function jn(h,y,k){return dn(h,y,k,!1)}var zn=jn,Cn=Un;Wn.Fragment=r,Wn.jsx=zn,Wn.jsxs=Cn}()),Wn}process.env.NODE_ENV==="production"?vu.exports=lc():vu.exports=cc();var xe=vu.exports;const fc=Ls(xe),hc=oc({__proto__:null,default:fc},[xe]),Qt=(...e)=>e.filter(Boolean).join(" ");var Ie={};/**
|
|
31
|
+
* @license React
|
|
32
|
+
* react.production.min.js
|
|
33
|
+
*
|
|
34
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
35
|
+
*
|
|
36
|
+
* This source code is licensed under the MIT license found in the
|
|
37
|
+
* LICENSE file in the root directory of this source tree.
|
|
38
|
+
*/var oa;function dc(){if(oa)return Ie;oa=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator;function g(N){return N===null||typeof N!="object"?null:(N=d&&N[d]||N["@@iterator"],typeof N=="function"?N:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,O={};function S(N,z,A){this.props=N,this.context=z,this.refs=O,this.updater=A||m}S.prototype.isReactComponent={},S.prototype.setState=function(N,z){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,z,"setState")},S.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function R(){}R.prototype=S.prototype;function v(N,z,A){this.props=N,this.context=z,this.refs=O,this.updater=A||m}var j=v.prototype=new R;j.constructor=v,T(j,S.prototype),j.isPureReactComponent=!0;var ee=Array.isArray,K=Object.prototype.hasOwnProperty,P={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function se(N,z,A){var le,ge={},fe=null,Se=null;if(z!=null)for(le in z.ref!==void 0&&(Se=z.ref),z.key!==void 0&&(fe=""+z.key),z)K.call(z,le)&&!H.hasOwnProperty(le)&&(ge[le]=z[le]);var Te=arguments.length-2;if(Te===1)ge.children=A;else if(1<Te){for(var Ce=Array(Te),Pe=0;Pe<Te;Pe++)Ce[Pe]=arguments[Pe+2];ge.children=Ce}if(N&&N.defaultProps)for(le in Te=N.defaultProps,Te)ge[le]===void 0&&(ge[le]=Te[le]);return{$$typeof:e,type:N,key:fe,ref:Se,props:ge,_owner:P.current}}function oe(N,z){return{$$typeof:e,type:N.type,key:z,ref:N.ref,props:N.props,_owner:N._owner}}function L(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function G(N){var z={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(A){return z[A]})}var Y=/\/+/g;function te(N,z){return typeof N=="object"&&N!==null&&N.key!=null?G(""+N.key):z.toString(36)}function re(N,z,A,le,ge){var fe=typeof N;(fe==="undefined"||fe==="boolean")&&(N=null);var Se=!1;if(N===null)Se=!0;else switch(fe){case"string":case"number":Se=!0;break;case"object":switch(N.$$typeof){case e:case t:Se=!0}}if(Se)return Se=N,ge=ge(Se),N=le===""?"."+te(Se,0):le,ee(ge)?(A="",N!=null&&(A=N.replace(Y,"$&/")+"/"),re(ge,z,A,"",function(Pe){return Pe})):ge!=null&&(L(ge)&&(ge=oe(ge,A+(!ge.key||Se&&Se.key===ge.key?"":(""+ge.key).replace(Y,"$&/")+"/")+N)),z.push(ge)),1;if(Se=0,le=le===""?".":le+":",ee(N))for(var Te=0;Te<N.length;Te++){fe=N[Te];var Ce=le+te(fe,Te);Se+=re(fe,z,A,Ce,ge)}else if(Ce=g(N),typeof Ce=="function")for(N=Ce.call(N),Te=0;!(fe=N.next()).done;)fe=fe.value,Ce=le+te(fe,Te++),Se+=re(fe,z,A,Ce,ge);else if(fe==="object")throw z=String(N),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return Se}function x(N,z,A){if(N==null)return N;var le=[],ge=0;return re(N,le,"","",function(fe){return z.call(A,fe,ge++)}),le}function Ne(N){if(N._status===-1){var z=N._result;z=z(),z.then(function(A){(N._status===0||N._status===-1)&&(N._status=1,N._result=A)},function(A){(N._status===0||N._status===-1)&&(N._status=2,N._result=A)}),N._status===-1&&(N._status=0,N._result=z)}if(N._status===1)return N._result.default;throw N._result}var J={current:null},He={transition:null},$e={ReactCurrentDispatcher:J,ReactCurrentBatchConfig:He,ReactCurrentOwner:P};function D(){throw Error("act(...) is not supported in production builds of React.")}return Ie.Children={map:x,forEach:function(N,z,A){x(N,function(){z.apply(this,arguments)},A)},count:function(N){var z=0;return x(N,function(){z++}),z},toArray:function(N){return x(N,function(z){return z})||[]},only:function(N){if(!L(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},Ie.Component=S,Ie.Fragment=n,Ie.Profiler=u,Ie.PureComponent=v,Ie.StrictMode=r,Ie.Suspense=l,Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$e,Ie.act=D,Ie.cloneElement=function(N,z,A){if(N==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+N+".");var le=T({},N.props),ge=N.key,fe=N.ref,Se=N._owner;if(z!=null){if(z.ref!==void 0&&(fe=z.ref,Se=P.current),z.key!==void 0&&(ge=""+z.key),N.type&&N.type.defaultProps)var Te=N.type.defaultProps;for(Ce in z)K.call(z,Ce)&&!H.hasOwnProperty(Ce)&&(le[Ce]=z[Ce]===void 0&&Te!==void 0?Te[Ce]:z[Ce])}var Ce=arguments.length-2;if(Ce===1)le.children=A;else if(1<Ce){Te=Array(Ce);for(var Pe=0;Pe<Ce;Pe++)Te[Pe]=arguments[Pe+2];le.children=Te}return{$$typeof:e,type:N.type,key:ge,ref:fe,props:le,_owner:Se}},Ie.createContext=function(N){return N={$$typeof:a,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},N.Provider={$$typeof:i,_context:N},N.Consumer=N},Ie.createElement=se,Ie.createFactory=function(N){var z=se.bind(null,N);return z.type=N,z},Ie.createRef=function(){return{current:null}},Ie.forwardRef=function(N){return{$$typeof:o,render:N}},Ie.isValidElement=L,Ie.lazy=function(N){return{$$typeof:f,_payload:{_status:-1,_result:N},_init:Ne}},Ie.memo=function(N,z){return{$$typeof:c,type:N,compare:z===void 0?null:z}},Ie.startTransition=function(N){var z=He.transition;He.transition={};try{N()}finally{He.transition=z}},Ie.unstable_act=D,Ie.useCallback=function(N,z){return J.current.useCallback(N,z)},Ie.useContext=function(N){return J.current.useContext(N)},Ie.useDebugValue=function(){},Ie.useDeferredValue=function(N){return J.current.useDeferredValue(N)},Ie.useEffect=function(N,z){return J.current.useEffect(N,z)},Ie.useId=function(){return J.current.useId()},Ie.useImperativeHandle=function(N,z,A){return J.current.useImperativeHandle(N,z,A)},Ie.useInsertionEffect=function(N,z){return J.current.useInsertionEffect(N,z)},Ie.useLayoutEffect=function(N,z){return J.current.useLayoutEffect(N,z)},Ie.useMemo=function(N,z){return J.current.useMemo(N,z)},Ie.useReducer=function(N,z,A){return J.current.useReducer(N,z,A)},Ie.useRef=function(N){return J.current.useRef(N)},Ie.useState=function(N){return J.current.useState(N)},Ie.useSyncExternalStore=function(N,z,A){return J.current.useSyncExternalStore(N,z,A)},Ie.useTransition=function(){return J.current.useTransition()},Ie.version="18.3.1",Ie}var Fr={exports:{}};/**
|
|
39
|
+
* @license React
|
|
40
|
+
* react.development.js
|
|
41
|
+
*
|
|
42
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the MIT license found in the
|
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/Fr.exports;var la;function pc(){return la||(la=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.3.1",r=Symbol.for("react.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),S=Symbol.iterator,R="@@iterator";function v(p){if(p===null||typeof p!="object")return null;var C=S&&p[S]||p[R];return typeof C=="function"?C:null}var j={current:null},ee={transition:null},K={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},P={current:null},H={},se=null;function oe(p){se=p}H.setExtraStackFrame=function(p){se=p},H.getCurrentStack=null,H.getStackAddendum=function(){var p="";se&&(p+=se);var C=H.getCurrentStack;return C&&(p+=C()||""),p};var L=!1,G=!1,Y=!1,te=!1,re=!1,x={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:ee,ReactCurrentOwner:P};x.ReactDebugCurrentFrame=H,x.ReactCurrentActQueue=K;function Ne(p){{for(var C=arguments.length,F=new Array(C>1?C-1:0),B=1;B<C;B++)F[B-1]=arguments[B];He("warn",p,F)}}function J(p){{for(var C=arguments.length,F=new Array(C>1?C-1:0),B=1;B<C;B++)F[B-1]=arguments[B];He("error",p,F)}}function He(p,C,F){{var B=x.ReactDebugCurrentFrame,Q=B.getStackAddendum();Q!==""&&(C+="%s",F=F.concat([Q]));var he=F.map(function(ue){return String(ue)});he.unshift("Warning: "+C),Function.prototype.apply.call(console[p],console,he)}}var $e={};function D(p,C){{var F=p.constructor,B=F&&(F.displayName||F.name)||"ReactClass",Q=B+"."+C;if($e[Q])return;J("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",C,B),$e[Q]=!0}}var N={isMounted:function(p){return!1},enqueueForceUpdate:function(p,C,F){D(p,"forceUpdate")},enqueueReplaceState:function(p,C,F,B){D(p,"replaceState")},enqueueSetState:function(p,C,F,B){D(p,"setState")}},z=Object.assign,A={};Object.freeze(A);function le(p,C,F){this.props=p,this.context=C,this.refs=A,this.updater=F||N}le.prototype.isReactComponent={},le.prototype.setState=function(p,C){if(typeof p!="object"&&typeof p!="function"&&p!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,p,C,"setState")},le.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};{var ge={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},fe=function(p,C){Object.defineProperty(le.prototype,p,{get:function(){Ne("%s(...) is deprecated in plain JavaScript React classes. %s",C[0],C[1])}})};for(var Se in ge)ge.hasOwnProperty(Se)&&fe(Se,ge[Se])}function Te(){}Te.prototype=le.prototype;function Ce(p,C,F){this.props=p,this.context=C,this.refs=A,this.updater=F||N}var Pe=Ce.prototype=new Te;Pe.constructor=Ce,z(Pe,le.prototype),Pe.isPureReactComponent=!0;function Pt(){var p={current:null};return Object.seal(p),p}var zt=Array.isArray;function wt(p){return zt(p)}function sn(p){{var C=typeof Symbol=="function"&&Symbol.toStringTag,F=C&&p[Symbol.toStringTag]||p.constructor.name||"Object";return F}}function ht(p){try{return Ze(p),!1}catch{return!0}}function Ze(p){return""+p}function Et(p){if(ht(p))return J("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",sn(p)),Ze(p)}function Yt(p,C,F){var B=p.displayName;if(B)return B;var Q=C.displayName||C.name||"";return Q!==""?F+"("+Q+")":F}function st(p){return p.displayName||"Context"}function ot(p){if(p==null)return null;if(typeof p.tag=="number"&&J("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case i:return"Fragment";case u:return"Portal";case o:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case g:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case c:var C=p;return st(C)+".Consumer";case l:var F=p;return st(F._context)+".Provider";case f:return Yt(p,p.render,"ForwardRef");case m:var B=p.displayName||null;return B!==null?B:ot(p.type)||"Memo";case T:{var Q=p,he=Q._payload,ue=Q._init;try{return ot(ue(he))}catch{return null}}}return null}var It=Object.prototype.hasOwnProperty,_t={key:!0,ref:!0,__self:!0,__source:!0},Jt,Zt,St;St={};function M(p){if(It.call(p,"ref")){var C=Object.getOwnPropertyDescriptor(p,"ref").get;if(C&&C.isReactWarning)return!1}return p.ref!==void 0}function $(p){if(It.call(p,"key")){var C=Object.getOwnPropertyDescriptor(p,"key").get;if(C&&C.isReactWarning)return!1}return p.key!==void 0}function ce(p,C){var F=function(){Jt||(Jt=!0,J("%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)",C))};F.isReactWarning=!0,Object.defineProperty(p,"key",{get:F,configurable:!0})}function me(p,C){var F=function(){Zt||(Zt=!0,J("%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)",C))};F.isReactWarning=!0,Object.defineProperty(p,"ref",{get:F,configurable:!0})}function ke(p){if(typeof p.ref=="string"&&P.current&&p.__self&&P.current.stateNode!==p.__self){var C=ot(P.current.type);St[C]||(J('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C,p.ref),St[C]=!0)}}var Ye=function(p,C,F,B,Q,he,ue){var be={$$typeof:r,type:p,key:C,ref:F,props:ue,_owner:he};return be._store={},Object.defineProperty(be._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(be,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(be,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.freeze&&(Object.freeze(be.props),Object.freeze(be)),be};function bt(p,C,F){var B,Q={},he=null,ue=null,be=null,Le=null;if(C!=null){M(C)&&(ue=C.ref,ke(C)),$(C)&&(Et(C.key),he=""+C.key),be=C.__self===void 0?null:C.__self,Le=C.__source===void 0?null:C.__source;for(B in C)It.call(C,B)&&!_t.hasOwnProperty(B)&&(Q[B]=C[B])}var Be=arguments.length-2;if(Be===1)Q.children=F;else if(Be>1){for(var Ue=Array(Be),je=0;je<Be;je++)Ue[je]=arguments[je+2];Object.freeze&&Object.freeze(Ue),Q.children=Ue}if(p&&p.defaultProps){var qe=p.defaultProps;for(B in qe)Q[B]===void 0&&(Q[B]=qe[B])}if(he||ue){var Qe=typeof p=="function"?p.displayName||p.name||"Unknown":p;he&&ce(Q,Qe),ue&&me(Q,Qe)}return Ye(p,he,ue,be,Le,P.current,Q)}function lt(p,C){var F=Ye(p.type,C,p.ref,p._self,p._source,p._owner,p.props);return F}function kt(p,C,F){if(p==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+p+".");var B,Q=z({},p.props),he=p.key,ue=p.ref,be=p._self,Le=p._source,Be=p._owner;if(C!=null){M(C)&&(ue=C.ref,Be=P.current),$(C)&&(Et(C.key),he=""+C.key);var Ue;p.type&&p.type.defaultProps&&(Ue=p.type.defaultProps);for(B in C)It.call(C,B)&&!_t.hasOwnProperty(B)&&(C[B]===void 0&&Ue!==void 0?Q[B]=Ue[B]:Q[B]=C[B])}var je=arguments.length-2;if(je===1)Q.children=F;else if(je>1){for(var qe=Array(je),Qe=0;Qe<je;Qe++)qe[Qe]=arguments[Qe+2];Q.children=qe}return Ye(p.type,he,ue,be,Le,Be,Q)}function rt(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}var We=".",Ct=":";function ct(p){var C=/[=:]/g,F={"=":"=0",":":"=2"},B=p.replace(C,function(Q){return F[Q]});return"$"+B}var vt=!1,on=/\/+/g;function ut(p){return p.replace(on,"$&/")}function Rt(p,C){return typeof p=="object"&&p!==null&&p.key!=null?(Et(p.key),ct(""+p.key)):C.toString(36)}function Dt(p,C,F,B,Q){var he=typeof p;(he==="undefined"||he==="boolean")&&(p=null);var ue=!1;if(p===null)ue=!0;else switch(he){case"string":case"number":ue=!0;break;case"object":switch(p.$$typeof){case r:case u:ue=!0}}if(ue){var be=p,Le=Q(be),Be=B===""?We+Rt(be,0):B;if(wt(Le)){var Ue="";Be!=null&&(Ue=ut(Be)+"/"),Dt(Le,C,Ue,"",function(sc){return sc})}else Le!=null&&(rt(Le)&&(Le.key&&(!be||be.key!==Le.key)&&Et(Le.key),Le=lt(Le,F+(Le.key&&(!be||be.key!==Le.key)?ut(""+Le.key)+"/":"")+Be)),C.push(Le));return 1}var je,qe,Qe=0,tt=B===""?We:B+Ct;if(wt(p))for(var xr=0;xr<p.length;xr++)je=p[xr],qe=tt+Rt(je,xr),Qe+=Dt(je,C,F,qe,Q);else{var cu=v(p);if(typeof cu=="function"){var na=p;cu===na.entries&&(vt||Ne("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vt=!0);for(var ic=cu.call(na),ra,ac=0;!(ra=ic.next()).done;)je=ra.value,qe=tt+Rt(je,ac++),Qe+=Dt(je,C,F,qe,Q)}else if(he==="object"){var ua=String(p);throw new Error("Objects are not valid as a React child (found: "+(ua==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":ua)+"). If you meant to render a collection of children, use an array instead.")}}return Qe}function Bt(p,C,F){if(p==null)return p;var B=[],Q=0;return Dt(p,B,"","",function(he){return C.call(F,he,Q++)}),B}function Mn(p){var C=0;return Bt(p,function(){C++}),C}function ln(p,C,F){Bt(p,function(){C.apply(this,arguments)},F)}function Hn(p){return Bt(p,function(C){return C})||[]}function cn(p){if(!rt(p))throw new Error("React.Children.only expected to receive a single React element child.");return p}function fn(p){var C={$$typeof:c,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};C.Provider={$$typeof:l,_context:C};var F=!1,B=!1,Q=!1;{var he={$$typeof:c,_context:C};Object.defineProperties(he,{Provider:{get:function(){return B||(B=!0,J("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),C.Provider},set:function(ue){C.Provider=ue}},_currentValue:{get:function(){return C._currentValue},set:function(ue){C._currentValue=ue}},_currentValue2:{get:function(){return C._currentValue2},set:function(ue){C._currentValue2=ue}},_threadCount:{get:function(){return C._threadCount},set:function(ue){C._threadCount=ue}},Consumer:{get:function(){return F||(F=!0,J("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),C.Consumer}},displayName:{get:function(){return C.displayName},set:function(ue){Q||(Ne("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ue),Q=!0)}}}),C.Consumer=he}return C._currentRenderer=null,C._currentRenderer2=null,C}var qt=-1,hn=0,en=1,dn=2;function Un(p){if(p._status===qt){var C=p._result,F=C();if(F.then(function(he){if(p._status===hn||p._status===qt){var ue=p;ue._status=en,ue._result=he}},function(he){if(p._status===hn||p._status===qt){var ue=p;ue._status=dn,ue._result=he}}),p._status===qt){var B=p;B._status=hn,B._result=F}}if(p._status===en){var Q=p._result;return Q===void 0&&J(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
47
|
+
|
|
48
|
+
Your code should look like:
|
|
49
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
50
|
+
|
|
51
|
+
Did you accidentally put curly braces around the import?`,Q),"default"in Q||J(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
52
|
+
|
|
53
|
+
Your code should look like:
|
|
54
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,Q),Q.default}else throw p._result}function jn(p){var C={_status:qt,_result:p},F={$$typeof:T,_payload:C,_init:Un};{var B,Q;Object.defineProperties(F,{defaultProps:{configurable:!0,get:function(){return B},set:function(he){J("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),B=he,Object.defineProperty(F,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Q},set:function(he){J("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Q=he,Object.defineProperty(F,"propTypes",{enumerable:!0})}}})}return F}function zn(p){p!=null&&p.$$typeof===m?J("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof p!="function"?J("forwardRef requires a render function but was given %s.",p===null?"null":typeof p):p.length!==0&&p.length!==2&&J("forwardRef render functions accept exactly two parameters: props and ref. %s",p.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),p!=null&&(p.defaultProps!=null||p.propTypes!=null)&&J("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var C={$$typeof:f,render:p};{var F;Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(B){F=B,!p.name&&!p.displayName&&(p.displayName=B)}})}return C}var Cn;Cn=Symbol.for("react.module.reference");function h(p){return!!(typeof p=="string"||typeof p=="function"||p===i||p===o||re||p===a||p===d||p===g||te||p===O||L||G||Y||typeof p=="object"&&p!==null&&(p.$$typeof===T||p.$$typeof===m||p.$$typeof===l||p.$$typeof===c||p.$$typeof===f||p.$$typeof===Cn||p.getModuleId!==void 0))}function y(p,C){h(p)||J("memo: The first argument must be a component. Instead received: %s",p===null?"null":typeof p);var F={$$typeof:m,type:p,compare:C===void 0?null:C};{var B;Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return B},set:function(Q){B=Q,!p.name&&!p.displayName&&(p.displayName=Q)}})}return F}function k(){var p=j.current;return p===null&&J(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
55
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
56
|
+
2. You might be breaking the Rules of Hooks
|
|
57
|
+
3. You might have more than one copy of React in the same app
|
|
58
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),p}function V(p){var C=k();if(p._context!==void 0){var F=p._context;F.Consumer===p?J("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):F.Provider===p&&J("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return C.useContext(p)}function ne(p){var C=k();return C.useState(p)}function ae(p,C,F){var B=k();return B.useReducer(p,C,F)}function Z(p){var C=k();return C.useRef(p)}function X(p,C){var F=k();return F.useEffect(p,C)}function Fe(p,C){var F=k();return F.useInsertionEffect(p,C)}function pe(p,C){var F=k();return F.useLayoutEffect(p,C)}function Ee(p,C){var F=k();return F.useCallback(p,C)}function ve(p,C){var F=k();return F.useMemo(p,C)}function ft(p,C,F){var B=k();return B.useImperativeHandle(p,C,F)}function et(p,C){{var F=k();return F.useDebugValue(p,C)}}function we(){var p=k();return p.useTransition()}function Vt(p){var C=k();return C.useDeferredValue(p)}function Yn(){var p=k();return p.useId()}function qn(p,C,F){var B=k();return B.useSyncExternalStore(p,C,F)}var Vn=0,wi,vi,Bi,Mi,Hi,Ui,ji;function zi(){}zi.__reactDisabledLog=!0;function jl(){{if(Vn===0){wi=console.log,vi=console.info,Bi=console.warn,Mi=console.error,Hi=console.group,Ui=console.groupCollapsed,ji=console.groupEnd;var p={configurable:!0,enumerable:!0,value:zi,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}Vn++}}function zl(){{if(Vn--,Vn===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},p,{value:wi}),info:z({},p,{value:vi}),warn:z({},p,{value:Bi}),error:z({},p,{value:Mi}),group:z({},p,{value:Hi}),groupCollapsed:z({},p,{value:Ui}),groupEnd:z({},p,{value:ji})})}Vn<0&&J("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ru=x.ReactCurrentDispatcher,uu;function Tr(p,C,F){{if(uu===void 0)try{throw Error()}catch(Q){var B=Q.stack.trim().match(/\n( *(at )?)/);uu=B&&B[1]||""}return`
|
|
59
|
+
`+uu+p}}var iu=!1,Ar;{var Yl=typeof WeakMap=="function"?WeakMap:Map;Ar=new Yl}function Yi(p,C){if(!p||iu)return"";{var F=Ar.get(p);if(F!==void 0)return F}var B;iu=!0;var Q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var he;he=ru.current,ru.current=null,jl();try{if(C){var ue=function(){throw Error()};if(Object.defineProperty(ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(tt){B=tt}Reflect.construct(p,[],ue)}else{try{ue.call()}catch(tt){B=tt}p.call(ue.prototype)}}else{try{throw Error()}catch(tt){B=tt}p()}}catch(tt){if(tt&&B&&typeof tt.stack=="string"){for(var be=tt.stack.split(`
|
|
60
|
+
`),Le=B.stack.split(`
|
|
61
|
+
`),Be=be.length-1,Ue=Le.length-1;Be>=1&&Ue>=0&&be[Be]!==Le[Ue];)Ue--;for(;Be>=1&&Ue>=0;Be--,Ue--)if(be[Be]!==Le[Ue]){if(Be!==1||Ue!==1)do if(Be--,Ue--,Ue<0||be[Be]!==Le[Ue]){var je=`
|
|
62
|
+
`+be[Be].replace(" at new "," at ");return p.displayName&&je.includes("<anonymous>")&&(je=je.replace("<anonymous>",p.displayName)),typeof p=="function"&&Ar.set(p,je),je}while(Be>=1&&Ue>=0);break}}}finally{iu=!1,ru.current=he,zl(),Error.prepareStackTrace=Q}var qe=p?p.displayName||p.name:"",Qe=qe?Tr(qe):"";return typeof p=="function"&&Ar.set(p,Qe),Qe}function ql(p,C,F){return Yi(p,!1)}function Vl(p){var C=p.prototype;return!!(C&&C.isReactComponent)}function _r(p,C,F){if(p==null)return"";if(typeof p=="function")return Yi(p,Vl(p));if(typeof p=="string")return Tr(p);switch(p){case d:return Tr("Suspense");case g:return Tr("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case f:return ql(p.render);case m:return _r(p.type,C,F);case T:{var B=p,Q=B._payload,he=B._init;try{return _r(he(Q),C,F)}catch{}}}return""}var qi={},Vi=x.ReactDebugCurrentFrame;function Cr(p){if(p){var C=p._owner,F=_r(p.type,p._source,C?C.type:null);Vi.setExtraStackFrame(F)}else Vi.setExtraStackFrame(null)}function $l(p,C,F,B,Q){{var he=Function.call.bind(It);for(var ue in p)if(he(p,ue)){var be=void 0;try{if(typeof p[ue]!="function"){var Le=Error((B||"React class")+": "+F+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}be=p[ue](C,ue,B,F,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Be){be=Be}be&&!(be instanceof Error)&&(Cr(Q),J("%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).",B||"React class",F,ue,typeof be),Cr(null)),be instanceof Error&&!(be.message in qi)&&(qi[be.message]=!0,Cr(Q),J("Failed %s type: %s",F,be.message),Cr(null))}}}function Dn(p){if(p){var C=p._owner,F=_r(p.type,p._source,C?C.type:null);oe(F)}else oe(null)}var au;au=!1;function $i(){if(P.current){var p=ot(P.current.type);if(p)return`
|
|
63
|
+
|
|
64
|
+
Check the render method of \``+p+"`."}return""}function Wl(p){if(p!==void 0){var C=p.fileName.replace(/^.*[\\\/]/,""),F=p.lineNumber;return`
|
|
65
|
+
|
|
66
|
+
Check your code at `+C+":"+F+"."}return""}function Ql(p){return p!=null?Wl(p.__source):""}var Wi={};function Gl(p){var C=$i();if(!C){var F=typeof p=="string"?p:p.displayName||p.name;F&&(C=`
|
|
67
|
+
|
|
68
|
+
Check the top-level render call using <`+F+">.")}return C}function Qi(p,C){if(!(!p._store||p._store.validated||p.key!=null)){p._store.validated=!0;var F=Gl(C);if(!Wi[F]){Wi[F]=!0;var B="";p&&p._owner&&p._owner!==P.current&&(B=" It was passed a child from "+ot(p._owner.type)+"."),Dn(p),J('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',F,B),Dn(null)}}}function Gi(p,C){if(typeof p=="object"){if(wt(p))for(var F=0;F<p.length;F++){var B=p[F];rt(B)&&Qi(B,C)}else if(rt(p))p._store&&(p._store.validated=!0);else if(p){var Q=v(p);if(typeof Q=="function"&&Q!==p.entries)for(var he=Q.call(p),ue;!(ue=he.next()).done;)rt(ue.value)&&Qi(ue.value,C)}}}function Xi(p){{var C=p.type;if(C==null||typeof C=="string")return;var F;if(typeof C=="function")F=C.propTypes;else if(typeof C=="object"&&(C.$$typeof===f||C.$$typeof===m))F=C.propTypes;else return;if(F){var B=ot(C);$l(F,p.props,"prop",B,p)}else if(C.PropTypes!==void 0&&!au){au=!0;var Q=ot(C);J("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Q||"Unknown")}typeof C.getDefaultProps=="function"&&!C.getDefaultProps.isReactClassApproved&&J("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xl(p){{for(var C=Object.keys(p.props),F=0;F<C.length;F++){var B=C[F];if(B!=="children"&&B!=="key"){Dn(p),J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),Dn(null);break}}p.ref!==null&&(Dn(p),J("Invalid attribute `ref` supplied to `React.Fragment`."),Dn(null))}}function Ki(p,C,F){var B=h(p);if(!B){var Q="";(p===void 0||typeof p=="object"&&p!==null&&Object.keys(p).length===0)&&(Q+=" 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 he=Ql(C);he?Q+=he:Q+=$i();var ue;p===null?ue="null":wt(p)?ue="array":p!==void 0&&p.$$typeof===r?(ue="<"+(ot(p.type)||"Unknown")+" />",Q=" Did you accidentally export a JSX literal instead of a component?"):ue=typeof p,J("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ue,Q)}var be=bt.apply(this,arguments);if(be==null)return be;if(B)for(var Le=2;Le<arguments.length;Le++)Gi(arguments[Le],p);return p===i?Xl(be):Xi(be),be}var Ji=!1;function Kl(p){var C=Ki.bind(null,p);return C.type=p,Ji||(Ji=!0,Ne("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(C,"type",{enumerable:!1,get:function(){return Ne("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:p}),p}}),C}function Jl(p,C,F){for(var B=kt.apply(this,arguments),Q=2;Q<arguments.length;Q++)Gi(arguments[Q],B.type);return Xi(B),B}function Zl(p,C){var F=ee.transition;ee.transition={};var B=ee.transition;ee.transition._updatedFibers=new Set;try{p()}finally{if(ee.transition=F,F===null&&B._updatedFibers){var Q=B._updatedFibers.size;Q>10&&Ne("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),B._updatedFibers.clear()}}}var Zi=!1,Dr=null;function ec(p){if(Dr===null)try{var C=("require"+Math.random()).slice(0,7),F=e&&e[C];Dr=F.call(e,"timers").setImmediate}catch{Dr=function(B){Zi===!1&&(Zi=!0,typeof MessageChannel>"u"&&J("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Q=new MessageChannel;Q.port1.onmessage=B,Q.port2.postMessage(void 0)}}return Dr(p)}var yn=0,ea=!1;function ta(p){{var C=yn;yn++,K.current===null&&(K.current=[]);var F=K.isBatchingLegacy,B;try{if(K.isBatchingLegacy=!0,B=p(),!F&&K.didScheduleLegacyUpdate){var Q=K.current;Q!==null&&(K.didScheduleLegacyUpdate=!1,lu(Q))}}catch(qe){throw yr(C),qe}finally{K.isBatchingLegacy=F}if(B!==null&&typeof B=="object"&&typeof B.then=="function"){var he=B,ue=!1,be={then:function(qe,Qe){ue=!0,he.then(function(tt){yr(C),yn===0?su(tt,qe,Qe):qe(tt)},function(tt){yr(C),Qe(tt)})}};return!ea&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){ue||(ea=!0,J("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),be}else{var Le=B;if(yr(C),yn===0){var Be=K.current;Be!==null&&(lu(Be),K.current=null);var Ue={then:function(qe,Qe){K.current===null?(K.current=[],su(Le,qe,Qe)):qe(Le)}};return Ue}else{var je={then:function(qe,Qe){qe(Le)}};return je}}}}function yr(p){p!==yn-1&&J("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),yn=p}function su(p,C,F){{var B=K.current;if(B!==null)try{lu(B),ec(function(){B.length===0?(K.current=null,C(p)):su(p,C,F)})}catch(Q){F(Q)}else C(p)}}var ou=!1;function lu(p){if(!ou){ou=!0;var C=0;try{for(;C<p.length;C++){var F=p[C];do F=F(!0);while(F!==null)}p.length=0}catch(B){throw p=p.slice(C+1),B}finally{ou=!1}}}var tc=Ki,nc=Jl,rc=Kl,uc={map:Bt,forEach:ln,count:Mn,toArray:Hn,only:cn};t.Children=uc,t.Component=le,t.Fragment=i,t.Profiler=o,t.PureComponent=Ce,t.StrictMode=a,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x,t.act=ta,t.cloneElement=nc,t.createContext=fn,t.createElement=tc,t.createFactory=rc,t.createRef=Pt,t.forwardRef=zn,t.isValidElement=rt,t.lazy=jn,t.memo=y,t.startTransition=Zl,t.unstable_act=ta,t.useCallback=Ee,t.useContext=V,t.useDebugValue=et,t.useDeferredValue=Vt,t.useEffect=X,t.useId=Yn,t.useImperativeHandle=ft,t.useInsertionEffect=Fe,t.useLayoutEffect=pe,t.useMemo=ve,t.useReducer=ae,t.useRef=Z,t.useState=ne,t.useSyncExternalStore=qn,t.useTransition=we,t.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Fr,Fr.exports)),Fr.exports}process.env.NODE_ENV==="production"?dc():pc();const mc=e=>{var t;const n=[],r=[];let u=-1,i=-1;for(const{children:a,...o}of e){if(u<o.depth&&o.depth<=i+1){const l=o.depth-u;i=o.depth,((t=r[l-1]).children??(t.children=[])).push(o),r[l]=o;continue}n.push(o),r[0]=o,u=i=o.depth}return n};function ca(e){if(e)throw e}var Pr=Object.prototype.hasOwnProperty,Os=Object.prototype.toString,fa=Object.defineProperty,ha=Object.getOwnPropertyDescriptor,da=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Os.call(t)==="[object Array]"},pa=function(t){if(!t||Os.call(t)!=="[object Object]")return!1;var n=Pr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Pr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var u;for(u in t);return typeof u>"u"||Pr.call(t,u)},ma=function(t,n){fa&&n.name==="__proto__"?fa(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Ea=function(t,n){if(n==="__proto__")if(Pr.call(t,n)){if(ha)return ha(t,n).value}else return;return t[n]},Ec=function e(){var t,n,r,u,i,a,o=arguments[0],l=1,c=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=Ea(o,n),u=Ea(t,n),o!==u&&(f&&u&&(pa(u)||(i=da(u)))?(i?(i=!1,a=r&&da(r)?r:[]):a=r&&pa(r)?r:{},ma(o,{name:n,newValue:e(f,a,u)})):typeof u<"u"&&ma(o,{name:n,newValue:u}));return o};const fu=Ls(Ec);function Bu(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 bc(){const e=[],t={run:n,use:r};return t;function n(...u){let i=-1;const a=u.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...u);function o(l,...c){const f=e[++i];let d=-1;if(l){a(l);return}for(;++d<u.length;)(c[d]===null||c[d]===void 0)&&(c[d]=u[d]);u=c,f?gc(f,o)(...c):a(null,...c)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function gc(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(u);try{l=e.apply(this,a)}catch(c){const f=c;if(o&&n)throw f;return u(f)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,u):l instanceof Error?u(l):i(l))}function u(a,...o){n||(n=!0,t(a,...o))}function i(a){u(null,a)}}function tr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ba(e.position):"start"in e||"end"in e?ba(e):"line"in e||"column"in e?Mu(e):""}function Mu(e){return ga(e&&e.line)+":"+ga(e&&e.column)}function ba(e){return Mu(e&&e.start)+"-"+Mu(e&&e.end)}function ga(e){return e&&typeof e=="number"?e:1}class it extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?u=t:!i.cause&&t&&(a=!0,u=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?i.ruleId=r:(i.source=r.slice(0,l),i.ruleId=r.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=u,this.line=o?o.line:void 0,this.name=tr(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}it.prototype.file="";it.prototype.name="";it.prototype.reason="";it.prototype.message="";it.prototype.stack="";it.prototype.column=void 0;it.prototype.line=void 0;it.prototype.ancestors=void 0;it.prototype.cause=void 0;it.prototype.fatal=void 0;it.prototype.place=void 0;it.prototype.ruleId=void 0;it.prototype.source=void 0;const Mt={basename:Tc,dirname:Ac,extname:_c,join:Cc,sep:"/"};function Tc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');dr(e);let n=0,r=-1,u=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else r<0&&(i=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else a<0&&(i=!0,a=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Ac(e){if(dr(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 _c(e){dr(e);let t=e.length,n=-1,r=0,u=-1,i=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?u<0?u=t:i!==1&&(i=1):u>-1&&(i=-1)}return u<0||n<0||i===0||i===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function Cc(...e){let t=-1,n;for(;++t<e.length;)dr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Dc(n)}function Dc(e){dr(e);const t=e.codePointAt(0)===47;let n=yc(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function yc(e,t){let n="",r=0,u=-1,i=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(u===a-1||i===1))if(u!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),u=a,i=0;continue}}else if(n.length>0){n="",r=0,u=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,a):n=e.slice(u+1,a),r=a-u-1;u=a,i=0}else o===46&&i>-1?i++:i=-1}return n}function dr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const xc={cwd:Nc};function Nc(){return"/"}function Hu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Ic(e){if(typeof e=="string")e=new URL(e);else if(!Hu(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 Sc(e)}function Sc(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 u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const hu=["history","path","basename","stem","extname","dirname"];class kc{constructor(t){let n;t?Hu(t)?n={path:t}:typeof t=="string"||Rc(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":xc.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<hu.length;){const i=hu[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let u;for(u in n)hu.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Mt.basename(this.path):void 0}set basename(t){pu(t,"basename"),du(t,"basename"),this.path=Mt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Mt.dirname(this.path):void 0}set dirname(t){Ta(this.basename,"dirname"),this.path=Mt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Mt.extname(this.path):void 0}set extname(t){if(du(t,"extname"),Ta(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=Mt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Hu(t)&&(t=Ic(t)),pu(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Mt.basename(this.path,this.extname):void 0}set stem(t){pu(t,"stem"),du(t,"stem"),this.path=Mt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new it(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function du(e,t){if(e&&e.includes(Mt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Mt.sep+"`")}function pu(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ta(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Rc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Lc=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},Oc={}.hasOwnProperty;class ri extends Lc{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=bc()}copy(){const t=new ri;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(fu(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(bu("data",this.frozen),this.namespace[t]=n,this):Oc.call(this.namespace,t)&&this.namespace[t]||void 0:t?(bu("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 u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Nr(t),r=this.parser||this.Parser;return mu("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),mu("process",this.parser||this.Parser),Eu("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=Nr(t),l=r.parse(o);r.run(l,o,function(f,d,g){if(f||!d||!g)return c(f);const m=d,T=r.stringify(m,g);Pc(T)?g.value=T:g.result=T,c(f,g)});function c(f,d){f||!d?a(f):i?i(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),mu("processSync",this.parser||this.Parser),Eu("processSync",this.compiler||this.Compiler),this.process(t,u),Ca("processSync","process",n),r;function u(i,a){n=!0,ca(i),r=a}}run(t,n,r){_a(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,o){const l=Nr(n);u.run(t,l,c);function c(f,d,g){const m=d||t;f?o(f):a?a(m):r(void 0,m,g)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),Ca("runSync","run",r),u;function i(a,o){ca(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=Nr(n),u=this.compiler||this.Compiler;return Eu("stringify",u),_a(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(bu("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[f,...d]=c;l(f,d)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))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");o(c.plugins),c.settings&&(u.settings=fu(!0,u.settings,c.settings))}function o(c){let f=-1;if(c!=null)if(Array.isArray(c))for(;++f<c.length;){const d=c[f];i(d)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,f){let d=-1,g=-1;for(;++d<r.length;)if(r[d][0]===c){g=d;break}if(g===-1)r.push([c,...f]);else if(f.length>0){let[m,...T]=f;const O=r[g][1];Bu(O)&&Bu(m)&&(m=fu(!0,O,m)),r[g]=[c,m,...T]}}}}const Aa=new ri().freeze();function mu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Eu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function bu(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 _a(e){if(!Bu(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Ca(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Nr(e){return Fc(e)?e:new kc(e)}function Fc(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Pc(e){return typeof e=="string"||wc(e)}function wc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const vc={};function or(e,t){const n=vc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Fs(e,r,u)}function Fs(e,t,n){if(Bc(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 Da(e.children,t,n)}return Array.isArray(e)?Da(e,t,n):""}function Da(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Fs(e[u],t,n);return r.join("")}function Bc(e){return!!(e&&typeof e=="object")}const ya=document.createElement("i");function lr(e){const t="&"+e+";";ya.innerHTML=t;const n=ya.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function xt(e,t,n,r){const u=e.length;let i=0,a;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function yt(e,t){return e.length>0?(xt(e,e.length,0,t),e):t}const xa={}.hasOwnProperty;function Ps(e){const t={};let n=-1;for(;++n<e.length;)Mc(t,e[n]);return t}function Mc(e,t){let n;for(n in t){const u=(xa.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){xa.call(u,a)||(u[a]=[]);const o=i[a];Hc(u[a],Array.isArray(o)?o:o?[o]:[])}}}function Hc(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);xt(e,0,0,r)}function ws(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 Ot(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const nt=an(/[A-Za-z]/),Je=an(/[\dA-Za-z]/),Uc=an(/[#-'*+\--9=?A-Z^-~]/);function Hr(e){return e!==null&&(e<32||e===127)}const Uu=an(/\d/),jc=an(/[\dA-Fa-f]/),zc=an(/[!-/:-@[-`{-~]/);function ie(e){return e!==null&&e<-2}function Oe(e){return e!==null&&(e<0||e===32)}function De(e){return e===-2||e===-1||e===32}const $r=an(new RegExp("\\p{P}|\\p{S}","u")),gn=an(/\s/);function an(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function On(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Je(e.charCodeAt(n+1))&&Je(e.charCodeAt(n+2)))u=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(n+1);i<56320&&o>56319&&o<57344?(a=String.fromCharCode(i,o),u=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+u+1,a=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function _e(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return De(l)?(e.enter(n),o(l)):t(l)}function o(l){return De(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const Yc={tokenize:qc};function qc(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),_e(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ie(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const Vc={tokenize:$c},Na={tokenize:Wc};function $c(e){const t=this,n=[];let r=0,u,i,a;return o;function o(j){if(r<n.length){const ee=n[r];return t.containerState=ee[1],e.attempt(ee[0].continuation,l,c)(j)}return c(j)}function l(j){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&v();const ee=t.events.length;let K=ee,P;for(;K--;)if(t.events[K][0]==="exit"&&t.events[K][1].type==="chunkFlow"){P=t.events[K][1].end;break}R(r);let H=ee;for(;H<t.events.length;)t.events[H][1].end=Object.assign({},P),H++;return xt(t.events,K+1,0,t.events.slice(ee)),t.events.length=H,c(j)}return o(j)}function c(j){if(r===n.length){if(!u)return g(j);if(u.currentConstruct&&u.currentConstruct.concrete)return T(j);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Na,f,d)(j)}function f(j){return u&&v(),R(r),g(j)}function d(j){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,T(j)}function g(j){return t.containerState={},e.attempt(Na,m,T)(j)}function m(j){return r++,n.push([t.currentConstruct,t.containerState]),g(j)}function T(j){if(j===null){u&&v(),R(0),e.consume(j);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:u}),O(j)}function O(j){if(j===null){S(e.exit("chunkFlow"),!0),R(0),e.consume(j);return}return ie(j)?(e.consume(j),S(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(j),O)}function S(j,ee){const K=t.sliceStream(j);if(ee&&K.push(null),j.previous=i,i&&(i.next=j),i=j,u.defineSkip(j.start),u.write(K),t.parser.lazy[j.start.line]){let P=u.events.length;for(;P--;)if(u.events[P][1].start.offset<a&&(!u.events[P][1].end||u.events[P][1].end.offset>a))return;const H=t.events.length;let se=H,oe,L;for(;se--;)if(t.events[se][0]==="exit"&&t.events[se][1].type==="chunkFlow"){if(oe){L=t.events[se][1].end;break}oe=!0}for(R(r),P=H;P<t.events.length;)t.events[P][1].end=Object.assign({},L),P++;xt(t.events,se+1,0,t.events.slice(H)),t.events.length=P}}function R(j){let ee=n.length;for(;ee-- >j;){const K=n[ee];t.containerState=K[1],K[0].exit.call(t,e)}n.length=j}function v(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Wc(e,t,n){return _e(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ur(e){if(e===null||Oe(e)||gn(e))return 1;if($r(e))return 2}function Wr(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const i=e[u].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const ju={name:"attention",tokenize:Gc,resolveAll:Qc};function Qc(e,t){let n=-1,r,u,i,a,o,l,c,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;l=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 d=Object.assign({},e[r][1].end),g=Object.assign({},e[n][1].start);Ia(d,-l),Ia(g,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:g},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},u={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=yt(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=yt(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=yt(c,Wr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=yt(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=yt(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,xt(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Gc(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=Ur(r);let i;return a;function a(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const c=e.exit("attentionSequence"),f=Ur(l),d=!f||f===2&&u||n.includes(l),g=!u||u===2&&f||n.includes(r);return c._open=!!(i===42?d:d&&(u||!g)),c._close=!!(i===42?g:g&&(f||!d)),t(l)}}function Ia(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Xc={name:"autolink",tokenize:Kc};function Kc(e,t,n){let r=0;return u;function u(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(m){return nt(m)?(e.consume(m),a):m===64?n(m):c(m)}function a(m){return m===43||m===45||m===46||Je(m)?(r=1,o(m)):c(m)}function o(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||Je(m))&&r++<32?(e.consume(m),o):(r=0,c(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||Hr(m)?n(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),f):Uc(m)?(e.consume(m),c):n(m)}function f(m){return Je(m)?d(m):n(m)}function d(m){return m===46?(e.consume(m),r=0,f):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Je(m))&&r++<63){const T=m===45?g:d;return e.consume(m),T}return n(m)}}const pr={tokenize:Jc,partial:!0};function Jc(e,t,n){return r;function r(i){return De(i)?_e(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||ie(i)?t(i):n(i)}}const vs={name:"blockQuote",tokenize:Zc,continuation:{tokenize:ef},exit:tf};function Zc(e,t,n){const r=this;return u;function u(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return De(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function ef(e,t,n){const r=this;return u;function u(a){return De(a)?_e(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(vs,t,n)(a)}}function tf(e){e.exit("blockQuote")}const Bs={name:"characterEscape",tokenize:nf};function nf(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),u}function u(i){return zc(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Ms={name:"characterReference",tokenize:rf};function rf(e,t,n){const r=this;let u=0,i,a;return o;function o(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=Je,f(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=jc,f):(e.enter("characterReferenceValue"),i=7,a=Uu,f(d))}function f(d){if(d===59&&u){const g=e.exit("characterReferenceValue");return a===Je&&!lr(r.sliceSerialize(g))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(d)&&u++<i?(e.consume(d),f):n(d)}}const Sa={tokenize:af,partial:!0},ka={name:"codeFenced",tokenize:uf,concrete:!0};function uf(e,t,n){const r=this,u={tokenize:K,partial:!0};let i=0,a=0,o;return l;function l(P){return c(P)}function c(P){const H=r.events[r.events.length-1];return i=H&&H[1].type==="linePrefix"?H[2].sliceSerialize(H[1],!0).length:0,o=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(P)}function f(P){return P===o?(a++,e.consume(P),f):a<3?n(P):(e.exit("codeFencedFenceSequence"),De(P)?_e(e,d,"whitespace")(P):d(P))}function d(P){return P===null||ie(P)?(e.exit("codeFencedFence"),r.interrupt?t(P):e.check(Sa,O,ee)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(P))}function g(P){return P===null||ie(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(P)):De(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),_e(e,m,"whitespace")(P)):P===96&&P===o?n(P):(e.consume(P),g)}function m(P){return P===null||ie(P)?d(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),T(P))}function T(P){return P===null||ie(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(P)):P===96&&P===o?n(P):(e.consume(P),T)}function O(P){return e.attempt(u,ee,S)(P)}function S(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),R}function R(P){return i>0&&De(P)?_e(e,v,"linePrefix",i+1)(P):v(P)}function v(P){return P===null||ie(P)?e.check(Sa,O,ee)(P):(e.enter("codeFlowValue"),j(P))}function j(P){return P===null||ie(P)?(e.exit("codeFlowValue"),v(P)):(e.consume(P),j)}function ee(P){return e.exit("codeFenced"),t(P)}function K(P,H,se){let oe=0;return L;function L(x){return P.enter("lineEnding"),P.consume(x),P.exit("lineEnding"),G}function G(x){return P.enter("codeFencedFence"),De(x)?_e(P,Y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):Y(x)}function Y(x){return x===o?(P.enter("codeFencedFenceSequence"),te(x)):se(x)}function te(x){return x===o?(oe++,P.consume(x),te):oe>=a?(P.exit("codeFencedFenceSequence"),De(x)?_e(P,re,"whitespace")(x):re(x)):se(x)}function re(x){return x===null||ie(x)?(P.exit("codeFencedFence"),H(x)):se(x)}}}function af(e,t,n){const r=this;return u;function u(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const gu={name:"codeIndented",tokenize:of},sf={tokenize:lf,partial:!0};function of(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),_e(e,i,"linePrefix",5)(c)}function i(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):ie(c)?e.attempt(sf,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||ie(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function lf(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):ie(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):_e(e,i,"linePrefix",5)(a)}function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):ie(a)?u(a):n(a)}}const cf={name:"codeText",tokenize:df,resolve:ff,previous:hf};function ff(e){let t=e.length-4,n=3,r,u;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;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function hf(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function df(e,t,n){let r=0,u,i;return a;function a(d){return e.enter("codeText"),e.enter("codeTextSequence"),o(d)}function o(d){return d===96?(e.consume(d),r++,o):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),u=0,f(d)):ie(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||ie(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function f(d){return d===96?(e.consume(d),u++,f):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",c(d))}}class pf{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 u=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&Qn(this.left,r),i.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),Qn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Qn(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);Qn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Qn(this.left,n.reverse())}}}function Qn(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 Hs(e){const t={};let n=-1,r,u,i,a,o,l,c;const f=new pf(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"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,mf(f,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--&&(a=f.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(u&&(f.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);u&&(r[1].end=Object.assign({},f.get(u)[1].start),o=f.slice(u,n),o.unshift(r),f.splice(u,n-u+1,o))}}return xt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function mf(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),o=a.events,l=[],c={};let f,d,g=-1,m=n,T=0,O=0;const S=[O];for(;m;){for(;e.get(++u)[1]!==m;);i.push(u),m._tokenizer||(f=r.sliceStream(m),m.next||f.push(null),d&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=m,m=m.next}for(m=n;++g<o.length;)o[g][0]==="exit"&&o[g-1][0]==="enter"&&o[g][1].type===o[g-1][1].type&&o[g][1].start.line!==o[g][1].end.line&&(O=g+1,S.push(O),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):S.pop(),g=S.length;g--;){const R=o.slice(S[g],S[g+1]),v=i.pop();l.push([v,v+R.length-1]),e.splice(v,2,R)}for(l.reverse(),g=-1;++g<l.length;)c[T+l[g][0]]=T+l[g][1],T+=l[g][1]-l[g][0]-1;return c}const Ef={tokenize:Tf,resolve:gf},bf={tokenize:Af,partial:!0};function gf(e){return Hs(e),e}function Tf(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?i(o):ie(o)?e.check(bf,a,i)(o):(e.consume(o),u)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function Af(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),_e(e,i,"linePrefix")}function i(a){if(a===null||ie(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Us(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return d;function d(R){return R===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(R),e.exit(i),g):R===null||R===32||R===41||Hr(R)?n(R):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),O(R))}function g(R){return R===62?(e.enter(i),e.consume(R),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(R))}function m(R){return R===62?(e.exit("chunkString"),e.exit(o),g(R)):R===null||R===60||ie(R)?n(R):(e.consume(R),R===92?T:m)}function T(R){return R===60||R===62||R===92?(e.consume(R),m):m(R)}function O(R){return!f&&(R===null||R===41||Oe(R))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(R)):f<c&&R===40?(e.consume(R),f++,O):R===41?(e.consume(R),f--,O):R===null||R===32||R===40||Hr(R)?n(R):(e.consume(R),R===92?S:O)}function S(R){return R===40||R===41||R===92?(e.consume(R),O):O(R)}}function js(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(m){return e.enter(r),e.enter(u),e.consume(m),e.exit(u),e.enter(i),f}function f(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(m):m===93?(e.exit(i),e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):ie(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===null||m===91||m===93||ie(m)||o++>999?(e.exit("chunkString"),f(m)):(e.consume(m),l||(l=!De(m)),m===92?g:d)}function g(m){return m===91||m===92||m===93?(e.consume(m),o++,d):d(m)}}function zs(e,t,n,r,u,i){let a;return o;function o(g){return g===34||g===39||g===40?(e.enter(r),e.enter(u),e.consume(g),e.exit(u),a=g===40?41:g,l):n(g)}function l(g){return g===a?(e.enter(u),e.consume(g),e.exit(u),e.exit(r),t):(e.enter(i),c(g))}function c(g){return g===a?(e.exit(i),l(a)):g===null?n(g):ie(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),_e(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===a||g===null||ie(g)?(e.exit("chunkString"),c(g)):(e.consume(g),g===92?d:f)}function d(g){return g===a||g===92?(e.consume(g),f):f(g)}}function $t(e,t){let n;return r;function r(u){return ie(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):De(u)?_e(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const _f={name:"definition",tokenize:Df},Cf={tokenize:yf,partial:!0};function Df(e,t,n){const r=this;let u;return i;function i(m){return e.enter("definition"),a(m)}function a(m){return js.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return u=Ot(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return Oe(m)?$t(e,c)(m):c(m)}function c(m){return Us(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function f(m){return e.attempt(Cf,d,d)(m)}function d(m){return De(m)?_e(e,g,"whitespace")(m):g(m)}function g(m){return m===null||ie(m)?(e.exit("definition"),r.parser.defined.push(u),t(m)):n(m)}}function yf(e,t,n){return r;function r(o){return Oe(o)?$t(e,u)(o):n(o)}function u(o){return zs(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return De(o)?_e(e,a,"whitespace")(o):a(o)}function a(o){return o===null||ie(o)?t(o):n(o)}}const xf={name:"hardBreakEscape",tokenize:Nf};function Nf(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return ie(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const If={name:"headingAtx",tokenize:kf,resolve:Sf};function Sf(e,t){let n=e.length-2,r=3,u,i;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&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},xt(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function kf(e,t,n){let r=0;return u;function u(f){return e.enter("atxHeading"),i(f)}function i(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||Oe(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||ie(f)?(e.exit("atxHeading"),t(f)):De(f)?_e(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||Oe(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const Rf=["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"],Ra=["pre","script","style","textarea"],Lf={name:"htmlFlow",tokenize:wf,resolveTo:Pf,concrete:!0},Of={tokenize:Bf,partial:!0},Ff={tokenize:vf,partial:!0};function Pf(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 wf(e,t,n){const r=this;let u,i,a,o,l;return c;function c(A){return f(A)}function f(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),d}function d(A){return A===33?(e.consume(A),g):A===47?(e.consume(A),i=!0,O):A===63?(e.consume(A),u=3,r.interrupt?t:D):nt(A)?(e.consume(A),a=String.fromCharCode(A),S):n(A)}function g(A){return A===45?(e.consume(A),u=2,m):A===91?(e.consume(A),u=5,o=0,T):nt(A)?(e.consume(A),u=4,r.interrupt?t:D):n(A)}function m(A){return A===45?(e.consume(A),r.interrupt?t:D):n(A)}function T(A){const le="CDATA[";return A===le.charCodeAt(o++)?(e.consume(A),o===le.length?r.interrupt?t:Y:T):n(A)}function O(A){return nt(A)?(e.consume(A),a=String.fromCharCode(A),S):n(A)}function S(A){if(A===null||A===47||A===62||Oe(A)){const le=A===47,ge=a.toLowerCase();return!le&&!i&&Ra.includes(ge)?(u=1,r.interrupt?t(A):Y(A)):Rf.includes(a.toLowerCase())?(u=6,le?(e.consume(A),R):r.interrupt?t(A):Y(A)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(A):i?v(A):j(A))}return A===45||Je(A)?(e.consume(A),a+=String.fromCharCode(A),S):n(A)}function R(A){return A===62?(e.consume(A),r.interrupt?t:Y):n(A)}function v(A){return De(A)?(e.consume(A),v):L(A)}function j(A){return A===47?(e.consume(A),L):A===58||A===95||nt(A)?(e.consume(A),ee):De(A)?(e.consume(A),j):L(A)}function ee(A){return A===45||A===46||A===58||A===95||Je(A)?(e.consume(A),ee):K(A)}function K(A){return A===61?(e.consume(A),P):De(A)?(e.consume(A),K):j(A)}function P(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),l=A,H):De(A)?(e.consume(A),P):se(A)}function H(A){return A===l?(e.consume(A),l=null,oe):A===null||ie(A)?n(A):(e.consume(A),H)}function se(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||Oe(A)?K(A):(e.consume(A),se)}function oe(A){return A===47||A===62||De(A)?j(A):n(A)}function L(A){return A===62?(e.consume(A),G):n(A)}function G(A){return A===null||ie(A)?Y(A):De(A)?(e.consume(A),G):n(A)}function Y(A){return A===45&&u===2?(e.consume(A),Ne):A===60&&u===1?(e.consume(A),J):A===62&&u===4?(e.consume(A),N):A===63&&u===3?(e.consume(A),D):A===93&&u===5?(e.consume(A),$e):ie(A)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(Of,z,te)(A)):A===null||ie(A)?(e.exit("htmlFlowData"),te(A)):(e.consume(A),Y)}function te(A){return e.check(Ff,re,z)(A)}function re(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),x}function x(A){return A===null||ie(A)?te(A):(e.enter("htmlFlowData"),Y(A))}function Ne(A){return A===45?(e.consume(A),D):Y(A)}function J(A){return A===47?(e.consume(A),a="",He):Y(A)}function He(A){if(A===62){const le=a.toLowerCase();return Ra.includes(le)?(e.consume(A),N):Y(A)}return nt(A)&&a.length<8?(e.consume(A),a+=String.fromCharCode(A),He):Y(A)}function $e(A){return A===93?(e.consume(A),D):Y(A)}function D(A){return A===62?(e.consume(A),N):A===45&&u===2?(e.consume(A),D):Y(A)}function N(A){return A===null||ie(A)?(e.exit("htmlFlowData"),z(A)):(e.consume(A),N)}function z(A){return e.exit("htmlFlow"),t(A)}}function vf(e,t,n){const r=this;return u;function u(a){return ie(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Bf(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(pr,t,n)}}const Mf={name:"htmlText",tokenize:Hf};function Hf(e,t,n){const r=this;let u,i,a;return o;function o(D){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(D),l}function l(D){return D===33?(e.consume(D),c):D===47?(e.consume(D),K):D===63?(e.consume(D),j):nt(D)?(e.consume(D),se):n(D)}function c(D){return D===45?(e.consume(D),f):D===91?(e.consume(D),i=0,T):nt(D)?(e.consume(D),v):n(D)}function f(D){return D===45?(e.consume(D),m):n(D)}function d(D){return D===null?n(D):D===45?(e.consume(D),g):ie(D)?(a=d,J(D)):(e.consume(D),d)}function g(D){return D===45?(e.consume(D),m):d(D)}function m(D){return D===62?Ne(D):D===45?g(D):d(D)}function T(D){const N="CDATA[";return D===N.charCodeAt(i++)?(e.consume(D),i===N.length?O:T):n(D)}function O(D){return D===null?n(D):D===93?(e.consume(D),S):ie(D)?(a=O,J(D)):(e.consume(D),O)}function S(D){return D===93?(e.consume(D),R):O(D)}function R(D){return D===62?Ne(D):D===93?(e.consume(D),R):O(D)}function v(D){return D===null||D===62?Ne(D):ie(D)?(a=v,J(D)):(e.consume(D),v)}function j(D){return D===null?n(D):D===63?(e.consume(D),ee):ie(D)?(a=j,J(D)):(e.consume(D),j)}function ee(D){return D===62?Ne(D):j(D)}function K(D){return nt(D)?(e.consume(D),P):n(D)}function P(D){return D===45||Je(D)?(e.consume(D),P):H(D)}function H(D){return ie(D)?(a=H,J(D)):De(D)?(e.consume(D),H):Ne(D)}function se(D){return D===45||Je(D)?(e.consume(D),se):D===47||D===62||Oe(D)?oe(D):n(D)}function oe(D){return D===47?(e.consume(D),Ne):D===58||D===95||nt(D)?(e.consume(D),L):ie(D)?(a=oe,J(D)):De(D)?(e.consume(D),oe):Ne(D)}function L(D){return D===45||D===46||D===58||D===95||Je(D)?(e.consume(D),L):G(D)}function G(D){return D===61?(e.consume(D),Y):ie(D)?(a=G,J(D)):De(D)?(e.consume(D),G):oe(D)}function Y(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),u=D,te):ie(D)?(a=Y,J(D)):De(D)?(e.consume(D),Y):(e.consume(D),re)}function te(D){return D===u?(e.consume(D),u=void 0,x):D===null?n(D):ie(D)?(a=te,J(D)):(e.consume(D),te)}function re(D){return D===null||D===34||D===39||D===60||D===61||D===96?n(D):D===47||D===62||Oe(D)?oe(D):(e.consume(D),re)}function x(D){return D===47||D===62||Oe(D)?oe(D):n(D)}function Ne(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"),He}function He(D){return De(D)?_e(e,$e,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):$e(D)}function $e(D){return e.enter("htmlTextData"),a(D)}}const ui={name:"labelEnd",tokenize:Vf,resolveTo:qf,resolveAll:Yf},Uf={tokenize:$f},jf={tokenize:Wf},zf={tokenize:Qf};function Yf(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function qf(e,t){let n=e.length,r=0,u,i,a,o;for(;n--;)if(u=e[n][1],i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(a=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[a][1].end)},f={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=yt(o,e.slice(i+1,i+r+3)),o=yt(o,[["enter",f,t]]),o=yt(o,Wr(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=yt(o,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),o=yt(o,e.slice(a+1)),o=yt(o,[["exit",l,t]]),xt(e,i,e.length,o),e}function Vf(e,t,n){const r=this;let u=r.events.length,i,a;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){i=r.events[u][1];break}return o;function o(g){return i?i._inactive?d(g):(a=r.parser.defined.includes(Ot(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),l):n(g)}function l(g){return g===40?e.attempt(Uf,f,a?f:d)(g):g===91?e.attempt(jf,f,a?c:d)(g):a?f(g):d(g)}function c(g){return e.attempt(zf,f,d)(g)}function f(g){return t(g)}function d(g){return i._balanced=!0,n(g)}}function $f(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),u}function u(d){return Oe(d)?$t(e,i)(d):i(d)}function i(d){return d===41?f(d):Us(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function a(d){return Oe(d)?$t(e,l)(d):f(d)}function o(d){return n(d)}function l(d){return d===34||d===39||d===40?zs(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function c(d){return Oe(d)?$t(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function Wf(e,t,n){const r=this;return u;function u(o){return js.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(Ot(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function Qf(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),u}function u(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const Gf={name:"labelStartImage",tokenize:Xf,resolveAll:ui.resolveAll};function Xf(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Kf={name:"labelStartLink",tokenize:Jf,resolveAll:ui.resolveAll};function Jf(e,t,n){const r=this;return u;function u(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Tu={name:"lineEnding",tokenize:Zf};function Zf(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),_e(e,t,"linePrefix")}}const wr={name:"thematicBreak",tokenize:e0};function e0(e,t,n){let r=0,u;return i;function i(c){return e.enter("thematicBreak"),a(c)}function a(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||ie(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),De(c)?_e(e,o,"whitespace")(c):o(c))}}const pt={name:"list",tokenize:r0,continuation:{tokenize:u0},exit:a0},t0={tokenize:s0,partial:!0},n0={tokenize:i0,partial:!0};function r0(e,t,n){const r=this,u=r.events[r.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(m){const T=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Uu(m)){if(r.containerState.type||(r.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(wr,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return Uu(m)&&++a<10?(e.consume(m),l):(!r.interrupt||a<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(pr,r.interrupt?n:f,e.attempt(t0,g,d))}function f(m){return r.containerState.initialBlankLine=!0,i++,g(m)}function d(m){return De(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):n(m)}function g(m){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function u0(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(pr,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,_e(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!De(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(n0,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,_e(e,e.attempt(pt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function i0(e,t,n){const r=this;return _e(e,u,"listItemIndent",r.containerState.size+1);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function a0(e){e.exit(this.containerState.type)}function s0(e,t,n){const r=this;return _e(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const a=r.events[r.events.length-1];return!De(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const La={name:"setextUnderline",tokenize:l0,resolveTo:o0};function o0(e,t){let n=e.length,r,u,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:Object.assign({},e[u][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[u][1].type="setextHeadingText",i?(e.splice(u,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function l0(e,t,n){const r=this;let u;return i;function i(c){let f=r.events.length,d;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){d=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),u=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),De(c)?_e(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ie(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const c0={tokenize:f0};function f0(e){const t=this,n=e.attempt(pr,r,e.attempt(this.parser.constructs.flowInitial,u,_e(e,e.attempt(this.parser.constructs.flow,u,e.attempt(Ef,u)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const h0={resolveAll:qs()},d0=Ys("string"),p0=Ys("text");function Ys(e){return{tokenize:t,resolveAll:qs(e==="text"?m0:void 0)};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(f){return c(f)?i(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),i(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const d=u[f];let g=-1;if(d)for(;++g<d.length;){const m=d[g];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function qs(e){return t;function t(n,r){let u=-1,i;for(;++u<=n.length;)i===void 0?n[u]&&n[u][1].type==="data"&&(i=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==i+2&&(n[i][1].end=n[u-1][1].end,n.splice(i+2,u-i-2),u=i+2),i=void 0);return e?e(n,r):n}}function m0(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],u=t.sliceStream(r);let i=u.length,a=-1,o=0,l;for(;i--;){const c=u[i];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-o,offset:r.end.offset-o,_index:r.start._index+i,_bufferIndex:i?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function E0(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const u={},i=[];let a=[],o=[];const l={consume:v,enter:j,exit:ee,attempt:H(K),check:H(P),interrupt:H(P,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:g,now:T,defineSkip:O,write:d};let f=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(G){return a=yt(a,G),S(),a[a.length-1]!==null?[]:(se(t,0),c.events=Wr(i,c.events,c),c.events)}function g(G,Y){return g0(m(G),Y)}function m(G){return b0(a,G)}function T(){const{line:G,column:Y,offset:te,_index:re,_bufferIndex:x}=r;return{line:G,column:Y,offset:te,_index:re,_bufferIndex:x}}function O(G){u[G.line]=G.column,L()}function S(){let G;for(;r._index<a.length;){const Y=a[r._index];if(typeof Y=="string")for(G=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===G&&r._bufferIndex<Y.length;)R(Y.charCodeAt(r._bufferIndex));else R(Y)}}function R(G){f=f(G)}function v(G){ie(G)?(r.line++,r.column=1,r.offset+=G===-3?2:1,L()):G!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=G}function j(G,Y){const te=Y||{};return te.type=G,te.start=T(),c.events.push(["enter",te,c]),o.push(te),te}function ee(G){const Y=o.pop();return Y.end=T(),c.events.push(["exit",Y,c]),Y}function K(G,Y){se(G,Y.from)}function P(G,Y){Y.restore()}function H(G,Y){return te;function te(re,x,Ne){let J,He,$e,D;return Array.isArray(re)?z(re):"tokenize"in re?z([re]):N(re);function N(fe){return Se;function Se(Te){const Ce=Te!==null&&fe[Te],Pe=Te!==null&&fe.null,Pt=[...Array.isArray(Ce)?Ce:Ce?[Ce]:[],...Array.isArray(Pe)?Pe:Pe?[Pe]:[]];return z(Pt)(Te)}}function z(fe){return J=fe,He=0,fe.length===0?Ne:A(fe[He])}function A(fe){return Se;function Se(Te){return D=oe(),$e=fe,fe.partial||(c.currentConstruct=fe),fe.name&&c.parser.constructs.disable.null.includes(fe.name)?ge():fe.tokenize.call(Y?Object.assign(Object.create(c),Y):c,l,le,ge)(Te)}}function le(fe){return G($e,D),x}function ge(fe){return D.restore(),++He<J.length?A(J[He]):Ne}}}function se(G,Y){G.resolveAll&&!i.includes(G)&&i.push(G),G.resolve&&xt(c.events,Y,c.events.length-Y,G.resolve(c.events.slice(Y),c)),G.resolveTo&&(c.events=G.resolveTo(c.events,c))}function oe(){const G=T(),Y=c.previous,te=c.currentConstruct,re=c.events.length,x=Array.from(o);return{restore:Ne,from:re};function Ne(){r=G,c.previous=Y,c.currentConstruct=te,c.events.length=re,o=x,L()}}function L(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function b0(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,i=t.end._bufferIndex;let a;if(n===u)a=[e[n].slice(r,i)];else{if(a=e.slice(n,u),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}i>0&&a.push(e[u].slice(0,i))}return a}function g0(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
|
|
31
69
|
`;break}case-3:{a=`\r
|
|
32
|
-
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&u)continue;a=" ";break}default:a=String.fromCharCode(i)}u=i===-2,r.push(a)}return r.join("")}const zc={42:je,43:je,45:je,48:je,49:je,50:je,51:je,52:je,53:je,54:je,55:je,56:je,57:je,62:ka},jc={91:Yl},Yc={[-2]:Mr,[-1]:Mr,32:Mr},qc={35:$l,42:Jn,45:[xi,Jn],60:Zl,61:xi,95:Jn,96:_i,126:_i},Vc={38:La,92:Ra},Wc={[-5]:vr,[-4]:vr,[-3]:vr,33:Tc,38:La,42:au,60:[gl,ac],91:gc,92:[Ql,Ra],93:Du,95:au,96:Fl},Qc={null:[au,Pc]},Gc={null:[42,95]},$c={null:[]},Xc=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Gc,contentInitial:jc,disable:$c,document:zc,flow:qc,flowInitial:Yc,insideSpan:Qc,string:Vc,text:Wc},Symbol.toStringTag,{value:"Module"}));function Kc(e){const n=Ia([Xc,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:u(hl),document:u(ml),flow:u(Fc),string:u(wc),text:u(Bc)};return r;function u(i){return a;function a(o){return vc(r,i,o)}}}function Jc(e){for(;!Fa(e););return e}const Ni=/[\0\t\n\r]/g;function Zc(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,f,d,T,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(Ni.lastIndex=d,c=Ni.exec(i),T=c&&c.index!==void 0?c.index:i.length,p=i.charCodeAt(T),!c){t=i.slice(d);break}if(p===10&&d===T&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<T&&(l.push(i.slice(d,T)),e+=T-d),p){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=T+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const e0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function t0(e){return e.replace(e0,n0)}function n0(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return Sa(n.slice(i?2:1),i?16:10)}return Pn(n)||e}const va={}.hasOwnProperty;function r0(e,t,n){return typeof t!="string"&&(n=t,t=void 0),u0(n)(Jc(Kc(n).document().write(Zc()(e,t,!0))))}function u0(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Ze),autolinkProtocol:J,autolinkEmail:J,atxHeading:i(Je),blockQuote:i(Fe),characterEscape:J,characterReference:J,codeFenced:i(_t),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(_t,a),codeText:i(kt,a),codeTextData:J,data:J,codeFlowValue:J,definition:i(un),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(an),hardBreakEscape:i(Ue),hardBreakTrailing:i(Ue),htmlFlow:i(Dt,a),htmlFlowData:J,htmlText:i(Dt,a),htmlTextData:J,image:i(Rt),label:a,link:i(Ze),listItem:i(sn),listItemValue:T,listOrdered:i(qt,d),listUnordered:i(qt),paragraph:i(dt),reference:C,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Je),strong:i(on),thematicBreak:i(Lt)},exit:{atxHeading:l(),atxHeadingSequence:K,autolink:l(),autolinkEmail:He,autolinkProtocol:xe,blockQuote:l(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:rt,characterReferenceMarkerNumeric:rt,characterReferenceValue:Te,characterReference:qe,codeFenced:l(N),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:I,codeIndented:l(y),codeText:l(D),codeTextData:I,data:I,definition:l(),definitionDestinationString:Q,definitionLabelString:L,definitionTitleString:B,emphasis:l(),hardBreakEscape:l(v),hardBreakTrailing:l(v),htmlFlow:l(G),htmlFlowData:I,htmlText:l(X),htmlTextData:I,image:l(Ae),label:we,labelText:Se,lineEnding:j,link:l(me),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Me,resourceDestinationString:A,resourceTitleString:ke,resource:Be,setextHeading:l(ee),setextHeadingLineSequence:w,setextHeadingText:F,strong:l(),thematicBreak:l()}};Ha(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(O){let U={type:"root",children:[]};const Z={stack:[U],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:f,data:n},ie=[];let he=-1;for(;++he<O.length;)if(O[he][1].type==="listOrdered"||O[he][1].type==="listUnordered")if(O[he][0]==="enter")ie.push(he);else{const De=ie.pop();he=u(O,De,he)}for(he=-1;++he<O.length;){const De=t[O[he][0]];va.call(De,O[he][1].type)&&De[O[he][1].type].call(Object.assign({sliceSerialize:O[he][2].sliceSerialize},Z),O[he][1])}if(Z.tokenStack.length>0){const De=Z.tokenStack[Z.tokenStack.length-1];(De[1]||yi).call(Z,void 0,De[0])}for(U.position={start:xt(O.length>0?O[0][1].start:{line:1,column:1,offset:0}),end:xt(O.length>0?O[O.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he<t.transforms.length;)U=t.transforms[he](U)||U;return U}function u(O,U,Z){let ie=U-1,he=-1,De=!1,ut,Ve,mt,pt;for(;++ie<=Z;){const Re=O[ie];switch(Re[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Re[0]==="enter"?he++:he--,pt=void 0;break}case"lineEndingBlank":{Re[0]==="enter"&&(ut&&!pt&&!he&&!mt&&(mt=ie),pt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:pt=void 0}if(!he&&Re[0]==="enter"&&Re[1].type==="listItemPrefix"||he===-1&&Re[0]==="exit"&&(Re[1].type==="listUnordered"||Re[1].type==="listOrdered")){if(ut){let ot=ie;for(Ve=void 0;ot--;){const We=O[ot];if(We[1].type==="lineEnding"||We[1].type==="lineEndingBlank"){if(We[0]==="exit")continue;Ve&&(O[Ve][1].type="lineEndingBlank",De=!0),We[1].type="lineEnding",Ve=ot}else if(!(We[1].type==="linePrefix"||We[1].type==="blockQuotePrefix"||We[1].type==="blockQuotePrefixWhitespace"||We[1].type==="blockQuoteMarker"||We[1].type==="listItemIndent"))break}mt&&(!Ve||mt<Ve)&&(ut._spread=!0),ut.end=Object.assign({},Ve?O[Ve][1].start:Re[1].end),O.splice(Ve||ie,0,["exit",ut,Re[2]]),ie++,Z++}if(Re[1].type==="listItemPrefix"){const ot={type:"listItem",_spread:!1,start:Object.assign({},Re[1].start),end:void 0};ut=ot,O.splice(ie,0,["enter",ot,Re[2]]),ie++,Z++,mt=void 0,pt=!0}}}return O[U][1]._spread=De,Z}function i(O,U){return Z;function Z(ie){o.call(this,O(ie),ie),U&&U.call(this,ie)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(O,U,Z){this.stack[this.stack.length-1].children.push(O),this.stack.push(O),this.tokenStack.push([U,Z]),O.position={start:xt(U.start),end:void 0}}function l(O){return U;function U(Z){O&&O.call(this,Z),c.call(this,Z)}}function c(O,U){const Z=this.stack.pop(),ie=this.tokenStack.pop();if(ie)ie[0].type!==O.type&&(U?U.call(this,O,ie[0]):(ie[1]||yi).call(this,O,ie[0]));else throw new Error("Cannot close `"+O.type+"` ("+yn({start:O.start,end:O.end})+"): it’s not open");Z.position.end=xt(O.end)}function f(){return On(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function T(O){if(this.data.expectingFirstListItemValue){const U=this.stack[this.stack.length-2];U.start=Number.parseInt(this.sliceSerialize(O),10),this.data.expectingFirstListItemValue=void 0}}function p(){const O=this.resume(),U=this.stack[this.stack.length-1];U.lang=O}function g(){const O=this.resume(),U=this.stack[this.stack.length-1];U.meta=O}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O.replace(/(\r?\n|\r)$/g,"")}function L(O){const U=this.resume(),Z=this.stack[this.stack.length-1];Z.label=U,Z.identifier=at(this.sliceSerialize(O)).toLowerCase()}function B(){const O=this.resume(),U=this.stack[this.stack.length-1];U.title=O}function Q(){const O=this.resume(),U=this.stack[this.stack.length-1];U.url=O}function K(O){const U=this.stack[this.stack.length-1];if(!U.depth){const Z=this.sliceSerialize(O).length;U.depth=Z}}function F(){this.data.setextHeadingSlurpLineEnding=!0}function w(O){const U=this.stack[this.stack.length-1];U.depth=this.sliceSerialize(O).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function J(O){const Z=this.stack[this.stack.length-1].children;let ie=Z[Z.length-1];(!ie||ie.type!=="text")&&(ie=ln(),ie.position={start:xt(O.start),end:void 0},Z.push(ie)),this.stack.push(ie)}function I(O){const U=this.stack.pop();U.value+=this.sliceSerialize(O),U.position.end=xt(O.end)}function j(O){const U=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Z=U.children[U.children.length-1];Z.position.end=xt(O.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(U.type)&&(J.call(this,O),I.call(this,O))}function v(){this.data.atHardBreak=!0}function G(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function X(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function D(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function me(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=U,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function Ae(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=U,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function Se(O){const U=this.sliceSerialize(O),Z=this.stack[this.stack.length-2];Z.label=t0(U),Z.identifier=at(U).toLowerCase()}function we(){const O=this.stack[this.stack.length-1],U=this.resume(),Z=this.stack[this.stack.length-1];if(this.data.inReference=!0,Z.type==="link"){const ie=O.children;Z.children=ie}else Z.alt=U}function A(){const O=this.resume(),U=this.stack[this.stack.length-1];U.url=O}function ke(){const O=this.resume(),U=this.stack[this.stack.length-1];U.title=O}function Be(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function Me(O){const U=this.resume(),Z=this.stack[this.stack.length-1];Z.label=U,Z.identifier=at(this.sliceSerialize(O)).toLowerCase(),this.data.referenceType="full"}function rt(O){this.data.characterReferenceType=O.type}function Te(O){const U=this.sliceSerialize(O),Z=this.data.characterReferenceType;let ie;Z?(ie=Sa(U,Z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ie=Pn(U);const he=this.stack[this.stack.length-1];he.value+=ie}function qe(O){const U=this.stack.pop();U.position.end=xt(O.end)}function xe(O){I.call(this,O);const U=this.stack[this.stack.length-1];U.url=this.sliceSerialize(O)}function He(O){I.call(this,O);const U=this.stack[this.stack.length-1];U.url="mailto:"+this.sliceSerialize(O)}function Fe(){return{type:"blockquote",children:[]}}function _t(){return{type:"code",lang:null,meta:null,value:""}}function kt(){return{type:"inlineCode",value:""}}function un(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function an(){return{type:"emphasis",children:[]}}function Je(){return{type:"heading",depth:0,children:[]}}function Ue(){return{type:"break"}}function Dt(){return{type:"html",value:""}}function Rt(){return{type:"image",title:null,url:"",alt:null}}function Ze(){return{type:"link",title:null,url:"",children:[]}}function qt(O){return{type:"list",ordered:O.type==="listOrdered",start:null,spread:O._spread,children:[]}}function sn(O){return{type:"listItem",spread:O._spread,checked:null,children:[]}}function dt(){return{type:"paragraph",children:[]}}function on(){return{type:"strong",children:[]}}function ln(){return{type:"text",value:""}}function Lt(){return{type:"thematicBreak"}}}function xt(e){return{line:e.line,column:e.column,offset:e.offset}}function Ha(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Ha(e,r):i0(e,r)}}function i0(e,t){let n;for(n in t)if(va.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 yi(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+yn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+yn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+yn({start:t.start,end:t.end})+") is still open")}function Ii(e){const t=this;t.parser=n;function n(r){return r0(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Si(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function a0(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const fr=function(e){if(e==null)return c0;if(typeof e=="function")return hr(e);if(typeof e=="object")return Array.isArray(e)?s0(e):o0(e);if(typeof e=="string")return l0(e);throw new Error("Expected function, string, or object as test")};function s0(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=fr(e[n]);return hr(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function o0(e){const t=e;return hr(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function l0(e){return hr(t);function t(n){return n&&n.type===e}}function hr(e){return t;function t(n,r,u){return!!(f0(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function c0(){return!0}function f0(e){return e!==null&&typeof e=="object"&&"type"in e}const Ua=[],h0=!0,su=!1,d0="skip";function xu(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=fr(u),a=r?-1:1;o(e,void 0,[])();function o(l,c,f){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(T,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return T;function T(){let p=Ua,g,S,N;if((!t||i(l,c,f[f.length-1]||void 0))&&(p=m0(n(l,f)),p[0]===su))return p;if("children"in l&&l.children){const y=l;if(y.children&&p[0]!==d0)for(S=(r?y.children.length:-1)+a,N=f.concat(y);S>-1&&S<y.children.length;){const L=y.children[S];if(g=o(L,S,N)(),g[0]===su)return g;S=typeof g[1]=="number"?g[1]:S+a}}return p}}}function m0(e){return Array.isArray(e)?e:typeof e=="number"?[h0,e]:e==null?Ua:[e]}function za(e,t,n){const u=fr((n||{}).ignore||[]),i=p0(t);let a=-1;for(;++a<i.length;)xu(e,"text",o);function o(c,f){let d=-1,T;for(;++d<f.length;){const p=f[d],g=T?T.children:void 0;if(u(p,g?g.indexOf(p):void 0,T))return;T=p}if(T)return l(c,f)}function l(c,f){const d=f[f.length-1],T=i[a][0],p=i[a][1];let g=0;const N=d.children.indexOf(c);let y=!1,L=[];T.lastIndex=0;let B=T.exec(c.value);for(;B;){const Q=B.index,K={index:B.index,input:B.input,stack:[...f,c]};let F=p(...B,K);if(typeof F=="string"&&(F=F.length>0?{type:"text",value:F}:void 0),F===!1?T.lastIndex=Q+1:(g!==Q&&L.push({type:"text",value:c.value.slice(g,Q)}),Array.isArray(F)?L.push(...F):F&&L.push(F),g=Q+B[0].length,y=!0),!T.global)break;B=T.exec(c.value)}return y?(g<c.value.length&&L.push({type:"text",value:c.value.slice(g)}),d.children.splice(N,1,...L)):L=[c],N+L.length}}function p0(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 u=n[r];t.push([E0(u[0]),T0(u[1])])}return t}function E0(e){return typeof e=="string"?new RegExp(a0(e),"g"):e}function T0(e){return typeof e=="function"?e:function(){return e}}const Hr="phrasing",Ur=["autolink","link","image","label"];function b0(){return{transforms:[N0],enter:{literalAutolink:A0,literalAutolinkEmail:zr,literalAutolinkHttp:zr,literalAutolinkWww:zr},exit:{literalAutolink:x0,literalAutolinkEmail:D0,literalAutolinkHttp:C0,literalAutolinkWww:_0}}}function g0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Hr,notInConstruct:Ur},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Hr,notInConstruct:Ur},{character:":",before:"[ps]",after:"\\/",inConstruct:Hr,notInConstruct:Ur}]}}function A0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zr(e){this.config.enter.autolinkProtocol.call(this,e)}function C0(e){this.config.exit.autolinkProtocol.call(this,e)}function _0(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 D0(e){this.config.exit.autolinkEmail.call(this,e)}function x0(e){this.exit(e)}function N0(e){za(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,y0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,I0]],{ignore:["link","linkReference"]})}function y0(e,t,n,r,u){let i="";if(!ja(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!S0(n)))return!1;const a=k0(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function I0(e,t,n,r){return!ja(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function S0(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 k0(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 u=Si(e,"(");let i=Si(e,")");for(;r!==-1&&u>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function ja(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ut(n)||lr(n))&&(!t||n!==47)}Ya.peek=U0;function R0(){return{enter:{gfmFootnoteDefinition:F0,gfmFootnoteDefinitionLabelString:O0,gfmFootnoteCall:B0,gfmFootnoteCallString:M0},exit:{gfmFootnoteDefinition:w0,gfmFootnoteDefinitionLabelString:P0,gfmFootnoteCall:H0,gfmFootnoteCallString:v0}}}function L0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:z0,footnoteReference:Ya}}}function F0(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function O0(){this.buffer()}function P0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=at(this.sliceSerialize(e)).toLowerCase()}function w0(e){this.exit(e)}function B0(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function M0(){this.buffer()}function v0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=at(this.sliceSerialize(e)).toLowerCase()}function H0(e){this.exit(e)}function Ya(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),a(),i+=u.move("]"),i}function U0(){return"["}function z0(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),i+=u.move("]:"+(e.children&&e.children.length>0?" ":"")),u.shift(4),i+=u.move(n.indentLines(n.containerFlow(e,u.current()),j0)),a(),i}function j0(e,t,n){return t===0?e:(n?"":" ")+e}const Y0=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];qa.peek=G0;function q0(){return{canContainEols:["delete"],enter:{strikethrough:W0},exit:{strikethrough:Q0}}}function V0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Y0}],handlers:{delete:qa}}}function W0(e){this.enter({type:"delete",children:[]},e)}function Q0(e){this.exit(e)}function qa(e,t,n,r){const u=n.createTracker(r),i=n.enter("strikethrough");let a=u.move("~~");return a+=n.containerPhrasing(e,{...u.current(),before:a,after:"~"}),a+=u.move("~~"),i(),a}function G0(){return"~"}function $0(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||K0,u=[],i=[],a=[],o=[];let l=0,c=-1;for(;++c<e.length;){const g=[],S=[];let N=-1;for(e[c].length>l&&(l=e[c].length);++N<e[c].length;){const y=X0(e[c][N]);if(t.alignDelimiters!==!1){const L=r(y);S[N]=L,(o[N]===void 0||L>o[N])&&(o[N]=L)}g.push(y)}i[c]=g,a[c]=S}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)u[f]=ki(n[f]);else{const g=ki(n);for(;++f<l;)u[f]=g}f=-1;const d=[],T=[];for(;++f<l;){const g=u[f];let S="",N="";g===99?(S=":",N=":"):g===108?S=":":g===114&&(N=":");let y=t.alignDelimiters===!1?1:Math.max(1,o[f]-S.length-N.length);const L=S+"-".repeat(y)+N;t.alignDelimiters!==!1&&(y=S.length+y+N.length,y>o[f]&&(o[f]=y),T[f]=y),d[f]=L}i.splice(1,0,d),a.splice(1,0,T),c=-1;const p=[];for(;++c<i.length;){const g=i[c],S=a[c];f=-1;const N=[];for(;++f<l;){const y=g[f]||"";let L="",B="";if(t.alignDelimiters!==!1){const Q=o[f]-(S[f]||0),K=u[f];K===114?L=" ".repeat(Q):K===99?Q%2?(L=" ".repeat(Q/2+.5),B=" ".repeat(Q/2-.5)):(L=" ".repeat(Q/2),B=L):B=" ".repeat(Q)}t.delimiterStart!==!1&&!f&&N.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&y==="")&&(t.delimiterStart!==!1||f)&&N.push(" "),t.alignDelimiters!==!1&&N.push(L),N.push(y),t.alignDelimiters!==!1&&N.push(B),t.padding!==!1&&N.push(" "),(t.delimiterEnd!==!1||f!==l-1)&&N.push("|")}p.push(t.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return p.join(`
|
|
33
|
-
`)}function
|
|
34
|
-
`&&
|
|
35
|
-
`}function
|
|
70
|
+
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&u)continue;a=" ";break}default:a=String.fromCharCode(i)}u=i===-2,r.push(a)}return r.join("")}const T0={42:pt,43:pt,45:pt,48:pt,49:pt,50:pt,51:pt,52:pt,53:pt,54:pt,55:pt,56:pt,57:pt,62:vs},A0={91:_f},_0={[-2]:gu,[-1]:gu,32:gu},C0={35:If,42:wr,45:[La,wr],60:Lf,61:La,95:wr,96:ka,126:ka},D0={38:Ms,92:Bs},y0={[-5]:Tu,[-4]:Tu,[-3]:Tu,33:Gf,38:Ms,42:ju,60:[Xc,Mf],91:Kf,92:[xf,Bs],93:ui,95:ju,96:cf},x0={null:[ju,h0]},N0={null:[42,95]},I0={null:[]},S0=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:N0,contentInitial:A0,disable:I0,document:T0,flow:C0,flowInitial:_0,insideSpan:x0,string:D0,text:y0},Symbol.toStringTag,{value:"Module"}));function k0(e){const n=Ps([S0,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:u(Yc),document:u(Vc),flow:u(c0),string:u(d0),text:u(p0)};return r;function u(i){return a;function a(o){return E0(r,i,o)}}}function R0(e){for(;!Hs(e););return e}const Oa=/[\0\t\n\r]/g;function L0(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,f,d,g,m;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(Oa.lastIndex=d,c=Oa.exec(i),g=c&&c.index!==void 0?c.index:i.length,m=i.charCodeAt(g),!c){t=i.slice(d);break}if(m===10&&d===g&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<g&&(l.push(i.slice(d,g)),e+=g-d),m){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=g+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const O0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function F0(e){return e.replace(O0,P0)}function P0(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return ws(n.slice(i?2:1),i?16:10)}return lr(n)||e}const Vs={}.hasOwnProperty;function w0(e,t,n){return typeof t!="string"&&(n=t,t=void 0),v0(n)(R0(k0(n).document().write(L0()(e,t,!0))))}function v0(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(st),autolinkProtocol:oe,autolinkEmail:oe,atxHeading:i(ht),blockQuote:i(Pe),characterEscape:oe,characterReference:oe,codeFenced:i(Pt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(Pt,a),codeText:i(zt,a),codeTextData:oe,data:oe,codeFlowValue:oe,definition:i(wt),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(sn),hardBreakEscape:i(Ze),hardBreakTrailing:i(Ze),htmlFlow:i(Et,a),htmlFlowData:oe,htmlText:i(Et,a),htmlTextData:oe,image:i(Yt),label:a,link:i(st),listItem:i(It),listItemValue:g,listOrdered:i(ot,d),listUnordered:i(ot),paragraph:i(_t),reference:A,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(ht),strong:i(Jt),thematicBreak:i(St)},exit:{atxHeading:l(),atxHeadingSequence:K,autolink:l(),autolinkEmail:Ce,autolinkProtocol:Te,blockQuote:l(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:ge,characterReferenceMarkerNumeric:ge,characterReferenceValue:fe,characterReference:Se,codeFenced:l(S),codeFencedFence:O,codeFencedFenceInfo:m,codeFencedFenceMeta:T,codeFlowValue:L,codeIndented:l(R),codeText:l(x),codeTextData:L,data:L,definition:l(),definitionDestinationString:ee,definitionLabelString:v,definitionTitleString:j,emphasis:l(),hardBreakEscape:l(Y),hardBreakTrailing:l(Y),htmlFlow:l(te),htmlFlowData:L,htmlText:l(re),htmlTextData:L,image:l(J),label:$e,labelText:He,lineEnding:G,link:l(Ne),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:le,resourceDestinationString:D,resourceTitleString:N,resource:z,setextHeading:l(se),setextHeadingLineSequence:H,setextHeadingText:P,strong:l(),thematicBreak:l()}};$s(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(M){let $={type:"root",children:[]};const ce={stack:[$],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:f,data:n},me=[];let ke=-1;for(;++ke<M.length;)if(M[ke][1].type==="listOrdered"||M[ke][1].type==="listUnordered")if(M[ke][0]==="enter")me.push(ke);else{const Ye=me.pop();ke=u(M,Ye,ke)}for(ke=-1;++ke<M.length;){const Ye=t[M[ke][0]];Vs.call(Ye,M[ke][1].type)&&Ye[M[ke][1].type].call(Object.assign({sliceSerialize:M[ke][2].sliceSerialize},ce),M[ke][1])}if(ce.tokenStack.length>0){const Ye=ce.tokenStack[ce.tokenStack.length-1];(Ye[1]||Fa).call(ce,void 0,Ye[0])}for($.position={start:tn(M.length>0?M[0][1].start:{line:1,column:1,offset:0}),end:tn(M.length>0?M[M.length-2][1].end:{line:1,column:1,offset:0})},ke=-1;++ke<t.transforms.length;)$=t.transforms[ke]($)||$;return $}function u(M,$,ce){let me=$-1,ke=-1,Ye=!1,bt,lt,kt,rt;for(;++me<=ce;){const We=M[me];switch(We[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{We[0]==="enter"?ke++:ke--,rt=void 0;break}case"lineEndingBlank":{We[0]==="enter"&&(bt&&!rt&&!ke&&!kt&&(kt=me),rt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:rt=void 0}if(!ke&&We[0]==="enter"&&We[1].type==="listItemPrefix"||ke===-1&&We[0]==="exit"&&(We[1].type==="listUnordered"||We[1].type==="listOrdered")){if(bt){let Ct=me;for(lt=void 0;Ct--;){const ct=M[Ct];if(ct[1].type==="lineEnding"||ct[1].type==="lineEndingBlank"){if(ct[0]==="exit")continue;lt&&(M[lt][1].type="lineEndingBlank",Ye=!0),ct[1].type="lineEnding",lt=Ct}else if(!(ct[1].type==="linePrefix"||ct[1].type==="blockQuotePrefix"||ct[1].type==="blockQuotePrefixWhitespace"||ct[1].type==="blockQuoteMarker"||ct[1].type==="listItemIndent"))break}kt&&(!lt||kt<lt)&&(bt._spread=!0),bt.end=Object.assign({},lt?M[lt][1].start:We[1].end),M.splice(lt||me,0,["exit",bt,We[2]]),me++,ce++}if(We[1].type==="listItemPrefix"){const Ct={type:"listItem",_spread:!1,start:Object.assign({},We[1].start),end:void 0};bt=Ct,M.splice(me,0,["enter",Ct,We[2]]),me++,ce++,kt=void 0,rt=!0}}}return M[$][1]._spread=Ye,ce}function i(M,$){return ce;function ce(me){o.call(this,M(me),me),$&&$.call(this,me)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(M,$,ce){this.stack[this.stack.length-1].children.push(M),this.stack.push(M),this.tokenStack.push([$,ce]),M.position={start:tn($.start),end:void 0}}function l(M){return $;function $(ce){M&&M.call(this,ce),c.call(this,ce)}}function c(M,$){const ce=this.stack.pop(),me=this.tokenStack.pop();if(me)me[0].type!==M.type&&($?$.call(this,M,me[0]):(me[1]||Fa).call(this,M,me[0]));else throw new Error("Cannot close `"+M.type+"` ("+tr({start:M.start,end:M.end})+"): it’s not open");ce.position.end=tn(M.end)}function f(){return or(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function g(M){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(M),10),this.data.expectingFirstListItemValue=void 0}}function m(){const M=this.resume(),$=this.stack[this.stack.length-1];$.lang=M}function T(){const M=this.resume(),$=this.stack[this.stack.length-1];$.meta=M}function O(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function S(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function R(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M.replace(/(\r?\n|\r)$/g,"")}function v(M){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.label=$,ce.identifier=Ot(this.sliceSerialize(M)).toLowerCase()}function j(){const M=this.resume(),$=this.stack[this.stack.length-1];$.title=M}function ee(){const M=this.resume(),$=this.stack[this.stack.length-1];$.url=M}function K(M){const $=this.stack[this.stack.length-1];if(!$.depth){const ce=this.sliceSerialize(M).length;$.depth=ce}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function H(M){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(M).codePointAt(0)===61?1:2}function se(){this.data.setextHeadingSlurpLineEnding=void 0}function oe(M){const ce=this.stack[this.stack.length-1].children;let me=ce[ce.length-1];(!me||me.type!=="text")&&(me=Zt(),me.position={start:tn(M.start),end:void 0},ce.push(me)),this.stack.push(me)}function L(M){const $=this.stack.pop();$.value+=this.sliceSerialize(M),$.position.end=tn(M.end)}function G(M){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ce=$.children[$.children.length-1];ce.position.end=tn(M.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes($.type)&&(oe.call(this,M),L.call(this,M))}function Y(){this.data.atHardBreak=!0}function te(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M}function re(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M}function x(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M}function Ne(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=$,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function J(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=$,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function He(M){const $=this.sliceSerialize(M),ce=this.stack[this.stack.length-2];ce.label=F0($),ce.identifier=Ot($).toLowerCase()}function $e(){const M=this.stack[this.stack.length-1],$=this.resume(),ce=this.stack[this.stack.length-1];if(this.data.inReference=!0,ce.type==="link"){const me=M.children;ce.children=me}else ce.alt=$}function D(){const M=this.resume(),$=this.stack[this.stack.length-1];$.url=M}function N(){const M=this.resume(),$=this.stack[this.stack.length-1];$.title=M}function z(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function le(M){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.label=$,ce.identifier=Ot(this.sliceSerialize(M)).toLowerCase(),this.data.referenceType="full"}function ge(M){this.data.characterReferenceType=M.type}function fe(M){const $=this.sliceSerialize(M),ce=this.data.characterReferenceType;let me;ce?(me=ws($,ce==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):me=lr($);const ke=this.stack[this.stack.length-1];ke.value+=me}function Se(M){const $=this.stack.pop();$.position.end=tn(M.end)}function Te(M){L.call(this,M);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(M)}function Ce(M){L.call(this,M);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(M)}function Pe(){return{type:"blockquote",children:[]}}function Pt(){return{type:"code",lang:null,meta:null,value:""}}function zt(){return{type:"inlineCode",value:""}}function wt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function sn(){return{type:"emphasis",children:[]}}function ht(){return{type:"heading",depth:0,children:[]}}function Ze(){return{type:"break"}}function Et(){return{type:"html",value:""}}function Yt(){return{type:"image",title:null,url:"",alt:null}}function st(){return{type:"link",title:null,url:"",children:[]}}function ot(M){return{type:"list",ordered:M.type==="listOrdered",start:null,spread:M._spread,children:[]}}function It(M){return{type:"listItem",spread:M._spread,checked:null,children:[]}}function _t(){return{type:"paragraph",children:[]}}function Jt(){return{type:"strong",children:[]}}function Zt(){return{type:"text",value:""}}function St(){return{type:"thematicBreak"}}}function tn(e){return{line:e.line,column:e.column,offset:e.offset}}function $s(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?$s(e,r):B0(e,r)}}function B0(e,t){let n;for(n in t)if(Vs.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 Fa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+tr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+tr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+tr({start:t.start,end:t.end})+") is still open")}function Pa(e){const t=this;t.parser=n;function n(r){return w0(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function wa(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function M0(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Qr=function(e){if(e==null)return z0;if(typeof e=="function")return Gr(e);if(typeof e=="object")return Array.isArray(e)?H0(e):U0(e);if(typeof e=="string")return j0(e);throw new Error("Expected function, string, or object as test")};function H0(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Qr(e[n]);return Gr(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function U0(e){const t=e;return Gr(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function j0(e){return Gr(t);function t(n){return n&&n.type===e}}function Gr(e){return t;function t(n,r,u){return!!(Y0(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function z0(){return!0}function Y0(e){return e!==null&&typeof e=="object"&&"type"in e}const Ws=[],q0=!0,zu=!1,V0="skip";function ii(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=Qr(u),a=r?-1:1;o(e,void 0,[])();function o(l,c,f){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const m=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return g;function g(){let m=Ws,T,O,S;if((!t||i(l,c,f[f.length-1]||void 0))&&(m=$0(n(l,f)),m[0]===zu))return m;if("children"in l&&l.children){const R=l;if(R.children&&m[0]!==V0)for(O=(r?R.children.length:-1)+a,S=f.concat(R);O>-1&&O<R.children.length;){const v=R.children[O];if(T=o(v,O,S)(),T[0]===zu)return T;O=typeof T[1]=="number"?T[1]:O+a}}return m}}}function $0(e){return Array.isArray(e)?e:typeof e=="number"?[q0,e]:e==null?Ws:[e]}function Qs(e,t,n){const u=Qr((n||{}).ignore||[]),i=W0(t);let a=-1;for(;++a<i.length;)ii(e,"text",o);function o(c,f){let d=-1,g;for(;++d<f.length;){const m=f[d],T=g?g.children:void 0;if(u(m,T?T.indexOf(m):void 0,g))return;g=m}if(g)return l(c,f)}function l(c,f){const d=f[f.length-1],g=i[a][0],m=i[a][1];let T=0;const S=d.children.indexOf(c);let R=!1,v=[];g.lastIndex=0;let j=g.exec(c.value);for(;j;){const ee=j.index,K={index:j.index,input:j.input,stack:[...f,c]};let P=m(...j,K);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?g.lastIndex=ee+1:(T!==ee&&v.push({type:"text",value:c.value.slice(T,ee)}),Array.isArray(P)?v.push(...P):P&&v.push(P),T=ee+j[0].length,R=!0),!g.global)break;j=g.exec(c.value)}return R?(T<c.value.length&&v.push({type:"text",value:c.value.slice(T)}),d.children.splice(S,1,...v)):v=[c],S+v.length}}function W0(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 u=n[r];t.push([Q0(u[0]),G0(u[1])])}return t}function Q0(e){return typeof e=="string"?new RegExp(M0(e),"g"):e}function G0(e){return typeof e=="function"?e:function(){return e}}const Au="phrasing",_u=["autolink","link","image","label"];function X0(){return{transforms:[rh],enter:{literalAutolink:J0,literalAutolinkEmail:Cu,literalAutolinkHttp:Cu,literalAutolinkWww:Cu},exit:{literalAutolink:nh,literalAutolinkEmail:th,literalAutolinkHttp:Z0,literalAutolinkWww:eh}}}function K0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Au,notInConstruct:_u},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Au,notInConstruct:_u},{character:":",before:"[ps]",after:"\\/",inConstruct:Au,notInConstruct:_u}]}}function J0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Cu(e){this.config.enter.autolinkProtocol.call(this,e)}function Z0(e){this.config.exit.autolinkProtocol.call(this,e)}function eh(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 th(e){this.config.exit.autolinkEmail.call(this,e)}function nh(e){this.exit(e)}function rh(e){Qs(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,uh],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,ih]],{ignore:["link","linkReference"]})}function uh(e,t,n,r,u){let i="";if(!Gs(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!ah(n)))return!1;const a=sh(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function ih(e,t,n,r){return!Gs(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ah(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 sh(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 u=wa(e,"(");let i=wa(e,")");for(;r!==-1&&u>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function Gs(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||gn(n)||$r(n))&&(!t||n!==47)}Xs.peek=gh;function oh(){return{enter:{gfmFootnoteDefinition:ch,gfmFootnoteDefinitionLabelString:fh,gfmFootnoteCall:ph,gfmFootnoteCallString:mh},exit:{gfmFootnoteDefinition:dh,gfmFootnoteDefinitionLabelString:hh,gfmFootnoteCall:bh,gfmFootnoteCallString:Eh}}}function lh(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Th,footnoteReference:Xs}}}function ch(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function fh(){this.buffer()}function hh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Ot(this.sliceSerialize(e)).toLowerCase()}function dh(e){this.exit(e)}function ph(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function mh(){this.buffer()}function Eh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Ot(this.sliceSerialize(e)).toLowerCase()}function bh(e){this.exit(e)}function Xs(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),a(),i+=u.move("]"),i}function gh(){return"["}function Th(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),i+=u.move("]:"+(e.children&&e.children.length>0?" ":"")),u.shift(4),i+=u.move(n.indentLines(n.containerFlow(e,u.current()),Ah)),a(),i}function Ah(e,t,n){return t===0?e:(n?"":" ")+e}const _h=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ks.peek=Nh;function Ch(){return{canContainEols:["delete"],enter:{strikethrough:yh},exit:{strikethrough:xh}}}function Dh(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_h}],handlers:{delete:Ks}}}function yh(e){this.enter({type:"delete",children:[]},e)}function xh(e){this.exit(e)}function Ks(e,t,n,r){const u=n.createTracker(r),i=n.enter("strikethrough");let a=u.move("~~");return a+=n.containerPhrasing(e,{...u.current(),before:a,after:"~"}),a+=u.move("~~"),i(),a}function Nh(){return"~"}function Ih(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||kh,u=[],i=[],a=[],o=[];let l=0,c=-1;for(;++c<e.length;){const T=[],O=[];let S=-1;for(e[c].length>l&&(l=e[c].length);++S<e[c].length;){const R=Sh(e[c][S]);if(t.alignDelimiters!==!1){const v=r(R);O[S]=v,(o[S]===void 0||v>o[S])&&(o[S]=v)}T.push(R)}i[c]=T,a[c]=O}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)u[f]=va(n[f]);else{const T=va(n);for(;++f<l;)u[f]=T}f=-1;const d=[],g=[];for(;++f<l;){const T=u[f];let O="",S="";T===99?(O=":",S=":"):T===108?O=":":T===114&&(S=":");let R=t.alignDelimiters===!1?1:Math.max(1,o[f]-O.length-S.length);const v=O+"-".repeat(R)+S;t.alignDelimiters!==!1&&(R=O.length+R+S.length,R>o[f]&&(o[f]=R),g[f]=R),d[f]=v}i.splice(1,0,d),a.splice(1,0,g),c=-1;const m=[];for(;++c<i.length;){const T=i[c],O=a[c];f=-1;const S=[];for(;++f<l;){const R=T[f]||"";let v="",j="";if(t.alignDelimiters!==!1){const ee=o[f]-(O[f]||0),K=u[f];K===114?v=" ".repeat(ee):K===99?ee%2?(v=" ".repeat(ee/2+.5),j=" ".repeat(ee/2-.5)):(v=" ".repeat(ee/2),j=v):j=" ".repeat(ee)}t.delimiterStart!==!1&&!f&&S.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&R==="")&&(t.delimiterStart!==!1||f)&&S.push(" "),t.alignDelimiters!==!1&&S.push(v),S.push(R),t.alignDelimiters!==!1&&S.push(j),t.padding!==!1&&S.push(" "),(t.delimiterEnd!==!1||f!==l-1)&&S.push("|")}m.push(t.delimiterEnd===!1?S.join("").replace(/ +$/,""):S.join(""))}return m.join(`
|
|
71
|
+
`)}function Sh(e){return e==null?"":String(e)}function kh(e){return e.length}function va(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}const Ba={}.hasOwnProperty;function Js(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Ba.call(u,e)){const l=String(u[e]);a=Ba.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,u,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function Rh(e,t,n,r){const u=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),Lh);return u(),a}function Lh(e,t,n){return">"+(n?"":" ")+e}function Oh(e,t){return Ma(e,t.inConstruct,!0)&&!Ma(e,t.notInConstruct,!1)}function Ma(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 Ha(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
72
|
+
`&&Oh(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
73
|
+
`}function Fh(e,t){const n=String(e);let r=n.indexOf(t),u=r,i=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===u?++i>a&&(a=i):i=1,u=r+t.length,r=n.indexOf(t,u);return a}function Ph(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 wh(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 vh(e,t,n,r){const u=wh(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(Ph(e,n)){const d=n.enter("codeIndented"),g=n.indentLines(i,Bh);return d(),g}const o=n.createTracker(r),l=u.repeat(Math.max(Fh(i,u)+1,3)),c=n.enter("codeFenced");let f=o.move(l);if(e.lang){const d=n.enter(`codeFencedLang${a}`);f+=o.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...o.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${a}`);f+=o.move(" "),f+=o.move(n.safe(e.meta,{before:f,after:`
|
|
36
74
|
`,encode:["`"],...o.current()})),d()}return f+=o.move(`
|
|
37
75
|
`),i&&(f+=o.move(i+`
|
|
38
|
-
`)),f+=o.move(l),c(),f}function
|
|
39
|
-
`,...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),a(),c}function
|
|
76
|
+
`)),f+=o.move(l),c(),f}function Bh(e,t,n){return(n?"":" ")+e}function ai(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 Mh(e,t,n,r){const u=ai(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
|
|
77
|
+
`,...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),a(),c}function Hh(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}Zs.peek=Uh;function Zs(e,t,n,r){const u=Hh(n),i=n.enter("emphasis"),a=n.createTracker(r);let o=a.move(u);return o+=a.move(n.containerPhrasing(e,{before:o,after:u,...a.current()})),o+=a.move(u),i(),o}function Uh(e,t,n){return n.options.emphasis||"*"}function mt(e,t,n,r){let u,i,a;typeof t=="function"&&typeof n!="function"?(i=void 0,a=t,u=n):(i=t,a=n,u=r),ii(e,i,o,u);function o(l,c){const f=c[c.length-1],d=f?f.children.indexOf(l):void 0;return a(l,d,f)}}function jh(e,t){let n=!1;return mt(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,zu}),!!((!e.depth||e.depth<3)&&or(e)&&(t.options.setext||n))}function zh(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(jh(e,n)){const f=n.enter("headingSetext"),d=n.enter("phrasing"),g=n.containerPhrasing(e,{...i.current(),before:`
|
|
40
78
|
`,after:`
|
|
41
|
-
`});return d(),f(),
|
|
42
|
-
`+(u===1?"=":"-").repeat(
|
|
79
|
+
`});return d(),f(),g+`
|
|
80
|
+
`+(u===1?"=":"-").repeat(g.length-(Math.max(g.lastIndexOf("\r"),g.lastIndexOf(`
|
|
43
81
|
`))+1))}const a="#".repeat(u),o=n.enter("headingAtx"),l=n.enter("phrasing");i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
|
|
44
|
-
`,...i.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}
|
|
45
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:
|
|
46
|
-
`))}function l(p,g,S,N){const y=S.enter("tableCell"),L=S.enter("phrasing"),B=S.containerPhrasing(p,{...N,before:i,after:i});return L(),y(),B}function c(p,g){return $0(p,{align:g,alignDelimiters:r,padding:n,stringLength:u})}function f(p,g,S){const N=p.children;let y=-1;const L=[],B=g.enter("table");for(;++y<N.length;)L[y]=d(N[y],g,S);return B(),L}function d(p,g,S){const N=p.children;let y=-1;const L=[],B=g.enter("tableRow");for(;++y<N.length;)L[y]=l(N[y],p,g,S);return B(),L}function T(p,g,S){let N=ns.inlineCode(p,g,S);return S.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function vf(){return{exit:{taskListCheckValueChecked:Pi,taskListCheckValueUnchecked:Pi,paragraph:Uf}}}function Hf(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:zf}}}function Pi(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Uf(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 u=t.children;let i=-1,a;for(;++i<u.length;){const o=u[i];if(o.type==="paragraph"){a=o;break}}a===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 zf(e,t,n,r){const u=e.children[0],i=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);i&&o.move(a);let l=ns.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+a}}function jf(){return[b0(),R0(),q0(),Lf(),vf()]}function Yf(e){return{extensions:[g0(),L0(),V0(),Mf(e),Hf()]}}const qf={tokenize:Xf,partial:!0},rs={tokenize:Kf,partial:!0},us={tokenize:Jf,partial:!0},is={tokenize:Zf,partial:!0},Vf={tokenize:eh,partial:!0},as={name:"wwwAutolink",tokenize:Gf,previous:os},ss={name:"protocolAutolink",tokenize:$f,previous:ls},At={name:"emailAutolink",tokenize:Qf,previous:cs},ft={};function Wf(){return{text:ft}}let Bt=48;for(;Bt<123;)ft[Bt]=At,Bt++,Bt===58?Bt=65:Bt===91&&(Bt=97);ft[43]=At;ft[45]=At;ft[46]=At;ft[95]=At;ft[72]=[At,ss];ft[104]=[At,ss];ft[87]=[At,as];ft[119]=[At,as];function Qf(e,t,n){const r=this;let u,i;return a;function a(d){return!ou(d)||!cs.call(r,r.previous)||Iu(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(d))}function o(d){return ou(d)?(e.consume(d),o):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(Vf,f,c)(d):d===45||d===95||Ie(d)?(i=!0,e.consume(d),l):f(d)}function c(d){return e.consume(d),u=!0,l}function f(d){return i&&u&&Le(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function Gf(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!os.call(r,r.previous)||Iu(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qf,e.attempt(rs,e.attempt(us,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function $f(e,t,n){const r=this;let u="",i=!1;return a;function a(d){return(d===72||d===104)&&ls.call(r,r.previous)&&!Iu(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(d),e.consume(d),o):n(d)}function o(d){if(Le(d)&&u.length<5)return u+=String.fromCodePoint(d),e.consume(d),o;if(d===58){const T=u.toLowerCase();if(T==="http"||T==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),i?c:(i=!0,l)):n(d)}function c(d){return d===null||nr(d)||fe(d)||Ut(d)||lr(d)?n(d):e.attempt(rs,e.attempt(us,f),n)(d)}function f(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function Xf(e,t,n){let r=0;return u;function u(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),u):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function Kf(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(is,l,o)(c):c===null||fe(c)||Ut(c)||c!==45&&lr(c)?l(c):(i=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(u=r,r=void 0),e.consume(c),a}function l(c){return u||r||!i?n(c):t(c)}}function Jf(e,t){let n=0,r=0;return u;function u(a){return a===40?(n++,e.consume(a),u):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(is,t,i)(a):a===null||fe(a)||Ut(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function Zf(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),i):o===93?(e.consume(o),u):o===60||o===null||fe(o)||Ut(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||fe(o)||Ut(o)?t(o):r(o)}function i(o){return Le(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):Le(o)?(e.consume(o),a):n(o)}}function eh(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return Ie(i)?n(i):t(i)}}function os(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||fe(e)}function ls(e){return!Le(e)}function cs(e){return!(e===47||ou(e))}function ou(e){return e===43||e===45||e===46||e===95||Ie(e)}function Iu(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 th={tokenize:lh,partial:!0};function nh(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ah,continuation:{tokenize:sh},exit:oh}},text:{91:{name:"gfmFootnoteCall",tokenize:ih},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:rh,resolveTo:uh}}}}function rh(e,t,n){const r=this;let u=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const l=r.events[u][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=at(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function uh(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)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function ih(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(i>999||d===93&&!a||d===null||d===91||fe(d))return n(d);if(d===93){e.exit("chunkString");const T=e.exit("gfmFootnoteCallString");return u.includes(at(r.sliceSerialize(T)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return fe(d)||(a=!0),i++,e.consume(d),d===92?f:c}function f(d){return d===91||d===92||d===93?(e.consume(d),i++,c):c(d)}}function ah(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(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(a>999||g===93&&!o||g===null||g===91||fe(g))return n(g);if(g===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return i=at(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),T}return fe(g)||(o=!0),a++,e.consume(g),g===92?d:f}function d(g){return g===91||g===92||g===93?(e.consume(g),a++,f):f(g)}function T(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),u.includes(i)||u.push(i),ue(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}function sh(e,t,n){return e.check(Hn,t,e.attempt(th,t,n))}function oh(e){e.exit("gfmFootnoteDefinition")}function lh(e,t,n){const r=this;return ue(e,u,"gfmFootnoteDefinitionIndent",5);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function ch(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},d={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},T=[["enter",f,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",d,o]],p=o.parser.constructs.insideSpan.null;p&&tt(T,T.length,0,cr(p,a.slice(c+1,l),o)),tt(T,T.length,0,[["exit",d,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",f,o]]),tt(a,c-1,l-c+3,T),l=c+T.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function i(a,o,l){const c=this.previous,f=this.events;let d=0;return T;function T(g){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(g):(a.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const S=rr(c);if(g===126)return d>1?l(g):(a.consume(g),d++,p);if(d<2&&!n)return l(g);const N=a.exit("strikethroughSequenceTemporary"),y=rr(g);return N._open=!y||y===2&&!!S,N._close=!S||S===2&&!!y,o(g)}}}class fh{constructor(){this.map=[]}add(t,n,r){hh(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[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]),t.length=0;let u=r.pop();for(;u;)t.push(...u),u=r.pop();this.map.length=0}}function hh(e,t,n,r){let u=0;if(!(n===0&&r.length===0)){for(;u<e.map.length;){if(e.map[u][0]===t){e.map[u][1]+=n,e.map[u][2].push(...r);return}u+=1}e.map.push([t,n,r])}}function dh(e,t){let n=!1;const r=[];for(;t<e.length;){const u=e[t];if(n){if(u[0]==="enter")u[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function mh(){return{flow:{null:{name:"table",tokenize:ph,resolveAll:Eh}}}}function ph(e,t,n){const r=this;let u=0,i=0,a;return o;function o(I){let j=r.events.length-1;for(;j>-1;){const X=r.events[j][1].type;if(X==="lineEnding"||X==="linePrefix")j--;else break}const v=j>-1?r.events[j][1].type:null,G=v==="tableHead"||v==="tableRow"?F:l;return G===F&&r.parser.lazy[r.now().line]?n(I):G(I)}function l(I){return e.enter("tableHead"),e.enter("tableRow"),c(I)}function c(I){return I===124||(a=!0,i+=1),f(I)}function f(I){return I===null?n(I):W(I)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),p):n(I):se(I)?ue(e,f,"whitespace")(I):(i+=1,a&&(a=!1,u+=1),I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),d(I)))}function d(I){return I===null||I===124||fe(I)?(e.exit("data"),f(I)):(e.consume(I),I===92?T:d)}function T(I){return I===92||I===124?(e.consume(I),d):d(I)}function p(I){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(I):(e.enter("tableDelimiterRow"),a=!1,se(I)?ue(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):g(I))}function g(I){return I===45||I===58?N(I):I===124?(a=!0,e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),S):K(I)}function S(I){return se(I)?ue(e,N,"whitespace")(I):N(I)}function N(I){return I===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),y):I===45?(i+=1,y(I)):I===null||W(I)?Q(I):K(I)}function y(I){return I===45?(e.enter("tableDelimiterFiller"),L(I)):K(I)}function L(I){return I===45?(e.consume(I),L):I===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),B):(e.exit("tableDelimiterFiller"),B(I))}function B(I){return se(I)?ue(e,Q,"whitespace")(I):Q(I)}function Q(I){return I===124?g(I):I===null||W(I)?!a||u!==i?K(I):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(I)):K(I)}function K(I){return n(I)}function F(I){return e.enter("tableRow"),w(I)}function w(I){return I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),w):I===null||W(I)?(e.exit("tableRow"),t(I)):se(I)?ue(e,w,"whitespace")(I):(e.enter("data"),ee(I))}function ee(I){return I===null||I===124||fe(I)?(e.exit("data"),w(I)):(e.consume(I),I===92?J:ee)}function J(I){return I===92||I===124?(e.consume(I),ee):ee(I)}}function Eh(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,d;const T=new fh;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(o=!1,l!==0&&(wi(T,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},T.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,d=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},T.add(n,0,[["enter",f,t]])),u=g.type==="tableDelimiterRow"?2:f?3:1):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],d=Vn(T,t,i,u,void 0,d),i=[0,0,0,0]),a[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],d=Vn(T,t,i,u,void 0,d)),i=a,a=[i[1],n,0,0])):g.type==="tableHead"?(o=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],d=Vn(T,t,i,u,n,d)):a[1]!==0&&(d=Vn(T,t,a,u,n,d)),u=0):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&wi(T,t,l,c,f),T.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=dh(t.events,n))}return e}function Vn(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},Qt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=Qt(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=Qt(t.events,n[2]),f=Qt(t.events,n[3]),d={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const T=t.events[n[2]],p=t.events[n[3]];if(T[1].end=Object.assign({},p[1].end),T[1].type="chunkText",T[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",d,t]])}return u!==void 0&&(i.end=Object.assign({},Qt(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function wi(e,t,n,r,u){const i=[],a=Qt(t.events,n);u&&(u.end=Object.assign({},a),i.push(["exit",u,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function Qt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Th={name:"tasklistCheck",tokenize:gh};function bh(){return{text:{91:Th}}}function gh(e,t,n){const r=this;return u;function u(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return fe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return W(l)?t(l):se(l)?e.check({tokenize:Ah},t,n)(l):n(l)}}function Ah(e,t,n){return ue(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function Ch(e){return Ia([Wf(),nh(),ch(e),mh(),bh()])}const _h={};function Dh(e){const t=this,n=e||_h,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(Ch(n)),i.push(jf()),a.push(Yf(n))}const xh=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Bi={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function fs(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Nh(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function yh(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Mi(e){return yh(e)||fs(e)}const Vt=String.fromCharCode,Ih=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Su(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let u=0,i=-1,a="",o,l;t.position&&("start"in t.position||"indent"in t.position?(l=t.position.indent,o=t.position.start):o=t.position);let c=(o?o.line:0)||1,f=(o?o.column:0)||1,d=p(),T;for(u--;++u<=e.length;)if(T===10&&(f=(l?l[i]:0)||1),T=e.charCodeAt(u),T===38){const N=e.charCodeAt(u+1);if(N===9||N===10||N===12||N===32||N===38||N===60||Number.isNaN(N)||n&&N===n){a+=Vt(T),f++;continue}const y=u+1;let L=y,B=y,Q;if(N===35){B=++L;const v=e.charCodeAt(B);v===88||v===120?(Q="hexadecimal",B=++L):Q="decimal"}else Q="named";let K="",F="",w="";const ee=Q==="named"?Mi:Q==="decimal"?fs:Nh;for(B--;++B<=e.length;){const v=e.charCodeAt(B);if(!ee(v))break;w+=Vt(v),Q==="named"&&xh.includes(w)&&(K=w,F=Pn(w))}let J=e.charCodeAt(B)===59;if(J){B++;const v=Q==="named"?Pn(w):!1;v&&(K=w,F=v)}let I=1+B-y,j="";if(!(!J&&t.nonTerminated===!1))if(!w)Q!=="named"&&g(4,I);else if(Q==="named"){if(J&&!F)g(5,1);else if(K!==w&&(B=L+K.length,I=1+B-L,J=!1),!J){const v=K?1:3;if(t.attribute){const G=e.charCodeAt(B);G===61?(g(v,I),F=""):Mi(G)?F="":g(v,I)}else g(v,I)}j=F}else{J||g(2,I);let v=Number.parseInt(w,Q==="hexadecimal"?16:10);if(Sh(v))g(7,I),j=Vt(65533);else if(v in Bi)g(6,I),j=Bi[v];else{let G="";kh(v)&&g(6,I),v>65535&&(v-=65536,G+=Vt(v>>>10|55296),v=56320|v&1023),j=G+Vt(v)}}if(j){S(),d=p(),u=B-1,f+=B-y+1,r.push(j);const v=p();v.offset++,t.reference&&t.reference.call(t.referenceContext,j,{start:d,end:v},e.slice(y-1,B)),d=v}else w=e.slice(y-1,B),a+=w,f+=w.length,u=B-1}else T===10&&(c++,i++,f=0),Number.isNaN(T)?S():(a+=Vt(T),f++);return r.join("");function p(){return{line:c,column:f,offset:u+((o?o.offset:0)||0)}}function g(N,y){let L;t.warning&&(L=p(),L.column+=y,L.offset+=y,t.warning.call(t.warningContext,Ih[N],L,N))}function S(){a&&(r.push(a),t.text&&t.text.call(t.textContext,a,{start:d,end:p()}),a="")}}function Sh(e){return e>=55296&&e<=57343||e>1114111}function kh(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const Rh=/["&'<>`]/g,Lh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fh=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Oh=/[|\\{}()[\]^$+*?.]/g,vi=new WeakMap;function Ph(e,t){if(e=e.replace(t.subset?wh(t.subset):Rh,r),t.subset||t.escapeOnly)return e;return e.replace(Lh,n).replace(Fh,r);function n(u,i,a){return t.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function r(u,i,a){return t.format(u.charCodeAt(0),a.charCodeAt(i+1),t)}}function wh(e){let t=vi.get(e);return t||(t=Bh(e),vi.set(e,t)),t}function Bh(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Oh,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Mh(e){return"&#x"+e.toString(16).toUpperCase()+";"}function vh(e,t){return Ph(e,Object.assign({format:Mh},t))}const Hh={}.hasOwnProperty,Hi=/^[^\t\n\r "#'.<=>`}]+$/;Zn.peek=Qh;function Uh(){return{canContainEols:["textDirective"],enter:{directiveContainer:jh,directiveContainerAttributes:qr,directiveContainerLabel:Vh,directiveLeaf:Yh,directiveLeafAttributes:qr,directiveText:qh,directiveTextAttributes:qr},exit:{directiveContainer:Xr,directiveContainerAttributeClassValue:Wr,directiveContainerAttributeIdValue:Vr,directiveContainerAttributeName:Gr,directiveContainerAttributeValue:Qr,directiveContainerAttributes:$r,directiveContainerLabel:Wh,directiveContainerName:Yr,directiveLeaf:Xr,directiveLeafAttributeClassValue:Wr,directiveLeafAttributeIdValue:Vr,directiveLeafAttributeName:Gr,directiveLeafAttributeValue:Qr,directiveLeafAttributes:$r,directiveLeafName:Yr,directiveText:Xr,directiveTextAttributeClassValue:Wr,directiveTextAttributeIdValue:Vr,directiveTextAttributeName:Gr,directiveTextAttributeValue:Qr,directiveTextAttributes:$r,directiveTextName:Yr}}}function zh(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
47
|
-
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:
|
|
82
|
+
`,...i.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}eo.peek=Yh;function eo(e){return e.value||""}function Yh(){return"<"}to.peek=qh;function to(e,t,n,r){const u=ai(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),c+=l.move(")"),a(),c}function qh(){return"!"}no.peek=Vh;function no(e,t,n,r){const u=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,i(),u==="full"||!c||c!==d?l+=o.move(d+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Vh(){return"!"}ro.peek=$h;function ro(e,t,n){let r=e.value||"",u="`",i=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(r);)u+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const a=n.unsafe[i],o=n.compilePattern(a);let l;if(a.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return u+r+u}function $h(){return"`"}function uo(e,t){const n=or(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))}io.peek=Wh;function io(e,t,n,r){const u=ai(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(uo(e,n)){const f=n.stack;n.stack=[],o=n.enter("autolink");let d=a.move("<");return d+=a.move(n.containerPhrasing(e,{before:d,after:">",...a.current()})),d+=a.move(">"),o(),n.stack=f,d}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${i}`),c+=a.move(" "+u),c+=a.move(n.safe(e.title,{before:c,after:u,...a.current()})),c+=a.move(u),l()),c+=a.move(")"),o(),c}function Wh(e,t,n){return uo(e,n)?"<":"["}ao.peek=Qh;function ao(e,t,n,r){const u=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,i(),u==="full"||!c||c!==d?l+=o.move(d+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Qh(){return"["}function si(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 Gh(e){const t=si(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 Xh(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 so(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 Kh(e,t,n,r){const u=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?Xh(n):si(n);const o=e.ordered?a==="."?")":".":Gh(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&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&&(l=!0),so(n)===a&&f){let d=-1;for(;++d<e.children.length;){const g=e.children[d];if(g&&g.type==="listItem"&&g.children&&g.children[0]&&g.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=o),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,u(),c}function Jh(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 Zh(e,t,n,r){const u=Jh(n);let i=n.bulletCurrent||si(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let a=i.length+1;(u==="tab"||u==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(i+" ".repeat(a-i.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),f);return l(),c;function f(d,g,m){return g?(m?"":" ".repeat(a))+d:(m?i:i+" ".repeat(a-i.length))+d}}function ed(e,t,n,r){const u=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),u(),a}const td=Qr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function nd(e,t,n,r){return(e.children.some(function(a){return td(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function rd(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}oo.peek=ud;function oo(e,t,n,r){const u=rd(n),i=n.enter("strong"),a=n.createTracker(r);let o=a.move(u+u);return o+=a.move(n.containerPhrasing(e,{before:o,after:u,...a.current()})),o+=a.move(u+u),i(),o}function ud(e,t,n){return n.options.strong||"*"}function id(e,t,n,r){return n.safe(e.value,r)}function ad(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 sd(e,t,n){const r=(so(n)+(n.options.ruleSpaces?" ":"")).repeat(ad(n));return n.options.ruleSpaces?r.slice(0,-1):r}const lo={blockquote:Rh,break:Ha,code:vh,definition:Mh,emphasis:Zs,hardBreak:Ha,heading:zh,html:eo,image:to,imageReference:no,inlineCode:ro,link:io,linkReference:ao,list:Kh,listItem:Zh,paragraph:ed,root:nd,strong:oo,text:id,thematicBreak:sd};function od(){return{enter:{table:ld,tableData:Ua,tableHeader:Ua,tableRow:fd},exit:{codeText:hd,table:cd,tableData:Du,tableHeader:Du,tableRow:Du}}}function ld(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 cd(e){this.exit(e),this.data.inTable=void 0}function fd(e){this.enter({type:"tableRow",children:[]},e)}function Du(e){this.exit(e)}function Ua(e){this.enter({type:"tableCell",children:[]},e)}function hd(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,dd));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function dd(e,t){return t==="|"?t:e}function pd(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
83
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:g,table:a,tableCell:l,tableRow:o}};function a(m,T,O,S){return c(f(m,O,S),m.align)}function o(m,T,O,S){const R=d(m,O,S),v=c([R]);return v.slice(0,v.indexOf(`
|
|
84
|
+
`))}function l(m,T,O,S){const R=O.enter("tableCell"),v=O.enter("phrasing"),j=O.containerPhrasing(m,{...S,before:i,after:i});return v(),R(),j}function c(m,T){return Ih(m,{align:T,alignDelimiters:r,padding:n,stringLength:u})}function f(m,T,O){const S=m.children;let R=-1;const v=[],j=T.enter("table");for(;++R<S.length;)v[R]=d(S[R],T,O);return j(),v}function d(m,T,O){const S=m.children;let R=-1;const v=[],j=T.enter("tableRow");for(;++R<S.length;)v[R]=l(S[R],m,T,O);return j(),v}function g(m,T,O){let S=lo.inlineCode(m,T,O);return O.stack.includes("tableCell")&&(S=S.replace(/\|/g,"\\$&")),S}}function md(){return{exit:{taskListCheckValueChecked:ja,taskListCheckValueUnchecked:ja,paragraph:bd}}}function Ed(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:gd}}}function ja(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function bd(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 u=t.children;let i=-1,a;for(;++i<u.length;){const o=u[i];if(o.type==="paragraph"){a=o;break}}a===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 gd(e,t,n,r){const u=e.children[0],i=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);i&&o.move(a);let l=lo.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+a}}function Td(){return[X0(),oh(),Ch(),od(),md()]}function Ad(e){return{extensions:[K0(),lh(),Dh(),pd(e),Ed()]}}const _d={tokenize:Id,partial:!0},co={tokenize:Sd,partial:!0},fo={tokenize:kd,partial:!0},ho={tokenize:Rd,partial:!0},Cd={tokenize:Ld,partial:!0},po={name:"wwwAutolink",tokenize:xd,previous:Eo},mo={name:"protocolAutolink",tokenize:Nd,previous:bo},Xt={name:"emailAutolink",tokenize:yd,previous:go},Ut={};function Dd(){return{text:Ut}}let pn=48;for(;pn<123;)Ut[pn]=Xt,pn++,pn===58?pn=65:pn===91&&(pn=97);Ut[43]=Xt;Ut[45]=Xt;Ut[46]=Xt;Ut[95]=Xt;Ut[72]=[Xt,mo];Ut[104]=[Xt,mo];Ut[87]=[Xt,po];Ut[119]=[Xt,po];function yd(e,t,n){const r=this;let u,i;return a;function a(d){return!Yu(d)||!go.call(r,r.previous)||oi(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(d))}function o(d){return Yu(d)?(e.consume(d),o):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(Cd,f,c)(d):d===45||d===95||Je(d)?(i=!0,e.consume(d),l):f(d)}function c(d){return e.consume(d),u=!0,l}function f(d){return i&&u&&nt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function xd(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!Eo.call(r,r.previous)||oi(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(_d,e.attempt(co,e.attempt(fo,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function Nd(e,t,n){const r=this;let u="",i=!1;return a;function a(d){return(d===72||d===104)&&bo.call(r,r.previous)&&!oi(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(d),e.consume(d),o):n(d)}function o(d){if(nt(d)&&u.length<5)return u+=String.fromCodePoint(d),e.consume(d),o;if(d===58){const g=u.toLowerCase();if(g==="http"||g==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),i?c:(i=!0,l)):n(d)}function c(d){return d===null||Hr(d)||Oe(d)||gn(d)||$r(d)?n(d):e.attempt(co,e.attempt(fo,f),n)(d)}function f(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function Id(e,t,n){let r=0;return u;function u(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),u):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function Sd(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(ho,l,o)(c):c===null||Oe(c)||gn(c)||c!==45&&$r(c)?l(c):(i=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(u=r,r=void 0),e.consume(c),a}function l(c){return u||r||!i?n(c):t(c)}}function kd(e,t){let n=0,r=0;return u;function u(a){return a===40?(n++,e.consume(a),u):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(ho,t,i)(a):a===null||Oe(a)||gn(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function Rd(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),i):o===93?(e.consume(o),u):o===60||o===null||Oe(o)||gn(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||Oe(o)||gn(o)?t(o):r(o)}function i(o){return nt(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):nt(o)?(e.consume(o),a):n(o)}}function Ld(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return Je(i)?n(i):t(i)}}function Eo(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Oe(e)}function bo(e){return!nt(e)}function go(e){return!(e===47||Yu(e))}function Yu(e){return e===43||e===45||e===46||e===95||Je(e)}function oi(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 Od={tokenize:Ud,partial:!0};function Fd(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Bd,continuation:{tokenize:Md},exit:Hd}},text:{91:{name:"gfmFootnoteCall",tokenize:vd},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Pd,resolveTo:wd}}}}function Pd(e,t,n){const r=this;let u=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const l=r.events[u][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Ot(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function wd(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)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function vd(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(i>999||d===93&&!a||d===null||d===91||Oe(d))return n(d);if(d===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return u.includes(Ot(r.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return Oe(d)||(a=!0),i++,e.consume(d),d===92?f:c}function f(d){return d===91||d===92||d===93?(e.consume(d),i++,c):c(d)}}function Bd(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(T){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(T){return T===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(T)}function f(T){if(a>999||T===93&&!o||T===null||T===91||Oe(T))return n(T);if(T===93){e.exit("chunkString");const O=e.exit("gfmFootnoteDefinitionLabelString");return i=Ot(r.sliceSerialize(O)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return Oe(T)||(o=!0),a++,e.consume(T),T===92?d:f}function d(T){return T===91||T===92||T===93?(e.consume(T),a++,f):f(T)}function g(T){return T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),u.includes(i)||u.push(i),_e(e,m,"gfmFootnoteDefinitionWhitespace")):n(T)}function m(T){return t(T)}}function Md(e,t,n){return e.check(pr,t,e.attempt(Od,t,n))}function Hd(e){e.exit("gfmFootnoteDefinition")}function Ud(e,t,n){const r=this;return _e(e,u,"gfmFootnoteDefinitionIndent",5);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function jd(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},d={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},g=[["enter",f,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",d,o]],m=o.parser.constructs.insideSpan.null;m&&xt(g,g.length,0,Wr(m,a.slice(c+1,l),o)),xt(g,g.length,0,[["exit",d,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",f,o]]),xt(a,c-1,l-c+3,g),l=c+g.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function i(a,o,l){const c=this.previous,f=this.events;let d=0;return g;function g(T){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(T):(a.enter("strikethroughSequenceTemporary"),m(T))}function m(T){const O=Ur(c);if(T===126)return d>1?l(T):(a.consume(T),d++,m);if(d<2&&!n)return l(T);const S=a.exit("strikethroughSequenceTemporary"),R=Ur(T);return S._open=!R||R===2&&!!O,S._close=!O||O===2&&!!R,o(T)}}}class zd{constructor(){this.map=[]}add(t,n,r){Yd(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[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]),t.length=0;let u=r.pop();for(;u;)t.push(...u),u=r.pop();this.map.length=0}}function Yd(e,t,n,r){let u=0;if(!(n===0&&r.length===0)){for(;u<e.map.length;){if(e.map[u][0]===t){e.map[u][1]+=n,e.map[u][2].push(...r);return}u+=1}e.map.push([t,n,r])}}function qd(e,t){let n=!1;const r=[];for(;t<e.length;){const u=e[t];if(n){if(u[0]==="enter")u[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Vd(){return{flow:{null:{name:"table",tokenize:$d,resolveAll:Wd}}}}function $d(e,t,n){const r=this;let u=0,i=0,a;return o;function o(L){let G=r.events.length-1;for(;G>-1;){const re=r.events[G][1].type;if(re==="lineEnding"||re==="linePrefix")G--;else break}const Y=G>-1?r.events[G][1].type:null,te=Y==="tableHead"||Y==="tableRow"?P:l;return te===P&&r.parser.lazy[r.now().line]?n(L):te(L)}function l(L){return e.enter("tableHead"),e.enter("tableRow"),c(L)}function c(L){return L===124||(a=!0,i+=1),f(L)}function f(L){return L===null?n(L):ie(L)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),m):n(L):De(L)?_e(e,f,"whitespace")(L):(i+=1,a&&(a=!1,u+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),d(L)))}function d(L){return L===null||L===124||Oe(L)?(e.exit("data"),f(L)):(e.consume(L),L===92?g:d)}function g(L){return L===92||L===124?(e.consume(L),d):d(L)}function m(L){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(L):(e.enter("tableDelimiterRow"),a=!1,De(L)?_e(e,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):T(L))}function T(L){return L===45||L===58?S(L):L===124?(a=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),O):K(L)}function O(L){return De(L)?_e(e,S,"whitespace")(L):S(L)}function S(L){return L===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),R):L===45?(i+=1,R(L)):L===null||ie(L)?ee(L):K(L)}function R(L){return L===45?(e.enter("tableDelimiterFiller"),v(L)):K(L)}function v(L){return L===45?(e.consume(L),v):L===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),j):(e.exit("tableDelimiterFiller"),j(L))}function j(L){return De(L)?_e(e,ee,"whitespace")(L):ee(L)}function ee(L){return L===124?T(L):L===null||ie(L)?!a||u!==i?K(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(L)):K(L)}function K(L){return n(L)}function P(L){return e.enter("tableRow"),H(L)}function H(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),H):L===null||ie(L)?(e.exit("tableRow"),t(L)):De(L)?_e(e,H,"whitespace")(L):(e.enter("data"),se(L))}function se(L){return L===null||L===124||Oe(L)?(e.exit("data"),H(L)):(e.consume(L),L===92?oe:se)}function oe(L){return L===92||L===124?(e.consume(L),se):se(L)}}function Wd(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,d;const g=new zd;for(;++n<e.length;){const m=e[n],T=m[1];m[0]==="enter"?T.type==="tableHead"?(o=!1,l!==0&&(za(g,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},T.start),end:Object.assign({},T.end)},g.add(n,0,[["enter",c,t]])):T.type==="tableRow"||T.type==="tableDelimiterRow"?(r=!0,d=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},T.start),end:Object.assign({},T.end)},g.add(n,0,[["enter",f,t]])),u=T.type==="tableDelimiterRow"?2:f?3:1):u&&(T.type==="data"||T.type==="tableDelimiterMarker"||T.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],d=Ir(g,t,i,u,void 0,d),i=[0,0,0,0]),a[2]=n)):T.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],d=Ir(g,t,i,u,void 0,d)),i=a,a=[i[1],n,0,0])):T.type==="tableHead"?(o=!0,l=n):T.type==="tableRow"||T.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],d=Ir(g,t,i,u,n,d)):a[1]!==0&&(d=Ir(g,t,a,u,n,d)),u=0):u&&(T.type==="data"||T.type==="tableDelimiterMarker"||T.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&za(g,t,l,c,f),g.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=qd(t.events,n))}return e}function Ir(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},In(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=In(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=In(t.events,n[2]),f=In(t.events,n[3]),d={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const g=t.events[n[2]],m=t.events[n[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",n[3]>n[2]+1){const T=n[2]+1,O=n[3]-n[2]-1;e.add(T,O,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return u!==void 0&&(i.end=Object.assign({},In(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function za(e,t,n,r,u){const i=[],a=In(t.events,n);u&&(u.end=Object.assign({},a),i.push(["exit",u,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function In(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Qd={name:"tasklistCheck",tokenize:Xd};function Gd(){return{text:{91:Qd}}}function Xd(e,t,n){const r=this;return u;function u(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Oe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return ie(l)?t(l):De(l)?e.check({tokenize:Kd},t,n)(l):n(l)}}function Kd(e,t,n){return _e(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function Jd(e){return Ps([Dd(),Fd(),jd(e),Vd(),Gd()])}const Zd={};function ep(e){const t=this,n=e||Zd,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(Jd(n)),i.push(Td()),a.push(Ad(n))}const tp=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Ya={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function To(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function np(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function rp(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function qa(e){return rp(e)||To(e)}const xn=String.fromCharCode,up=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function li(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let u=0,i=-1,a="",o,l;t.position&&("start"in t.position||"indent"in t.position?(l=t.position.indent,o=t.position.start):o=t.position);let c=(o?o.line:0)||1,f=(o?o.column:0)||1,d=m(),g;for(u--;++u<=e.length;)if(g===10&&(f=(l?l[i]:0)||1),g=e.charCodeAt(u),g===38){const S=e.charCodeAt(u+1);if(S===9||S===10||S===12||S===32||S===38||S===60||Number.isNaN(S)||n&&S===n){a+=xn(g),f++;continue}const R=u+1;let v=R,j=R,ee;if(S===35){j=++v;const Y=e.charCodeAt(j);Y===88||Y===120?(ee="hexadecimal",j=++v):ee="decimal"}else ee="named";let K="",P="",H="";const se=ee==="named"?qa:ee==="decimal"?To:np;for(j--;++j<=e.length;){const Y=e.charCodeAt(j);if(!se(Y))break;H+=xn(Y),ee==="named"&&tp.includes(H)&&(K=H,P=lr(H))}let oe=e.charCodeAt(j)===59;if(oe){j++;const Y=ee==="named"?lr(H):!1;Y&&(K=H,P=Y)}let L=1+j-R,G="";if(!(!oe&&t.nonTerminated===!1))if(!H)ee!=="named"&&T(4,L);else if(ee==="named"){if(oe&&!P)T(5,1);else if(K!==H&&(j=v+K.length,L=1+j-v,oe=!1),!oe){const Y=K?1:3;if(t.attribute){const te=e.charCodeAt(j);te===61?(T(Y,L),P=""):qa(te)?P="":T(Y,L)}else T(Y,L)}G=P}else{oe||T(2,L);let Y=Number.parseInt(H,ee==="hexadecimal"?16:10);if(ip(Y))T(7,L),G=xn(65533);else if(Y in Ya)T(6,L),G=Ya[Y];else{let te="";ap(Y)&&T(6,L),Y>65535&&(Y-=65536,te+=xn(Y>>>10|55296),Y=56320|Y&1023),G=te+xn(Y)}}if(G){O(),d=m(),u=j-1,f+=j-R+1,r.push(G);const Y=m();Y.offset++,t.reference&&t.reference.call(t.referenceContext,G,{start:d,end:Y},e.slice(R-1,j)),d=Y}else H=e.slice(R-1,j),a+=H,f+=H.length,u=j-1}else g===10&&(c++,i++,f=0),Number.isNaN(g)?O():(a+=xn(g),f++);return r.join("");function m(){return{line:c,column:f,offset:u+((o?o.offset:0)||0)}}function T(S,R){let v;t.warning&&(v=m(),v.column+=R,v.offset+=R,t.warning.call(t.warningContext,up[S],v,S))}function O(){a&&(r.push(a),t.text&&t.text.call(t.textContext,a,{start:d,end:m()}),a="")}}function ip(e){return e>=55296&&e<=57343||e>1114111}function ap(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const sp=/["&'<>`]/g,op=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lp=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,cp=/[|\\{}()[\]^$+*?.]/g,Va=new WeakMap;function fp(e,t){if(e=e.replace(t.subset?hp(t.subset):sp,r),t.subset||t.escapeOnly)return e;return e.replace(op,n).replace(lp,r);function n(u,i,a){return t.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function r(u,i,a){return t.format(u.charCodeAt(0),a.charCodeAt(i+1),t)}}function hp(e){let t=Va.get(e);return t||(t=dp(e),Va.set(e,t)),t}function dp(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(cp,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function pp(e){return"&#x"+e.toString(16).toUpperCase()+";"}function mp(e,t){return fp(e,Object.assign({format:pp},t))}const Ep={}.hasOwnProperty,$a=/^[^\t\n\r "#'.<=>`}]+$/;vr.peek=yp;function bp(){return{canContainEols:["textDirective"],enter:{directiveContainer:Tp,directiveContainerAttributes:xu,directiveContainerLabel:Cp,directiveLeaf:Ap,directiveLeafAttributes:xu,directiveText:_p,directiveTextAttributes:xu},exit:{directiveContainer:Lu,directiveContainerAttributeClassValue:Iu,directiveContainerAttributeIdValue:Nu,directiveContainerAttributeName:ku,directiveContainerAttributeValue:Su,directiveContainerAttributes:Ru,directiveContainerLabel:Dp,directiveContainerName:yu,directiveLeaf:Lu,directiveLeafAttributeClassValue:Iu,directiveLeafAttributeIdValue:Nu,directiveLeafAttributeName:ku,directiveLeafAttributeValue:Su,directiveLeafAttributes:Ru,directiveLeafName:yu,directiveText:Lu,directiveTextAttributeClassValue:Iu,directiveTextAttributeIdValue:Nu,directiveTextAttributeName:ku,directiveTextAttributeValue:Su,directiveTextAttributes:Ru,directiveTextName:yu}}}function gp(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
85
|
+
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:vr,leafDirective:vr,textDirective:vr}}}function Tp(e){ci.call(this,"containerDirective",e)}function Ap(e){ci.call(this,"leafDirective",e)}function _p(e){ci.call(this,"textDirective",e)}function ci(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function yu(e){const t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function Cp(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function Dp(e){this.exit(e)}function xu(){this.data.directiveAttributes=[],this.buffer()}function Nu(e){this.data.directiveAttributes.push(["id",li(this.sliceSerialize(e),{attribute:!0})])}function Iu(e){this.data.directiveAttributes.push(["class",li(this.sliceSerialize(e),{attribute:!0})])}function Su(e){const t=this.data.directiveAttributes;t[t.length-1][1]=li(this.sliceSerialize(e),{attribute:!0})}function ku(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function Ru(){const e=this.data.directiveAttributes,t={};let n=-1;for(;++n<e.length;){const u=e[n];u[0]==="class"&&t.class?t.class+=" "+u[1]:t[u[0]]=u[1]}this.data.directiveAttributes=void 0,this.resume();const r=this.stack[this.stack.length-1];r.type==="containerDirective"||r.type==="leafDirective"||r.type,r.attributes=t}function Lu(e){this.exit(e)}function vr(e,t,n,r){const u=n.createTracker(r),i=Np(e),a=n.enter(e.type);let o=u.move(i+(e.name||"")),l;if(e.type==="containerDirective"){const c=(e.children||[])[0];l=Wa(c)?c:void 0}else l=e;if(l&&l.children&&l.children.length>0){const c=n.enter("label"),f=`${e.type}Label`,d=n.enter(f);o+=u.move("["),o+=u.move(n.containerPhrasing(l,{...u.current(),before:o,after:"]"})),o+=u.move("]"),d(),c()}if(o+=u.move(xp(e,n)),e.type==="containerDirective"){const c=(e.children||[])[0];let f=e;Wa(c)&&(f=Object.assign({},e,{children:e.children.slice(1)})),f&&f.children&&f.children.length>0&&(o+=u.move(`
|
|
48
86
|
`),o+=u.move(n.containerFlow(f,u.current()))),o+=u.move(`
|
|
49
|
-
`+i)}return a(),o}function
|
|
50
|
-
`,"\r"],u=e.attributes||{},i=[];let a,o,l,c;for(c in u)if(
|
|
51
|
-
`}]}function
|
|
52
|
-
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let u={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(u.data={meta:t.meta}),e.patch(t,u),u=e.applyData(t,u),u={type:"element",tagName:"pre",properties:{},children:[u]},e.patch(t,u),u}function
|
|
87
|
+
`+i)}return a(),o}function yp(){return":"}function xp(e,t){const n=t.options.quote||'"',r=e.type==="textDirective"?[n]:[n,`
|
|
88
|
+
`,"\r"],u=e.attributes||{},i=[];let a,o,l,c;for(c in u)if(Ep.call(u,c)&&u[c]!==void 0&&u[c]!==null){const d=String(u[c]);if(c==="id")l=$a.test(d)?"#"+d:f("id",d);else if(c==="class"){const g=d.split(/[\t\n\r ]+/g),m=[],T=[];let O=-1;for(;++O<g.length;)($a.test(g[O])?T:m).push(g[O]);a=m.length>0?f("class",m.join(" ")):"",o=T.length>0?"."+T.join("."):""}else i.push(f(c,d))}return a&&i.unshift(a),o&&i.unshift(o),l&&i.unshift(l),i.length>0?"{"+i.join(" ")+"}":"";function f(d,g){return d+(g?"="+n+mp(g,{subset:r})+n:"")}}function Wa(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function Np(e){let t=0;return e.type==="containerDirective"?(ii(e,function(n,r){if(n.type==="containerDirective"){let u=r.length,i=0;for(;u--;)r[u].type==="containerDirective"&&i++;i>t&&(t=i)}}),t+=3):e.type==="leafDirective"?t=2:t=1,":".repeat(t)}function fi(e,t,n,r,u,i,a,o,l,c,f,d,g,m,T){let O,S;return R;function R(x){return e.enter(r),e.enter(u),e.consume(x),e.exit(u),v}function v(x){return x===35?(O=a,j(x)):x===46?(O=o,j(x)):x===58||x===95||nt(x)?(e.enter(i),e.enter(l),e.consume(x),P):T&&De(x)?_e(e,v,"whitespace")(x):!T&&Oe(x)?$t(e,v)(x):re(x)}function j(x){const Ne=O+"Marker";return e.enter(i),e.enter(O),e.enter(Ne),e.consume(x),e.exit(Ne),ee}function ee(x){if(x===null||x===34||x===35||x===39||x===46||x===60||x===61||x===62||x===96||x===125||Oe(x))return n(x);const Ne=O+"Value";return e.enter(Ne),e.consume(x),K}function K(x){if(x===null||x===34||x===39||x===60||x===61||x===62||x===96)return n(x);if(x===35||x===46||x===125||Oe(x)){const Ne=O+"Value";return e.exit(Ne),e.exit(O),e.exit(i),v(x)}return e.consume(x),K}function P(x){return x===45||x===46||x===58||x===95||Je(x)?(e.consume(x),P):(e.exit(l),T&&De(x)?_e(e,H,"whitespace")(x):!T&&Oe(x)?$t(e,H)(x):H(x))}function H(x){return x===61?(e.enter(c),e.consume(x),e.exit(c),se):(e.exit(i),v(x))}function se(x){return x===null||x===60||x===61||x===62||x===96||x===125||T&&ie(x)?n(x):x===34||x===39?(e.enter(f),e.enter(g),e.consume(x),e.exit(g),S=x,L):T&&De(x)?_e(e,se,"whitespace")(x):!T&&Oe(x)?$t(e,se)(x):(e.enter(d),e.enter(m),e.consume(x),S=void 0,oe)}function oe(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96?n(x):x===125||Oe(x)?(e.exit(m),e.exit(d),e.exit(i),v(x)):(e.consume(x),oe)}function L(x){return x===S?(e.enter(g),e.consume(x),e.exit(g),e.exit(f),e.exit(i),te):(e.enter(d),G(x))}function G(x){return x===S?(e.exit(d),L(x)):x===null?n(x):ie(x)?T?n(x):$t(e,G)(x):(e.enter(m),e.consume(x),Y)}function Y(x){return x===S||x===null||ie(x)?(e.exit(m),G(x)):(e.consume(x),Y)}function te(x){return x===125||Oe(x)?v(x):re(x)}function re(x){return x===125?(e.enter(u),e.consume(x),e.exit(u),e.exit(r),t):n(x)}}function hi(e,t,n,r,u,i,a){let o=0,l=0,c;return f;function f(S){return e.enter(r),e.enter(u),e.consume(S),e.exit(u),d}function d(S){return S===93?(e.enter(u),e.consume(S),e.exit(u),e.exit(r),t):(e.enter(i),g(S))}function g(S){if(S===93&&!l)return O(S);const R=e.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=R),c=R,m(S)}function m(S){return S===null||o>999||S===91&&++l>32?n(S):S===93&&!l--?(e.exit("chunkText"),O(S)):ie(S)?a?n(S):(e.consume(S),e.exit("chunkText"),g):(e.consume(S),S===92?T:m)}function T(S){return S===91||S===92||S===93?(e.consume(S),o++,m):m(S)}function O(S){return e.exit(i),e.enter(u),e.consume(S),e.exit(u),e.exit(r),t}}function di(e,t,n,r){const u=this;return i;function i(o){return nt(o)?(e.enter(r),e.consume(o),a):n(o)}function a(o){return o===45||o===95||Je(o)?(e.consume(o),a):(e.exit(r),u.previous===45||u.previous===95?n(o):t(o))}}const Ip={tokenize:Rp,concrete:!0},Sp={tokenize:Lp,partial:!0},kp={tokenize:Op,partial:!0},Qa={tokenize:Fp,partial:!0};function Rp(e,t,n){const r=this,u=r.events[r.events.length-1],i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0;let a=0,o;return l;function l(H){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),c(H)}function c(H){return H===58?(e.consume(H),a++,c):a<3?n(H):(e.exit("directiveContainerSequence"),di.call(r,e,f,n,"directiveContainerName")(H))}function f(H){return H===91?e.attempt(Sp,d,d)(H):d(H)}function d(H){return H===123?e.attempt(kp,g,g)(H):g(H)}function g(H){return _e(e,m,"whitespace")(H)}function m(H){return e.exit("directiveContainerFence"),H===null?T(H):ie(H)?r.interrupt?t(H):e.attempt(Qa,O,T)(H):n(H)}function T(H){return e.exit("directiveContainer"),t(H)}function O(H){return H===null?(e.exit("directiveContainer"),t(H)):(e.enter("directiveContainerContent"),S(H))}function S(H){return H===null?K(H):e.attempt({tokenize:P,partial:!0},K,i?_e(e,R,"linePrefix",i+1):R)(H)}function R(H){if(H===null)return K(H);const se=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=se),o=se,v(H)}function v(H){if(H===null){const se=e.exit("chunkDocument");return r.parser.lazy[se.start.line]=!1,K(H)}return ie(H)?e.check(Qa,j,ee)(H):(e.consume(H),v)}function j(H){e.consume(H);const se=e.exit("chunkDocument");return r.parser.lazy[se.start.line]=!1,S}function ee(H){const se=e.exit("chunkDocument");return r.parser.lazy[se.start.line]=!1,K(H)}function K(H){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(H)}function P(H,se,oe){let L=0;return _e(H,G,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function G(re){return H.enter("directiveContainerFence"),H.enter("directiveContainerSequence"),Y(re)}function Y(re){return re===58?(H.consume(re),L++,Y):L<a?oe(re):(H.exit("directiveContainerSequence"),_e(H,te,"whitespace")(re))}function te(re){return re===null||ie(re)?(H.exit("directiveContainerFence"),se(re)):oe(re)}}}function Lp(e,t,n){return hi(e,t,n,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function Op(e,t,n){return fi(e,t,n,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function Fp(e,t,n){const r=this;return u;function u(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Pp={tokenize:Bp},wp={tokenize:Mp,partial:!0},vp={tokenize:Hp,partial:!0};function Bp(e,t,n){const r=this;return u;function u(f){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(f),i}function i(f){return f===58?(e.consume(f),e.exit("directiveLeafSequence"),di.call(r,e,a,n,"directiveLeafName")):n(f)}function a(f){return f===91?e.attempt(wp,o,o)(f):o(f)}function o(f){return f===123?e.attempt(vp,l,l)(f):l(f)}function l(f){return _e(e,c,"whitespace")(f)}function c(f){return f===null||ie(f)?(e.exit("directiveLeaf"),t(f)):n(f)}}function Mp(e,t,n){return hi(e,t,n,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function Hp(e,t,n){return fi(e,t,n,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const Up={tokenize:qp,previous:Yp},jp={tokenize:Vp,partial:!0},zp={tokenize:$p,partial:!0};function Yp(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function qp(e,t,n){const r=this;return u;function u(l){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(l),e.exit("directiveTextMarker"),di.call(r,e,i,n,"directiveTextName")}function i(l){return l===58?n(l):l===91?e.attempt(jp,a,a)(l):a(l)}function a(l){return l===123?e.attempt(zp,o,o)(l):o(l)}function o(l){return e.exit("directiveText"),t(l)}}function Vp(e,t,n){return hi(e,t,n,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function $p(e,t,n){return fi(e,t,n,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function Wp(){return{text:{58:Up},flow:{58:[Ip,Pp]}}}function Qp(){const t=this.data(),n=t.micromarkExtensions||(t.micromarkExtensions=[]),r=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),u=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);n.push(Wp()),r.push(bp()),u.push(gp())}function Gp(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 Xp(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
89
|
+
`}]}function Kp(e,t){const n=t.value?t.value+`
|
|
90
|
+
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let u={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(u.data={meta:t.meta}),e.patch(t,u),u=e.applyData(t,u),u={type:"element",tagName:"pre",properties:{},children:[u]},e.patch(t,u),u}function Jp(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Zp(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function em(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=On(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+u,id:n+"fnref-"+u+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function tm(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 nm(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Ao(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 u=e.all(t),i=u[0];i&&i.type==="text"?i.value="["+i.value:u.unshift({type:"text",value:"["});const a=u[u.length-1];return a&&a.type==="text"?a.value+=r:u.push({type:"text",value:r}),u}function rm(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ao(e,t);const u={src:On(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"img",properties:u,children:[]};return e.patch(t,i),e.applyData(t,i)}function um(e,t){const n={src:On(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 im(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 am(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ao(e,t);const u={href:On(r.url||"")};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"a",properties:u,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function sm(e,t){const n={href:On(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 om(e,t,n){const r=e.all(t),u=n?lm(n):_o(t),i={},a=[];if(typeof t.checked=="boolean"){const f=r[0];let d;f&&f.type==="element"&&f.tagName==="p"?d=f:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const f=r[o];(u||o!==0||f.type!=="element"||f.tagName!=="p")&&a.push({type:"text",value:`
|
|
53
91
|
`}),f.type==="element"&&f.tagName==="p"&&!u?a.push(...f.children):a.push(f)}const l=r[r.length-1];l&&(u||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
|
|
54
|
-
`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function
|
|
92
|
+
`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function lm(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=_o(n[r])}return t}function _o(e){const t=e.spread;return t??e.children.length>1}function cm(e,t){const n={},r=e.all(t);let u=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++u<r.length;){const a=r[u];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function fm(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hm(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function dm(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Xr=Co("end"),jt=Co("start");function Co(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 pm(e){const t=jt(e),n=Xr(e);if(t&&n)return{start:t,end:n}}function mm(e,t){const n=e.all(t),r=n.shift(),u=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),u.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=jt(t.children[1]),l=Xr(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),u.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,i),e.applyData(t,i)}function Em(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const d=t.children[l],g={},m=a?a[l]:void 0;m&&(g.align=m);let T={type:"element",tagName:i,properties:g,children:[]};d&&(T.children=e.all(d),e.patch(d,T),T=e.applyData(d,T)),c.push(T)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,f),e.applyData(t,f)}function bm(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Ga=9,Xa=32;function gm(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const i=[];for(;r;)i.push(Ka(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(Ka(t.slice(u),u>0,!1)),i.join("")}function Ka(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===Ga||i===Xa;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===Ga||i===Xa;)u--,i=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function Tm(e,t){const n={type:"text",value:gm(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Am(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const _m={blockquote:Gp,break:Xp,code:Kp,delete:Jp,emphasis:Zp,footnoteReference:em,heading:tm,html:nm,imageReference:rm,image:um,inlineCode:im,linkReference:am,link:sm,listItem:om,list:cm,paragraph:fm,root:hm,strong:dm,table:mm,tableCell:bm,tableRow:Em,text:Tm,thematicBreak:Am,toml:Sr,yaml:Sr,definition:Sr,footnoteDefinition:Sr};function Sr(){}const Do=-1,Kr=0,jr=1,zr=2,pi=3,mi=4,Ei=5,bi=6,yo=7,xo=8,Ja=typeof self=="object"?self:globalThis,Cm=(e,t)=>{const n=(u,i)=>(e.set(i,u),u),r=u=>{if(e.has(u))return e.get(u);const[i,a]=t[u];switch(i){case Kr:case Do:return n(a,u);case jr:{const o=n([],u);for(const l of a)o.push(r(l));return o}case zr:{const o=n({},u);for(const[l,c]of a)o[r(l)]=r(c);return o}case pi:return n(new Date(a),u);case mi:{const{source:o,flags:l}=a;return n(new RegExp(o,l),u)}case Ei:{const o=n(new Map,u);for(const[l,c]of a)o.set(r(l),r(c));return o}case bi:{const o=n(new Set,u);for(const l of a)o.add(r(l));return o}case yo:{const{name:o,message:l}=a;return n(new Ja[o](l),u)}case xo:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u)}return n(new Ja[i](a),u)};return r},Za=e=>Cm(new Map,e)(0),Nn="",{toString:Dm}={},{keys:ym}=Object,Gn=e=>{const t=typeof e;if(t!=="object"||!e)return[Kr,t];const n=Dm.call(e).slice(8,-1);switch(n){case"Array":return[jr,Nn];case"Object":return[zr,Nn];case"Date":return[pi,Nn];case"RegExp":return[mi,Nn];case"Map":return[Ei,Nn];case"Set":return[bi,Nn]}return n.includes("Array")?[jr,n]:n.includes("Error")?[yo,n]:[zr,n]},kr=([e,t])=>e===Kr&&(t==="function"||t==="symbol"),xm=(e,t,n,r)=>{const u=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},i=a=>{if(n.has(a))return n.get(a);let[o,l]=Gn(a);switch(o){case Kr:{let f=a;switch(l){case"bigint":o=xo,f=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return u([Do],a)}return u([o,f],a)}case jr:{if(l)return u([l,[...a]],a);const f=[],d=u([o,f],a);for(const g of a)f.push(i(g));return d}case zr:{if(l)switch(l){case"BigInt":return u([l,a.toString()],a);case"Boolean":case"Number":case"String":return u([l,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const f=[],d=u([o,f],a);for(const g of ym(a))(e||!kr(Gn(a[g])))&&f.push([i(g),i(a[g])]);return d}case pi:return u([o,a.toISOString()],a);case mi:{const{source:f,flags:d}=a;return u([o,{source:f,flags:d}],a)}case Ei:{const f=[],d=u([o,f],a);for(const[g,m]of a)(e||!(kr(Gn(g))||kr(Gn(m))))&&f.push([i(g),i(m)]);return d}case bi:{const f=[],d=u([o,f],a);for(const g of a)(e||!kr(Gn(g)))&&f.push(i(g));return d}}const{message:c}=a;return u([o,{name:l,message:c}],a)};return i},es=(e,{json:t,lossy:n}={})=>{const r=[];return xm(!(t||n),!!t,new Map,r)(e),r},Wt=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Za(es(e,t)):structuredClone(e):(e,t)=>Za(es(e,t));function Nm(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 Im(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Sm(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Nm,r=e.options.footnoteBackLabel||Im,u=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const f=e.all(c),d=String(c.identifier).toUpperCase(),g=On(d.toLowerCase());let m=0;const T=[],O=e.footnoteCounts.get(d);for(;O!==void 0&&++m<=O;){T.length>0&&T.push({type:"text",value:" "});let v=typeof n=="string"?n:n(l,m);typeof v=="string"&&(v={type:"text",value:v}),T.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+g+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,m),className:["data-footnote-backref"]},children:Array.isArray(v)?v:[v]})}const S=f[f.length-1];if(S&&S.type==="element"&&S.tagName==="p"){const v=S.children[S.children.length-1];v&&v.type==="text"?v.value+=" ":S.children.push({type:"text",value:" "}),S.children.push(...T)}else f.push(...T);const R={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(f,!0)};e.patch(c,R),o.push(R)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Wt(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
55
93
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
56
|
-
`}]}}const
|
|
94
|
+
`}]}}const qu={}.hasOwnProperty,km={};function Rm(e,t){const n=t||km,r=new Map,u=new Map,i=new Map,a={..._m,...n.handlers},o={all:c,applyData:Om,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:l,options:n,patch:Lm,wrap:Pm};return mt(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const d=f.type==="definition"?r:u,g=String(f.identifier).toUpperCase();d.has(g)||d.set(g,f)}}),o;function l(f,d){const g=f.type,m=o.handlers[g];if(qu.call(o.handlers,g)&&m)return m(o,f,d);if(o.options.passThrough&&o.options.passThrough.includes(g)){if("children"in f){const{children:O,...S}=f,R=Wt(S);return R.children=o.all(f),R}return Wt(f)}return(o.options.unknownHandler||Fm)(o,f,d)}function c(f){const d=[];if("children"in f){const g=f.children;let m=-1;for(;++m<g.length;){const T=o.one(g[m],f);if(T){if(m&&g[m-1].type==="break"&&(!Array.isArray(T)&&T.type==="text"&&(T.value=ts(T.value)),!Array.isArray(T)&&T.type==="element")){const O=T.children[0];O&&O.type==="text"&&(O.value=ts(O.value))}Array.isArray(T)?d.push(...T):d.push(T)}}}return d}}function Lm(e,t){e.position&&(t.position=pm(e))}function Om(e,t){let n=t;if(e&&e.data){const r=e.data.hName,u=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&i&&Object.assign(n.properties,Wt(i)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function Fm(e,t){const n=t.data||{},r="value"in t&&!(qu.call(n,"hProperties")||qu.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 Pm(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
57
95
|
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
58
96
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
59
|
-
`}),n}function
|
|
60
|
-
`},u),i}function um(e,t){return e&&"run"in e?async function(n,r){const u=$i(n,{file:r,...t});await e.run(u,r)}:function(n,r){return $i(n,{file:r,...t||e})}}function im(e){za(e,[/\r?\n|\r/g,am])}function am(){return{type:"break"}}function sm(){return function(e){im(e)}}class Un{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Un.prototype.property={};Un.prototype.normal={};Un.prototype.space=null;function bs(e,t){const n={},r={};let u=-1;for(;++u<e.length;)Object.assign(n,e[u].property),Object.assign(r,e[u].normal);return new Un(n,r,t)}function zt(e){return e.toLowerCase()}class nt{constructor(t,n){this.property=t,this.attribute=n}}nt.prototype.space=null;nt.prototype.boolean=!1;nt.prototype.booleanish=!1;nt.prototype.overloadedBoolean=!1;nt.prototype.number=!1;nt.prototype.commaSeparated=!1;nt.prototype.spaceSeparated=!1;nt.prototype.commaOrSpaceSeparated=!1;nt.prototype.mustUseProperty=!1;nt.prototype.defined=!1;let om=0;const re=jt(),_e=jt(),gs=jt(),z=jt(),Ee=jt(),Xt=jt(),$e=jt();function jt(){return 2**++om}const cu=Object.freeze(Object.defineProperty({__proto__:null,boolean:re,booleanish:_e,commaOrSpaceSeparated:$e,commaSeparated:Xt,number:z,overloadedBoolean:gs,spaceSeparated:Ee},Symbol.toStringTag,{value:"Module"})),Kr=Object.keys(cu);class Mu extends nt{constructor(t,n,r,u){let i=-1;if(super(t,n),Xi(this,"space",u),typeof r=="number")for(;++i<Kr.length;){const a=Kr[i];Xi(this,Kr[i],(r&cu[a])===cu[a])}}}Mu.prototype.defined=!0;function Xi(e,t,n){n&&(e[t]=n)}const lm={}.hasOwnProperty;function Zt(e){const t={},n={};let r;for(r in e.properties)if(lm.call(e.properties,r)){const u=e.properties[r],i=new Mu(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[zt(r)]=r,n[zt(i.attribute)]=r}return new Un(t,n,e.space)}const As=Zt({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Cs=Zt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function _s(e,t){return t in e?e[t]:t}function Ds(e,t){return _s(e,t.toLowerCase())}const xs=Zt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ds,properties:{xmlns:null,xmlnsXLink:null}}),Ns=Zt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:_e,ariaAutoComplete:null,ariaBusy:_e,ariaChecked:_e,ariaColCount:z,ariaColIndex:z,ariaColSpan:z,ariaControls:Ee,ariaCurrent:null,ariaDescribedBy:Ee,ariaDetails:null,ariaDisabled:_e,ariaDropEffect:Ee,ariaErrorMessage:null,ariaExpanded:_e,ariaFlowTo:Ee,ariaGrabbed:_e,ariaHasPopup:null,ariaHidden:_e,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ee,ariaLevel:z,ariaLive:null,ariaModal:_e,ariaMultiLine:_e,ariaMultiSelectable:_e,ariaOrientation:null,ariaOwns:Ee,ariaPlaceholder:null,ariaPosInSet:z,ariaPressed:_e,ariaReadOnly:_e,ariaRelevant:null,ariaRequired:_e,ariaRoleDescription:Ee,ariaRowCount:z,ariaRowIndex:z,ariaRowSpan:z,ariaSelected:_e,ariaSetSize:z,ariaSort:null,ariaValueMax:z,ariaValueMin:z,ariaValueNow:z,ariaValueText:null,role:null}}),cm=Zt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ds,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xt,acceptCharset:Ee,accessKey:Ee,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:Ee,autoFocus:re,autoPlay:re,blocking:Ee,capture:null,charSet:null,checked:re,cite:null,className:Ee,cols:z,colSpan:null,content:null,contentEditable:_e,controls:re,controlsList:Ee,coords:z|Xt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:gs,draggable:_e,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:Ee,height:z,hidden:re,high:z,href:null,hrefLang:null,htmlFor:Ee,httpEquiv:Ee,id:null,imageSizes:null,imageSrcSet:null,inert:re,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:Ee,itemRef:Ee,itemScope:re,itemType:Ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:z,manifest:null,max:null,maxLength:z,media:null,method:null,min:null,minLength:z,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,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:re,optimum:z,pattern:null,ping:Ee,placeholder:null,playsInline:re,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:Ee,required:re,reversed:re,rows:z,rowSpan:z,sandbox:Ee,scope:null,scoped:re,seamless:re,selected:re,shadowRootClonable:re,shadowRootDelegatesFocus:re,shadowRootMode:null,shape:null,size:z,sizes:null,slot:null,span:z,spellCheck:_e,src:null,srcDoc:null,srcLang:null,srcSet:null,start:z,step:null,style:null,tabIndex:z,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:_e,width:z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ee,axis:null,background:null,bgColor:null,border:z,borderColor:null,bottomMargin:z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:z,leftMargin:z,link:null,longDesc:null,lowSrc:null,marginHeight:z,marginWidth:z,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:z,rules:null,scheme:null,scrolling:_e,standby:null,summary:null,text:null,topMargin:z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:z,security:null,unselectable:null}}),fm=Zt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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"},transform:_s,properties:{about:$e,accentHeight:z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:z,amplitude:z,arabicForm:null,ascent:z,attributeName:null,attributeType:null,azimuth:z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:z,by:null,calcMode:null,capHeight:z,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:z,diffuseConstant:z,direction:null,display:null,dur:null,divisor:z,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:z,enableBackground:null,end:null,event:null,exponent:z,externalResourcesRequired:null,fill:null,fillOpacity:z,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:Xt,g2:Xt,glyphName:Xt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:z,horizOriginX:z,horizOriginY:z,id:null,ideographic:z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:z,k:z,k1:z,k2:z,k3:z,k4:z,kernelMatrix:$e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:z,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:z,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:z,overlineThickness:z,paintOrder:null,panose1:null,path:null,pathLength:z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:z,pointsAtY:z,pointsAtZ:z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$e,rev:$e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$e,requiredFeatures:$e,requiredFonts:$e,requiredFormats:$e,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:z,specularExponent:z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:z,strikethroughThickness:z,string:null,stroke:null,strokeDashArray:$e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:z,strokeOpacity:z,strokeWidth:null,style:null,surfaceScale:z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$e,tabIndex:z,tableValues:null,target:null,targetX:z,targetY:z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:z,underlineThickness:z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:z,values:null,vAlphabetic:z,vMathematical:z,vectorEffect:null,vHanging:z,vIdeographic:z,version:null,vertAdvY:z,vertOriginX:z,vertOriginY:z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),hm=/^data[-\w.:]+$/i,Ki=/-[a-z]/g,dm=/[A-Z]/g;function zn(e,t){const n=zt(t);let r=t,u=nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&hm.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Ki,pm);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Ki.test(i)){let a=i.replace(dm,mm);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Mu}return new u(r,t)}function mm(e){return"-"+e.toLowerCase()}function pm(e){return e.charAt(1).toUpperCase()}const Em={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"},en=bs([Cs,As,xs,Ns,cm],"html"),Ct=bs([Cs,As,xs,Ns,fm],"svg");function ar(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const a=n.slice(u,r).trim();(a||!i)&&t.push(a),u=r+1,r=n.indexOf(",",u)}return t}function ys(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Ji=/[#.]/g;function Is(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Ji.lastIndex=u;const o=Ji.exec(n),l=n.slice(u,o?o.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,u+=l.length),o&&(i=o[0],u++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function wn(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ss(e){return e.join(" ").trim()}const Tm=new Set(["button","menu","reset","submit"]),fu={}.hasOwnProperty;function ks(e,t,n){const r=n&&Cm(n);function u(i,a,...o){let l=-1,c;if(i==null){c={type:"root",children:[]};const f=a;o.unshift(f)}else if(c=Is(i,t),c.tagName=c.tagName.toLowerCase(),r&&fu.call(r,c.tagName)&&(c.tagName=r[c.tagName]),bm(a,c.tagName)){let f;for(f in a)fu.call(a,f)&&gm(e,c.properties,f,a[f])}else o.unshift(a);for(;++l<o.length;)hu(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function bm(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?Tm.has(e.type.toLowerCase()):!("value"in e)}function gm(e,t,n,r){const u=zn(e,n);let i=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?u.spaceSeparated?a=wn(r):u.commaSeparated?a=ar(r):u.commaOrSpaceSeparated?a=wn(ar(r).join(" ")):a=Zi(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?Am(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=Zi(u,u.property,a[i]);o[i]=l}a=o}if(u.property==="className"&&Array.isArray(t.className)){const o=a;a=t.className.concat(o)}t[u.property]=a}}function hu(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)hu(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?hu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Zi(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||zt(n)===zt(t)))return!0}return n}function Am(e){const t=[];let n;for(n in e)fu.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function Cm(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const _m=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Dm=ks(en,"div"),xm=ks(Ct,"g",_m);function Nm(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=ea(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>i)return{line:a+1,column:i-(a>0?n[a-1]:0)+1,offset:i};a++}}}function u(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const o=n[n.length-1],l=ea(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const a=(i.line>1?n[i.line-2]:0)+i.column-1;if(a<n[i.line-1])return a}}}function ea(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
61
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Ht={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Rs={}.hasOwnProperty,ym=Object.prototype;function Im(e,t){const n=t||{};return vu({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ct:en,verbose:n.verbose||!1},e)}function vu(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},er(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Ls(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=Nm(i),o=a.toPoint(0),l=a.toPoint(i.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},er(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},er(e,r,n),n}default:return n=Sm(e,t),n}}function Ls(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=vu(e,t[n]);r.push(u)}return r}function Sm(e,t){const n=e.schema;e.schema=t.namespaceURI===Ht.svg?Ct:en;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;Rs.call(ym,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?xm:Dm)(t.tagName,u,Ls(e,t.childNodes));if(er(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&$t(l.startTag),f=l&&l.endTag&&$t(l.endTag),d=vu(e,o.content);c&&f&&e.file&&(d.position={start:c.end,end:f.start}),a.content=d}return e.schema=n,a}function er(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=km(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function km(e,t,n){const r=$t(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const i={};let a;if(n.attrs)for(a in n.attrs)Rs.call(n.attrs,a)&&(i[zn(e.schema,a).property]=$t(n.attrs[a]));n.startTag;const o=$t(n.startTag),l=n.endTag?$t(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function $t(e){const t=ta({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=ta({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function ta(e){return e.line&&e.column?e:void 0}const Rm={},Lm={}.hasOwnProperty,Fs=Va("type",{handlers:{root:Om,element:vm,text:Bm,comment:Mm,doctype:wm}});function Fm(e,t){const r=(t||Rm).space;return Fs(e,r==="svg"?Ct:en)}function Om(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Hu(e.children,n,t),tn(e,n),n}function Pm(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Hu(e.children,n,t),tn(e,n),n}function wm(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return tn(e,t),t}function Bm(e){const t={nodeName:"#text",value:e.value,parentNode:null};return tn(e,t),t}function Mm(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return tn(e,t),t}function vm(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Ct);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&Lm.call(e.properties,i)){const l=Hm(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:Ht[a],childNodes:[],parentNode:null};return o.childNodes=Hu(e.children,o,r),tn(e,o),e.tagName==="template"&&e.content&&(o.content=Pm(e.content,r)),o}function Hm(e,t,n){const r=zn(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?ys(n):Ss(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=u.name.indexOf(":");i<0?u.prefix="":(u.name=u.name.slice(i+1),u.prefix=r.attribute.slice(0,i)),u.namespace=Ht[r.space]}return u}function Hu(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Fs(e[r],n);i.parentNode=t,u.push(i)}return u}function tn(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Um=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],zm=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),ge="�";var m;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",e[e.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_F=102]="LATIN_SMALL_F",e[e.LATIN_SMALL_X=120]="LATIN_SMALL_X",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",e[e.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"})(m=m||(m={}));const ze={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Os(e){return e>=55296&&e<=57343}function jm(e){return e>=56320&&e<=57343}function Ym(e,t){return(e-55296)*1024+9216+t}function Ps(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ws(e){return e>=64976&&e<=65007||zm.has(e)}var R;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(R=R||(R={}));const qm=65536;class Vm{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=qm,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:r,offset:u}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(jm(n))return this.pos++,this._addGap(),Ym(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,m.EOF;return this._err(R.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;const r=this.html.charCodeAt(n);return r===m.CARRIAGE_RETURN?m.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;let t=this.html.charCodeAt(this.pos);return t===m.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,m.LINE_FEED):t===m.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Os(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===m.LINE_FEED||t===m.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Ps(t)?this._err(R.controlCharacterInInputStream):ws(t)&&this._err(R.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var oe;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(oe=oe||(oe={}));function Bs(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Nt=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Wm=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Jr;const Qm=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Gm=(Jr=String.fromCodePoint)!==null&&Jr!==void 0?Jr:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function $m(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Qm.get(e))!==null&&t!==void 0?t:e}var ye;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ye||(ye={}));const Xm=32;var ct;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ct||(ct={}));function du(e){return e>=ye.ZERO&&e<=ye.NINE}function Km(e){return e>=ye.UPPER_A&&e<=ye.UPPER_F||e>=ye.LOWER_A&&e<=ye.LOWER_F}function Jm(e){return e>=ye.UPPER_A&&e<=ye.UPPER_Z||e>=ye.LOWER_A&&e<=ye.LOWER_Z||du(e)}function Zm(e){return e===ye.EQUALS||Jm(e)}var Ne;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ne||(Ne={}));var Mt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Mt||(Mt={}));class e1{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Ne.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mt.Strict}startEntity(t){this.decodeMode=t,this.state=Ne.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Ne.EntityStart:return t.charCodeAt(n)===ye.NUM?(this.state=Ne.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Ne.NamedEntity,this.stateNamedEntity(t,n));case Ne.NumericStart:return this.stateNumericStart(t,n);case Ne.NumericDecimal:return this.stateNumericDecimal(t,n);case Ne.NumericHex:return this.stateNumericHex(t,n);case Ne.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Xm)===ye.LOWER_X?(this.state=Ne.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Ne.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const i=r-n;this.result=this.result*Math.pow(u,i)+parseInt(t.substr(n,i),u),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(du(u)||Km(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(du(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ye.SEMI)this.consumed+=1;else if(this.decodeMode===Mt.Strict)return 0;return this.emitCodePoint($m(this.result),this.consumed),this.errors&&(t!==ye.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],i=(u&ct.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=vs(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Mt.Attribute&&(i===0||Zm(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&ct.VALUE_LENGTH)>>14,i!==0){if(a===ye.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Mt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&ct.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~ct.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case Ne.NamedEntity:return this.result!==0&&(this.decodeMode!==Mt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ne.NumericDecimal:return this.emitNumericEntity(0,2);case Ne.NumericHex:return this.emitNumericEntity(0,3);case Ne.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ne.EntityStart:return 0}}}function Ms(e){let t="";const n=new e1(e,r=>t+=Gm(r));return function(u,i){let a=0,o=0;for(;(o=u.indexOf("&",o))>=0;){t+=u.slice(a,o),n.startEntity(i);const c=n.write(u,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+u.slice(a);return t="",l}}function vs(e,t,n,r){const u=(t&ct.BRANCH_LENGTH)>>7,i=t&ct.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=u?-1:e[n+l]-1}let a=n,o=a+u-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+u]}return-1}Ms(Nt);Ms(Wm);var P;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(P=P||(P={}));var It;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(It=It||(It={}));var Xe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Xe=Xe||(Xe={}));var x;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(x=x||(x={}));var s;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(s=s||(s={}));const t1=new Map([[x.A,s.A],[x.ADDRESS,s.ADDRESS],[x.ANNOTATION_XML,s.ANNOTATION_XML],[x.APPLET,s.APPLET],[x.AREA,s.AREA],[x.ARTICLE,s.ARTICLE],[x.ASIDE,s.ASIDE],[x.B,s.B],[x.BASE,s.BASE],[x.BASEFONT,s.BASEFONT],[x.BGSOUND,s.BGSOUND],[x.BIG,s.BIG],[x.BLOCKQUOTE,s.BLOCKQUOTE],[x.BODY,s.BODY],[x.BR,s.BR],[x.BUTTON,s.BUTTON],[x.CAPTION,s.CAPTION],[x.CENTER,s.CENTER],[x.CODE,s.CODE],[x.COL,s.COL],[x.COLGROUP,s.COLGROUP],[x.DD,s.DD],[x.DESC,s.DESC],[x.DETAILS,s.DETAILS],[x.DIALOG,s.DIALOG],[x.DIR,s.DIR],[x.DIV,s.DIV],[x.DL,s.DL],[x.DT,s.DT],[x.EM,s.EM],[x.EMBED,s.EMBED],[x.FIELDSET,s.FIELDSET],[x.FIGCAPTION,s.FIGCAPTION],[x.FIGURE,s.FIGURE],[x.FONT,s.FONT],[x.FOOTER,s.FOOTER],[x.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[x.FORM,s.FORM],[x.FRAME,s.FRAME],[x.FRAMESET,s.FRAMESET],[x.H1,s.H1],[x.H2,s.H2],[x.H3,s.H3],[x.H4,s.H4],[x.H5,s.H5],[x.H6,s.H6],[x.HEAD,s.HEAD],[x.HEADER,s.HEADER],[x.HGROUP,s.HGROUP],[x.HR,s.HR],[x.HTML,s.HTML],[x.I,s.I],[x.IMG,s.IMG],[x.IMAGE,s.IMAGE],[x.INPUT,s.INPUT],[x.IFRAME,s.IFRAME],[x.KEYGEN,s.KEYGEN],[x.LABEL,s.LABEL],[x.LI,s.LI],[x.LINK,s.LINK],[x.LISTING,s.LISTING],[x.MAIN,s.MAIN],[x.MALIGNMARK,s.MALIGNMARK],[x.MARQUEE,s.MARQUEE],[x.MATH,s.MATH],[x.MENU,s.MENU],[x.META,s.META],[x.MGLYPH,s.MGLYPH],[x.MI,s.MI],[x.MO,s.MO],[x.MN,s.MN],[x.MS,s.MS],[x.MTEXT,s.MTEXT],[x.NAV,s.NAV],[x.NOBR,s.NOBR],[x.NOFRAMES,s.NOFRAMES],[x.NOEMBED,s.NOEMBED],[x.NOSCRIPT,s.NOSCRIPT],[x.OBJECT,s.OBJECT],[x.OL,s.OL],[x.OPTGROUP,s.OPTGROUP],[x.OPTION,s.OPTION],[x.P,s.P],[x.PARAM,s.PARAM],[x.PLAINTEXT,s.PLAINTEXT],[x.PRE,s.PRE],[x.RB,s.RB],[x.RP,s.RP],[x.RT,s.RT],[x.RTC,s.RTC],[x.RUBY,s.RUBY],[x.S,s.S],[x.SCRIPT,s.SCRIPT],[x.SECTION,s.SECTION],[x.SELECT,s.SELECT],[x.SOURCE,s.SOURCE],[x.SMALL,s.SMALL],[x.SPAN,s.SPAN],[x.STRIKE,s.STRIKE],[x.STRONG,s.STRONG],[x.STYLE,s.STYLE],[x.SUB,s.SUB],[x.SUMMARY,s.SUMMARY],[x.SUP,s.SUP],[x.TABLE,s.TABLE],[x.TBODY,s.TBODY],[x.TEMPLATE,s.TEMPLATE],[x.TEXTAREA,s.TEXTAREA],[x.TFOOT,s.TFOOT],[x.TD,s.TD],[x.TH,s.TH],[x.THEAD,s.THEAD],[x.TITLE,s.TITLE],[x.TR,s.TR],[x.TRACK,s.TRACK],[x.TT,s.TT],[x.U,s.U],[x.UL,s.UL],[x.SVG,s.SVG],[x.VAR,s.VAR],[x.WBR,s.WBR],[x.XMP,s.XMP]]);function nn(e){var t;return(t=t1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const M=s,n1={[P.HTML]:new Set([M.ADDRESS,M.APPLET,M.AREA,M.ARTICLE,M.ASIDE,M.BASE,M.BASEFONT,M.BGSOUND,M.BLOCKQUOTE,M.BODY,M.BR,M.BUTTON,M.CAPTION,M.CENTER,M.COL,M.COLGROUP,M.DD,M.DETAILS,M.DIR,M.DIV,M.DL,M.DT,M.EMBED,M.FIELDSET,M.FIGCAPTION,M.FIGURE,M.FOOTER,M.FORM,M.FRAME,M.FRAMESET,M.H1,M.H2,M.H3,M.H4,M.H5,M.H6,M.HEAD,M.HEADER,M.HGROUP,M.HR,M.HTML,M.IFRAME,M.IMG,M.INPUT,M.LI,M.LINK,M.LISTING,M.MAIN,M.MARQUEE,M.MENU,M.META,M.NAV,M.NOEMBED,M.NOFRAMES,M.NOSCRIPT,M.OBJECT,M.OL,M.P,M.PARAM,M.PLAINTEXT,M.PRE,M.SCRIPT,M.SECTION,M.SELECT,M.SOURCE,M.STYLE,M.SUMMARY,M.TABLE,M.TBODY,M.TD,M.TEMPLATE,M.TEXTAREA,M.TFOOT,M.TH,M.THEAD,M.TITLE,M.TR,M.TRACK,M.UL,M.WBR,M.XMP]),[P.MATHML]:new Set([M.MI,M.MO,M.MN,M.MS,M.MTEXT,M.ANNOTATION_XML]),[P.SVG]:new Set([M.TITLE,M.FOREIGN_OBJECT,M.DESC]),[P.XLINK]:new Set,[P.XML]:new Set,[P.XMLNS]:new Set};function Hs(e){return e===M.H1||e===M.H2||e===M.H3||e===M.H4||e===M.H5||e===M.H6}x.STYLE,x.SCRIPT,x.XMP,x.IFRAME,x.NOEMBED,x.NOFRAMES,x.PLAINTEXT;const r1=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var E;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(E||(E={}));const Ce={DATA:E.DATA,RCDATA:E.RCDATA,RAWTEXT:E.RAWTEXT,SCRIPT_DATA:E.SCRIPT_DATA,PLAINTEXT:E.PLAINTEXT,CDATA_SECTION:E.CDATA_SECTION};function In(e){return e>=m.DIGIT_0&&e<=m.DIGIT_9}function Nn(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_Z}function u1(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_Z}function yt(e){return u1(e)||Nn(e)}function mu(e){return yt(e)||In(e)}function Us(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_F}function zs(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_F}function i1(e){return In(e)||Us(e)||zs(e)}function Gn(e){return e+32}function js(e){return e===m.SPACE||e===m.LINE_FEED||e===m.TABULATION||e===m.FORM_FEED}function a1(e){return e===m.EQUALS_SIGN||mu(e)}function na(e){return js(e)||e===m.SOLIDUS||e===m.GREATER_THAN_SIGN}class s1{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=E.DATA,this.returnState=E.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Vm(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:oe.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:oe.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:oe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:oe.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Bs(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(R.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=nn(t.tagName),t.type===oe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(R.endTagWithAttributes),t.selfClosing&&this._err(R.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case oe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case oe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case oe.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:oe.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=js(t)?oe.WHITESPACE_CHARACTER:t===m.NULL?oe.NULL_CHARACTER:oe.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(oe.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,u=!1;for(let i=0,a=Nt[0];i>=0&&(i=vs(Nt,a,i+1,t),!(i<0));t=this._consume()){r+=1,a=Nt[i];const o=a&ct.VALUE_LENGTH;if(o){const l=(o>>14)-1;if(t!==m.SEMICOLON&&this._isCharacterReferenceInAttribute()&&a1(this.preprocessor.peek(1))?(n=[m.AMPERSAND],i+=l):(n=l===0?[Nt[i]&~ct.VALUE_LENGTH]:l===1?[Nt[++i]]:[Nt[++i],Nt[++i]],r=0,u=t!==m.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),u&&!this.preprocessor.endOfChunkHit&&this._err(R.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===E.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case E.DATA:{this._stateData(t);break}case E.RCDATA:{this._stateRcdata(t);break}case E.RAWTEXT:{this._stateRawtext(t);break}case E.SCRIPT_DATA:{this._stateScriptData(t);break}case E.PLAINTEXT:{this._statePlaintext(t);break}case E.TAG_OPEN:{this._stateTagOpen(t);break}case E.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case E.TAG_NAME:{this._stateTagName(t);break}case E.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case E.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case E.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case E.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case E.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case E.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case E.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case E.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case E.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case E.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case E.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case E.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case E.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case E.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case E.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case E.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case E.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case E.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case E.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case E.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case E.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case E.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case E.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case E.BOGUS_COMMENT:{this._stateBogusComment(t);break}case E.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case E.COMMENT_START:{this._stateCommentStart(t);break}case E.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case E.COMMENT:{this._stateComment(t);break}case E.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case E.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case E.COMMENT_END:{this._stateCommentEnd(t);break}case E.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case E.DOCTYPE:{this._stateDoctype(t);break}case E.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case E.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case E.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case E.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case E.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case E.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case E.CDATA_SECTION:{this._stateCdataSection(t);break}case E.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case E.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case E.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case E.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case E.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case E.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case E.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case E.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case E.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case E.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.TAG_OPEN;break}case m.AMPERSAND:{this.returnState=E.DATA,this.state=E.CHARACTER_REFERENCE;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitCodePoint(t);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case m.AMPERSAND:{this.returnState=E.RCDATA,this.state=E.CHARACTER_REFERENCE;break}case m.LESS_THAN_SIGN:{this.state=E.RCDATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.RAWTEXT_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(yt(t))this._createStartTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case m.EXCLAMATION_MARK:{this.state=E.MARKUP_DECLARATION_OPEN;break}case m.SOLIDUS:{this.state=E.END_TAG_OPEN;break}case m.QUESTION_MARK:{this._err(R.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t);break}case m.EOF:{this._err(R.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(R.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=E.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(yt(t))this._createEndTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case m.GREATER_THAN_SIGN:{this._err(R.missingEndTagName),this.state=E.DATA;break}case m.EOF:{this._err(R.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(R.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.tagName+=ge;break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Nn(t)?Gn(t):t)}}_stateRcdataLessThanSign(t){t===m.SOLIDUS?this.state=E.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){yt(t)?(this.state=E.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=E.BEFORE_ATTRIBUTE_NAME,!1;case m.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=E.SELF_CLOSING_START_TAG,!1;case m.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=E.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===m.SOLIDUS?this.state=E.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){yt(t)?(this.state=E.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case m.SOLIDUS:{this.state=E.SCRIPT_DATA_END_TAG_OPEN;break}case m.EXCLAMATION_MARK:{this.state=E.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=E.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){yt(t)?(this.state=E.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===m.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===m.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case m.HYPHEN_MINUS:{this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===m.SOLIDUS?this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:yt(t)?(this._emitChars("<"),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){yt(t)?(this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(ze.SCRIPT,!1)&&na(this.preprocessor.peek(ze.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<ze.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case m.HYPHEN_MINUS:{this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===m.SOLIDUS?(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(ze.SCRIPT,!1)&&na(this.preprocessor.peek(ze.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<ze.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.SOLIDUS:case m.GREATER_THAN_SIGN:case m.EOF:{this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case m.EQUALS_SIGN:{this._err(R.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=E.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:case m.SOLIDUS:case m.GREATER_THAN_SIGN:case m.EOF:{this._leaveAttrName(),this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case m.EQUALS_SIGN:{this._leaveAttrName(),this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case m.QUOTATION_MARK:case m.APOSTROPHE:case m.LESS_THAN_SIGN:{this._err(R.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.name+=ge;break}default:this.currentAttr.name+=String.fromCodePoint(Nn(t)?Gn(t):t)}}_stateAfterAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case m.EQUALS_SIGN:{this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{this.state=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this.state=E.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingAttributeValue),this.state=E.DATA,this.emitCurrentTagToken();break}default:this.state=E.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case m.AMPERSAND:{this.returnState=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=E.CHARACTER_REFERENCE;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=ge;break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case m.APOSTROPHE:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case m.AMPERSAND:{this.returnState=E.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=E.CHARACTER_REFERENCE;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=ge;break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.AMPERSAND:{this.returnState=E.ATTRIBUTE_VALUE_UNQUOTED,this.state=E.CHARACTER_REFERENCE;break}case m.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=ge;break}case m.QUOTATION_MARK:case m.APOSTROPHE:case m.LESS_THAN_SIGN:case m.EQUALS_SIGN:case m.GRAVE_ACCENT:{this._err(R.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.SOLIDUS:{this._leaveAttrValue(),this.state=E.SELF_CLOSING_START_TAG;break}case m.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._err(R.missingWhitespaceBetweenAttributes),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case m.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._err(R.unexpectedSolidusInTag),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.data+=ge;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(ze.DASH_DASH,!0)?(this._createCommentToken(ze.DASH_DASH.length+1),this.state=E.COMMENT_START):this._consumeSequenceIfMatch(ze.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ze.DOCTYPE.length+1),this.state=E.DOCTYPE):this._consumeSequenceIfMatch(ze.CDATA_START,!0)?this.inForeignNode?this.state=E.CDATA_SECTION:(this._err(R.cdataInHtmlContent),this._createCommentToken(ze.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=E.BOGUS_COMMENT):this._ensureHibernation()||(this._err(R.incorrectlyOpenedComment),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_START_DASH;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptClosingOfEmptyComment),this.state=E.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptClosingOfEmptyComment),this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END_DASH;break}case m.LESS_THAN_SIGN:{n.data+="<",this.state=E.COMMENT_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.data+=ge;break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case m.EXCLAMATION_MARK:{n.data+="!",this.state=E.COMMENT_LESS_THAN_SIGN_BANG;break}case m.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===m.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=E.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===m.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=E.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==m.GREATER_THAN_SIGN&&t!==m.EOF&&this._err(R.nestedComment),this.state=E.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case m.EXCLAMATION_MARK:{this.state=E.COMMENT_END_BANG;break}case m.HYPHEN_MINUS:{n.data+="-";break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{n.data+="--!",this.state=E.COMMENT_END_DASH;break}case m.GREATER_THAN_SIGN:{this._err(R.incorrectlyClosedComment),this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=E.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case m.EOF:{this._err(R.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingWhitespaceBeforeDoctypeName),this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Nn(t))this._createDoctypeToken(String.fromCharCode(Gn(t))),this.state=E.DOCTYPE_NAME;else switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.NULL:{this._err(R.unexpectedNullCharacter),this._createDoctypeToken(ge),this.state=E.DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=E.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.AFTER_DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.name+=ge;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Nn(t)?Gn(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(ze.PUBLIC,!1)?this.state=E.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ze.SYSTEM,!1)?this.state=E.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(R.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.QUOTATION_MARK:{this._err(R.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(R.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.publicId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case m.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.publicId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.QUOTATION_MARK:{this._err(R.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(R.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.QUOTATION_MARK:{this._err(R.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(R.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.systemId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case m.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.systemId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.NULL:{this._err(R.unexpectedNullCharacter);break}case m.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case m.RIGHT_SQUARE_BRACKET:{this.state=E.CDATA_SECTION_BRACKET;break}case m.EOF:{this._err(R.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===m.RIGHT_SQUARE_BRACKET?this.state=E.CDATA_SECTION_END:(this._emitChars("]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA;break}case m.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===m.NUMBER_SIGN?this.state=E.NUMERIC_CHARACTER_REFERENCE:mu(t)?(this.state=E.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const n=this._matchNamedCharacterReference(t);if(!this._ensureHibernation())if(n){for(let r=0;r<n.length;r++)this._flushCodePointConsumedAsCharacterReference(n[r]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this.state=E.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){mu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===m.SEMICOLON&&this._err(R.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===m.LATIN_SMALL_X||t===m.LATIN_CAPITAL_X?this.state=E.HEXADEMICAL_CHARACTER_REFERENCE_START:In(t)?(this.state=E.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(R.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(m.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){i1(t)?(this.state=E.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(R.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(m.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){Us(t)?this.charRefCode=this.charRefCode*16+t-55:zs(t)?this.charRefCode=this.charRefCode*16+t-87:In(t)?this.charRefCode=this.charRefCode*16+t-48:t===m.SEMICOLON?this.state=E.NUMERIC_CHARACTER_REFERENCE_END:(this._err(R.missingSemicolonAfterCharacterReference),this.state=E.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){In(t)?this.charRefCode=this.charRefCode*10+t-48:t===m.SEMICOLON?this.state=E.NUMERIC_CHARACTER_REFERENCE_END:(this._err(R.missingSemicolonAfterCharacterReference),this.state=E.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===m.NULL)this._err(R.nullCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(R.characterReferenceOutsideUnicodeRange),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(Os(this.charRefCode))this._err(R.surrogateCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(ws(this.charRefCode))this._err(R.noncharacterCharacterReference);else if(Ps(this.charRefCode)||this.charRefCode===m.CARRIAGE_RETURN){this._err(R.controlCharacterReference);const n=r1.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Ys=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),ra=new Set([...Ys,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),$n=new Map([[s.APPLET,P.HTML],[s.CAPTION,P.HTML],[s.HTML,P.HTML],[s.MARQUEE,P.HTML],[s.OBJECT,P.HTML],[s.TABLE,P.HTML],[s.TD,P.HTML],[s.TEMPLATE,P.HTML],[s.TH,P.HTML],[s.ANNOTATION_XML,P.MATHML],[s.MI,P.MATHML],[s.MN,P.MATHML],[s.MO,P.MATHML],[s.MS,P.MATHML],[s.MTEXT,P.MATHML],[s.DESC,P.SVG],[s.FOREIGN_OBJECT,P.SVG],[s.TITLE,P.SVG]]),o1=[s.H1,s.H2,s.H3,s.H4,s.H5,s.H6],l1=[s.TR,s.TEMPLATE,s.HTML],c1=[s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML],f1=[s.TABLE,s.TEMPLATE,s.HTML],h1=[s.TD,s.TH];class d1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===P.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==P.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(n<0?0:n)}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(o1,P.HTML)}popUntilTableCellPopped(){this.popUntilPopped(h1,P.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(f1,P.HTML)}clearBackToTableBodyContext(){this.clearBackTo(c1,P.HTML)}clearBackToTableRowContext(){this.clearBackTo(l1,P.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===P.HTML)return!0;if($n.get(r)===u)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(Hs(n)&&r===P.HTML)return!0;if($n.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===P.HTML)return!0;if((r===s.UL||r===s.OL)&&u===P.HTML||$n.get(r)===u)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===P.HTML)return!0;if(r===s.BUTTON&&u===P.HTML||$n.get(r)===u)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML){if(r===t)return!0;if(r===s.TABLE||r===s.TEMPLATE||r===s.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===P.HTML){if(n===s.TBODY||n===s.THEAD||n===s.TFOOT)return!0;if(n===s.TABLE||n===s.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML){if(r===t)return!0;if(r!==s.OPTION&&r!==s.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Ys.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ra.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&ra.has(this.currentTagId);)this.pop()}}const Zr=3;var it;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(it=it||(it={}));const ua={type:it.Marker};class m1{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===it.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const f=this.treeAdapter.getAttrList(c);f.length===u&&r.push({idx:o,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Zr)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Zr)return;const u=new Map(n.map(a=>[a.name,a.value]));let i=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>u.get(l.name)===l.value)&&(i+=1,i>=Zr&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(ua)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:it.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:it.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(ua);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===it.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===it.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===it.Element&&n.element===t)}}function ia(e){return{nodeName:"#text",value:e,parentNode:null}}const Gt={createDocument(){return{nodeName:"#document",mode:Xe.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const u=e.childNodes.find(i=>i.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Gt.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Gt.isTextNode(n)){n.value+=t;return}}Gt.appendChild(e,ia(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Gt.isTextNode(r)?r.value+=t:Gt.insertBefore(e,ia(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},qs="html",p1="about:legacy-compat",E1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Vs=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],T1=[...Vs,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],b1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ws=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],g1=[...Ws,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function aa(e,t){return t.some(n=>e.startsWith(n))}function A1(e){return e.name===qs&&e.publicId===null&&(e.systemId===null||e.systemId===p1)}function C1(e){if(e.name!==qs)return Xe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===E1)return Xe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),b1.has(n))return Xe.QUIRKS;let r=t===null?T1:Vs;if(aa(n,r))return Xe.QUIRKS;if(r=t===null?Ws:g1,aa(n,r))return Xe.LIMITED_QUIRKS}return Xe.NO_QUIRKS}const sa={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},_1="definitionurl",D1="definitionURL",x1=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),N1=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:P.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:P.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:P.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:P.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:P.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:P.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:P.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:P.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:P.XML}],["xml:space",{prefix:"xml",name:"space",namespace:P.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:P.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:P.XMLNS}]]),y1=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),I1=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function S1(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===It.COLOR||r===It.SIZE||r===It.FACE)||I1.has(t)}function Qs(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===_1){e.attrs[t].name=D1;break}}function Gs(e){for(let t=0;t<e.attrs.length;t++){const n=x1.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Uu(e){for(let t=0;t<e.attrs.length;t++){const n=N1.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function k1(e){const t=y1.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=nn(e.tagName))}function R1(e,t){return t===P.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function L1(e,t,n){if(t===P.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===It.ENCODING){const u=n[r].value.toLowerCase();return u===sa.TEXT_HTML||u===sa.APPLICATION_XML}}return t===P.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function F1(e,t,n,r){return(!r||r===P.HTML)&&L1(e,t,n)||(!r||r===P.MATHML)&&R1(e,t)}const O1="hidden",P1=8,w1=3;var b;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(b||(b={}));const B1={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},$s=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),oa={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Gt,onParseError:null};class la{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=b.INITIAL,this.originalInsertionMode=b.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...oa,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new s1(this.options,this),this.activeFormattingElements=new m1(this.treeAdapter),this.fragmentContextID=r?nn(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new d1(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...oa,...n};t??(t=r.treeAdapter.createElement(x.TEMPLATE,P.HTML,[]));const u=r.treeAdapter.createElement("documentmock",P.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(b.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const i=(u=t.location)!==null&&u!==void 0?u:B1,a={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(t,n,r){var u,i;(i=(u=this.treeAdapter).onItemPush)===null||i===void 0||i.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let i,a;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,a=this.fragmentContextID):{current:i,currentTagId:a}=this.openElements,this._setContextModes(i,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===P.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,P.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=b.TEXT}switchToPlaintextParsing(){this.insertionMode=b.TEXT,this.originalInsertionMode=b.IN_BODY,this.tokenizer.state=Ce.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===x.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==P.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=Ce.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=Ce.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=Ce.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=Ce.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,P.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,P.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(x.HTML,P.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),i=r?u.lastIndexOf(r):u.length,a=u[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),i=n.type===oe.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===x.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===P.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,P.HTML)}_processToken(t){switch(t.type){case oe.CHARACTER:{this.onCharacter(t);break}case oe.NULL_CHARACTER:{this.onNullCharacter(t);break}case oe.COMMENT:{this.onComment(t);break}case oe.DOCTYPE:{this.onDoctype(t);break}case oe.START_TAG:{this._processStartTag(t);break}case oe.END_TAG:{this.onEndTag(t);break}case oe.EOF:{this.onEof(t);break}case oe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return F1(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===it.Marker||this.openElements.contains(u.element)),r=n<0?t-1:n-1;for(let u=r;u>=0;u--){const i=this.activeFormattingElements.entries[u];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=b.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=b.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=b.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=b.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=b.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=b.IN_TABLE;return}case s.BODY:{this.insertionMode=b.IN_BODY;return}case s.FRAMESET:{this.insertionMode=b.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?b.AFTER_HEAD:b.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=b.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=b.IN_HEAD;return}break}}this.insertionMode=b.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=b.IN_SELECT_IN_TABLE;return}}this.insertionMode=b.IN_SELECT}_isElementCausesFosterParenting(t){return $s.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===P.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return n1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){hE(this,t);return}switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Sn(this,t);break}case b.BEFORE_HEAD:{kn(this,t);break}case b.IN_HEAD:{Rn(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ln(this,t);break}case b.AFTER_HEAD:{Fn(this,t);break}case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:{Ks(this,t);break}case b.TEXT:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{eu(this,t);break}case b.IN_TABLE_TEXT:{ro(this,t);break}case b.IN_COLUMN_GROUP:{sr(this,t);break}case b.AFTER_BODY:{or(this,t);break}case b.AFTER_AFTER_BODY:{tr(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){fE(this,t);return}switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Sn(this,t);break}case b.BEFORE_HEAD:{kn(this,t);break}case b.IN_HEAD:{Rn(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ln(this,t);break}case b.AFTER_HEAD:{Fn(this,t);break}case b.TEXT:{this._insertCharacters(t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{eu(this,t);break}case b.IN_COLUMN_GROUP:{sr(this,t);break}case b.AFTER_BODY:{or(this,t);break}case b.AFTER_AFTER_BODY:{tr(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){pu(this,t);return}switch(this.insertionMode){case b.INITIAL:case b.BEFORE_HTML:case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_TEMPLATE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:{pu(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.AFTER_BODY:{Y1(this,t);break}case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{q1(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case b.INITIAL:{V1(this,t);break}case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:{this._err(t,R.misplacedDoctype);break}case b.IN_TABLE_TEXT:{_n(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,R.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?dE(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{W1(this,t);break}case b.BEFORE_HEAD:{G1(this,t);break}case b.IN_HEAD:{st(this,t);break}case b.IN_HEAD_NO_SCRIPT:{K1(this,t);break}case b.AFTER_HEAD:{Z1(this,t);break}case b.IN_BODY:{Pe(this,t);break}case b.IN_TABLE:{Kt(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.IN_CAPTION:{$p(this,t);break}case b.IN_COLUMN_GROUP:{Yu(this,t);break}case b.IN_TABLE_BODY:{Tr(this,t);break}case b.IN_ROW:{br(this,t);break}case b.IN_CELL:{Jp(this,t);break}case b.IN_SELECT:{ao(this,t);break}case b.IN_SELECT_IN_TABLE:{eE(this,t);break}case b.IN_TEMPLATE:{nE(this,t);break}case b.AFTER_BODY:{uE(this,t);break}case b.IN_FRAMESET:{iE(this,t);break}case b.AFTER_FRAMESET:{sE(this,t);break}case b.AFTER_AFTER_BODY:{lE(this,t);break}case b.AFTER_AFTER_FRAMESET:{cE(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?mE(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Q1(this,t);break}case b.BEFORE_HEAD:{$1(this,t);break}case b.IN_HEAD:{X1(this,t);break}case b.IN_HEAD_NO_SCRIPT:{J1(this,t);break}case b.AFTER_HEAD:{ep(this,t);break}case b.IN_BODY:{Er(this,t);break}case b.TEXT:{Hp(this,t);break}case b.IN_TABLE:{Bn(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.IN_CAPTION:{Xp(this,t);break}case b.IN_COLUMN_GROUP:{Kp(this,t);break}case b.IN_TABLE_BODY:{Eu(this,t);break}case b.IN_ROW:{io(this,t);break}case b.IN_CELL:{Zp(this,t);break}case b.IN_SELECT:{so(this,t);break}case b.IN_SELECT_IN_TABLE:{tE(this,t);break}case b.IN_TEMPLATE:{rE(this,t);break}case b.AFTER_BODY:{lo(this,t);break}case b.IN_FRAMESET:{aE(this,t);break}case b.AFTER_FRAMESET:{oE(this,t);break}case b.AFTER_AFTER_BODY:{tr(this,t);break}}}onEof(t){switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Sn(this,t);break}case b.BEFORE_HEAD:{kn(this,t);break}case b.IN_HEAD:{Rn(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ln(this,t);break}case b.AFTER_HEAD:{Fn(this,t);break}case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:{to(this,t);break}case b.TEXT:{Up(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.IN_TEMPLATE:{oo(this,t);break}case b.AFTER_BODY:case b.IN_FRAMESET:case b.AFTER_FRAMESET:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{ju(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===m.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.TEXT:case b.IN_COLUMN_GROUP:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:{this._insertCharacters(t);break}case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:case b.AFTER_BODY:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{Xs(this,t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{eu(this,t);break}case b.IN_TABLE_TEXT:{no(this,t);break}}}}function M1(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):eo(e,t),n}function v1(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function H1(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let i=0,a=u;a!==n;i++,a=u){u=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&i>=w1;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=U1(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function U1(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function z1(e,t,n){const r=e.treeAdapter.getTagName(t),u=nn(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===P.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function j1(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,i=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,u.tagID)}function zu(e,t){for(let n=0;n<P1;n++){const r=M1(e,t);if(!r)break;const u=v1(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=H1(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&z1(e,a,i),j1(e,u,r)}}function pu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Y1(e,t){e._appendCommentNode(t,e.openElements.items[0])}function q1(e,t){e._appendCommentNode(t,e.document)}function ju(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(i);a&&!a.endTag&&e._setEndLocation(i,t)}}}}function V1(e,t){e._setDocumentType(t);const n=t.forceQuirks?Xe.QUIRKS:C1(t);A1(t)||e._err(t,R.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=b.BEFORE_HTML}function Cn(e,t){e._err(t,R.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Xe.QUIRKS),e.insertionMode=b.BEFORE_HTML,e._processToken(t)}function W1(e,t){t.tagID===s.HTML?(e._insertElement(t,P.HTML),e.insertionMode=b.BEFORE_HEAD):Sn(e,t)}function Q1(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Sn(e,t)}function Sn(e,t){e._insertFakeRootElement(),e.insertionMode=b.BEFORE_HEAD,e._processToken(t)}function G1(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.HEAD:{e._insertElement(t,P.HTML),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD;break}default:kn(e,t)}}function $1(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?kn(e,t):e._err(t,R.endTagWithoutMatchingOpenElement)}function kn(e,t){e._insertFakeElement(x.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD,e._processToken(t)}function st(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,Ce.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ce.RAWTEXT):(e._insertElement(t,P.HTML),e.insertionMode=b.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,Ce.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,Ce.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=b.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(b.IN_TEMPLATE);break}case s.HEAD:{e._err(t,R.misplacedStartTagForHeadElement);break}default:Rn(e,t)}}function X1(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=b.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{Rn(e,t);break}case s.TEMPLATE:{Yt(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Yt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,R.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,R.endTagWithoutMatchingOpenElement)}function Rn(e,t){e.openElements.pop(),e.insertionMode=b.AFTER_HEAD,e._processToken(t)}function K1(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{st(e,t);break}case s.NOSCRIPT:{e._err(t,R.nestedNoscriptInHead);break}default:Ln(e,t)}}function J1(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=b.IN_HEAD;break}case s.BR:{Ln(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Ln(e,t){const n=t.type===oe.EOF?R.openElementsLeftAfterEof:R.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=b.IN_HEAD,e._processToken(t)}function Z1(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.BODY:{e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=b.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,P.HTML),e.insertionMode=b.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,R.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),st(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,R.misplacedStartTagForHeadElement);break}default:Fn(e,t)}}function ep(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Fn(e,t);break}case s.TEMPLATE:{Yt(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Fn(e,t){e._insertFakeElement(x.BODY,s.BODY),e.insertionMode=b.IN_BODY,pr(e,t)}function pr(e,t){switch(t.type){case oe.CHARACTER:{Ks(e,t);break}case oe.WHITESPACE_CHARACTER:{Xs(e,t);break}case oe.COMMENT:{pu(e,t);break}case oe.START_TAG:{Pe(e,t);break}case oe.END_TAG:{Er(e,t);break}case oe.EOF:{to(e,t);break}}}function Xs(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ks(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tp(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function np(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function rp(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_FRAMESET)}function up(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML)}function ip(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),Hs(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,P.HTML)}function ap(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function sp(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),n||(e.formElement=e.openElements.current))}function op(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML)}function lp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.tokenizer.state=Ce.PLAINTEXT}function cp(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1}function fp(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(x.A);n&&(zu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function hp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function dp(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(zu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function mp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function pp(e,t){e.treeAdapter.getDocumentMode(e.document)!==Xe.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=b.IN_TABLE}function Js(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zs(e){const t=Bs(e,It.TYPE);return t!=null&&t.toLowerCase()===O1}function Ep(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),Zs(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Tp(e,t){e._appendElement(t,P.HTML),t.ackSelfClosing=!0}function bp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function gp(e,t){t.tagName=x.IMG,t.tagID=s.IMG,Js(e,t)}function Ap(e,t){e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ce.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=b.TEXT}function Cp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ce.RAWTEXT)}function _p(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ce.RAWTEXT)}function ca(e,t){e._switchToTextParsing(t,Ce.RAWTEXT)}function Dp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===b.IN_TABLE||e.insertionMode===b.IN_CAPTION||e.insertionMode===b.IN_TABLE_BODY||e.insertionMode===b.IN_ROW||e.insertionMode===b.IN_CELL?b.IN_SELECT_IN_TABLE:b.IN_SELECT}function xp(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function Np(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,P.HTML)}function yp(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,P.HTML)}function Ip(e,t){e._reconstructActiveFormattingElements(),Qs(t),Uu(t),t.selfClosing?e._appendElement(t,P.MATHML):e._insertElement(t,P.MATHML),t.ackSelfClosing=!0}function Sp(e,t){e._reconstructActiveFormattingElements(),Gs(t),Uu(t),t.selfClosing?e._appendElement(t,P.SVG):e._insertElement(t,P.SVG),t.ackSelfClosing=!0}function fa(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function Pe(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{hp(e,t);break}case s.A:{fp(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{ip(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{up(e,t);break}case s.LI:case s.DD:case s.DT:{op(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{Js(e,t);break}case s.HR:{bp(e,t);break}case s.RB:case s.RTC:{Np(e,t);break}case s.RT:case s.RP:{yp(e,t);break}case s.PRE:case s.LISTING:{ap(e,t);break}case s.XMP:{Cp(e,t);break}case s.SVG:{Sp(e,t);break}case s.HTML:{tp(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{st(e,t);break}case s.BODY:{np(e,t);break}case s.FORM:{sp(e,t);break}case s.NOBR:{dp(e,t);break}case s.MATH:{Ip(e,t);break}case s.TABLE:{pp(e,t);break}case s.INPUT:{Ep(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Tp(e,t);break}case s.IMAGE:{gp(e,t);break}case s.BUTTON:{cp(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{mp(e,t);break}case s.IFRAME:{_p(e,t);break}case s.SELECT:{Dp(e,t);break}case s.OPTION:case s.OPTGROUP:{xp(e,t);break}case s.NOEMBED:{ca(e,t);break}case s.FRAMESET:{rp(e,t);break}case s.TEXTAREA:{Ap(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?ca(e,t):fa(e,t);break}case s.PLAINTEXT:{lp(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:fa(e,t)}}function kp(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=b.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Rp(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=b.AFTER_BODY,lo(e,t))}function Lp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Fp(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function Op(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(x.P,s.P),e._closePElement()}function Pp(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function wp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Bp(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Mp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function vp(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(x.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function eo(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const i=e.openElements.items[u],a=e.openElements.tagIDs[u];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(i,a))break}}function Er(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{zu(e,t);break}case s.P:{Op(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Lp(e,t);break}case s.LI:{Pp(e);break}case s.DD:case s.DT:{wp(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Bp(e);break}case s.BR:{vp(e);break}case s.BODY:{kp(e,t);break}case s.HTML:{Rp(e,t);break}case s.FORM:{Fp(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Mp(e,t);break}case s.TEMPLATE:{Yt(e,t);break}default:eo(e,t)}}function to(e,t){e.tmplInsertionModeStack.length>0?oo(e,t):ju(e,t)}function Hp(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Up(e,t){e._err(t,R.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function eu(e,t){if($s.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=b.IN_TABLE_TEXT,t.type){case oe.CHARACTER:{ro(e,t);break}case oe.WHITESPACE_CHARACTER:{no(e,t);break}}else jn(e,t)}function zp(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_CAPTION}function jp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_COLUMN_GROUP}function Yp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.COLGROUP,s.COLGROUP),e.insertionMode=b.IN_COLUMN_GROUP,Yu(e,t)}function qp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_TABLE_BODY}function Vp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.TBODY,s.TBODY),e.insertionMode=b.IN_TABLE_BODY,Tr(e,t)}function Wp(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Qp(e,t){Zs(t)?e._appendElement(t,P.HTML):jn(e,t),t.ackSelfClosing=!0}function Gp(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,P.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Kt(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{Vp(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{st(e,t);break}case s.COL:{Yp(e,t);break}case s.FORM:{Gp(e,t);break}case s.TABLE:{Wp(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{qp(e,t);break}case s.INPUT:{Qp(e,t);break}case s.CAPTION:{zp(e,t);break}case s.COLGROUP:{jp(e,t);break}default:jn(e,t)}}function Bn(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{Yt(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:jn(e,t)}}function jn(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,pr(e,t),e.fosterParentingEnabled=n}function no(e,t){e.pendingCharacterTokens.push(t)}function ro(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function _n(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)jn(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const uo=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function $p(e,t){const n=t.tagID;uo.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_TABLE,Kt(e,t)):Pe(e,t)}function Xp(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_TABLE,n===s.TABLE&&Bn(e,t));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Er(e,t)}}function Yu(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.COL:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{st(e,t);break}default:sr(e,t)}}function Kp(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=b.IN_TABLE);break}case s.TEMPLATE:{Yt(e,t);break}case s.COL:break;default:sr(e,t)}}function sr(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=b.IN_TABLE,e._processToken(t))}function Tr(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(x.TR,s.TR),e.insertionMode=b.IN_ROW,br(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE,Kt(e,t));break}default:Kt(e,t)}}function Eu(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE,Bn(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:Bn(e,t)}}function br(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,Tr(e,t));break}default:Kt(e,t)}}function io(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,Eu(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,Eu(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:Bn(e,t)}}function Jp(e,t){const n=t.tagID;uo.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),br(e,t)):Pe(e,t)}function Zp(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),io(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Er(e,t)}}function ao(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),t.tagID!==s.SELECT&&e._processStartTag(t));break}case s.SCRIPT:case s.TEMPLATE:{st(e,t);break}}}function so(e,t){switch(t.tagID){case s.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{Yt(e,t);break}}}function eE(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):ao(e,t)}function tE(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):so(e,t)}function nE(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{st(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=b.IN_TABLE,e.insertionMode=b.IN_TABLE,Kt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=b.IN_COLUMN_GROUP,e.insertionMode=b.IN_COLUMN_GROUP,Yu(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=b.IN_TABLE_BODY,e.insertionMode=b.IN_TABLE_BODY,Tr(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=b.IN_ROW,e.insertionMode=b.IN_ROW,br(e,t);break}default:e.tmplInsertionModeStack[0]=b.IN_BODY,e.insertionMode=b.IN_BODY,Pe(e,t)}}function rE(e,t){t.tagID===s.TEMPLATE&&Yt(e,t)}function oo(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ju(e,t)}function uE(e,t){t.tagID===s.HTML?Pe(e,t):or(e,t)}function lo(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=b.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else or(e,t)}function or(e,t){e.insertionMode=b.IN_BODY,pr(e,t)}function iE(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.FRAMESET:{e._insertElement(t,P.HTML);break}case s.FRAME:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{st(e,t);break}}}function aE(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=b.AFTER_FRAMESET))}function sE(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.NOFRAMES:{st(e,t);break}}}function oE(e,t){t.tagID===s.HTML&&(e.insertionMode=b.AFTER_AFTER_FRAMESET)}function lE(e,t){t.tagID===s.HTML?Pe(e,t):tr(e,t)}function tr(e,t){e.insertionMode=b.IN_BODY,pr(e,t)}function cE(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.NOFRAMES:{st(e,t);break}}}function fE(e,t){t.chars=ge,e._insertCharacters(t)}function hE(e,t){e._insertCharacters(t),e.framesetOk=!1}function co(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==P.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function dE(e,t){if(S1(t))co(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===P.MATHML?Qs(t):r===P.SVG&&(k1(t),Gs(t)),Uu(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function mE(e,t){if(t.tagID===s.P||t.tagID===s.BR){co(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===P.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}x.AREA,x.BASE,x.BASEFONT,x.BGSOUND,x.BR,x.COL,x.EMBED,x.FRAME,x.HR,x.IMG,x.INPUT,x.KEYGEN,x.LINK,x.META,x.PARAM,x.SOURCE,x.TRACK,x.WBR;const pE=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ha={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function fo(e,t){const n=NE(e),r=Va("type",{handlers:{root:EE,element:TE,text:bE,comment:mo,doctype:gE,raw:CE},unknown:_E}),u={parser:n?new la(ha):la.getFragmentParser(void 0,ha),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),rn(u,ht());const i=n?u.parser.document:u.parser.getFragment(),a=Im(i,{file:u.options.file});return u.stitches&&Ye(a,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const d=c.children;return d[l]=f.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function ho(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function EE(e,t){ho(e.children,t)}function TE(e,t){DE(e,t),ho(e.children,t),xE(e,t)}function bE(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:oe.CHARACTER,chars:e.value,location:Yn(e)};rn(t,ht(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function gE(e,t){const n={type:oe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Yn(e)};rn(t,ht(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function AE(e,t){t.stitches=!0;const n=yE(e);if("children"in e&&"children"in n){const r=fo({type:"root",children:e.children},t.options);n.children=r.children}mo({type:"comment",value:{stitch:n}},t)}function mo(e,t){const n=e.value,r={type:oe.COMMENT,data:n,location:Yn(e)};rn(t,ht(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function CE(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,po(t,ht(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function _E(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))AE(n,t);else{let r="";throw pE.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function rn(e,t){po(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ce.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function po(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function DE(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ce.PLAINTEXT)return;rn(t,ht(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:Ht.html;u===Ht.html&&n==="svg"&&(u=Ht.svg);const i=Fm({...e,children:[]},{space:u===Ht.svg?"svg":"html"}),a={type:oe.START_TAG,tagName:n,tagID:nn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Yn(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function xE(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Um.includes(n)||t.parser.tokenizer.state===Ce.PLAINTEXT)return;rn(t,dr(e));const r={type:oe.END_TAG,tagName:n,tagID:nn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Yn(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ce.RCDATA||t.parser.tokenizer.state===Ce.RAWTEXT||t.parser.tokenizer.state===Ce.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ce.DATA)}function NE(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Yn(e){const t=ht(e)||{line:void 0,column:void 0,offset:void 0},n=dr(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function yE(e){return"children"in e?Tt({...e,children:[]}):Tt(e)}function IE(e){return function(t,n){return fo(t,{...e,file:n})}}const Eo=function(e){if(e==null)return RE;if(typeof e=="string")return kE(e);if(typeof e=="object")return SE(e);if(typeof e=="function")return qu(e);throw new Error("Expected function, string, or array as `test`")};function SE(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Eo(e[n]);return qu(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function kE(e){return qu(t);function t(n){return n.tagName===e}}function qu(e){return t;function t(n,r,u){return!!(LE(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function RE(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function LE(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const FE=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,OE=/^[a-zA-Z]:\\/;function PE(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return OE.test(e)?!1:FE.test(e)}const wE=["http","https"],BE=["nofollow"],ME={};function vE(e){const t=e||ME,n=t.protocols||wE,r=Eo(t.test);return function(u){Ye(u,"element",function(i,a,o){if(i.tagName==="a"&&typeof i.properties.href=="string"&&r(i,a,o)){const l=i.properties.href;if(PE(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Dn(t.content,i),f=c&&!Array.isArray(c)?[c]:c,d=Dn(t.rel,i)||BE,T=typeof d=="string"?wn(d):d,p=Dn(t.target,i),g=Dn(t.properties,i);if(g&&Object.assign(i.properties,Tt(g)),T.length>0&&(i.properties.rel=[...T]),p&&(i.properties.target=p),f){const S=Dn(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:Tt(S),children:Tt(f)})}}}})}}function Dn(e,t){return typeof e=="function"?e(t):e}function To(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}function HE(e,t){if(typeof t!="number"||!t||!Number.isFinite(t)||Math.floor(t)!==t)throw new Error("Expected a non-null finite integer, not `"+t+"`");Ye(e,"element",function(n){let r=To(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const UE={};function zE(e){const t=(e||UE).shift||0;return function(n){t&&HE(n,t)}}const jE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,YE=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qE={};function da(e,t){return(qE.jsx?YE:jE).test(e)}const VE=/[ \t\n\f\r]/g;function WE(e){return typeof e=="object"?e.type==="text"?ma(e.value):!1:ma(e)}function ma(e){return e.replace(VE,"")===""}var bo={},pa=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,QE=/\n/g,GE=/^\s*/,$E=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,XE=/^:\s*/,KE=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,JE=/^[;\s]*/,ZE=/^\s+|\s+$/g,eT=`
|
|
62
|
-
`,Ea="/",Ta="*",vt="",tT="comment",nT="declaration",rT=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function u(g){var S=g.match(QE);S&&(n+=S.length);var N=g.lastIndexOf(eT);r=~N?g.length-N:r+g.length}function i(){var g={line:n,column:r};return function(S){return S.position=new a(g),c(),S}}function a(g){this.start=g,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(g){var S=new Error(t.source+":"+n+":"+r+": "+g);if(S.reason=g,S.filename=t.source,S.line=n,S.column=r,S.source=e,!t.silent)throw S}function l(g){var S=g.exec(e);if(S){var N=S[0];return u(N),e=e.slice(N.length),S}}function c(){l(GE)}function f(g){var S;for(g=g||[];S=d();)S!==!1&&g.push(S);return g}function d(){var g=i();if(!(Ea!=e.charAt(0)||Ta!=e.charAt(1))){for(var S=2;vt!=e.charAt(S)&&(Ta!=e.charAt(S)||Ea!=e.charAt(S+1));)++S;if(S+=2,vt===e.charAt(S-1))return o("End of comment missing");var N=e.slice(2,S-2);return r+=2,u(N),e=e.slice(S),r+=2,g({type:tT,comment:N})}}function T(){var g=i(),S=l($E);if(S){if(d(),!l(XE))return o("property missing ':'");var N=l(KE),y=g({type:nT,property:ba(S[0].replace(pa,vt)),value:N?ba(N[0].replace(pa,vt)):vt});return l(JE),y}}function p(){var g=[];f(g);for(var S;S=T();)S!==!1&&(g.push(S),f(g));return g}return c(),p()};function ba(e){return e?e.replace(ZE,vt):vt}var uT=ei&&ei.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bo,"__esModule",{value:!0});var iT=uT(rT);function aT(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,iT.default)(e),u=typeof t=="function";return r.forEach(function(i){if(i.type==="declaration"){var a=i.property,o=i.value;u?t(a,o,i):o&&(n=n||{},n[a]=o)}}),n}var ga=bo.default=aT;const sT=ga.default||ga,Vu={}.hasOwnProperty,oT=new Map,lT=/[A-Z]/g,cT=/-([a-z])/g,fT=new Set(["table","tbody","thead","tfoot","tr"]),hT=new Set(["td","th"]),go="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function dT(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=CT(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=AT(n,t.jsx,t.jsxs)}const u={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"?Ct:en,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Ao(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function Ao(e,t,n){if(t.type==="element")return mT(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return pT(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return TT(e,t,n);if(t.type==="mdxjsEsm")return ET(e,t);if(t.type==="root")return bT(e,t,n);if(t.type==="text")return gT(e,t)}function mT(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=Ct,e.schema=u),e.ancestors.push(t);const i=_o(e,t.tagName,!1),a=_T(e,t);let o=Qu(e,t);return fT.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!WE(l):!0})),Co(e,a,i,t),Wu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function pT(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)}Mn(e,t.position)}function ET(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Mn(e,t.position)}function TT(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=Ct,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:_o(e,t.name,!0),a=DT(e,t),o=Qu(e,t);return Co(e,a,i,t),Wu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function bT(e,t,n){const r={};return Wu(r,Qu(e,t)),e.create(t,e.Fragment,r,n)}function gT(e,t){return t.value}function Co(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Wu(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function AT(e,t,n){return r;function r(u,i,a,o){const c=Array.isArray(a.children)?n:t;return o?c(i,a,o):c(i,a)}}function CT(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=ht(r);return t(u,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function _T(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Vu.call(t.properties,u)){const i=xT(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&hT.has(t.tagName)?r=o:n[a]=o}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function DT(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Mn(e,t.position);else{const u=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else Mn(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function Qu(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:oT;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=u.get(l)||0;a=l+"-"+c,u.set(l,c+1)}}const o=Ao(e,i,a);o!==void 0&&n.push(o)}return n}function xT(e,t,n){const r=zn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?ys(n):Ss(n)),r.property==="style"){let u=typeof n=="object"?n:NT(e,String(n));return e.stylePropertyNameCase==="css"&&(u=yT(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Em[r.property]||r.property:r.attribute,n]}}function NT(e,t){const n={};try{sT(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new Oe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=go+"#cannot-parse-style-attribute",a}}return n;function r(u,i){let a=u;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(cT,ST)),n[a]=i}}function _o(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let i=-1,a;for(;++i<u.length;){const o=da(u[i])?{type:"Identifier",name:u[i]}:{type:"Literal",value:u[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}r=a}else r=da(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Vu.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);Mn(e)}function Mn(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=go+"#cannot-handle-mdx-estrees-without-createevaluater",n}function yT(e){const t={};let n;for(n in e)Vu.call(e,n)&&(t[IT(n)]=e[n]);return t}function IT(e){let t=e.replace(lT,kT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ST(e,t){return t.toUpperCase()}function kT(e){return"-"+e.toLowerCase()}function RT(e){const t=this;t.compiler=n;function n(r,u){return dT(r,{filePath:u.path,...e})}}const LT=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,FT=Object.hasOwnProperty;class Do{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=OT(t,n===!0);const i=u;for(;FT.call(r.occurrences,u);)r.occurrences[i]++,u=i+"-"+r.occurrences[i];return r.occurrences[u]=0,u}reset(){this.occurrences=Object.create(null)}}function OT(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(LT,"").replace(/ /g,"-"))}function PT(e){return"children"in e?xo(e):"value"in e?e.value:""}function wT(e){return e.type==="text"?e.value:"children"in e?xo(e):""}function xo(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=wT(e.children[t]);return n.join("")}const BT={},Aa=new Do;function MT(e){const n=(e||BT).prefix||"";return function(r){Aa.reset(),Ye(r,"element",function(u){To(u)&&!u.properties.id&&(u.properties.id=n+Aa.slug(PT(u)))})}}var Tu={exports:{}},xn={};/**
|
|
97
|
+
`}),n}function ts(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function ns(e,t){const n=Rm(e,t),r=n.one(e,void 0),u=Sm(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&i.children.push({type:"text",value:`
|
|
98
|
+
`},u),i}function wm(e,t){return e&&"run"in e?async function(n,r){const u=ns(n,{file:r,...t});await e.run(u,r)}:function(n,r){return ns(n,{file:r,...t||e})}}function vm(e){Qs(e,[/\r?\n|\r/g,Bm])}function Bm(){return{type:"break"}}function Mm(){return function(e){vm(e)}}class mr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}mr.prototype.property={};mr.prototype.normal={};mr.prototype.space=null;function No(e,t){const n={},r={};let u=-1;for(;++u<e.length;)Object.assign(n,e[u].property),Object.assign(r,e[u].normal);return new mr(n,r,t)}function Tn(e){return e.toLowerCase()}class Nt{constructor(t,n){this.property=t,this.attribute=n}}Nt.prototype.space=null;Nt.prototype.boolean=!1;Nt.prototype.booleanish=!1;Nt.prototype.overloadedBoolean=!1;Nt.prototype.number=!1;Nt.prototype.commaSeparated=!1;Nt.prototype.spaceSeparated=!1;Nt.prototype.commaOrSpaceSeparated=!1;Nt.prototype.mustUseProperty=!1;Nt.prototype.defined=!1;let Hm=0;const Ae=An(),Ge=An(),Io=An(),W=An(),Me=An(),Rn=An(),gt=An();function An(){return 2**++Hm}const Vu=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ae,booleanish:Ge,commaOrSpaceSeparated:gt,commaSeparated:Rn,number:W,overloadedBoolean:Io,spaceSeparated:Me},Symbol.toStringTag,{value:"Module"})),Ou=Object.keys(Vu);class gi extends Nt{constructor(t,n,r,u){let i=-1;if(super(t,n),rs(this,"space",u),typeof r=="number")for(;++i<Ou.length;){const a=Ou[i];rs(this,Ou[i],(r&Vu[a])===Vu[a])}}}gi.prototype.defined=!0;function rs(e,t,n){n&&(e[t]=n)}const Um={}.hasOwnProperty;function Fn(e){const t={},n={};let r;for(r in e.properties)if(Um.call(e.properties,r)){const u=e.properties[r],i=new gi(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Tn(r)]=r,n[Tn(i.attribute)]=r}return new mr(t,n,e.space)}const So=Fn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ko=Fn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ro(e,t){return t in e?e[t]:t}function Lo(e,t){return Ro(e,t.toLowerCase())}const Oo=Fn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Lo,properties:{xmlns:null,xmlnsXLink:null}}),Fo=Fn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ge,ariaAutoComplete:null,ariaBusy:Ge,ariaChecked:Ge,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:Me,ariaCurrent:null,ariaDescribedBy:Me,ariaDetails:null,ariaDisabled:Ge,ariaDropEffect:Me,ariaErrorMessage:null,ariaExpanded:Ge,ariaFlowTo:Me,ariaGrabbed:Ge,ariaHasPopup:null,ariaHidden:Ge,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Me,ariaLevel:W,ariaLive:null,ariaModal:Ge,ariaMultiLine:Ge,ariaMultiSelectable:Ge,ariaOrientation:null,ariaOwns:Me,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:Ge,ariaReadOnly:Ge,ariaRelevant:null,ariaRequired:Ge,ariaRoleDescription:Me,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:Ge,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null}}),jm=Fn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Lo,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Rn,acceptCharset:Me,accessKey:Me,action:null,allow:null,allowFullScreen:Ae,allowPaymentRequest:Ae,allowUserMedia:Ae,alt:null,as:null,async:Ae,autoCapitalize:null,autoComplete:Me,autoFocus:Ae,autoPlay:Ae,blocking:Me,capture:null,charSet:null,checked:Ae,cite:null,className:Me,cols:W,colSpan:null,content:null,contentEditable:Ge,controls:Ae,controlsList:Me,coords:W|Rn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ae,defer:Ae,dir:null,dirName:null,disabled:Ae,download:Io,draggable:Ge,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ae,formTarget:null,headers:Me,height:W,hidden:Ae,high:W,href:null,hrefLang:null,htmlFor:Me,httpEquiv:Me,id:null,imageSizes:null,imageSrcSet:null,inert:Ae,inputMode:null,integrity:null,is:null,isMap:Ae,itemId:null,itemProp:Me,itemRef:Me,itemScope:Ae,itemType:Me,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ae,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:Ae,muted:Ae,name:null,nonce:null,noModule:Ae,noValidate:Ae,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:Ae,optimum:W,pattern:null,ping:Me,placeholder:null,playsInline:Ae,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ae,referrerPolicy:null,rel:Me,required:Ae,reversed:Ae,rows:W,rowSpan:W,sandbox:Me,scope:null,scoped:Ae,seamless:Ae,selected:Ae,shadowRootClonable:Ae,shadowRootDelegatesFocus:Ae,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:Ge,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:Ae,useMap:null,value:Ge,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Me,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ae,declare:Ae,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:Ae,noHref:Ae,noShade:Ae,noWrap:Ae,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:Ge,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ae,disableRemotePlayback:Ae,prefix:null,property:null,results:W,security:null,unselectable:null}}),zm=Fn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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"},transform:Ro,properties:{about:gt,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:Me,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:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:Ae,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,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:Rn,g2:Rn,glyphName:Rn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:gt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,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:W,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:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Me,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:gt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:gt,rev:gt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:gt,requiredFeatures:gt,requiredFonts:gt,requiredFormats:gt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:gt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:gt,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:gt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Ym=/^data[-\w.:]+$/i,us=/-[a-z]/g,qm=/[A-Z]/g;function Er(e,t){const n=Tn(t);let r=t,u=Nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Ym.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(us,$m);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!us.test(i)){let a=i.replace(qm,Vm);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=gi}return new u(r,t)}function Vm(e){return"-"+e.toLowerCase()}function $m(e){return e.charAt(1).toUpperCase()}const Wm={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"},Pn=No([ko,So,Oo,Fo,jm],"html"),Kt=No([ko,So,Oo,Fo,zm],"svg");function Yr(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const a=n.slice(u,r).trim();(a||!i)&&t.push(a),u=r+1,r=n.indexOf(",",u)}return t}function Po(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const is=/[#.]/g;function wo(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){is.lastIndex=u;const o=is.exec(n),l=n.slice(u,o?o.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,u+=l.length),o&&(i=o[0],u++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function cr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function vo(e){return e.join(" ").trim()}const Qm=new Set(["button","menu","reset","submit"]),$u={}.hasOwnProperty;function Bo(e,t,n){const r=n&&Jm(n);function u(i,a,...o){let l=-1,c;if(i==null){c={type:"root",children:[]};const f=a;o.unshift(f)}else if(c=wo(i,t),c.tagName=c.tagName.toLowerCase(),r&&$u.call(r,c.tagName)&&(c.tagName=r[c.tagName]),Gm(a,c.tagName)){let f;for(f in a)$u.call(a,f)&&Xm(e,c.properties,f,a[f])}else o.unshift(a);for(;++l<o.length;)Wu(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function Gm(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?Qm.has(e.type.toLowerCase()):!("value"in e)}function Xm(e,t,n,r){const u=Er(e,n);let i=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?u.spaceSeparated?a=cr(r):u.commaSeparated?a=Yr(r):u.commaOrSpaceSeparated?a=cr(Yr(r).join(" ")):a=as(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?Km(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=as(u,u.property,a[i]);o[i]=l}a=o}if(u.property==="className"&&Array.isArray(t.className)){const o=a;a=t.className.concat(o)}t[u.property]=a}}function Wu(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Wu(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Wu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function as(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Tn(n)===Tn(t)))return!0}return n}function Km(e){const t=[];let n;for(n in e)$u.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function Jm(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const Zm=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],e1=Bo(Pn,"div"),t1=Bo(Kt,"g",Zm);function n1(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=ss(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>i)return{line:a+1,column:i-(a>0?n[a-1]:0)+1,offset:i};a++}}}function u(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const o=n[n.length-1],l=ss(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const a=(i.line>1?n[i.line-2]:0)+i.column-1;if(a<n[i.line-1])return a}}}function ss(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
99
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const bn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Mo={}.hasOwnProperty,r1=Object.prototype;function u1(e,t){const n=t||{};return Ti({file:n.file||void 0,location:!1,schema:n.space==="svg"?Kt:Pn,verbose:n.verbose||!1},e)}function Ti(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Br(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Ho(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=n1(i),o=a.toPoint(0),l=a.toPoint(i.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Br(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Br(e,r,n),n}default:return n=i1(e,t),n}}function Ho(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=Ti(e,t[n]);r.push(u)}return r}function i1(e,t){const n=e.schema;e.schema=t.namespaceURI===bn.svg?Kt:Pn;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;Mo.call(r1,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?t1:e1)(t.tagName,u,Ho(e,t.childNodes));if(Br(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&kn(l.startTag),f=l&&l.endTag&&kn(l.endTag),d=Ti(e,o.content);c&&f&&e.file&&(d.position={start:c.end,end:f.start}),a.content=d}return e.schema=n,a}function Br(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=a1(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function a1(e,t,n){const r=kn(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const i={};let a;if(n.attrs)for(a in n.attrs)Mo.call(n.attrs,a)&&(i[Er(e.schema,a).property]=kn(n.attrs[a]));n.startTag;const o=kn(n.startTag),l=n.endTag?kn(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function kn(e){const t=os({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=os({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function os(e){return e.line&&e.column?e:void 0}const s1={},o1={}.hasOwnProperty,Uo=Js("type",{handlers:{root:c1,element:m1,text:d1,comment:p1,doctype:h1}});function l1(e,t){const r=(t||s1).space;return Uo(e,r==="svg"?Kt:Pn)}function c1(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ai(e.children,n,t),wn(e,n),n}function f1(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ai(e.children,n,t),wn(e,n),n}function h1(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return wn(e,t),t}function d1(e){const t={nodeName:"#text",value:e.value,parentNode:null};return wn(e,t),t}function p1(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return wn(e,t),t}function m1(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Kt);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&o1.call(e.properties,i)){const l=E1(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:bn[a],childNodes:[],parentNode:null};return o.childNodes=Ai(e.children,o,r),wn(e,o),e.tagName==="template"&&e.content&&(o.content=f1(e.content,r)),o}function E1(e,t,n){const r=Er(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Po(n):vo(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=u.name.indexOf(":");i<0?u.prefix="":(u.name=u.name.slice(i+1),u.prefix=r.attribute.slice(0,i)),u.namespace=bn[r.space]}return u}function Ai(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Uo(e[r],n);i.parentNode=t,u.push(i)}return u}function wn(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const b1=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],g1=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),ze="�";var E;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",e[e.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_F=102]="LATIN_SMALL_F",e[e.LATIN_SMALL_X=120]="LATIN_SMALL_X",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",e[e.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"})(E=E||(E={}));const dt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function jo(e){return e>=55296&&e<=57343}function T1(e){return e>=56320&&e<=57343}function A1(e,t){return(e-55296)*1024+9216+t}function zo(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Yo(e){return e>=64976&&e<=65007||g1.has(e)}var w;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(w=w||(w={}));const _1=65536;class C1{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=_1,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:r,offset:u}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(T1(n))return this.pos++,this._addGap(),A1(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,E.EOF;return this._err(w.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;const r=this.html.charCodeAt(n);return r===E.CARRIAGE_RETURN?E.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,E.EOF;let t=this.html.charCodeAt(this.pos);return t===E.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,E.LINE_FEED):t===E.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,jo(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===E.LINE_FEED||t===E.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){zo(t)?this._err(w.controlCharacterInInputStream):Yo(t)&&this._err(w.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ye;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(ye=ye||(ye={}));function qo(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const nn=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),D1=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Fu;const y1=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),x1=(Fu=String.fromCodePoint)!==null&&Fu!==void 0?Fu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function N1(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=y1.get(e))!==null&&t!==void 0?t:e}var Ke;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ke||(Ke={}));const I1=32;var Ht;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ht||(Ht={}));function Qu(e){return e>=Ke.ZERO&&e<=Ke.NINE}function S1(e){return e>=Ke.UPPER_A&&e<=Ke.UPPER_F||e>=Ke.LOWER_A&&e<=Ke.LOWER_F}function k1(e){return e>=Ke.UPPER_A&&e<=Ke.UPPER_Z||e>=Ke.LOWER_A&&e<=Ke.LOWER_Z||Qu(e)}function R1(e){return e===Ke.EQUALS||k1(e)}var Xe;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Xe||(Xe={}));var mn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(mn||(mn={}));class L1{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Xe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=mn.Strict}startEntity(t){this.decodeMode=t,this.state=Xe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Xe.EntityStart:return t.charCodeAt(n)===Ke.NUM?(this.state=Xe.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Xe.NamedEntity,this.stateNamedEntity(t,n));case Xe.NumericStart:return this.stateNumericStart(t,n);case Xe.NumericDecimal:return this.stateNumericDecimal(t,n);case Xe.NumericHex:return this.stateNumericHex(t,n);case Xe.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|I1)===Ke.LOWER_X?(this.state=Xe.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Xe.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const i=r-n;this.result=this.result*Math.pow(u,i)+parseInt(t.substr(n,i),u),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(Qu(u)||S1(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(Qu(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Ke.SEMI)this.consumed+=1;else if(this.decodeMode===mn.Strict)return 0;return this.emitCodePoint(N1(this.result),this.consumed),this.errors&&(t!==Ke.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],i=(u&Ht.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=$o(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===mn.Attribute&&(i===0||R1(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&Ht.VALUE_LENGTH)>>14,i!==0){if(a===Ke.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==mn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&Ht.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~Ht.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case Xe.NamedEntity:return this.result!==0&&(this.decodeMode!==mn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Xe.NumericDecimal:return this.emitNumericEntity(0,2);case Xe.NumericHex:return this.emitNumericEntity(0,3);case Xe.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Xe.EntityStart:return 0}}}function Vo(e){let t="";const n=new L1(e,r=>t+=x1(r));return function(u,i){let a=0,o=0;for(;(o=u.indexOf("&",o))>=0;){t+=u.slice(a,o),n.startEntity(i);const c=n.write(u,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+u.slice(a);return t="",l}}function $o(e,t,n,r){const u=(t&Ht.BRANCH_LENGTH)>>7,i=t&Ht.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=u?-1:e[n+l]-1}let a=n,o=a+u-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+u]}return-1}Vo(nn);Vo(D1);var U;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(U=U||(U={}));var un;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(un=un||(un={}));var Tt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Tt=Tt||(Tt={}));var I;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(I=I||(I={}));var s;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(s=s||(s={}));const O1=new Map([[I.A,s.A],[I.ADDRESS,s.ADDRESS],[I.ANNOTATION_XML,s.ANNOTATION_XML],[I.APPLET,s.APPLET],[I.AREA,s.AREA],[I.ARTICLE,s.ARTICLE],[I.ASIDE,s.ASIDE],[I.B,s.B],[I.BASE,s.BASE],[I.BASEFONT,s.BASEFONT],[I.BGSOUND,s.BGSOUND],[I.BIG,s.BIG],[I.BLOCKQUOTE,s.BLOCKQUOTE],[I.BODY,s.BODY],[I.BR,s.BR],[I.BUTTON,s.BUTTON],[I.CAPTION,s.CAPTION],[I.CENTER,s.CENTER],[I.CODE,s.CODE],[I.COL,s.COL],[I.COLGROUP,s.COLGROUP],[I.DD,s.DD],[I.DESC,s.DESC],[I.DETAILS,s.DETAILS],[I.DIALOG,s.DIALOG],[I.DIR,s.DIR],[I.DIV,s.DIV],[I.DL,s.DL],[I.DT,s.DT],[I.EM,s.EM],[I.EMBED,s.EMBED],[I.FIELDSET,s.FIELDSET],[I.FIGCAPTION,s.FIGCAPTION],[I.FIGURE,s.FIGURE],[I.FONT,s.FONT],[I.FOOTER,s.FOOTER],[I.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[I.FORM,s.FORM],[I.FRAME,s.FRAME],[I.FRAMESET,s.FRAMESET],[I.H1,s.H1],[I.H2,s.H2],[I.H3,s.H3],[I.H4,s.H4],[I.H5,s.H5],[I.H6,s.H6],[I.HEAD,s.HEAD],[I.HEADER,s.HEADER],[I.HGROUP,s.HGROUP],[I.HR,s.HR],[I.HTML,s.HTML],[I.I,s.I],[I.IMG,s.IMG],[I.IMAGE,s.IMAGE],[I.INPUT,s.INPUT],[I.IFRAME,s.IFRAME],[I.KEYGEN,s.KEYGEN],[I.LABEL,s.LABEL],[I.LI,s.LI],[I.LINK,s.LINK],[I.LISTING,s.LISTING],[I.MAIN,s.MAIN],[I.MALIGNMARK,s.MALIGNMARK],[I.MARQUEE,s.MARQUEE],[I.MATH,s.MATH],[I.MENU,s.MENU],[I.META,s.META],[I.MGLYPH,s.MGLYPH],[I.MI,s.MI],[I.MO,s.MO],[I.MN,s.MN],[I.MS,s.MS],[I.MTEXT,s.MTEXT],[I.NAV,s.NAV],[I.NOBR,s.NOBR],[I.NOFRAMES,s.NOFRAMES],[I.NOEMBED,s.NOEMBED],[I.NOSCRIPT,s.NOSCRIPT],[I.OBJECT,s.OBJECT],[I.OL,s.OL],[I.OPTGROUP,s.OPTGROUP],[I.OPTION,s.OPTION],[I.P,s.P],[I.PARAM,s.PARAM],[I.PLAINTEXT,s.PLAINTEXT],[I.PRE,s.PRE],[I.RB,s.RB],[I.RP,s.RP],[I.RT,s.RT],[I.RTC,s.RTC],[I.RUBY,s.RUBY],[I.S,s.S],[I.SCRIPT,s.SCRIPT],[I.SECTION,s.SECTION],[I.SELECT,s.SELECT],[I.SOURCE,s.SOURCE],[I.SMALL,s.SMALL],[I.SPAN,s.SPAN],[I.STRIKE,s.STRIKE],[I.STRONG,s.STRONG],[I.STYLE,s.STYLE],[I.SUB,s.SUB],[I.SUMMARY,s.SUMMARY],[I.SUP,s.SUP],[I.TABLE,s.TABLE],[I.TBODY,s.TBODY],[I.TEMPLATE,s.TEMPLATE],[I.TEXTAREA,s.TEXTAREA],[I.TFOOT,s.TFOOT],[I.TD,s.TD],[I.TH,s.TH],[I.THEAD,s.THEAD],[I.TITLE,s.TITLE],[I.TR,s.TR],[I.TRACK,s.TRACK],[I.TT,s.TT],[I.U,s.U],[I.UL,s.UL],[I.SVG,s.SVG],[I.VAR,s.VAR],[I.WBR,s.WBR],[I.XMP,s.XMP]]);function vn(e){var t;return(t=O1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const q=s,F1={[U.HTML]:new Set([q.ADDRESS,q.APPLET,q.AREA,q.ARTICLE,q.ASIDE,q.BASE,q.BASEFONT,q.BGSOUND,q.BLOCKQUOTE,q.BODY,q.BR,q.BUTTON,q.CAPTION,q.CENTER,q.COL,q.COLGROUP,q.DD,q.DETAILS,q.DIR,q.DIV,q.DL,q.DT,q.EMBED,q.FIELDSET,q.FIGCAPTION,q.FIGURE,q.FOOTER,q.FORM,q.FRAME,q.FRAMESET,q.H1,q.H2,q.H3,q.H4,q.H5,q.H6,q.HEAD,q.HEADER,q.HGROUP,q.HR,q.HTML,q.IFRAME,q.IMG,q.INPUT,q.LI,q.LINK,q.LISTING,q.MAIN,q.MARQUEE,q.MENU,q.META,q.NAV,q.NOEMBED,q.NOFRAMES,q.NOSCRIPT,q.OBJECT,q.OL,q.P,q.PARAM,q.PLAINTEXT,q.PRE,q.SCRIPT,q.SECTION,q.SELECT,q.SOURCE,q.STYLE,q.SUMMARY,q.TABLE,q.TBODY,q.TD,q.TEMPLATE,q.TEXTAREA,q.TFOOT,q.TH,q.THEAD,q.TITLE,q.TR,q.TRACK,q.UL,q.WBR,q.XMP]),[U.MATHML]:new Set([q.MI,q.MO,q.MN,q.MS,q.MTEXT,q.ANNOTATION_XML]),[U.SVG]:new Set([q.TITLE,q.FOREIGN_OBJECT,q.DESC]),[U.XLINK]:new Set,[U.XML]:new Set,[U.XMLNS]:new Set};function Wo(e){return e===q.H1||e===q.H2||e===q.H3||e===q.H4||e===q.H5||e===q.H6}I.STYLE,I.SCRIPT,I.XMP,I.IFRAME,I.NOEMBED,I.NOFRAMES,I.PLAINTEXT;const P1=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var b;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(b||(b={}));const Ve={DATA:b.DATA,RCDATA:b.RCDATA,RAWTEXT:b.RAWTEXT,SCRIPT_DATA:b.SCRIPT_DATA,PLAINTEXT:b.PLAINTEXT,CDATA_SECTION:b.CDATA_SECTION};function nr(e){return e>=E.DIGIT_0&&e<=E.DIGIT_9}function er(e){return e>=E.LATIN_CAPITAL_A&&e<=E.LATIN_CAPITAL_Z}function w1(e){return e>=E.LATIN_SMALL_A&&e<=E.LATIN_SMALL_Z}function rn(e){return w1(e)||er(e)}function Gu(e){return rn(e)||nr(e)}function Qo(e){return e>=E.LATIN_CAPITAL_A&&e<=E.LATIN_CAPITAL_F}function Go(e){return e>=E.LATIN_SMALL_A&&e<=E.LATIN_SMALL_F}function v1(e){return nr(e)||Qo(e)||Go(e)}function Rr(e){return e+32}function Xo(e){return e===E.SPACE||e===E.LINE_FEED||e===E.TABULATION||e===E.FORM_FEED}function B1(e){return e===E.EQUALS_SIGN||Gu(e)}function ls(e){return Xo(e)||e===E.SOLIDUS||e===E.GREATER_THAN_SIGN}class M1{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=b.DATA,this.returnState=b.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new C1(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ye.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ye.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:ye.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:ye.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(qo(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(w.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=vn(t.tagName),t.type===ye.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(w.endTagWithAttributes),t.selfClosing&&this._err(w.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case ye.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ye.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ye.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:ye.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Xo(t)?ye.WHITESPACE_CHARACTER:t===E.NULL?ye.NULL_CHARACTER:ye.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ye.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,u=!1;for(let i=0,a=nn[0];i>=0&&(i=$o(nn,a,i+1,t),!(i<0));t=this._consume()){r+=1,a=nn[i];const o=a&Ht.VALUE_LENGTH;if(o){const l=(o>>14)-1;if(t!==E.SEMICOLON&&this._isCharacterReferenceInAttribute()&&B1(this.preprocessor.peek(1))?(n=[E.AMPERSAND],i+=l):(n=l===0?[nn[i]&~Ht.VALUE_LENGTH]:l===1?[nn[++i]]:[nn[++i],nn[++i]],r=0,u=t!==E.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),u&&!this.preprocessor.endOfChunkHit&&this._err(w.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===b.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case b.DATA:{this._stateData(t);break}case b.RCDATA:{this._stateRcdata(t);break}case b.RAWTEXT:{this._stateRawtext(t);break}case b.SCRIPT_DATA:{this._stateScriptData(t);break}case b.PLAINTEXT:{this._statePlaintext(t);break}case b.TAG_OPEN:{this._stateTagOpen(t);break}case b.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case b.TAG_NAME:{this._stateTagName(t);break}case b.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case b.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case b.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case b.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case b.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case b.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case b.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case b.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case b.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case b.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case b.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case b.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case b.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case b.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case b.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case b.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case b.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case b.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case b.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case b.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case b.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case b.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case b.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case b.BOGUS_COMMENT:{this._stateBogusComment(t);break}case b.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case b.COMMENT_START:{this._stateCommentStart(t);break}case b.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case b.COMMENT:{this._stateComment(t);break}case b.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case b.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case b.COMMENT_END:{this._stateCommentEnd(t);break}case b.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case b.DOCTYPE:{this._stateDoctype(t);break}case b.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case b.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case b.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case b.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case b.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case b.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case b.CDATA_SECTION:{this._stateCdataSection(t);break}case b.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case b.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case b.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case b.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case b.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case b.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case b.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case b.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case b.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case b.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=b.TAG_OPEN;break}case E.AMPERSAND:{this.returnState=b.DATA,this.state=b.CHARACTER_REFERENCE;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this._emitCodePoint(t);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case E.AMPERSAND:{this.returnState=b.RCDATA,this.state=b.CHARACTER_REFERENCE;break}case E.LESS_THAN_SIGN:{this.state=b.RCDATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this._emitChars(ze);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case E.LESS_THAN_SIGN:{this.state=b.RAWTEXT_LESS_THAN_SIGN;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this._emitChars(ze);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this._emitChars(ze);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case E.NULL:{this._err(w.unexpectedNullCharacter),this._emitChars(ze);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(rn(t))this._createStartTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case E.EXCLAMATION_MARK:{this.state=b.MARKUP_DECLARATION_OPEN;break}case E.SOLIDUS:{this.state=b.END_TAG_OPEN;break}case E.QUESTION_MARK:{this._err(w.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t);break}case E.EOF:{this._err(w.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(w.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=b.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(rn(t))this._createEndTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case E.GREATER_THAN_SIGN:{this._err(w.missingEndTagName),this.state=b.DATA;break}case E.EOF:{this._err(w.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(w.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.tagName+=ze;break}case E.EOF:{this._err(w.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(er(t)?Rr(t):t)}}_stateRcdataLessThanSign(t){t===E.SOLIDUS?this.state=b.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){rn(t)?(this.state=b.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=b.BEFORE_ATTRIBUTE_NAME,!1;case E.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=b.SELF_CLOSING_START_TAG,!1;case E.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=b.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===E.SOLIDUS?this.state=b.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){rn(t)?(this.state=b.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case E.SOLIDUS:{this.state=b.SCRIPT_DATA_END_TAG_OPEN;break}case E.EXCLAMATION_MARK:{this.state=b.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=b.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){rn(t)?(this.state=b.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===E.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===E.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this._emitChars(ze);break}case E.EOF:{this._err(w.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(ze);break}case E.EOF:{this._err(w.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(ze);break}case E.EOF:{this._err(w.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===E.SOLIDUS?this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:rn(t)?(this._emitChars("<"),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){rn(t)?(this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(dt.SCRIPT,!1)&&ls(this.preprocessor.peek(dt.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<dt.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(w.unexpectedNullCharacter),this._emitChars(ze);break}case E.EOF:{this._err(w.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ze);break}case E.EOF:{this._err(w.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ze);break}case E.EOF:{this._err(w.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===E.SOLIDUS?(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(dt.SCRIPT,!1)&&ls(this.preprocessor.peek(dt.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<dt.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._err(w.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=b.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this._leaveAttrName(),this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._leaveAttrName(),this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:{this._err(w.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.currentAttr.name+=ze;break}default:this.currentAttr.name+=String.fromCodePoint(er(t)?Rr(t):t)}}_stateAfterAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case E.EQUALS_SIGN:{this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(w.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{this.state=b.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this.state=b.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(w.missingAttributeValue),this.state=b.DATA,this.emitCurrentTagToken();break}default:this.state=b.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case E.QUOTATION_MARK:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this.returnState=b.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=b.CHARACTER_REFERENCE;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.currentAttr.value+=ze;break}case E.EOF:{this._err(w.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case E.APOSTROPHE:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this.returnState=b.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=b.CHARACTER_REFERENCE;break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.currentAttr.value+=ze;break}case E.EOF:{this._err(w.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case E.AMPERSAND:{this.returnState=b.ATTRIBUTE_VALUE_UNQUOTED,this.state=b.CHARACTER_REFERENCE;break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(w.unexpectedNullCharacter),this.currentAttr.value+=ze;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:case E.EQUALS_SIGN:case E.GRAVE_ACCENT:{this._err(w.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case E.EOF:{this._err(w.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this._leaveAttrValue(),this.state=b.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(w.eofInTag),this._emitEOFToken();break}default:this._err(w.missingWhitespaceBetweenAttributes),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case E.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=b.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(w.eofInTag),this._emitEOFToken();break}default:this._err(w.unexpectedSolidusInTag),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case E.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.data+=ze;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(dt.DASH_DASH,!0)?(this._createCommentToken(dt.DASH_DASH.length+1),this.state=b.COMMENT_START):this._consumeSequenceIfMatch(dt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(dt.DOCTYPE.length+1),this.state=b.DOCTYPE):this._consumeSequenceIfMatch(dt.CDATA_START,!0)?this.inForeignNode?this.state=b.CDATA_SECTION:(this._err(w.cdataInHtmlContent),this._createCommentToken(dt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=b.BOGUS_COMMENT):this._ensureHibernation()||(this._err(w.incorrectlyOpenedComment),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_START_DASH;break}case E.GREATER_THAN_SIGN:{this._err(w.abruptClosingOfEmptyComment),this.state=b.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case E.GREATER_THAN_SIGN:{this._err(w.abruptClosingOfEmptyComment),this.state=b.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(w.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_END_DASH;break}case E.LESS_THAN_SIGN:{n.data+="<",this.state=b.COMMENT_LESS_THAN_SIGN;break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.data+=ze;break}case E.EOF:{this._err(w.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case E.EXCLAMATION_MARK:{n.data+="!",this.state=b.COMMENT_LESS_THAN_SIGN_BANG;break}case E.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===E.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=b.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===E.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=b.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==E.GREATER_THAN_SIGN&&t!==E.EOF&&this._err(w.nestedComment),this.state=b.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case E.EOF:{this._err(w.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case E.EXCLAMATION_MARK:{this.state=b.COMMENT_END_BANG;break}case E.HYPHEN_MINUS:{n.data+="-";break}case E.EOF:{this._err(w.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{n.data+="--!",this.state=b.COMMENT_END_DASH;break}case E.GREATER_THAN_SIGN:{this._err(w.incorrectlyClosedComment),this.state=b.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(w.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=b.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case E.EOF:{this._err(w.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.missingWhitespaceBeforeDoctypeName),this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(er(t))this._createDoctypeToken(String.fromCharCode(Rr(t))),this.state=b.DOCTYPE_NAME;else switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.NULL:{this._err(w.unexpectedNullCharacter),this._createDoctypeToken(ze),this.state=b.DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this._err(w.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(w.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=b.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.AFTER_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.name+=ze;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(er(t)?Rr(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(dt.PUBLIC,!1)?this.state=b.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(dt.SYSTEM,!1)?this.state=b.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(w.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(w.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(w.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(w.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(w.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.publicId+=ze;break}case E.GREATER_THAN_SIGN:{this._err(w.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.publicId+=ze;break}case E.GREATER_THAN_SIGN:{this._err(w.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.QUOTATION_MARK:{this._err(w.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(w.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(w.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(w.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(w.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(w.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.systemId+=ze;break}case E.GREATER_THAN_SIGN:{this._err(w.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case E.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(w.unexpectedNullCharacter),n.systemId+=ze;break}case E.GREATER_THAN_SIGN:{this._err(w.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(w.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(w.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.NULL:{this._err(w.unexpectedNullCharacter);break}case E.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case E.RIGHT_SQUARE_BRACKET:{this.state=b.CDATA_SECTION_BRACKET;break}case E.EOF:{this._err(w.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===E.RIGHT_SQUARE_BRACKET?this.state=b.CDATA_SECTION_END:(this._emitChars("]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case E.GREATER_THAN_SIGN:{this.state=b.DATA;break}case E.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===E.NUMBER_SIGN?this.state=b.NUMERIC_CHARACTER_REFERENCE:Gu(t)?(this.state=b.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(E.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const n=this._matchNamedCharacterReference(t);if(!this._ensureHibernation())if(n){for(let r=0;r<n.length;r++)this._flushCodePointConsumedAsCharacterReference(n[r]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(E.AMPERSAND),this.state=b.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){Gu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===E.SEMICOLON&&this._err(w.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===E.LATIN_SMALL_X||t===E.LATIN_CAPITAL_X?this.state=b.HEXADEMICAL_CHARACTER_REFERENCE_START:nr(t)?(this.state=b.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(w.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(E.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(E.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){v1(t)?(this.state=b.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(w.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(E.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(E.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){Qo(t)?this.charRefCode=this.charRefCode*16+t-55:Go(t)?this.charRefCode=this.charRefCode*16+t-87:nr(t)?this.charRefCode=this.charRefCode*16+t-48:t===E.SEMICOLON?this.state=b.NUMERIC_CHARACTER_REFERENCE_END:(this._err(w.missingSemicolonAfterCharacterReference),this.state=b.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){nr(t)?this.charRefCode=this.charRefCode*10+t-48:t===E.SEMICOLON?this.state=b.NUMERIC_CHARACTER_REFERENCE_END:(this._err(w.missingSemicolonAfterCharacterReference),this.state=b.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===E.NULL)this._err(w.nullCharacterReference),this.charRefCode=E.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(w.characterReferenceOutsideUnicodeRange),this.charRefCode=E.REPLACEMENT_CHARACTER;else if(jo(this.charRefCode))this._err(w.surrogateCharacterReference),this.charRefCode=E.REPLACEMENT_CHARACTER;else if(Yo(this.charRefCode))this._err(w.noncharacterCharacterReference);else if(zo(this.charRefCode)||this.charRefCode===E.CARRIAGE_RETURN){this._err(w.controlCharacterReference);const n=P1.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Ko=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),cs=new Set([...Ko,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),Lr=new Map([[s.APPLET,U.HTML],[s.CAPTION,U.HTML],[s.HTML,U.HTML],[s.MARQUEE,U.HTML],[s.OBJECT,U.HTML],[s.TABLE,U.HTML],[s.TD,U.HTML],[s.TEMPLATE,U.HTML],[s.TH,U.HTML],[s.ANNOTATION_XML,U.MATHML],[s.MI,U.MATHML],[s.MN,U.MATHML],[s.MO,U.MATHML],[s.MS,U.MATHML],[s.MTEXT,U.MATHML],[s.DESC,U.SVG],[s.FOREIGN_OBJECT,U.SVG],[s.TITLE,U.SVG]]),H1=[s.H1,s.H2,s.H3,s.H4,s.H5,s.H6],U1=[s.TR,s.TEMPLATE,s.HTML],j1=[s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML],z1=[s.TABLE,s.TEMPLATE,s.HTML],Y1=[s.TD,s.TH];class q1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===U.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==U.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(n<0?0:n)}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(H1,U.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Y1,U.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(z1,U.HTML)}clearBackToTableBodyContext(){this.clearBackTo(j1,U.HTML)}clearBackToTableRowContext(){this.clearBackTo(U1,U.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===U.HTML)return!0;if(Lr.get(r)===u)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(Wo(n)&&r===U.HTML)return!0;if(Lr.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===U.HTML)return!0;if((r===s.UL||r===s.OL)&&u===U.HTML||Lr.get(r)===u)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===U.HTML)return!0;if(r===s.BUTTON&&u===U.HTML||Lr.get(r)===u)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===U.HTML){if(r===t)return!0;if(r===s.TABLE||r===s.TEMPLATE||r===s.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===U.HTML){if(n===s.TBODY||n===s.THEAD||n===s.TFOOT)return!0;if(n===s.TABLE||n===s.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===U.HTML){if(r===t)return!0;if(r!==s.OPTION&&r!==s.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Ko.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;cs.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&cs.has(this.currentTagId);)this.pop()}}const Pu=3;var Lt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Lt=Lt||(Lt={}));const fs={type:Lt.Marker};class V1{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===Lt.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const f=this.treeAdapter.getAttrList(c);f.length===u&&r.push({idx:o,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Pu)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Pu)return;const u=new Map(n.map(a=>[a.name,a.value]));let i=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>u.get(l.name)===l.value)&&(i+=1,i>=Pu&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(fs)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Lt.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Lt.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(fs);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Lt.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Lt.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Lt.Element&&n.element===t)}}function hs(e){return{nodeName:"#text",value:e,parentNode:null}}const Sn={createDocument(){return{nodeName:"#document",mode:Tt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const u=e.childNodes.find(i=>i.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Sn.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Sn.isTextNode(n)){n.value+=t;return}}Sn.appendChild(e,hs(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Sn.isTextNode(r)?r.value+=t:Sn.insertBefore(e,hs(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Jo="html",$1="about:legacy-compat",W1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Zo=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Q1=[...Zo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],G1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),el=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],X1=[...el,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ds(e,t){return t.some(n=>e.startsWith(n))}function K1(e){return e.name===Jo&&e.publicId===null&&(e.systemId===null||e.systemId===$1)}function J1(e){if(e.name!==Jo)return Tt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===W1)return Tt.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),G1.has(n))return Tt.QUIRKS;let r=t===null?Q1:Zo;if(ds(n,r))return Tt.QUIRKS;if(r=t===null?el:X1,ds(n,r))return Tt.LIMITED_QUIRKS}return Tt.NO_QUIRKS}const ps={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Z1="definitionurl",eE="definitionURL",tE=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),nE=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:U.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:U.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:U.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:U.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:U.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:U.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:U.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:U.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:U.XML}],["xml:space",{prefix:"xml",name:"space",namespace:U.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:U.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:U.XMLNS}]]),rE=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),uE=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function iE(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===un.COLOR||r===un.SIZE||r===un.FACE)||uE.has(t)}function tl(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Z1){e.attrs[t].name=eE;break}}function nl(e){for(let t=0;t<e.attrs.length;t++){const n=tE.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function _i(e){for(let t=0;t<e.attrs.length;t++){const n=nE.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function aE(e){const t=rE.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=vn(e.tagName))}function sE(e,t){return t===U.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function oE(e,t,n){if(t===U.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===un.ENCODING){const u=n[r].value.toLowerCase();return u===ps.TEXT_HTML||u===ps.APPLICATION_XML}}return t===U.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function lE(e,t,n,r){return(!r||r===U.HTML)&&oE(e,t,n)||(!r||r===U.MATHML)&&sE(e,t)}const cE="hidden",fE=8,hE=3;var _;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(_||(_={}));const dE={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},rl=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),ms={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Sn,onParseError:null};class Es{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=_.INITIAL,this.originalInsertionMode=_.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...ms,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new M1(this.options,this),this.activeFormattingElements=new V1(this.treeAdapter),this.fragmentContextID=r?vn(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new q1(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...ms,...n};t??(t=r.treeAdapter.createElement(I.TEMPLATE,U.HTML,[]));const u=r.treeAdapter.createElement("documentmock",U.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(_.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const i=(u=t.location)!==null&&u!==void 0?u:dE,a={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(t,n,r){var u,i;(i=(u=this.treeAdapter).onItemPush)===null||i===void 0||i.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let i,a;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,a=this.fragmentContextID):{current:i,currentTagId:a}=this.openElements,this._setContextModes(i,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===U.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,U.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=_.TEXT}switchToPlaintextParsing(){this.insertionMode=_.TEXT,this.originalInsertionMode=_.IN_BODY,this.tokenizer.state=Ve.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===I.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==U.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=Ve.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=Ve.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=Ve.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=Ve.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,U.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,U.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(I.HTML,U.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),i=r?u.lastIndexOf(r):u.length,a=u[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),i=n.type===ye.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===I.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===U.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,U.HTML)}_processToken(t){switch(t.type){case ye.CHARACTER:{this.onCharacter(t);break}case ye.NULL_CHARACTER:{this.onNullCharacter(t);break}case ye.COMMENT:{this.onComment(t);break}case ye.DOCTYPE:{this.onDoctype(t);break}case ye.START_TAG:{this._processStartTag(t);break}case ye.END_TAG:{this.onEndTag(t);break}case ye.EOF:{this.onEof(t);break}case ye.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return lE(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Lt.Marker||this.openElements.contains(u.element)),r=n<0?t-1:n-1;for(let u=r;u>=0;u--){const i=this.activeFormattingElements.entries[u];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=_.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=_.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=_.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=_.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=_.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=_.IN_TABLE;return}case s.BODY:{this.insertionMode=_.IN_BODY;return}case s.FRAMESET:{this.insertionMode=_.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?_.AFTER_HEAD:_.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=_.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=_.IN_HEAD;return}break}}this.insertionMode=_.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=_.IN_SELECT_IN_TABLE;return}}this.insertionMode=_.IN_SELECT}_isElementCausesFosterParenting(t){return rl.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===U.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return F1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Yb(this,t);return}switch(this.insertionMode){case _.INITIAL:{Xn(this,t);break}case _.BEFORE_HTML:{rr(this,t);break}case _.BEFORE_HEAD:{ur(this,t);break}case _.IN_HEAD:{ir(this,t);break}case _.IN_HEAD_NO_SCRIPT:{ar(this,t);break}case _.AFTER_HEAD:{sr(this,t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:{il(this,t);break}case _.TEXT:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{wu(this,t);break}case _.IN_TABLE_TEXT:{fl(this,t);break}case _.IN_COLUMN_GROUP:{qr(this,t);break}case _.AFTER_BODY:{Vr(this,t);break}case _.AFTER_AFTER_BODY:{Mr(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){zb(this,t);return}switch(this.insertionMode){case _.INITIAL:{Xn(this,t);break}case _.BEFORE_HTML:{rr(this,t);break}case _.BEFORE_HEAD:{ur(this,t);break}case _.IN_HEAD:{ir(this,t);break}case _.IN_HEAD_NO_SCRIPT:{ar(this,t);break}case _.AFTER_HEAD:{sr(this,t);break}case _.TEXT:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{wu(this,t);break}case _.IN_COLUMN_GROUP:{qr(this,t);break}case _.AFTER_BODY:{Vr(this,t);break}case _.AFTER_AFTER_BODY:{Mr(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Xu(this,t);return}switch(this.insertionMode){case _.INITIAL:case _.BEFORE_HTML:case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_TEMPLATE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{Xu(this,t);break}case _.IN_TABLE_TEXT:{Kn(this,t);break}case _.AFTER_BODY:{AE(this,t);break}case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{_E(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case _.INITIAL:{CE(this,t);break}case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:{this._err(t,w.misplacedDoctype);break}case _.IN_TABLE_TEXT:{Kn(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,w.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?qb(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Xn(this,t);break}case _.BEFORE_HTML:{DE(this,t);break}case _.BEFORE_HEAD:{xE(this,t);break}case _.IN_HEAD:{Ft(this,t);break}case _.IN_HEAD_NO_SCRIPT:{SE(this,t);break}case _.AFTER_HEAD:{RE(this,t);break}case _.IN_BODY:{at(this,t);break}case _.IN_TABLE:{Ln(this,t);break}case _.IN_TABLE_TEXT:{Kn(this,t);break}case _.IN_CAPTION:{Nb(this,t);break}case _.IN_COLUMN_GROUP:{yi(this,t);break}case _.IN_TABLE_BODY:{eu(this,t);break}case _.IN_ROW:{tu(this,t);break}case _.IN_CELL:{kb(this,t);break}case _.IN_SELECT:{pl(this,t);break}case _.IN_SELECT_IN_TABLE:{Lb(this,t);break}case _.IN_TEMPLATE:{Fb(this,t);break}case _.AFTER_BODY:{wb(this,t);break}case _.IN_FRAMESET:{vb(this,t);break}case _.AFTER_FRAMESET:{Mb(this,t);break}case _.AFTER_AFTER_BODY:{Ub(this,t);break}case _.AFTER_AFTER_FRAMESET:{jb(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Vb(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Xn(this,t);break}case _.BEFORE_HTML:{yE(this,t);break}case _.BEFORE_HEAD:{NE(this,t);break}case _.IN_HEAD:{IE(this,t);break}case _.IN_HEAD_NO_SCRIPT:{kE(this,t);break}case _.AFTER_HEAD:{LE(this,t);break}case _.IN_BODY:{Zr(this,t);break}case _.TEXT:{Eb(this,t);break}case _.IN_TABLE:{fr(this,t);break}case _.IN_TABLE_TEXT:{Kn(this,t);break}case _.IN_CAPTION:{Ib(this,t);break}case _.IN_COLUMN_GROUP:{Sb(this,t);break}case _.IN_TABLE_BODY:{Ku(this,t);break}case _.IN_ROW:{dl(this,t);break}case _.IN_CELL:{Rb(this,t);break}case _.IN_SELECT:{ml(this,t);break}case _.IN_SELECT_IN_TABLE:{Ob(this,t);break}case _.IN_TEMPLATE:{Pb(this,t);break}case _.AFTER_BODY:{bl(this,t);break}case _.IN_FRAMESET:{Bb(this,t);break}case _.AFTER_FRAMESET:{Hb(this,t);break}case _.AFTER_AFTER_BODY:{Mr(this,t);break}}}onEof(t){switch(this.insertionMode){case _.INITIAL:{Xn(this,t);break}case _.BEFORE_HTML:{rr(this,t);break}case _.BEFORE_HEAD:{ur(this,t);break}case _.IN_HEAD:{ir(this,t);break}case _.IN_HEAD_NO_SCRIPT:{ar(this,t);break}case _.AFTER_HEAD:{sr(this,t);break}case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{ll(this,t);break}case _.TEXT:{bb(this,t);break}case _.IN_TABLE_TEXT:{Kn(this,t);break}case _.IN_TEMPLATE:{El(this,t);break}case _.AFTER_BODY:case _.IN_FRAMESET:case _.AFTER_FRAMESET:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{Di(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===E.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.TEXT:case _.IN_COLUMN_GROUP:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{this._insertCharacters(t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:case _.AFTER_BODY:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{ul(this,t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{wu(this,t);break}case _.IN_TABLE_TEXT:{cl(this,t);break}}}}function pE(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ol(e,t),n}function mE(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function EE(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let i=0,a=u;a!==n;i++,a=u){u=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&i>=hE;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=bE(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function bE(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function gE(e,t,n){const r=e.treeAdapter.getTagName(t),u=vn(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===U.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function TE(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,i=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,u.tagID)}function Ci(e,t){for(let n=0;n<fE;n++){const r=pE(e,t);if(!r)break;const u=mE(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=EE(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&gE(e,a,i),TE(e,u,r)}}function Xu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function AE(e,t){e._appendCommentNode(t,e.openElements.items[0])}function _E(e,t){e._appendCommentNode(t,e.document)}function Di(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(i);a&&!a.endTag&&e._setEndLocation(i,t)}}}}function CE(e,t){e._setDocumentType(t);const n=t.forceQuirks?Tt.QUIRKS:J1(t);K1(t)||e._err(t,w.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=_.BEFORE_HTML}function Xn(e,t){e._err(t,w.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Tt.QUIRKS),e.insertionMode=_.BEFORE_HTML,e._processToken(t)}function DE(e,t){t.tagID===s.HTML?(e._insertElement(t,U.HTML),e.insertionMode=_.BEFORE_HEAD):rr(e,t)}function yE(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&rr(e,t)}function rr(e,t){e._insertFakeRootElement(),e.insertionMode=_.BEFORE_HEAD,e._processToken(t)}function xE(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.HEAD:{e._insertElement(t,U.HTML),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD;break}default:ur(e,t)}}function NE(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?ur(e,t):e._err(t,w.endTagWithoutMatchingOpenElement)}function ur(e,t){e._insertFakeElement(I.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD,e._processToken(t)}function Ft(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,U.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,Ve.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ve.RAWTEXT):(e._insertElement(t,U.HTML),e.insertionMode=_.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,Ve.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,Ve.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=_.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(_.IN_TEMPLATE);break}case s.HEAD:{e._err(t,w.misplacedStartTagForHeadElement);break}default:ir(e,t)}}function IE(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=_.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{ir(e,t);break}case s.TEMPLATE:{_n(e,t);break}default:e._err(t,w.endTagWithoutMatchingOpenElement)}}function _n(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,w.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,w.endTagWithoutMatchingOpenElement)}function ir(e,t){e.openElements.pop(),e.insertionMode=_.AFTER_HEAD,e._processToken(t)}function SE(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Ft(e,t);break}case s.NOSCRIPT:{e._err(t,w.nestedNoscriptInHead);break}default:ar(e,t)}}function kE(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=_.IN_HEAD;break}case s.BR:{ar(e,t);break}default:e._err(t,w.endTagWithoutMatchingOpenElement)}}function ar(e,t){const n=t.type===ye.EOF?w.openElementsLeftAfterEof:w.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=_.IN_HEAD,e._processToken(t)}function RE(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.BODY:{e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode=_.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,U.HTML),e.insertionMode=_.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,w.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Ft(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,w.misplacedStartTagForHeadElement);break}default:sr(e,t)}}function LE(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{sr(e,t);break}case s.TEMPLATE:{_n(e,t);break}default:e._err(t,w.endTagWithoutMatchingOpenElement)}}function sr(e,t){e._insertFakeElement(I.BODY,s.BODY),e.insertionMode=_.IN_BODY,Jr(e,t)}function Jr(e,t){switch(t.type){case ye.CHARACTER:{il(e,t);break}case ye.WHITESPACE_CHARACTER:{ul(e,t);break}case ye.COMMENT:{Xu(e,t);break}case ye.START_TAG:{at(e,t);break}case ye.END_TAG:{Zr(e,t);break}case ye.EOF:{ll(e,t);break}}}function ul(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function il(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function OE(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function FE(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function PE(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,U.HTML),e.insertionMode=_.IN_FRAMESET)}function wE(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,U.HTML)}function vE(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),Wo(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,U.HTML)}function BE(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ME(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,U.HTML),n||(e.formElement=e.openElements.current))}function HE(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,U.HTML)}function UE(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.tokenizer.state=Ve.PLAINTEXT}function jE(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.framesetOk=!1}function zE(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(I.A);n&&(Ci(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function YE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qE(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(Ci(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function VE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function $E(e,t){e.treeAdapter.getDocumentMode(e.document)!==Tt.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode=_.IN_TABLE}function al(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,U.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function sl(e){const t=qo(e,un.TYPE);return t!=null&&t.toLowerCase()===cE}function WE(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,U.HTML),sl(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function QE(e,t){e._appendElement(t,U.HTML),t.ackSelfClosing=!0}function GE(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,U.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function XE(e,t){t.tagName=I.IMG,t.tagID=s.IMG,al(e,t)}function KE(e,t){e._insertElement(t,U.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ve.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=_.TEXT}function JE(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ve.RAWTEXT)}function ZE(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ve.RAWTEXT)}function bs(e,t){e._switchToTextParsing(t,Ve.RAWTEXT)}function eb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===_.IN_TABLE||e.insertionMode===_.IN_CAPTION||e.insertionMode===_.IN_TABLE_BODY||e.insertionMode===_.IN_ROW||e.insertionMode===_.IN_CELL?_.IN_SELECT_IN_TABLE:_.IN_SELECT}function tb(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML)}function nb(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,U.HTML)}function rb(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,U.HTML)}function ub(e,t){e._reconstructActiveFormattingElements(),tl(t),_i(t),t.selfClosing?e._appendElement(t,U.MATHML):e._insertElement(t,U.MATHML),t.ackSelfClosing=!0}function ib(e,t){e._reconstructActiveFormattingElements(),nl(t),_i(t),t.selfClosing?e._appendElement(t,U.SVG):e._insertElement(t,U.SVG),t.ackSelfClosing=!0}function gs(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML)}function at(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{YE(e,t);break}case s.A:{zE(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{vE(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{wE(e,t);break}case s.LI:case s.DD:case s.DT:{HE(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{al(e,t);break}case s.HR:{GE(e,t);break}case s.RB:case s.RTC:{nb(e,t);break}case s.RT:case s.RP:{rb(e,t);break}case s.PRE:case s.LISTING:{BE(e,t);break}case s.XMP:{JE(e,t);break}case s.SVG:{ib(e,t);break}case s.HTML:{OE(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{Ft(e,t);break}case s.BODY:{FE(e,t);break}case s.FORM:{ME(e,t);break}case s.NOBR:{qE(e,t);break}case s.MATH:{ub(e,t);break}case s.TABLE:{$E(e,t);break}case s.INPUT:{WE(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{QE(e,t);break}case s.IMAGE:{XE(e,t);break}case s.BUTTON:{jE(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{VE(e,t);break}case s.IFRAME:{ZE(e,t);break}case s.SELECT:{eb(e,t);break}case s.OPTION:case s.OPTGROUP:{tb(e,t);break}case s.NOEMBED:{bs(e,t);break}case s.FRAMESET:{PE(e,t);break}case s.TEXTAREA:{KE(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?bs(e,t):gs(e,t);break}case s.PLAINTEXT:{UE(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:gs(e,t)}}function ab(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=_.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function sb(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=_.AFTER_BODY,bl(e,t))}function ob(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function lb(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function cb(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(I.P,s.P),e._closePElement()}function fb(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function hb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function db(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function pb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function mb(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(I.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function ol(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const i=e.openElements.items[u],a=e.openElements.tagIDs[u];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(i,a))break}}function Zr(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{Ci(e,t);break}case s.P:{cb(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{ob(e,t);break}case s.LI:{fb(e);break}case s.DD:case s.DT:{hb(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{db(e);break}case s.BR:{mb(e);break}case s.BODY:{ab(e,t);break}case s.HTML:{sb(e,t);break}case s.FORM:{lb(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{pb(e,t);break}case s.TEMPLATE:{_n(e,t);break}default:ol(e,t)}}function ll(e,t){e.tmplInsertionModeStack.length>0?El(e,t):Di(e,t)}function Eb(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function bb(e,t){e._err(t,w.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function wu(e,t){if(rl.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=_.IN_TABLE_TEXT,t.type){case ye.CHARACTER:{fl(e,t);break}case ye.WHITESPACE_CHARACTER:{cl(e,t);break}}else br(e,t)}function gb(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,U.HTML),e.insertionMode=_.IN_CAPTION}function Tb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,U.HTML),e.insertionMode=_.IN_COLUMN_GROUP}function Ab(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.COLGROUP,s.COLGROUP),e.insertionMode=_.IN_COLUMN_GROUP,yi(e,t)}function _b(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,U.HTML),e.insertionMode=_.IN_TABLE_BODY}function Cb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(I.TBODY,s.TBODY),e.insertionMode=_.IN_TABLE_BODY,eu(e,t)}function Db(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function yb(e,t){sl(t)?e._appendElement(t,U.HTML):br(e,t),t.ackSelfClosing=!0}function xb(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,U.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ln(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{Cb(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Ft(e,t);break}case s.COL:{Ab(e,t);break}case s.FORM:{xb(e,t);break}case s.TABLE:{Db(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{_b(e,t);break}case s.INPUT:{yb(e,t);break}case s.CAPTION:{gb(e,t);break}case s.COLGROUP:{Tb(e,t);break}default:br(e,t)}}function fr(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{_n(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:br(e,t)}}function br(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Jr(e,t),e.fosterParentingEnabled=n}function cl(e,t){e.pendingCharacterTokens.push(t)}function fl(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Kn(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)br(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const hl=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function Nb(e,t){const n=t.tagID;hl.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_TABLE,Ln(e,t)):at(e,t)}function Ib(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_TABLE,n===s.TABLE&&fr(e,t));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Zr(e,t)}}function yi(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.COL:{e._appendElement(t,U.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{Ft(e,t);break}default:qr(e,t)}}function Sb(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE);break}case s.TEMPLATE:{_n(e,t);break}case s.COL:break;default:qr(e,t)}}function qr(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE,e._processToken(t))}function eu(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,U.HTML),e.insertionMode=_.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(I.TR,s.TR),e.insertionMode=_.IN_ROW,tu(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE,Ln(e,t));break}default:Ln(e,t)}}function Ku(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE,fr(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:fr(e,t)}}function tu(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,U.HTML),e.insertionMode=_.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,eu(e,t));break}default:Ln(e,t)}}function dl(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,Ku(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,Ku(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:fr(e,t)}}function kb(e,t){const n=t.tagID;hl.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),tu(e,t)):at(e,t)}function Rb(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),dl(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Zr(e,t)}}function pl(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,U.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,U.HTML);break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),t.tagID!==s.SELECT&&e._processStartTag(t));break}case s.SCRIPT:case s.TEMPLATE:{Ft(e,t);break}}}function ml(e,t){switch(t.tagID){case s.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{_n(e,t);break}}}function Lb(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):pl(e,t)}function Ob(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ml(e,t)}function Fb(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{Ft(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=_.IN_TABLE,e.insertionMode=_.IN_TABLE,Ln(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=_.IN_COLUMN_GROUP,e.insertionMode=_.IN_COLUMN_GROUP,yi(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=_.IN_TABLE_BODY,e.insertionMode=_.IN_TABLE_BODY,eu(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=_.IN_ROW,e.insertionMode=_.IN_ROW,tu(e,t);break}default:e.tmplInsertionModeStack[0]=_.IN_BODY,e.insertionMode=_.IN_BODY,at(e,t)}}function Pb(e,t){t.tagID===s.TEMPLATE&&_n(e,t)}function El(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Di(e,t)}function wb(e,t){t.tagID===s.HTML?at(e,t):Vr(e,t)}function bl(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=_.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Vr(e,t)}function Vr(e,t){e.insertionMode=_.IN_BODY,Jr(e,t)}function vb(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.FRAMESET:{e._insertElement(t,U.HTML);break}case s.FRAME:{e._appendElement(t,U.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Ft(e,t);break}}}function Bb(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=_.AFTER_FRAMESET))}function Mb(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.NOFRAMES:{Ft(e,t);break}}}function Hb(e,t){t.tagID===s.HTML&&(e.insertionMode=_.AFTER_AFTER_FRAMESET)}function Ub(e,t){t.tagID===s.HTML?at(e,t):Mr(e,t)}function Mr(e,t){e.insertionMode=_.IN_BODY,Jr(e,t)}function jb(e,t){switch(t.tagID){case s.HTML:{at(e,t);break}case s.NOFRAMES:{Ft(e,t);break}}}function zb(e,t){t.chars=ze,e._insertCharacters(t)}function Yb(e,t){e._insertCharacters(t),e.framesetOk=!1}function gl(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==U.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function qb(e,t){if(iE(t))gl(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===U.MATHML?tl(t):r===U.SVG&&(aE(t),nl(t)),_i(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Vb(e,t){if(t.tagID===s.P||t.tagID===s.BR){gl(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===U.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}I.AREA,I.BASE,I.BASEFONT,I.BGSOUND,I.BR,I.COL,I.EMBED,I.FRAME,I.HR,I.IMG,I.INPUT,I.KEYGEN,I.LINK,I.META,I.PARAM,I.SOURCE,I.TRACK,I.WBR;const $b=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Ts={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Tl(e,t){const n=ng(e),r=Js("type",{handlers:{root:Wb,element:Qb,text:Gb,comment:_l,doctype:Xb,raw:Jb},unknown:Zb}),u={parser:n?new Es(Ts):Es.getFragmentParser(void 0,Ts),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),Bn(u,jt());const i=n?u.parser.document:u.parser.getFragment(),a=u1(i,{file:u.options.file});return u.stitches&&mt(a,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const d=c.children;return d[l]=f.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function Al(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Wb(e,t){Al(e.children,t)}function Qb(e,t){eg(e,t),Al(e.children,t),tg(e,t)}function Gb(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:ye.CHARACTER,chars:e.value,location:gr(e)};Bn(t,jt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Xb(e,t){const n={type:ye.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:gr(e)};Bn(t,jt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Kb(e,t){t.stitches=!0;const n=rg(e);if("children"in e&&"children"in n){const r=Tl({type:"root",children:e.children},t.options);n.children=r.children}_l({type:"comment",value:{stitch:n}},t)}function _l(e,t){const n=e.value,r={type:ye.COMMENT,data:n,location:gr(e)};Bn(t,jt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Jb(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Cl(t,jt(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Zb(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Kb(n,t);else{let r="";throw $b.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Bn(e,t){Cl(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ve.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Cl(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function eg(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ve.PLAINTEXT)return;Bn(t,jt(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:bn.html;u===bn.html&&n==="svg"&&(u=bn.svg);const i=l1({...e,children:[]},{space:u===bn.svg?"svg":"html"}),a={type:ye.START_TAG,tagName:n,tagID:vn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:gr(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function tg(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&b1.includes(n)||t.parser.tokenizer.state===Ve.PLAINTEXT)return;Bn(t,Xr(e));const r={type:ye.END_TAG,tagName:n,tagID:vn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:gr(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ve.RCDATA||t.parser.tokenizer.state===Ve.RAWTEXT||t.parser.tokenizer.state===Ve.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ve.DATA)}function ng(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function gr(e){const t=jt(e)||{line:void 0,column:void 0,offset:void 0},n=Xr(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function rg(e){return"children"in e?Wt({...e,children:[]}):Wt(e)}function ug(e){return function(t,n){return Tl(t,{...e,file:n})}}const Dl=function(e){if(e==null)return sg;if(typeof e=="string")return ag(e);if(typeof e=="object")return ig(e);if(typeof e=="function")return xi(e);throw new Error("Expected function, string, or array as `test`")};function ig(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Dl(e[n]);return xi(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function ag(e){return xi(t);function t(n){return n.tagName===e}}function xi(e){return t;function t(n,r,u){return!!(og(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function sg(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function og(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const lg=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,cg=/^[a-zA-Z]:\\/;function fg(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return cg.test(e)?!1:lg.test(e)}const hg=["http","https"],dg=["nofollow"],pg={};function mg(e){const t=e||pg,n=t.protocols||hg,r=Dl(t.test);return function(u){mt(u,"element",function(i,a,o){if(i.tagName==="a"&&typeof i.properties.href=="string"&&r(i,a,o)){const l=i.properties.href;if(fg(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Jn(t.content,i),f=c&&!Array.isArray(c)?[c]:c,d=Jn(t.rel,i)||dg,g=typeof d=="string"?cr(d):d,m=Jn(t.target,i),T=Jn(t.properties,i);if(T&&Object.assign(i.properties,Wt(T)),g.length>0&&(i.properties.rel=[...g]),m&&(i.properties.target=m),f){const O=Jn(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:Wt(O),children:Wt(f)})}}}})}}function Jn(e,t){return typeof e=="function"?e(t):e}function yl(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}function Eg(e,t){if(typeof t!="number"||!t||!Number.isFinite(t)||Math.floor(t)!==t)throw new Error("Expected a non-null finite integer, not `"+t+"`");mt(e,"element",function(n){let r=yl(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const bg={};function gg(e){const t=(e||bg).shift||0;return function(n){t&&Eg(n,t)}}const Tg=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ag=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_g={};function As(e,t){return(_g.jsx?Ag:Tg).test(e)}const Cg=/[ \t\n\f\r]/g;function Dg(e){return typeof e=="object"?e.type==="text"?_s(e.value):!1:_s(e)}function _s(e){return e.replace(Cg,"")===""}var xl={},Cs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,yg=/\n/g,xg=/^\s*/,Ng=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ig=/^:\s*/,Sg=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,kg=/^[;\s]*/,Rg=/^\s+|\s+$/g,Lg=`
|
|
100
|
+
`,Ds="/",ys="*",En="",Og="comment",Fg="declaration",Pg=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function u(T){var O=T.match(yg);O&&(n+=O.length);var S=T.lastIndexOf(Lg);r=~S?T.length-S:r+T.length}function i(){var T={line:n,column:r};return function(O){return O.position=new a(T),c(),O}}function a(T){this.start=T,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(T){var O=new Error(t.source+":"+n+":"+r+": "+T);if(O.reason=T,O.filename=t.source,O.line=n,O.column=r,O.source=e,!t.silent)throw O}function l(T){var O=T.exec(e);if(O){var S=O[0];return u(S),e=e.slice(S.length),O}}function c(){l(xg)}function f(T){var O;for(T=T||[];O=d();)O!==!1&&T.push(O);return T}function d(){var T=i();if(!(Ds!=e.charAt(0)||ys!=e.charAt(1))){for(var O=2;En!=e.charAt(O)&&(ys!=e.charAt(O)||Ds!=e.charAt(O+1));)++O;if(O+=2,En===e.charAt(O-1))return o("End of comment missing");var S=e.slice(2,O-2);return r+=2,u(S),e=e.slice(O),r+=2,T({type:Og,comment:S})}}function g(){var T=i(),O=l(Ng);if(O){if(d(),!l(Ig))return o("property missing ':'");var S=l(Sg),R=T({type:Fg,property:xs(O[0].replace(Cs,En)),value:S?xs(S[0].replace(Cs,En)):En});return l(kg),R}}function m(){var T=[];f(T);for(var O;O=g();)O!==!1&&(T.push(O),f(T));return T}return c(),m()};function xs(e){return e?e.replace(Rg,En):En}var wg=ia&&ia.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xl,"__esModule",{value:!0});var vg=wg(Pg);function Bg(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,vg.default)(e),u=typeof t=="function";return r.forEach(function(i){if(i.type==="declaration"){var a=i.property,o=i.value;u?t(a,o,i):o&&(n=n||{},n[a]=o)}}),n}var Ns=xl.default=Bg;const Mg=Ns.default||Ns,Ni={}.hasOwnProperty,Hg=new Map,Ug=/[A-Z]/g,jg=/-([a-z])/g,zg=new Set(["table","tbody","thead","tfoot","tr"]),Yg=new Set(["td","th"]),Nl="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function qg(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=Jg(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=Kg(n,t.jsx,t.jsxs)}const u={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"?Kt:Pn,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Il(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function Il(e,t,n){if(t.type==="element")return Vg(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return $g(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Qg(e,t,n);if(t.type==="mdxjsEsm")return Wg(e,t);if(t.type==="root")return Gg(e,t,n);if(t.type==="text")return Xg(e,t)}function Vg(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=Kt,e.schema=u),e.ancestors.push(t);const i=kl(e,t.tagName,!1),a=Zg(e,t);let o=Si(e,t);return zg.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!Dg(l):!0})),Sl(e,a,i,t),Ii(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function $g(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)}hr(e,t.position)}function Wg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);hr(e,t.position)}function Qg(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=Kt,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:kl(e,t.name,!0),a=eT(e,t),o=Si(e,t);return Sl(e,a,i,t),Ii(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function Gg(e,t,n){const r={};return Ii(r,Si(e,t)),e.create(t,e.Fragment,r,n)}function Xg(e,t){return t.value}function Sl(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Ii(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Kg(e,t,n){return r;function r(u,i,a,o){const c=Array.isArray(a.children)?n:t;return o?c(i,a,o):c(i,a)}}function Jg(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=jt(r);return t(u,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function Zg(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Ni.call(t.properties,u)){const i=tT(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&Yg.has(t.tagName)?r=o:n[a]=o}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function eT(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else hr(e,t.position);else{const u=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else hr(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function Si(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:Hg;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=u.get(l)||0;a=l+"-"+c,u.set(l,c+1)}}const o=Il(e,i,a);o!==void 0&&n.push(o)}return n}function tT(e,t,n){const r=Er(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Po(n):vo(n)),r.property==="style"){let u=typeof n=="object"?n:nT(e,String(n));return e.stylePropertyNameCase==="css"&&(u=rT(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Wm[r.property]||r.property:r.attribute,n]}}function nT(e,t){const n={};try{Mg(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new it("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Nl+"#cannot-parse-style-attribute",a}}return n;function r(u,i){let a=u;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(jg,iT)),n[a]=i}}function kl(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let i=-1,a;for(;++i<u.length;){const o=As(u[i])?{type:"Identifier",name:u[i]}:{type:"Literal",value:u[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}r=a}else r=As(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Ni.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);hr(e)}function hr(e,t){const n=new it("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=Nl+"#cannot-handle-mdx-estrees-without-createevaluater",n}function rT(e){const t={};let n;for(n in e)Ni.call(e,n)&&(t[uT(n)]=e[n]);return t}function uT(e){let t=e.replace(Ug,aT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function iT(e,t){return t.toUpperCase()}function aT(e){return"-"+e.toLowerCase()}function sT(e){const t=this;t.compiler=n;function n(r,u){return qg(r,{filePath:u.path,...e})}}const oT=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,lT=Object.hasOwnProperty;class Rl{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=cT(t,n===!0);const i=u;for(;lT.call(r.occurrences,u);)r.occurrences[i]++,u=i+"-"+r.occurrences[i];return r.occurrences[u]=0,u}reset(){this.occurrences=Object.create(null)}}function cT(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(oT,"").replace(/ /g,"-"))}function fT(e){return"children"in e?Ll(e):"value"in e?e.value:""}function hT(e){return e.type==="text"?e.value:"children"in e?Ll(e):""}function Ll(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=hT(e.children[t]);return n.join("")}const dT={},Is=new Rl;function pT(e){const n=(e||dT).prefix||"";return function(r){Is.reset(),mt(r,"element",function(u){yl(u)&&!u.properties.id&&(u.properties.id=n+Is.slug(fT(u)))})}}var Ju={exports:{}},Zn={};/**
|
|
63
101
|
* @license React
|
|
64
102
|
* react-jsx-runtime.production.min.js
|
|
65
103
|
*
|
|
@@ -67,7 +105,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
67
105
|
*
|
|
68
106
|
* This source code is licensed under the MIT license found in the
|
|
69
107
|
* LICENSE file in the root directory of this source tree.
|
|
70
|
-
*/var
|
|
108
|
+
*/var Ss;function mT(){if(Ss)return Zn;Ss=1;var e=At,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,u=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(o,l,c){var f,d={},g=null,m=null;c!==void 0&&(g=""+c),l.key!==void 0&&(g=""+l.key),l.ref!==void 0&&(m=l.ref);for(f in l)r.call(l,f)&&!i.hasOwnProperty(f)&&(d[f]=l[f]);if(o&&o.defaultProps)for(f in l=o.defaultProps,l)d[f]===void 0&&(d[f]=l[f]);return{$$typeof:t,type:o,key:g,ref:m,props:d,_owner:u.current}}return Zn.Fragment=n,Zn.jsx=a,Zn.jsxs=a,Zn}var Or={};/**
|
|
71
109
|
* @license React
|
|
72
110
|
* react-jsx-runtime.development.js
|
|
73
111
|
*
|
|
@@ -75,20 +113,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
75
113
|
*
|
|
76
114
|
* This source code is licensed under the MIT license found in the
|
|
77
115
|
* LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/var
|
|
79
|
-
`+
|
|
80
|
-
`),
|
|
81
|
-
`),
|
|
82
|
-
`+
|
|
116
|
+
*/var ks;function ET(){return ks||(ks=1,process.env.NODE_ENV!=="production"&&function(){var e=At,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),T=Symbol.iterator,O="@@iterator";function S(h){if(h===null||typeof h!="object")return null;var y=T&&h[T]||h[O];return typeof y=="function"?y:null}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(h){{for(var y=arguments.length,k=new Array(y>1?y-1:0),V=1;V<y;V++)k[V-1]=arguments[V];j("error",h,k)}}function j(h,y,k){{var V=R.ReactDebugCurrentFrame,ne=V.getStackAddendum();ne!==""&&(y+="%s",k=k.concat([ne]));var ae=k.map(function(Z){return String(Z)});ae.unshift("Warning: "+y),Function.prototype.apply.call(console[h],console,ae)}}var ee=!1,K=!1,P=!1,H=!1,se=!1,oe;oe=Symbol.for("react.module.reference");function L(h){return!!(typeof h=="string"||typeof h=="function"||h===r||h===i||se||h===u||h===c||h===f||H||h===m||ee||K||P||typeof h=="object"&&h!==null&&(h.$$typeof===g||h.$$typeof===d||h.$$typeof===a||h.$$typeof===o||h.$$typeof===l||h.$$typeof===oe||h.getModuleId!==void 0))}function G(h,y,k){var V=h.displayName;if(V)return V;var ne=y.displayName||y.name||"";return ne!==""?k+"("+ne+")":k}function Y(h){return h.displayName||"Context"}function te(h){if(h==null)return null;if(typeof h.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case u:return"StrictMode";case c:return"Suspense";case f:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case o:var y=h;return Y(y)+".Consumer";case a:var k=h;return Y(k._context)+".Provider";case l:return G(h,h.render,"ForwardRef");case d:var V=h.displayName||null;return V!==null?V:te(h.type)||"Memo";case g:{var ne=h,ae=ne._payload,Z=ne._init;try{return te(Z(ae))}catch{return null}}}return null}var re=Object.assign,x=0,Ne,J,He,$e,D,N,z;function A(){}A.__reactDisabledLog=!0;function le(){{if(x===0){Ne=console.log,J=console.info,He=console.warn,$e=console.error,D=console.group,N=console.groupCollapsed,z=console.groupEnd;var h={configurable:!0,enumerable:!0,value:A,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}x++}}function ge(){{if(x--,x===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},h,{value:Ne}),info:re({},h,{value:J}),warn:re({},h,{value:He}),error:re({},h,{value:$e}),group:re({},h,{value:D}),groupCollapsed:re({},h,{value:N}),groupEnd:re({},h,{value:z})})}x<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fe=R.ReactCurrentDispatcher,Se;function Te(h,y,k){{if(Se===void 0)try{throw Error()}catch(ne){var V=ne.stack.trim().match(/\n( *(at )?)/);Se=V&&V[1]||""}return`
|
|
117
|
+
`+Se+h}}var Ce=!1,Pe;{var Pt=typeof WeakMap=="function"?WeakMap:Map;Pe=new Pt}function zt(h,y){if(!h||Ce)return"";{var k=Pe.get(h);if(k!==void 0)return k}var V;Ce=!0;var ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=fe.current,fe.current=null,le();try{if(y){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(we){V=we}Reflect.construct(h,[],Z)}else{try{Z.call()}catch(we){V=we}h.call(Z.prototype)}}else{try{throw Error()}catch(we){V=we}h()}}catch(we){if(we&&V&&typeof we.stack=="string"){for(var X=we.stack.split(`
|
|
118
|
+
`),Fe=V.stack.split(`
|
|
119
|
+
`),pe=X.length-1,Ee=Fe.length-1;pe>=1&&Ee>=0&&X[pe]!==Fe[Ee];)Ee--;for(;pe>=1&&Ee>=0;pe--,Ee--)if(X[pe]!==Fe[Ee]){if(pe!==1||Ee!==1)do if(pe--,Ee--,Ee<0||X[pe]!==Fe[Ee]){var ve=`
|
|
120
|
+
`+X[pe].replace(" at new "," at ");return h.displayName&&ve.includes("<anonymous>")&&(ve=ve.replace("<anonymous>",h.displayName)),typeof h=="function"&&Pe.set(h,ve),ve}while(pe>=1&&Ee>=0);break}}}finally{Ce=!1,fe.current=ae,ge(),Error.prepareStackTrace=ne}var ft=h?h.displayName||h.name:"",et=ft?Te(ft):"";return typeof h=="function"&&Pe.set(h,et),et}function wt(h,y,k){return zt(h,!1)}function sn(h){var y=h.prototype;return!!(y&&y.isReactComponent)}function ht(h,y,k){if(h==null)return"";if(typeof h=="function")return zt(h,sn(h));if(typeof h=="string")return Te(h);switch(h){case c:return Te("Suspense");case f:return Te("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case l:return wt(h.render);case d:return ht(h.type,y,k);case g:{var V=h,ne=V._payload,ae=V._init;try{return ht(ae(ne),y,k)}catch{}}}return""}var Ze=Object.prototype.hasOwnProperty,Et={},Yt=R.ReactDebugCurrentFrame;function st(h){if(h){var y=h._owner,k=ht(h.type,h._source,y?y.type:null);Yt.setExtraStackFrame(k)}else Yt.setExtraStackFrame(null)}function ot(h,y,k,V,ne){{var ae=Function.call.bind(Ze);for(var Z in h)if(ae(h,Z)){var X=void 0;try{if(typeof h[Z]!="function"){var Fe=Error((V||"React class")+": "+k+" type `"+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[Z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fe.name="Invariant Violation",Fe}X=h[Z](y,Z,V,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){X=pe}X&&!(X instanceof Error)&&(st(ne),v("%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).",V||"React class",k,Z,typeof X),st(null)),X instanceof Error&&!(X.message in Et)&&(Et[X.message]=!0,st(ne),v("Failed %s type: %s",k,X.message),st(null))}}}var It=Array.isArray;function _t(h){return It(h)}function Jt(h){{var y=typeof Symbol=="function"&&Symbol.toStringTag,k=y&&h[Symbol.toStringTag]||h.constructor.name||"Object";return k}}function Zt(h){try{return St(h),!1}catch{return!0}}function St(h){return""+h}function M(h){if(Zt(h))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Jt(h)),St(h)}var $=R.ReactCurrentOwner,ce={key:!0,ref:!0,__self:!0,__source:!0},me,ke,Ye;Ye={};function bt(h){if(Ze.call(h,"ref")){var y=Object.getOwnPropertyDescriptor(h,"ref").get;if(y&&y.isReactWarning)return!1}return h.ref!==void 0}function lt(h){if(Ze.call(h,"key")){var y=Object.getOwnPropertyDescriptor(h,"key").get;if(y&&y.isReactWarning)return!1}return h.key!==void 0}function kt(h,y){if(typeof h.ref=="string"&&$.current&&y&&$.current.stateNode!==y){var k=te($.current.type);Ye[k]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',te($.current.type),h.ref),Ye[k]=!0)}}function rt(h,y){{var k=function(){me||(me=!0,v("%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)",y))};k.isReactWarning=!0,Object.defineProperty(h,"key",{get:k,configurable:!0})}}function We(h,y){{var k=function(){ke||(ke=!0,v("%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)",y))};k.isReactWarning=!0,Object.defineProperty(h,"ref",{get:k,configurable:!0})}}var Ct=function(h,y,k,V,ne,ae,Z){var X={$$typeof:t,type:h,key:y,ref:k,props:Z,_owner:ae};return X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(X,"_self",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.defineProperty(X,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X};function ct(h,y,k,V,ne){{var ae,Z={},X=null,Fe=null;k!==void 0&&(M(k),X=""+k),lt(y)&&(M(y.key),X=""+y.key),bt(y)&&(Fe=y.ref,kt(y,ne));for(ae in y)Ze.call(y,ae)&&!ce.hasOwnProperty(ae)&&(Z[ae]=y[ae]);if(h&&h.defaultProps){var pe=h.defaultProps;for(ae in pe)Z[ae]===void 0&&(Z[ae]=pe[ae])}if(X||Fe){var Ee=typeof h=="function"?h.displayName||h.name||"Unknown":h;X&&rt(Z,Ee),Fe&&We(Z,Ee)}return Ct(h,X,Fe,ne,V,$.current,Z)}}var vt=R.ReactCurrentOwner,on=R.ReactDebugCurrentFrame;function ut(h){if(h){var y=h._owner,k=ht(h.type,h._source,y?y.type:null);on.setExtraStackFrame(k)}else on.setExtraStackFrame(null)}var Rt;Rt=!1;function Dt(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function Bt(){{if(vt.current){var h=te(vt.current.type);if(h)return`
|
|
83
121
|
|
|
84
|
-
Check the render method of \``+h+"`."}return""}}function
|
|
122
|
+
Check the render method of \``+h+"`."}return""}}function Mn(h){return""}var ln={};function Hn(h){{var y=Bt();if(!y){var k=typeof h=="string"?h:h.displayName||h.name;k&&(y=`
|
|
85
123
|
|
|
86
|
-
Check the top-level render call using <`+k+">.")}return
|
|
124
|
+
Check the top-level render call using <`+k+">.")}return y}}function cn(h,y){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var k=Hn(y);if(ln[k])return;ln[k]=!0;var V="";h&&h._owner&&h._owner!==vt.current&&(V=" It was passed a child from "+te(h._owner.type)+"."),ut(h),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,V),ut(null)}}function fn(h,y){{if(typeof h!="object")return;if(_t(h))for(var k=0;k<h.length;k++){var V=h[k];Dt(V)&&cn(V,y)}else if(Dt(h))h._store&&(h._store.validated=!0);else if(h){var ne=S(h);if(typeof ne=="function"&&ne!==h.entries)for(var ae=ne.call(h),Z;!(Z=ae.next()).done;)Dt(Z.value)&&cn(Z.value,y)}}}function qt(h){{var y=h.type;if(y==null||typeof y=="string")return;var k;if(typeof y=="function")k=y.propTypes;else if(typeof y=="object"&&(y.$$typeof===l||y.$$typeof===d))k=y.propTypes;else return;if(k){var V=te(y);ot(k,h.props,"prop",V,h)}else if(y.PropTypes!==void 0&&!Rt){Rt=!0;var ne=te(y);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ne||"Unknown")}typeof y.getDefaultProps=="function"&&!y.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function hn(h){{for(var y=Object.keys(h.props),k=0;k<y.length;k++){var V=y[k];if(V!=="children"&&V!=="key"){ut(h),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",V),ut(null);break}}h.ref!==null&&(ut(h),v("Invalid attribute `ref` supplied to `React.Fragment`."),ut(null))}}var en={};function dn(h,y,k,V,ne,ae){{var Z=L(h);if(!Z){var X="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(X+=" 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 Fe=Mn();Fe?X+=Fe:X+=Bt();var pe;h===null?pe="null":_t(h)?pe="array":h!==void 0&&h.$$typeof===t?(pe="<"+(te(h.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof h,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,X)}var Ee=ct(h,y,k,ne,ae);if(Ee==null)return Ee;if(Z){var ve=y.children;if(ve!==void 0)if(V)if(_t(ve)){for(var ft=0;ft<ve.length;ft++)fn(ve[ft],h);Object.freeze&&Object.freeze(ve)}else v("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 fn(ve,h)}if(Ze.call(y,"key")){var et=te(h),we=Object.keys(y).filter(function(qn){return qn!=="key"}),Vt=we.length>0?"{key: someKey, "+we.join(": ..., ")+": ...}":"{key: someKey}";if(!en[et+Vt]){var Yn=we.length>0?"{"+we.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
|
87
125
|
let props = %s;
|
|
88
126
|
<%s {...props} />
|
|
89
127
|
React keys must be passed directly to JSX without using spread:
|
|
90
128
|
let props = %s;
|
|
91
|
-
<%s key={someKey} {...props} />`,
|
|
129
|
+
<%s key={someKey} {...props} />`,Vt,et,Yn,et),en[et+Vt]=!0}}return h===r?hn(Ee):qt(Ee),Ee}}function Un(h,y,k){return dn(h,y,k,!0)}function jn(h,y,k){return dn(h,y,k,!1)}var zn=jn,Cn=Un;Or.Fragment=r,Or.jsx=zn,Or.jsxs=Cn}()),Or}process.env.NODE_ENV==="production"?Ju.exports=mT():Ju.exports=ET();var de=Ju.exports;const Re=(...e)=>e.filter(Boolean).join(" ");function ki(e){return At.forwardRef(e)}const Ol=`
|
|
92
130
|
inline-block
|
|
93
131
|
text-button
|
|
94
132
|
text-center
|
|
@@ -107,14 +145,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
107
145
|
focus:outline-wood-600
|
|
108
146
|
disabled:border-sumi-500
|
|
109
147
|
disabled:cursor-not-allowed
|
|
110
|
-
`,
|
|
148
|
+
`,bT=`
|
|
111
149
|
text-white
|
|
112
150
|
bg-blue-900
|
|
113
151
|
hover:bg-blue-1000
|
|
114
152
|
active:bg-blue-1200
|
|
115
153
|
disabled:bg-sumi-500
|
|
116
154
|
disabled:text-white
|
|
117
|
-
`,
|
|
155
|
+
`,gT=`
|
|
118
156
|
text-blue-900
|
|
119
157
|
hover:text-blue-1000
|
|
120
158
|
active:text-blue-1200
|
|
@@ -123,7 +161,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
123
161
|
active:bg-blue-300
|
|
124
162
|
disabled:text-sumi-500
|
|
125
163
|
disabled:bg-transparent
|
|
126
|
-
`,
|
|
164
|
+
`,TT=`
|
|
127
165
|
bg-transparent
|
|
128
166
|
text-blue-900
|
|
129
167
|
hover:text-blue-1000
|
|
@@ -133,7 +171,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
133
171
|
active:bg-blue-300
|
|
134
172
|
disabled:bg-transparent
|
|
135
173
|
disabled:text-sumi-500
|
|
136
|
-
`,
|
|
174
|
+
`,AT={primary:bT,secondary:gT,tertiary:TT},_T={lg:`
|
|
137
175
|
p-4
|
|
138
176
|
text-button
|
|
139
177
|
rounded-lg
|
|
@@ -157,7 +195,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
157
195
|
my-2
|
|
158
196
|
text-button-sm
|
|
159
197
|
rounded
|
|
160
|
-
`},
|
|
198
|
+
`},Fl=e=>AT[e],Pl=e=>_T[e],Ri=ki((e,t)=>{const{as:n="button",variant:r="primary",size:u="lg",className:i,children:a,...o}=e;return de.jsx(n,{className:Re(Ol,Fl(r),Pl(u),i),...o,ref:t,children:a})});Ri.displayName="Button";const Li=At.createContext({id:""}),wl=e=>{const{className:t,children:n,...r}=e,u={id:At.useId()};return de.jsx(Li.Provider,{value:u,children:de.jsx("article",{"aria-labelledby":u.id,"aria-describedby":`${u.id}-desc`,className:Re(`
|
|
161
199
|
border
|
|
162
200
|
border-solid
|
|
163
201
|
border-sumi-500
|
|
@@ -165,10 +203,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
165
203
|
sm:rounded-3xl
|
|
166
204
|
text-sumi-900
|
|
167
205
|
overflow-hidden
|
|
168
|
-
`,t),...r,children:n})})},
|
|
206
|
+
`,t),...r,children:n})})},CT=e=>{const{className:t,...n}=e;return de.jsx("img",{className:Re(`
|
|
169
207
|
object-cover
|
|
170
208
|
mb-2
|
|
171
|
-
`,t),...n})},
|
|
209
|
+
`,t),...n})},DT=e=>{const{className:t,children:n,...r}=e,u=At.useContext(Li);return de.jsx("div",{id:u.id,className:Re(`
|
|
172
210
|
text-base
|
|
173
211
|
leading-[2rem]
|
|
174
212
|
font-medium
|
|
@@ -176,76 +214,76 @@ React keys must be passed directly to JSX without using spread:
|
|
|
176
214
|
pt-2
|
|
177
215
|
last:pb-4
|
|
178
216
|
px-6
|
|
179
|
-
`,t),...r,children:n})},
|
|
217
|
+
`,t),...r,children:n})},yT=e=>{const{className:t,children:n,...r}=e,u=At.useContext(Li);return de.jsx("div",{id:`${u.id}-desc`,className:Re(`
|
|
180
218
|
text-base-sm
|
|
181
219
|
leading-[1.85rem]
|
|
182
220
|
first:pt-4
|
|
183
221
|
pt-2
|
|
184
222
|
last:pb-4
|
|
185
223
|
px-6
|
|
186
|
-
`,t),...r,children:n})},
|
|
224
|
+
`,t),...r,children:n})},xT=e=>{const{className:t,children:n,...r}=e;return de.jsx("div",{className:Re(`
|
|
187
225
|
text-base-sm
|
|
188
226
|
leading-[1.85rem]
|
|
189
227
|
first:pt-4
|
|
190
228
|
pt-2
|
|
191
229
|
last:pb-4
|
|
192
230
|
px-6
|
|
193
|
-
`,t),...r,children:n})}
|
|
231
|
+
`,t),...r,children:n})},NT=e=>{const{className:t,children:n,...r}=e;return de.jsx("code",{className:Re(`
|
|
194
232
|
bg-sumi-50
|
|
195
233
|
font-mono
|
|
196
|
-
`,t),...r,children:n})},
|
|
234
|
+
`,t),...r,children:n})},vl=`
|
|
197
235
|
text-h-med-m
|
|
198
236
|
sm:text-h-med
|
|
199
|
-
`,
|
|
237
|
+
`,IT=e=>{const{className:t,children:n,...r}=e;return de.jsx("article",{itemScope:!0,itemType:"https://schema.org/FAQPage",children:de.jsx("dl",{className:Re(`
|
|
200
238
|
flex
|
|
201
239
|
flex-col
|
|
202
240
|
gap-8
|
|
203
|
-
`,t),itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",...r,children:n})})},
|
|
241
|
+
`,t),itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",...r,children:n})})},ST=e=>{const{className:t,children:n,...r}=e;return de.jsxs("dt",{className:Re(`
|
|
204
242
|
flex
|
|
205
243
|
flex-row
|
|
206
244
|
gap-8
|
|
207
245
|
mt-8
|
|
208
|
-
`,
|
|
246
|
+
`,vl,t),itemProp:"name",...r,children:[de.jsx("span",{"aria-hidden":"true",children:"Q"}),de.jsx("span",{children:n})]})},kT=e=>{const{className:t,children:n,...r}=e;return de.jsxs("dd",{className:Re(`
|
|
209
247
|
flex
|
|
210
248
|
flex-row
|
|
211
249
|
items-start
|
|
212
250
|
gap-8
|
|
213
|
-
`,t),itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",...r,children:[
|
|
251
|
+
`,t),itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",...r,children:[de.jsx("span",{className:Re(vl,"!leading-none"),"aria-hidden":"true",children:"A"}),de.jsx("span",{itemProp:"text",children:n})]})},RT=e=>{const{className:t,children:n,...r}=e;return de.jsx("h1",{className:Re(`
|
|
214
252
|
text-h-lg-m
|
|
215
253
|
sm:text-h-lg
|
|
216
254
|
pt-[2rem]
|
|
217
255
|
sm:pt-[6.5rem]
|
|
218
|
-
`,t),...r,children:n})},
|
|
256
|
+
`,t),...r,children:n})},LT=e=>{const{className:t,children:n,...r}=e;return de.jsx("h2",{className:Re(`
|
|
219
257
|
text-h-med-m
|
|
220
258
|
sm:text-h-med
|
|
221
259
|
pt-[4rem]
|
|
222
260
|
sm:pt-[4.5rem]
|
|
223
|
-
`,t),...r,children:n})},
|
|
261
|
+
`,t),...r,children:n})},OT=e=>{const{className:t,children:n,...r}=e;return de.jsx("h3",{className:Re(`
|
|
224
262
|
text-h-sm-m
|
|
225
263
|
sm:text-h-sm
|
|
226
264
|
pt-[4rem]
|
|
227
265
|
sm:pt-[4.5rem]
|
|
228
|
-
`,t),...r,children:n})},
|
|
266
|
+
`,t),...r,children:n})},FT=e=>{const{className:t,children:n,...r}=e;return de.jsx("h4",{className:Re(`
|
|
229
267
|
text-h-xs-m
|
|
230
268
|
sm:text-h-xs
|
|
231
269
|
pt-[3.5rem]
|
|
232
270
|
sm:pt-[4.5rem]
|
|
233
|
-
`,t),...r,children:n})},
|
|
271
|
+
`,t),...r,children:n})},PT=e=>{const{className:t,children:n,...r}=e;return de.jsx("h5",{className:Re(`
|
|
234
272
|
text-h-xxs-m
|
|
235
273
|
sm:text-h-xxs
|
|
236
274
|
pt-[3rem]
|
|
237
275
|
sm:pt-[4rem]
|
|
238
|
-
`,t),...r,children:n})},
|
|
276
|
+
`,t),...r,children:n})},wT=e=>{const{className:t,children:n,...r}=e;return de.jsx("h6",{className:Re(`
|
|
239
277
|
text-h-xxs-m
|
|
240
278
|
sm:text-h-xxs
|
|
241
279
|
pt-[2.5rem]
|
|
242
280
|
sm:pt-[3.5rem]
|
|
243
|
-
`,t),...r,children:n})},
|
|
281
|
+
`,t),...r,children:n})},Zu=At.forwardRef((e,t)=>{const{className:n,icon:r,srText:u,...i}=e;return de.jsxs(de.Fragment,{children:[de.jsx("span",{"aria-hidden":"true",className:Re(`
|
|
244
282
|
inline
|
|
245
283
|
align-middle
|
|
246
284
|
font-icon
|
|
247
285
|
antialiased
|
|
248
|
-
`,n),...i,ref:t,children:r}),
|
|
286
|
+
`,n),...i,ref:t,children:r}),de.jsx("span",{className:"sr-only",children:u})]})});Zu.displayName="Icon";const vT=ki((e,t)=>{const{as:n="button",variant:r="primary",size:u="lg",iconLayout:i="left",icon:a,rounded:o,className:l,children:c,...f}=e,d=`${u==="xs"?"scale-105":"scale-125"}`,g=`
|
|
249
287
|
inline-block
|
|
250
288
|
align-middle
|
|
251
289
|
mb-1
|
|
@@ -253,7 +291,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
253
291
|
font-light
|
|
254
292
|
leading-[0px]
|
|
255
293
|
antialiased
|
|
256
|
-
`,
|
|
294
|
+
`,m=`${o?"aspect-square !rounded-full !py-0":""}`,T=!!c;return de.jsxs(n,{className:Re(Ol,Fl(r),Pl(u),m,l),...f,ref:t,children:[i==="left"&&de.jsx("span",{className:Re(g,d),"aria-hidden":T,children:a}),c&&de.jsx("span",{className:"mx-1",children:c}),i==="right"&&de.jsx("span",{className:Re(g,d),"aria-hidden":T,children:a})]})});vT.displayName="IconButton";const Oi=ki((e,t)=>{const{as:n="a",href:r,className:u,children:i,...a}=e,o=`
|
|
257
295
|
underline
|
|
258
296
|
underline-offset-[0.1875rem]
|
|
259
297
|
hover:decoration-4
|
|
@@ -267,44 +305,44 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267
305
|
focus:outline-wood-500
|
|
268
306
|
disabled:border-sumi-500
|
|
269
307
|
[overflow-wrap:anywhere]
|
|
270
|
-
`;return r!=null&&r.startsWith("http")?
|
|
308
|
+
`;return r!=null&&r.startsWith("http")?de.jsxs(n,{className:Re(l,o,u),href:r,target:"_blank",rel:"noopener noreferrer",...a,ref:t,children:[de.jsx("span",{children:i})," ",de.jsx("span",{className:Re(`
|
|
271
309
|
inline
|
|
272
310
|
align-middle
|
|
273
311
|
font-icon
|
|
274
312
|
font-light
|
|
275
313
|
antialiased
|
|
276
|
-
`),"aria-hidden":"true",children:"open_in_new"}),
|
|
314
|
+
`),"aria-hidden":"true",children:"open_in_new"}),de.jsx("span",{className:"sr-only",children:"Opens in new tab"})]}):de.jsx(n,{className:Re(l,o,u),href:r,...a,ref:t,children:i})});Oi.displayName="Link";const ei=e=>{const{className:t,children:n,...r}=e;return de.jsx("ul",{className:Re(`
|
|
277
315
|
list-disc
|
|
278
316
|
[&_&]:list-circle
|
|
279
317
|
[&_&_&]:list-square
|
|
280
318
|
pl-8
|
|
281
|
-
`,t),...r,children:n})},
|
|
319
|
+
`,t),...r,children:n})},BT=e=>{const{className:t,children:n,...r}=e;return de.jsx("ol",{className:Re(`
|
|
282
320
|
list-decimal
|
|
283
321
|
[&_&]:list-lower-latin
|
|
284
322
|
pl-8
|
|
285
|
-
`,t),...r,children:n})},
|
|
323
|
+
`,t),...r,children:n})},MT=e=>{const{className:t,children:n,...r}=e;return de.jsx("pre",{className:Re(`
|
|
286
324
|
p-4
|
|
287
325
|
bg-sumi-50
|
|
288
326
|
rounded-lg
|
|
289
327
|
whitespace-pre-wrap
|
|
290
328
|
overflow-y-scroll
|
|
291
|
-
`,t),...r,children:n})},
|
|
329
|
+
`,t),...r,children:n})},nu=`
|
|
292
330
|
border
|
|
293
331
|
border-collapse
|
|
294
332
|
border-solid-grey-420
|
|
295
|
-
`,
|
|
333
|
+
`,HT=e=>{const{className:t,children:n,...r}=e;return de.jsx("table",{className:Re(nu,t),...r,children:n})},UT=e=>{const{className:t,children:n,...r}=e;return de.jsx("caption",{className:Re("text-left",t),...r,children:n})},jT=e=>{const{className:t,children:n,...r}=e;return de.jsx("thead",{className:Re(t),...r,children:n})},zT=e=>{const{className:t,children:n,...r}=e;return de.jsx("tbody",{className:Re(t),...r,children:n})},YT=e=>{const{className:t,children:n,...r}=e;return de.jsx("th",{className:Re(`
|
|
296
334
|
p-2
|
|
297
335
|
bg-[#f8f8fb]
|
|
298
336
|
text-label
|
|
299
337
|
text-left
|
|
300
|
-
`,
|
|
338
|
+
`,nu,t),...r,children:n})},qT=e=>{const{className:t,children:n,...r}=e;return de.jsx("tr",{className:Re("",nu,t),...r,children:n})},VT=e=>{const{className:t,children:n,...r}=e;return de.jsx("td",{className:Re(`
|
|
301
339
|
p-2
|
|
302
340
|
text-label
|
|
303
|
-
`,
|
|
341
|
+
`,nu,t),...r,children:n})},$T=e=>{const{className:t,children:n,...r}=e;return de.jsx("div",{className:Re(`
|
|
304
342
|
w-full
|
|
305
343
|
overflow-x-auto
|
|
306
344
|
whitespace-nowrap
|
|
307
|
-
`,t),...r,children:n})},
|
|
345
|
+
`,t),...r,children:n})},Fi=e=>e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective",Pi=e=>e.type==="containerDirective",Bl=e=>e.type==="leafDirective",WT=e=>e.type==="textDirective";function QT(){return e=>{mt(e,Fi,function(t){if(t.type==="containerDirective"||t.type==="leafDirective"){if(t.name!=="youtube")return;const n=t.data||(t.data={}),r=t.attributes||{},u=r.id;u||console.error("Unexpected missing `id` on `youtube` directive");const a=t.children[0].value,o=r.width,l=r.height,c=r.allow||"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",f=r.referrerpolicy||"strict-origin-when-cross-origin";n.hName="iframe",n.hProperties={title:a,src:"https://www.youtube-nocookie.com/embed/"+u,width:o,height:l,frameBorder:0,allow:c,referrerpolicy:f,allowFullScreen:!0,loading:"lazy"}}})}}const ti={}.hasOwnProperty;function Ml(e,t,n){const r=n&&JT(n);function u(i,a,...o){let l=-1,c;if(i==null){c={type:"root",children:[]};const f=a;o.unshift(f)}else if(c=wo(i,t),c.tagName=c.tagName.toLowerCase(),r&&ti.call(r,c.tagName)&&(c.tagName=r[c.tagName]),GT(a))o.unshift(a);else{let f;for(f in a)ti.call(a,f)&&XT(e,c.properties,f,a[f])}for(;++l<o.length;)ni(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function GT(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const u=t[r];if(u&&typeof u=="object"){if(!Array.isArray(u))return!0;const i=u;for(const a of i)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function XT(e,t,n,r){const u=Er(e,n);let i=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?u.spaceSeparated?a=cr(r):u.commaSeparated?a=Yr(r):u.commaOrSpaceSeparated?a=cr(Yr(r).join(" ")):a=Rs(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?KT(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=Rs(u,u.property,a[i]);o[i]=l}a=o}if(u.property==="className"&&Array.isArray(t.className)){const o=a;a=t.className.concat(o)}t[u.property]=a}}function ni(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)ni(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?ni(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Rs(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Tn(n)===Tn(t)))return!0}return n}function KT(e){const t=[];let n;for(n in e)ti.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function JT(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const ZT=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Gt=Ml(Pn,"div");Ml(Kt,"g",ZT);const e2=()=>e=>{mt(e,Fi,function(t){t.data=t.data??{};const n=Gt(t.name,t.attributes||{});t.data.hName=n.tagName,t.data.hProperties=n.properties})};function t2(){return e=>{mt(e,WT,t=>{if(t.name!=="link-button")return;const n=t.data||(t.data={}),r="a";n.hName=r,t.attributes=t.attributes??{},t.attributes["data-node"]=t.name,n.hProperties=Gt(r,t.attributes).properties})}}function n2(){return e=>{mt(e,Pi,t=>{if(!t.name.startsWith("grid-cols-"))return;t.attributes=t.attributes??{},t.attributes.as==="list"&&(t.attributes.as=void 0,t.attributes["data-behavior"]="list");const n=parseInt(t.name.split("-").pop()||"1"),r={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4",5:"md:grid-cols-5",6:"md:grid-cols-6",7:"md:grid-cols-6",8:"md:grid-cols-6",9:"md:grid-cols-6",10:"md:grid-cols-6",11:"md:grid-cols-6",12:"md:grid-cols-12"};t.data=t.data??{};const u="div";t.data.hName=u,t.attributes.class=`flex flex-col md:grid ${r[n]} gap-8`,t.data.hProperties=Gt(u,t.attributes).properties})}}function r2(){return e=>{mt(e,Pi,t=>{if(t.name!=="cell")return;t.data=t.data??{};const n="div";t.data.hName=n,t.attributes=t.attributes??{},t.attributes["data-node"]=t.name,t.data.hProperties=Gt(n,t.attributes).properties,t.children.forEach(r=>{if(!Bl(r)||r.name!=="cell-img")return;r.data=r.data??{};const u="img";r.data.hName=u,r.attributes=r.attributes??{},r.attributes["data-node"]=r.name,r.data.hProperties=Gt(u,r.attributes).properties})})}}function u2(){return e=>{mt(e,Fi,t=>{if(t.type!=="containerDirective"||t.name!=="card")return;t.data=t.data??{};const n="article";t.data.hName=n,t.attributes=t.attributes??{},t.attributes["data-node"]=t.name,t.attributes.as==="link"&&(t.attributes.as=void 0,t.attributes["data-behavior"]="link",t.attributes["data-href"]=t.attributes.href||""),t.data.hProperties=Gt(n,t.attributes).properties,t.children.forEach(r=>{if(r.type!=="containerDirective")return;r.data=r.data??{};let u="div";r.name==="card-img"&&(u="img"),r.data.hName=u,r.attributes=r.attributes??{},r.attributes["data-node"]=r.name,r.data.hProperties=Gt(u,r.attributes).properties})})}}function i2(){return e=>{mt(e,Pi,t=>{if(t.name!=="faq")return;t.data=t.data??{};const n="dl";t.data.hName=n,t.data.hProperties=Gt(n,t.attributes||{}).properties,t.children.forEach(r=>{if(!Bl(r)||r.name!=="faq-q"&&r.name!=="faq-a")return;r.data=r.data??{};const u=r.name==="faq-q"?"dt":"dd";r.data.hName=u,r.data.hProperties=Gt(u,r.attributes||{}).properties})})}}const a2=()=>(e,t)=>{const n=[],r=new Rl;function u(i){const a={id:r.slug(or(i)),depth:i.depth,value:or(i)};n.push(a)}mt(e,"heading",u),t.data.fm||(t.data.fm={}),t.data.fm.headings=mc(n)},Hl=At.createContext({href:""}),s2=({href:e,className:t,children:n,...r})=>{const u=`
|
|
308
346
|
grid
|
|
309
347
|
grid-rows-subgrid
|
|
310
348
|
outline-offset-4
|
|
@@ -316,11 +354,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
316
354
|
`,i=`
|
|
317
355
|
hover:text-sea-1000
|
|
318
356
|
hover:border-sea-1000
|
|
319
|
-
`,a=e==null?void 0:e.startsWith("https://");return
|
|
357
|
+
`,a=e==null?void 0:e.startsWith("https://");return xe.jsx(Hl.Provider,{value:{href:e},children:xe.jsx("a",{className:Qt(u),href:e,target:a?"_blank":"",children:xe.jsx(wl,{className:Qt(i,t),...r,children:n})})})},o2=({className:e,children:t})=>{const{href:n}=At.useContext(Hl),r=`
|
|
320
358
|
flex
|
|
321
359
|
justify-between
|
|
322
360
|
items-center
|
|
323
|
-
`,u=n.startsWith("https://");return
|
|
361
|
+
`,u=n.startsWith("https://");return xe.jsx(DT,{className:Qt(e,r),children:n===""?t:xe.jsxs(xe.Fragment,{children:[xe.jsxs("span",{children:[t,u?xe.jsx(Zu,{className:"text-base ml-1 font-light",icon:"open_in_new"}):""]}),u?"":xe.jsx(Zu,{className:"text-base-sm !font-medium",icon:"arrow_forward"})]})})},Ul=({items:e})=>xe.jsx(xe.Fragment,{children:e.map(t=>xe.jsxs("li",{children:[xe.jsx(Oi,{href:`#${t.id}`,children:t.value}),t.children?xe.jsx(ei,{children:xe.jsx(Ul,{items:t.children})}):null]},t.id))}),l2=e=>{const{className:t,children:n,...r}=e;return xe.jsx($T,{children:xe.jsx(HT,{className:Qt(t),...r,children:n})})},c2=e=>{const{children:t,href:n,...r}=e;return r["data-node"]==="link-button"?xe.jsx(Ri,{as:"a",variant:"secondary",href:n,children:t}):xe.jsx(Oi,{href:n,...r,children:t})},f2=e=>{const{children:t,className:n,...r}=e;if(r["data-node"]==="card"){if(r["data-behavior"]==="link"){const i=r["data-href"];return xe.jsx(s2,{href:i,className:Qt(n),children:t})}return xe.jsx(wl,{className:Qt(n),children:t})}return xe.jsx("article",{className:n,...r,children:t})},h2=e=>{const{children:t,...n}=e,r=n["data-node"];return r==="card-title"?xe.jsx(o2,{children:t}):r==="card-description"?xe.jsx(yT,{children:t}):r==="card-footer"?xe.jsx(xT,{children:t}):n["data-behavior"]==="list"?xe.jsx("ul",{children:At.Children.map(t,(u,i)=>xe.jsx("li",{className:"sm:grid sm:grid-rows-subgrid",children:u},i))}):xe.jsx("div",{...n,children:t})},d2=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card-img"?xe.jsx(CT,{className:Qt("w-full aspect-[352/226]",n),...r}):r["data-node"]==="cell-img"?xe.jsx("img",{className:Qt("mb-4",n),...r}):xe.jsx("img",{className:n,...r})},p2=e=>{const{className:t,children:n,...r}=e,u=`
|
|
324
362
|
my-8
|
|
325
363
|
`;let i=`
|
|
326
364
|
aspect-video
|
|
@@ -332,8 +370,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
332
370
|
lg:aspect-auto
|
|
333
371
|
lg:w-[${e.width}px]
|
|
334
372
|
lg:h-[${e.height}px]
|
|
335
|
-
`),
|
|
373
|
+
`),xe.jsx("iframe",{className:Qt(u,i,t),...r,children:n})},m2=({children:e,showToc:t})=>{const r=(o=>Aa().use(Pa).use(a2).parse(o).children.filter(f=>f.type==="heading").filter(f=>f.depth<3).map(f=>{var d;return{depth:f.depth,title:((d=f.children[0])==null?void 0:d.value)||""}}))(e),u={...hc,components:{a:c2,article:f2,button:Ri,code:NT,dl:IT,dt:ST,dd:kT,h1:RT,h2:LT,h3:OT,h4:FT,h5:PT,h6:wT,iframe:p2,img:d2,ul:ei,ol:BT,pre:MT,table:l2,caption:UT,thead:jT,tbody:zT,th:YT,tr:qT,td:VT,div:h2}},i=o=>Aa().use(Pa).use(ep).use(Qp).use(Mm).use(e2).use(QT).use(t2).use(r2).use(u2).use(i2).use(n2).use(wm,{allowDangerousHtml:!0}).use(ug).use(mg,{target:"_blank"}).use(gg,{shift:0}).use(pT).use(sT,u).processSync(o).result;return xe.jsxs("div",{className:"py-8 flex flex-col gap-8",children:[t&&xe.jsxs("nav",{className:`
|
|
336
374
|
rounded-3xl
|
|
337
375
|
p-10
|
|
338
376
|
bg-wood-50
|
|
339
|
-
`,children:[
|
|
377
|
+
`,children:[xe.jsx("h2",{className:"mb-4 font-bold text-h-xs-m sm:text-h-xs",children:"目次"}),xe.jsx(ei,{children:xe.jsx(Ul,{items:r})})]}),i(e)]})};exports.Markdown=m2;
|