@sakura-ui/sakura-ui 0.5.0 → 0.5.2

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.
Files changed (134) hide show
  1. package/package.json +5 -5
  2. package/packages/core/package.json +1 -1
  3. package/packages/core/src/components/Card.tsx +52 -56
  4. package/packages/core/src/components/Code.tsx +6 -6
  5. package/packages/core/src/components/Faq.tsx +30 -26
  6. package/packages/core/src/components/Heading.tsx +50 -48
  7. package/packages/core/src/components/Icon.tsx +34 -34
  8. package/packages/core/src/components/LangSelector.tsx +2 -2
  9. package/packages/core/src/components/Link.tsx +13 -12
  10. package/packages/core/src/components/LinkCard.tsx +87 -76
  11. package/packages/core/src/components/List.tsx +20 -13
  12. package/packages/core/src/components/OverflowContainer.tsx +9 -9
  13. package/packages/core/src/components/PopoverMenu.tsx +2 -13
  14. package/packages/core/src/components/Pre.tsx +9 -9
  15. package/packages/core/src/components/Table.tsx +30 -25
  16. package/packages/core/src/components/index.ts +1 -0
  17. package/packages/core/src/components/styles.ts +42 -0
  18. package/packages/core/src/index.ts +2 -0
  19. package/packages/forms/.turbo/turbo-build.log +4 -4
  20. package/packages/forms/dist/index.cjs.js +13 -21
  21. package/packages/forms/dist/index.es.js +91 -99
  22. package/packages/forms/package.json +1 -1
  23. package/packages/helper/.turbo/turbo-build.log +3 -3
  24. package/packages/helper/dist/index.cjs.js +6 -14
  25. package/packages/helper/dist/index.es.js +18 -26
  26. package/packages/helper/dist/types/styles.d.ts +2 -4
  27. package/packages/helper/dist/types/styles.d.ts.map +1 -1
  28. package/packages/helper/node_modules/.bin/vitest +2 -2
  29. package/packages/helper/package.json +1 -1
  30. package/packages/helper/src/styles.ts +2 -14
  31. package/packages/markdown/.turbo/turbo-build.log +4 -4
  32. package/packages/markdown/README.md +240 -4
  33. package/packages/markdown/dist/index.cjs.js +71 -145
  34. package/packages/markdown/dist/index.es.js +2624 -16747
  35. package/packages/markdown/dist/types/components/Markdown.d.ts +15 -10
  36. package/packages/markdown/dist/types/components/Markdown.d.ts.map +1 -1
  37. package/packages/markdown/dist/types/components/index.d.ts +1 -1
  38. package/packages/markdown/dist/types/components/index.d.ts.map +1 -1
  39. package/packages/markdown/dist/types/decorate.d.ts +24 -0
  40. package/packages/markdown/dist/types/decorate.d.ts.map +1 -0
  41. package/packages/markdown/dist/types/index.d.ts +3 -1
  42. package/packages/markdown/dist/types/index.d.ts.map +1 -1
  43. package/packages/markdown/dist/types/marked/attributes.d.ts +31 -0
  44. package/packages/markdown/dist/types/marked/attributes.d.ts.map +1 -0
  45. package/packages/markdown/dist/types/marked/directives/card.d.ts +3 -0
  46. package/packages/markdown/dist/types/marked/directives/card.d.ts.map +1 -0
  47. package/packages/markdown/dist/types/marked/directives/context.d.ts +36 -0
  48. package/packages/markdown/dist/types/marked/directives/context.d.ts.map +1 -0
  49. package/packages/markdown/dist/types/marked/directives/faq.d.ts +11 -0
  50. package/packages/markdown/dist/types/marked/directives/faq.d.ts.map +1 -0
  51. package/packages/markdown/dist/types/marked/directives/grid.d.ts +9 -0
  52. package/packages/markdown/dist/types/marked/directives/grid.d.ts.map +1 -0
  53. package/packages/markdown/dist/types/marked/directives/index.d.ts +8 -0
  54. package/packages/markdown/dist/types/marked/directives/index.d.ts.map +1 -0
  55. package/packages/markdown/dist/types/marked/directives/linkButton.d.ts +6 -0
  56. package/packages/markdown/dist/types/marked/directives/linkButton.d.ts.map +1 -0
  57. package/packages/markdown/dist/types/marked/directives/youtube.d.ts +3 -0
  58. package/packages/markdown/dist/types/marked/directives/youtube.d.ts.map +1 -0
  59. package/packages/markdown/dist/types/marked/html.d.ts +15 -0
  60. package/packages/markdown/dist/types/marked/html.d.ts.map +1 -0
  61. package/packages/markdown/dist/types/marked/index.d.ts +13 -0
  62. package/packages/markdown/dist/types/marked/index.d.ts.map +1 -0
  63. package/packages/markdown/dist/types/marked/registry.d.ts +8 -0
  64. package/packages/markdown/dist/types/marked/registry.d.ts.map +1 -0
  65. package/packages/markdown/dist/types/marked/renderer.d.ts +16 -0
  66. package/packages/markdown/dist/types/marked/renderer.d.ts.map +1 -0
  67. package/packages/markdown/dist/types/marked/tokenizer.d.ts +40 -0
  68. package/packages/markdown/dist/types/marked/tokenizer.d.ts.map +1 -0
  69. package/packages/markdown/dist/types/render.d.ts +22 -0
  70. package/packages/markdown/dist/types/render.d.ts.map +1 -0
  71. package/packages/markdown/dist/types/sanitize.d.ts +11 -0
  72. package/packages/markdown/dist/types/sanitize.d.ts.map +1 -0
  73. package/packages/markdown/node_modules/.bin/marked +55 -0
  74. package/packages/markdown/package.json +6 -19
  75. package/packages/markdown/src/components/Markdown.tsx +44 -346
  76. package/packages/markdown/src/components/index.ts +1 -1
  77. package/packages/markdown/src/decorate.ts +164 -0
  78. package/packages/markdown/src/index.ts +3 -1
  79. package/packages/markdown/src/marked/attributes.ts +88 -0
  80. package/packages/markdown/src/marked/directives/card.ts +77 -0
  81. package/packages/markdown/src/marked/directives/context.ts +39 -0
  82. package/packages/markdown/src/marked/directives/faq.ts +29 -0
  83. package/packages/markdown/src/marked/directives/grid.ts +50 -0
  84. package/packages/markdown/src/marked/directives/index.ts +29 -0
  85. package/packages/markdown/src/marked/directives/linkButton.ts +20 -0
  86. package/packages/markdown/src/marked/directives/youtube.ts +46 -0
  87. package/packages/markdown/src/marked/html.ts +55 -0
  88. package/packages/markdown/src/marked/index.ts +45 -0
  89. package/packages/markdown/src/marked/registry.ts +34 -0
  90. package/packages/markdown/src/marked/renderer.ts +52 -0
  91. package/packages/markdown/src/marked/tokenizer.ts +175 -0
  92. package/packages/markdown/src/render.ts +55 -0
  93. package/packages/markdown/src/sanitize.ts +194 -0
  94. package/packages/markdown/tests/Markdown.test.tsx +122 -0
  95. package/packages/markdown/tests/__snapshots__/Markdown.test.tsx.snap +451 -0
  96. package/packages/markdown/tests/anchors.test.ts +108 -0
  97. package/packages/markdown/tests/fixtures.ts +100 -0
  98. package/packages/markdown/tests/sanitize.test.ts +168 -0
  99. package/packages/markdown/tests/server.test.tsx +51 -0
  100. package/packages/markdown/tests/vitest.setup.ts +4 -0
  101. package/packages/markdown/tsconfig.test.json +11 -0
  102. package/packages/markdown/vite.config.ts +5 -1
  103. package/packages/tailwind-theme-plugin/.turbo/turbo-build.log +1 -1
  104. package/packages/tailwind-theme-plugin/package.json +1 -1
  105. package/packages/markdown/dist/types/plugins/attr.d.ts +0 -3
  106. package/packages/markdown/dist/types/plugins/attr.d.ts.map +0 -1
  107. package/packages/markdown/dist/types/plugins/card.d.ts +0 -3
  108. package/packages/markdown/dist/types/plugins/card.d.ts.map +0 -1
  109. package/packages/markdown/dist/types/plugins/cell.d.ts +0 -3
  110. package/packages/markdown/dist/types/plugins/cell.d.ts.map +0 -1
  111. package/packages/markdown/dist/types/plugins/faq.d.ts +0 -3
  112. package/packages/markdown/dist/types/plugins/faq.d.ts.map +0 -1
  113. package/packages/markdown/dist/types/plugins/grid.d.ts +0 -3
  114. package/packages/markdown/dist/types/plugins/grid.d.ts.map +0 -1
  115. package/packages/markdown/dist/types/plugins/headings.d.ts +0 -11
  116. package/packages/markdown/dist/types/plugins/headings.d.ts.map +0 -1
  117. package/packages/markdown/dist/types/plugins/helper.d.ts +0 -9
  118. package/packages/markdown/dist/types/plugins/helper.d.ts.map +0 -1
  119. package/packages/markdown/dist/types/plugins/index.d.ts +0 -9
  120. package/packages/markdown/dist/types/plugins/index.d.ts.map +0 -1
  121. package/packages/markdown/dist/types/plugins/linkButton.d.ts +0 -3
  122. package/packages/markdown/dist/types/plugins/linkButton.d.ts.map +0 -1
  123. package/packages/markdown/dist/types/plugins/youtube.d.ts +0 -3
  124. package/packages/markdown/dist/types/plugins/youtube.d.ts.map +0 -1
  125. package/packages/markdown/src/plugins/attr.ts +0 -19
  126. package/packages/markdown/src/plugins/card.ts +0 -71
  127. package/packages/markdown/src/plugins/cell.ts +0 -47
  128. package/packages/markdown/src/plugins/faq.ts +0 -40
  129. package/packages/markdown/src/plugins/grid.ts +0 -54
  130. package/packages/markdown/src/plugins/headings.ts +0 -38
  131. package/packages/markdown/src/plugins/helper.ts +0 -27
  132. package/packages/markdown/src/plugins/index.ts +0 -8
  133. package/packages/markdown/src/plugins/linkButton.ts +0 -26
  134. package/packages/markdown/src/plugins/youtube.ts +0 -49
@@ -1,149 +1,75 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const qe=require("react"),te=require("@sakura-ui/core");function xs(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"}))}function Ar(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nn={exports:{}},Nt={};var tu;function Is(){if(tu)return Nt;tu=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,u,i){var a=null;if(i!==void 0&&(a=""+i),u.key!==void 0&&(a=""+u.key),"key"in u){i={};for(var o in u)o!=="key"&&(i[o]=u[o])}else i=u;return u=i.ref,{$$typeof:e,type:r,key:a,ref:u!==void 0?u:null,props:i}}return Nt.Fragment=t,Nt.jsx=n,Nt.jsxs=n,Nt}var St={};var nu;function ks(){return nu||(nu=1,process.env.NODE_ENV!=="production"&&(function(){function e(L){if(L==null)return null;if(typeof L=="function")return L.$$typeof===v?null:L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case k:return"Fragment";case R:return"Profiler";case D:return"StrictMode";case S:return"Suspense";case V:return"SuspenseList";case x:return"Activity"}if(typeof L=="object")switch(typeof L.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),L.$$typeof){case I:return"Portal";case U:return L.displayName||"Context";case F:return(L._context.displayName||"Context")+".Consumer";case j:var G=L.render;return L=L.displayName,L||(L=G.displayName||G.name||"",L=L!==""?"ForwardRef("+L+")":"ForwardRef"),L;case W:return G=L.displayName||null,G!==null?G:e(L.type)||"Memo";case O:G=L._payload,L=L._init;try{return e(L(G))}catch{}}return null}function t(L){return""+L}function n(L){try{t(L);var G=!1}catch{G=!0}if(G){G=console;var b=G.error,ue=typeof Symbol=="function"&&Symbol.toStringTag&&L[Symbol.toStringTag]||L.constructor.name||"Object";return b.call(G,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ue),t(L)}}function r(L){if(L===k)return"<>";if(typeof L=="object"&&L!==null&&L.$$typeof===O)return"<...>";try{var G=e(L);return G?"<"+G+">":"<...>"}catch{return"<...>"}}function u(){var L=H.A;return L===null?null:L.getOwner()}function i(){return Error("react-stack-top-frame")}function a(L){if(Y.call(L,"key")){var G=Object.getOwnPropertyDescriptor(L,"key").get;if(G&&G.isReactWarning)return!1}return L.key!==void 0}function o(L,G){function b(){Q||(Q=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",G))}b.isReactWarning=!0,Object.defineProperty(L,"key",{get:b,configurable:!0})}function l(){var L=e(this.type);return le[L]||(le[L]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),L=this.props.ref,L!==void 0?L:null}function c(L,G,b,ue,ye,ce){var se=b.ref;return L={$$typeof:g,type:L,key:G,props:b,_owner:ue},(se!==void 0?se:null)!==null?Object.defineProperty(L,"ref",{enumerable:!1,get:l}):Object.defineProperty(L,"ref",{enumerable:!1,value:null}),L._store={},Object.defineProperty(L._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(L,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(L,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ye}),Object.defineProperty(L,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ce}),Object.freeze&&(Object.freeze(L.props),Object.freeze(L)),L}function h(L,G,b,ue,ye,ce){var se=G.children;if(se!==void 0)if(ue)if(z(se)){for(ue=0;ue<se.length;ue++)f(se[ue]);Object.freeze&&Object.freeze(se)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(se);if(Y.call(G,"key")){se=e(L);var ge=Object.keys(G).filter(function(Ge){return Ge!=="key"});ue=0<ge.length?"{key: someKey, "+ge.join(": ..., ")+": ...}":"{key: someKey}",A[se+ue]||(ge=0<ge.length?"{"+ge.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("@sakura-ui/core"),St=require("react");var Tt={exports:{}},et={};var Xn;function ss(){if(Xn)return et;Xn=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(r,s,u){var l=null;if(u!==void 0&&(l=""+u),s.key!==void 0&&(l=""+s.key),"key"in s){u={};for(var o in s)o!=="key"&&(u[o]=s[o])}else u=s;return s=u.ref,{$$typeof:t,type:r,key:l,ref:s!==void 0?s:null,props:u}}return et.Fragment=e,et.jsx=n,et.jsxs=n,et}var tt={};var Vn;function is(){return Vn||(Vn=1,process.env.NODE_ENV!=="production"&&(function(){function t(f){if(f==null)return null;if(typeof f=="function")return f.$$typeof===Ye?null:f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case U:return"Fragment";case be:return"Profiler";case te:return"StrictMode";case K:return"Suspense";case ye:return"SuspenseList";case fe:return"Activity"}if(typeof f=="object")switch(typeof f.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),f.$$typeof){case G:return"Portal";case ne:return f.displayName||"Context";case ke:return(f._context.displayName||"Context")+".Consumer";case Q:var y=f.render;return f=f.displayName,f||(f=y.displayName||y.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case We:return y=f.displayName||null,y!==null?y:t(f.type)||"Memo";case M:y=f._payload,f=f._init;try{return t(f(y))}catch{}}return null}function e(f){return""+f}function n(f){try{e(f);var y=!1}catch{y=!0}if(y){y=console;var S=y.error,b=typeof Symbol=="function"&&Symbol.toStringTag&&f[Symbol.toStringTag]||f.constructor.name||"Object";return S.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",b),e(f)}}function r(f){if(f===U)return"<>";if(typeof f=="object"&&f!==null&&f.$$typeof===M)return"<...>";try{var y=t(f);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function s(){var f=ve.A;return f===null?null:f.getOwner()}function u(){return Error("react-stack-top-frame")}function l(f){if(de.call(f,"key")){var y=Object.getOwnPropertyDescriptor(f,"key").get;if(y&&y.isReactWarning)return!1}return f.key!==void 0}function o(f,y){function S(){ft||(ft=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",y))}S.isReactWarning=!0,Object.defineProperty(f,"key",{get:S,configurable:!0})}function c(){var f=t(this.type);return ht[f]||(ht[f]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),f=this.props.ref,f!==void 0?f:null}function h(f,y,S,b,Pe,Xe){var P=S.ref;return f={$$typeof:x,type:f,key:y,props:S,_owner:b},(P!==void 0?P:null)!==null?Object.defineProperty(f,"ref",{enumerable:!1,get:c}):Object.defineProperty(f,"ref",{enumerable:!1,value:null}),f._store={},Object.defineProperty(f._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(f,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(f,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.defineProperty(f,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Xe}),Object.freeze&&(Object.freeze(f.props),Object.freeze(f)),f}function g(f,y,S,b,Pe,Xe){var P=y.children;if(P!==void 0)if(b)if(pt(P)){for(b=0;b<P.length;b++)m(P[b]);Object.freeze&&Object.freeze(P)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(P);if(de.call(y,"key")){P=t(f);var De=Object.keys(y).filter(function($t){return $t!=="key"});b=0<De.length?"{key: someKey, "+De.join(": ..., ")+": ...}":"{key: someKey}",Ze[P+b]||(De=0<De.length?"{"+De.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,ue,se,ge,se),A[se+ue]=!0)}if(se=null,b!==void 0&&(n(b),se=""+b),a(G)&&(n(G.key),se=""+G.key),"key"in G){b={};for(var we in G)we!=="key"&&(b[we]=G[we])}else b=G;return se&&o(b,typeof L=="function"?L.displayName||L.name||"Unknown":L),c(L,se,b,u(),ye,ce)}function f(L){m(L)?L._store&&(L._store.validated=1):typeof L=="object"&&L!==null&&L.$$typeof===O&&(L._payload.status==="fulfilled"?m(L._payload.value)&&L._payload.value._store&&(L._payload.value._store.validated=1):L._store&&(L._store.validated=1))}function m(L){return typeof L=="object"&&L!==null&&L.$$typeof===g}var d=qe,g=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),U=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),v=Symbol.for("react.client.reference"),H=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,z=Array.isArray,C=console.createTask?console.createTask:function(){return null};d={react_stack_bottom_frame:function(L){return L()}};var Q,le={},Ae=d.react_stack_bottom_frame.bind(d,i)(),Se=C(r(i)),A={};St.Fragment=k,St.jsx=function(L,G,b){var ue=1e4>H.recentlyCreatedOwnerStacks++;return h(L,G,b,!1,ue?Error("react-stack-top-frame"):Ae,ue?C(r(L)):Se)},St.jsxs=function(L,G,b){var ue=1e4>H.recentlyCreatedOwnerStacks++;return h(L,G,b,!0,ue?Error("react-stack-top-frame"):Ae,ue?C(r(L)):Se)}})()),St}var ru;function Ns(){return ru||(ru=1,process.env.NODE_ENV==="production"?nn.exports=Is():nn.exports=ks()),nn.exports}var ne=Ns();const Ss=Ar(ne),ys=xs({__proto__:null,default:Ss},[ne]),Ls={};function jt(e,t){const n=Ls,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return bi(e,r,u)}function bi(e,t,n){if(Fs(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 uu(e.children,t,n)}return Array.isArray(e)?uu(e,t,n):""}function uu(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=bi(e[u],t,n);return r.join("")}function Fs(e){return!!(e&&typeof e=="object")}const iu=document.createElement("i");function Vt(e){const t="&"+e+";";iu.innerHTML=t;const n=iu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ne(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 Le(e,t){return e.length>0?(Ne(e,e.length,0,t),e):t}const au={}.hasOwnProperty;function gi(e){const t={};let n=-1;for(;++n<e.length;)Os(t,e[n]);return t}function Os(e,t){let n;for(n in t){const u=(au.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){au.call(u,a)||(u[a]=[]);const o=i[a];Rs(u[a],Array.isArray(o)?o:o?[o]:[])}}}function Rs(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ne(e,0,0,r)}function Ai(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 Re(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ee=et(/[A-Za-z]/),pe=et(/[\dA-Za-z]/),Ps=et(/[#-'*+\--9=?A-Z^-~]/);function dn(e){return e!==null&&(e<32||e===127)}const rr=et(/\d/),ws=et(/[\dA-Fa-f]/),Bs=et(/[!-/:-@[-`{-~]/);function q(e){return e!==null&&e<-2}function re(e){return e!==null&&(e<0||e===32)}function J(e){return e===-2||e===-1||e===32}const An=et(new RegExp("\\p{P}|\\p{S}","u")),lt=et(/\s/);function et(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function At(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&pe(e.charCodeAt(n+1))&&pe(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 K(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return J(l)?(e.enter(n),o(l)):t(l)}function o(l){return J(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const Ms={tokenize:vs};function vs(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"),K(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 q(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const Hs={tokenize:Us},su={tokenize:zs};function Us(e){const t=this,n=[];let r=0,u,i,a;return o;function o(F){if(r<n.length){const U=n[r];return t.containerState=U[1],e.attempt(U[0].continuation,l,c)(F)}return c(F)}function l(F){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&R();const U=t.events.length;let j=U,S;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){S=t.events[j][1].end;break}D(r);let V=U;for(;V<t.events.length;)t.events[V][1].end={...S},V++;return Ne(t.events,j+1,0,t.events.slice(U)),t.events.length=V,c(F)}return o(F)}function c(F){if(r===n.length){if(!u)return m(F);if(u.currentConstruct&&u.currentConstruct.concrete)return g(F);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(su,h,f)(F)}function h(F){return u&&R(),D(r),m(F)}function f(F){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,g(F)}function m(F){return t.containerState={},e.attempt(su,d,g)(F)}function d(F){return r++,n.push([t.currentConstruct,t.containerState]),m(F)}function g(F){if(F===null){u&&R(),D(0),e.consume(F);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:i}),I(F)}function I(F){if(F===null){k(e.exit("chunkFlow"),!0),D(0),e.consume(F);return}return q(F)?(e.consume(F),k(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(F),I)}function k(F,U){const j=t.sliceStream(F);if(U&&j.push(null),F.previous=i,i&&(i.next=F),i=F,u.defineSkip(F.start),u.write(j),t.parser.lazy[F.start.line]){let S=u.events.length;for(;S--;)if(u.events[S][1].start.offset<a&&(!u.events[S][1].end||u.events[S][1].end.offset>a))return;const V=t.events.length;let W=V,O,x;for(;W--;)if(t.events[W][0]==="exit"&&t.events[W][1].type==="chunkFlow"){if(O){x=t.events[W][1].end;break}O=!0}for(D(r),S=V;S<t.events.length;)t.events[S][1].end={...x},S++;Ne(t.events,W+1,0,t.events.slice(V)),t.events.length=S}}function D(F){let U=n.length;for(;U-- >F;){const j=n[U];t.containerState=j[1],j[0].exit.call(t,e)}n.length=F}function R(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function zs(e,t,n){return K(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Et(e){if(e===null||re(e)||lt(e))return 1;if(An(e))return 2}function Cn(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 ur={name:"attention",resolveAll:Ys,tokenize:qs};function Ys(e,t){let n=-1,r,u,i,a,o,l,c,h;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 f={...e[r][1].end},m={...e[n][1].start};ou(f,-l),ou(m,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},i={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},u={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Le(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Le(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=Le(c,Cn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Le(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,c=Le(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,Ne(e,r-1,n-r+3,c),n=r+c.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function qs(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=Et(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"),h=Et(l),f=!h||h===2&&u||n.includes(l),m=!u||u===2&&h||n.includes(r);return c._open=!!(i===42?f:f&&(u||!m)),c._close=!!(i===42?m:m&&(h||!f)),t(l)}}function ou(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const js={name:"autolink",tokenize:Vs};function Vs(e,t,n){let r=0;return u;function u(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(d){return Ee(d)?(e.consume(d),a):d===64?n(d):c(d)}function a(d){return d===43||d===45||d===46||pe(d)?(r=1,o(d)):c(d)}function o(d){return d===58?(e.consume(d),r=0,l):(d===43||d===45||d===46||pe(d))&&r++<32?(e.consume(d),o):(r=0,c(d))}function l(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||dn(d)?n(d):(e.consume(d),l)}function c(d){return d===64?(e.consume(d),h):Ps(d)?(e.consume(d),c):n(d)}function h(d){return pe(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,h):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):m(d)}function m(d){if((d===45||pe(d))&&r++<63){const g=d===45?m:f;return e.consume(d),g}return n(d)}}const $t={partial:!0,tokenize:Ws};function Ws(e,t,n){return r;function r(i){return J(i)?K(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||q(i)?t(i):n(i)}}const Ci={continuation:{tokenize:Gs},exit:$s,name:"blockQuote",tokenize:Qs};function Qs(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 J(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Gs(e,t,n){const r=this;return u;function u(a){return J(a)?K(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(Ci,t,n)(a)}}function $s(e){e.exit("blockQuote")}const Di={name:"characterEscape",tokenize:Xs};function Xs(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 Bs(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const _i={name:"characterReference",tokenize:Ks};function Ks(e,t,n){const r=this;let u=0,i,a;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=pe,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=ws,h):(e.enter("characterReferenceValue"),i=7,a=rr,h(f))}function h(f){if(f===59&&u){const m=e.exit("characterReferenceValue");return a===pe&&!Vt(r.sliceSerialize(m))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&u++<i?(e.consume(f),h):n(f)}}const lu={partial:!0,tokenize:Zs},cu={concrete:!0,name:"codeFenced",tokenize:Js};function Js(e,t,n){const r=this,u={partial:!0,tokenize:j};let i=0,a=0,o;return l;function l(S){return c(S)}function c(S){const V=r.events[r.events.length-1];return i=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,o=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(S)}function h(S){return S===o?(a++,e.consume(S),h):a<3?n(S):(e.exit("codeFencedFenceSequence"),J(S)?K(e,f,"whitespace")(S):f(S))}function f(S){return S===null||q(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(lu,I,U)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(S))}function m(S){return S===null||q(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):J(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),K(e,d,"whitespace")(S)):S===96&&S===o?n(S):(e.consume(S),m)}function d(S){return S===null||q(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||q(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===o?n(S):(e.consume(S),g)}function I(S){return e.attempt(u,U,k)(S)}function k(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),D}function D(S){return i>0&&J(S)?K(e,R,"linePrefix",i+1)(S):R(S)}function R(S){return S===null||q(S)?e.check(lu,I,U)(S):(e.enter("codeFlowValue"),F(S))}function F(S){return S===null||q(S)?(e.exit("codeFlowValue"),R(S)):(e.consume(S),F)}function U(S){return e.exit("codeFenced"),t(S)}function j(S,V,W){let O=0;return x;function x(C){return S.enter("lineEnding"),S.consume(C),S.exit("lineEnding"),v}function v(C){return S.enter("codeFencedFence"),J(C)?K(S,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):H(C)}function H(C){return C===o?(S.enter("codeFencedFenceSequence"),Y(C)):W(C)}function Y(C){return C===o?(O++,S.consume(C),Y):O>=a?(S.exit("codeFencedFenceSequence"),J(C)?K(S,z,"whitespace")(C):z(C)):W(C)}function z(C){return C===null||q(C)?(S.exit("codeFencedFence"),V(C)):W(C)}}}function Zs(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 Fn={name:"codeIndented",tokenize:to},eo={partial:!0,tokenize:no};function to(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),K(e,i,"linePrefix",5)(c)}function i(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):q(c)?e.attempt(eo,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||q(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function no(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):q(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):K(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):q(a)?u(a):n(a)}}const ro={name:"codeText",previous:io,resolve:uo,tokenize:ao};function uo(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 io(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ao(e,t,n){let r=0,u,i;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(i=e.enter("codeTextSequence"),u=0,h(f)):q(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||q(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),u++,h):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",c(f))}}class so{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&&yt(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),yt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),yt(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);yt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);yt(this.left,n.reverse())}}}function yt(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 xi(e){const t={};let n=-1,r,u,i,a,o,l,c;const h=new so(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.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,oo(h,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--;)if(a=h.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(u&&(h.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;u&&(r[1].end={...h.get(u)[1].start},o=h.slice(u,n),o.unshift(r),h.splice(u,n-u+1,o))}}return Ne(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function oo(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,l=[],c={};let h,f,m=-1,d=n,g=0,I=0;const k=[I];for(;d;){for(;e.get(++u)[1]!==d;);i.push(u),d._tokenizer||(h=r.sliceStream(d),d.next||h.push(null),f&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(h),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(I=m+1,k.push(I),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):k.pop(),m=k.length;m--;){const D=o.slice(k[m],k[m+1]),R=i.pop();l.push([R,R+D.length-1]),e.splice(R,2,D)}for(l.reverse(),m=-1;++m<l.length;)c[g+l[m][0]]=g+l[m][1],g+=l[m][1]-l[m][0]-1;return c}const lo={resolve:fo,tokenize:ho},co={partial:!0,tokenize:mo};function fo(e){return xi(e),e}function ho(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):q(o)?e.check(co,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 mo(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),K(e,i,"linePrefix")}function i(a){if(a===null||q(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 Ii(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(D){return D===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(D),e.exit(i),m):D===null||D===32||D===41||dn(D)?n(D):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),I(D))}function m(D){return D===62?(e.enter(i),e.consume(D),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),d(D))}function d(D){return D===62?(e.exit("chunkString"),e.exit(o),m(D)):D===null||D===60||q(D)?n(D):(e.consume(D),D===92?g:d)}function g(D){return D===60||D===62||D===92?(e.consume(D),d):d(D)}function I(D){return!h&&(D===null||D===41||re(D))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(D)):h<c&&D===40?(e.consume(D),h++,I):D===41?(e.consume(D),h--,I):D===null||D===32||D===40||dn(D)?n(D):(e.consume(D),D===92?k:I)}function k(D){return D===40||D===41||D===92?(e.consume(D),I):I(D)}}function ki(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(d){return e.enter(r),e.enter(u),e.consume(d),e.exit(u),e.enter(i),h}function h(d){return o>999||d===null||d===91||d===93&&!l||d===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):d===93?(e.exit(i),e.enter(u),e.consume(d),e.exit(u),e.exit(r),t):q(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||q(d)||o++>999?(e.exit("chunkString"),h(d)):(e.consume(d),l||(l=!J(d)),d===92?m:f)}function m(d){return d===91||d===92||d===93?(e.consume(d),o++,f):f(d)}}function Ni(e,t,n,r,u,i){let a;return o;function o(m){return m===34||m===39||m===40?(e.enter(r),e.enter(u),e.consume(m),e.exit(u),a=m===40?41:m,l):n(m)}function l(m){return m===a?(e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):(e.enter(i),c(m))}function c(m){return m===a?(e.exit(i),l(a)):m===null?n(m):q(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),K(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===a||m===null||q(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?f:h)}function f(m){return m===a||m===92?(e.consume(m),h):h(m)}}function Ve(e,t){let n;return r;function r(u){return q(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):J(u)?K(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const po={name:"definition",tokenize:To},Eo={partial:!0,tokenize:bo};function To(e,t,n){const r=this;let u;return i;function i(d){return e.enter("definition"),a(d)}function a(d){return ki.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function o(d){return u=Re(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),l):n(d)}function l(d){return re(d)?Ve(e,c)(d):c(d)}function c(d){return Ii(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function h(d){return e.attempt(Eo,f,f)(d)}function f(d){return J(d)?K(e,m,"whitespace")(d):m(d)}function m(d){return d===null||q(d)?(e.exit("definition"),r.parser.defined.push(u),t(d)):n(d)}}function bo(e,t,n){return r;function r(o){return re(o)?Ve(e,u)(o):n(o)}function u(o){return Ni(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return J(o)?K(e,a,"whitespace")(o):a(o)}function a(o){return o===null||q(o)?t(o):n(o)}}const go={name:"hardBreakEscape",tokenize:Ao};function Ao(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return q(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const Co={name:"headingAtx",resolve:Do,tokenize:_o};function Do(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"},Ne(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function _o(e,t,n){let r=0;return u;function u(h){return e.enter("atxHeading"),i(h)}function i(h){return e.enter("atxHeadingSequence"),a(h)}function a(h){return h===35&&r++<6?(e.consume(h),a):h===null||re(h)?(e.exit("atxHeadingSequence"),o(h)):n(h)}function o(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||q(h)?(e.exit("atxHeading"),t(h)):J(h)?K(e,o,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function l(h){return h===35?(e.consume(h),l):(e.exit("atxHeadingSequence"),o(h))}function c(h){return h===null||h===35||re(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const xo=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],fu=["pre","script","style","textarea"],Io={concrete:!0,name:"htmlFlow",resolveTo:So,tokenize:yo},ko={partial:!0,tokenize:Fo},No={partial:!0,tokenize:Lo};function So(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 yo(e,t,n){const r=this;let u,i,a,o,l;return c;function c(b){return h(b)}function h(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),f}function f(b){return b===33?(e.consume(b),m):b===47?(e.consume(b),i=!0,I):b===63?(e.consume(b),u=3,r.interrupt?t:A):Ee(b)?(e.consume(b),a=String.fromCharCode(b),k):n(b)}function m(b){return b===45?(e.consume(b),u=2,d):b===91?(e.consume(b),u=5,o=0,g):Ee(b)?(e.consume(b),u=4,r.interrupt?t:A):n(b)}function d(b){return b===45?(e.consume(b),r.interrupt?t:A):n(b)}function g(b){const ue="CDATA[";return b===ue.charCodeAt(o++)?(e.consume(b),o===ue.length?r.interrupt?t:H:g):n(b)}function I(b){return Ee(b)?(e.consume(b),a=String.fromCharCode(b),k):n(b)}function k(b){if(b===null||b===47||b===62||re(b)){const ue=b===47,ye=a.toLowerCase();return!ue&&!i&&fu.includes(ye)?(u=1,r.interrupt?t(b):H(b)):xo.includes(a.toLowerCase())?(u=6,ue?(e.consume(b),D):r.interrupt?t(b):H(b)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):i?R(b):F(b))}return b===45||pe(b)?(e.consume(b),a+=String.fromCharCode(b),k):n(b)}function D(b){return b===62?(e.consume(b),r.interrupt?t:H):n(b)}function R(b){return J(b)?(e.consume(b),R):x(b)}function F(b){return b===47?(e.consume(b),x):b===58||b===95||Ee(b)?(e.consume(b),U):J(b)?(e.consume(b),F):x(b)}function U(b){return b===45||b===46||b===58||b===95||pe(b)?(e.consume(b),U):j(b)}function j(b){return b===61?(e.consume(b),S):J(b)?(e.consume(b),j):F(b)}function S(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),l=b,V):J(b)?(e.consume(b),S):W(b)}function V(b){return b===l?(e.consume(b),l=null,O):b===null||q(b)?n(b):(e.consume(b),V)}function W(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||re(b)?j(b):(e.consume(b),W)}function O(b){return b===47||b===62||J(b)?F(b):n(b)}function x(b){return b===62?(e.consume(b),v):n(b)}function v(b){return b===null||q(b)?H(b):J(b)?(e.consume(b),v):n(b)}function H(b){return b===45&&u===2?(e.consume(b),Q):b===60&&u===1?(e.consume(b),le):b===62&&u===4?(e.consume(b),L):b===63&&u===3?(e.consume(b),A):b===93&&u===5?(e.consume(b),Se):q(b)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(ko,G,Y)(b)):b===null||q(b)?(e.exit("htmlFlowData"),Y(b)):(e.consume(b),H)}function Y(b){return e.check(No,z,G)(b)}function z(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),C}function C(b){return b===null||q(b)?Y(b):(e.enter("htmlFlowData"),H(b))}function Q(b){return b===45?(e.consume(b),A):H(b)}function le(b){return b===47?(e.consume(b),a="",Ae):H(b)}function Ae(b){if(b===62){const ue=a.toLowerCase();return fu.includes(ue)?(e.consume(b),L):H(b)}return Ee(b)&&a.length<8?(e.consume(b),a+=String.fromCharCode(b),Ae):H(b)}function Se(b){return b===93?(e.consume(b),A):H(b)}function A(b){return b===62?(e.consume(b),L):b===45&&u===2?(e.consume(b),A):H(b)}function L(b){return b===null||q(b)?(e.exit("htmlFlowData"),G(b)):(e.consume(b),L)}function G(b){return e.exit("htmlFlow"),t(b)}}function Lo(e,t,n){const r=this;return u;function u(a){return q(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 Fo(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt($t,t,n)}}const Oo={name:"htmlText",tokenize:Ro};function Ro(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),j):A===63?(e.consume(A),F):Ee(A)?(e.consume(A),W):n(A)}function c(A){return A===45?(e.consume(A),h):A===91?(e.consume(A),i=0,g):Ee(A)?(e.consume(A),R):n(A)}function h(A){return A===45?(e.consume(A),d):n(A)}function f(A){return A===null?n(A):A===45?(e.consume(A),m):q(A)?(a=f,le(A)):(e.consume(A),f)}function m(A){return A===45?(e.consume(A),d):f(A)}function d(A){return A===62?Q(A):A===45?m(A):f(A)}function g(A){const L="CDATA[";return A===L.charCodeAt(i++)?(e.consume(A),i===L.length?I:g):n(A)}function I(A){return A===null?n(A):A===93?(e.consume(A),k):q(A)?(a=I,le(A)):(e.consume(A),I)}function k(A){return A===93?(e.consume(A),D):I(A)}function D(A){return A===62?Q(A):A===93?(e.consume(A),D):I(A)}function R(A){return A===null||A===62?Q(A):q(A)?(a=R,le(A)):(e.consume(A),R)}function F(A){return A===null?n(A):A===63?(e.consume(A),U):q(A)?(a=F,le(A)):(e.consume(A),F)}function U(A){return A===62?Q(A):F(A)}function j(A){return Ee(A)?(e.consume(A),S):n(A)}function S(A){return A===45||pe(A)?(e.consume(A),S):V(A)}function V(A){return q(A)?(a=V,le(A)):J(A)?(e.consume(A),V):Q(A)}function W(A){return A===45||pe(A)?(e.consume(A),W):A===47||A===62||re(A)?O(A):n(A)}function O(A){return A===47?(e.consume(A),Q):A===58||A===95||Ee(A)?(e.consume(A),x):q(A)?(a=O,le(A)):J(A)?(e.consume(A),O):Q(A)}function x(A){return A===45||A===46||A===58||A===95||pe(A)?(e.consume(A),x):v(A)}function v(A){return A===61?(e.consume(A),H):q(A)?(a=v,le(A)):J(A)?(e.consume(A),v):O(A)}function H(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),u=A,Y):q(A)?(a=H,le(A)):J(A)?(e.consume(A),H):(e.consume(A),z)}function Y(A){return A===u?(e.consume(A),u=void 0,C):A===null?n(A):q(A)?(a=Y,le(A)):(e.consume(A),Y)}function z(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||re(A)?O(A):(e.consume(A),z)}function C(A){return A===47||A===62||re(A)?O(A):n(A)}function Q(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function le(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),Ae}function Ae(A){return J(A)?K(e,Se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):Se(A)}function Se(A){return e.enter("htmlTextData"),a(A)}}const Cr={name:"labelEnd",resolveAll:Mo,resolveTo:vo,tokenize:Ho},Po={tokenize:Uo},wo={tokenize:zo},Bo={tokenize:Yo};function Mo(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const u=r.type==="labelImage"?4:2;r.type="data",t+=u}}return e.length!==n.length&&Ne(e,0,e.length,n),e}function vo(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:{...e[i][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[i][1].start},end:{...e[a][1].end}},h={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=Le(o,e.slice(i+1,i+r+3)),o=Le(o,[["enter",h,t]]),o=Le(o,Cn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=Le(o,[["exit",h,t],e[a-2],e[a-1],["exit",c,t]]),o=Le(o,e.slice(a+1)),o=Le(o,[["exit",l,t]]),Ne(e,i,e.length,o),e}function Ho(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(m){return i?i._inactive?f(m):(a=r.parser.defined.includes(Re(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),l):n(m)}function l(m){return m===40?e.attempt(Po,h,a?h:f)(m):m===91?e.attempt(wo,h,a?c:f)(m):a?h(m):f(m)}function c(m){return e.attempt(Bo,h,f)(m)}function h(m){return t(m)}function f(m){return i._balanced=!0,n(m)}}function Uo(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),u}function u(f){return re(f)?Ve(e,i)(f):i(f)}function i(f){return f===41?h(f):Ii(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return re(f)?Ve(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Ni(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return re(f)?Ve(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function zo(e,t,n){const r=this;return u;function u(o){return ki.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(Re(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function Yo(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 qo={name:"labelStartImage",resolveAll:Cr.resolveAll,tokenize:jo};function jo(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 Vo={name:"labelStartLink",resolveAll:Cr.resolveAll,tokenize:Wo};function Wo(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 On={name:"lineEnding",tokenize:Qo};function Qo(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),K(e,t,"linePrefix")}}const cn={name:"thematicBreak",tokenize:Go};function Go(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||q(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),J(c)?K(e,o,"whitespace")(c):o(c))}}const De={continuation:{tokenize:Jo},exit:el,name:"list",tokenize:Ko},$o={partial:!0,tokenize:tl},Xo={partial:!0,tokenize:Zo};function Ko(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(d){const g=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:rr(d)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(cn,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(d)}return n(d)}function l(d){return rr(d)&&++a<10?(e.consume(d),l):(!r.interrupt||a<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check($t,r.interrupt?n:h,e.attempt($o,m,f))}function h(d){return r.containerState.initialBlankLine=!0,i++,m(d)}function f(d){return J(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),m):n(d)}function m(d){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function Jo(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check($t,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,K(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!J(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(Xo,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,K(e,e.attempt(De,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Zo(e,t,n){const r=this;return K(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 el(e){e.exit(this.containerState.type)}function tl(e,t,n){const r=this;return K(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!J(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const hu={name:"setextUnderline",resolveTo:nl,tokenize:rl};function nl(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:{...e[r][1].start},end:{...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={...e[i][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function rl(e,t,n){const r=this;let u;return i;function i(c){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(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"),J(c)?K(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||q(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const ul={tokenize:il};function il(e){const t=this,n=e.attempt($t,r,e.attempt(this.parser.constructs.flowInitial,u,K(e,e.attempt(this.parser.constructs.flow,u,e.attempt(lo,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 al={resolveAll:yi()},sl=Si("string"),ol=Si("text");function Si(e){return{resolveAll:yi(e==="text"?ll:void 0),tokenize:t};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(h){return c(h)?i(h):o(h)}function o(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),l}function l(h){return c(h)?(n.exit("data"),i(h)):(n.consume(h),l)}function c(h){if(h===null)return!0;const f=u[h];let m=-1;if(f)for(;++m<f.length;){const d=f[m];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function yi(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 ll(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(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:r.start._bufferIndex+a,_index:r.start._index+i,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...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}const cl={42:De,43:De,45:De,48:De,49:De,50:De,51:De,52:De,53:De,54:De,55:De,56:De,57:De,62:Ci},fl={91:po},hl={[-2]:Fn,[-1]:Fn,32:Fn},dl={35:Co,42:cn,45:[hu,cn],60:Io,61:hu,95:cn,96:cu,126:cu},ml={38:_i,92:Di},pl={[-5]:On,[-4]:On,[-3]:On,33:qo,38:_i,42:ur,60:[js,Oo],91:Vo,92:[go,Di],93:Cr,95:ur,96:ro},El={null:[ur,al]},Tl={null:[42,95]},bl={null:[]},gl=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Tl,contentInitial:fl,disable:bl,document:cl,flow:dl,flowInitial:hl,insideSpan:El,string:ml,text:pl},Symbol.toStringTag,{value:"Module"}));function Al(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const u={},i=[];let a=[],o=[];const l={attempt:V(j),check:V(S),consume:R,enter:F,exit:U,interrupt:V(S,{interrupt:!0})},c={code:null,containerState:{},defineSkip:I,events:[],now:g,parser:e,previous:null,sliceSerialize:m,sliceStream:d,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function f(v){return a=Le(a,v),k(),a[a.length-1]!==null?[]:(W(t,0),c.events=Cn(i,c.events,c),c.events)}function m(v,H){return Dl(d(v),H)}function d(v){return Cl(a,v)}function g(){const{_bufferIndex:v,_index:H,line:Y,column:z,offset:C}=r;return{_bufferIndex:v,_index:H,line:Y,column:z,offset:C}}function I(v){u[v.line]=v.column,x()}function k(){let v;for(;r._index<a.length;){const H=a[r._index];if(typeof H=="string")for(v=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===v&&r._bufferIndex<H.length;)D(H.charCodeAt(r._bufferIndex));else D(H)}}function D(v){h=h(v)}function R(v){q(v)?(r.line++,r.column=1,r.offset+=v===-3?2:1,x()):v!==-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=v}function F(v,H){const Y=H||{};return Y.type=v,Y.start=g(),c.events.push(["enter",Y,c]),o.push(Y),Y}function U(v){const H=o.pop();return H.end=g(),c.events.push(["exit",H,c]),H}function j(v,H){W(v,H.from)}function S(v,H){H.restore()}function V(v,H){return Y;function Y(z,C,Q){let le,Ae,Se,A;return Array.isArray(z)?G(z):"tokenize"in z?G([z]):L(z);function L(ce){return se;function se(ge){const we=ge!==null&&ce[ge],Ge=ge!==null&&ce.null,tn=[...Array.isArray(we)?we:we?[we]:[],...Array.isArray(Ge)?Ge:Ge?[Ge]:[]];return G(tn)(ge)}}function G(ce){return le=ce,Ae=0,ce.length===0?Q:b(ce[Ae])}function b(ce){return se;function se(ge){return A=O(),Se=ce,ce.partial||(c.currentConstruct=ce),ce.name&&c.parser.constructs.disable.null.includes(ce.name)?ye():ce.tokenize.call(H?Object.assign(Object.create(c),H):c,l,ue,ye)(ge)}}function ue(ce){return v(Se,A),C}function ye(ce){return A.restore(),++Ae<le.length?b(le[Ae]):Q}}}function W(v,H){v.resolveAll&&!i.includes(v)&&i.push(v),v.resolve&&Ne(c.events,H,c.events.length-H,v.resolve(c.events.slice(H),c)),v.resolveTo&&(c.events=v.resolveTo(c.events,c))}function O(){const v=g(),H=c.previous,Y=c.currentConstruct,z=c.events.length,C=Array.from(o);return{from:z,restore:Q};function Q(){r=v,c.previous=H,c.currentConstruct=Y,c.events.length=z,o=C,x()}}function x(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function Cl(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 Dl(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=`
7
- `;break}case-3:{a=`\r
8
- `;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("")}function _l(e){const r={constructs:gi([gl,...(e||{}).extensions||[]]),content:u(Ms),defined:[],document:u(Hs),flow:u(ul),lazy:{},string:u(sl),text:u(ol)};return r;function u(i){return a;function a(o){return Al(r,i,o)}}}function xl(e){for(;!xi(e););return e}const du=/[\0\t\n\r]/g;function Il(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,h,f,m,d;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(du.lastIndex=f,c=du.exec(i),m=c&&c.index!==void 0?c.index:i.length,d=i.charCodeAt(m),!c){t=i.slice(f);break}if(d===10&&f===m&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<m&&(l.push(i.slice(f,m)),e+=m-f),d){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=m+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const kl=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Li(e){return e.replace(kl,Nl)}function Nl(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return Ai(n.slice(i?2:1),i?16:10)}return Vt(n)||e}function Mt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?mu(e.position):"start"in e||"end"in e?mu(e):"line"in e||"column"in e?ir(e):""}function ir(e){return pu(e&&e.line)+":"+pu(e&&e.column)}function mu(e){return ir(e&&e.start)+"-"+ir(e&&e.end)}function pu(e){return e&&typeof e=="number"?e:1}const Fi={}.hasOwnProperty;function Sl(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),yl(n)(xl(_l(n).document().write(Il()(e,t,!0))))}function yl(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Zr),autolinkProtocol:O,autolinkEmail:O,atxHeading:i(Xr),blockQuote:i(Ge),characterEscape:O,characterReference:O,codeFenced:i(tn),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(tn,a),codeText:i(ps,a),codeTextData:O,data:O,codeFlowValue:O,definition:i(Es),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(Ts),hardBreakEscape:i(Kr),hardBreakTrailing:i(Kr),htmlFlow:i(Jr,a),htmlFlowData:O,htmlText:i(Jr,a),htmlTextData:O,image:i(bs),label:a,link:i(Zr),listItem:i(gs),listItemValue:m,listOrdered:i(eu,f),listUnordered:i(eu),paragraph:i(As),reference:b,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Xr),strong:i(Cs),thematicBreak:i(_s)},exit:{atxHeading:l(),atxHeadingSequence:j,autolink:l(),autolinkEmail:we,autolinkProtocol:ge,blockQuote:l(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:ye,characterReferenceMarkerNumeric:ye,characterReferenceValue:ce,characterReference:se,codeFenced:l(k),codeFencedFence:I,codeFencedFenceInfo:d,codeFencedFenceMeta:g,codeFlowValue:x,codeIndented:l(D),codeText:l(C),codeTextData:x,data:x,definition:l(),definitionDestinationString:U,definitionLabelString:R,definitionTitleString:F,emphasis:l(),hardBreakEscape:l(H),hardBreakTrailing:l(H),htmlFlow:l(Y),htmlFlowData:x,htmlText:l(z),htmlTextData:x,image:l(le),label:Se,labelText:Ae,lineEnding:v,link:l(Q),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:ue,resourceDestinationString:A,resourceTitleString:L,resource:G,setextHeading:l(W),setextHeadingLineSequence:V,setextHeadingText:S,strong:l(),thematicBreak:l()}};Oi(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(y){let M={type:"root",children:[]};const X={stack:[M],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:h,data:n},ee=[];let ie=-1;for(;++ie<y.length;)if(y[ie][1].type==="listOrdered"||y[ie][1].type==="listUnordered")if(y[ie][0]==="enter")ee.push(ie);else{const Oe=ee.pop();ie=u(y,Oe,ie)}for(ie=-1;++ie<y.length;){const Oe=t[y[ie][0]];Fi.call(Oe,y[ie][1].type)&&Oe[y[ie][1].type].call(Object.assign({sliceSerialize:y[ie][2].sliceSerialize},X),y[ie][1])}if(X.tokenStack.length>0){const Oe=X.tokenStack[X.tokenStack.length-1];(Oe[1]||Eu).call(X,void 0,Oe[0])}for(M.position={start:$e(y.length>0?y[0][1].start:{line:1,column:1,offset:0}),end:$e(y.length>0?y[y.length-2][1].end:{line:1,column:1,offset:0})},ie=-1;++ie<t.transforms.length;)M=t.transforms[ie](M)||M;return M}function u(y,M,X){let ee=M-1,ie=-1,Oe=!1,nt,ze,It,kt;for(;++ee<=X;){const Ie=y[ee];switch(Ie[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ie[0]==="enter"?ie++:ie--,kt=void 0;break}case"lineEndingBlank":{Ie[0]==="enter"&&(nt&&!kt&&!ie&&!It&&(It=ee),kt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:kt=void 0}if(!ie&&Ie[0]==="enter"&&Ie[1].type==="listItemPrefix"||ie===-1&&Ie[0]==="exit"&&(Ie[1].type==="listUnordered"||Ie[1].type==="listOrdered")){if(nt){let ht=ee;for(ze=void 0;ht--;){const Ye=y[ht];if(Ye[1].type==="lineEnding"||Ye[1].type==="lineEndingBlank"){if(Ye[0]==="exit")continue;ze&&(y[ze][1].type="lineEndingBlank",Oe=!0),Ye[1].type="lineEnding",ze=ht}else if(!(Ye[1].type==="linePrefix"||Ye[1].type==="blockQuotePrefix"||Ye[1].type==="blockQuotePrefixWhitespace"||Ye[1].type==="blockQuoteMarker"||Ye[1].type==="listItemIndent"))break}It&&(!ze||It<ze)&&(nt._spread=!0),nt.end=Object.assign({},ze?y[ze][1].start:Ie[1].end),y.splice(ze||ee,0,["exit",nt,Ie[2]]),ee++,X++}if(Ie[1].type==="listItemPrefix"){const ht={type:"listItem",_spread:!1,start:Object.assign({},Ie[1].start),end:void 0};nt=ht,y.splice(ee,0,["enter",ht,Ie[2]]),ee++,X++,It=void 0,kt=!0}}}return y[M][1]._spread=Oe,X}function i(y,M){return X;function X(ee){o.call(this,y(ee),ee),M&&M.call(this,ee)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(y,M,X){this.stack[this.stack.length-1].children.push(y),this.stack.push(y),this.tokenStack.push([M,X||void 0]),y.position={start:$e(M.start),end:void 0}}function l(y){return M;function M(X){y&&y.call(this,X),c.call(this,X)}}function c(y,M){const X=this.stack.pop(),ee=this.tokenStack.pop();if(ee)ee[0].type!==y.type&&(M?M.call(this,y,ee[0]):(ee[1]||Eu).call(this,y,ee[0]));else throw new Error("Cannot close `"+y.type+"` ("+Mt({start:y.start,end:y.end})+"): it’s not open");X.position.end=$e(y.end)}function h(){return jt(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(y){if(this.data.expectingFirstListItemValue){const M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(y),10),this.data.expectingFirstListItemValue=void 0}}function d(){const y=this.resume(),M=this.stack[this.stack.length-1];M.lang=y}function g(){const y=this.resume(),M=this.stack[this.stack.length-1];M.meta=y}function I(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function D(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y.replace(/(\r?\n|\r)$/g,"")}function R(y){const M=this.resume(),X=this.stack[this.stack.length-1];X.label=M,X.identifier=Re(this.sliceSerialize(y)).toLowerCase()}function F(){const y=this.resume(),M=this.stack[this.stack.length-1];M.title=y}function U(){const y=this.resume(),M=this.stack[this.stack.length-1];M.url=y}function j(y){const M=this.stack[this.stack.length-1];if(!M.depth){const X=this.sliceSerialize(y).length;M.depth=X}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function V(y){const M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(y).codePointAt(0)===61?1:2}function W(){this.data.setextHeadingSlurpLineEnding=void 0}function O(y){const X=this.stack[this.stack.length-1].children;let ee=X[X.length-1];(!ee||ee.type!=="text")&&(ee=Ds(),ee.position={start:$e(y.start),end:void 0},X.push(ee)),this.stack.push(ee)}function x(y){const M=this.stack.pop();M.value+=this.sliceSerialize(y),M.position.end=$e(y.end)}function v(y){const M=this.stack[this.stack.length-1];if(this.data.atHardBreak){const X=M.children[M.children.length-1];X.position.end=$e(y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(M.type)&&(O.call(this,y),x.call(this,y))}function H(){this.data.atHardBreak=!0}function Y(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y}function z(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y}function C(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y}function Q(){const y=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";y.type+="Reference",y.referenceType=M,delete y.url,delete y.title}else delete y.identifier,delete y.label;this.data.referenceType=void 0}function le(){const y=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";y.type+="Reference",y.referenceType=M,delete y.url,delete y.title}else delete y.identifier,delete y.label;this.data.referenceType=void 0}function Ae(y){const M=this.sliceSerialize(y),X=this.stack[this.stack.length-2];X.label=Li(M),X.identifier=Re(M).toLowerCase()}function Se(){const y=this.stack[this.stack.length-1],M=this.resume(),X=this.stack[this.stack.length-1];if(this.data.inReference=!0,X.type==="link"){const ee=y.children;X.children=ee}else X.alt=M}function A(){const y=this.resume(),M=this.stack[this.stack.length-1];M.url=y}function L(){const y=this.resume(),M=this.stack[this.stack.length-1];M.title=y}function G(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function ue(y){const M=this.resume(),X=this.stack[this.stack.length-1];X.label=M,X.identifier=Re(this.sliceSerialize(y)).toLowerCase(),this.data.referenceType="full"}function ye(y){this.data.characterReferenceType=y.type}function ce(y){const M=this.sliceSerialize(y),X=this.data.characterReferenceType;let ee;X?(ee=Ai(M,X==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ee=Vt(M);const ie=this.stack[this.stack.length-1];ie.value+=ee}function se(y){const M=this.stack.pop();M.position.end=$e(y.end)}function ge(y){x.call(this,y);const M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(y)}function we(y){x.call(this,y);const M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(y)}function Ge(){return{type:"blockquote",children:[]}}function tn(){return{type:"code",lang:null,meta:null,value:""}}function ps(){return{type:"inlineCode",value:""}}function Es(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ts(){return{type:"emphasis",children:[]}}function Xr(){return{type:"heading",depth:0,children:[]}}function Kr(){return{type:"break"}}function Jr(){return{type:"html",value:""}}function bs(){return{type:"image",title:null,url:"",alt:null}}function Zr(){return{type:"link",title:null,url:"",children:[]}}function eu(y){return{type:"list",ordered:y.type==="listOrdered",start:null,spread:y._spread,children:[]}}function gs(y){return{type:"listItem",spread:y._spread,checked:null,children:[]}}function As(){return{type:"paragraph",children:[]}}function Cs(){return{type:"strong",children:[]}}function Ds(){return{type:"text",value:""}}function _s(){return{type:"thematicBreak"}}}function $e(e){return{line:e.line,column:e.column,offset:e.offset}}function Oi(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Oi(e,r):Ll(e,r)}}function Ll(e,t){let n;for(n in t)if(Fi.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 Eu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Mt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Mt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Mt({start:t.start,end:t.end})+") is still open")}function Ri(e){const t=this;t.parser=n;function n(r){return Sl(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Tu={}.hasOwnProperty;function Dr(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Tu.call(u,e)){const l=String(u[e]);a=Tu.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}const Fl={}.hasOwnProperty;function Pi(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Pi(e,t.extensions[n]);for(r in t)if(Fl.call(t,r))switch(r){case"extensions":break;case"unsafe":{bu(e[r],t[r]);break}case"join":{bu(e[r],t[r]);break}case"handlers":{Ol(e[r],t[r]);break}default:e.options[r]=t[r]}return e}function bu(e,t){t&&e.push(...t)}function Ol(e,t){t&&Object.assign(e,t)}function Rl(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()),Pl);return u(),a}function Pl(e,t,n){return">"+(n?"":" ")+e}function wi(e,t){return gu(e,t.inConstruct,!0)&&!gu(e,t.notInConstruct,!1)}function gu(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 Au(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
9
- `&&wi(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
10
- `}function wl(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 ar(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 Bl(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 Ml(e,t,n,r){const u=Bl(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(ar(e,n)){const f=n.enter("codeIndented"),m=n.indentLines(i,vl);return f(),m}const o=n.createTracker(r),l=u.repeat(Math.max(wl(i,u)+1,3)),c=n.enter("codeFenced");let h=o.move(l);if(e.lang){const f=n.enter(`codeFencedLang${a}`);h+=o.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);h+=o.move(" "),h+=o.move(n.safe(e.meta,{before:h,after:`
11
- `,encode:["`"],...o.current()})),f()}return h+=o.move(`
12
- `),i&&(h+=o.move(i+`
13
- `)),h+=o.move(l),c(),h}function vl(e,t,n){return(n?"":" ")+e}function _r(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 Hl(e,t,n,r){const u=_r(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?" ":`
14
- `,...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 Ul(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ze(e){return"&#x"+e.toString(16).toUpperCase()+";"}function mn(e,t,n){const r=Et(e),u=Et(t);return r===void 0?u===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Bi.peek=zl;function Bi(e,t,n,r){const u=Ul(n),i=n.enter("emphasis"),a=n.createTracker(r),o=a.move(u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=mn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Ze(c)+l.slice(1));const f=l.charCodeAt(l.length-1),m=mn(r.after.charCodeAt(0),f,u);m.inside&&(l=l.slice(0,-1)+Ze(f));const d=a.move(u);return i(),n.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},o+l+d}function zl(e,t,n){return n.options.emphasis||"*"}const Dn=(function(e){if(e==null)return Vl;if(typeof e=="function")return _n(e);if(typeof e=="object")return Array.isArray(e)?Yl(e):ql(e);if(typeof e=="string")return jl(e);throw new Error("Expected function, string, or object as test")});function Yl(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Dn(e[n]);return _n(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function ql(e){const t=e;return _n(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function jl(e){return _n(t);function t(n){return n&&n.type===e}}function _n(e){return t;function t(n,r,u){return!!(Wl(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function Vl(){return!0}function Wl(e){return e!==null&&typeof e=="object"&&"type"in e}const Mi=[],Ql=!0,sr=!1,Gl="skip";function xr(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=Dn(u),a=r?-1:1;o(e,void 0,[])();function o(l,c,h){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(l.type+(d?"<"+d+">":""))+")"})}return m;function m(){let d=Mi,g,I,k;if((!t||i(l,c,h[h.length-1]||void 0))&&(d=$l(n(l,h)),d[0]===sr))return d;if("children"in l&&l.children){const D=l;if(D.children&&d[0]!==Gl)for(I=(r?D.children.length:-1)+a,k=h.concat(D);I>-1&&I<D.children.length;){const R=D.children[I];if(g=o(R,I,k)(),g[0]===sr)return g;I=typeof g[1]=="number"?g[1]:I+a}}return d}}}function $l(e){return Array.isArray(e)?e:typeof e=="number"?[Ql,e]:e==null?Mi:[e]}function _e(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),xr(e,i,o,u);function o(l,c){const h=c[c.length-1],f=h?h.children.indexOf(l):void 0;return a(l,f,h)}}function vi(e,t){let n=!1;return _e(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,sr}),!!((!e.depth||e.depth<3)&&jt(e)&&(t.options.setext||n))}function Xl(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(vi(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),m=n.containerPhrasing(e,{...i.current(),before:`
15
- `,after:`
16
- `});return f(),h(),m+`
17
- `+(u===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
18
- `))+1))}const a="#".repeat(u),o=n.enter("headingAtx"),l=n.enter("phrasing");i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
19
- `,...i.current()});return/^[\t ]/.test(c)&&(c=Ze(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}Hi.peek=Kl;function Hi(e){return e.value||""}function Kl(){return"<"}Ui.peek=Jl;function Ui(e,t,n,r){const u=_r(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 Jl(){return"!"}zi.peek=Zl;function zi(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 h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Zl(){return"!"}Yi.peek=ec;function Yi(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 ec(){return"`"}function qi(e,t){const n=jt(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))}ji.peek=tc;function ji(e,t,n,r){const u=_r(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(qi(e,n)){const h=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=h,f}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 tc(e,t,n){return qi(e,n)?"<":"["}Vi.peek=nc;function Vi(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 h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function nc(){return"["}function Ir(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 rc(e){const t=Ir(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 uc(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 Wi(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 ic(e,t,n,r){const u=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?uc(n):Ir(n);const o=e.ordered?a==="."?")":".":rc(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&h&&(!h.children||!h.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),Wi(n)===a&&h){let f=-1;for(;++f<e.children.length;){const m=e.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.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 ac(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 sc(e,t,n,r){const u=ac(n);let i=n.bulletCurrent||Ir(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()),h);return l(),c;function h(f,m,d){return m?(d?"":" ".repeat(a))+f:(d?i:i+" ".repeat(a-i.length))+f}}function oc(e,t,n,r){const u=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),u(),a}const lc=Dn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function cc(e,t,n,r){return(e.children.some(function(a){return lc(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function fc(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Qi.peek=hc;function Qi(e,t,n,r){const u=fc(n),i=n.enter("strong"),a=n.createTracker(r),o=a.move(u+u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=mn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Ze(c)+l.slice(1));const f=l.charCodeAt(l.length-1),m=mn(r.after.charCodeAt(0),f,u);m.inside&&(l=l.slice(0,-1)+Ze(f));const d=a.move(u+u);return i(),n.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},o+l+d}function hc(e,t,n){return n.options.strong||"*"}function dc(e,t,n,r){return n.safe(e.value,r)}function mc(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 pc(e,t,n){const r=(Wi(n)+(n.options.ruleSpaces?" ":"")).repeat(mc(n));return n.options.ruleSpaces?r.slice(0,-1):r}const kr={blockquote:Rl,break:Au,code:Ml,definition:Hl,emphasis:Bi,hardBreak:Au,heading:Xl,html:Hi,image:Ui,imageReference:zi,inlineCode:Yi,link:ji,linkReference:Vi,list:ic,listItem:sc,paragraph:oc,root:cc,strong:Qi,text:dc,thematicBreak:pc},Ec=[Tc];function Tc(e,t,n,r){if(t.type==="code"&&ar(t,r)&&(e.type==="list"||e.type===t.type&&ar(e,r)))return!1;if("spread"in n&&typeof n.spread=="boolean")return e.type==="paragraph"&&(e.type===t.type||t.type==="definition"||t.type==="heading"&&vi(t,r))?void 0:n.spread?1:0}const rt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],bc=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:`
20
- `,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:rt},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r
21
- ]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r
22
- *])`},{character:"*",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"+",after:`(?:[ \r
23
- ])`},{atBreak:!0,character:"-",after:`(?:[ \r
24
- -])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r
25
- ]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:rt},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:rt},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"~"}];function gc(e){return e.label||!e.identifier?e.label||"":Li(e.identifier)}function Ac(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Cc(e,t,n){const r=t.indexStack,u=e.children||[],i=[];let a=-1,o=n.before,l;r.push(-1);let c=t.createTracker(n);for(;++a<u.length;){const h=u[a];let f;if(r[r.length-1]=a,a+1<u.length){let g=t.handle.handlers[u[a+1].type];g&&g.peek&&(g=g.peek),f=g?g(u[a+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else f=n.after;i.length>0&&(o==="\r"||o===`
26
- `)&&h.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),o=" ",c=t.createTracker(n),c.move(i.join("")));let m=t.handle(h,e,t,{...c.current(),after:f,before:o});l&&l===m.slice(0,1)&&(m=Ze(l.charCodeAt(0))+m.slice(1));const d=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,l=void 0,d&&(i.length>0&&d.before&&o===i[i.length-1].slice(-1)&&(i[i.length-1]=i[i.length-1].slice(0,-1)+Ze(o.charCodeAt(0))),d.after&&(l=f)),c.move(m),i.push(m),o=m.slice(-1)}return r.pop(),i.join("")}function Dc(e,t,n){const r=t.indexStack,u=e.children||[],i=t.createTracker(n),a=[];let o=-1;for(r.push(-1);++o<u.length;){const l=u[o];r[r.length-1]=o,a.push(i.move(t.handle(l,e,t,{before:`
27
- `,after:`
28
- `,...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),o<u.length-1&&a.push(i.move(_c(l,u[o+1],e,t)))}return r.pop(),a.join("")}function _c(e,t,n,r){let u=r.join.length;for(;u--;){const i=r.join[u](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return`
29
- `.repeat(1+i);if(i===!1)return`
30
-
31
- <!---->
32
-
33
- `}return`
34
-
35
- `}const xc=/\r?\n|\r/g;function Ic(e,t){const n=[];let r=0,u=0,i;for(;i=xc.exec(e);)a(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,u++;return a(e.slice(r)),n.join("");function a(o){n.push(t(o,u,!o))}}function kc(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),u=[],i=[],a={};let o=-1;for(;++o<e.unsafe.length;){const h=e.unsafe[o];if(!wi(e.stack,h))continue;const f=e.compilePattern(h);let m;for(;m=f.exec(r);){const d="before"in h||!!h.atBreak,g="after"in h,I=m.index+(d?m[1].length:0);u.includes(I)?(a[I].before&&!d&&(a[I].before=!1),a[I].after&&!g&&(a[I].after=!1)):(u.push(I),a[I]={before:d,after:g})}}u.sort(Nc);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(o=-1;++o<u.length;){const h=u[o];h<l||h>=c||h+1<c&&u[o+1]===h+1&&a[h].after&&!a[h+1].before&&!a[h+1].after||u[o-1]===h-1&&a[h].before&&!a[h-1].before&&!a[h-1].after||(l!==h&&i.push(Cu(r.slice(l,h),"\\")),l=h,/[!-/:-@[-`{-~]/.test(r.charAt(h))&&(!n.encode||!n.encode.includes(r.charAt(h)))?i.push("\\"):(i.push(Ze(r.charCodeAt(h))),l++))}return i.push(Cu(r.slice(l,c),n.after)),i.join("")}function Nc(e,t){return e-t}function Cu(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],u=[],i=e+t;let a=-1,o=0,l;for(;l=n.exec(i);)r.push(l.index);for(;++a<r.length;)o!==r[a]&&u.push(e.slice(o,r[a])),u.push("\\"),o=r[a];return u.push(e.slice(o)),u.join("")}function Sc(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,u=n.line||1,i=n.column||1;return{move:l,current:a,shift:o};function a(){return{now:{line:u,column:i},lineShift:r}}function o(c){r+=c}function l(c){const h=c||"",f=h.split(/\r?\n|\r/g),m=f[f.length-1];return u+=f.length-1,i=f.length===1?i+m.length:1+m.length+r,h}}function yc(e,t){const n=t||{},r={associationId:gc,containerPhrasing:Rc,containerFlow:Pc,createTracker:Sc,compilePattern:Ac,enter:i,handlers:{...kr},handle:void 0,indentLines:Ic,indexStack:[],join:[...Ec],options:{},safe:wc,stack:[],unsafe:[...bc]};Pi(r,n),r.options.tightDefinitions&&r.join.push(Oc),r.handle=Dr("type",{invalid:Lc,unknown:Fc,handlers:r.handlers});let u=r.handle(e,void 0,r,{before:`
36
- `,after:`
37
- `,now:{line:1,column:1},lineShift:0});return u&&u.charCodeAt(u.length-1)!==10&&u.charCodeAt(u.length-1)!==13&&(u+=`
38
- `),u;function i(a){return r.stack.push(a),o;function o(){r.stack.pop()}}}function Lc(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function Fc(e){const t=e;throw new Error("Cannot handle unknown node `"+t.type+"`")}function Oc(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function Rc(e,t){return Cc(e,this,t)}function Pc(e,t){return Dc(e,this,t)}function wc(e,t){return kc(this,e,t)}function Bc(e){const t=this;t.compiler=n;function n(r){return yc(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function Du(e){if(e)throw e}var Rn,_u;function Mc(){if(_u)return Rn;_u=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,u=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},i=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var h=e.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!h&&!f)return!1;var m;for(m in c);return typeof m>"u"||e.call(c,m)},a=function(c,h){n&&h.name==="__proto__"?n(c,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):c[h.name]=h.newValue},o=function(c,h){if(h==="__proto__")if(e.call(c,h)){if(r)return r(c,h).value}else return;return c[h]};return Rn=function l(){var c,h,f,m,d,g,I=arguments[0],k=1,D=arguments.length,R=!1;for(typeof I=="boolean"&&(R=I,I=arguments[1]||{},k=2),(I==null||typeof I!="object"&&typeof I!="function")&&(I={});k<D;++k)if(c=arguments[k],c!=null)for(h in c)f=o(I,h),m=o(c,h),I!==m&&(R&&m&&(i(m)||(d=u(m)))?(d?(d=!1,g=f&&u(f)?f:[]):g=f&&i(f)?f:{},a(I,{name:h,newValue:l(R,g,m)})):typeof m<"u"&&a(I,{name:h,newValue:m}));return I},Rn}var vc=Mc();const Pn=Ar(vc);function or(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 Hc(){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 h=e[++i];let f=-1;if(l){a(l);return}for(;++f<u.length;)(c[f]===null||c[f]===void 0)&&(c[f]=u[f]);u=c,h?Uc(h,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 Uc(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 h=c;if(o&&n)throw h;return u(h)}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)}}class Te 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=Mt(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=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Te.prototype.file="";Te.prototype.name="";Te.prototype.reason="";Te.prototype.message="";Te.prototype.stack="";Te.prototype.column=void 0;Te.prototype.line=void 0;Te.prototype.ancestors=void 0;Te.prototype.cause=void 0;Te.prototype.fatal=void 0;Te.prototype.place=void 0;Te.prototype.ruleId=void 0;Te.prototype.source=void 0;const Be={basename:zc,dirname:Yc,extname:qc,join:jc,sep:"/"};function zc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Xt(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 Yc(e){if(Xt(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 qc(e){Xt(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 jc(...e){let t=-1,n;for(;++t<e.length;)Xt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Vc(n)}function Vc(e){Xt(e);const t=e.codePointAt(0)===47;let n=Wc(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Wc(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 Xt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Qc={cwd:Gc};function Gc(){return"/"}function lr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function $c(e){if(typeof e=="string")e=new URL(e);else if(!lr(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 Xc(e)}function Xc(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 wn=["history","path","basename","stem","extname","dirname"];class Kc{constructor(t){let n;t?lr(t)?n={path:t}:typeof t=="string"||Jc(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Qc.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<wn.length;){const i=wn[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)wn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Be.basename(this.path):void 0}set basename(t){Mn(t,"basename"),Bn(t,"basename"),this.path=Be.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Be.dirname(this.path):void 0}set dirname(t){xu(this.basename,"dirname"),this.path=Be.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Be.extname(this.path):void 0}set extname(t){if(Bn(t,"extname"),xu(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=Be.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){lr(t)&&(t=$c(t)),Mn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Be.basename(this.path,this.extname):void 0}set stem(t){Mn(t,"stem"),Bn(t,"stem"),this.path=Be.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 Te(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 Bn(e,t){if(e&&e.includes(Be.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Be.sep+"`")}function Mn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function xu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Jc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Zc=(function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i}),e0={}.hasOwnProperty;class Nr extends Zc{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=Hc()}copy(){const t=new Nr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Pn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Un("data",this.frozen),this.namespace[t]=n,this):e0.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Un("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=rn(t),r=this.parser||this.Parser;return vn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),vn("process",this.parser||this.Parser),Hn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=rn(t),l=r.parse(o);r.run(l,o,function(h,f,m){if(h||!f||!m)return c(h);const d=f,g=r.stringify(d,m);n0(g)?m.value=g:m.result=g,c(h,m)});function c(h,f){h||!f?a(h):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),vn("processSync",this.parser||this.Parser),Hn("processSync",this.compiler||this.Compiler),this.process(t,u),ku("processSync","process",n),r;function u(i,a){n=!0,Du(i),r=a}}run(t,n,r){Iu(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=rn(n);u.run(t,l,c);function c(h,f,m){const d=f||t;h?o(h):a?a(d):r(void 0,d,m)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),ku("runSync","run",r),u;function i(a,o){Du(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=rn(n),u=this.compiler||this.Compiler;return Hn("stringify",u),Iu(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(Un("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[h,...f]=c;l(h,f)}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=Pn(!0,u.settings,c.settings))}function o(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];i(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,h){let f=-1,m=-1;for(;++f<r.length;)if(r[f][0]===c){m=f;break}if(m===-1)r.push([c,...h]);else if(h.length>0){let[d,...g]=h;const I=r[m][1];or(I)&&or(d)&&(d=Pn(!0,I,d)),r[m]=[c,d,...g]}}}}const Gi=new Nr().freeze();function vn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Hn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Un(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 Iu(e){if(!or(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ku(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function rn(e){return t0(e)?e:new Kc(e)}function t0(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function n0(e){return typeof e=="string"||r0(e)}function r0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const u0=Gi().use(Ri).use(Bc).freeze();function pn(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 i0(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function $i(e,t,n){const u=Dn((n||{}).ignore||[]),i=a0(t);let a=-1;for(;++a<i.length;)xr(e,"text",o);function o(c,h){let f=-1,m;for(;++f<h.length;){const d=h[f],g=m?m.children:void 0;if(u(d,g?g.indexOf(d):void 0,m))return;m=d}if(m)return l(c,h)}function l(c,h){const f=h[h.length-1],m=i[a][0],d=i[a][1];let g=0;const k=f.children.indexOf(c);let D=!1,R=[];m.lastIndex=0;let F=m.exec(c.value);for(;F;){const U=F.index,j={index:F.index,input:F.input,stack:[...h,c]};let S=d(...F,j);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?m.lastIndex=U+1:(g!==U&&R.push({type:"text",value:c.value.slice(g,U)}),Array.isArray(S)?R.push(...S):S&&R.push(S),g=U+F[0].length,D=!0),!m.global)break;F=m.exec(c.value)}return D?(g<c.value.length&&R.push({type:"text",value:c.value.slice(g)}),f.children.splice(k,1,...R)):R=[c],k+R.length}}function a0(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([s0(u[0]),o0(u[1])])}return t}function s0(e){return typeof e=="string"?new RegExp(i0(e),"g"):e}function o0(e){return typeof e=="function"?e:function(){return e}}const zn="phrasing",Yn=["autolink","link","image","label"];function l0(){return{transforms:[E0],enter:{literalAutolink:f0,literalAutolinkEmail:qn,literalAutolinkHttp:qn,literalAutolinkWww:qn},exit:{literalAutolink:p0,literalAutolinkEmail:m0,literalAutolinkHttp:h0,literalAutolinkWww:d0}}}function c0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zn,notInConstruct:Yn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zn,notInConstruct:Yn},{character:":",before:"[ps]",after:"\\/",inConstruct:zn,notInConstruct:Yn}]}}function f0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function qn(e){this.config.enter.autolinkProtocol.call(this,e)}function h0(e){this.config.exit.autolinkProtocol.call(this,e)}function d0(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 m0(e){this.config.exit.autolinkEmail.call(this,e)}function p0(e){this.exit(e)}function E0(e){$i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,T0],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),b0]],{ignore:["link","linkReference"]})}function T0(e,t,n,r,u){let i="";if(!Xi(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!g0(n)))return!1;const a=A0(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 b0(e,t,n,r){return!Xi(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function g0(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 A0(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=pn(e,"(");let i=pn(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 Xi(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||lt(n)||An(n))&&(!t||n!==47)}Ki.peek=y0;function C0(){this.buffer()}function D0(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function _0(){this.buffer()}function x0(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function I0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Re(this.sliceSerialize(e)).toLowerCase(),n.label=t}function k0(e){this.exit(e)}function N0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Re(this.sliceSerialize(e)).toLowerCase(),n.label=t}function S0(e){this.exit(e)}function y0(){return"["}function Ki(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),{after:"]",before:i})),o(),a(),i+=u.move("]"),i}function L0(){return{enter:{gfmFootnoteCallString:C0,gfmFootnoteCall:D0,gfmFootnoteDefinitionLabelString:_0,gfmFootnoteDefinition:x0},exit:{gfmFootnoteCallString:I0,gfmFootnoteCall:k0,gfmFootnoteDefinitionLabelString:N0,gfmFootnoteDefinition:S0}}}function F0(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Ki},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,u,i,a){const o=i.createTracker(a);let l=o.move("[^");const c=i.enter("footnoteDefinition"),h=i.enter("label");return l+=o.move(i.safe(i.associationId(r),{before:l,after:"]"})),h(),l+=o.move("]:"),r.children&&r.children.length>0&&(o.shift(4),l+=o.move((t?`
39
- `:" ")+i.indentLines(i.containerFlow(r,o.current()),t?Ji:O0))),c(),l}}function O0(e,t,n){return t===0?e:Ji(e,t,n)}function Ji(e,t,n){return(n?"":" ")+e}const R0=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Zi.peek=v0;function P0(){return{canContainEols:["delete"],enter:{strikethrough:B0},exit:{strikethrough:M0}}}function w0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:R0}],handlers:{delete:Zi}}}function B0(e){this.enter({type:"delete",children:[]},e)}function M0(e){this.exit(e)}function Zi(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 v0(){return"~"}function H0(e){return e.length}function U0(e,t){const n=t||{},r=(n.align||[]).concat(),u=n.stringLength||H0,i=[],a=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const I=[],k=[];let D=-1;for(e[h].length>c&&(c=e[h].length);++D<e[h].length;){const R=z0(e[h][D]);if(n.alignDelimiters!==!1){const F=u(R);k[D]=F,(l[D]===void 0||F>l[D])&&(l[D]=F)}I.push(R)}a[h]=I,o[h]=k}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=Nu(r[f]);else{const I=Nu(r);for(;++f<c;)i[f]=I}f=-1;const m=[],d=[];for(;++f<c;){const I=i[f];let k="",D="";I===99?(k=":",D=":"):I===108?k=":":I===114&&(D=":");let R=n.alignDelimiters===!1?1:Math.max(1,l[f]-k.length-D.length);const F=k+"-".repeat(R)+D;n.alignDelimiters!==!1&&(R=k.length+R+D.length,R>l[f]&&(l[f]=R),d[f]=R),m[f]=F}a.splice(1,0,m),o.splice(1,0,d),h=-1;const g=[];for(;++h<a.length;){const I=a[h],k=o[h];f=-1;const D=[];for(;++f<c;){const R=I[f]||"";let F="",U="";if(n.alignDelimiters!==!1){const j=l[f]-(k[f]||0),S=i[f];S===114?F=" ".repeat(j):S===99?j%2?(F=" ".repeat(j/2+.5),U=" ".repeat(j/2-.5)):(F=" ".repeat(j/2),U=F):U=" ".repeat(j)}n.delimiterStart!==!1&&!f&&D.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&R==="")&&(n.delimiterStart!==!1||f)&&D.push(" "),n.alignDelimiters!==!1&&D.push(F),D.push(R),n.alignDelimiters!==!1&&D.push(U),n.padding!==!1&&D.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&D.push("|")}g.push(n.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return g.join(`
40
- `)}function z0(e){return e==null?"":String(e)}function Nu(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Y0(){return{enter:{table:q0,tableData:Su,tableHeader:Su,tableRow:V0},exit:{codeText:W0,table:j0,tableData:jn,tableHeader:jn,tableRow:jn}}}function q0(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 j0(e){this.exit(e),this.data.inTable=void 0}function V0(e){this.enter({type:"tableRow",children:[]},e)}function jn(e){this.exit(e)}function Su(e){this.enter({type:"tableCell",children:[]},e)}function W0(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Q0));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Q0(e,t){return t==="|"?t:e}function G0(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
41
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:a,tableCell:l,tableRow:o}};function a(d,g,I,k){return c(h(d,I,k),d.align)}function o(d,g,I,k){const D=f(d,I,k),R=c([D]);return R.slice(0,R.indexOf(`
42
- `))}function l(d,g,I,k){const D=I.enter("tableCell"),R=I.enter("phrasing"),F=I.containerPhrasing(d,{...k,before:i,after:i});return R(),D(),F}function c(d,g){return U0(d,{align:g,alignDelimiters:r,padding:n,stringLength:u})}function h(d,g,I){const k=d.children;let D=-1;const R=[],F=g.enter("table");for(;++D<k.length;)R[D]=f(k[D],g,I);return F(),R}function f(d,g,I){const k=d.children;let D=-1;const R=[],F=g.enter("tableRow");for(;++D<k.length;)R[D]=l(k[D],d,g,I);return F(),R}function m(d,g,I){let k=kr.inlineCode(d,g,I);return I.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function $0(){return{exit:{taskListCheckValueChecked:yu,taskListCheckValueUnchecked:yu,paragraph:K0}}}function X0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:J0}}}function yu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function K0(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 J0(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=kr.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(h){return h+a}}function Z0(){return[l0(),L0(),P0(),Y0(),$0()]}function ef(e){return{extensions:[c0(),F0(e),w0(),G0(e),X0()]}}const tf={tokenize:of,partial:!0},ea={tokenize:lf,partial:!0},ta={tokenize:cf,partial:!0},na={tokenize:ff,partial:!0},nf={tokenize:hf,partial:!0},ra={name:"wwwAutolink",tokenize:af,previous:ia},ua={name:"protocolAutolink",tokenize:sf,previous:aa},Qe={name:"emailAutolink",tokenize:uf,previous:sa},He={};function rf(){return{text:He}}let ut=48;for(;ut<123;)He[ut]=Qe,ut++,ut===58?ut=65:ut===91&&(ut=97);He[43]=Qe;He[45]=Qe;He[46]=Qe;He[95]=Qe;He[72]=[Qe,ua];He[104]=[Qe,ua];He[87]=[Qe,ra];He[119]=[Qe,ra];function uf(e,t,n){const r=this;let u,i;return a;function a(f){return!cr(f)||!sa.call(r,r.previous)||Sr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return cr(f)?(e.consume(f),o):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(nf,h,c)(f):f===45||f===95||pe(f)?(i=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),u=!0,l}function h(f){return i&&u&&Ee(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function af(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!ia.call(r,r.previous)||Sr(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(tf,e.attempt(ea,e.attempt(ta,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function sf(e,t,n){const r=this;let u="",i=!1;return a;function a(f){return(f===72||f===104)&&aa.call(r,r.previous)&&!Sr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(Ee(f)&&u.length<5)return u+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const m=u.toLowerCase();if(m==="http"||m==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),i?c:(i=!0,l)):n(f)}function c(f){return f===null||dn(f)||re(f)||lt(f)||An(f)?n(f):e.attempt(ea,e.attempt(ta,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function of(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 lf(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(na,l,o)(c):c===null||re(c)||lt(c)||c!==45&&An(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 cf(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(na,t,i)(a):a===null||re(a)||lt(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function ff(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||re(o)||lt(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||re(o)||lt(o)?t(o):r(o)}function i(o){return Ee(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):Ee(o)?(e.consume(o),a):n(o)}}function hf(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return pe(i)?n(i):t(i)}}function ia(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||re(e)}function aa(e){return!Ee(e)}function sa(e){return!(e===47||cr(e))}function cr(e){return e===43||e===45||e===46||e===95||pe(e)}function Sr(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 df={tokenize:Cf,partial:!0};function mf(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:bf,continuation:{tokenize:gf},exit:Af}},text:{91:{name:"gfmFootnoteCall",tokenize:Tf},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pf,resolveTo:Ef}}}}function pf(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=Re(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 Ef(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 Tf(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(i>999||f===93&&!a||f===null||f===91||re(f))return n(f);if(f===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return u.includes(Re(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return re(f)||(a=!0),i++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),i++,c):c(f)}}function bf(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",h):n(g)}function h(g){if(a>999||g===93&&!o||g===null||g===91||re(g))return n(g);if(g===93){e.exit("chunkString");const I=e.exit("gfmFootnoteDefinitionLabelString");return i=Re(r.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return re(g)||(o=!0),a++,e.consume(g),g===92?f:h}function f(g){return g===91||g===92||g===93?(e.consume(g),a++,h):h(g)}function m(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),u.includes(i)||u.push(i),K(e,d,"gfmFootnoteDefinitionWhitespace")):n(g)}function d(g){return t(g)}}function gf(e,t,n){return e.check($t,t,e.attempt(df,t,n))}function Af(e){e.exit("gfmFootnoteDefinition")}function Cf(e,t,n){const r=this;return K(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 Df(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 h={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},m=[["enter",h,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",f,o]],d=o.parser.constructs.insideSpan.null;d&&Ne(m,m.length,0,Cn(d,a.slice(c+1,l),o)),Ne(m,m.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",h,o]]),Ne(a,c-1,l-c+3,m),l=c+m.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,h=this.events;let f=0;return m;function m(g){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(g):(a.enter("strikethroughSequenceTemporary"),d(g))}function d(g){const I=Et(c);if(g===126)return f>1?l(g):(a.consume(g),f++,d);if(f<2&&!n)return l(g);const k=a.exit("strikethroughSequenceTemporary"),D=Et(g);return k._open=!D||D===2&&!!I,k._close=!I||I===2&&!!D,o(g)}}}class _f{constructor(){this.map=[]}add(t,n,r){xf(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.slice()),t.length=0;let u=r.pop();for(;u;){for(const i of u)t.push(i);u=r.pop()}this.map.length=0}}function xf(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 If(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 kf(){return{flow:{null:{name:"table",tokenize:Nf,resolveAll:Sf}}}}function Nf(e,t,n){const r=this;let u=0,i=0,a;return o;function o(x){let v=r.events.length-1;for(;v>-1;){const z=r.events[v][1].type;if(z==="lineEnding"||z==="linePrefix")v--;else break}const H=v>-1?r.events[v][1].type:null,Y=H==="tableHead"||H==="tableRow"?S:l;return Y===S&&r.parser.lazy[r.now().line]?n(x):Y(x)}function l(x){return e.enter("tableHead"),e.enter("tableRow"),c(x)}function c(x){return x===124||(a=!0,i+=1),h(x)}function h(x){return x===null?n(x):q(x)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),d):n(x):J(x)?K(e,h,"whitespace")(x):(i+=1,a&&(a=!1,u+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),f(x)))}function f(x){return x===null||x===124||re(x)?(e.exit("data"),h(x)):(e.consume(x),x===92?m:f)}function m(x){return x===92||x===124?(e.consume(x),f):f(x)}function d(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(x):(e.enter("tableDelimiterRow"),a=!1,J(x)?K(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):g(x))}function g(x){return x===45||x===58?k(x):x===124?(a=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),I):j(x)}function I(x){return J(x)?K(e,k,"whitespace")(x):k(x)}function k(x){return x===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),D):x===45?(i+=1,D(x)):x===null||q(x)?U(x):j(x)}function D(x){return x===45?(e.enter("tableDelimiterFiller"),R(x)):j(x)}function R(x){return x===45?(e.consume(x),R):x===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),F):(e.exit("tableDelimiterFiller"),F(x))}function F(x){return J(x)?K(e,U,"whitespace")(x):U(x)}function U(x){return x===124?g(x):x===null||q(x)?!a||u!==i?j(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):j(x)}function j(x){return n(x)}function S(x){return e.enter("tableRow"),V(x)}function V(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),V):x===null||q(x)?(e.exit("tableRow"),t(x)):J(x)?K(e,V,"whitespace")(x):(e.enter("data"),W(x))}function W(x){return x===null||x===124||re(x)?(e.exit("data"),V(x)):(e.consume(x),x===92?O:W)}function O(x){return x===92||x===124?(e.consume(x),W):W(x)}}function Sf(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,h,f;const m=new _f;for(;++n<e.length;){const d=e[n],g=d[1];d[0]==="enter"?g.type==="tableHead"?(o=!1,l!==0&&(Lu(m,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",h,t]])),u=g.type==="tableDelimiterRow"?2:h?3:1):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=un(m,t,i,u,void 0,f),i=[0,0,0,0]),a[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=un(m,t,i,u,void 0,f)),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],f=un(m,t,i,u,n,f)):a[1]!==0&&(f=un(m,t,a,u,n,f)),u=0):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Lu(m,t,l,c,h),m.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=If(t.events,n))}return e}function un(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},mt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=mt(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=mt(t.events,n[2]),h=mt(t.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const m=t.events[n[2]],d=t.events[n[3]];if(m[1].end=Object.assign({},d[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,I=n[3]-n[2]-1;e.add(g,I,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return u!==void 0&&(i.end=Object.assign({},mt(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function Lu(e,t,n,r,u){const i=[],a=mt(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 mt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const yf={name:"tasklistCheck",tokenize:Ff};function Lf(){return{text:{91:yf}}}function Ff(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 re(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 q(l)?t(l):J(l)?e.check({tokenize:Of},t,n)(l):n(l)}}function Of(e,t,n){return K(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function Rf(e){return gi([rf(),mf(),Df(e),kf(),Lf()])}const Pf={};function wf(e){const t=this,n=e||Pf,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(Rf(n)),i.push(Z0()),a.push(ef(n))}const Bf=["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"],Fu={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 oa(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Mf(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function vf(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Ou(e){return vf(e)||oa(e)}const Hf=["","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 yr(e,t){const n=t||{},r=typeof n.additional=="string"?n.additional.charCodeAt(0):n.additional,u=[];let i=0,a=-1,o="",l,c;n.position&&("start"in n.position||"indent"in n.position?(c=n.position.indent,l=n.position.start):l=n.position);let h=(l?l.line:0)||1,f=(l?l.column:0)||1,m=g(),d;for(i--;++i<=e.length;)if(d===10&&(f=(c?c[a]:0)||1),d=e.charCodeAt(i),d===38){const D=e.charCodeAt(i+1);if(D===9||D===10||D===12||D===32||D===38||D===60||Number.isNaN(D)||r&&D===r){o+=String.fromCharCode(d),f++;continue}const R=i+1;let F=R,U=R,j;if(D===35){U=++F;const Y=e.charCodeAt(U);Y===88||Y===120?(j="hexadecimal",U=++F):j="decimal"}else j="named";let S="",V="",W="";const O=j==="named"?Ou:j==="decimal"?oa:Mf;for(U--;++U<=e.length;){const Y=e.charCodeAt(U);if(!O(Y))break;W+=String.fromCharCode(Y),j==="named"&&Bf.includes(W)&&(S=W,V=Vt(W))}let x=e.charCodeAt(U)===59;if(x){U++;const Y=j==="named"?Vt(W):!1;Y&&(S=W,V=Y)}let v=1+U-R,H="";if(!(!x&&n.nonTerminated===!1))if(!W)j!=="named"&&I(4,v);else if(j==="named"){if(x&&!V)I(5,1);else if(S!==W&&(U=F+S.length,v=1+U-F,x=!1),!x){const Y=S?1:3;if(n.attribute){const z=e.charCodeAt(U);z===61?(I(Y,v),V=""):Ou(z)?V="":I(Y,v)}else I(Y,v)}H=V}else{x||I(2,v);let Y=Number.parseInt(W,j==="hexadecimal"?16:10);if(Uf(Y))I(7,v),H="�";else if(Y in Fu)I(6,v),H=Fu[Y];else{let z="";zf(Y)&&I(6,v),Y>65535&&(Y-=65536,z+=String.fromCharCode(Y>>>10|55296),Y=56320|Y&1023),H=z+String.fromCharCode(Y)}}if(H){k(),m=g(),i=U-1,f+=U-R+1,u.push(H);const Y=g();Y.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,H,{start:m,end:Y},e.slice(R-1,U)),m=Y}else W=e.slice(R-1,U),o+=W,f+=W.length,i=U-1}else d===10&&(h++,a++,f=0),Number.isNaN(d)?k():(o+=String.fromCharCode(d),f++);return u.join("");function g(){return{line:h,column:f,offset:i+((l?l.offset:0)||0)}}function I(D,R){let F;n.warning&&(F=g(),F.column+=R,F.offset+=R,n.warning.call(n.warningContext||void 0,Hf[D],F,D))}function k(){o&&(u.push(o),n.text&&n.text.call(n.textContext||void 0,o,{start:m,end:g()}),o="")}}function Uf(e){return e>=55296&&e<=57343||e>1114111}function zf(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 Yf=/["&'<>`]/g,qf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jf=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Vf=/[|\\{}()[\]^$+*?.]/g,Ru=new WeakMap;function Wf(e,t){if(e=e.replace(t.subset?Qf(t.subset):Yf,r),t.subset||t.escapeOnly)return e;return e.replace(qf,n).replace(jf,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 Qf(e){let t=Ru.get(e);return t||(t=Gf(e),Ru.set(e,t)),t}function Gf(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Vf,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function $f(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Xf(e,t){return Wf(e,Object.assign({format:$f},t))}const Kf={}.hasOwnProperty,Jf={},Pu=/^[^\t\n\r "#'.<=>`}]+$/,Zf=/^[^\t\n\r "'<=>`}]+$/;function eh(){return{canContainEols:["textDirective"],enter:{directiveContainer:nh,directiveContainerAttributes:Wn,directiveContainerLabel:ih,directiveLeaf:rh,directiveLeafAttributes:Wn,directiveText:uh,directiveTextAttributes:Wn},exit:{directiveContainer:Jn,directiveContainerAttributeClassValue:Gn,directiveContainerAttributeIdValue:Qn,directiveContainerAttributeName:Xn,directiveContainerAttributeValue:$n,directiveContainerAttributes:Kn,directiveContainerLabel:ah,directiveContainerName:Vn,directiveLeaf:Jn,directiveLeafAttributeClassValue:Gn,directiveLeafAttributeIdValue:Qn,directiveLeafAttributeName:Xn,directiveLeafAttributeValue:$n,directiveLeafAttributes:Kn,directiveLeafName:Vn,directiveText:Jn,directiveTextAttributeClassValue:Gn,directiveTextAttributeIdValue:Qn,directiveTextAttributeName:Xn,directiveTextAttributeValue:$n,directiveTextAttributes:Kn,directiveTextName:Vn}}}function th(e){const t=Jf;if(t.quote!=='"'&&t.quote!=="'"&&t.quote!==null&&t.quote!==void 0)throw new Error("Invalid quote `"+t.quote+"`, expected `'` or `\"`");return n.peek=sh,{handlers:{containerDirective:n,leafDirective:n,textDirective:n},unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
43
- `,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}]};function n(i,a,o,l){const c=o.createTracker(l),h=oh(i),f=o.enter(i.type);let m=c.move(h+(i.name||"")),d;if(i.type==="containerDirective"){const g=(i.children||[])[0];d=wu(g)?g:void 0}else d=i;if(d&&d.children&&d.children.length>0){const g=o.enter("label"),I=`${i.type}Label`,k=o.enter(I);m+=c.move("["),m+=c.move(o.containerPhrasing(d,{...c.current(),before:m,after:"]"})),m+=c.move("]"),k(),g()}if(m+=c.move(r(i,o)),i.type==="containerDirective"){const g=(i.children||[])[0];let I=i;wu(g)&&(I=Object.assign({},i,{children:i.children.slice(1)})),I&&I.children&&I.children.length>0&&(m+=c.move(`
44
- `),m+=c.move(o.containerFlow(I,c.current()))),m+=c.move(`
45
- `+h)}return f(),m}function r(i,a){const o=i.attributes||{},l=[];let c,h,f,m;for(m in o)if(Kf.call(o,m)&&o[m]!==void 0&&o[m]!==null){const d=String(o[m]);if(m==="id")f=t.preferShortcut!==!1&&Pu.test(d)?"#"+d:u("id",d,i,a);else if(m==="class"){const g=d.split(/[\t\n\r ]+/g),I=[],k=[];let D=-1;for(;++D<g.length;)(t.preferShortcut!==!1&&Pu.test(g[D])?k:I).push(g[D]);c=I.length>0?u("class",I.join(" "),i,a):"",h=k.length>0?"."+k.join("."):""}else l.push(u(m,d,i,a))}return c&&l.unshift(c),h&&l.unshift(h),f&&l.unshift(f),l.length>0?"{"+l.join(" ")+"}":""}function u(i,a,o,l){if(t.collapseEmptyAttributes!==!1&&!a)return i;if(t.preferUnquoted&&Zf.test(a))return i+"="+a;const c=t.quote||l.options.quote||'"',h=c==='"'?"'":'"',f=t.quoteSmart&&pn(a,c)>pn(a,h)?h:c,m=o.type==="textDirective"?[f]:[f,`
46
- `,"\r"];return i+"="+f+Xf(a,{subset:m})+f}}function nh(e){Lr.call(this,"containerDirective",e)}function rh(e){Lr.call(this,"leafDirective",e)}function uh(e){Lr.call(this,"textDirective",e)}function Lr(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function Vn(e){const t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function ih(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function ah(e){this.exit(e)}function Wn(){this.data.directiveAttributes=[],this.buffer()}function Qn(e){this.data.directiveAttributes.push(["id",yr(this.sliceSerialize(e),{attribute:!0})])}function Gn(e){this.data.directiveAttributes.push(["class",yr(this.sliceSerialize(e),{attribute:!0})])}function $n(e){const t=this.data.directiveAttributes;t[t.length-1][1]=yr(this.sliceSerialize(e),{attribute:!0})}function Xn(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function Kn(){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 Jn(e){this.exit(e)}function sh(){return":"}function wu(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function oh(e){let t=0;return e.type==="containerDirective"?(xr(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 Fr(e,t,n,r,u,i,a,o,l,c,h,f,m,d,g){let I,k;return D;function D(C){return e.enter(r),e.enter(u),e.consume(C),e.exit(u),R}function R(C){return C===35?(I=a,F(C)):C===46?(I=o,F(C)):C===58||C===95||Ee(C)?(e.enter(i),e.enter(l),e.consume(C),S):g&&J(C)?K(e,R,"whitespace")(C):!g&&re(C)?Ve(e,R)(C):z(C)}function F(C){const Q=I+"Marker";return e.enter(i),e.enter(I),e.enter(Q),e.consume(C),e.exit(Q),U}function U(C){if(C===null||C===34||C===35||C===39||C===46||C===60||C===61||C===62||C===96||C===125||re(C))return n(C);const Q=I+"Value";return e.enter(Q),e.consume(C),j}function j(C){if(C===null||C===34||C===39||C===60||C===61||C===62||C===96)return n(C);if(C===35||C===46||C===125||re(C)){const Q=I+"Value";return e.exit(Q),e.exit(I),e.exit(i),R(C)}return e.consume(C),j}function S(C){return C===45||C===46||C===58||C===95||pe(C)?(e.consume(C),S):(e.exit(l),g&&J(C)?K(e,V,"whitespace")(C):!g&&re(C)?Ve(e,V)(C):V(C))}function V(C){return C===61?(e.enter(c),e.consume(C),e.exit(c),W):(e.exit(i),R(C))}function W(C){return C===null||C===60||C===61||C===62||C===96||C===125||g&&q(C)?n(C):C===34||C===39?(e.enter(h),e.enter(m),e.consume(C),e.exit(m),k=C,x):g&&J(C)?K(e,W,"whitespace")(C):!g&&re(C)?Ve(e,W)(C):(e.enter(f),e.enter(d),e.consume(C),k=void 0,O)}function O(C){return C===null||C===34||C===39||C===60||C===61||C===62||C===96?n(C):C===125||re(C)?(e.exit(d),e.exit(f),e.exit(i),R(C)):(e.consume(C),O)}function x(C){return C===k?(e.enter(m),e.consume(C),e.exit(m),e.exit(h),e.exit(i),Y):(e.enter(f),v(C))}function v(C){return C===k?(e.exit(f),x(C)):C===null?n(C):q(C)?g?n(C):Ve(e,v)(C):(e.enter(d),e.consume(C),H)}function H(C){return C===k||C===null||q(C)?(e.exit(d),v(C)):(e.consume(C),H)}function Y(C){return C===125||re(C)?R(C):z(C)}function z(C){return C===125?(e.enter(u),e.consume(C),e.exit(u),e.exit(r),t):n(C)}}function Or(e,t,n,r,u,i,a){let o=0,l=0,c;return h;function h(k){return e.enter(r),e.enter(u),e.consume(k),e.exit(u),f}function f(k){return k===93?(e.enter(u),e.consume(k),e.exit(u),e.exit(r),t):(e.enter(i),m(k))}function m(k){if(k===93&&!l)return I(k);const D=e.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=D),c=D,d(k)}function d(k){return k===null||o>999||k===91&&++l>32?n(k):k===93&&!l--?(e.exit("chunkText"),I(k)):q(k)?a?n(k):(e.consume(k),e.exit("chunkText"),m):(e.consume(k),k===92?g:d)}function g(k){return k===91||k===92||k===93?(e.consume(k),o++,d):d(k)}function I(k){return e.exit(i),e.enter(u),e.consume(k),e.exit(u),e.exit(r),t}}function Rr(e,t,n,r){const u=this;return i;function i(o){return Ee(o)?(e.enter(r),e.consume(o),a):n(o)}function a(o){return o===45||o===95||pe(o)?(e.consume(o),a):(e.exit(r),u.previous===45||u.previous===95?n(o):t(o))}}const lh={tokenize:hh,concrete:!0},ch={tokenize:dh,partial:!0},fh={tokenize:mh,partial:!0},an={tokenize:ph,partial:!0};function hh(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(O){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),c(O)}function c(O){return O===58?(e.consume(O),a++,c):a<3?n(O):(e.exit("directiveContainerSequence"),Rr.call(r,e,h,n,"directiveContainerName")(O))}function h(O){return O===91?e.attempt(ch,f,f)(O):f(O)}function f(O){return O===123?e.attempt(fh,m,m)(O):m(O)}function m(O){return K(e,d,"whitespace")(O)}function d(O){return e.exit("directiveContainerFence"),O===null?V(O):q(O)?r.interrupt?t(O):e.attempt(an,g,V)(O):n(O)}function g(O){return O===null?V(O):q(O)?e.check(an,F,V)(O):(e.enter("directiveContainerContent"),I(O))}function I(O){return e.attempt({tokenize:W,partial:!0},S,i?K(e,k,"linePrefix",i+1):k)(O)}function k(O){return O===null?S(O):q(O)?e.check(an,R,S)(O):R(O)}function D(O){if(O===null){const x=e.exit("chunkDocument");return r.parser.lazy[x.start.line]=!1,S(O)}return q(O)?e.check(an,U,j)(O):(e.consume(O),D)}function R(O){const x=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=x),o=x,D(O)}function F(O){return e.enter("directiveContainerContent"),I(O)}function U(O){e.consume(O);const x=e.exit("chunkDocument");return r.parser.lazy[x.start.line]=!1,I}function j(O){const x=e.exit("chunkDocument");return r.parser.lazy[x.start.line]=!1,S(O)}function S(O){return e.exit("directiveContainerContent"),V(O)}function V(O){return e.exit("directiveContainer"),t(O)}function W(O,x,v){let H=0;return K(O,Y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Y(Q){return O.enter("directiveContainerFence"),O.enter("directiveContainerSequence"),z(Q)}function z(Q){return Q===58?(O.consume(Q),H++,z):H<a?v(Q):(O.exit("directiveContainerSequence"),K(O,C,"whitespace")(Q))}function C(Q){return Q===null||q(Q)?(O.exit("directiveContainerFence"),x(Q)):v(Q)}}}function dh(e,t,n){return Or(e,t,n,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function mh(e,t,n){return Fr(e,t,n,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function ph(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 Eh={tokenize:gh},Th={tokenize:Ah,partial:!0},bh={tokenize:Ch,partial:!0};function gh(e,t,n){const r=this;return u;function u(h){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(h),i}function i(h){return h===58?(e.consume(h),e.exit("directiveLeafSequence"),Rr.call(r,e,a,n,"directiveLeafName")):n(h)}function a(h){return h===91?e.attempt(Th,o,o)(h):o(h)}function o(h){return h===123?e.attempt(bh,l,l)(h):l(h)}function l(h){return K(e,c,"whitespace")(h)}function c(h){return h===null||q(h)?(e.exit("directiveLeaf"),t(h)):n(h)}}function Ah(e,t,n){return Or(e,t,n,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function Ch(e,t,n){return Fr(e,t,n,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const Dh={tokenize:kh,previous:Ih},_h={tokenize:Nh,partial:!0},xh={tokenize:Sh,partial:!0};function Ih(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function kh(e,t,n){const r=this;return u;function u(l){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(l),e.exit("directiveTextMarker"),Rr.call(r,e,i,n,"directiveTextName")}function i(l){return l===58?n(l):l===91?e.attempt(_h,a,a)(l):a(l)}function a(l){return l===123?e.attempt(xh,o,o)(l):o(l)}function o(l){return e.exit("directiveText"),t(l)}}function Nh(e,t,n){return Or(e,t,n,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function Sh(e,t,n){return Fr(e,t,n,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function yh(){return{text:{58:Dh},flow:{58:[lh,Eh]}}}function Lh(){const t=this.data(),n=t.micromarkExtensions||(t.micromarkExtensions=[]),r=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),u=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);n.push(yh()),r.push(eh()),u.push(th())}function Fh(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 Oh(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
47
- `}]}function Rh(e,t){const n=t.value?t.value+`
48
- `:"",r={},u=t.lang?t.lang.split(/\s+/):[];u.length>0&&(r.className=["language-"+u[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Ph(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wh(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Bh(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=At(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 Mh(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 vh(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function la(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 Hh(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return la(e,t);const u={src:At(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 Uh(e,t){const n={src:At(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 zh(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 Yh(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return la(e,t);const u={href:At(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 qh(e,t){const n={href:At(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 jh(e,t,n){const r=e.all(t),u=n?Vh(n):ca(t),i={},a=[];if(typeof t.checked=="boolean"){const h=r[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.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 h=r[o];(u||o!==0||h.type!=="element"||h.tagName!=="p")&&a.push({type:"text",value:`
49
- `}),h.type==="element"&&h.tagName==="p"&&!u?a.push(...h.children):a.push(h)}const l=r[r.length-1];l&&(u||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
50
- `});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function Vh(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=ca(n[r])}return t}function ca(e){const t=e.spread;return t??e.children.length>1}function Wh(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 Qh(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gh(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function $h(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const xn=fa("end"),Ue=fa("start");function fa(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 Xh(e){const t=Ue(e),n=xn(e);if(t&&n)return{start:t,end:n}}function Kh(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=Ue(t.children[1]),l=xn(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 Jh(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 f=t.children[l],m={},d=a?a[l]:void 0;d&&(m.align=d);let g={type:"element",tagName:i,properties:m,children:[]};f&&(g.children=e.all(f),e.patch(f,g),g=e.applyData(f,g)),c.push(g)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}function Zh(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Bu=9,Mu=32;function ed(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const i=[];for(;r;)i.push(vu(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(vu(t.slice(u),u>0,!1)),i.join("")}function vu(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===Bu||i===Mu;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===Bu||i===Mu;)u--,i=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function td(e,t){const n={type:"text",value:ed(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function nd(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const rd={blockquote:Fh,break:Oh,code:Rh,delete:Ph,emphasis:wh,footnoteReference:Bh,heading:Mh,html:vh,imageReference:Hh,image:Uh,inlineCode:zh,linkReference:Yh,link:qh,listItem:jh,list:Wh,paragraph:Qh,root:Gh,strong:$h,table:Kh,tableCell:Zh,tableRow:Jh,text:td,thematicBreak:nd,toml:sn,yaml:sn,definition:sn,footnoteDefinition:sn};function sn(){}const ha=-1,In=0,vt=1,En=2,Pr=3,wr=4,Br=5,Mr=6,da=7,ma=8,pa=typeof self=="object"?self:globalThis,Hu=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new pa[e](t)},ud=(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 In:case ha:return n(a,u);case vt:{const o=n([],u);for(const l of a)o.push(r(l));return o}case En:{const o=n({},u);for(const[l,c]of a)o[r(l)]=r(c);return o}case Pr:return n(new Date(a),u);case wr:{const{source:o,flags:l}=a;return n(new RegExp(o,l),u)}case Br:{const o=n(new Map,u);for(const[l,c]of a)o.set(r(l),r(c));return o}case Mr:{const o=n(new Set,u);for(const l of a)o.add(r(l));return o}case da:{const{name:o,message:l}=a;return n(typeof pa[o]=="function"?Hu(o,l):new Error(l),u)}case ma:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(Hu(i,a),u)};return r},Uu=e=>ud(new Map,e)(0),it="",{toString:id}={},{keys:ad}=Object,Lt=e=>{const t=typeof e;if(t!=="object"||!e)return[In,t];const n=id.call(e).slice(8,-1);switch(n){case"Array":return[vt,it];case"Object":return[En,it];case"Date":return[Pr,it];case"RegExp":return[wr,it];case"Map":return[Br,it];case"Set":return[Mr,it];case"DataView":return[vt,n]}return n.includes("Array")?[vt,n]:e instanceof Error?[da,e.name||"Error"]:[En,n]},on=([e,t])=>e===In&&(t==="function"||t==="symbol"),sd=(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]=Lt(a);switch(o){case In:{let h=a;switch(l){case"bigint":o=ma,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return u([ha],a)}return u([o,h],a)}case vt:{if(l){let m=a;return l==="DataView"?m=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(m=new Uint8Array(a)),u([l,[...m]],a)}const h=[],f=u([o,h],a);for(const m of a)h.push(i(m));return f}case En:{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 h=[],f=u([o,h],a);for(const m of ad(a))(e||!on(Lt(a[m])))&&h.push([i(m),i(a[m])]);return f}case Pr:return u([o,isNaN(a.getTime())?it:a.toISOString()],a);case wr:{const{source:h,flags:f}=a;return u([o,{source:h,flags:f}],a)}case Br:{const h=[],f=u([o,h],a);for(const[m,d]of a)(e||!(on(Lt(m))||on(Lt(d))))&&h.push([i(m),i(d)]);return f}case Mr:{const h=[],f=u([o,h],a);for(const m of a)(e||!on(Lt(m)))&&h.push(i(m));return f}}const{message:c}=a;return u([o,{name:l,message:c}],a)};return i},zu=(e,{json:t,lossy:n}={})=>{const r=[];return sd(!(t||n),!!t,new Map,r)(e),r},We=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Uu(zu(e,t)):structuredClone(e):(e,t)=>Uu(zu(e,t));function od(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 ld(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function cd(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||od,r=e.options.footnoteBackLabel||ld,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 h=e.all(c),f=String(c.identifier).toUpperCase(),m=At(f.toLowerCase());let d=0;const g=[],I=e.footnoteCounts.get(f);for(;I!==void 0&&++d<=I;){g.length>0&&g.push({type:"text",value:" "});let R=typeof n=="string"?n:n(l,d);typeof R=="string"&&(R={type:"text",value:R}),g.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,d),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}const k=h[h.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const R=k.children[k.children.length-1];R&&R.type==="text"?R.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...g)}else h.push(...g);const D={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(h,!0)};e.patch(c,D),o.push(D)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...We(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
51
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
52
- `}]}}const fr={}.hasOwnProperty,fd={};function hd(e,t){const n=t||fd,r=new Map,u=new Map,i=new Map,a={...rd,...n.handlers},o={all:c,applyData:md,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:l,options:n,patch:dd,wrap:Ed};return _e(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:u,m=String(h.identifier).toUpperCase();f.has(m)||f.set(m,h)}}),o;function l(h,f){const m=h.type,d=o.handlers[m];if(fr.call(o.handlers,m)&&d)return d(o,h,f);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in h){const{children:I,...k}=h,D=We(k);return D.children=o.all(h),D}return We(h)}return(o.options.unknownHandler||pd)(o,h,f)}function c(h){const f=[];if("children"in h){const m=h.children;let d=-1;for(;++d<m.length;){const g=o.one(m[d],h);if(g){if(d&&m[d-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=Yu(g.value)),!Array.isArray(g)&&g.type==="element")){const I=g.children[0];I&&I.type==="text"&&(I.value=Yu(I.value))}Array.isArray(g)?f.push(...g):f.push(g)}}}return f}}function dd(e,t){e.position&&(t.position=Xh(e))}function md(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,We(i)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function pd(e,t){const n=t.data||{},r="value"in t&&!(fr.call(n,"hProperties")||fr.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 Ed(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
53
- `});++r<e.length;)r&&n.push({type:"text",value:`
54
- `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
55
- `}),n}function Yu(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function qu(e,t){const n=hd(e,t),r=n.one(e,void 0),u=cd(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&i.children.push({type:"text",value:`
56
- `},u),i}function Td(e,t){return e&&"run"in e?async function(n,r){const u=qu(n,{file:r,...t});await e.run(u,r)}:function(n,r){return qu(n,{file:r,...e||t})}}function bd(e){$i(e,[/\r?\n|\r/g,gd])}function gd(){return{type:"break"}}function Ad(){return function(e){bd(e)}}class Kt{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Kt.prototype.normal={};Kt.prototype.property={};Kt.prototype.space=void 0;function Ea(e,t){const n={},r={};for(const u of e)Object.assign(n,u.property),Object.assign(r,u.normal);return new Kt(n,r,t)}function Wt(e){return e.toLowerCase()}class xe{constructor(t,n){this.attribute=n,this.property=t}}xe.prototype.attribute="";xe.prototype.booleanish=!1;xe.prototype.boolean=!1;xe.prototype.commaOrSpaceSeparated=!1;xe.prototype.commaSeparated=!1;xe.prototype.defined=!1;xe.prototype.mustUseProperty=!1;xe.prototype.number=!1;xe.prototype.overloadedBoolean=!1;xe.prototype.property="";xe.prototype.spaceSeparated=!1;xe.prototype.space=void 0;let Cd=0;const $=ct(),he=ct(),hr=ct(),B=ct(),ae=ct(),st=ct(),ke=ct();function ct(){return 2**++Cd}const dr=Object.freeze(Object.defineProperty({__proto__:null,boolean:$,booleanish:he,commaOrSpaceSeparated:ke,commaSeparated:st,number:B,overloadedBoolean:hr,spaceSeparated:ae},Symbol.toStringTag,{value:"Module"})),Zn=Object.keys(dr);class vr extends xe{constructor(t,n,r,u){let i=-1;if(super(t,n),ju(this,"space",u),typeof r=="number")for(;++i<Zn.length;){const a=Zn[i];ju(this,Zn[i],(r&dr[a])===dr[a])}}}vr.prototype.defined=!0;function ju(e,t,n){n&&(e[t]=n)}function Ct(e){const t={},n={};for(const[r,u]of Object.entries(e.properties)){const i=new vr(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Wt(r)]=r,n[Wt(i.attribute)]=r}return new Kt(t,n,e.space)}const Ta=Ct({properties:{ariaActiveDescendant:null,ariaAtomic:he,ariaAutoComplete:null,ariaBusy:he,ariaChecked:he,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:ae,ariaCurrent:null,ariaDescribedBy:ae,ariaDetails:null,ariaDisabled:he,ariaDropEffect:ae,ariaErrorMessage:null,ariaExpanded:he,ariaFlowTo:ae,ariaGrabbed:he,ariaHasPopup:null,ariaHidden:he,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ae,ariaLevel:B,ariaLive:null,ariaModal:he,ariaMultiLine:he,ariaMultiSelectable:he,ariaOrientation:null,ariaOwns:ae,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:he,ariaReadOnly:he,ariaRelevant:null,ariaRequired:he,ariaRoleDescription:ae,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:he,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ba(e,t){return t in e?e[t]:t}function ga(e,t){return ba(e,t.toLowerCase())}const Dd=Ct({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:st,acceptCharset:ae,accessKey:ae,action:null,allow:null,allowFullScreen:$,allowPaymentRequest:$,allowUserMedia:$,alpha:$,alt:null,as:null,async:$,autoCapitalize:null,autoComplete:ae,autoFocus:$,autoPlay:$,blocking:ae,capture:null,charSet:null,checked:$,cite:null,className:ae,closedBy:null,colorSpace:null,cols:B,colSpan:B,command:null,commandFor:null,content:null,contentEditable:he,controls:$,controlsList:ae,coords:B|st,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$,defer:$,dir:null,dirName:null,disabled:$,download:hr,draggable:he,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$,formTarget:null,headers:ae,height:B,hidden:hr,high:B,href:null,hrefLang:null,htmlFor:ae,httpEquiv:ae,id:null,imageSizes:null,imageSrcSet:null,inert:$,inputMode:null,integrity:null,is:null,isMap:$,itemId:null,itemProp:ae,itemRef:ae,itemScope:$,itemType:ae,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$,low:B,manifest:null,max:null,maxLength:B,media:null,method:null,min:null,minLength:B,multiple:$,muted:$,name:null,nonce:null,noModule:$,noValidate:$,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:$,optimum:B,pattern:null,ping:ae,placeholder:null,playsInline:$,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$,referrerPolicy:null,rel:ae,required:$,reversed:$,rows:B,rowSpan:B,sandbox:ae,scope:null,scoped:$,seamless:$,selected:$,shadowRootClonable:$,shadowRootCustomElementRegistry:$,shadowRootDelegatesFocus:$,shadowRootMode:null,shadowRootSerializable:$,shape:null,size:B,sizes:null,slot:null,span:B,spellCheck:he,src:null,srcDoc:null,srcLang:null,srcSet:null,start:B,step:null,style:null,tabIndex:B,target:null,title:null,translate:null,type:null,typeMustMatch:$,useMap:null,value:he,width:B,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ae,axis:null,background:null,bgColor:null,border:B,borderColor:null,bottomMargin:B,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$,declare:$,event:null,face:null,frame:null,frameBorder:null,hSpace:B,leftMargin:B,link:null,longDesc:null,lowSrc:null,marginHeight:B,marginWidth:B,noResize:$,noHref:$,noShade:$,noWrap:$,object:null,profile:null,prompt:null,rev:null,rightMargin:B,rules:null,scheme:null,scrolling:he,standby:null,summary:null,text:null,topMargin:B,valueType:null,version:null,vAlign:null,vLink:null,vSpace:B,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:$,disablePictureInPicture:$,disableRemotePlayback:$,exportParts:st,part:ae,prefix:null,property:null,results:B,security:null,unselectable:null},space:"html",transform:ga}),_d=Ct({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",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ke,accentHeight:B,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:B,amplitude:B,arabicForm:null,ascent:B,attributeName:null,attributeType:null,azimuth:B,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:B,by:null,calcMode:null,capHeight:B,className:ae,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:B,diffuseConstant:B,direction:null,display:null,dur:null,divisor:B,dominantBaseline:null,download:$,dx:null,dy:null,edgeMode:null,editable:null,elevation:B,enableBackground:null,end:null,event:null,exponent:B,externalResourcesRequired:null,fill:null,fillOpacity:B,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:st,g2:st,glyphName:st,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:B,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:B,horizOriginX:B,horizOriginY:B,id:null,ideographic:B,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:B,k:B,k1:B,k2:B,k3:B,k4:B,kernelMatrix:ke,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:B,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:B,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:B,overlineThickness:B,paintOrder:null,panose1:null,path:null,pathLength:B,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ae,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:B,pointsAtY:B,pointsAtZ:B,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ke,rev:ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ke,requiredFeatures:ke,requiredFonts:ke,requiredFormats:ke,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:B,specularExponent:B,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:B,strikethroughThickness:B,string:null,stroke:null,strokeDashArray:ke,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:B,strokeOpacity:B,strokeWidth:null,style:null,surfaceScale:B,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ke,tabIndex:B,tableValues:null,target:null,targetX:B,targetY:B,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ke,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:B,underlineThickness:B,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:B,values:null,vAlphabetic:B,vMathematical:B,vectorEffect:null,vHanging:B,vIdeographic:B,version:null,vertAdvY:B,vertOriginX:B,vertOriginY:B,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:B,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ba}),Aa=Ct({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Ca=Ct({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ga}),Da=Ct({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),xd={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"},Id=/[A-Z]/g,Vu=/-[a-z]/g,kd=/^data[-\w.:]+$/i;function kn(e,t){const n=Wt(t);let r=t,u=xe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&kd.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Vu,Sd);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Vu.test(i)){let a=i.replace(Id,Nd);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=vr}return new u(r,t)}function Nd(e){return"-"+e.toLowerCase()}function Sd(e){return e.charAt(1).toUpperCase()}const Jt=Ea([Ta,Dd,Aa,Ca,Da],"html"),tt=Ea([Ta,_d,Aa,Ca,Da],"svg");function Wu(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 _a(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Qu=/[#.]/g;function yd(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Qu.lastIndex=u;const o=Qu.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 mr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function xa(e){return e.join(" ").trim()}function Ia(e,t,n){const r=n?Rd(n):void 0;function u(i,a,...o){let l;if(i==null){l={type:"root",children:[]};const c=a;o.unshift(c)}else{l=yd(i,t);const c=l.tagName.toLowerCase(),h=r?r.get(c):void 0;if(l.tagName=h||c,Ld(a))o.unshift(a);else for(const[f,m]of Object.entries(a))Fd(e,l.properties,f,m)}for(const c of o)pr(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return u}function Ld(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 Fd(e,t,n,r){const u=kn(e,n);let i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?u.spaceSeparated?i=mr(r):u.commaSeparated?i=Wu(r):u.commaOrSpaceSeparated?i=mr(Wu(r).join(" ")):i=Gu(u,u.property,r):Array.isArray(r)?i=[...r]:i=u.property==="style"?Od(r):String(r);if(Array.isArray(i)){const a=[];for(const o of i)a.push(Gu(u,u.property,o));i=a}u.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[u.property]=i}}function pr(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)pr(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?pr(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Gu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Wt(n)===Wt(t)))return!0}return n}function Od(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function Rd(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Pd=["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"],ve=Ia(Jt,"div"),wd=Ia(tt,"g",Pd);function Bd(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=$u(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=$u(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 $u(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
57
- `,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const at={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/"},ka={}.hasOwnProperty,Md=Object.prototype;function vd(e,t){const n=t||{};return Hr({file:n.file||void 0,location:!1,schema:n.space==="svg"?tt:Jt,verbose:n.verbose||!1},e)}function Hr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},fn(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:Na(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=Bd(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"},fn(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},fn(e,r,n),n}default:return n=Hd(e,t),n}}function Na(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=Hr(e,t[n]);r.push(u)}return r}function Hd(e,t){const n=e.schema;e.schema=t.namespaceURI===at.svg?tt:Jt;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;ka.call(Md,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?wd:ve)(t.tagName,u,Na(e,t.childNodes));if(fn(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&pt(l.startTag),h=l&&l.endTag&&pt(l.endTag),f=Hr(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),a.content=f}return e.schema=n,a}function fn(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Ud(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Ud(e,t,n){const r=pt(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)ka.call(n.attrs,a)&&(i[kn(e.schema,a).property]=pt(n.attrs[a]));n.startTag;const o=pt(n.startTag),l=n.endTag?pt(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function pt(e){const t=Xu({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Xu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Xu(e){return e.line&&e.column?e:void 0}const zd={},Yd={}.hasOwnProperty,Sa=Dr("type",{handlers:{root:jd,element:$d,text:Qd,comment:Gd,doctype:Wd}});function qd(e,t){const r=(t||zd).space;return Sa(e,r==="svg"?tt:Jt)}function jd(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ur(e.children,n,t),Dt(e,n),n}function Vd(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ur(e.children,n,t),Dt(e,n),n}function Wd(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Dt(e,t),t}function Qd(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Dt(e,t),t}function Gd(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Dt(e,t),t}function $d(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=tt);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&Yd.call(e.properties,i)){const l=Xd(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:at[a],childNodes:[],parentNode:null};return o.childNodes=Ur(e.children,o,r),Dt(e,o),e.tagName==="template"&&e.content&&(o.content=Vd(e.content,r)),o}function Xd(e,t,n){const r=kn(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?_a(n):xa(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=at[r.space]}return u}function Ur(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Sa(e[r],n);i.parentNode=t,u.push(i)}return u}function Dt(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 Kd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Jd=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]),oe="�";var p;(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.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_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_Z=122]="LATIN_SMALL_Z"})(p||(p={}));const Ce={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ya(e){return e>=55296&&e<=57343}function Zd(e){return e>=56320&&e<=57343}function e1(e,t){return(e-55296)*1024+9216+t}function La(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Fa(e){return e>=64976&&e<=65007||Jd.has(e)}var N;(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"})(N||(N={}));const t1=65536;class n1{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=t1,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,n){const{line:r,col:u,offset:i}=this,a=u+n,o=i+n;return{code:t,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_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(Zd(n))return this.pos++,this._addGap(),e1(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,p.EOF;return this._err(N.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,p.EOF;const r=this.html.charCodeAt(n);return r===p.CARRIAGE_RETURN?p.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,p.EOF;let t=this.html.charCodeAt(this.pos);return t===p.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,p.LINE_FEED):t===p.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ya(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===p.LINE_FEED||t===p.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){La(t)?this._err(N.controlCharacterInInputStream):Fa(t)&&this._err(N.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Z;(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"})(Z||(Z={}));function Oa(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 r1=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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))),u1=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]]);function i1(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=u1.get(e))!==null&&t!==void 0?t:e}var me;(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"})(me||(me={}));const a1=32;var Je;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Je||(Je={}));function Er(e){return e>=me.ZERO&&e<=me.NINE}function s1(e){return e>=me.UPPER_A&&e<=me.UPPER_F||e>=me.LOWER_A&&e<=me.LOWER_F}function o1(e){return e>=me.UPPER_A&&e<=me.UPPER_Z||e>=me.LOWER_A&&e<=me.LOWER_Z||Er(e)}function l1(e){return e===me.EQUALS||o1(e)}var de;(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"})(de||(de={}));var je;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(je||(je={}));class c1{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=de.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=je.Strict}startEntity(t){this.decodeMode=t,this.state=de.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case de.EntityStart:return t.charCodeAt(n)===me.NUM?(this.state=de.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=de.NamedEntity,this.stateNamedEntity(t,n));case de.NumericStart:return this.stateNumericStart(t,n);case de.NumericDecimal:return this.stateNumericDecimal(t,n);case de.NumericHex:return this.stateNumericHex(t,n);case de.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|a1)===me.LOWER_X?(this.state=de.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=de.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)+Number.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(Er(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(Er(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===me.SEMI)this.consumed+=1;else if(this.decodeMode===je.Strict)return 0;return this.emitCodePoint(i1(this.result),this.consumed),this.errors&&(t!==me.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&Je.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=f1(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===je.Attribute&&(i===0||l1(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&Je.VALUE_LENGTH)>>14,i!==0){if(a===me.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==je.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]&Je.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]&~Je.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case de.NamedEntity:return this.result!==0&&(this.decodeMode!==je.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case de.NumericDecimal:return this.emitNumericEntity(0,2);case de.NumericHex:return this.emitNumericEntity(0,3);case de.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case de.EntityStart:return 0}}}function f1(e,t,n,r){const u=(t&Je.BRANCH_LENGTH)>>7,i=t&Je.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}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={}));var ot;(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"})(ot||(ot={}));var Fe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Fe||(Fe={}));var _;(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.SEARCH="search",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"})(_||(_={}));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.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(s||(s={}));const h1=new Map([[_.A,s.A],[_.ADDRESS,s.ADDRESS],[_.ANNOTATION_XML,s.ANNOTATION_XML],[_.APPLET,s.APPLET],[_.AREA,s.AREA],[_.ARTICLE,s.ARTICLE],[_.ASIDE,s.ASIDE],[_.B,s.B],[_.BASE,s.BASE],[_.BASEFONT,s.BASEFONT],[_.BGSOUND,s.BGSOUND],[_.BIG,s.BIG],[_.BLOCKQUOTE,s.BLOCKQUOTE],[_.BODY,s.BODY],[_.BR,s.BR],[_.BUTTON,s.BUTTON],[_.CAPTION,s.CAPTION],[_.CENTER,s.CENTER],[_.CODE,s.CODE],[_.COL,s.COL],[_.COLGROUP,s.COLGROUP],[_.DD,s.DD],[_.DESC,s.DESC],[_.DETAILS,s.DETAILS],[_.DIALOG,s.DIALOG],[_.DIR,s.DIR],[_.DIV,s.DIV],[_.DL,s.DL],[_.DT,s.DT],[_.EM,s.EM],[_.EMBED,s.EMBED],[_.FIELDSET,s.FIELDSET],[_.FIGCAPTION,s.FIGCAPTION],[_.FIGURE,s.FIGURE],[_.FONT,s.FONT],[_.FOOTER,s.FOOTER],[_.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[_.FORM,s.FORM],[_.FRAME,s.FRAME],[_.FRAMESET,s.FRAMESET],[_.H1,s.H1],[_.H2,s.H2],[_.H3,s.H3],[_.H4,s.H4],[_.H5,s.H5],[_.H6,s.H6],[_.HEAD,s.HEAD],[_.HEADER,s.HEADER],[_.HGROUP,s.HGROUP],[_.HR,s.HR],[_.HTML,s.HTML],[_.I,s.I],[_.IMG,s.IMG],[_.IMAGE,s.IMAGE],[_.INPUT,s.INPUT],[_.IFRAME,s.IFRAME],[_.KEYGEN,s.KEYGEN],[_.LABEL,s.LABEL],[_.LI,s.LI],[_.LINK,s.LINK],[_.LISTING,s.LISTING],[_.MAIN,s.MAIN],[_.MALIGNMARK,s.MALIGNMARK],[_.MARQUEE,s.MARQUEE],[_.MATH,s.MATH],[_.MENU,s.MENU],[_.META,s.META],[_.MGLYPH,s.MGLYPH],[_.MI,s.MI],[_.MO,s.MO],[_.MN,s.MN],[_.MS,s.MS],[_.MTEXT,s.MTEXT],[_.NAV,s.NAV],[_.NOBR,s.NOBR],[_.NOFRAMES,s.NOFRAMES],[_.NOEMBED,s.NOEMBED],[_.NOSCRIPT,s.NOSCRIPT],[_.OBJECT,s.OBJECT],[_.OL,s.OL],[_.OPTGROUP,s.OPTGROUP],[_.OPTION,s.OPTION],[_.P,s.P],[_.PARAM,s.PARAM],[_.PLAINTEXT,s.PLAINTEXT],[_.PRE,s.PRE],[_.RB,s.RB],[_.RP,s.RP],[_.RT,s.RT],[_.RTC,s.RTC],[_.RUBY,s.RUBY],[_.S,s.S],[_.SCRIPT,s.SCRIPT],[_.SEARCH,s.SEARCH],[_.SECTION,s.SECTION],[_.SELECT,s.SELECT],[_.SOURCE,s.SOURCE],[_.SMALL,s.SMALL],[_.SPAN,s.SPAN],[_.STRIKE,s.STRIKE],[_.STRONG,s.STRONG],[_.STYLE,s.STYLE],[_.SUB,s.SUB],[_.SUMMARY,s.SUMMARY],[_.SUP,s.SUP],[_.TABLE,s.TABLE],[_.TBODY,s.TBODY],[_.TEMPLATE,s.TEMPLATE],[_.TEXTAREA,s.TEXTAREA],[_.TFOOT,s.TFOOT],[_.TD,s.TD],[_.TH,s.TH],[_.THEAD,s.THEAD],[_.TITLE,s.TITLE],[_.TR,s.TR],[_.TRACK,s.TRACK],[_.TT,s.TT],[_.U,s.U],[_.UL,s.UL],[_.SVG,s.SVG],[_.VAR,s.VAR],[_.WBR,s.WBR],[_.XMP,s.XMP]]);function _t(e){var t;return(t=h1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const w=s,d1={[P.HTML]:new Set([w.ADDRESS,w.APPLET,w.AREA,w.ARTICLE,w.ASIDE,w.BASE,w.BASEFONT,w.BGSOUND,w.BLOCKQUOTE,w.BODY,w.BR,w.BUTTON,w.CAPTION,w.CENTER,w.COL,w.COLGROUP,w.DD,w.DETAILS,w.DIR,w.DIV,w.DL,w.DT,w.EMBED,w.FIELDSET,w.FIGCAPTION,w.FIGURE,w.FOOTER,w.FORM,w.FRAME,w.FRAMESET,w.H1,w.H2,w.H3,w.H4,w.H5,w.H6,w.HEAD,w.HEADER,w.HGROUP,w.HR,w.HTML,w.IFRAME,w.IMG,w.INPUT,w.LI,w.LINK,w.LISTING,w.MAIN,w.MARQUEE,w.MENU,w.META,w.NAV,w.NOEMBED,w.NOFRAMES,w.NOSCRIPT,w.OBJECT,w.OL,w.P,w.PARAM,w.PLAINTEXT,w.PRE,w.SCRIPT,w.SECTION,w.SELECT,w.SOURCE,w.STYLE,w.SUMMARY,w.TABLE,w.TBODY,w.TD,w.TEMPLATE,w.TEXTAREA,w.TFOOT,w.TH,w.THEAD,w.TITLE,w.TR,w.TRACK,w.UL,w.WBR,w.XMP]),[P.MATHML]:new Set([w.MI,w.MO,w.MN,w.MS,w.MTEXT,w.ANNOTATION_XML]),[P.SVG]:new Set([w.TITLE,w.FOREIGN_OBJECT,w.DESC]),[P.XLINK]:new Set,[P.XML]:new Set,[P.XMLNS]:new Set},Tr=new Set([w.H1,w.H2,w.H3,w.H4,w.H5,w.H6]);_.STYLE,_.SCRIPT,_.XMP,_.IFRAME,_.NOEMBED,_.NOFRAMES,_.PLAINTEXT;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.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(E||(E={}));const fe={DATA:E.DATA,RCDATA:E.RCDATA,RAWTEXT:E.RAWTEXT,SCRIPT_DATA:E.SCRIPT_DATA,PLAINTEXT:E.PLAINTEXT,CDATA_SECTION:E.CDATA_SECTION};function m1(e){return e>=p.DIGIT_0&&e<=p.DIGIT_9}function Bt(e){return e>=p.LATIN_CAPITAL_A&&e<=p.LATIN_CAPITAL_Z}function p1(e){return e>=p.LATIN_SMALL_A&&e<=p.LATIN_SMALL_Z}function Xe(e){return p1(e)||Bt(e)}function Ku(e){return Xe(e)||m1(e)}function ln(e){return e+32}function Ra(e){return e===p.SPACE||e===p.LINE_FEED||e===p.TABULATION||e===p.FORM_FEED}function Ju(e){return Ra(e)||e===p.SOLIDUS||e===p.GREATER_THAN_SIGN}function E1(e){return e===p.NULL?N.nullCharacterReference:e>1114111?N.characterReferenceOutsideUnicodeRange:ya(e)?N.surrogateCharacterReference:Fa(e)?N.noncharacterCharacterReference:La(e)||e===p.CARRIAGE_RETURN?N.controlCharacterReference:null}class T1{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.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new n1(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new c1(r1,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(N.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(N.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const u=E1(r);u&&this._err(u,1)}}:void 0)}_err(t,n=0){var r,u;(u=(r=this.handler).onParseError)===null||u===void 0||u.call(r,this.preprocessor.getError(t,n))}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?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_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:Z.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Z.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Z.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Z.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(Oa(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(N.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=_t(t.tagName),t.type===Z.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(N.endTagWithAttributes),t.selfClosing&&this._err(N.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 Z.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Z.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Z.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:Z.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Ra(t)?Z.WHITESPACE_CHARACTER:t===p.NULL?Z.NULL_CHARACTER:Z.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Z.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=E.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?je.Attribute:je.Legacy)}_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();break}case E.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case p.LESS_THAN_SIGN:{this.state=E.TAG_OPEN;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitCodePoint(t);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case p.AMPERSAND:{this._startCharacterReference();break}case p.LESS_THAN_SIGN:{this.state=E.RCDATA_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case p.LESS_THAN_SIGN:{this.state=E.RAWTEXT_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Xe(t))this._createStartTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case p.EXCLAMATION_MARK:{this.state=E.MARKUP_DECLARATION_OPEN;break}case p.SOLIDUS:{this.state=E.END_TAG_OPEN;break}case p.QUESTION_MARK:{this._err(N.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t);break}case p.EOF:{this._err(N.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(N.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=E.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Xe(t))this._createEndTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case p.GREATER_THAN_SIGN:{this._err(N.missingEndTagName),this.state=E.DATA;break}case p.EOF:{this._err(N.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(N.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.BEFORE_ATTRIBUTE_NAME;break}case p.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.tagName+=oe;break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Bt(t)?ln(t):t)}}_stateRcdataLessThanSign(t){t===p.SOLIDUS?this.state=E.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Xe(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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=E.BEFORE_ATTRIBUTE_NAME,!1;case p.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=E.SELF_CLOSING_START_TAG,!1;case p.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===p.SOLIDUS?this.state=E.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Xe(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 p.SOLIDUS:{this.state=E.SCRIPT_DATA_END_TAG_OPEN;break}case p.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){Xe(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===p.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===p.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 p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case p.HYPHEN_MINUS:{this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===p.SOLIDUS?this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Xe(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){Xe(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(Ce.SCRIPT,!1)&&Ju(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.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 p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case p.HYPHEN_MINUS:{this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===p.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(Ce.SCRIPT,!1)&&Ju(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.SOLIDUS:case p.GREATER_THAN_SIGN:case p.EOF:{this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case p.EQUALS_SIGN:{this._err(N.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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:case p.SOLIDUS:case p.GREATER_THAN_SIGN:case p.EOF:{this._leaveAttrName(),this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case p.EQUALS_SIGN:{this._leaveAttrName(),this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case p.QUOTATION_MARK:case p.APOSTROPHE:case p.LESS_THAN_SIGN:{this._err(N.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.name+=oe;break}default:this.currentAttr.name+=String.fromCodePoint(Bt(t)?ln(t):t)}}_stateAfterAttributeName(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case p.EQUALS_SIGN:{this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.QUOTATION_MARK:{this.state=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this.state=E.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingAttributeValue),this.state=E.DATA,this.emitCurrentTagToken();break}default:this.state=E.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case p.QUOTATION_MARK:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case p.APOSTROPHE:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case p.QUOTATION_MARK:case p.APOSTROPHE:case p.LESS_THAN_SIGN:case p.EQUALS_SIGN:case p.GRAVE_ACCENT:{this._err(N.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case p.SOLIDUS:{this._leaveAttrValue(),this.state=E.SELF_CLOSING_START_TAG;break}case p.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._err(N.missingWhitespaceBetweenAttributes),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case p.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=E.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._err(N.unexpectedSolidusInTag),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case p.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.data+=oe;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ce.DASH_DASH,!0)?(this._createCommentToken(Ce.DASH_DASH.length+1),this.state=E.COMMENT_START):this._consumeSequenceIfMatch(Ce.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ce.DOCTYPE.length+1),this.state=E.DOCTYPE):this._consumeSequenceIfMatch(Ce.CDATA_START,!0)?this.inForeignNode?this.state=E.CDATA_SECTION:(this._err(N.cdataInHtmlContent),this._createCommentToken(Ce.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=E.BOGUS_COMMENT):this._ensureHibernation()||(this._err(N.incorrectlyOpenedComment),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case p.HYPHEN_MINUS:{this.state=E.COMMENT_START_DASH;break}case p.GREATER_THAN_SIGN:{this._err(N.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 p.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptClosingOfEmptyComment),this.state=E.DATA,this.emitCurrentComment(n);break}case p.EOF:{this._err(N.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 p.HYPHEN_MINUS:{this.state=E.COMMENT_END_DASH;break}case p.LESS_THAN_SIGN:{n.data+="<",this.state=E.COMMENT_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.data+=oe;break}case p.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case p.EXCLAMATION_MARK:{n.data+="!",this.state=E.COMMENT_LESS_THAN_SIGN_BANG;break}case p.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===p.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=E.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===p.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=E.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==p.GREATER_THAN_SIGN&&t!==p.EOF&&this._err(N.nestedComment),this.state=E.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case p.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case p.EOF:{this._err(N.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 p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case p.EXCLAMATION_MARK:{this.state=E.COMMENT_END_BANG;break}case p.HYPHEN_MINUS:{n.data+="-";break}case p.EOF:{this._err(N.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 p.HYPHEN_MINUS:{n.data+="--!",this.state=E.COMMENT_END_DASH;break}case p.GREATER_THAN_SIGN:{this._err(N.incorrectlyClosedComment),this.state=E.DATA,this.emitCurrentComment(n);break}case p.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=E.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case p.EOF:{this._err(N.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingWhitespaceBeforeDoctypeName),this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Bt(t))this._createDoctypeToken(String.fromCharCode(ln(t))),this.state=E.DOCTYPE_NAME;else switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.NULL:{this._err(N.unexpectedNullCharacter),this._createDoctypeToken(oe),this.state=E.DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(N.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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.AFTER_DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.name+=oe;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Bt(t)?ln(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ce.PUBLIC,!1)?this.state=E.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ce.SYSTEM,!1)?this.state=E.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(N.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.QUOTATION_MARK:{this._err(N.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(N.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.QUOTATION_MARK:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case p.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.publicId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(N.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 p.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.publicId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(N.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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.QUOTATION_MARK:{this._err(N.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(N.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.QUOTATION_MARK:{this._err(N.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(N.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case p.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.systemId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(N.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 p.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.systemId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(N.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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case p.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.NULL:{this._err(N.unexpectedNullCharacter);break}case p.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case p.RIGHT_SQUARE_BRACKET:{this.state=E.CDATA_SECTION_BRACKET;break}case p.EOF:{this._err(N.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===p.RIGHT_SQUARE_BRACKET?this.state=E.CDATA_SECTION_END:(this._emitChars("]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case p.GREATER_THAN_SIGN:{this.state=E.DATA;break}case p.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(p.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Ku(this.preprocessor.peek(1))?E.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Ku(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===p.SEMICOLON&&this._err(N.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Pa=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Zu=new Set([...Pa,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),Tn=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),b1=new Set([...Tn,s.OL,s.UL]),g1=new Set([...Tn,s.BUTTON]),ei=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),ti=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),A1=new Set([s.TR,s.TEMPLATE,s.HTML]),C1=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),D1=new Set([s.TABLE,s.TEMPLATE,s.HTML]),_1=new Set([s.TD,s.TH]);class x1{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.current&&this.currentTagId!==void 0&&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(Math.max(n,0))}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(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Tr,P.HTML)}popUntilTableCellPopped(){this.popUntilPopped(_1,P.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(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(D1,P.HTML)}clearBackToTableBodyContext(){this.clearBackTo(C1,P.HTML)}clearBackToTableRowContext(){this.clearBackTo(A1,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}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const u=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case P.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case P.SVG:{if(ti.has(u))return!1;break}case P.MATHML:{if(ei.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Tn)}hasInListItemScope(t){return this.hasInDynamicScope(t,b1)}hasInButtonScope(t){return this.hasInDynamicScope(t,g1)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case P.HTML:{if(Tr.has(n))return!0;if(Tn.has(n))return!1;break}case P.SVG:{if(ti.has(n))return!1;break}case P.MATHML:{if(ei.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===P.HTML)switch(this.tagIDs[t]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Pa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Zu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Zu.has(this.currentTagId);)this.pop()}}const er=3;var Me;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Me||(Me={}));const ni={type:Me.Marker};class I1{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===Me.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const h=this.treeAdapter.getAttrList(c);h.length===u&&r.push({idx:o,attrs:h})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<er)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<er)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>=er&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(ni)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Me.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Me.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(ni);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Me.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Me.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Me.Element&&n.element===t)}}const Ke={createDocument(){return{nodeName:"#document",mode:Fe.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}},createTextNode(e){return{nodeName:"#text",value: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};Ke.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(Ke.isTextNode(n)){n.value+=t;return}}Ke.appendChild(e,Ke.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ke.isTextNode(r)?r.value+=t:Ke.insertBefore(e,Ke.createTextNode(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}}},wa="html",k1="about:legacy-compat",N1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ba=["+//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//"],S1=[...Ba,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],y1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ma=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],L1=[...Ma,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ri(e,t){return t.some(n=>e.startsWith(n))}function F1(e){return e.name===wa&&e.publicId===null&&(e.systemId===null||e.systemId===k1)}function O1(e){if(e.name!==wa)return Fe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===N1)return Fe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),y1.has(n))return Fe.QUIRKS;let r=t===null?S1:Ba;if(ri(n,r))return Fe.QUIRKS;if(r=t===null?Ma:L1,ri(n,r))return Fe.LIMITED_QUIRKS}return Fe.NO_QUIRKS}const ui={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},R1="definitionurl",P1="definitionURL",w1=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])),B1=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: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}]]),M1=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])),v1=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 H1(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===ot.COLOR||r===ot.SIZE||r===ot.FACE)||v1.has(t)}function va(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===R1){e.attrs[t].name=P1;break}}function Ha(e){for(let t=0;t<e.attrs.length;t++){const n=w1.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function zr(e){for(let t=0;t<e.attrs.length;t++){const n=B1.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 U1(e){const t=M1.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=_t(e.tagName))}function z1(e,t){return t===P.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function Y1(e,t,n){if(t===P.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===ot.ENCODING){const u=n[r].value.toLowerCase();return u===ui.TEXT_HTML||u===ui.APPLICATION_XML}}return t===P.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function q1(e,t,n,r){return(!r||r===P.HTML)&&Y1(e,t,n)||(!r||r===P.MATHML)&&z1(e,t)}const j1="hidden",V1=8,W1=3;var T;(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"})(T||(T={}));const Q1={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Ua=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),ii={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ke,onParseError:null};class ai{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=T.INITIAL,this.originalInsertionMode=T.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={...ii,...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 T1(this.options,this),this.activeFormattingElements=new I1(this.treeAdapter),this.fragmentContextID=r?_t(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new x1(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={...ii,...n};t??(t=r.treeAdapter.createElement(_.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(T.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:Q1,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||t&&this.treeAdapter.getNamespaceURI(t)===P.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,P.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=T.TEXT}switchToPlaintextParsing(){this.insertionMode=T.TEXT,this.originalInsertionMode=T.IN_BODY,this.tokenizer.state=fe.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)===_.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=fe.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=fe.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=fe.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=fe.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??this.document,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(_.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:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:h})}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===Z.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)===_.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===P.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,P.HTML)}_processToken(t){switch(t.type){case Z.CHARACTER:{this.onCharacter(t);break}case Z.NULL_CHARACTER:{this.onNullCharacter(t);break}case Z.COMMENT:{this.onComment(t);break}case Z.DOCTYPE:{this.onDoctype(t);break}case Z.START_TAG:{this._processStartTag(t);break}case Z.END_TAG:{this.onEndTag(t);break}case Z.EOF:{this.onEof(t);break}case Z.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return q1(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Me.Marker||this.openElements.contains(u.element)),r=n===-1?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=T.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=T.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=T.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=T.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=T.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=T.IN_TABLE;return}case s.BODY:{this.insertionMode=T.IN_BODY;return}case s.FRAMESET:{this.insertionMode=T.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?T.AFTER_HEAD:T.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=T.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=T.IN_HEAD;return}break}}this.insertionMode=T.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=T.IN_SELECT_IN_TABLE;return}}this.insertionMode=T.IN_SELECT}_isElementCausesFosterParenting(t){return Ua.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&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 d1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){_p(this,t);return}switch(this.insertionMode){case T.INITIAL:{Ft(this,t);break}case T.BEFORE_HTML:{Ht(this,t);break}case T.BEFORE_HEAD:{Ut(this,t);break}case T.IN_HEAD:{zt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Yt(this,t);break}case T.AFTER_HEAD:{qt(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{Ya(this,t);break}case T.TEXT:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{tr(this,t);break}case T.IN_TABLE_TEXT:{Ga(this,t);break}case T.IN_COLUMN_GROUP:{bn(this,t);break}case T.AFTER_BODY:{gn(this,t);break}case T.AFTER_AFTER_BODY:{hn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Dp(this,t);return}switch(this.insertionMode){case T.INITIAL:{Ft(this,t);break}case T.BEFORE_HTML:{Ht(this,t);break}case T.BEFORE_HEAD:{Ut(this,t);break}case T.IN_HEAD:{zt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Yt(this,t);break}case T.AFTER_HEAD:{qt(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{tr(this,t);break}case T.IN_COLUMN_GROUP:{bn(this,t);break}case T.AFTER_BODY:{gn(this,t);break}case T.AFTER_AFTER_BODY:{hn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){br(this,t);return}switch(this.insertionMode){case T.INITIAL:case T.BEFORE_HTML:case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_TEMPLATE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{br(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.AFTER_BODY:{em(this,t);break}case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{tm(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case T.INITIAL:{nm(this,t);break}case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:{this._err(t,N.misplacedDoctype);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,N.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?xp(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{Ft(this,t);break}case T.BEFORE_HTML:{rm(this,t);break}case T.BEFORE_HEAD:{im(this,t);break}case T.IN_HEAD:{Pe(this,t);break}case T.IN_HEAD_NO_SCRIPT:{om(this,t);break}case T.AFTER_HEAD:{cm(this,t);break}case T.IN_BODY:{be(this,t);break}case T.IN_TABLE:{Tt(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.IN_CAPTION:{ap(this,t);break}case T.IN_COLUMN_GROUP:{jr(this,t);break}case T.IN_TABLE_BODY:{yn(this,t);break}case T.IN_ROW:{Ln(this,t);break}case T.IN_CELL:{lp(this,t);break}case T.IN_SELECT:{Ka(this,t);break}case T.IN_SELECT_IN_TABLE:{fp(this,t);break}case T.IN_TEMPLATE:{dp(this,t);break}case T.AFTER_BODY:{pp(this,t);break}case T.IN_FRAMESET:{Ep(this,t);break}case T.AFTER_FRAMESET:{bp(this,t);break}case T.AFTER_AFTER_BODY:{Ap(this,t);break}case T.AFTER_AFTER_FRAMESET:{Cp(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Ip(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{Ft(this,t);break}case T.BEFORE_HTML:{um(this,t);break}case T.BEFORE_HEAD:{am(this,t);break}case T.IN_HEAD:{sm(this,t);break}case T.IN_HEAD_NO_SCRIPT:{lm(this,t);break}case T.AFTER_HEAD:{fm(this,t);break}case T.IN_BODY:{Sn(this,t);break}case T.TEXT:{Xm(this,t);break}case T.IN_TABLE:{Qt(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.IN_CAPTION:{sp(this,t);break}case T.IN_COLUMN_GROUP:{op(this,t);break}case T.IN_TABLE_BODY:{gr(this,t);break}case T.IN_ROW:{Xa(this,t);break}case T.IN_CELL:{cp(this,t);break}case T.IN_SELECT:{Ja(this,t);break}case T.IN_SELECT_IN_TABLE:{hp(this,t);break}case T.IN_TEMPLATE:{mp(this,t);break}case T.AFTER_BODY:{es(this,t);break}case T.IN_FRAMESET:{Tp(this,t);break}case T.AFTER_FRAMESET:{gp(this,t);break}case T.AFTER_AFTER_BODY:{hn(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{Ft(this,t);break}case T.BEFORE_HTML:{Ht(this,t);break}case T.BEFORE_HEAD:{Ut(this,t);break}case T.IN_HEAD:{zt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Yt(this,t);break}case T.AFTER_HEAD:{qt(this,t);break}case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{Wa(this,t);break}case T.TEXT:{Km(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.IN_TEMPLATE:{Za(this,t);break}case T.AFTER_BODY:case T.IN_FRAMESET:case T.AFTER_FRAMESET:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{qr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===p.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 T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.TEXT:case T.IN_COLUMN_GROUP:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{this._insertCharacters(t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:case T.AFTER_BODY:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{za(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{tr(this,t);break}case T.IN_TABLE_TEXT:{Qa(this,t);break}}}}function G1(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):Va(e,t),n}function $1(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(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function X1(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=K1(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function K1(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 J1(e,t,n){const r=e.treeAdapter.getTagName(t),u=_t(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 Z1(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 Yr(e,t){for(let n=0;n<V1;n++){const r=G1(e,t);if(!r)break;const u=$1(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=X1(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&J1(e,a,i),Z1(e,u,r)}}function br(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function em(e,t){e._appendCommentNode(t,e.openElements.items[0])}function tm(e,t){e._appendCommentNode(t,e.document)}function qr(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 nm(e,t){e._setDocumentType(t);const n=t.forceQuirks?Fe.QUIRKS:O1(t);F1(t)||e._err(t,N.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function Ft(e,t){e._err(t,N.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Fe.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function rm(e,t){t.tagID===s.HTML?(e._insertElement(t,P.HTML),e.insertionMode=T.BEFORE_HEAD):Ht(e,t)}function um(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Ht(e,t)}function Ht(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function im(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.HEAD:{e._insertElement(t,P.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:Ut(e,t)}}function am(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?Ut(e,t):e._err(t,N.endTagWithoutMatchingOpenElement)}function Ut(e,t){e._insertFakeElement(_.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function Pe(e,t){switch(t.tagID){case s.HTML:{be(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,fe.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,fe.RAWTEXT):(e._insertElement(t,P.HTML),e.insertionMode=T.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,fe.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,fe.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case s.HEAD:{e._err(t,N.misplacedStartTagForHeadElement);break}default:zt(e,t)}}function sm(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=T.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{zt(e,t);break}case s.TEMPLATE:{ft(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function ft(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,N.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,N.endTagWithoutMatchingOpenElement)}function zt(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function om(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Pe(e,t);break}case s.NOSCRIPT:{e._err(t,N.nestedNoscriptInHead);break}default:Yt(e,t)}}function lm(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case s.BR:{Yt(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function Yt(e,t){const n=t.type===Z.EOF?N.openElementsLeftAfterEof:N.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=T.IN_HEAD,e._processToken(t)}function cm(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.BODY:{e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,P.HTML),e.insertionMode=T.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,N.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Pe(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,N.misplacedStartTagForHeadElement);break}default:qt(e,t)}}function fm(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{qt(e,t);break}case s.TEMPLATE:{ft(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function qt(e,t){e._insertFakeElement(_.BODY,s.BODY),e.insertionMode=T.IN_BODY,Nn(e,t)}function Nn(e,t){switch(t.type){case Z.CHARACTER:{Ya(e,t);break}case Z.WHITESPACE_CHARACTER:{za(e,t);break}case Z.COMMENT:{br(e,t);break}case Z.START_TAG:{be(e,t);break}case Z.END_TAG:{Sn(e,t);break}case Z.EOF:{Wa(e,t);break}}}function za(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ya(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function hm(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function dm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function mm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_FRAMESET)}function pm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML)}function Em(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Tr.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,P.HTML)}function Tm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function bm(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 gm(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 Am(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.tokenizer.state=fe.PLAINTEXT}function Cm(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 Dm(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(_.A);n&&(Yr(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 _m(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function xm(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(Yr(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Im(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function km(e,t){e.treeAdapter.getDocumentMode(e.document)!==Fe.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function qa(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ja(e){const t=Oa(e,ot.TYPE);return t!=null&&t.toLowerCase()===j1}function Nm(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),ja(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Sm(e,t){e._appendElement(t,P.HTML),t.ackSelfClosing=!0}function ym(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Lm(e,t){t.tagName=_.IMG,t.tagID=s.IMG,qa(e,t)}function Fm(e,t){e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.tokenizer.state=fe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T.TEXT}function Om(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function Rm(e,t){e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function si(e,t){e._switchToTextParsing(t,fe.RAWTEXT)}function Pm(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===T.IN_TABLE||e.insertionMode===T.IN_CAPTION||e.insertionMode===T.IN_TABLE_BODY||e.insertionMode===T.IN_ROW||e.insertionMode===T.IN_CELL?T.IN_SELECT_IN_TABLE:T.IN_SELECT}function wm(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function Bm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,P.HTML)}function Mm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,P.HTML)}function vm(e,t){e._reconstructActiveFormattingElements(),va(t),zr(t),t.selfClosing?e._appendElement(t,P.MATHML):e._insertElement(t,P.MATHML),t.ackSelfClosing=!0}function Hm(e,t){e._reconstructActiveFormattingElements(),Ha(t),zr(t),t.selfClosing?e._appendElement(t,P.SVG):e._insertElement(t,P.SVG),t.ackSelfClosing=!0}function oi(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function be(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:{_m(e,t);break}case s.A:{Dm(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Em(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.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{pm(e,t);break}case s.LI:case s.DD:case s.DT:{gm(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{qa(e,t);break}case s.HR:{ym(e,t);break}case s.RB:case s.RTC:{Bm(e,t);break}case s.RT:case s.RP:{Mm(e,t);break}case s.PRE:case s.LISTING:{Tm(e,t);break}case s.XMP:{Om(e,t);break}case s.SVG:{Hm(e,t);break}case s.HTML:{hm(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:{Pe(e,t);break}case s.BODY:{dm(e,t);break}case s.FORM:{bm(e,t);break}case s.NOBR:{xm(e,t);break}case s.MATH:{vm(e,t);break}case s.TABLE:{km(e,t);break}case s.INPUT:{Nm(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Sm(e,t);break}case s.IMAGE:{Lm(e,t);break}case s.BUTTON:{Cm(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Im(e,t);break}case s.IFRAME:{Rm(e,t);break}case s.SELECT:{Pm(e,t);break}case s.OPTION:case s.OPTGROUP:{wm(e,t);break}case s.NOEMBED:case s.NOFRAMES:{si(e,t);break}case s.FRAMESET:{mm(e,t);break}case s.TEXTAREA:{Fm(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?si(e,t):oi(e,t);break}case s.PLAINTEXT:{Am(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:oi(e,t)}}function Um(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function zm(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,es(e,t))}function Ym(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function qm(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 jm(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(_.P,s.P),e._closePElement()}function Vm(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function Wm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Qm(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Gm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function $m(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(_.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function Va(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 Sn(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:{Yr(e,t);break}case s.P:{jm(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.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Ym(e,t);break}case s.LI:{Vm(e);break}case s.DD:case s.DT:{Wm(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Qm(e);break}case s.BR:{$m(e);break}case s.BODY:{Um(e,t);break}case s.HTML:{zm(e,t);break}case s.FORM:{qm(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Gm(e,t);break}case s.TEMPLATE:{ft(e,t);break}default:Va(e,t)}}function Wa(e,t){e.tmplInsertionModeStack.length>0?Za(e,t):qr(e,t)}function Xm(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 Km(e,t){e._err(t,N.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function tr(e,t){if(e.openElements.currentTagId!==void 0&&Ua.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T.IN_TABLE_TEXT,t.type){case Z.CHARACTER:{Ga(e,t);break}case Z.WHITESPACE_CHARACTER:{Qa(e,t);break}}else Zt(e,t)}function Jm(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_CAPTION}function Zm(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function ep(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.COLGROUP,s.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,jr(e,t)}function tp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_TABLE_BODY}function np(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.TBODY,s.TBODY),e.insertionMode=T.IN_TABLE_BODY,yn(e,t)}function rp(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function up(e,t){ja(t)?e._appendElement(t,P.HTML):Zt(e,t),t.ackSelfClosing=!0}function ip(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,P.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Tt(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{np(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Pe(e,t);break}case s.COL:{ep(e,t);break}case s.FORM:{ip(e,t);break}case s.TABLE:{rp(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{tp(e,t);break}case s.INPUT:{up(e,t);break}case s.CAPTION:{Jm(e,t);break}case s.COLGROUP:{Zm(e,t);break}default:Zt(e,t)}}function Qt(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{ft(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:Zt(e,t)}}function Zt(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Nn(e,t),e.fosterParentingEnabled=n}function Qa(e,t){e.pendingCharacterTokens.push(t)}function Ga(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Ot(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Zt(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const $a=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function ap(e,t){const n=t.tagID;$a.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,Tt(e,t)):be(e,t)}function sp(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=T.IN_TABLE,n===s.TABLE&&Qt(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:Sn(e,t)}}function jr(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.COL:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{Pe(e,t);break}default:bn(e,t)}}function op(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TEMPLATE:{ft(e,t);break}case s.COL:break;default:bn(e,t)}}function bn(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function yn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(_.TR,s.TR),e.insertionMode=T.IN_ROW,Ln(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=T.IN_TABLE,Tt(e,t));break}default:Tt(e,t)}}function gr(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=T.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,Qt(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:Qt(e,t)}}function Ln(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,P.HTML),e.insertionMode=T.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=T.IN_TABLE_BODY,yn(e,t));break}default:Tt(e,t)}}function Xa(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,gr(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=T.IN_TABLE_BODY,gr(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:Qt(e,t)}}function lp(e,t){const n=t.tagID;$a.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),Ln(e,t)):be(e,t)}function cp(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=T.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Xa(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Sn(e,t)}}function Ka(e,t){switch(t.tagID){case s.HTML:{be(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.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,P.HTML),t.ackSelfClosing=!0;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:{Pe(e,t);break}}}function Ja(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:{ft(e,t);break}}}function fp(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)):Ka(e,t)}function hp(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)):Ja(e,t)}function dp(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:{Pe(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=T.IN_TABLE,e.insertionMode=T.IN_TABLE,Tt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,jr(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,yn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,Ln(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,be(e,t)}}function mp(e,t){t.tagID===s.TEMPLATE&&ft(e,t)}function Za(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):qr(e,t)}function pp(e,t){t.tagID===s.HTML?be(e,t):gn(e,t)}function es(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=T.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 gn(e,t)}function gn(e,t){e.insertionMode=T.IN_BODY,Nn(e,t)}function Ep(e,t){switch(t.tagID){case s.HTML:{be(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:{Pe(e,t);break}}}function Tp(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=T.AFTER_FRAMESET))}function bp(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.NOFRAMES:{Pe(e,t);break}}}function gp(e,t){t.tagID===s.HTML&&(e.insertionMode=T.AFTER_AFTER_FRAMESET)}function Ap(e,t){t.tagID===s.HTML?be(e,t):hn(e,t)}function hn(e,t){e.insertionMode=T.IN_BODY,Nn(e,t)}function Cp(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.NOFRAMES:{Pe(e,t);break}}}function Dp(e,t){t.chars=oe,e._insertCharacters(t)}function _p(e,t){e._insertCharacters(t),e.framesetOk=!1}function ts(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==P.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function xp(e,t){if(H1(t))ts(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===P.MATHML?va(t):r===P.SVG&&(U1(t),Ha(t)),zr(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Ip(e,t){if(t.tagID===s.P||t.tagID===s.BR){ts(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}}}_.AREA,_.BASE,_.BASEFONT,_.BGSOUND,_.BR,_.COL,_.EMBED,_.FRAME,_.HR,_.IMG,_.INPUT,_.KEYGEN,_.LINK,_.META,_.PARAM,_.SOURCE,_.TRACK,_.WBR;const kp=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Np=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),li={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function ns(e,t){const n=Mp(e),r=Dr("type",{handlers:{root:Sp,element:yp,text:Lp,comment:us,doctype:Fp,raw:Rp},unknown:Pp}),u={parser:n?new ai(li):ai.getFragmentParser(void 0,li),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),xt(u,Ue());const i=n?u.parser.document:u.parser.getFragment(),a=vd(i,{file:u.options.file});return u.stitches&&_e(a,"comment",function(o,l,c){const h=o;if(h.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=h.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function rs(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Sp(e,t){rs(e.children,t)}function yp(e,t){wp(e,t),rs(e.children,t),Bp(e,t)}function Lp(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Z.CHARACTER,chars:e.value,location:en(e)};xt(t,Ue(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Fp(e,t){const n={type:Z.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:en(e)};xt(t,Ue(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Op(e,t){t.stitches=!0;const n=vp(e);if("children"in e&&"children"in n){const r=ns({type:"root",children:e.children},t.options);n.children=r.children}us({type:"comment",value:{stitch:n}},t)}function us(e,t){const n=e.value,r={type:Z.COMMENT,data:n,location:en(e)};xt(t,Ue(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Rp(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,is(t,Ue(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(kp,"&lt;$1$2"):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 Pp(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Op(n,t);else{let r="";throw Np.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 xt(e,t){is(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=fe.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 is(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 wp(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===fe.PLAINTEXT)return;xt(t,Ue(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:at.html;u===at.html&&n==="svg"&&(u=at.svg);const i=qd({...e,children:[]},{space:u===at.svg?"svg":"html"}),a={type:Z.START_TAG,tagName:n,tagID:_t(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:en(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Bp(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Kd.includes(n)||t.parser.tokenizer.state===fe.PLAINTEXT)return;xt(t,xn(e));const r={type:Z.END_TAG,tagName:n,tagID:_t(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:en(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===fe.RCDATA||t.parser.tokenizer.state===fe.RAWTEXT||t.parser.tokenizer.state===fe.SCRIPT_DATA)&&(t.parser.tokenizer.state=fe.DATA)}function Mp(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function en(e){const t=Ue(e)||{line:void 0,column:void 0,offset:void 0},n=xn(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 vp(e){return"children"in e?We({...e,children:[]}):We(e)}function Hp(e){return function(t,n){return ns(t,{...e,file:n})}}const as=(function(e){if(e==null)return Yp;if(typeof e=="string")return zp(e);if(typeof e=="object")return Up(e);if(typeof e=="function")return Vr(e);throw new Error("Expected function, string, or array as `test`")});function Up(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=as(e[n]);return Vr(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function zp(e){return Vr(t);function t(n){return n.tagName===e}}function Vr(e){return t;function t(n,r,u){return!!(qp(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function Yp(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function qp(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const jp=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Vp=/^[a-zA-Z]:\\/;function Wp(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return Vp.test(e)?!1:jp.test(e)}const Qp=["http","https"],Gp=["nofollow"],$p={};function Xp(e){const t=e||$p,n=t.protocols||Qp,r=as(t.test);return function(u){_e(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(Wp(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Rt(t.content,i),h=c&&!Array.isArray(c)?[c]:c,f=Rt(t.rel,i)||Gp,m=typeof f=="string"?mr(f):f,d=Rt(t.target,i),g=Rt(t.properties,i);if(g&&Object.assign(i.properties,We(g)),m.length>0&&(i.properties.rel=[...m]),d&&(i.properties.target=d),h){const I=Rt(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:We(I),children:We(h)})}}}})}}function Rt(e,t){return typeof e=="function"?e(t):e}function ss(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 Kp(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+"`");_e(e,"element",function(n){let r=ss(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const Jp={};function Zp(e){const t=(e||Jp).shift||0;return function(n){t&&Kp(n,t)}}const eE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tE=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,nE={};function ci(e,t){return(nE.jsx?tE:eE).test(e)}const rE=/[ \t\n\f\r]/g;function uE(e){return typeof e=="object"?e.type==="text"?fi(e.value):!1:fi(e)}function fi(e){return e.replace(rE,"")===""}var dt={},nr,hi;function iE(){if(hi)return nr;hi=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
58
- `,c="/",h="*",f="",m="comment",d="declaration";function g(k,D){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];D=D||{};var R=1,F=1;function U(z){var C=z.match(t);C&&(R+=C.length);var Q=z.lastIndexOf(l);F=~Q?z.length-Q:F+z.length}function j(){var z={line:R,column:F};return function(C){return C.position=new S(z),O(),C}}function S(z){this.start=z,this.end={line:R,column:F},this.source=D.source}S.prototype.content=k;function V(z){var C=new Error(D.source+":"+R+":"+F+": "+z);if(C.reason=z,C.filename=D.source,C.line=R,C.column=F,C.source=k,!D.silent)throw C}function W(z){var C=z.exec(k);if(C){var Q=C[0];return U(Q),k=k.slice(Q.length),C}}function O(){W(n)}function x(z){var C;for(z=z||[];C=v();)C!==!1&&z.push(C);return z}function v(){var z=j();if(!(c!=k.charAt(0)||h!=k.charAt(1))){for(var C=2;f!=k.charAt(C)&&(h!=k.charAt(C)||c!=k.charAt(C+1));)++C;if(C+=2,f===k.charAt(C-1))return V("End of comment missing");var Q=k.slice(2,C-2);return F+=2,U(Q),k=k.slice(C),F+=2,z({type:m,comment:Q})}}function H(){var z=j(),C=W(r);if(C){if(v(),!W(u))return V("property missing ':'");var Q=W(i),le=z({type:d,property:I(C[0].replace(e,f)),value:Q?I(Q[0].replace(e,f)):f});return W(a),le}}function Y(){var z=[];x(z);for(var C;C=H();)C!==!1&&(z.push(C),x(z));return z}return O(),Y()}function I(k){return k?k.replace(o,f):f}return nr=g,nr}var di;function aE(){if(di)return dt;di=1;var e=dt&&dt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(dt,"__esModule",{value:!0}),dt.default=n;const t=e(iE());function n(r,u){let i=null;if(!r||typeof r!="string")return i;const a=(0,t.default)(r),o=typeof u=="function";return a.forEach(l=>{if(l.type!=="declaration")return;const{property:c,value:h}=l;o?u(c,h,l):h&&(i=i||{},i[c]=h)}),i}return dt}var Pt={},mi;function sE(){if(mi)return Pt;mi=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,i=function(c){return!c||n.test(c)||e.test(c)},a=function(c,h){return h.toUpperCase()},o=function(c,h){return"".concat(h,"-")},l=function(c,h){return h===void 0&&(h={}),i(c)?c:(c=c.toLowerCase(),h.reactCompat?c=c.replace(u,o):c=c.replace(r,o),c.replace(t,a))};return Pt.camelCase=l,Pt}var wt,pi;function oE(){if(pi)return wt;pi=1;var e=wt&&wt.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},t=e(aE()),n=sE();function r(u,i){var a={};return!u||typeof u!="string"||(0,t.default)(u,function(o,l){o&&l&&(a[(0,n.camelCase)(o,i)]=l)}),a}return r.default=r,wt=r,wt}var lE=oE();const cE=Ar(lE),Wr={}.hasOwnProperty,fE=new Map,hE=/[A-Z]/g,dE=new Set(["table","tbody","thead","tfoot","tr"]),mE=new Set(["td","th"]),os="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function pE(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=_E(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=DE(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"?tt:Jt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=ls(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function ls(e,t,n){if(t.type==="element")return EE(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return TE(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return gE(e,t,n);if(t.type==="mdxjsEsm")return bE(e,t);if(t.type==="root")return AE(e,t,n);if(t.type==="text")return CE(e,t)}function EE(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=tt,e.schema=u),e.ancestors.push(t);const i=fs(e,t.tagName,!1),a=xE(e,t);let o=Gr(e,t);return dE.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!uE(l):!0})),cs(e,a,i,t),Qr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function TE(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)}Gt(e,t.position)}function bE(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Gt(e,t.position)}function gE(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=tt,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:fs(e,t.name,!0),a=IE(e,t),o=Gr(e,t);return cs(e,a,i,t),Qr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function AE(e,t,n){const r={};return Qr(r,Gr(e,t)),e.create(t,e.Fragment,r,n)}function CE(e,t){return t.value}function cs(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Qr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function DE(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 _E(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=Ue(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 xE(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Wr.call(t.properties,u)){const i=kE(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&mE.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 IE(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 Gt(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 Gt(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function Gr(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:fE;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=ls(e,i,a);o!==void 0&&n.push(o)}return n}function kE(e,t,n){const r=kn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?_a(n):xa(n)),r.property==="style"){let u=typeof n=="object"?n:NE(e,String(n));return e.stylePropertyNameCase==="css"&&(u=SE(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?xd[r.property]||r.property:r.attribute,n]}}function NE(e,t){try{return cE(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,u=new Te("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=e.filePath||void 0,u.url=os+"#cannot-parse-style-attribute",u}}function fs(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=ci(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=ci(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Wr.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);Gt(e)}function Gt(e,t){const n=new Te("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=os+"#cannot-handle-mdx-estrees-without-createevaluater",n}function SE(e){const t={};let n;for(n in e)Wr.call(e,n)&&(t[yE(n)]=e[n]);return t}function yE(e){let t=e.replace(hE,LE);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function LE(e){return"-"+e.toLowerCase()}function FE(e){const t=this;t.compiler=n;function n(r,u){return pE(r,{filePath:u.path,...e})}}const OE=/[\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,RE=Object.hasOwnProperty;class hs{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=PE(t,n===!0);const i=u;for(;RE.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 PE(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(OE,"").replace(/ /g,"-"))}function wE(e){return"children"in e?ds(e):"value"in e?e.value:""}function BE(e){return e.type==="text"?e.value:"children"in e?ds(e):""}function ds(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=BE(e.children[t]);return n.join("")}const ME={},Ei=new hs;function vE(e){const n=(e||ME).prefix||"";return function(r){Ei.reset(),_e(r,"element",function(u){ss(u)&&!u.properties.id&&(u.properties.id=n+Ei.slug(wE(u)))})}}const bt=(...e)=>e.filter(Boolean).join(" "),HE=e=>{const t=[],n=[];let r=-1,u=-1;for(const{children:i,...a}of e){if(r<a.depth&&a.depth<=u+1){const o=a.depth-r;u=a.depth;const l=n[o-1];l.children??=[],l.children.push(a),n[o]=a;continue}t.push(a),n[0]=a,r=u=a.depth}return t};var Ti;(e=>{e.clickable=`
59
- px-2
60
- min-h-[calc(44/16*1rem)]
61
- border
62
- border-transparent
63
- rounded-lg
64
- hover:bg-solid-grey-50
65
- `,e.selected=`
66
- rounded-full
67
- bg-yellow-50
68
- `;const t=`
69
- focus-visible:outline-4
70
- focus-visible:outline-black
71
- focus-visible:ring-yellow-300
72
- `;e.focusRectCondensed=`
73
- ${t}
74
- focus-visible:-outline-offset-4
75
- focus-visible:ring-[calc(6/16*1rem)]
76
- focus-visible:ring-inset
77
- `,e.focusRectCondensedWithBg=`
78
- ${e.focusRectCondensed}
79
- focus-visible:bg-yellow-300
80
- `,e.focusRect=`
81
- ${t}
82
- focus-visible:outline-offset-[calc(2/16*1rem)]
83
- focus-visible:ring-[calc(2/16*1rem)]
84
- `,e.focusRounded=`
85
- ${e.focusRect}
86
- focus-visible:rounded-sm
87
- `,e.focusCard=`
88
- ${e.focusRect}
89
- focus-visible:rounded-2xl
90
- sm:focus-visible:rounded-3xl
91
- `,e.focusRectWithBg=`
92
- ${e.focusRect}
93
- focus-visible:bg-yellow-300
94
- `,e.focusRoundedWithBg=`
95
- ${e.focusRectWithBg}
96
- focus-visible:rounded-sm
97
- `,e.hoverUnderline=`
98
- hover:underline
99
- hover:underline-offset-[calc(3/16*1rem)]
100
- `,e.underline=`
101
- underline
102
- underline-offset-[calc(3/16*1rem)]
103
- hover:decoration-[calc(3/16*1rem)]
104
- `,e.underlineNoDeco=`
105
- underline
106
- underline-offset-[calc(3/16*1rem)]
107
- `,e.popover=`
108
- min-w-fit
109
- w-auto
110
- py-2
111
- bg-white
112
- shadow-1
113
- rounded-lg
114
- border
115
- border-solid-grey-420
116
- has-[>:nth-child(7)]:rounded-r-none
117
- `,e.popoverPositionBottomRight=`
118
- absolute
119
- top-11
120
- right-0
121
- `,e.popoverPositionBottomLeft=`
122
- absolute
123
- top-11
124
- left-0
125
- `,(n=>{n.focus=`
126
- peer-focus-visible:outline-4
127
- peer-focus-visible:outline-black
128
- peer-focus-visible:ring-yellow-300
129
- `,n.focusRect=`
130
- ${n.focus}
131
- peer-focus-visible:outline-offset-[calc(2/16*1rem)]
132
- peer-focus-visible:ring-[calc(2/16*1rem)]
133
- `})(e.Peer||(e.Peer={}))})(Ti||(Ti={}));const gt=e=>e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective",$r=e=>e.type==="containerDirective",UE=e=>e.type==="textDirective",zE=e=>e.type==="heading",YE=()=>e=>{_e(e,gt,t=>{if(t.type==="containerDirective"||t.type==="leafDirective"){if(t.name!=="youtube")return;t.data??={};const n=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??void 0,l=r.height??void 0,c=r.allow||"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",h=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:h,allowFullScreen:!0,loading:"lazy"}}})},qE=()=>e=>{_e(e,gt,t=>{t.data=t.data??{};const n=ve(t.name,t.attributes||{});t.data.hName=n.tagName,t.data.hProperties=n.properties})},jE=()=>e=>{_e(e,UE,t=>{if(t.name!=="link-button")return;t.data??={};const n=t.data,r="a";n.hName=r,t.attributes=t.attributes??{},t.attributes["data-node"]=t.name,n.hProperties=ve(r,t.attributes).properties})},VE=()=>e=>{_e(e,$r,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=Number.parseInt(t.name.split("-").pop()||"1",10),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=ve(u,t.attributes).properties})},WE=()=>e=>{_e(e,$r,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=ve(n,t.attributes).properties,t.children.forEach(r=>{if(!gt(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=ve(u,r.attributes).properties})})},QE=()=>e=>{_e(e,gt,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=ve(n,t.attributes).properties;const r=t.attributes,u=r["data-behavior"]==="link";t.children.forEach(i=>{if(!gt(i))return;i.data=i.data??{};let a="div";i.name==="card-img"&&(a="img"),i.data.hName=a,i.attributes=i.attributes??{},i.attributes["data-node"]=i.name,u&&(i.name==="card-title"||i.name==="card-footer")&&(i.attributes["data-behavior"]="link",i.name==="card-title"&&(i.attributes["data-href"]=r["data-href"]||"")),i.data.hProperties=ve(a,i.attributes).properties})})},GE=()=>e=>{_e(e,$r,t=>{if(t.name!=="faq")return;t.data=t.data??{};const n="dl";t.data.hName=n,t.data.hProperties=ve(n,t.attributes||{}).properties,t.children.forEach(r=>{if(!gt(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=ve(u,r.attributes||{}).properties})})},$E=()=>(e,t)=>{const n=[],r=new hs;_e(e,zE,a=>{const o={id:r.slug(jt(a)),depth:a.depth,value:jt(a)};n.push(o)}),t.data.fm||(t.data.fm={});const i=t.data.fm;i.headings=HE(n)},ms=({items:e})=>ne.jsx(ne.Fragment,{children:e.map(t=>ne.jsxs("li",{children:[ne.jsx(te.Link,{href:`#${t.id}`,children:t.value}),t.children?ne.jsx(te.Ul,{children:ne.jsx(ms,{items:t.children})}):null]},t.id))}),XE=e=>{const{className:t,children:n,...r}=e;return ne.jsx(te.OverflowContainer,{children:ne.jsx(te.Table,{className:bt(t),...r,children:n})})},KE=e=>{const{children:t,href:n,...r}=e;return r["data-node"]==="link-button"?ne.jsx(te.Button,{as:"a",variant:"secondary",href:n,children:t}):ne.jsx(te.Link,{href:n,...r,children:t})},JE=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card"?r["data-behavior"]==="link"?ne.jsx(te.LinkCard,{className:bt(n),children:t}):ne.jsx(te.Card,{className:bt(n),children:t}):ne.jsx("article",{className:n,...r,children:t})},ZE=e=>{const{children:t,headingLevel:n="h3",...r}=e,u=r["data-node"],i=r["data-behavior"]==="link";return u==="card-title"?i?ne.jsx(te.LinkCardHeader,{as:n,href:r["data-href"],children:t}):ne.jsx(te.CardHeader,{as:n,children:t}):u==="card-description"?ne.jsx(te.CardBody,{children:t}):u==="card-footer"?i?ne.jsx(te.LinkCardFooter,{children:t}):ne.jsx(te.CardFooter,{children:t}):r["data-behavior"]==="list"?ne.jsx("ul",{className:r.className,children:qe.Children.map(t,a=>ne.jsx("li",{className:"sm:grid",children:a},Math.random()))}):ne.jsx("div",{...r,children:t})},eT=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card-img"?ne.jsx(te.CardImg,{className:bt("w-full aspect-[352/226]",n),...r}):r["data-node"]==="cell-img"?ne.jsx("img",{className:bt("mb-4",n),...r}):ne.jsx("img",{className:n,...r})},tT=e=>{const{className:t,children:n,...r}=e,u=`
134
- my-8
135
- `;let i=`
136
- aspect-video
137
- w-full
138
- max-w-[470px]
139
- `;return(e.width||e.height)&&(i=`
140
- aspect-video
141
- w-full
142
- lg:aspect-auto
143
- lg:w-[${e.width}px]
144
- lg:h-[${e.height}px]
145
- `),ne.jsx("iframe",{className:bt(u,i,t),...r,children:n})},nT=e=>new Promise(t=>setTimeout(t,e)),rT=({children:e,showToc:t,tocTitle:n="目次",shiftHeding:r=0})=>{const[u,i]=qe.useState([]),[a,o]=qe.useState(ne.jsx(qe.Fragment,{})),l=qe.useCallback(f=>u0().use($E).processSync(f).data.fm.headings.filter(g=>g.depth<3),[]),c=qe.useCallback(f=>{const m=`h${Math.min(6,Math.max(1,3+r))}`,d={...ys,components:{a:KE,article:JE,button:te.Button,code:te.Code,dl:te.Faq,dt:te.Question,dd:te.Answer,h1:te.H1,h2:te.H2,h3:te.H3,h4:te.H4,h5:te.H5,h6:te.H6,iframe:tT,img:eT,ul:te.Ul,ol:te.Ol,pre:te.Pre,table:XE,caption:te.Caption,thead:te.Thead,tbody:te.Tbody,th:te.Th,tr:te.Tr,td:te.Td,div:I=>ne.jsx(ZE,{...I,headingLevel:m})}};return Gi().use(Ri).use(wf).use(Lh).use(Ad).use(qE).use(YE).use(jE).use(WE).use(QE).use(GE).use(VE).use(Td,{allowDangerousHtml:!0}).use(Hp).use(Xp,{target:"_blank"}).use(Zp,{shift:r}).use(vE).use(FE,d).processSync(f).result},[r]);return qe.useEffect(()=>{i(l(e)),o(c(e))},[e,l,c]),qe.useEffect(()=>{(async()=>(await nT(500),location.hash&&document.getElementById(decodeURI(location.hash.substring(1)))?.scrollIntoView()))()},[]),ne.jsxs("div",{className:"py-8 flex flex-col gap-8",children:[t&&ne.jsxs("nav",{className:`
146
- rounded-3xl
147
- p-10
148
- bg-yellow-50
149
- `,children:[ne.jsx("h2",{className:"mb-4 font-bold text-h-xs-m sm:text-h-xs",children:n}),ne.jsx(te.Ul,{children:ne.jsx(ms,{items:u})})]}),a]})};exports.Markdown=rT;
6
+ <%s key={someKey} {...props} />`,b,P,De,P),Ze[P+b]=!0)}if(P=null,S!==void 0&&(n(S),P=""+S),l(y)&&(n(y.key),P=""+y.key),"key"in y){S={};for(var Ve in y)Ve!=="key"&&(S[Ve]=y[Ve])}else S=y;return P&&o(S,typeof f=="function"?f.displayName||f.name||"Unknown":f),h(f,P,S,s(),Pe,Xe)}function m(f){k(f)?f._store&&(f._store.validated=1):typeof f=="object"&&f!==null&&f.$$typeof===M&&(f._payload.status==="fulfilled"?k(f._payload.value)&&f._payload.value._store&&(f._payload.value._store.validated=1):f._store&&(f._store.validated=1))}function k(f){return typeof f=="object"&&f!==null&&f.$$typeof===x}var v=St,x=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),be=Symbol.for("react.profiler"),ke=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),ye=Symbol.for("react.suspense_list"),We=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),fe=Symbol.for("react.activity"),Ye=Symbol.for("react.client.reference"),ve=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de=Object.prototype.hasOwnProperty,pt=Array.isArray,ue=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(f){return f()}};var ft,ht={},Ce=v.react_stack_bottom_frame.bind(v,u)(),Le=ue(r(u)),Ze={};tt.Fragment=U,tt.jsx=function(f,y,S){var b=1e4>ve.recentlyCreatedOwnerStacks++;return g(f,y,S,!1,b?Error("react-stack-top-frame"):Ce,b?ue(r(f)):Le)},tt.jsxs=function(f,y,S){var b=1e4>ve.recentlyCreatedOwnerStacks++;return g(f,y,S,!0,b?Error("react-stack-top-frame"):Ce,b?ue(r(f)):Le)}})()),tt}var Qn;function us(){return Qn||(Qn=1,process.env.NODE_ENV==="production"?Tt.exports=ss():Tt.exports=is()),Tt.exports}var ee=us();function pn(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Oe=pn();function br(t){Oe=t}var Re={exec:()=>null};function je(t){let e=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),s=e[r];return s||(s=t(r),e[r]=s),s}}function C(t,e=""){let n=typeof t=="string"?t:t.source,r={replace:(s,u)=>{let l=typeof u=="string"?u:u.source;return l=l.replace(H.caret,"$1"),n=n.replace(s,l),r},getRegex:()=>new RegExp(n,e)};return r}var os=((t="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+t)}catch{return!1}})(),H={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:je(t=>new RegExp(`^ {0,${t}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:je(t=>new RegExp(`^ {0,${t}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:je(t=>new RegExp(`^ {0,${t}}(?:\`\`\`|~~~)`)),headingBeginRegex:je(t=>new RegExp(`^ {0,${t}}#`)),htmlBeginRegex:je(t=>new RegExp(`^ {0,${t}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:je(t=>new RegExp(`^ {0,${t}}>`))},ls=/^(?:[ \t]*(?:\n|$))+/,as=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,cs=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,at=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ps=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,fn=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,kr=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,yr=C(kr).replace(/bull/g,fn).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),fs=C(kr).replace(/bull/g,fn).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),hn=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,hs=/^[^\n]+/,dn=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ds=C(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",dn).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ds=C(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,fn).getRegex(),Pt="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Dn=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,gs=C("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Dn).replace("tag",Pt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Cr=t=>C(hn).replace("hr",at).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",t).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Pt).getRegex(),ms=Cr(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),Fs=Cr(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),As=C(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Fs).getRegex(),gn={blockquote:As,code:as,def:ds,fences:cs,heading:ps,hr:at,html:gs,lheading:yr,list:Ds,newline:ls,paragraph:ms,table:Re,text:hs},Kn=C("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",at).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Pt).getRegex(),Es={...gn,lheading:fs,table:Kn,paragraph:C(hn).replace("hr",at).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Kn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Pt).getRegex()},bs={...gn,html:C(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Dn).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Re,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:C(hn).replace("hr",at).replace("heading",` *#{1,6} *[^
7
+ ]`).replace("lheading",yr).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ks=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ys=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,xr=/^( {2,}|\\)\n(?!\s*$)/,Cs=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,he=/[\p{P}\p{S}]/u,Ge=/[\s\p{P}\p{S}]/u,ct=/[^\s\p{P}\p{S}]/u,xs=C(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Ge).getRegex(),Ts=/[\p{Pi}\p{Ps}"']/u,Tr=/(?!~)[\p{P}\p{S}]/u,_s=/(?!~)[\s\p{P}\p{S}]/u,ws=/(?:[^\s\p{P}\p{S}]|~)/u,Ss=C(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",os?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),_r=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,Rs=C(_r,"u").replace(/punct/g,he).getRegex(),Bs=C(_r,"u").replace(/punct/g,Tr).getRegex(),Os=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,vs=C(Os,"u").replace(/openQuote/g,Ts).replace(/punct/g,he).getRegex(),wr="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ls=C(wr,"gu").replace(/notPunctSpace/g,ct).replace(/punctSpace/g,Ge).replace(/punct/g,he).getRegex(),Ps=C(wr,"gu").replace(/notPunctSpace/g,ws).replace(/punctSpace/g,_s).replace(/punct/g,Tr).getRegex(),$s="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",Is=C($s,"gu").replace(/notPunctSpace/g,ct).replace(/punctSpace/g,Ge).replace(/punct/g,he).getRegex(),Ns=C("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,ct).replace(/punctSpace/g,Ge).replace(/punct/g,he).getRegex(),Ms="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",zs=C(Ms,"gu").replace(/notPunctSpace/g,ct).replace(/punctSpace/g,Ge).replace(/punct/g,he).getRegex(),Us=C(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,he).getRegex(),js="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Hs=C(js,"gu").replace(/notPunctSpace/g,ct).replace(/punctSpace/g,Ge).replace(/punct/g,he).getRegex(),qs=C(/\\(punct)/,"gu").replace(/punct/g,he).getRegex(),Gs=C(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ws=C(Dn).replace("(?:-->|$)","-->").getRegex(),Ys=C("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Ws).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Rt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Zs=C(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Rt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Sr=C(/^!?\[(label)\]\[(ref)\]/).replace("label",Rt).replace("ref",dn).getRegex(),Rr=C(/^!?\[(ref)\](?:\[\])?/).replace("ref",dn).getRegex(),Xs=C("reflink|nolink(?!\\()","g").replace("reflink",Sr).replace("nolink",Rr).getRegex(),Jn=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,mn={_backpedal:Re,anyPunctuation:qs,autolink:Gs,blockSkip:Ss,br:xr,code:ys,del:Re,delLDelim:Re,delRDelim:Re,emStrongLDelim:Rs,emStrongRDelimAst:Ls,emStrongRDelimUnd:Ns,escape:ks,link:Zs,nolink:Rr,punctuation:xs,reflink:Sr,reflinkSearch:Xs,tag:Ys,text:Cs,url:Re},Vs={...mn,emStrongLDelim:vs,emStrongRDelimAst:Is,emStrongRDelimUnd:zs,link:C(/^!?\[(label)\]\((.*?)\)/).replace("label",Rt).getRegex(),reflink:C(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Rt).getRegex()},un={...mn,emStrongRDelimAst:Ps,emStrongLDelim:Bs,delLDelim:Us,delRDelim:Hs,url:C(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Jn).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:C(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Jn).getRegex()},Qs={...un,br:C(xr).replace("{2,}","*").getRegex(),text:C(un.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},_t={normal:gn,gfm:Es,pedantic:bs},nt={normal:mn,gfm:un,breaks:Qs,pedantic:Vs},Ks={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},er=t=>Ks[t];function ce(t,e){if(e){if(H.escapeTest.test(t))return t.replace(H.escapeReplace,er)}else if(H.escapeTestNoEncode.test(t))return t.replace(H.escapeReplaceNoEncode,er);return t}function tr(t){try{t=encodeURI(t).replace(H.percentDecode,"%")}catch{return null}return t}function nr(t,e){let n=t.replace(H.findPipe,(u,l,o)=>{let c=!1,h=l;for(;--h>=0&&o[h]==="\\";)c=!c;return c?"|":" |"}),r=n.split(H.splitPipe),s=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;s<r.length;s++)r[s]=r[s].trim().replace(H.slashPipe,"|");return r}function Ae(t,e,n){let r=t.length;if(r===0)return"";let s=0;for(;s<r&&t.charAt(r-s-1)===e;)s++;return t.slice(0,r-s)}function rr(t){let e=t.split(`
8
+ `),n=e.length-1;for(;n>=0&&H.blankLine.test(e[n]);)n--;return e.length-n<=2?t:e.slice(0,n+1).join(`
9
+ `)}function Js(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let r=0;r<t.length;r++)if(t[r]==="\\")r++;else if(t[r]===e[0])n++;else if(t[r]===e[1]&&(n--,n<0))return r;return n>0?-2:-1}function ei(t,e=0){let n=e,r="";for(let s of t)if(s===" "){let u=4-n%4;r+=" ".repeat(u),n+=u}else r+=s,n++;return r}function sr(t,e,n,r,s){let u=e.href,l=e.title||null,o=t[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let c={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:u,title:l,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,c}function ti(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(r===null)return e;let s=r[1];return e.split(`
10
+ `).map(u=>{let l=u.match(n.other.beginningSpace);if(l===null)return u;let[o]=l;return o.length>=s.length?u.slice(s.length):u}).join(`
11
+ `)}var Bt=class{options;rules;lexer;constructor(t){this.options=t||Oe}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=this.options.pedantic?e[0]:rr(e[0]),r=n.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n,codeBlockStyle:"indented",text:r}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let n=e[0],r=ti(n,e[3]||"",this.rules);return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let n=e[2].trim();if(this.rules.other.endingHash.test(n)){let r=Ae(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:Ae(e[0],`
12
+ `),depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:Ae(e[0],`
13
+ `)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let n=Ae(e[0],`
14
+ `).split(`
15
+ `),r="",s="",u=[];for(;n.length>0;){let l=!1,o=[],c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))o.push(n[c]),l=!0;else if(!l)o.push(n[c]);else break;n=n.slice(c);let h=o.join(`
16
+ `),g=h.replace(this.rules.other.blockquoteSetextReplace,`
17
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
18
+ ${h}`:h,s=s?`${s}
19
+ ${g}`:g;let m=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(g,u,!0),this.lexer.state.top=m,n.length===0)break;let k=u.at(-1);if(k?.type==="code")break;if(k?.type==="blockquote"){let v=k,x=n.join(`
20
+ `),G=v.raw+`
21
+ `+x.replace(this.rules.other.blockquoteSetextReplace2,""),U=this.blockquote(G);u[u.length-1]=U,r=`${r}
22
+ ${x}`,s=s.substring(0,s.length-v.text.length)+U.text;break}else if(k?.type==="list"){let v=k,x=v.raw+`
23
+ `+n.join(`
24
+ `),G=this.list(x);u[u.length-1]=G,r=r.substring(0,r.length-k.raw.length)+G.raw,s=s.substring(0,s.length-v.raw.length)+G.raw,n=x.substring(u.at(-1).raw.length).split(`
25
+ `);continue}}return{type:"blockquote",raw:r,tokens:u,text:s}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim(),r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let u=this.rules.other.listItemRegex(n),l=!1;for(;t;){let c=!1,h="",g="";if(!(e=u.exec(t))||this.rules.block.hr.test(t))break;h=e[0],t=t.substring(h.length);let m=ei(e[2].split(`
26
+ `,1)[0],e[1].length),k=t.split(`
27
+ `,1)[0],v=!m.trim(),x=0;if(this.options.pedantic?(x=2,g=m.trimStart()):v?x=e[1].length+1:(x=m.search(this.rules.other.nonSpaceChar),x=x>4?1:x,g=m.slice(x),x+=e[1].length),v&&this.rules.other.blankLine.test(k)&&(h+=k+`
28
+ `,t=t.substring(k.length+1),c=!0),!c){let G=this.rules.other.nextBulletRegex(x),U=this.rules.other.hrRegex(x),te=this.rules.other.fencesBeginRegex(x),be=this.rules.other.headingBeginRegex(x),ke=this.rules.other.htmlBeginRegex(x),ne=this.rules.other.blockquoteBeginRegex(x);for(;t;){let Q=t.split(`
29
+ `,1)[0],K;if(k=Q,this.options.pedantic?(k=k.replace(this.rules.other.listReplaceNesting," "),K=k):K=k.replace(this.rules.other.tabCharGlobal," "),te.test(k)||be.test(k)||ke.test(k)||ne.test(k)||G.test(k)||U.test(k))break;if(K.search(this.rules.other.nonSpaceChar)>=x||!k.trim())g+=`
30
+ `+K.slice(x);else{if(v||m.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||te.test(m)||be.test(m)||U.test(m))break;g+=`
31
+ `+k}v=!k.trim(),h+=Q+`
32
+ `,t=t.substring(Q.length+1),m=K.slice(x)}}s.loose||(l?s.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(l=!0)),s.items.push({type:"list_item",raw:h,task:!!this.options.gfm&&this.rules.other.listIsTask.test(g),loose:!1,text:g,tokens:[]}),s.raw+=h}let o=s.items.at(-1);if(o)o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd();else return;s.raw=s.raw.trimEnd();for(let c of s.items)if(this.lexer.state.top=!1,c.tokens=this.lexer.blockTokens(c.text,[]),!s.loose){let h=c.tokens.filter(m=>m.type==="space"),g=h.length>0&&h.some(m=>this.rules.other.anyLine.test(m.raw));s.loose=g}for(let c of s.items){let h=c.tokens[0];if(c.task&&(h?.type==="text"||h?.type==="paragraph")){c.text=c.text.replace(this.rules.other.listReplaceTask,""),h.raw=h.raw.replace(this.rules.other.listReplaceTask,""),h.text=h.text.replace(this.rules.other.listReplaceTask,"");for(let m=this.lexer.inlineQueue.length-1;m>=0;m--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[m].src)){this.lexer.inlineQueue[m].src=this.lexer.inlineQueue[m].src.replace(this.rules.other.listReplaceTask,"");break}let g=this.rules.other.listTaskCheckbox.exec(c.raw);if(g){let m={type:"checkbox",raw:g[0]+" ",checked:g[0]!=="[ ]"};c.checked=m.checked,s.loose?c.tokens[0]&&["paragraph","text"].includes(c.tokens[0].type)&&"tokens"in c.tokens[0]&&c.tokens[0].tokens?(c.tokens[0].raw=m.raw+c.tokens[0].raw,c.tokens[0].text=m.raw+c.tokens[0].text,c.tokens[0].tokens.unshift(m)):c.tokens.unshift({type:"paragraph",raw:m.raw,text:m.raw,tokens:[m]}):c.tokens.unshift(m)}}else c.task&&(c.task=!1)}if(s.loose)for(let c of s.items){c.loose=!0;for(let h of c.tokens)h.type==="text"&&(h.type="paragraph")}return s}}html(t){let e=this.rules.block.html.exec(t);if(e){let n=rr(e[0]);return{type:"html",block:!0,raw:n,pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:n}}}def(t){let e=this.rules.block.def.exec(t);if(e){let n=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:n,raw:Ae(e[0],`
33
+ `),href:r,title:s}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=nr(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
34
+ `):[],u={type:"table",raw:Ae(e[0],`
35
+ `),header:[],align:[],rows:[]};if(n.length===r.length){for(let l of r)this.rules.other.tableAlignRight.test(l)?u.align.push("right"):this.rules.other.tableAlignCenter.test(l)?u.align.push("center"):this.rules.other.tableAlignLeft.test(l)?u.align.push("left"):u.align.push(null);for(let l=0;l<n.length;l++)u.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:u.align[l]});for(let l of s)u.rows.push(nr(l,u.header.length).map((o,c)=>({text:o,tokens:this.lexer.inline(o),header:!1,align:u.align[c]})));return u}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e){let n=e[1].trim();return{type:"heading",raw:Ae(e[0],`
36
+ `),depth:e[2].charAt(0)==="="?1:2,text:n,tokens:this.lexer.inline(n)}}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let n=e[1].charAt(e[1].length-1)===`
37
+ `?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:n,tokens:this.lexer.inline(n)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let n=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let u=Ae(n.slice(0,-1),"\\");if((n.length-u.length)%2===0)return}else{let u=Js(e[2],"()");if(u===-2)return;if(u>-1){let l=(e[0].indexOf("!")===0?5:4)+e[1].length+u;e[2]=e[2].substring(0,u),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let r=e[2],s="";if(this.options.pedantic){let u=this.rules.other.pedanticHrefTitle.exec(r);u&&(r=u[1],s=u[3])}else s=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),sr(e,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),s=e[r.toLowerCase()];if(!s){let u=n[0].charAt(0);return{type:"text",raw:u,text:u}}return sr(n,s,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let s=[...r[0]].length-1,u,l,o=s,c=0,h=r[0][0],g=n===h,m=h==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(m.lastIndex=0,e=e.slice(-1*t.length+s);(r=m.exec(e))!==null;){if(u=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!u)continue;if(l=[...u].length,r[3]||r[4]){o+=l;continue}else if(r[5]||r[6]){if(s%3&&!((s+l)%3)){c+=l;continue}if(g)break}if(o-=l,o>0)continue;l=Math.min(l,l+o+c);let k=[...r[0]][0].length,v=t.slice(0,s+r.index+k+l);if(Math.min(s,l)%2){let G=v.slice(1,-1);return{type:"em",raw:v,text:G,tokens:this.lexer.inlineTokens(G)}}let x=v.slice(2,-2);return{type:"strong",raw:v,text:x,tokens:this.lexer.inlineTokens(x)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),s=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&s&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:e[0],text:n}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t,e,n=""){let r=this.rules.inline.delLDelim.exec(t);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let s=[...r[0]].length-1,u,l,o=s,c=this.rules.inline.delRDelim;for(c.lastIndex=0,e=e.slice(-1*t.length+s);(r=c.exec(e))!==null;){if(u=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!u||(l=[...u].length,l!==s))continue;if(r[3]||r[4]){o+=l;continue}if(o-=l,o>0)continue;l=Math.min(l,l+o);let h=[...r[0]][0].length,g=t.slice(0,s+r.index+h+l),m=g.slice(s,-s);return{type:"del",raw:g,text:m,tokens:this.lexer.inlineTokens(m)}}}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let n,r;return e[2]==="@"?(n=e[1],r="mailto:"+n):(n=e[1],r=n),{type:"link",raw:e[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let n,r;if(e[2]==="@")n=e[0],r="mailto:"+n;else{let s;do s=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(s!==e[0]);n=e[0],e[1]==="www."?r="http://"+e[0]:r=e[0]}return{type:"link",raw:e[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let n=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:n}}}},se=class on{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Oe,this.options.tokenizer=this.options.tokenizer||new Bt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:H,block:_t.normal,inline:nt.normal};this.options.pedantic?(n.block=_t.pedantic,n.inline=nt.pedantic):this.options.gfm&&(n.block=_t.gfm,this.options.breaks?n.inline=nt.breaks:n.inline=nt.gfm),this.tokenizer.rules=n}static get rules(){return{block:_t,inline:nt}}static lex(e,n){return new on(n).lex(e)}static lexInline(e,n){return new on(n).inlineTokens(e)}lex(e){e=e.replace(H.carriageReturn,`
38
+ `),this.blockTokens(e,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,n=[],r=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(H.tabCharGlobal," ").replace(H.spaceLine,""));let s=1/0;for(;e;){if(e.length<s)s=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}let u;if(this.options.extensions?.block?.some(o=>(u=o.call({lexer:this},e,n))?(e=e.substring(u.raw.length),n.push(u),!0):!1))continue;if(u=this.tokenizer.space(e)){e=e.substring(u.raw.length);let o=n.at(-1);u.raw.length===1&&o!==void 0?o.raw+=`
39
+ `:n.push(u);continue}if(u=this.tokenizer.code(e)){e=e.substring(u.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
40
+ `)?"":`
41
+ `)+u.raw,o.text+=`
42
+ `+u.text,this.inlineQueue.at(-1).src=o.text):n.push(u);continue}if(u=this.tokenizer.fences(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.heading(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.hr(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.blockquote(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.list(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.html(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.def(e)){e=e.substring(u.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
43
+ `)?"":`
44
+ `)+u.raw,o.text+=`
45
+ `+u.raw,this.inlineQueue.at(-1).src=o.text):this.tokens.links[u.tag]||(this.tokens.links[u.tag]={href:u.href,title:u.title},n.push(u));continue}if(u=this.tokenizer.table(e)){e=e.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.lheading(e)){e=e.substring(u.raw.length),n.push(u);continue}let l=e;if(this.options.extensions?.startBlock){let o=1/0,c=e.slice(1),h;this.options.extensions.startBlock.forEach(g=>{h=g.call({lexer:this},c),typeof h=="number"&&h>=0&&(o=Math.min(o,h))}),o<1/0&&o>=0&&(l=e.substring(0,o+1))}if(this.state.top&&(u=this.tokenizer.paragraph(l))){let o=n.at(-1);r&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(`
46
+ `)?"":`
47
+ `)+u.raw,o.text+=`
48
+ `+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(u),r=l.length!==e.length,e=e.substring(u.raw.length);continue}if(u=this.tokenizer.text(e)){e=e.substring(u.raw.length);let o=n.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(`
49
+ `)?"":`
50
+ `)+u.raw,o.text+=`
51
+ `+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(u);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){this.tokenizer.lexer=this;let r=e;if(this.tokens.links){let o=Object.keys(this.tokens.links);o.length>0&&(r=r.replace(this.tokenizer.rules.inline.reflinkSearch,c=>o.includes(c.slice(c.lastIndexOf("[")+1,-1))?"["+"a".repeat(c.length-2)+"]":c))}r=r.replace(this.tokenizer.rules.inline.anyPunctuation,o=>"+".repeat(o.length)),r=r.replace(this.tokenizer.rules.inline.blockSkip,(o,c,h)=>{let g=h?h.length:0;return o.slice(0,g)+"["+"a".repeat(o.length-g-2)+"]"}),r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let s=!1,u="",l=1/0;for(;e;){if(e.length<l)l=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}s||(u=""),s=!1;let o;if(this.options.extensions?.inline?.some(h=>(o=h.call({lexer:this},e,n))?(e=e.substring(o.raw.length),n.push(o),!0):!1))continue;if(o=this.tokenizer.escape(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.tag(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.link(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);let h=n.at(-1);o.type==="text"&&h?.type==="text"?(h.raw+=o.raw,h.text+=o.text):n.push(o);continue}if(o=this.tokenizer.emStrong(e,r,u)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.codespan(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.br(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.del(e,r,u)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.autolink(e)){e=e.substring(o.raw.length),n.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(e))){e=e.substring(o.raw.length),n.push(o);continue}let c=e;if(this.options.extensions?.startInline){let h=1/0,g=e.slice(1),m;this.options.extensions.startInline.forEach(k=>{m=k.call({lexer:this},g),typeof m=="number"&&m>=0&&(h=Math.min(h,m))}),h<1/0&&h>=0&&(c=e.substring(0,h+1))}if(o=this.tokenizer.inlineText(c)){e=e.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(u=o.raw.slice(-1)),s=!0;let h=n.at(-1);h?.type==="text"?(h.raw+=o.raw,h.text+=o.text):n.push(o);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return n}infiniteLoopError(e){let n="Infinite loop on byte: "+e;if(this.options.silent)console.error(n);else throw new Error(n)}},Ot=class{options;parser;constructor(t){this.options=t||Oe}space(t){return""}code({text:t,lang:e,escaped:n}){let r=(e||"").match(H.notSpaceStart)?.[0],s=t.replace(H.endingNewline,"")+`
52
+ `;return r?'<pre><code class="language-'+ce(r)+'">'+(n?s:ce(s,!0))+`</code></pre>
53
+ `:"<pre><code>"+(n?s:ce(s,!0))+`</code></pre>
54
+ `}blockquote({tokens:t}){return`<blockquote>
55
+ ${this.parser.parse(t)}</blockquote>
56
+ `}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>
57
+ `}hr(t){return`<hr>
58
+ `}list(t){let e=t.ordered,n=t.start,r="";for(let l=0;l<t.items.length;l++){let o=t.items[l];r+=this.listitem(o)}let s=e?"ol":"ul",u=e&&n!==1?' start="'+n+'"':"";return"<"+s+u+`>
59
+ `+r+"</"+s+`>
60
+ `}listitem(t){return`<li>${this.parser.parse(t.tokens)}</li>
61
+ `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
62
+ `}table(t){let e="",n="";for(let s=0;s<t.header.length;s++)n+=this.tablecell(t.header[s]);e+=this.tablerow({text:n});let r="";for(let s=0;s<t.rows.length;s++){let u=t.rows[s];n="";for(let l=0;l<u.length;l++)n+=this.tablecell(u[l]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),`<table>
63
+ <thead>
64
+ `+e+`</thead>
65
+ `+r+`</table>
66
+ `}tablerow({text:t}){return`<tr>
67
+ ${t}</tr>
68
+ `}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>
69
+ `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${ce(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:n}){let r=this.parser.parseInline(n),s=tr(t);if(s===null)return r;t=s;let u='<a href="'+t+'"';return e&&(u+=' title="'+ce(e)+'"'),u+=">"+r+"</a>",u}image({href:t,title:e,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let s=tr(t);if(s===null)return ce(n);t=s;let u=`<img src="${t}" alt="${ce(n)}"`;return e&&(u+=` title="${ce(e)}"`),u+=">",u}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ce(t.text)}},Fn=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},ie=class ln{options;renderer;textRenderer;constructor(e){this.options=e||Oe,this.options.renderer=this.options.renderer||new Ot,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Fn}static parse(e,n){return new ln(n).parse(e)}static parseInline(e,n){return new ln(n).parseInline(e)}parse(e){this.renderer.parser=this;let n="";for(let r=0;r<e.length;r++){let s=e[r];if(this.options.extensions?.renderers?.[s.type]){let l=s,o=this.options.extensions.renderers[l.type].call({parser:this},l);if(o!==!1||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(l.type)){n+=o||"";continue}}let u=s;switch(u.type){case"space":{n+=this.renderer.space(u);break}case"hr":{n+=this.renderer.hr(u);break}case"heading":{n+=this.renderer.heading(u);break}case"code":{n+=this.renderer.code(u);break}case"table":{n+=this.renderer.table(u);break}case"blockquote":{n+=this.renderer.blockquote(u);break}case"list":{n+=this.renderer.list(u);break}case"checkbox":{n+=this.renderer.checkbox(u);break}case"html":{n+=this.renderer.html(u);break}case"def":{n+=this.renderer.def(u);break}case"paragraph":{n+=this.renderer.paragraph(u);break}case"text":{n+=this.renderer.text(u);break}default:{let l='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}parseInline(e,n=this.renderer){this.renderer.parser=this;let r="";for(let s=0;s<e.length;s++){let u=e[s];if(this.options.extensions?.renderers?.[u.type]){let o=this.options.extensions.renderers[u.type].call({parser:this},u);if(o!==!1||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(u.type)){r+=o||"";continue}}let l=u;switch(l.type){case"escape":{r+=n.text(l);break}case"html":{r+=n.html(l);break}case"link":{r+=n.link(l);break}case"image":{r+=n.image(l);break}case"checkbox":{r+=n.checkbox(l);break}case"strong":{r+=n.strong(l);break}case"em":{r+=n.em(l);break}case"codespan":{r+=n.codespan(l);break}case"br":{r+=n.br(l);break}case"del":{r+=n.del(l);break}case"text":{r+=n.text(l);break}default:{let o='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}},ot=class{options;block;constructor(t){this.options=t||Oe}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(t=this.block){return t?se.lex:se.lexInline}provideParser(t=this.block){return t?ie.parse:ie.parseInline}},Br=class{defaults=pn();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ie;Renderer=Ot;TextRenderer=Fn;Lexer=se;Tokenizer=Bt;Hooks=ot;constructor(...t){this.use(...t)}walkTokens(t,e){let n=[];for(let r of t)switch(n=n.concat(e.call(this,r)),r.type){case"table":{let s=r;for(let u of s.header)n=n.concat(this.walkTokens(u.tokens,e));for(let u of s.rows)for(let l of u)n=n.concat(this.walkTokens(l.tokens,e));break}case"list":{let s=r;n=n.concat(this.walkTokens(s.items,e));break}default:{let s=r;this.defaults.extensions?.childTokens?.[s.type]?this.defaults.extensions.childTokens[s.type].forEach(u=>{let l=s[u].flat(1/0);n=n.concat(this.walkTokens(l,e))}):s.tokens&&(n=n.concat(this.walkTokens(s.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){let u=e.renderers[s.name];u?e.renderers[s.name]=function(...l){let o=s.renderer.apply(this,l);return o===!1&&(o=u.apply(this,l)),o}:e.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let u=e[s.level];u?u.unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),r.extensions=e),n.renderer){let s=this.defaults.renderer||new Ot(this.defaults);for(let u in n.renderer){if(!(u in s))throw new Error(`renderer '${u}' does not exist`);if(["options","parser"].includes(u))continue;let l=u,o=n.renderer[l],c=s[l];s[l]=(...h)=>{let g=o.apply(s,h);return g===!1&&(g=c.apply(s,h)),g||""}}r.renderer=s}if(n.tokenizer){let s=this.defaults.tokenizer||new Bt(this.defaults);for(let u in n.tokenizer){if(!(u in s))throw new Error(`tokenizer '${u}' does not exist`);if(["options","rules","lexer"].includes(u))continue;let l=u,o=n.tokenizer[l],c=s[l];s[l]=(...h)=>{let g=o.apply(s,h);return g===!1&&(g=c.apply(s,h)),g}}r.tokenizer=s}if(n.hooks){let s=this.defaults.hooks||new ot;for(let u in n.hooks){if(!(u in s))throw new Error(`hook '${u}' does not exist`);if(["options","block"].includes(u))continue;let l=u,o=n.hooks[l],c=s[l];ot.passThroughHooks.has(u)?s[l]=h=>{if(this.defaults.async&&ot.passThroughHooksRespectAsync.has(u))return(async()=>{let m=await o.call(s,h);return c.call(s,m)})();let g=o.call(s,h);return c.call(s,g)}:s[l]=(...h)=>{if(this.defaults.async)return(async()=>{let m=await o.apply(s,h);return m===!1&&(m=await c.apply(s,h)),m})();let g=o.apply(s,h);return g===!1&&(g=c.apply(s,h)),g}}r.hooks=s}if(n.walkTokens){let s=this.defaults.walkTokens,u=n.walkTokens;r.walkTokens=function(l){let o=[];return o.push(u.call(this,l)),s&&(o=o.concat(s.call(this,l))),o}}this.defaults={...this.defaults,...r}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return se.lex(t,e??this.defaults)}parser(t,e){return ie.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let r={...n},s={...this.defaults,...r},u=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&r.async===!1)return u(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return u(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let l=s.hooks?await s.hooks.preprocess(e):e,o=await(s.hooks?await s.hooks.provideLexer(t):t?se.lex:se.lexInline)(l,s),c=s.hooks?await s.hooks.processAllTokens(o):o;s.walkTokens&&await Promise.all(this.walkTokens(c,s.walkTokens));let h=await(s.hooks?await s.hooks.provideParser(t):t?ie.parse:ie.parseInline)(c,s);return s.hooks?await s.hooks.postprocess(h):h})().catch(u);try{s.hooks&&(e=s.hooks.preprocess(e));let l=(s.hooks?s.hooks.provideLexer(t):t?se.lex:se.lexInline)(e,s);s.hooks&&(l=s.hooks.processAllTokens(l)),s.walkTokens&&this.walkTokens(l,s.walkTokens);let o=(s.hooks?s.hooks.provideParser(t):t?ie.parse:ie.parseInline)(l,s);return s.hooks&&(o=s.hooks.postprocess(o)),o}catch(l){return u(l)}}}onError(t,e){return n=>{if(n.message+=`
70
+ Please report this to https://github.com/markedjs/marked.`,t){let r="<p>An error occurred:</p><pre>"+ce(n.message+"",!0)+"</pre>";return e?Promise.resolve(r):r}if(e)return Promise.reject(n);throw n}}},Be=new Br;function _(t,e){return Be.parse(t,e)}_.options=_.setOptions=function(t){return Be.setOptions(t),_.defaults=Be.defaults,br(_.defaults),_};_.getDefaults=pn;_.defaults=Oe;function ni(...t){return Be.use(...t),_.defaults=Be.defaults,br(_.defaults),_}_.use=ni;_.walkTokens=function(t,e){return Be.walkTokens(t,e)};_.parseInline=Be.parseInline;_.Parser=ie;_.parser=ie.parse;_.Renderer=Ot;_.TextRenderer=Fn;_.Lexer=se;_.lexer=se.lex;_.Tokenizer=Bt;_.Hooks=ot;_.parse=_;_.options;_.setOptions;_.walkTokens;_.parseInline;ie.parse;se.lex;const ri=/[\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,si=Object.hasOwnProperty;class ii{constructor(){this.occurrences,this.reset()}slug(e,n){const r=this;let s=ui(e,n===!0);const u=s;for(;si.call(r.occurrences,s);)r.occurrences[u]++,s=u+"-"+r.occurrences[u];return r.occurrences[s]=0,s}reset(){this.occurrences=Object.create(null)}}function ui(t,e){return typeof t!="string"?"":(e||(t=t.toLowerCase()),t.replace(ri,"").replace(/ /g,"-"))}const oi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},li=t=>String(t).replace(/[&<>"']/g,e=>oi[e]??e),ai=t=>Array.from(t).filter(e=>{const n=e.codePointAt(0)??0;return n>31&&n!==127}).join(""),vt=t=>{if(t==null||t==="")return;const e=ai(String(t)).trim();if(!/^(?:javascript|vbscript|file):/i.test(e)&&!/^data:/i.test(e))return e},ci=t=>Object.entries(t).filter(([,e])=>e!=null&&e!==!1&&e!=="").map(([e,n])=>n===!0?` ${e}`:` ${e}="${li(n)}"`).join(""),L=(...t)=>t.filter(Boolean).join(" ").split(/\s+/).filter(Boolean).join(" "),pi={h1:A.styles.headingStyle.h1,h2:A.styles.headingStyle.h2,h3:A.styles.headingStyle.h3,h4:A.styles.headingStyle.h4,h5:A.styles.headingStyle.h5,h6:A.styles.headingStyle.h6,ul:A.styles.ulStyle,ol:A.styles.olStyle,pre:A.styles.preStyle,code:A.styles.codeStyle,table:A.styles.tableBorderStyle,caption:A.styles.captionStyle,th:L(A.styles.thStyle,A.styles.tableBorderStyle),tr:A.styles.tableBorderStyle,td:L(A.styles.tdStyle,A.styles.tableBorderStyle),a:A.styles.linkStyle},fi=t=>t.hasAttribute("data-sakura"),hi=(t,e)=>{const n=L(t.getAttribute("class")??"",e);n&&t.setAttribute("class",n)},di=new Set(["h1","h2","h3","h4","h5","h6"]),Di=(t,e)=>{if(t.querySelector("[data-sakura-new-tab]"))return;const n=e.createElement("span");n.setAttribute("aria-hidden","true"),n.setAttribute("data-sakura-new-tab","true"),n.setAttribute("class",L(A.styles.iconSizeStyle[16],A.styles.iconStyle,"ml-0.5")),n.textContent="open_in_new";const r=e.createElement("span");r.setAttribute("class","sr-only"),r.textContent="Opens in new tab",t.append(n,r)},gi=t=>Math.min(6,Math.max(1,t)),mi=(t,e,n)=>{const{shiftHeading:r,tocMaxDepth:s}=n,u=new ii,l=[];if(r!==0)for(const o of Array.from(t.querySelectorAll("h1,h2,h3,h4,h5,h6"))){const c=Number(o.tagName[1]),h=e.createElement(`h${gi(c+r)}`);for(const g of Array.from(o.attributes))h.setAttribute(g.name,g.value);h.innerHTML=o.innerHTML,o.replaceWith(h)}for(const o of Array.from(t.querySelectorAll("*"))){const c=o.tagName.toLowerCase();if(di.has(c)){const g=o.textContent??"",m=o.getAttribute("id");m&&u.slug(m);const k=m||u.slug(g);o.setAttribute("id",k),l.push({id:k,depth:Number(c[1])-r,value:g})}if(fi(o))continue;c==="a"&&((o.getAttribute("href")??"").startsWith("http")||o.getAttribute("target")==="_blank")&&(o.setAttribute("target","_blank"),o.setAttribute("rel","noopener noreferrer"),Di(o,e));const h=pi[c];h&&hi(o,h)}for(const o of Array.from(t.querySelectorAll("table"))){if(o.parentElement?.dataset?.sakuraTableContainer==="true")continue;const h=e.createElement("div");h.setAttribute("class",L(A.styles.overflowContainerStyle)),h.dataset.sakuraTableContainer="true",o.replaceWith(h),h.appendChild(o)}return{headings:l.filter(o=>o.depth<=s)}},Kt=/([#.])?([A-Za-z_:][-A-Za-z0-9_.:]*)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'{}]+)))?/g,Or="#id",Fi=t=>{const e={};if(!t)return e;Kt.lastIndex=0;let n=Kt.exec(t);for(;n!==null;){const[,r,s,u,l,o]=n,c=u??l??o;r==="#"?e[Or]=s:r==="."?e.class=e.class?`${e.class} ${s}`:s:e[s]=c??"",n=Kt.exec(t)}return e},ir=(t,e,n,r)=>{if(t[e]!==n)return null;let s=0;for(let u=e;u<t.length;u++){const l=t[u];if(l==="\\"){u++;continue}if(l===`
71
+ `)return null;if(l===n)s++;else if(l===r&&(s--,s===0))return{value:t.slice(e+1,u),end:u+1}}return null},vr=(t,e)=>{let n=null;const r=ir(t,e,"[","]");r&&(n=r.value,e=r.end);let s={};const u=ir(t,e,"{","}");return u&&(s=Fi(u.value),e=u.end),{label:n,attrs:s,end:e}},J="container",pe="leaf",Lt="text",Ai={card:[J],"card-img":[pe],"card-title":[pe,J],"card-description":[pe,J],"card-footer":[pe,J],faq:[J],"faq-q":[pe,J],"faq-a":[pe,J],cell:[J],"cell-img":[pe],youtube:[pe,J],"link-button":[Lt]},Lr=/^grid-cols-(?:1[0-2]|[1-9])$/,Pr=(t,e)=>Lr.test(t)?e===J:(Ai[t]??[]).includes(e),Ei=L(A.styles.cardImgStyle,"w-full aspect-[352/226]"),bi=(t,e)=>`<span aria-hidden="true" class="${L(A.styles.iconSizeStyle[16],A.styles.iconStyle)}">${t}</span><span class="sr-only">${e}</span>`,ki={card:({token:t,attrs:e,root:n,body:r,nl:s})=>{const u=!!t.linked,l=L(A.styles.cardStyle,u&&A.styles.linkCardPositionStyle,u&&A.styles.linkCardHoverStyle,u&&A.styles.linkCardFocusStyle,e.class),o=`<div${n({class:l})}>${r()}</div>`;return t.listed?`<li class="sm:grid">${o}</li>${s}`:`${o}${s}`},"card-img":({attrs:t,root:e,nl:n})=>`<img${e({class:L(Ei,t.class),src:vt(t.src),alt:t.alt??""})}>${n}`,"card-title":({token:t,attrs:e,root:n,own:r,body:s,nl:u,options:l})=>{const o=l.cardHeadingLevel,c=t.inherited?vt(t.inherited.href):void 0;return c?`<${o}${n({class:L(A.styles.cardHeaderStyle,A.styles.linkCardHeadingStyle)})}><a${r({class:L(A.styles.linkCardOverlayStyle),href:c})}>${s()}</a></${o}>${u}`:`<${o}${n({class:L(A.styles.cardHeaderStyle,e.class)})}>${s()}</${o}>${u}`},"card-description":({attrs:t,root:e,body:n,nl:r})=>`<div${e({class:L(A.styles.cardBodyStyle,t.class)})}>${n()}</div>${r}`,"card-footer":({token:t,attrs:e,root:n,body:r,nl:s})=>{const u=!!t.inherited,l=L(A.styles.cardFooterPositionStyle,A.styles.cardBodyStyle,u&&A.styles.linkCardFooterStyle,e.class);if(u){const o=`<span class="${L(A.styles.linkCardArrowStyle,A.styles.linkCardArrowHoverStyle)}">${bi("arrow_forward","")}</span>`;return`<div${n({class:l})}><span>${r()}</span>${o}</div>${s}`}return`<div${n({class:l})}>${r()}</div>${s}`}},yi={faq:({root:t,body:e,nl:n})=>`<dl${t({class:L(A.styles.faqStyle)})}>${e()}</dl>${n}`,"faq-q":({root:t,body:e,nl:n})=>`<dt${t({class:L(A.styles.questionStyle,A.styles.faqMarkerStyle)})}><span aria-hidden="true">Q</span><span>${e()}</span></dt>${n}`,"faq-a":({root:t,body:e,nl:n})=>`<dd${t({class:L(A.styles.answerStyle)})}><span class="${L(A.styles.faqMarkerStyle,"!leading-none")}" aria-hidden="true">A</span><span>${e()}</span></dd>${n}`},Ci={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"},xi=({token:t,root:e,body:n,nl:r})=>{const s=Number(t.name.slice(10)),u=L("flex flex-col md:grid",Ci[s],"gap-8"),l=t.listed?"ul":"div";return`<${l}${e({class:u})}>${n()}</${l}>${r}`},Ti={cell:({attrs:t,root:e,body:n,nl:r})=>`<div${e({class:t.class})}>${n()}</div>${r}`,"cell-img":({attrs:t,root:e,nl:n})=>`<img${e({class:L("mb-4",t.class),src:vt(t.src),alt:t.alt??""})}>${n}`},_i=L(A.styles.buttonBaseStyle,A.styles.getButtonVariantStyle("secondary"),A.styles.getButtonSizeStyle("lg")),wi={"link-button":({attrs:t,root:e,body:n})=>`<a${e({class:_i,href:vt(t.href)})}>${n()}</a>`},Si="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",Ri="strict-origin-when-cross-origin",Bi=/^[\w-]{11}$/,Oi=/(?:youtu\.be\/|[?&]v=|\/embed\/|\/shorts\/)([\w-]{11})/,vi=t=>t?Bi.test(t)?t:Oi.exec(t)?.[1]??t:"",Li={youtube:({token:t,attrs:e,root:n,nl:r,parser:s})=>{const u=s.parseInline(t.tokens,s.textRenderer);return`<iframe${n({title:u,src:`https://www.youtube-nocookie.com/embed/${encodeURIComponent(vi(e.video))}`,class:"aspect-video w-full max-w-[470px]",style:e.width?`width:${e.width}px`:void 0,frameborder:"0",allow:Si,referrerpolicy:Ri,allowfullscreen:!0,loading:"lazy"})}></iframe>${r}`}},Pi={...ki,...Ti,...yi,...Li,...wi},$i=t=>Pi[t]??(Lr.test(t)?xi:void 0);function Ii(t,e){const{name:n,kind:r,attrs:s,tokens:u}=t,l=r===Lt?"":`
72
+ `,o=g=>ci({...g,"data-sakura":n}),c={token:t,attrs:s,nl:l,own:o,root:g=>o({...g,id:s[Or]}),body:()=>r===J?this.parser.parse(u):this.parser.parseInline(u),parser:this.parser,options:e},h=$i(n);return h?h(c):c.body()+l}const Ni=/^(:{2,})([A-Za-z][A-Za-z0-9_-]*)/,Mi=/^:([A-Za-z][A-Za-z0-9_-]*)/,zi=(t,e)=>{const n=new RegExp(`^:{${e},}[ \\t]*$`);let r=0;for(const s of t.split(`
73
+ `)){if(n.test(s))return{contentEnd:r,rawEnd:Math.min(r+s.length+1,t.length)};r+=s.length+1}return null},Ui=t=>{const e=/\n:{2,}[A-Za-z]/.exec(t);return e?e.index:void 0},ji=t=>{const e=/:[A-Za-z][A-Za-z0-9_-]*\[/.exec(t);return e?e.index:void 0},Hi=t=>{if(!/^grid-cols-\d+$/.test(t.name))return;const e=t.tokens.filter(r=>r.type!=="space"),n=e.filter(r=>r.type==="directive"&&r.name==="card");if(!(n.length===0||n.length!==e.length)){t.listed=!0;for(const r of n)r.listed=!0}},qi=t=>{if(t.name!=="card"||!t.attrs.href)return;const e=t.tokens;if(e.some(r=>r.type==="directive"&&r.name==="card-title")){t.linked=!0;for(const r of e)r.type==="directive"&&(r.name==="card-title"||r.name==="card-footer")&&(r.inherited={behavior:"link",href:t.attrs.href??""})}};function Gi(t){const e=Ni.exec(t);if(!e)return;const[,n,r]=e,s=n.length>=3?J:pe;if(!Pr(r,s))return;const u=vr(t,e[0].length),l=/^[ \t]*(?:\n|$)/.exec(t.slice(u.end));if(!l)return;const o=u.end+l[0].length,c={type:"directive",kind:s,name:r,attrs:u.attrs,tokens:[],raw:t.slice(0,o)};if(s===pe)return u.label&&this.lexer.inline(u.label,c.tokens),c;const h=t.slice(o),g=zi(h,n.length);return c.raw=t.slice(0,o+(g?g.rawEnd:h.length)),c.tokens=this.lexer.blockTokens(g?h.slice(0,g.contentEnd):h),qi(c),Hi(c),c}function Wi(t){const e=Mi.exec(t);if(!e)return;const[,n]=e;if(!Pr(n,Lt))return;const r=vr(t,e[0].length);if(r.label!==null)return{type:"directive",kind:Lt,name:n,attrs:r.attrs,tokens:this.lexer.inlineTokens(r.label),raw:t.slice(0,r.end)}}const Yi=t=>({extensions:[{name:"directive",level:"inline",start:ji,tokenizer:Wi},{name:"directive",level:"block",start:Ui,tokenizer:Gi,renderer(e){return Ii.call(this,e,t)}}]});function ur(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Zi(t){if(Array.isArray(t))return t}function Xi(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,s,u,l,o=[],c=!0,h=!1;try{if(u=(n=n.call(t)).next,e!==0)for(;!(c=(r=u.call(n)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(g){h=!0,s=g}finally{try{if(!c&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw s}}return o}}function Vi(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
74
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qi(t,e){return Zi(t)||Xi(t,e)||Ki(t,e)||Vi()}function Ki(t,e){if(t){if(typeof t=="string")return ur(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ur(t,e):void 0}}const $r=Object.entries,or=Object.setPrototypeOf,Ji=Object.isFrozen,eu=Object.getPrototypeOf,tu=Object.getOwnPropertyDescriptor;let N=Object.freeze,z=Object.seal,He=Object.create,Ir=typeof Reflect<"u"&&Reflect,an=Ir.apply,cn=Ir.construct;N||(N=function(e){return e});z||(z=function(e){return e});an||(an=function(e,n){for(var r=arguments.length,s=new Array(r>2?r-2:0),u=2;u<r;u++)s[u-2]=arguments[u];return e.apply(n,s)});cn||(cn=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return new e(...r)});const Se=I(Array.prototype.forEach),nu=I(Array.prototype.lastIndexOf),lr=I(Array.prototype.pop),rt=I(Array.prototype.push),ru=I(Array.prototype.splice),qe=Array.isArray,lt=I(String.prototype.toLowerCase),Jt=I(String.prototype.toString),ar=I(String.prototype.match),st=I(String.prototype.replace),cr=I(String.prototype.indexOf),su=I(String.prototype.trim),iu=I(Number.prototype.toString),uu=I(Boolean.prototype.toString),pr=typeof BigInt>"u"?null:I(BigInt.prototype.toString),fr=typeof Symbol>"u"?null:I(Symbol.prototype.toString),Z=I(Object.prototype.hasOwnProperty),it=I(Object.prototype.toString),j=I(RegExp.prototype.test),we=ou(TypeError);function I(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return an(t,e,r)}}function ou(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return cn(t,n)}}function T(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:lt;if(or&&or(t,null),!qe(e))return t;let r=e.length;for(;r--;){let s=e[r];if(typeof s=="string"){const u=n(s);u!==s&&(Ji(e)||(e[r]=u),s=u)}t[s]=!0}return t}function lu(t){for(let e=0;e<t.length;e++)Z(t,e)||(t[e]=null);return t}function V(t){const e=He(null);for(const r of $r(t)){var n=Qi(r,2);const s=n[0],u=n[1];Z(t,s)&&(qe(u)?e[s]=lu(u):u&&typeof u=="object"&&u.constructor===Object?e[s]=V(u):e[s]=u)}return e}function au(t){switch(typeof t){case"string":return t;case"number":return iu(t);case"boolean":return uu(t);case"bigint":return pr?pr(t):"0";case"symbol":return fr?fr(t):"Symbol()";case"undefined":return it(t);case"function":case"object":{if(t===null)return it(t);const e=t,n=re(e,"toString");if(typeof n=="function"){const r=n(e);return typeof r=="string"?r:it(r)}return it(t)}default:return it(t)}}function re(t,e){for(;t!==null;){const r=tu(t,e);if(r){if(r.get)return I(r.get);if(typeof r.value=="function")return I(r.value)}t=eu(t)}function n(){return null}return n}function cu(t){try{return j(t,""),!0}catch{return!1}}const hr=N(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),en=N(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),tn=N(["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"]),pu=N(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),nn=N(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),fu=N(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),dr=N(["#text"]),Dr=N(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),rn=N(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),gr=N(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),wt=N(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),hu=z(/{{[\w\W]*|^[\w\W]*}}/g),du=z(/<%[\w\W]*|^[\w\W]*%>/g),Du=z(/\${[\w\W]*/g),gu=z(/^data-[\-\w.\u00B7-\uFFFF]+$/),mu=z(/^aria-[\-\w]+$/),mr=z(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fu=z(/^(?:\w+script|data):/i),Au=z(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Eu=z(/^html$/i),bu=z(/^[a-z][.\w]*(-[.\w]+)+$/i),Fr=z(/<[/\w!]/g),Ar=z(/<[/\w]/g),ku=z(/<\/no(script|embed|frames)/i),yu=z(/\/>/i),X={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Nr=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],Cu=N(T({},Nr)),xu=(function(){const t={};return Se(Nr,e=>{t[e]=z(new RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))}),N(t)})(),Tu=function(){return typeof window>"u"?null:window},_u=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const s="data-tt-policy-suffix";n&&n.hasAttribute(s)&&(r=n.getAttribute(s));const u="dompurify"+(r?"#"+r:"");try{return e.createPolicy(u,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},Er=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Ee=function(e,n,r,s){return Z(e,n)&&qe(e[n])?T(s.base?V(s.base):{},e[n],s.transform):r},sn=function(e,n,r){const s=Z(e,n)?e[n]:void 0;return s&&typeof s=="object"?V(s):r()};function Mr(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tu();const e=d=>Mr(d);if(e.version="3.4.14",e.removed=[],!t||!t.document||t.document.nodeType!==X.document||!t.Element)return e.isSupported=!1,e;let n=t.document;const r=n,s=r.currentScript;t.DocumentFragment;const u=t.HTMLTemplateElement,l=t.Node,o=t.Element,c=t.NodeFilter,h=t.NamedNodeMap;h===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const g=t.DOMParser,m=t.trustedTypes,k=o.prototype,v=re(k,"cloneNode"),x=re(k,"remove"),G=re(k,"nextSibling"),U=re(k,"childNodes"),te=re(k,"parentNode"),be=re(k,"shadowRoot"),ke=re(k,"attributes"),ne=l&&l.prototype?re(l.prototype,"nodeType"):null,Q=l&&l.prototype?re(l.prototype,"nodeName"):null,K=l&&l.prototype?re(l.prototype,"ownerDocument"):null,ye=function(i){return ne?ne(i):i.nodeType},We=function(i){return Q?Q(i):i.nodeName};if(typeof u=="function"){const d=n.createElement("template");d.content&&d.content.ownerDocument&&(n=d.content.ownerDocument)}let M,fe="",Ye,ve=!1,de=0;const pt=function(){if(de>0)throw we('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ue=function(i){pt(),de++;try{return M.createHTML(i)}finally{de--}},ft=function(i){pt(),de++;try{return M.createScriptURL(i)}finally{de--}},ht=function(){return ve||(Ye=_u(m,s),ve=!0),Ye},Ce=n,Le=Ce.implementation,Ze=Ce.createNodeIterator,f=Ce.createDocumentFragment,y=Ce.getElementsByTagName,S=r.importNode;let b=Er();e.isSupported=typeof $r=="function"&&typeof te=="function"&&Le&&Le.createHTMLDocument!==void 0;const Pe=hu,Xe=du,P=Du,De=gu,Ve=mu,$t=Fu,En=Au,Ur=bu;let bn=mr,R=null;const It=T({},[...hr,...en,...tn,...nn,...dr]);let B=null;const Nt=T({},[...Dr,...rn,...gr,...wt]);let oe=Object.seal(He(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Qe=null,kn=null;const ge=Object.seal(He(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let yn=!0,Mt=!0,Cn=!1,xn=!0,me=!1,xe=!0,Te=!1,zt=!1,dt=null,Dt=null,Ut=!1,$e=!1,gt=!1,mt=!1,Tn=!0,_n=!1;const wn="user-content-";let jt=!0,Ht=!1,Ie={},Ne=null;const Sn=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Rn=null;const Bn=T({},["audio","video","img","source","image","track"]);let On=null;const vn=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ft="http://www.w3.org/1998/Math/MathML",At="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xhtml";let Me=le,qt=!1,Gt=null;const jr=T({},[Ft,At,le],Jt),Ln=N(["mi","mo","mn","ms","mtext"]);let Wt=T({},Ln);const Pn=N(["annotation-xml"]);let Yt=T({},Pn);const Hr=T({},["title","style","font","a","script"]);let Ke=null;const qr=["application/xhtml+xml","text/html"],Gr="text/html";let $=null,ze=null;const Wr=n.createElement("form"),$n=function(i){return i instanceof RegExp||i instanceof Function},Zt=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ze&&ze===i)return;(!i||typeof i!="object")&&(i={}),i=V(i),Ke=qr.indexOf(i.PARSER_MEDIA_TYPE)===-1?Gr:i.PARSER_MEDIA_TYPE,$=Ke==="application/xhtml+xml"?Jt:lt,R=Ee(i,"ALLOWED_TAGS",It,{transform:$}),B=Ee(i,"ALLOWED_ATTR",Nt,{transform:$}),Gt=Ee(i,"ALLOWED_NAMESPACES",jr,{transform:Jt}),On=Ee(i,"ADD_URI_SAFE_ATTR",vn,{transform:$,base:vn}),Rn=Ee(i,"ADD_DATA_URI_TAGS",Bn,{transform:$,base:Bn}),Ne=Ee(i,"FORBID_CONTENTS",Sn,{transform:$}),Qe=Ee(i,"FORBID_TAGS",V({}),{transform:$}),kn=Ee(i,"FORBID_ATTR",V({}),{transform:$}),Ie=Z(i,"USE_PROFILES")?i.USE_PROFILES&&typeof i.USE_PROFILES=="object"?V(i.USE_PROFILES):i.USE_PROFILES:!1,yn=i.ALLOW_ARIA_ATTR!==!1,Mt=i.ALLOW_DATA_ATTR!==!1,Cn=i.ALLOW_UNKNOWN_PROTOCOLS||!1,xn=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=i.SAFE_FOR_TEMPLATES||!1,xe=i.SAFE_FOR_XML!==!1,Te=i.WHOLE_DOCUMENT||!1,$e=i.RETURN_DOM||!1,gt=i.RETURN_DOM_FRAGMENT||!1,mt=i.RETURN_TRUSTED_TYPE||!1,Ut=i.FORCE_BODY||!1,Tn=i.SANITIZE_DOM!==!1,_n=i.SANITIZE_NAMED_PROPS||!1,jt=i.KEEP_CONTENT!==!1,Ht=i.IN_PLACE||!1,bn=cu(i.ALLOWED_URI_REGEXP)?i.ALLOWED_URI_REGEXP:mr,Me=typeof i.NAMESPACE=="string"?i.NAMESPACE:le,Wt=sn(i,"MATHML_TEXT_INTEGRATION_POINTS",()=>T({},Ln)),Yt=sn(i,"HTML_INTEGRATION_POINTS",()=>T({},Pn));const a=sn(i,"CUSTOM_ELEMENT_HANDLING",()=>He(null));if(oe=He(null),Z(a,"tagNameCheck")&&$n(a.tagNameCheck)&&(oe.tagNameCheck=a.tagNameCheck),Z(a,"attributeNameCheck")&&$n(a.attributeNameCheck)&&(oe.attributeNameCheck=a.attributeNameCheck),Z(a,"allowCustomizedBuiltInElements")&&typeof a.allowCustomizedBuiltInElements=="boolean"&&(oe.allowCustomizedBuiltInElements=a.allowCustomizedBuiltInElements),z(oe),me&&(Mt=!1),gt&&($e=!0),Ie&&(R=T({},dr),B=He(null),Ie.html===!0&&(T(R,hr),T(B,Dr)),Ie.svg===!0&&(T(R,en),T(B,rn),T(B,wt)),Ie.svgFilters===!0&&(T(R,tn),T(B,rn),T(B,wt)),Ie.mathMl===!0&&(T(R,nn),T(B,gr),T(B,wt))),ge.tagCheck=null,ge.attributeCheck=null,Z(i,"ADD_TAGS")&&(typeof i.ADD_TAGS=="function"?ge.tagCheck=i.ADD_TAGS:qe(i.ADD_TAGS)&&(R===It&&(R=V(R)),T(R,i.ADD_TAGS,$))),Z(i,"ADD_ATTR")&&(typeof i.ADD_ATTR=="function"?ge.attributeCheck=i.ADD_ATTR:qe(i.ADD_ATTR)&&(B===Nt&&(B=V(B)),T(B,i.ADD_ATTR,$))),Z(i,"ADD_FORBID_CONTENTS")&&qe(i.ADD_FORBID_CONTENTS)&&(Ne===Sn&&(Ne=V(Ne)),T(Ne,i.ADD_FORBID_CONTENTS,$)),jt&&(R["#text"]=!0),Te&&T(R,["html","head","body"]),R.table&&(T(R,["tbody"]),delete Qe.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw we('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw we('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const p=M;M=i.TRUSTED_TYPES_POLICY;try{fe=ue("")}catch(D){throw M=p,D}}else i.TRUSTED_TYPES_POLICY===null?(M=void 0,fe=""):(M===void 0&&(M=ht()),M&&typeof fe=="string"&&(fe=ue("")));N&&N(i),ze=i},In=T({},[...en,...tn,...pu]),Nn=T({},[...nn,...fu]),Yr=function(i,a,p){return a.namespaceURI===le?i==="svg":a.namespaceURI===Ft?i==="svg"&&(p==="annotation-xml"||Wt[p]):!!In[i]},Zr=function(i,a,p){return a.namespaceURI===le?i==="math":a.namespaceURI===At?i==="math"&&Yt[p]:!!Nn[i]},Xr=function(i,a,p){return a.namespaceURI===At&&!Yt[p]||a.namespaceURI===Ft&&!Wt[p]?!1:!Nn[i]&&(Hr[i]||!In[i])},Vr=function(i){let a=te(i);(!a||!a.tagName)&&(a={namespaceURI:Me,tagName:"template"});const p=lt(i.tagName),D=lt(a.tagName);return Gt[i.namespaceURI]?i.namespaceURI===At?Yr(p,a,D):i.namespaceURI===Ft?Zr(p,a,D):i.namespaceURI===le?Xr(p,a,D):!!(Ke==="application/xhtml+xml"&&Gt[i.namespaceURI]):!1},Fe=function(i){rt(e.removed,{element:i});try{te(i).removeChild(i)}catch{if(x(i),!te(i))throw we("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Mn=function(i,a,p){try{i.removeAttributeNode(a)}catch{try{i.removeAttribute(p)}catch{}}},Et=function(i){bt(i);const a=U(i);if(a){const D=[];Se(a,F=>{rt(D,F)}),Se(D,F=>{try{x(F)}catch{}})}const p=ke(i);if(p)for(let D=p.length-1;D>=0;--D){const F=p[D],E=F&&F.name;typeof E=="string"&&Mn(i,F,E)}},_e=function(i,a,p){if(!p)try{p=a.getAttributeNode(i)}catch{p=null}rt(e.removed,{attribute:p||null,from:a});try{p?a.removeAttributeNode(p):a.removeAttribute(i)}catch{try{a.removeAttribute(i)}catch{}}if(i==="is")if($e||gt)try{Fe(a)}catch{}else try{a.setAttribute(i,"")}catch{}},Qr=function(i){const a=ke(i);if(a)for(let p=a.length-1;p>=0;--p){const D=a[p],F=D&&D.name;typeof F!="string"||B[$(F)]||Mn(i,D,F)}},bt=function(i){const a=[i];for(;a.length>0;){const p=a.pop();ye(p)===X.element&&Qr(p);const F=U(p);if(F)for(let E=F.length-1;E>=0;--E)a.push(F[E])}},zn=function(i,a){return xe?i==="patchsrc"?!0:i==="for"&&a!=="label"&&a!=="output":!1},Kr=function(i){if(!xe)return;const a=[i];for(;a.length>0;){const p=a.pop(),D=ye(p);if(D===X.processingInstruction||D===X.comment&&j(Ar,p.data)){try{x(p)}catch{}continue}if(D===X.element){const E=p,w=$(We(p));try{E.hasAttribute&&E.hasAttribute("patchsrc")&&E.removeAttribute("patchsrc"),E.hasAttribute&&E.hasAttribute("for")&&zn("for",w)&&E.removeAttribute("for")}catch{}}const F=U(p);if(F)for(let E=F.length-1;E>=0;--E)a.push(F[E])}},Un=function(i){let a=null,p=null;if(Ut)i="<remove></remove>"+i;else{const E=ar(i,/^[\r\n\t ]+/);p=E&&E[0]}Ke==="application/xhtml+xml"&&Me===le&&(i='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i+"</body></html>");const D=M?ue(i):i;if(Me===le)try{a=new g().parseFromString(D,Ke)}catch{}if(!a||!a.documentElement){a=Le.createDocument(Me,"template",null);try{a.documentElement.innerHTML=qt?fe:D}catch{}}const F=a.body||a.documentElement;return i&&p&&F.insertBefore(n.createTextNode(p),F.childNodes[0]||null),Me===le?y.call(a,Te?"html":"body")[0]:Te?a.documentElement:F},jn=function(i){const a=K?K(i):i.ownerDocument;return Ze.call(a||i,i,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},kt=function(i){return i=st(i,Pe," "),i=st(i,Xe," "),i=st(i,P," "),i},Xt=function(i){var a;i.normalize();const p=K?K(i):i.ownerDocument,D=Ze.call(p||i,i,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let F=D.nextNode();for(;F;)F.data=kt(F.data),F=D.nextNode();const E=(a=i.querySelectorAll)===null||a===void 0?void 0:a.call(i,"template");E&&Se(E,w=>{Ue(w.content)&&Xt(w.content)})},yt=function(i){const a=Q?Q(i):null;return typeof a!="string"||$(a)!=="form"?!1:typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||i.attributes!==ke(i)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function"||i.nodeType!==ne(i)||i.childNodes!==U(i)},Ue=function(i){if(!ne||typeof i!="object"||i===null)return!1;try{return ne(i)===X.documentFragment}catch{return!1}},Je=function(i){if(!ne||typeof i!="object"||i===null)return!1;try{return typeof ne(i)=="number"}catch{return!1}};function ae(d,i,a){d.length!==0&&Se(d,p=>{p.call(e,i,a,ze)})}const Jr=function(i,a){return!!(xe&&i.hasChildNodes()&&!Je(i.firstElementChild)&&j(Fr,i.textContent)&&j(Fr,i.innerHTML)||xe&&i.namespaceURI===le&&Cu[a]&&(Je(i.firstElementChild)||typeof i.textContent=="string"&&j(xu[a],i.textContent))||i.nodeType===X.processingInstruction||xe&&i.nodeType===X.comment&&j(Ar,i.data))},Ct=function(i,a){if(i instanceof RegExp)return j(i,a);if(i instanceof Function){for(var p=arguments.length,D=new Array(p>2?p-2:0),F=2;F<p;F++)D[F-2]=arguments[F];return!!i(a,...D)}return!1},es=function(i,a,p){if(!Qe[a]&&Yn(a)&&Ct(oe.tagNameCheck,a))return!1;if(jt&&!Ne[a]){const D=te(i),F=U(i);if(F&&D){const E=F.length;for(let w=E-1;w>=0;--w){const O=i===p?v(F[w],!0):F[w];D.insertBefore(O,G(i))}}}return Fe(i),!0},Hn=function(i,a,p,D){return i.length===0?a:a===p||a===D?V(a):a},qn=function(i,a){return i===a||te(i)!==null?!1:(Ht&&bt(i),!0)},Gn=function(i,a){if(ae(b.beforeSanitizeElements,i,null),qn(i,a))return!0;if(yt(i))return Fe(i),!0;const p=$(We(i));if(R=Hn(b.uponSanitizeElement,R,It,dt),ae(b.uponSanitizeElement,i,{tagName:p,allowedTags:R}),qn(i,a))return!0;if(Jr(i,p))return Fe(i),!0;if(Qe[p]||!(ge.tagCheck instanceof Function&&ge.tagCheck(p))&&!R[p]){const F=es(i,p,a);return F===!1&&ae(b.afterSanitizeElements,i,null),F}if(ye(i)===X.element&&!Vr(i)||(p==="noscript"||p==="noembed"||p==="noframes")&&j(ku,i.innerHTML))return Fe(i),!0;if(me&&i.nodeType===X.text){const F=kt(i.textContent);i.textContent!==F&&(rt(e.removed,{element:i.cloneNode()}),i.textContent=F)}return ae(b.afterSanitizeElements,i,null),!1},Wn=function(i,a,p){if(kn[a]||zn(a,i)||Tn&&(a==="id"||a==="name")&&(p in n||p in Wr))return!1;const D=B[a]||ge.attributeCheck instanceof Function&&ge.attributeCheck(a,i);return Mt&&j(De,a)||yn&&j(Ve,a)?!0:D?On[a]||j(bn,st(p,En,""))||(a==="src"||a==="xlink:href"||a==="href")&&i!=="script"&&cr(p,"data:")===0&&Rn[i]||Cn&&!j($t,st(p,En,""))?!0:!p:Yn(i)&&Ct(oe.tagNameCheck,i)&&Ct(oe.attributeNameCheck,a,i)||a==="is"&&oe.allowCustomizedBuiltInElements&&Ct(oe.tagNameCheck,p)},ts=T({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Yn=function(i){return!ts[lt(i)]&&j(Ur,i)},ns=function(i,a,p,D){if(M&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!p)switch(m.getAttributeType(i,a)){case"TrustedHTML":return ue(D);case"TrustedScriptURL":return ft(D)}return D},rs=function(i,a,p,D){try{p?i.setAttributeNS(p,a,D):i.setAttribute(a,D),yt(i)?Fe(i):lr(e.removed)}catch{_e(a,i)}},Zn=function(i){ae(b.beforeSanitizeAttributes,i,null);const a=i.attributes;if(!a||yt(i))return;B=Hn(b.uponSanitizeAttribute,B,Nt,Dt);const p={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B,forceKeepAttr:void 0};let D=a.length;const F=$(i.nodeName);for(;D--;){const E=a[D],w=E.name,O=E.namespaceURI,W=E.value,Y=$(w),Qt=W;let q=w==="value"?Qt:su(Qt);if(p.attrName=Y,p.attrValue=q,p.keepAttr=!0,p.forceKeepAttr=void 0,ae(b.uponSanitizeAttribute,i,p),q=p.attrValue,_n&&(Y==="id"||Y==="name")&&cr(q,wn)!==0&&(_e(w,i,E),q=wn+q),xe&&j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,q)){_e(w,i,E);continue}if(Y==="attributename"&&ar(q,"href")){_e(w,i,E);continue}if(!p.forceKeepAttr){if(!p.keepAttr){_e(w,i,E);continue}if(!xn&&j(yu,q)){_e(w,i,E);continue}if(me&&(q=kt(q)),!Wn(F,Y,q)){_e(w,i,E);continue}q=ns(F,Y,O,q),q!==Qt&&rs(i,w,O,q)}}ae(b.afterSanitizeAttributes,i,null)},xt=function(i){let a=null;const p=jn(i);for(ae(b.beforeSanitizeShadowDOM,i,null);a=p.nextNode();)if(ae(b.uponSanitizeShadowNode,a,null),Gn(a,i),Zn(a),Ue(a.content)&&xt(a.content),ye(a)===X.element){const D=be(a);Ue(D)&&(Vt(D),xt(D))}ae(b.afterSanitizeShadowDOM,i,null)},Vt=function(i){const a=[{node:i,shadow:null}];for(;a.length>0;){const p=a.pop();if(p.shadow){xt(p.shadow);continue}const D=p.node,E=ye(D)===X.element,w=U(D);if(w)for(let O=w.length-1;O>=0;--O)a.push({node:w[O],shadow:null});if(E){const O=Q?Q(D):null;if(typeof O=="string"&&$(O)==="template"){const W=D.content;Ue(W)&&a.push({node:W,shadow:null})}}if(E){const O=be(D);Ue(O)&&a.push({node:null,shadow:O},{node:O,shadow:null})}}};return e.sanitize=function(d){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=null,p=null,D=null,F=null;if(qt=!d,qt&&(d="<!-->"),typeof d!="string"&&!Je(d)&&(d=au(d),typeof d!="string"))throw we("dirty is not a string, aborting");if(!e.isSupported)return d;zt?(R=dt,B=Dt):Zt(i),(b.uponSanitizeElement.length>0||b.uponSanitizeAttribute.length>0)&&(R=V(R)),b.uponSanitizeAttribute.length>0&&(B=V(B)),e.removed=[];const E=Ht&&typeof d!="string"&&Je(d);if(E){Kr(d);const W=We(d);if(typeof W=="string"){const Y=$(W);if(!R[Y]||Qe[Y])throw Et(d),we("root node is forbidden and cannot be sanitized in-place")}if(yt(d))throw Et(d),we("root node is clobbered and cannot be sanitized in-place");try{Vt(d)}catch(Y){throw Et(d),Y}}else if(Je(d))a=Un("<!---->"),p=a.ownerDocument.importNode(d,!0),p.nodeType===X.element&&p.nodeName==="BODY"||p.nodeName==="HTML"?a=p:a.appendChild(p),Vt(p);else{if(!$e&&!me&&!Te&&d.indexOf("<")===-1)return M&&mt?ue(d):d;if(a=Un(d),!a)return $e?null:mt?fe:""}a&&Ut&&Fe(a.firstChild);const w=E?d:a;try{const W=jn(w);for(;D=W.nextNode();)Gn(D,w),Zn(D),Ue(D.content)&&xt(D.content)}catch(W){throw E&&(Et(d),Se(e.removed,Y=>{Y.element&&bt(Y.element)})),W}if(E)return Se(e.removed,W=>{W.element&&bt(W.element)}),me&&Xt(d),d;if($e){if(me&&Xt(a),gt)for(F=f.call(a.ownerDocument);a.firstChild;)F.appendChild(a.firstChild);else F=a;return(B.shadowroot||B.shadowrootmode)&&(F=S.call(r,F,!0)),F}let O=Te?a.outerHTML:a.innerHTML;return Te&&R["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&j(Eu,a.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+a.ownerDocument.doctype.name+`>
75
+ `+O),me&&(O=kt(O)),M&&mt?ue(O):O},e.setConfig=function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Zt(d),zt=!0,dt=R,Dt=B},e.clearConfig=function(){ze=null,zt=!1,dt=null,Dt=null,M=Ye,fe=""},e.isValidAttribute=function(d,i,a){ze||Zt({});const p=$(d),D=$(i);return Wn(p,D,a)},e.addHook=function(d,i){typeof i=="function"&&Z(b,d)&&rt(b[d],i)},e.removeHook=function(d,i){if(Z(b,d)){if(i!==void 0){const a=nu(b[d],i);return a===-1?void 0:ru(b[d],a,1)[0]}return lr(b[d])}},e.removeHooks=function(d){Z(b,d)&&(b[d]=[])},e.removeAllHooks=function(){b=Er()},e}var wu=Mr();const Su=["caption","col","colgroup","small","u","iframe"],Ru=["target","role","colspan","rowspan","open","allow","allowfullscreen","frameborder","referrerpolicy","loading"],Bu=new Set(["www.youtube-nocookie.com"]),Ou=t=>{if(!t)return!1;try{return Bu.has(new URL(t).host)}catch{return!1}},vu=new Set(["background-color","border","border-bottom","border-collapse","border-left","border-radius","border-right","border-top","color","color-scheme","font-size","font-weight","height","line-height","list-style","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","max-width","min-width","padding","padding-bottom","padding-left","padding-right","padding-top","text-align","text-indent","text-orientation","vertical-align","white-space","width","writing-mode"]),Lu={position:new Set(["relative","static"])},Pu=t=>t.split(";").map(e=>e.trim()).filter(Boolean).filter(e=>{const[n,...r]=e.split(":"),s=n.trim().toLowerCase(),u=r.join(":").trim().toLowerCase();return/url\(|expression\(|@import|behavior:/i.test(u)?!1:vu.has(s)?!0:!!Lu[s]?.has(u)}).map(e=>`${e};`).join(" "),$u=t=>Array.from(t).filter(e=>(e.codePointAt(0)??0)>32).join("").toLowerCase();let ut=null;const Iu=()=>ut||(ut=wu(window),ut.addHook("afterSanitizeAttributes",t=>{const e=t;if(!e.getAttribute)return;if(e.tagName==="IFRAME"&&!Ou(e.getAttribute("src"))){e.remove();return}for(const r of["src","href"]){const s=e.getAttribute(r);s&&$u(s).startsWith("data:")&&e.removeAttribute(r)}const n=e.getAttribute("style");if(n){const r=Pu(n);r?e.setAttribute("style",r):e.removeAttribute("style")}e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener noreferrer")}),ut),Nu=t=>Iu().sanitize(t,{ADD_TAGS:Su,ADD_ATTR:Ru,RETURN_DOM_FRAGMENT:!0,ALLOWED_URI_REGEXP:/^(?:(?:https?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.\-:]|$))/i}),Mu=t=>Math.min(6,Math.max(1,t)),zr=(t,e={})=>{const{shiftHeading:n=0,tocMaxDepth:r=2}=e,s=new Br({gfm:!0,breaks:!0},Yi({cardHeadingLevel:`h${Mu(3+n)}`})),u=Nu(s.parse(t,{async:!1})),{headings:l}=mi(u,document,{shiftHeading:n,tocMaxDepth:r}),o=document.createElement("div");return o.appendChild(u),{html:o.innerHTML,headings:l}},zu={html:"",headings:[]},An=({items:t})=>ee.jsx(ee.Fragment,{children:t.map(e=>ee.jsxs("li",{children:[ee.jsx(A.Link,{href:`#${e.id}`,children:e.value}),e.children?ee.jsx(A.Ul,{children:ee.jsx(An,{items:e.children})}):null]},e.id))}),Uu=({children:t,showToc:e,tocTitle:n="目次",shiftHeading:r=0,tocMaxDepth:s=2})=>{const[{html:u,headings:l},o]=St.useState(zu);return St.useEffect(()=>{o(zr(t,{shiftHeading:r,tocMaxDepth:s}))},[t,r,s]),St.useEffect(()=>{if(!u)return;const c=decodeURI(window.location.hash.slice(1));c&&document.getElementById(c)?.scrollIntoView()},[u]),ee.jsxs("div",{className:"py-8 flex flex-col gap-8",children:[e&&l.length>0&&ee.jsxs("nav",{className:"rounded-3xl p-10 bg-yellow-50",children:[ee.jsx(A.H2,{className:"pt-0",children:n}),ee.jsx(A.Ul,{children:ee.jsx(An,{items:l})})]}),ee.jsx("div",{dangerouslySetInnerHTML:{__html:u}})]})};exports.Markdown=Uu;exports.TableOfContents=An;exports.render=zr;