markview-vue 0.1.11 → 0.1.13

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 (119) hide show
  1. package/dist/assets/_basePickBy-CHITUj4p.cjs +1 -0
  2. package/dist/assets/_basePickBy-ybeSkJfi.js +151 -0
  3. package/dist/assets/_baseUniq-BGLq8QRh.cjs +1 -0
  4. package/dist/assets/_baseUniq-xGqTUv6g.js +614 -0
  5. package/dist/assets/arc-Ba_uALHe.cjs +1 -0
  6. package/dist/assets/arc-CbsfC7zA.js +83 -0
  7. package/dist/assets/architecture-7HQA4BMR-B6phKgs-.js +6 -0
  8. package/dist/assets/architecture-7HQA4BMR-BdQzdD9-.cjs +1 -0
  9. package/dist/assets/architectureDiagram-VXUJARFQ-CIAXg-eb.js +4669 -0
  10. package/dist/assets/architectureDiagram-VXUJARFQ-DDSvQNjx.cjs +36 -0
  11. package/dist/assets/blockDiagram-VD42YOAC-CWR8l5l2.cjs +122 -0
  12. package/dist/assets/blockDiagram-VD42YOAC-wQlEggOh.js +2265 -0
  13. package/dist/assets/c4Diagram-YG6GDRKO-CrrMmY-D.cjs +10 -0
  14. package/dist/assets/c4Diagram-YG6GDRKO-FBfLZqNW.js +1581 -0
  15. package/dist/assets/channel-BRGQuuVl.js +5 -0
  16. package/dist/assets/channel-CZ4XWtuo.cjs +1 -0
  17. package/dist/assets/chunk-4BX2VUAB-BMbuSe4x.js +9 -0
  18. package/dist/assets/chunk-4BX2VUAB-FPWk2Aj8.cjs +1 -0
  19. package/dist/assets/chunk-55IACEB6-Cjgh_--n.cjs +1 -0
  20. package/dist/assets/chunk-55IACEB6-DiVv8R-7.js +8 -0
  21. package/dist/assets/chunk-B4BG7PRW-B_CFJmuC.cjs +165 -0
  22. package/dist/assets/chunk-B4BG7PRW-CObtScCP.js +1376 -0
  23. package/dist/assets/chunk-DI55MBZ5-BFm-KDUn.js +1382 -0
  24. package/dist/assets/chunk-DI55MBZ5-BZpMjriS.cjs +220 -0
  25. package/dist/assets/chunk-FMBD7UC4-Bo7IX0Tg.js +19 -0
  26. package/dist/assets/chunk-FMBD7UC4-Cd9Z8061.cjs +15 -0
  27. package/dist/assets/chunk-QN33PNHL-CaS89Uk_.js +20 -0
  28. package/dist/assets/chunk-QN33PNHL-KOmxd_kK.cjs +1 -0
  29. package/dist/assets/chunk-QZHKN3VN-Czbci--E.js +15 -0
  30. package/dist/assets/chunk-QZHKN3VN-D0_TUemW.cjs +1 -0
  31. package/dist/assets/chunk-TZMSLE5B-DPTrW-NE.js +64 -0
  32. package/dist/assets/chunk-TZMSLE5B-tWWaxsin.cjs +1 -0
  33. package/dist/assets/classDiagram-2ON5EDUG-BwYE0avN.js +16 -0
  34. package/dist/assets/classDiagram-2ON5EDUG-D6CGN0lK.cjs +1 -0
  35. package/dist/assets/classDiagram-v2-WZHVMYZB-BwYE0avN.js +16 -0
  36. package/dist/assets/classDiagram-v2-WZHVMYZB-D6CGN0lK.cjs +1 -0
  37. package/dist/assets/clone-BfRhdNm4.cjs +1 -0
  38. package/dist/assets/clone-CIEijpnt.js +8 -0
  39. package/dist/assets/cose-bilkent-S5V4N54A-CGYbjcpr.cjs +1 -0
  40. package/dist/assets/cose-bilkent-S5V4N54A-D8qsMnvS.js +2609 -0
  41. package/dist/assets/cytoscape.esm-CjI2IsL8.js +18735 -0
  42. package/dist/assets/cytoscape.esm-o9WRfNPd.cjs +331 -0
  43. package/dist/assets/dagre-6UL2VRFP-BzWnLxya.cjs +4 -0
  44. package/dist/assets/dagre-6UL2VRFP-C4Q40rgn.js +447 -0
  45. package/dist/assets/defaultLocale-BgPVtth8.js +171 -0
  46. package/dist/assets/defaultLocale-C4wbwF1n.cjs +1 -0
  47. package/dist/assets/diagram-PSM6KHXK-Cb5u6c6h.js +533 -0
  48. package/dist/assets/diagram-PSM6KHXK-CwWgRjfE.cjs +24 -0
  49. package/dist/assets/diagram-QEK2KX5R-Bi2NJFR_.js +221 -0
  50. package/dist/assets/diagram-QEK2KX5R-CLiJ34Ww.cjs +43 -0
  51. package/dist/assets/diagram-S2PKOQOG-C3UiRU3w.js +143 -0
  52. package/dist/assets/diagram-S2PKOQOG-OPuGn1kE.cjs +24 -0
  53. package/dist/assets/erDiagram-Q2GNP2WA-DVhIup4P.js +842 -0
  54. package/dist/assets/erDiagram-Q2GNP2WA-mrezvRlN.cjs +60 -0
  55. package/dist/assets/flowDiagram-NV44I4VS-BI2afYbF.js +1627 -0
  56. package/dist/assets/flowDiagram-NV44I4VS-uldiRJtW.cjs +162 -0
  57. package/dist/assets/ganttDiagram-JELNMOA3-B8_pSkSq.js +2671 -0
  58. package/dist/assets/ganttDiagram-JELNMOA3-XTesuTLx.cjs +267 -0
  59. package/dist/assets/gitGraph-G5XIXVHT-C3nHpXwk.js +6 -0
  60. package/dist/assets/gitGraph-G5XIXVHT-DEcLAdEU.cjs +1 -0
  61. package/dist/assets/gitGraphDiagram-V2S2FVAM-CTOC3DiT.cjs +65 -0
  62. package/dist/assets/gitGraphDiagram-V2S2FVAM-Cnf8w3oC.js +712 -0
  63. package/dist/assets/graph-BuIO7SSf.js +247 -0
  64. package/dist/assets/graph-p9DI0XAm.cjs +1 -0
  65. package/dist/assets/index-C69mIz56.js +44761 -0
  66. package/dist/assets/index-C9QevtQd.cjs +547 -0
  67. package/dist/assets/info-VBDWY6EO-BsNozlXs.cjs +1 -0
  68. package/dist/assets/info-VBDWY6EO-C_OL8dwF.js +6 -0
  69. package/dist/assets/infoDiagram-HS3SLOUP-BiRaPpy-.cjs +2 -0
  70. package/dist/assets/infoDiagram-HS3SLOUP-DguMzWUX.js +24 -0
  71. package/dist/assets/init-CHZsXQcr.cjs +1 -0
  72. package/dist/assets/init-DjUOC4st.js +16 -0
  73. package/dist/assets/journeyDiagram-XKPGCS4Q-DrmZKsPZ.cjs +139 -0
  74. package/dist/assets/journeyDiagram-XKPGCS4Q-SAJGgxHv.js +834 -0
  75. package/dist/assets/kanban-definition-3W4ZIXB7-CACD_qKY.cjs +89 -0
  76. package/dist/assets/kanban-definition-3W4ZIXB7-Dqllh40x.js +721 -0
  77. package/dist/assets/layout-BfkZhPei.js +1335 -0
  78. package/dist/assets/layout-DJMp8xuD.cjs +1 -0
  79. package/dist/assets/linear-B9X-K1ie.js +259 -0
  80. package/dist/assets/linear-qhmmwiXh.cjs +1 -0
  81. package/dist/assets/mermaid-parser.core-9igjpGWA.js +17976 -0
  82. package/dist/assets/mermaid-parser.core-CdI_2l2U.cjs +160 -0
  83. package/dist/assets/mermaid.core-C0ptc8Ci.js +15357 -0
  84. package/dist/assets/mermaid.core-D53Nknii.cjs +255 -0
  85. package/dist/assets/mindmap-definition-VGOIOE7T-C5GlPlyz.cjs +68 -0
  86. package/dist/assets/mindmap-definition-VGOIOE7T-D9ynDOFV.js +787 -0
  87. package/dist/assets/ordinal-CagbB1m8.cjs +1 -0
  88. package/dist/assets/ordinal-DfAQgscy.js +61 -0
  89. package/dist/assets/packet-DYOGHKS2-1rlG7uoS.js +6 -0
  90. package/dist/assets/packet-DYOGHKS2-DZgqFf8l.cjs +1 -0
  91. package/dist/assets/pie-VRWISCQL-BuCxcsRA.cjs +1 -0
  92. package/dist/assets/pie-VRWISCQL-CSl0KPjm.js +6 -0
  93. package/dist/assets/pieDiagram-ADFJNKIX-DJy51I_a.cjs +30 -0
  94. package/dist/assets/pieDiagram-ADFJNKIX-beKcRjnx.js +161 -0
  95. package/dist/assets/quadrantDiagram-AYHSOK5B-CHvt8eYr.js +1024 -0
  96. package/dist/assets/quadrantDiagram-AYHSOK5B-DW0ytD6Y.cjs +7 -0
  97. package/dist/assets/radar-ZZBFDIW7-CTFB0BiB.cjs +1 -0
  98. package/dist/assets/radar-ZZBFDIW7-rwWCZwIk.js +6 -0
  99. package/dist/assets/requirementDiagram-UZGBJVZJ-BRAtpmw9.js +852 -0
  100. package/dist/assets/requirementDiagram-UZGBJVZJ-BaBtXpY5.cjs +64 -0
  101. package/dist/assets/sankeyDiagram-TZEHDZUN-CC-AD2xc.cjs +10 -0
  102. package/dist/assets/sankeyDiagram-TZEHDZUN-jQduv77E.js +810 -0
  103. package/dist/assets/sequenceDiagram-WL72ISMW-CMJL0tZT.cjs +145 -0
  104. package/dist/assets/sequenceDiagram-WL72ISMW-DeVW1A54.js +2518 -0
  105. package/dist/assets/stateDiagram-FKZM4ZOC-BlHSDL2f.js +263 -0
  106. package/dist/assets/stateDiagram-FKZM4ZOC-D8dN0qMe.cjs +1 -0
  107. package/dist/assets/stateDiagram-v2-4FDKWEC3-B5KcJcLk.cjs +1 -0
  108. package/dist/assets/stateDiagram-v2-4FDKWEC3-D6MOxCaK.js +16 -0
  109. package/dist/assets/timeline-definition-IT6M3QCI-CQQMX29d.js +799 -0
  110. package/dist/assets/timeline-definition-IT6M3QCI-DPNrBMbj.cjs +61 -0
  111. package/dist/assets/treemap-GDKQZRPO-BRkjlMcy.js +6 -0
  112. package/dist/assets/treemap-GDKQZRPO-DXgt6YFC.cjs +1 -0
  113. package/dist/assets/xychartDiagram-PRI3JC2R-BymhHCL4.cjs +7 -0
  114. package/dist/assets/xychartDiagram-PRI3JC2R-ZD4dLllP.js +1340 -0
  115. package/dist/index.cjs +1 -537
  116. package/dist/index.d.ts +58 -32
  117. package/dist/index.js +68 -44479
  118. package/dist/style.css +1 -1
  119. package/package.json +15 -12
@@ -0,0 +1,547 @@
1
+ "use strict";var Mg=Object.defineProperty;var Bg=(e,t,r)=>t in e?Mg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ne=(e,t,r)=>Bg(e,typeof t!="symbol"?t+"":t,r);const y=require("vue"),Fg=require("vue/jsx-runtime");function Hg(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const zg=Hg(Fg);function Tr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?bc(e.position):"start"in e||"end"in e?bc(e):"line"in e||"column"in e?Bo(e):""}function Bo(e){return xc(e&&e.line)+":"+xc(e&&e.column)}function bc(e){return Bo(e&&e.start)+"-"+Bo(e&&e.end)}function xc(e){return e&&typeof e=="number"?e:1}class Xe extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},s=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(s=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?a.ruleId=n:(a.source=n.slice(0,l),a.ruleId=n.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=Tr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=s&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Xe.prototype.file="";Xe.prototype.name="";Xe.prototype.reason="";Xe.prototype.message="";Xe.prototype.stack="";Xe.prototype.column=void 0;Xe.prototype.line=void 0;Xe.prototype.ancestors=void 0;Xe.prototype.cause=void 0;Xe.prototype.fatal=void 0;Xe.prototype.place=void 0;Xe.prototype.ruleId=void 0;Xe.prototype.source=void 0;const Vr={basename:Ug,dirname:Vg,extname:qg,join:jg,sep:"/"};function Ug(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Aa(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let s=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else s<0&&(a=!0,s=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(n=i):(o=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function Vg(e){if(Aa(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function qg(e){Aa(e);let t=e.length,r=-1,n=0,i=-1,a=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),o===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function jg(...e){let t=-1,r;for(;++t<e.length;)Aa(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Gg(r)}function Gg(e){Aa(e);const t=e.codePointAt(0)===47;let r=$g(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function $g(e,t){let r="",n=0,i=-1,a=0,s=-1,o,l;for(;++s<=e.length;){if(s<e.length)o=e.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(i===s-1||a===1))if(i!==s-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),i=s,a=0;continue}}else if(r.length>0){r="",n=0,i=s,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,s):r=e.slice(i+1,s),n=s-i-1;i=s,a=0}else o===46&&a>-1?a++:a=-1}return r}function Aa(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Wg={cwd:Yg};function Yg(){return"/"}function Fo(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Xg(e){if(typeof e=="string")e=new URL(e);else if(!Fo(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 Jg(e)}function Jg(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Bu=["history","path","basename","stem","extname","dirname"];class pd{constructor(t){let r;t?Fo(t)?r={path:t}:typeof t=="string"||Qg(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Wg.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Bu.length;){const a=Bu[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Bu.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Vr.basename(this.path):void 0}set basename(t){Hu(t,"basename"),Fu(t,"basename"),this.path=Vr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Vr.dirname(this.path):void 0}set dirname(t){yc(this.basename,"dirname"),this.path=Vr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Vr.extname(this.path):void 0}set extname(t){if(Fu(t,"extname"),yc(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=Vr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Fo(t)&&(t=Xg(t)),Hu(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Vr.basename(this.path,this.extname):void 0}set stem(t){Hu(t,"stem"),Fu(t,"stem"),this.path=Vr.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){const i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){const i=new Xe(t,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Fu(e,t){if(e&&e.includes(Vr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Vr.sep+"`")}function Hu(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function yc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Qg(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Kg=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"],Zg=Kg.map(function(e){return"."+e});function e4(e,t){const r=t4(e)?e:new pd(e),{format:n,...i}=t||{};return{file:r,options:{format:n==="md"||n==="mdx"?n:r.extname&&(i.mdExtensions||Zg).includes(r.extname)?"md":"mdx",...i}}}function t4(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}const r4=/[$_\p{ID_Start}]/u,n4=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,i4=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,a4=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s4=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,md={};function Ir(e){return e?r4.test(String.fromCodePoint(e)):!1}function Gi(e,t){const n=(t||md).jsx?i4:n4;return e?n.test(String.fromCodePoint(e)):!1}function Yr(e,t){return((t||md).jsx?s4:a4).test(e)}class u4{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,r,n,i){t&&r&&(n!=null?t[r][n]=i:t[r]=i)}remove(t,r,n){t&&r&&(n!=null?t[r].splice(n,1):delete t[r])}}class o4 extends u4{constructor(t,r){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:n=>this.replacement=n},this.enter=t,this.leave=r}visit(t,r,n,i){if(t){if(this.enter){const s=this.should_skip,o=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,r,n,i),this.replacement&&(t=this.replacement,this.replace(r,n,i,t)),this.should_remove&&this.remove(r,n,i);const c=this.should_skip,h=this.should_remove;if(this.should_skip=s,this.should_remove=o,this.replacement=l,c)return t;if(h)return null}let a;for(a in t){const s=t[a];if(s&&typeof s=="object")if(Array.isArray(s)){const o=s;for(let l=0;l<o.length;l+=1){const c=o[l];vc(c)&&(this.visit(c,t,a,l)||l--)}}else vc(s)&&this.visit(s,t,a,null)}if(this.leave){const s=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,r,n,i),this.replacement&&(t=this.replacement,this.replace(r,n,i,t)),this.should_remove&&this.remove(r,n,i);const l=this.should_remove;if(this.replacement=s,this.should_remove=o,l)return null}}return t}}function vc(e){return e!==null&&typeof e=="object"&&"type"in e&&typeof e.type=="string"}function gi(e,{enter:t,leave:r}){return new o4(t,r).visit(e,null)}const zu=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function l4(e,t){const r=t||{};let n=r.runtime==="automatic";const i={},a={};gi(e,{enter(s){if(s.type==="Program"){const o=s.comments||[];let l=-1;for(;++l<o.length;){zu.lastIndex=0;let c=zu.exec(o[l].value);for(;c;)i[c[1]]=c[2],c=zu.exec(o[l].value)}if(i.jsxRuntime)if(i.jsxRuntime==="automatic"){if(n=!0,i.jsx)throw new Error("Unexpected `@jsx` pragma w/ automatic runtime");if(i.jsxFrag)throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if(i.jsxRuntime==="classic"){if(n=!1,i.jsxImportSource)throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw new Error("Unexpected `jsxRuntime` `"+i.jsxRuntime+"`, expected `automatic` or `classic`")}},leave(s){if(s.type==="Program"){const w=[];if(a.fragment&&w.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),a.jsx&&w.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),a.jsxs&&w.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),a.jsxDEV&&w.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),w.length>0){let C=0;for(;C<s.body.length;){const T=s.body[C];if("directive"in T&&T.directive)C++;else break}s.body.splice(C,0,{type:"ImportDeclaration",specifiers:w,source:{type:"Literal",value:(i.jsxImportSource||r.importSource||"react")+(r.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if(s.type!=="JSXElement"&&s.type!=="JSXFragment")return;const o=[];let l=-1;for(;++l<s.children.length;){const w=s.children[l];if(w.type==="JSXExpressionContainer")w.expression.type!=="JSXEmptyExpression"&&o.push(w.expression);else if(w.type==="JSXText"){const C=w.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,`
2
+ `).replace(/\n+/g,`
3
+ `).replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");if(C){const T={type:"Literal",value:C};ia(w,T),o.push(T)}}else w.type!=="JSXElement"&&w.type!=="JSXFragment"&&w.type,o.push(w)}let c;const h=[];let f=[],g;if(s.type==="JSXElement"){if(c=Ss(s.openingElement.name),c.type==="Identifier"&&/^[a-z]/.test(c.name)){const A={type:"Literal",value:c.name};ia(c,A),c=A}let w;const C=s.openingElement.attributes;let T=-1;for(;++T<C.length;){const A=C[T];if(A.type==="JSXSpreadAttribute")A.argument.type==="ObjectExpression"?h.push(...A.argument.properties):h.push({type:"SpreadElement",argument:A.argument}),w=!0;else{const N=c4(A);if(n&&N.key.type==="Identifier"&&N.key.name==="key"){if(w)throw new Error("Expected `key` to come before any spread expressions");const H=N.value;H.type!=="AssignmentPattern"&&H.type!=="ArrayPattern"&&H.type!=="ObjectPattern"&&H.type,g=H}else h.push(N)}}}else n?(a.fragment=!0,c={type:"Identifier",name:"_Fragment"}):c=Ec(i.jsxFrag||r.pragmaFrag||"React.Fragment");n?o.length>0&&h.push({type:"Property",key:{type:"Identifier",name:"children"},value:o.length>1?{type:"ArrayExpression",elements:o}:o[0],kind:"init",method:!1,shorthand:!1,computed:!1}):f=o;let m;if(n){f.push({type:"ObjectExpression",properties:h}),g?f.push(g):r.development&&f.push({type:"Identifier",name:"undefined"});const w=o.length>1;if(r.development){a.jsxDEV=!0,m={type:"Identifier",name:"_jsxDEV"},f.push({type:"Literal",value:w});const C={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:r.filePath||"<source.js>"}}]};s.loc&&C.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:s.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:s.loc.start.column+1}}),f.push(C,{type:"ThisExpression"})}else w?(a.jsxs=!0,m={type:"Identifier",name:"_jsxs"}):(a.jsx=!0,m={type:"Identifier",name:"_jsx"})}else h.length>0?f.unshift({type:"ObjectExpression",properties:h}):f.length>0&&f.unshift({type:"Literal",value:null}),m=Ec(i.jsx||r.pragma||"React.createElement");f.unshift(c);const E={type:"CallExpression",callee:m,arguments:f,optional:!1};ia(s,E),this.replace(E)}})}function c4(e){let t;if(e.value)if(e.value.type==="JSXExpressionContainer"){const n=e.value.expression;n.type,t=n}else{const n=e.value;n.type!=="JSXElement"&&n.type,t=n,delete t.raw}else t={type:"Literal",value:!0};const r={type:"Property",key:Ss(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1};return ia(e,r),r}function Ss(e){let t;if(e.type==="JSXMemberExpression"){const r=Ss(e.property);t={type:"MemberExpression",object:Ss(e.object),property:r,computed:r.type==="Literal",optional:!1}}else e.type==="JSXNamespacedName"?t={type:"Literal",value:e.namespace.name+":"+e.name.name}:t=Yr(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name};return ia(e,t),t}function Ec(e){const t=e.split(".");let r=-1,n;for(;++r<t.length;){const i=Yr(t[r])?{type:"Identifier",name:t[r]}:{type:"Literal",value:t[r]};n=n?{type:"MemberExpression",object:n,property:i,computed:!!(r&&i.type==="Literal"),optional:!1}:i}return n}function ia(e,t){const r=["start","end","loc","range","comments"];let n=-1;for(;++n<r.length;){const i=r[n];i in e&&(t[i]=e[i])}}function h4(e){return function(t,r){l4(t,{filePath:r.history[0],...e})}}function au(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function f4(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Uu={exports:{}},Vu,kc;function d4(){return kc||(kc=1,Vu={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),Vu}var ea={exports:{}},p4=ea.exports,Tc;function wc(){return Tc||(Tc=1,(function(e,t){(function(r,n){n(t)})(p4,(function(r){var n=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",o={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},l="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",c={5:l,"5module":l+" export import",6:l+" const class extends export import super"},h=/^in(stanceof)?$/,f=new RegExp("["+s+"]"),g=new RegExp("["+s+a+"]");function m(u,d){for(var k=65536,S=0;S<d.length;S+=2){if(k+=d[S],k>u)return!1;if(k+=d[S+1],k>=u)return!0}return!1}function E(u,d){return u<65?u===36:u<91?!0:u<97?u===95:u<123?!0:u<=65535?u>=170&&f.test(String.fromCharCode(u)):d===!1?!1:m(u,i)}function w(u,d){return u<48?u===36:u<58?!0:u<65?!1:u<91?!0:u<97?u===95:u<123?!0:u<=65535?u>=170&&g.test(String.fromCharCode(u)):d===!1?!1:m(u,i)||m(u,n)}var C=function(d,k){k===void 0&&(k={}),this.label=d,this.keyword=k.keyword,this.beforeExpr=!!k.beforeExpr,this.startsExpr=!!k.startsExpr,this.isLoop=!!k.isLoop,this.isAssign=!!k.isAssign,this.prefix=!!k.prefix,this.postfix=!!k.postfix,this.binop=k.binop||null,this.updateContext=null};function T(u,d){return new C(u,{beforeExpr:!0,binop:d})}var A={beforeExpr:!0},N={startsExpr:!0},H={};function P(u,d){return d===void 0&&(d={}),d.keyword=u,H[u]=new C(u,d)}var b={num:new C("num",N),regexp:new C("regexp",N),string:new C("string",N),name:new C("name",N),privateId:new C("privateId",N),eof:new C("eof"),bracketL:new C("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new C("]"),braceL:new C("{",{beforeExpr:!0,startsExpr:!0}),braceR:new C("}"),parenL:new C("(",{beforeExpr:!0,startsExpr:!0}),parenR:new C(")"),comma:new C(",",A),semi:new C(";",A),colon:new C(":",A),dot:new C("."),question:new C("?",A),questionDot:new C("?."),arrow:new C("=>",A),template:new C("template"),invalidTemplate:new C("invalidTemplate"),ellipsis:new C("...",A),backQuote:new C("`",N),dollarBraceL:new C("${",{beforeExpr:!0,startsExpr:!0}),eq:new C("=",{beforeExpr:!0,isAssign:!0}),assign:new C("_=",{beforeExpr:!0,isAssign:!0}),incDec:new C("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new C("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:T("||",1),logicalAND:T("&&",2),bitwiseOR:T("|",3),bitwiseXOR:T("^",4),bitwiseAND:T("&",5),equality:T("==/!=/===/!==",6),relational:T("</>/<=/>=",7),bitShift:T("<</>>/>>>",8),plusMin:new C("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:T("%",10),star:T("*",10),slash:T("/",10),starstar:new C("**",{beforeExpr:!0}),coalesce:T("??",1),_break:P("break"),_case:P("case",A),_catch:P("catch"),_continue:P("continue"),_debugger:P("debugger"),_default:P("default",A),_do:P("do",{isLoop:!0,beforeExpr:!0}),_else:P("else",A),_finally:P("finally"),_for:P("for",{isLoop:!0}),_function:P("function",N),_if:P("if"),_return:P("return",A),_switch:P("switch"),_throw:P("throw",A),_try:P("try"),_var:P("var"),_const:P("const"),_while:P("while",{isLoop:!0}),_with:P("with"),_new:P("new",{beforeExpr:!0,startsExpr:!0}),_this:P("this",N),_super:P("super",N),_class:P("class",N),_extends:P("extends",A),_export:P("export"),_import:P("import",N),_null:P("null",N),_true:P("true",N),_false:P("false",N),_in:P("in",{beforeExpr:!0,binop:7}),_instanceof:P("instanceof",{beforeExpr:!0,binop:7}),_typeof:P("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:P("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:P("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},R=/\r\n?|\n|\u2028|\u2029/,j=new RegExp(R.source,"g");function Y(u){return u===10||u===13||u===8232||u===8233}function G(u,d,k){k===void 0&&(k=u.length);for(var S=d;S<k;S++){var M=u.charCodeAt(S);if(Y(M))return S<k-1&&M===13&&u.charCodeAt(S+1)===10?S+2:S+1}return-1}var re=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Q=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,oe=Object.prototype,se=oe.hasOwnProperty,ie=oe.toString,Te=Object.hasOwn||(function(u,d){return se.call(u,d)}),we=Array.isArray||(function(u){return ie.call(u)==="[object Array]"}),Be=Object.create(null);function Ge(u){return Be[u]||(Be[u]=new RegExp("^(?:"+u.replace(/ /g,"|")+")$"))}function V(u){return u<=65535?String.fromCharCode(u):(u-=65536,String.fromCharCode((u>>10)+55296,(u&1023)+56320))}var Qe=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,We=function(d,k){this.line=d,this.column=k};We.prototype.offset=function(d){return new We(this.line,this.column+d)};var q=function(d,k,S){this.start=k,this.end=S,d.sourceFile!==null&&(this.source=d.sourceFile)};function dt(u,d){for(var k=1,S=0;;){var M=G(u,S,d);if(M<0)return new We(k,d-S);++k,S=M}}var ht={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},et=!1;function Pt(u){var d={};for(var k in ht)d[k]=u&&Te(u,k)?u[k]:ht[k];if(d.ecmaVersion==="latest"?d.ecmaVersion=1e8:d.ecmaVersion==null?(!et&&typeof console=="object"&&console.warn&&(et=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
4
+ Defaulting to 2020, but this will stop working in the future.`)),d.ecmaVersion=11):d.ecmaVersion>=2015&&(d.ecmaVersion-=2009),d.allowReserved==null&&(d.allowReserved=d.ecmaVersion<5),(!u||u.allowHashBang==null)&&(d.allowHashBang=d.ecmaVersion>=14),we(d.onToken)){var S=d.onToken;d.onToken=function(M){return S.push(M)}}return we(d.onComment)&&(d.onComment=vt(d,d.onComment)),d}function vt(u,d){return function(k,S,M,W,K,he){var pe={type:k?"Block":"Line",value:S,start:M,end:W};u.locations&&(pe.loc=new q(this,K,he)),u.ranges&&(pe.range=[M,W]),d.push(pe)}}var gt=1,bt=2,Et=4,Tn=8,Or=16,Mr=32,hr=64,Ar=128,Dt=256,qt=512,Jt=gt|bt|Dt;function Br(u,d){return bt|(u?Et:0)|(d?Tn:0)}var nn=0,qn=1,Ot=2,tt=3,jn=4,ee=5,te=function(d,k,S){this.options=d=Pt(d),this.sourceFile=d.sourceFile,this.keywords=Ge(c[d.ecmaVersion>=6?6:d.sourceType==="module"?"5module":5]);var M="";d.allowReserved!==!0&&(M=o[d.ecmaVersion>=6?6:d.ecmaVersion===5?5:3],d.sourceType==="module"&&(M+=" await")),this.reservedWords=Ge(M);var W=(M?M+" ":"")+o.strict;this.reservedWordsStrict=Ge(W),this.reservedWordsStrictBind=Ge(W+" "+o.strictBind),this.input=String(k),this.containsEsc=!1,S?(this.pos=S,this.lineStart=this.input.lastIndexOf(`
5
+ `,S-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(R).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=b.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=d.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&d.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(gt),this.regexpState=null,this.privateNameStack=[]},D={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};te.prototype.parse=function(){var d=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(d)},D.inFunction.get=function(){return(this.currentVarScope().flags&bt)>0},D.inGenerator.get=function(){return(this.currentVarScope().flags&Tn)>0},D.inAsync.get=function(){return(this.currentVarScope().flags&Et)>0},D.canAwait.get=function(){for(var u=this.scopeStack.length-1;u>=0;u--){var d=this.scopeStack[u],k=d.flags;if(k&(Dt|qt))return!1;if(k&bt)return(k&Et)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},D.allowSuper.get=function(){var u=this.currentThisScope(),d=u.flags;return(d&hr)>0||this.options.allowSuperOutsideMethod},D.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ar)>0},D.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},D.allowNewDotTarget.get=function(){for(var u=this.scopeStack.length-1;u>=0;u--){var d=this.scopeStack[u],k=d.flags;if(k&(Dt|qt)||k&bt&&!(k&Or))return!0}return!1},D.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Dt)>0},te.extend=function(){for(var d=[],k=arguments.length;k--;)d[k]=arguments[k];for(var S=this,M=0;M<d.length;M++)S=d[M](S);return S},te.parse=function(d,k){return new this(k,d).parse()},te.parseExpressionAt=function(d,k,S){var M=new this(S,d,k);return M.nextToken(),M.parseExpression()},te.tokenizer=function(d,k){return new this(k,d)},Object.defineProperties(te.prototype,D);var Se=te.prototype,Ye=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Se.strictDirective=function(u){if(this.options.ecmaVersion<5)return!1;for(;;){Q.lastIndex=u,u+=Q.exec(this.input)[0].length;var d=Ye.exec(this.input.slice(u));if(!d)return!1;if((d[1]||d[2])==="use strict"){Q.lastIndex=u+d[0].length;var k=Q.exec(this.input),S=k.index+k[0].length,M=this.input.charAt(S);return M===";"||M==="}"||R.test(k[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(M)||M==="!"&&this.input.charAt(S+1)==="=")}u+=d[0].length,Q.lastIndex=u,u+=Q.exec(this.input)[0].length,this.input[u]===";"&&u++}},Se.eat=function(u){return this.type===u?(this.next(),!0):!1},Se.isContextual=function(u){return this.type===b.name&&this.value===u&&!this.containsEsc},Se.eatContextual=function(u){return this.isContextual(u)?(this.next(),!0):!1},Se.expectContextual=function(u){this.eatContextual(u)||this.unexpected()},Se.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||R.test(this.input.slice(this.lastTokEnd,this.start))},Se.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Se.semicolon=function(){!this.eat(b.semi)&&!this.insertSemicolon()&&this.unexpected()},Se.afterTrailingComma=function(u,d){if(this.type===u)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),d||this.next(),!0},Se.expect=function(u){this.eat(u)||this.unexpected()},Se.unexpected=function(u){this.raise(u??this.start,"Unexpected token")};var kt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Se.checkPatternErrors=function(u,d){if(u){u.trailingComma>-1&&this.raiseRecoverable(u.trailingComma,"Comma is not permitted after the rest element");var k=d?u.parenthesizedAssign:u.parenthesizedBind;k>-1&&this.raiseRecoverable(k,d?"Assigning to rvalue":"Parenthesized pattern")}},Se.checkExpressionErrors=function(u,d){if(!u)return!1;var k=u.shorthandAssign,S=u.doubleProto;if(!d)return k>=0||S>=0;k>=0&&this.raise(k,"Shorthand property assignments are valid only in destructuring patterns"),S>=0&&this.raiseRecoverable(S,"Redefinition of __proto__ property")},Se.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Se.isSimpleAssignTarget=function(u){return u.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(u.expression):u.type==="Identifier"||u.type==="MemberExpression"};var be=te.prototype;be.parseTopLevel=function(u){var d=Object.create(null);for(u.body||(u.body=[]);this.type!==b.eof;){var k=this.parseStatement(null,!0,d);u.body.push(k)}if(this.inModule)for(var S=0,M=Object.keys(this.undefinedExports);S<M.length;S+=1){var W=M[S];this.raiseRecoverable(this.undefinedExports[W].start,"Export '"+W+"' is not defined")}return this.adaptDirectivePrologue(u.body),this.next(),u.sourceType=this.options.sourceType,this.finishNode(u,"Program")};var ar={kind:"loop"},Gn={kind:"switch"};be.isLet=function(u){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Q.lastIndex=this.pos;var d=Q.exec(this.input),k=this.pos+d[0].length,S=this.input.charCodeAt(k);if(S===91||S===92)return!0;if(u)return!1;if(S===123||S>55295&&S<56320)return!0;if(E(S,!0)){for(var M=k+1;w(S=this.input.charCodeAt(M),!0);)++M;if(S===92||S>55295&&S<56320)return!0;var W=this.input.slice(k,M);if(!h.test(W))return!0}return!1},be.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Q.lastIndex=this.pos;var u=Q.exec(this.input),d=this.pos+u[0].length,k;return!R.test(this.input.slice(this.pos,d))&&this.input.slice(d,d+8)==="function"&&(d+8===this.input.length||!(w(k=this.input.charCodeAt(d+8))||k>55295&&k<56320))},be.isUsingKeyword=function(u,d){if(this.options.ecmaVersion<17||!this.isContextual(u?"await":"using"))return!1;Q.lastIndex=this.pos;var k=Q.exec(this.input),S=this.pos+k[0].length;if(R.test(this.input.slice(this.pos,S)))return!1;if(u){var M=S+5,W;if(this.input.slice(S,M)!=="using"||M===this.input.length||w(W=this.input.charCodeAt(M))||W>55295&&W<56320)return!1;Q.lastIndex=M;var K=Q.exec(this.input);if(K&&R.test(this.input.slice(M,M+K[0].length)))return!1}if(d){var he=S+2,pe;if(this.input.slice(S,he)==="of"&&(he===this.input.length||!w(pe=this.input.charCodeAt(he))&&!(pe>55295&&pe<56320)))return!1}var Ie=this.input.charCodeAt(S);return E(Ie,!0)||Ie===92},be.isAwaitUsing=function(u){return this.isUsingKeyword(!0,u)},be.isUsing=function(u){return this.isUsingKeyword(!1,u)},be.parseStatement=function(u,d,k){var S=this.type,M=this.startNode(),W;switch(this.isLet(u)&&(S=b._var,W="let"),S){case b._break:case b._continue:return this.parseBreakContinueStatement(M,S.keyword);case b._debugger:return this.parseDebuggerStatement(M);case b._do:return this.parseDoStatement(M);case b._for:return this.parseForStatement(M);case b._function:return u&&(this.strict||u!=="if"&&u!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(M,!1,!u);case b._class:return u&&this.unexpected(),this.parseClass(M,!0);case b._if:return this.parseIfStatement(M);case b._return:return this.parseReturnStatement(M);case b._switch:return this.parseSwitchStatement(M);case b._throw:return this.parseThrowStatement(M);case b._try:return this.parseTryStatement(M);case b._const:case b._var:return W=W||this.value,u&&W!=="var"&&this.unexpected(),this.parseVarStatement(M,W);case b._while:return this.parseWhileStatement(M);case b._with:return this.parseWithStatement(M);case b.braceL:return this.parseBlock(!0,M);case b.semi:return this.parseEmptyStatement(M);case b._export:case b._import:if(this.options.ecmaVersion>10&&S===b._import){Q.lastIndex=this.pos;var K=Q.exec(this.input),he=this.pos+K[0].length,pe=this.input.charCodeAt(he);if(pe===40||pe===46)return this.parseExpressionStatement(M,this.parseExpression())}return this.options.allowImportExportEverywhere||(d||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),S===b._import?this.parseImport(M):this.parseExport(M,k);default:if(this.isAsyncFunction())return u&&this.unexpected(),this.next(),this.parseFunctionStatement(M,!0,!u);var Ie=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(Ie)return d&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),Ie==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(M,!1,Ie),this.semicolon(),this.finishNode(M,"VariableDeclaration");var Me=this.value,at=this.parseExpression();return S===b.name&&at.type==="Identifier"&&this.eat(b.colon)?this.parseLabeledStatement(M,Me,at,u):this.parseExpressionStatement(M,at)}},be.parseBreakContinueStatement=function(u,d){var k=d==="break";this.next(),this.eat(b.semi)||this.insertSemicolon()?u.label=null:this.type!==b.name?this.unexpected():(u.label=this.parseIdent(),this.semicolon());for(var S=0;S<this.labels.length;++S){var M=this.labels[S];if((u.label==null||M.name===u.label.name)&&(M.kind!=null&&(k||M.kind==="loop")||u.label&&k))break}return S===this.labels.length&&this.raise(u.start,"Unsyntactic "+d),this.finishNode(u,k?"BreakStatement":"ContinueStatement")},be.parseDebuggerStatement=function(u){return this.next(),this.semicolon(),this.finishNode(u,"DebuggerStatement")},be.parseDoStatement=function(u){return this.next(),this.labels.push(ar),u.body=this.parseStatement("do"),this.labels.pop(),this.expect(b._while),u.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(b.semi):this.semicolon(),this.finishNode(u,"DoWhileStatement")},be.parseForStatement=function(u){this.next();var d=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ar),this.enterScope(0),this.expect(b.parenL),this.type===b.semi)return d>-1&&this.unexpected(d),this.parseFor(u,null);var k=this.isLet();if(this.type===b._var||this.type===b._const||k){var S=this.startNode(),M=k?"let":this.value;return this.next(),this.parseVar(S,!0,M),this.finishNode(S,"VariableDeclaration"),this.parseForAfterInit(u,S,d)}var W=this.isContextual("let"),K=!1,he=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(he){var pe=this.startNode();return this.next(),he==="await using"&&this.next(),this.parseVar(pe,!0,he),this.finishNode(pe,"VariableDeclaration"),this.parseForAfterInit(u,pe,d)}var Ie=this.containsEsc,Me=new kt,at=this.start,Mt=d>-1?this.parseExprSubscripts(Me,"await"):this.parseExpression(!0,Me);return this.type===b._in||(K=this.options.ecmaVersion>=6&&this.isContextual("of"))?(d>-1?(this.type===b._in&&this.unexpected(d),u.await=!0):K&&this.options.ecmaVersion>=8&&(Mt.start===at&&!Ie&&Mt.type==="Identifier"&&Mt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(u.await=!1)),W&&K&&this.raise(Mt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Mt,!1,Me),this.checkLValPattern(Mt),this.parseForIn(u,Mt)):(this.checkExpressionErrors(Me,!0),d>-1&&this.unexpected(d),this.parseFor(u,Mt))},be.parseForAfterInit=function(u,d,k){return(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&d.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===b._in?k>-1&&this.unexpected(k):u.await=k>-1),this.parseForIn(u,d)):(k>-1&&this.unexpected(k),this.parseFor(u,d))},be.parseFunctionStatement=function(u,d,k){return this.next(),this.parseFunction(u,Tt|(k?0:Fr),!1,d)},be.parseIfStatement=function(u){return this.next(),u.test=this.parseParenExpression(),u.consequent=this.parseStatement("if"),u.alternate=this.eat(b._else)?this.parseStatement("if"):null,this.finishNode(u,"IfStatement")},be.parseReturnStatement=function(u){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(b.semi)||this.insertSemicolon()?u.argument=null:(u.argument=this.parseExpression(),this.semicolon()),this.finishNode(u,"ReturnStatement")},be.parseSwitchStatement=function(u){this.next(),u.discriminant=this.parseParenExpression(),u.cases=[],this.expect(b.braceL),this.labels.push(Gn),this.enterScope(0);for(var d,k=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var S=this.type===b._case;d&&this.finishNode(d,"SwitchCase"),u.cases.push(d=this.startNode()),d.consequent=[],this.next(),S?d.test=this.parseExpression():(k&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),k=!0,d.test=null),this.expect(b.colon)}else d||this.unexpected(),d.consequent.push(this.parseStatement(null));return this.exitScope(),d&&this.finishNode(d,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(u,"SwitchStatement")},be.parseThrowStatement=function(u){return this.next(),R.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),u.argument=this.parseExpression(),this.semicolon(),this.finishNode(u,"ThrowStatement")};var $n=[];be.parseCatchClauseParam=function(){var u=this.parseBindingAtom(),d=u.type==="Identifier";return this.enterScope(d?Mr:0),this.checkLValPattern(u,d?jn:Ot),this.expect(b.parenR),u},be.parseTryStatement=function(u){if(this.next(),u.block=this.parseBlock(),u.handler=null,this.type===b._catch){var d=this.startNode();this.next(),this.eat(b.parenL)?d.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),d.param=null,this.enterScope(0)),d.body=this.parseBlock(!1),this.exitScope(),u.handler=this.finishNode(d,"CatchClause")}return u.finalizer=this.eat(b._finally)?this.parseBlock():null,!u.handler&&!u.finalizer&&this.raise(u.start,"Missing catch or finally clause"),this.finishNode(u,"TryStatement")},be.parseVarStatement=function(u,d,k){return this.next(),this.parseVar(u,!1,d,k),this.semicolon(),this.finishNode(u,"VariableDeclaration")},be.parseWhileStatement=function(u){return this.next(),u.test=this.parseParenExpression(),this.labels.push(ar),u.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(u,"WhileStatement")},be.parseWithStatement=function(u){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),u.object=this.parseParenExpression(),u.body=this.parseStatement("with"),this.finishNode(u,"WithStatement")},be.parseEmptyStatement=function(u){return this.next(),this.finishNode(u,"EmptyStatement")},be.parseLabeledStatement=function(u,d,k,S){for(var M=0,W=this.labels;M<W.length;M+=1){var K=W[M];K.name===d&&this.raise(k.start,"Label '"+d+"' is already declared")}for(var he=this.type.isLoop?"loop":this.type===b._switch?"switch":null,pe=this.labels.length-1;pe>=0;pe--){var Ie=this.labels[pe];if(Ie.statementStart===u.start)Ie.statementStart=this.start,Ie.kind=he;else break}return this.labels.push({name:d,kind:he,statementStart:this.start}),u.body=this.parseStatement(S?S.indexOf("label")===-1?S+"label":S:"label"),this.labels.pop(),u.label=k,this.finishNode(u,"LabeledStatement")},be.parseExpressionStatement=function(u,d){return u.expression=d,this.semicolon(),this.finishNode(u,"ExpressionStatement")},be.parseBlock=function(u,d,k){for(u===void 0&&(u=!0),d===void 0&&(d=this.startNode()),d.body=[],this.expect(b.braceL),u&&this.enterScope(0);this.type!==b.braceR;){var S=this.parseStatement(null);d.body.push(S)}return k&&(this.strict=!1),this.next(),u&&this.exitScope(),this.finishNode(d,"BlockStatement")},be.parseFor=function(u,d){return u.init=d,this.expect(b.semi),u.test=this.type===b.semi?null:this.parseExpression(),this.expect(b.semi),u.update=this.type===b.parenR?null:this.parseExpression(),this.expect(b.parenR),u.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(u,"ForStatement")},be.parseForIn=function(u,d){var k=this.type===b._in;return this.next(),d.type==="VariableDeclaration"&&d.declarations[0].init!=null&&(!k||this.options.ecmaVersion<8||this.strict||d.kind!=="var"||d.declarations[0].id.type!=="Identifier")&&this.raise(d.start,(k?"for-in":"for-of")+" loop variable declaration may not have an initializer"),u.left=d,u.right=k?this.parseExpression():this.parseMaybeAssign(),this.expect(b.parenR),u.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(u,k?"ForInStatement":"ForOfStatement")},be.parseVar=function(u,d,k,S){for(u.declarations=[],u.kind=k;;){var M=this.startNode();if(this.parseVarId(M,k),this.eat(b.eq)?M.init=this.parseMaybeAssign(d):!S&&k==="const"&&!(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!S&&(k==="using"||k==="await using")&&this.options.ecmaVersion>=17&&this.type!==b._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+k+" declaration"):!S&&M.id.type!=="Identifier"&&!(d&&(this.type===b._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):M.init=null,u.declarations.push(this.finishNode(M,"VariableDeclarator")),!this.eat(b.comma))break}return u},be.parseVarId=function(u,d){u.id=d==="using"||d==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(u.id,d==="var"?qn:Ot,!1)};var Tt=1,Fr=2,fr=4;be.parseFunction=function(u,d,k,S,M){this.initFunction(u),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!S)&&(this.type===b.star&&d&Fr&&this.unexpected(),u.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(u.async=!!S),d&Tt&&(u.id=d&fr&&this.type!==b.name?null:this.parseIdent(),u.id&&!(d&Fr)&&this.checkLValSimple(u.id,this.strict||u.generator||u.async?this.treatFunctionsAsVar?qn:Ot:tt));var W=this.yieldPos,K=this.awaitPos,he=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Br(u.async,u.generator)),d&Tt||(u.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(u),this.parseFunctionBody(u,k,!1,M),this.yieldPos=W,this.awaitPos=K,this.awaitIdentPos=he,this.finishNode(u,d&Tt?"FunctionDeclaration":"FunctionExpression")},be.parseFunctionParams=function(u){this.expect(b.parenL),u.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},be.parseClass=function(u,d){this.next();var k=this.strict;this.strict=!0,this.parseClassId(u,d),this.parseClassSuper(u);var S=this.enterClassBody(),M=this.startNode(),W=!1;for(M.body=[],this.expect(b.braceL);this.type!==b.braceR;){var K=this.parseClassElement(u.superClass!==null);K&&(M.body.push(K),K.type==="MethodDefinition"&&K.kind==="constructor"?(W&&this.raiseRecoverable(K.start,"Duplicate constructor in the same class"),W=!0):K.key&&K.key.type==="PrivateIdentifier"&&cg(S,K)&&this.raiseRecoverable(K.key.start,"Identifier '#"+K.key.name+"' has already been declared"))}return this.strict=k,this.next(),u.body=this.finishNode(M,"ClassBody"),this.exitClassBody(),this.finishNode(u,d?"ClassDeclaration":"ClassExpression")},be.parseClassElement=function(u){if(this.eat(b.semi))return null;var d=this.options.ecmaVersion,k=this.startNode(),S="",M=!1,W=!1,K="method",he=!1;if(this.eatContextual("static")){if(d>=13&&this.eat(b.braceL))return this.parseClassStaticBlock(k),k;this.isClassElementNameStart()||this.type===b.star?he=!0:S="static"}if(k.static=he,!S&&d>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===b.star)&&!this.canInsertSemicolon()?W=!0:S="async"),!S&&(d>=9||!W)&&this.eat(b.star)&&(M=!0),!S&&!W&&!M){var pe=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?K=pe:S=pe)}if(S?(k.computed=!1,k.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),k.key.name=S,this.finishNode(k.key,"Identifier")):this.parseClassElementName(k),d<13||this.type===b.parenL||K!=="method"||M||W){var Ie=!k.static&&ja(k,"constructor"),Me=Ie&&u;Ie&&K!=="method"&&this.raise(k.key.start,"Constructor can't have get/set modifier"),k.kind=Ie?"constructor":K,this.parseClassMethod(k,M,W,Me)}else this.parseClassField(k);return k},be.isClassElementNameStart=function(){return this.type===b.name||this.type===b.privateId||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword},be.parseClassElementName=function(u){this.type===b.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),u.computed=!1,u.key=this.parsePrivateIdent()):this.parsePropertyName(u)},be.parseClassMethod=function(u,d,k,S){var M=u.key;u.kind==="constructor"?(d&&this.raise(M.start,"Constructor can't be a generator"),k&&this.raise(M.start,"Constructor can't be an async method")):u.static&&ja(u,"prototype")&&this.raise(M.start,"Classes may not have a static property named prototype");var W=u.value=this.parseMethod(d,k,S);return u.kind==="get"&&W.params.length!==0&&this.raiseRecoverable(W.start,"getter should have no params"),u.kind==="set"&&W.params.length!==1&&this.raiseRecoverable(W.start,"setter should have exactly one param"),u.kind==="set"&&W.params[0].type==="RestElement"&&this.raiseRecoverable(W.params[0].start,"Setter cannot use rest params"),this.finishNode(u,"MethodDefinition")},be.parseClassField=function(u){return ja(u,"constructor")?this.raise(u.key.start,"Classes can't have a field named 'constructor'"):u.static&&ja(u,"prototype")&&this.raise(u.key.start,"Classes can't have a static field named 'prototype'"),this.eat(b.eq)?(this.enterScope(qt|hr),u.value=this.parseMaybeAssign(),this.exitScope()):u.value=null,this.semicolon(),this.finishNode(u,"PropertyDefinition")},be.parseClassStaticBlock=function(u){u.body=[];var d=this.labels;for(this.labels=[],this.enterScope(Dt|hr);this.type!==b.braceR;){var k=this.parseStatement(null);u.body.push(k)}return this.next(),this.exitScope(),this.labels=d,this.finishNode(u,"StaticBlock")},be.parseClassId=function(u,d){this.type===b.name?(u.id=this.parseIdent(),d&&this.checkLValSimple(u.id,Ot,!1)):(d===!0&&this.unexpected(),u.id=null)},be.parseClassSuper=function(u){u.superClass=this.eat(b._extends)?this.parseExprSubscripts(null,!1):null},be.enterClassBody=function(){var u={declared:Object.create(null),used:[]};return this.privateNameStack.push(u),u.declared},be.exitClassBody=function(){var u=this.privateNameStack.pop(),d=u.declared,k=u.used;if(this.options.checkPrivateFields)for(var S=this.privateNameStack.length,M=S===0?null:this.privateNameStack[S-1],W=0;W<k.length;++W){var K=k[W];Te(d,K.name)||(M?M.used.push(K):this.raiseRecoverable(K.start,"Private field '#"+K.name+"' must be declared in an enclosing class"))}};function cg(u,d){var k=d.key.name,S=u[k],M="true";return d.type==="MethodDefinition"&&(d.kind==="get"||d.kind==="set")&&(M=(d.static?"s":"i")+d.kind),S==="iget"&&M==="iset"||S==="iset"&&M==="iget"||S==="sget"&&M==="sset"||S==="sset"&&M==="sget"?(u[k]="true",!1):S?!0:(u[k]=M,!1)}function ja(u,d){var k=u.computed,S=u.key;return!k&&(S.type==="Identifier"&&S.name===d||S.type==="Literal"&&S.value===d)}be.parseExportAllDeclaration=function(u,d){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(u.exported=this.parseModuleExportName(),this.checkExport(d,u.exported,this.lastTokStart)):u.exported=null),this.expectContextual("from"),this.type!==b.string&&this.unexpected(),u.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(u.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(u,"ExportAllDeclaration")},be.parseExport=function(u,d){if(this.next(),this.eat(b.star))return this.parseExportAllDeclaration(u,d);if(this.eat(b._default))return this.checkExport(d,"default",this.lastTokStart),u.declaration=this.parseExportDefaultDeclaration(),this.finishNode(u,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())u.declaration=this.parseExportDeclaration(u),u.declaration.type==="VariableDeclaration"?this.checkVariableExport(d,u.declaration.declarations):this.checkExport(d,u.declaration.id,u.declaration.id.start),u.specifiers=[],u.source=null,this.options.ecmaVersion>=16&&(u.attributes=[]);else{if(u.declaration=null,u.specifiers=this.parseExportSpecifiers(d),this.eatContextual("from"))this.type!==b.string&&this.unexpected(),u.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(u.attributes=this.parseWithClause());else{for(var k=0,S=u.specifiers;k<S.length;k+=1){var M=S[k];this.checkUnreserved(M.local),this.checkLocalExport(M.local),M.local.type==="Literal"&&this.raise(M.local.start,"A string literal cannot be used as an exported binding without `from`.")}u.source=null,this.options.ecmaVersion>=16&&(u.attributes=[])}this.semicolon()}return this.finishNode(u,"ExportNamedDeclaration")},be.parseExportDeclaration=function(u){return this.parseStatement(null)},be.parseExportDefaultDeclaration=function(){var u;if(this.type===b._function||(u=this.isAsyncFunction())){var d=this.startNode();return this.next(),u&&this.next(),this.parseFunction(d,Tt|fr,!1,u)}else if(this.type===b._class){var k=this.startNode();return this.parseClass(k,"nullableID")}else{var S=this.parseMaybeAssign();return this.semicolon(),S}},be.checkExport=function(u,d,k){u&&(typeof d!="string"&&(d=d.type==="Identifier"?d.name:d.value),Te(u,d)&&this.raiseRecoverable(k,"Duplicate export '"+d+"'"),u[d]=!0)},be.checkPatternExport=function(u,d){var k=d.type;if(k==="Identifier")this.checkExport(u,d,d.start);else if(k==="ObjectPattern")for(var S=0,M=d.properties;S<M.length;S+=1){var W=M[S];this.checkPatternExport(u,W)}else if(k==="ArrayPattern")for(var K=0,he=d.elements;K<he.length;K+=1){var pe=he[K];pe&&this.checkPatternExport(u,pe)}else k==="Property"?this.checkPatternExport(u,d.value):k==="AssignmentPattern"?this.checkPatternExport(u,d.left):k==="RestElement"&&this.checkPatternExport(u,d.argument)},be.checkVariableExport=function(u,d){if(u)for(var k=0,S=d;k<S.length;k+=1){var M=S[k];this.checkPatternExport(u,M.id)}},be.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},be.parseExportSpecifier=function(u){var d=this.startNode();return d.local=this.parseModuleExportName(),d.exported=this.eatContextual("as")?this.parseModuleExportName():d.local,this.checkExport(u,d.exported,d.exported.start),this.finishNode(d,"ExportSpecifier")},be.parseExportSpecifiers=function(u){var d=[],k=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(k)k=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;d.push(this.parseExportSpecifier(u))}return d},be.parseImport=function(u){return this.next(),this.type===b.string?(u.specifiers=$n,u.source=this.parseExprAtom()):(u.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),u.source=this.type===b.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(u.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(u,"ImportDeclaration")},be.parseImportSpecifier=function(){var u=this.startNode();return u.imported=this.parseModuleExportName(),this.eatContextual("as")?u.local=this.parseIdent():(this.checkUnreserved(u.imported),u.local=u.imported),this.checkLValSimple(u.local,Ot),this.finishNode(u,"ImportSpecifier")},be.parseImportDefaultSpecifier=function(){var u=this.startNode();return u.local=this.parseIdent(),this.checkLValSimple(u.local,Ot),this.finishNode(u,"ImportDefaultSpecifier")},be.parseImportNamespaceSpecifier=function(){var u=this.startNode();return this.next(),this.expectContextual("as"),u.local=this.parseIdent(),this.checkLValSimple(u.local,Ot),this.finishNode(u,"ImportNamespaceSpecifier")},be.parseImportSpecifiers=function(){var u=[],d=!0;if(this.type===b.name&&(u.push(this.parseImportDefaultSpecifier()),!this.eat(b.comma)))return u;if(this.type===b.star)return u.push(this.parseImportNamespaceSpecifier()),u;for(this.expect(b.braceL);!this.eat(b.braceR);){if(d)d=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;u.push(this.parseImportSpecifier())}return u},be.parseWithClause=function(){var u=[];if(!this.eat(b._with))return u;this.expect(b.braceL);for(var d={},k=!0;!this.eat(b.braceR);){if(k)k=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;var S=this.parseImportAttribute(),M=S.key.type==="Identifier"?S.key.name:S.key.value;Te(d,M)&&this.raiseRecoverable(S.key.start,"Duplicate attribute key '"+M+"'"),d[M]=!0,u.push(S)}return u},be.parseImportAttribute=function(){var u=this.startNode();return u.key=this.type===b.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(b.colon),this.type!==b.string&&this.unexpected(),u.value=this.parseExprAtom(),this.finishNode(u,"ImportAttribute")},be.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===b.string){var u=this.parseLiteral(this.value);return Qe.test(u.value)&&this.raise(u.start,"An export name cannot include a lone surrogate."),u}return this.parseIdent(!0)},be.adaptDirectivePrologue=function(u){for(var d=0;d<u.length&&this.isDirectiveCandidate(u[d]);++d)u[d].directive=u[d].expression.raw.slice(1,-1)},be.isDirectiveCandidate=function(u){return this.options.ecmaVersion>=5&&u.type==="ExpressionStatement"&&u.expression.type==="Literal"&&typeof u.expression.value=="string"&&(this.input[u.start]==='"'||this.input[u.start]==="'")};var dr=te.prototype;dr.toAssignable=function(u,d,k){if(this.options.ecmaVersion>=6&&u)switch(u.type){case"Identifier":this.inAsync&&u.name==="await"&&this.raise(u.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":u.type="ObjectPattern",k&&this.checkPatternErrors(k,!0);for(var S=0,M=u.properties;S<M.length;S+=1){var W=M[S];this.toAssignable(W,d),W.type==="RestElement"&&(W.argument.type==="ArrayPattern"||W.argument.type==="ObjectPattern")&&this.raise(W.argument.start,"Unexpected token")}break;case"Property":u.kind!=="init"&&this.raise(u.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(u.value,d);break;case"ArrayExpression":u.type="ArrayPattern",k&&this.checkPatternErrors(k,!0),this.toAssignableList(u.elements,d);break;case"SpreadElement":u.type="RestElement",this.toAssignable(u.argument,d),u.argument.type==="AssignmentPattern"&&this.raise(u.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":u.operator!=="="&&this.raise(u.left.end,"Only '=' operator can be used for specifying default value."),u.type="AssignmentPattern",delete u.operator,this.toAssignable(u.left,d);break;case"ParenthesizedExpression":this.toAssignable(u.expression,d,k);break;case"ChainExpression":this.raiseRecoverable(u.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!d)break;default:this.raise(u.start,"Assigning to rvalue")}else k&&this.checkPatternErrors(k,!0);return u},dr.toAssignableList=function(u,d){for(var k=u.length,S=0;S<k;S++){var M=u[S];M&&this.toAssignable(M,d)}if(k){var W=u[k-1];this.options.ecmaVersion===6&&d&&W&&W.type==="RestElement"&&W.argument.type!=="Identifier"&&this.unexpected(W.argument.start)}return u},dr.parseSpread=function(u){var d=this.startNode();return this.next(),d.argument=this.parseMaybeAssign(!1,u),this.finishNode(d,"SpreadElement")},dr.parseRestBinding=function(){var u=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==b.name&&this.unexpected(),u.argument=this.parseBindingAtom(),this.finishNode(u,"RestElement")},dr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case b.bracketL:var u=this.startNode();return this.next(),u.elements=this.parseBindingList(b.bracketR,!0,!0),this.finishNode(u,"ArrayPattern");case b.braceL:return this.parseObj(!0)}return this.parseIdent()},dr.parseBindingList=function(u,d,k,S){for(var M=[],W=!0;!this.eat(u);)if(W?W=!1:this.expect(b.comma),d&&this.type===b.comma)M.push(null);else{if(k&&this.afterTrailingComma(u))break;if(this.type===b.ellipsis){var K=this.parseRestBinding();this.parseBindingListItem(K),M.push(K),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(u);break}else M.push(this.parseAssignableListItem(S))}return M},dr.parseAssignableListItem=function(u){var d=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(d),d},dr.parseBindingListItem=function(u){return u},dr.parseMaybeDefault=function(u,d,k){if(k=k||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return k;var S=this.startNodeAt(u,d);return S.left=k,S.right=this.parseMaybeAssign(),this.finishNode(S,"AssignmentPattern")},dr.checkLValSimple=function(u,d,k){d===void 0&&(d=nn);var S=d!==nn;switch(u.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(u.name)&&this.raiseRecoverable(u.start,(S?"Binding ":"Assigning to ")+u.name+" in strict mode"),S&&(d===Ot&&u.name==="let"&&this.raiseRecoverable(u.start,"let is disallowed as a lexically bound name"),k&&(Te(k,u.name)&&this.raiseRecoverable(u.start,"Argument name clash"),k[u.name]=!0),d!==ee&&this.declareName(u.name,d,u.start));break;case"ChainExpression":this.raiseRecoverable(u.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":S&&this.raiseRecoverable(u.start,"Binding member expression");break;case"ParenthesizedExpression":return S&&this.raiseRecoverable(u.start,"Binding parenthesized expression"),this.checkLValSimple(u.expression,d,k);default:this.raise(u.start,(S?"Binding":"Assigning to")+" rvalue")}},dr.checkLValPattern=function(u,d,k){switch(d===void 0&&(d=nn),u.type){case"ObjectPattern":for(var S=0,M=u.properties;S<M.length;S+=1){var W=M[S];this.checkLValInnerPattern(W,d,k)}break;case"ArrayPattern":for(var K=0,he=u.elements;K<he.length;K+=1){var pe=he[K];pe&&this.checkLValInnerPattern(pe,d,k)}break;default:this.checkLValSimple(u,d,k)}},dr.checkLValInnerPattern=function(u,d,k){switch(d===void 0&&(d=nn),u.type){case"Property":this.checkLValInnerPattern(u.value,d,k);break;case"AssignmentPattern":this.checkLValPattern(u.left,d,k);break;case"RestElement":this.checkLValPattern(u.argument,d,k);break;default:this.checkLValPattern(u,d,k)}};var pr=function(d,k,S,M,W){this.token=d,this.isExpr=!!k,this.preserveSpace=!!S,this.override=M,this.generator=!!W},it={b_stat:new pr("{",!1),b_expr:new pr("{",!0),b_tmpl:new pr("${",!1),p_stat:new pr("(",!1),p_expr:new pr("(",!0),q_tmpl:new pr("`",!0,!0,function(u){return u.tryReadTemplateToken()}),f_stat:new pr("function",!1),f_expr:new pr("function",!0),f_expr_gen:new pr("function",!0,!1,null,!0),f_gen:new pr("function",!1,!1,null,!0)},ni=te.prototype;ni.initialContext=function(){return[it.b_stat]},ni.curContext=function(){return this.context[this.context.length-1]},ni.braceIsBlock=function(u){var d=this.curContext();return d===it.f_expr||d===it.f_stat?!0:u===b.colon&&(d===it.b_stat||d===it.b_expr)?!d.isExpr:u===b._return||u===b.name&&this.exprAllowed?R.test(this.input.slice(this.lastTokEnd,this.start)):u===b._else||u===b.semi||u===b.eof||u===b.parenR||u===b.arrow?!0:u===b.braceL?d===it.b_stat:u===b._var||u===b._const||u===b.name?!1:!this.exprAllowed},ni.inGeneratorContext=function(){for(var u=this.context.length-1;u>=1;u--){var d=this.context[u];if(d.token==="function")return d.generator}return!1},ni.updateContext=function(u){var d,k=this.type;k.keyword&&u===b.dot?this.exprAllowed=!1:(d=k.updateContext)?d.call(this,u):this.exprAllowed=k.beforeExpr},ni.overrideContext=function(u){this.curContext()!==u&&(this.context[this.context.length-1]=u)},b.parenR.updateContext=b.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var u=this.context.pop();u===it.b_stat&&this.curContext().token==="function"&&(u=this.context.pop()),this.exprAllowed=!u.isExpr},b.braceL.updateContext=function(u){this.context.push(this.braceIsBlock(u)?it.b_stat:it.b_expr),this.exprAllowed=!0},b.dollarBraceL.updateContext=function(){this.context.push(it.b_tmpl),this.exprAllowed=!0},b.parenL.updateContext=function(u){var d=u===b._if||u===b._for||u===b._with||u===b._while;this.context.push(d?it.p_stat:it.p_expr),this.exprAllowed=!0},b.incDec.updateContext=function(){},b._function.updateContext=b._class.updateContext=function(u){u.beforeExpr&&u!==b._else&&!(u===b.semi&&this.curContext()!==it.p_stat)&&!(u===b._return&&R.test(this.input.slice(this.lastTokEnd,this.start)))&&!((u===b.colon||u===b.braceL)&&this.curContext()===it.b_stat)?this.context.push(it.f_expr):this.context.push(it.f_stat),this.exprAllowed=!1},b.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},b.backQuote.updateContext=function(){this.curContext()===it.q_tmpl?this.context.pop():this.context.push(it.q_tmpl),this.exprAllowed=!1},b.star.updateContext=function(u){if(u===b._function){var d=this.context.length-1;this.context[d]===it.f_expr?this.context[d]=it.f_expr_gen:this.context[d]=it.f_gen}this.exprAllowed=!0},b.name.updateContext=function(u){var d=!1;this.options.ecmaVersion>=6&&u!==b.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(d=!0),this.exprAllowed=d};var Ne=te.prototype;Ne.checkPropClash=function(u,d,k){if(!(this.options.ecmaVersion>=9&&u.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(u.computed||u.method||u.shorthand))){var S=u.key,M;switch(S.type){case"Identifier":M=S.name;break;case"Literal":M=String(S.value);break;default:return}var W=u.kind;if(this.options.ecmaVersion>=6){M==="__proto__"&&W==="init"&&(d.proto&&(k?k.doubleProto<0&&(k.doubleProto=S.start):this.raiseRecoverable(S.start,"Redefinition of __proto__ property")),d.proto=!0);return}M="$"+M;var K=d[M];if(K){var he;W==="init"?he=this.strict&&K.init||K.get||K.set:he=K.init||K[W],he&&this.raiseRecoverable(S.start,"Redefinition of property")}else K=d[M]={init:!1,get:!1,set:!1};K[W]=!0}},Ne.parseExpression=function(u,d){var k=this.start,S=this.startLoc,M=this.parseMaybeAssign(u,d);if(this.type===b.comma){var W=this.startNodeAt(k,S);for(W.expressions=[M];this.eat(b.comma);)W.expressions.push(this.parseMaybeAssign(u,d));return this.finishNode(W,"SequenceExpression")}return M},Ne.parseMaybeAssign=function(u,d,k){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(u);this.exprAllowed=!1}var S=!1,M=-1,W=-1,K=-1;d?(M=d.parenthesizedAssign,W=d.trailingComma,K=d.doubleProto,d.parenthesizedAssign=d.trailingComma=-1):(d=new kt,S=!0);var he=this.start,pe=this.startLoc;(this.type===b.parenL||this.type===b.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=u==="await");var Ie=this.parseMaybeConditional(u,d);if(k&&(Ie=k.call(this,Ie,he,pe)),this.type.isAssign){var Me=this.startNodeAt(he,pe);return Me.operator=this.value,this.type===b.eq&&(Ie=this.toAssignable(Ie,!1,d)),S||(d.parenthesizedAssign=d.trailingComma=d.doubleProto=-1),d.shorthandAssign>=Ie.start&&(d.shorthandAssign=-1),this.type===b.eq?this.checkLValPattern(Ie):this.checkLValSimple(Ie),Me.left=Ie,this.next(),Me.right=this.parseMaybeAssign(u),K>-1&&(d.doubleProto=K),this.finishNode(Me,"AssignmentExpression")}else S&&this.checkExpressionErrors(d,!0);return M>-1&&(d.parenthesizedAssign=M),W>-1&&(d.trailingComma=W),Ie},Ne.parseMaybeConditional=function(u,d){var k=this.start,S=this.startLoc,M=this.parseExprOps(u,d);if(this.checkExpressionErrors(d))return M;if(this.eat(b.question)){var W=this.startNodeAt(k,S);return W.test=M,W.consequent=this.parseMaybeAssign(),this.expect(b.colon),W.alternate=this.parseMaybeAssign(u),this.finishNode(W,"ConditionalExpression")}return M},Ne.parseExprOps=function(u,d){var k=this.start,S=this.startLoc,M=this.parseMaybeUnary(d,!1,!1,u);return this.checkExpressionErrors(d)||M.start===k&&M.type==="ArrowFunctionExpression"?M:this.parseExprOp(M,k,S,-1,u)},Ne.parseExprOp=function(u,d,k,S,M){var W=this.type.binop;if(W!=null&&(!M||this.type!==b._in)&&W>S){var K=this.type===b.logicalOR||this.type===b.logicalAND,he=this.type===b.coalesce;he&&(W=b.logicalAND.binop);var pe=this.value;this.next();var Ie=this.start,Me=this.startLoc,at=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,M),Ie,Me,W,M),Mt=this.buildBinary(d,k,u,at,pe,K||he);return(K&&this.type===b.coalesce||he&&(this.type===b.logicalOR||this.type===b.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Mt,d,k,S,M)}return u},Ne.buildBinary=function(u,d,k,S,M,W){S.type==="PrivateIdentifier"&&this.raise(S.start,"Private identifier can only be left side of binary expression");var K=this.startNodeAt(u,d);return K.left=k,K.operator=M,K.right=S,this.finishNode(K,W?"LogicalExpression":"BinaryExpression")},Ne.parseMaybeUnary=function(u,d,k,S){var M=this.start,W=this.startLoc,K;if(this.isContextual("await")&&this.canAwait)K=this.parseAwait(S),d=!0;else if(this.type.prefix){var he=this.startNode(),pe=this.type===b.incDec;he.operator=this.value,he.prefix=!0,this.next(),he.argument=this.parseMaybeUnary(null,!0,pe,S),this.checkExpressionErrors(u,!0),pe?this.checkLValSimple(he.argument):this.strict&&he.operator==="delete"&&$0(he.argument)?this.raiseRecoverable(he.start,"Deleting local variable in strict mode"):he.operator==="delete"&&Ou(he.argument)?this.raiseRecoverable(he.start,"Private fields can not be deleted"):d=!0,K=this.finishNode(he,pe?"UpdateExpression":"UnaryExpression")}else if(!d&&this.type===b.privateId)(S||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),K=this.parsePrivateIdent(),this.type!==b._in&&this.unexpected();else{if(K=this.parseExprSubscripts(u,S),this.checkExpressionErrors(u))return K;for(;this.type.postfix&&!this.canInsertSemicolon();){var Ie=this.startNodeAt(M,W);Ie.operator=this.value,Ie.prefix=!1,Ie.argument=K,this.checkLValSimple(K),this.next(),K=this.finishNode(Ie,"UpdateExpression")}}if(!k&&this.eat(b.starstar))if(d)this.unexpected(this.lastTokStart);else return this.buildBinary(M,W,K,this.parseMaybeUnary(null,!1,!1,S),"**",!1);else return K};function $0(u){return u.type==="Identifier"||u.type==="ParenthesizedExpression"&&$0(u.expression)}function Ou(u){return u.type==="MemberExpression"&&u.property.type==="PrivateIdentifier"||u.type==="ChainExpression"&&Ou(u.expression)||u.type==="ParenthesizedExpression"&&Ou(u.expression)}Ne.parseExprSubscripts=function(u,d){var k=this.start,S=this.startLoc,M=this.parseExprAtom(u,d);if(M.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return M;var W=this.parseSubscripts(M,k,S,!1,d);return u&&W.type==="MemberExpression"&&(u.parenthesizedAssign>=W.start&&(u.parenthesizedAssign=-1),u.parenthesizedBind>=W.start&&(u.parenthesizedBind=-1),u.trailingComma>=W.start&&(u.trailingComma=-1)),W},Ne.parseSubscripts=function(u,d,k,S,M){for(var W=this.options.ecmaVersion>=8&&u.type==="Identifier"&&u.name==="async"&&this.lastTokEnd===u.end&&!this.canInsertSemicolon()&&u.end-u.start===5&&this.potentialArrowAt===u.start,K=!1;;){var he=this.parseSubscript(u,d,k,S,W,K,M);if(he.optional&&(K=!0),he===u||he.type==="ArrowFunctionExpression"){if(K){var pe=this.startNodeAt(d,k);pe.expression=he,he=this.finishNode(pe,"ChainExpression")}return he}u=he}},Ne.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(b.arrow)},Ne.parseSubscriptAsyncArrow=function(u,d,k,S){return this.parseArrowExpression(this.startNodeAt(u,d),k,!0,S)},Ne.parseSubscript=function(u,d,k,S,M,W,K){var he=this.options.ecmaVersion>=11,pe=he&&this.eat(b.questionDot);S&&pe&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Ie=this.eat(b.bracketL);if(Ie||pe&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var Me=this.startNodeAt(d,k);Me.object=u,Ie?(Me.property=this.parseExpression(),this.expect(b.bracketR)):this.type===b.privateId&&u.type!=="Super"?Me.property=this.parsePrivateIdent():Me.property=this.parseIdent(this.options.allowReserved!=="never"),Me.computed=!!Ie,he&&(Me.optional=pe),u=this.finishNode(Me,"MemberExpression")}else if(!S&&this.eat(b.parenL)){var at=new kt,Mt=this.yieldPos,ji=this.awaitPos,ii=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Xa=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1,at);if(M&&!pe&&this.shouldParseAsyncArrow())return this.checkPatternErrors(at,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Mt,this.awaitPos=ji,this.awaitIdentPos=ii,this.parseSubscriptAsyncArrow(d,k,Xa,K);this.checkExpressionErrors(at,!0),this.yieldPos=Mt||this.yieldPos,this.awaitPos=ji||this.awaitPos,this.awaitIdentPos=ii||this.awaitIdentPos;var ai=this.startNodeAt(d,k);ai.callee=u,ai.arguments=Xa,he&&(ai.optional=pe),u=this.finishNode(ai,"CallExpression")}else if(this.type===b.backQuote){(pe||W)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var si=this.startNodeAt(d,k);si.tag=u,si.quasi=this.parseTemplate({isTagged:!0}),u=this.finishNode(si,"TaggedTemplateExpression")}return u},Ne.parseExprAtom=function(u,d,k){this.type===b.slash&&this.readRegexp();var S,M=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),S=this.startNode(),this.next(),this.type===b.parenL&&!this.allowDirectSuper&&this.raise(S.start,"super() call outside constructor of a subclass"),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(S,"Super");case b._this:return S=this.startNode(),this.next(),this.finishNode(S,"ThisExpression");case b.name:var W=this.start,K=this.startLoc,he=this.containsEsc,pe=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!he&&pe.name==="async"&&!this.canInsertSemicolon()&&this.eat(b._function))return this.overrideContext(it.f_expr),this.parseFunction(this.startNodeAt(W,K),0,!1,!0,d);if(M&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(W,K),[pe],!1,d);if(this.options.ecmaVersion>=8&&pe.name==="async"&&this.type===b.name&&!he&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return pe=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(b.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(W,K),[pe],!0,d)}return pe;case b.regexp:var Ie=this.value;return S=this.parseLiteral(Ie.value),S.regex={pattern:Ie.pattern,flags:Ie.flags},S;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return S=this.startNode(),S.value=this.type===b._null?null:this.type===b._true,S.raw=this.type.keyword,this.next(),this.finishNode(S,"Literal");case b.parenL:var Me=this.start,at=this.parseParenAndDistinguishExpression(M,d);return u&&(u.parenthesizedAssign<0&&!this.isSimpleAssignTarget(at)&&(u.parenthesizedAssign=Me),u.parenthesizedBind<0&&(u.parenthesizedBind=Me)),at;case b.bracketL:return S=this.startNode(),this.next(),S.elements=this.parseExprList(b.bracketR,!0,!0,u),this.finishNode(S,"ArrayExpression");case b.braceL:return this.overrideContext(it.b_expr),this.parseObj(!1,u);case b._function:return S=this.startNode(),this.next(),this.parseFunction(S,0);case b._class:return this.parseClass(this.startNode(),!1);case b._new:return this.parseNew();case b.backQuote:return this.parseTemplate();case b._import:return this.options.ecmaVersion>=11?this.parseExprImport(k):this.unexpected();default:return this.parseExprAtomDefault()}},Ne.parseExprAtomDefault=function(){this.unexpected()},Ne.parseExprImport=function(u){var d=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===b.parenL&&!u)return this.parseDynamicImport(d);if(this.type===b.dot){var k=this.startNodeAt(d.start,d.loc&&d.loc.start);return k.name="import",d.meta=this.finishNode(k,"Identifier"),this.parseImportMeta(d)}else this.unexpected()},Ne.parseDynamicImport=function(u){if(this.next(),u.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(b.parenR)?u.options=null:(this.expect(b.comma),this.afterTrailingComma(b.parenR)?u.options=null:(u.options=this.parseMaybeAssign(),this.eat(b.parenR)||(this.expect(b.comma),this.afterTrailingComma(b.parenR)||this.unexpected())));else if(!this.eat(b.parenR)){var d=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(d,"Trailing comma is not allowed in import()"):this.unexpected(d)}return this.finishNode(u,"ImportExpression")},Ne.parseImportMeta=function(u){this.next();var d=this.containsEsc;return u.property=this.parseIdent(!0),u.property.name!=="meta"&&this.raiseRecoverable(u.property.start,"The only valid meta property for import is 'import.meta'"),d&&this.raiseRecoverable(u.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(u.start,"Cannot use 'import.meta' outside a module"),this.finishNode(u,"MetaProperty")},Ne.parseLiteral=function(u){var d=this.startNode();return d.value=u,d.raw=this.input.slice(this.start,this.end),d.raw.charCodeAt(d.raw.length-1)===110&&(d.bigint=d.value!=null?d.value.toString():d.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(d,"Literal")},Ne.parseParenExpression=function(){this.expect(b.parenL);var u=this.parseExpression();return this.expect(b.parenR),u},Ne.shouldParseArrow=function(u){return!this.canInsertSemicolon()},Ne.parseParenAndDistinguishExpression=function(u,d){var k=this.start,S=this.startLoc,M,W=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var K=this.start,he=this.startLoc,pe=[],Ie=!0,Me=!1,at=new kt,Mt=this.yieldPos,ji=this.awaitPos,ii;for(this.yieldPos=0,this.awaitPos=0;this.type!==b.parenR;)if(Ie?Ie=!1:this.expect(b.comma),W&&this.afterTrailingComma(b.parenR,!0)){Me=!0;break}else if(this.type===b.ellipsis){ii=this.start,pe.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else pe.push(this.parseMaybeAssign(!1,at,this.parseParenItem));var Xa=this.lastTokEnd,ai=this.lastTokEndLoc;if(this.expect(b.parenR),u&&this.shouldParseArrow(pe)&&this.eat(b.arrow))return this.checkPatternErrors(at,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Mt,this.awaitPos=ji,this.parseParenArrowList(k,S,pe,d);(!pe.length||Me)&&this.unexpected(this.lastTokStart),ii&&this.unexpected(ii),this.checkExpressionErrors(at,!0),this.yieldPos=Mt||this.yieldPos,this.awaitPos=ji||this.awaitPos,pe.length>1?(M=this.startNodeAt(K,he),M.expressions=pe,this.finishNodeAt(M,"SequenceExpression",Xa,ai)):M=pe[0]}else M=this.parseParenExpression();if(this.options.preserveParens){var si=this.startNodeAt(k,S);return si.expression=M,this.finishNode(si,"ParenthesizedExpression")}else return M},Ne.parseParenItem=function(u){return u},Ne.parseParenArrowList=function(u,d,k,S){return this.parseArrowExpression(this.startNodeAt(u,d),k,!1,S)};var hg=[];Ne.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var u=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===b.dot){var d=this.startNodeAt(u.start,u.loc&&u.loc.start);d.name="new",u.meta=this.finishNode(d,"Identifier"),this.next();var k=this.containsEsc;return u.property=this.parseIdent(!0),u.property.name!=="target"&&this.raiseRecoverable(u.property.start,"The only valid meta property for new is 'new.target'"),k&&this.raiseRecoverable(u.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(u.start,"'new.target' can only be used in functions and class static block"),this.finishNode(u,"MetaProperty")}var S=this.start,M=this.startLoc;return u.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),S,M,!0,!1),this.eat(b.parenL)?u.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):u.arguments=hg,this.finishNode(u,"NewExpression")},Ne.parseTemplateElement=function(u){var d=u.isTagged,k=this.startNode();return this.type===b.invalidTemplate?(d||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),k.value={raw:this.value.replace(/\r\n?/g,`
6
+ `),cooked:null}):k.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
7
+ `),cooked:this.value},this.next(),k.tail=this.type===b.backQuote,this.finishNode(k,"TemplateElement")},Ne.parseTemplate=function(u){u===void 0&&(u={});var d=u.isTagged;d===void 0&&(d=!1);var k=this.startNode();this.next(),k.expressions=[];var S=this.parseTemplateElement({isTagged:d});for(k.quasis=[S];!S.tail;)this.type===b.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(b.dollarBraceL),k.expressions.push(this.parseExpression()),this.expect(b.braceR),k.quasis.push(S=this.parseTemplateElement({isTagged:d}));return this.next(),this.finishNode(k,"TemplateLiteral")},Ne.isAsyncProp=function(u){return!u.computed&&u.key.type==="Identifier"&&u.key.name==="async"&&(this.type===b.name||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===b.star)&&!R.test(this.input.slice(this.lastTokEnd,this.start))},Ne.parseObj=function(u,d){var k=this.startNode(),S=!0,M={};for(k.properties=[],this.next();!this.eat(b.braceR);){if(S)S=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var W=this.parseProperty(u,d);u||this.checkPropClash(W,M,d),k.properties.push(W)}return this.finishNode(k,u?"ObjectPattern":"ObjectExpression")},Ne.parseProperty=function(u,d){var k=this.startNode(),S,M,W,K;if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return u?(k.argument=this.parseIdent(!1),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(k,"RestElement")):(k.argument=this.parseMaybeAssign(!1,d),this.type===b.comma&&d&&d.trailingComma<0&&(d.trailingComma=this.start),this.finishNode(k,"SpreadElement"));this.options.ecmaVersion>=6&&(k.method=!1,k.shorthand=!1,(u||d)&&(W=this.start,K=this.startLoc),u||(S=this.eat(b.star)));var he=this.containsEsc;return this.parsePropertyName(k),!u&&!he&&this.options.ecmaVersion>=8&&!S&&this.isAsyncProp(k)?(M=!0,S=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(k)):M=!1,this.parsePropertyValue(k,u,S,M,W,K,d,he),this.finishNode(k,"Property")},Ne.parseGetterSetter=function(u){var d=u.key.name;this.parsePropertyName(u),u.value=this.parseMethod(!1),u.kind=d;var k=u.kind==="get"?0:1;if(u.value.params.length!==k){var S=u.value.start;u.kind==="get"?this.raiseRecoverable(S,"getter should have no params"):this.raiseRecoverable(S,"setter should have exactly one param")}else u.kind==="set"&&u.value.params[0].type==="RestElement"&&this.raiseRecoverable(u.value.params[0].start,"Setter cannot use rest params")},Ne.parsePropertyValue=function(u,d,k,S,M,W,K,he){(k||S)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon)?(u.value=d?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,K),u.kind="init"):this.options.ecmaVersion>=6&&this.type===b.parenL?(d&&this.unexpected(),u.method=!0,u.value=this.parseMethod(k,S),u.kind="init"):!d&&!he&&this.options.ecmaVersion>=5&&!u.computed&&u.key.type==="Identifier"&&(u.key.name==="get"||u.key.name==="set")&&this.type!==b.comma&&this.type!==b.braceR&&this.type!==b.eq?((k||S)&&this.unexpected(),this.parseGetterSetter(u)):this.options.ecmaVersion>=6&&!u.computed&&u.key.type==="Identifier"?((k||S)&&this.unexpected(),this.checkUnreserved(u.key),u.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=M),d?u.value=this.parseMaybeDefault(M,W,this.copyNode(u.key)):this.type===b.eq&&K?(K.shorthandAssign<0&&(K.shorthandAssign=this.start),u.value=this.parseMaybeDefault(M,W,this.copyNode(u.key))):u.value=this.copyNode(u.key),u.kind="init",u.shorthand=!0):this.unexpected()},Ne.parsePropertyName=function(u){if(this.options.ecmaVersion>=6){if(this.eat(b.bracketL))return u.computed=!0,u.key=this.parseMaybeAssign(),this.expect(b.bracketR),u.key;u.computed=!1}return u.key=this.type===b.num||this.type===b.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Ne.initFunction=function(u){u.id=null,this.options.ecmaVersion>=6&&(u.generator=u.expression=!1),this.options.ecmaVersion>=8&&(u.async=!1)},Ne.parseMethod=function(u,d,k){var S=this.startNode(),M=this.yieldPos,W=this.awaitPos,K=this.awaitIdentPos;return this.initFunction(S),this.options.ecmaVersion>=6&&(S.generator=u),this.options.ecmaVersion>=8&&(S.async=!!d),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Br(d,S.generator)|hr|(k?Ar:0)),this.expect(b.parenL),S.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(S,!1,!0,!1),this.yieldPos=M,this.awaitPos=W,this.awaitIdentPos=K,this.finishNode(S,"FunctionExpression")},Ne.parseArrowExpression=function(u,d,k,S){var M=this.yieldPos,W=this.awaitPos,K=this.awaitIdentPos;return this.enterScope(Br(k,!1)|Or),this.initFunction(u),this.options.ecmaVersion>=8&&(u.async=!!k),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,u.params=this.toAssignableList(d,!0),this.parseFunctionBody(u,!0,!1,S),this.yieldPos=M,this.awaitPos=W,this.awaitIdentPos=K,this.finishNode(u,"ArrowFunctionExpression")},Ne.parseFunctionBody=function(u,d,k,S){var M=d&&this.type!==b.braceL,W=this.strict,K=!1;if(M)u.body=this.parseMaybeAssign(S),u.expression=!0,this.checkParams(u,!1);else{var he=this.options.ecmaVersion>=7&&!this.isSimpleParamList(u.params);(!W||he)&&(K=this.strictDirective(this.end),K&&he&&this.raiseRecoverable(u.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var pe=this.labels;this.labels=[],K&&(this.strict=!0),this.checkParams(u,!W&&!K&&!d&&!k&&this.isSimpleParamList(u.params)),this.strict&&u.id&&this.checkLValSimple(u.id,ee),u.body=this.parseBlock(!1,void 0,K&&!W),u.expression=!1,this.adaptDirectivePrologue(u.body.body),this.labels=pe}this.exitScope()},Ne.isSimpleParamList=function(u){for(var d=0,k=u;d<k.length;d+=1){var S=k[d];if(S.type!=="Identifier")return!1}return!0},Ne.checkParams=function(u,d){for(var k=Object.create(null),S=0,M=u.params;S<M.length;S+=1){var W=M[S];this.checkLValInnerPattern(W,qn,d?null:k)}},Ne.parseExprList=function(u,d,k,S){for(var M=[],W=!0;!this.eat(u);){if(W)W=!1;else if(this.expect(b.comma),d&&this.afterTrailingComma(u))break;var K=void 0;k&&this.type===b.comma?K=null:this.type===b.ellipsis?(K=this.parseSpread(S),S&&this.type===b.comma&&S.trailingComma<0&&(S.trailingComma=this.start)):K=this.parseMaybeAssign(!1,S),M.push(K)}return M},Ne.checkUnreserved=function(u){var d=u.start,k=u.end,S=u.name;if(this.inGenerator&&S==="yield"&&this.raiseRecoverable(d,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&S==="await"&&this.raiseRecoverable(d,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Jt)&&S==="arguments"&&this.raiseRecoverable(d,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(S==="arguments"||S==="await")&&this.raise(d,"Cannot use "+S+" in class static initialization block"),this.keywords.test(S)&&this.raise(d,"Unexpected keyword '"+S+"'"),!(this.options.ecmaVersion<6&&this.input.slice(d,k).indexOf("\\")!==-1)){var M=this.strict?this.reservedWordsStrict:this.reservedWords;M.test(S)&&(!this.inAsync&&S==="await"&&this.raiseRecoverable(d,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(d,"The keyword '"+S+"' is reserved"))}},Ne.parseIdent=function(u){var d=this.parseIdentNode();return this.next(!!u),this.finishNode(d,"Identifier"),u||(this.checkUnreserved(d),d.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=d.start)),d},Ne.parseIdentNode=function(){var u=this.startNode();return this.type===b.name?u.name=this.value:this.type.keyword?(u.name=this.type.keyword,(u.name==="class"||u.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=b.name):this.unexpected(),u},Ne.parsePrivateIdent=function(){var u=this.startNode();return this.type===b.privateId?u.name=this.value:this.unexpected(),this.next(),this.finishNode(u,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(u.start,"Private field '#"+u.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(u)),u},Ne.parseYield=function(u){this.yieldPos||(this.yieldPos=this.start);var d=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(d.delegate=!1,d.argument=null):(d.delegate=this.eat(b.star),d.argument=this.parseMaybeAssign(u)),this.finishNode(d,"YieldExpression")},Ne.parseAwait=function(u){this.awaitPos||(this.awaitPos=this.start);var d=this.startNode();return this.next(),d.argument=this.parseMaybeUnary(null,!0,!1,u),this.finishNode(d,"AwaitExpression")};var Ga=te.prototype;Ga.raise=function(u,d){var k=dt(this.input,u);d+=" ("+k.line+":"+k.column+")",this.sourceFile&&(d+=" in "+this.sourceFile);var S=new SyntaxError(d);throw S.pos=u,S.loc=k,S.raisedAt=this.pos,S},Ga.raiseRecoverable=Ga.raise,Ga.curPosition=function(){if(this.options.locations)return new We(this.curLine,this.pos-this.lineStart)};var wn=te.prototype,fg=function(d){this.flags=d,this.var=[],this.lexical=[],this.functions=[]};wn.enterScope=function(u){this.scopeStack.push(new fg(u))},wn.exitScope=function(){this.scopeStack.pop()},wn.treatFunctionsAsVarInScope=function(u){return u.flags&bt||!this.inModule&&u.flags&gt},wn.declareName=function(u,d,k){var S=!1;if(d===Ot){var M=this.currentScope();S=M.lexical.indexOf(u)>-1||M.functions.indexOf(u)>-1||M.var.indexOf(u)>-1,M.lexical.push(u),this.inModule&&M.flags&gt&&delete this.undefinedExports[u]}else if(d===jn){var W=this.currentScope();W.lexical.push(u)}else if(d===tt){var K=this.currentScope();this.treatFunctionsAsVar?S=K.lexical.indexOf(u)>-1:S=K.lexical.indexOf(u)>-1||K.var.indexOf(u)>-1,K.functions.push(u)}else for(var he=this.scopeStack.length-1;he>=0;--he){var pe=this.scopeStack[he];if(pe.lexical.indexOf(u)>-1&&!(pe.flags&Mr&&pe.lexical[0]===u)||!this.treatFunctionsAsVarInScope(pe)&&pe.functions.indexOf(u)>-1){S=!0;break}if(pe.var.push(u),this.inModule&&pe.flags&gt&&delete this.undefinedExports[u],pe.flags&Jt)break}S&&this.raiseRecoverable(k,"Identifier '"+u+"' has already been declared")},wn.checkLocalExport=function(u){this.scopeStack[0].lexical.indexOf(u.name)===-1&&this.scopeStack[0].var.indexOf(u.name)===-1&&(this.undefinedExports[u.name]=u)},wn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},wn.currentVarScope=function(){for(var u=this.scopeStack.length-1;;u--){var d=this.scopeStack[u];if(d.flags&(Jt|qt|Dt))return d}},wn.currentThisScope=function(){for(var u=this.scopeStack.length-1;;u--){var d=this.scopeStack[u];if(d.flags&(Jt|qt|Dt)&&!(d.flags&Or))return d}};var Vi=function(d,k,S){this.type="",this.start=k,this.end=0,d.options.locations&&(this.loc=new q(d,S)),d.options.directSourceFile&&(this.sourceFile=d.options.directSourceFile),d.options.ranges&&(this.range=[k,0])},qi=te.prototype;qi.startNode=function(){return new Vi(this,this.start,this.startLoc)},qi.startNodeAt=function(u,d){return new Vi(this,u,d)};function W0(u,d,k,S){return u.type=d,u.end=k,this.options.locations&&(u.loc.end=S),this.options.ranges&&(u.range[1]=k),u}qi.finishNode=function(u,d){return W0.call(this,u,d,this.lastTokEnd,this.lastTokEndLoc)},qi.finishNodeAt=function(u,d,k,S){return W0.call(this,u,d,k,S)},qi.copyNode=function(u){var d=new Vi(this,u.start,this.startLoc);for(var k in u)d[k]=u[k];return d};var dg="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",Y0="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",X0=Y0+" Extended_Pictographic",J0=X0,Q0=J0+" EBase EComp EMod EPres ExtPict",K0=Q0,pg=K0,mg={9:Y0,10:X0,11:J0,12:Q0,13:K0,14:pg},gg="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",bg={9:"",10:"",11:"",12:"",13:"",14:gg},Z0="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ec="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",tc=ec+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",rc=tc+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",nc=rc+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ic=nc+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",xg=ic+" "+dg,yg={9:ec,10:tc,11:rc,12:nc,13:ic,14:xg},ac={};function vg(u){var d=ac[u]={binary:Ge(mg[u]+" "+Z0),binaryOfStrings:Ge(bg[u]),nonBinary:{General_Category:Ge(Z0),Script:Ge(yg[u])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}for(var Mu=0,sc=[9,10,11,12,13,14];Mu<sc.length;Mu+=1){var Eg=sc[Mu];vg(Eg)}var ve=te.prototype,$a=function(d,k){this.parent=d,this.base=k||this};$a.prototype.separatedFrom=function(d){for(var k=this;k;k=k.parent)for(var S=d;S;S=S.parent)if(k.base===S.base&&k!==S)return!0;return!1},$a.prototype.sibling=function(){return new $a(this.parent,this.base)};var Hr=function(d){this.parser=d,this.validFlags="gim"+(d.options.ecmaVersion>=6?"uy":"")+(d.options.ecmaVersion>=9?"s":"")+(d.options.ecmaVersion>=13?"d":"")+(d.options.ecmaVersion>=15?"v":""),this.unicodeProperties=ac[d.options.ecmaVersion>=14?14:d.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Hr.prototype.reset=function(d,k,S){var M=S.indexOf("v")!==-1,W=S.indexOf("u")!==-1;this.start=d|0,this.source=k+"",this.flags=S,M&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=W&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=W&&this.parser.options.ecmaVersion>=9)},Hr.prototype.raise=function(d){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+d)},Hr.prototype.at=function(d,k){k===void 0&&(k=!1);var S=this.source,M=S.length;if(d>=M)return-1;var W=S.charCodeAt(d);if(!(k||this.switchU)||W<=55295||W>=57344||d+1>=M)return W;var K=S.charCodeAt(d+1);return K>=56320&&K<=57343?(W<<10)+K-56613888:W},Hr.prototype.nextIndex=function(d,k){k===void 0&&(k=!1);var S=this.source,M=S.length;if(d>=M)return M;var W=S.charCodeAt(d),K;return!(k||this.switchU)||W<=55295||W>=57344||d+1>=M||(K=S.charCodeAt(d+1))<56320||K>57343?d+1:d+2},Hr.prototype.current=function(d){return d===void 0&&(d=!1),this.at(this.pos,d)},Hr.prototype.lookahead=function(d){return d===void 0&&(d=!1),this.at(this.nextIndex(this.pos,d),d)},Hr.prototype.advance=function(d){d===void 0&&(d=!1),this.pos=this.nextIndex(this.pos,d)},Hr.prototype.eat=function(d,k){return k===void 0&&(k=!1),this.current(k)===d?(this.advance(k),!0):!1},Hr.prototype.eatChars=function(d,k){k===void 0&&(k=!1);for(var S=this.pos,M=0,W=d;M<W.length;M+=1){var K=W[M],he=this.at(S,k);if(he===-1||he!==K)return!1;S=this.nextIndex(S,k)}return this.pos=S,!0},ve.validateRegExpFlags=function(u){for(var d=u.validFlags,k=u.flags,S=!1,M=!1,W=0;W<k.length;W++){var K=k.charAt(W);d.indexOf(K)===-1&&this.raise(u.start,"Invalid regular expression flag"),k.indexOf(K,W+1)>-1&&this.raise(u.start,"Duplicate regular expression flag"),K==="u"&&(S=!0),K==="v"&&(M=!0)}this.options.ecmaVersion>=15&&S&&M&&this.raise(u.start,"Invalid regular expression flag")};function kg(u){for(var d in u)return!0;return!1}ve.validateRegExpPattern=function(u){this.regexp_pattern(u),!u.switchN&&this.options.ecmaVersion>=9&&kg(u.groupNames)&&(u.switchN=!0,this.regexp_pattern(u))},ve.regexp_pattern=function(u){u.pos=0,u.lastIntValue=0,u.lastStringValue="",u.lastAssertionIsQuantifiable=!1,u.numCapturingParens=0,u.maxBackReference=0,u.groupNames=Object.create(null),u.backReferenceNames.length=0,u.branchID=null,this.regexp_disjunction(u),u.pos!==u.source.length&&(u.eat(41)&&u.raise("Unmatched ')'"),(u.eat(93)||u.eat(125))&&u.raise("Lone quantifier brackets")),u.maxBackReference>u.numCapturingParens&&u.raise("Invalid escape");for(var d=0,k=u.backReferenceNames;d<k.length;d+=1){var S=k[d];u.groupNames[S]||u.raise("Invalid named capture referenced")}},ve.regexp_disjunction=function(u){var d=this.options.ecmaVersion>=16;for(d&&(u.branchID=new $a(u.branchID,null)),this.regexp_alternative(u);u.eat(124);)d&&(u.branchID=u.branchID.sibling()),this.regexp_alternative(u);d&&(u.branchID=u.branchID.parent),this.regexp_eatQuantifier(u,!0)&&u.raise("Nothing to repeat"),u.eat(123)&&u.raise("Lone quantifier brackets")},ve.regexp_alternative=function(u){for(;u.pos<u.source.length&&this.regexp_eatTerm(u););},ve.regexp_eatTerm=function(u){return this.regexp_eatAssertion(u)?(u.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(u)&&u.switchU&&u.raise("Invalid quantifier"),!0):(u.switchU?this.regexp_eatAtom(u):this.regexp_eatExtendedAtom(u))?(this.regexp_eatQuantifier(u),!0):!1},ve.regexp_eatAssertion=function(u){var d=u.pos;if(u.lastAssertionIsQuantifiable=!1,u.eat(94)||u.eat(36))return!0;if(u.eat(92)){if(u.eat(66)||u.eat(98))return!0;u.pos=d}if(u.eat(40)&&u.eat(63)){var k=!1;if(this.options.ecmaVersion>=9&&(k=u.eat(60)),u.eat(61)||u.eat(33))return this.regexp_disjunction(u),u.eat(41)||u.raise("Unterminated group"),u.lastAssertionIsQuantifiable=!k,!0}return u.pos=d,!1},ve.regexp_eatQuantifier=function(u,d){return d===void 0&&(d=!1),this.regexp_eatQuantifierPrefix(u,d)?(u.eat(63),!0):!1},ve.regexp_eatQuantifierPrefix=function(u,d){return u.eat(42)||u.eat(43)||u.eat(63)||this.regexp_eatBracedQuantifier(u,d)},ve.regexp_eatBracedQuantifier=function(u,d){var k=u.pos;if(u.eat(123)){var S=0,M=-1;if(this.regexp_eatDecimalDigits(u)&&(S=u.lastIntValue,u.eat(44)&&this.regexp_eatDecimalDigits(u)&&(M=u.lastIntValue),u.eat(125)))return M!==-1&&M<S&&!d&&u.raise("numbers out of order in {} quantifier"),!0;u.switchU&&!d&&u.raise("Incomplete quantifier"),u.pos=k}return!1},ve.regexp_eatAtom=function(u){return this.regexp_eatPatternCharacters(u)||u.eat(46)||this.regexp_eatReverseSolidusAtomEscape(u)||this.regexp_eatCharacterClass(u)||this.regexp_eatUncapturingGroup(u)||this.regexp_eatCapturingGroup(u)},ve.regexp_eatReverseSolidusAtomEscape=function(u){var d=u.pos;if(u.eat(92)){if(this.regexp_eatAtomEscape(u))return!0;u.pos=d}return!1},ve.regexp_eatUncapturingGroup=function(u){var d=u.pos;if(u.eat(40)){if(u.eat(63)){if(this.options.ecmaVersion>=16){var k=this.regexp_eatModifiers(u),S=u.eat(45);if(k||S){for(var M=0;M<k.length;M++){var W=k.charAt(M);k.indexOf(W,M+1)>-1&&u.raise("Duplicate regular expression modifiers")}if(S){var K=this.regexp_eatModifiers(u);!k&&!K&&u.current()===58&&u.raise("Invalid regular expression modifiers");for(var he=0;he<K.length;he++){var pe=K.charAt(he);(K.indexOf(pe,he+1)>-1||k.indexOf(pe)>-1)&&u.raise("Duplicate regular expression modifiers")}}}}if(u.eat(58)){if(this.regexp_disjunction(u),u.eat(41))return!0;u.raise("Unterminated group")}}u.pos=d}return!1},ve.regexp_eatCapturingGroup=function(u){if(u.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(u):u.current()===63&&u.raise("Invalid group"),this.regexp_disjunction(u),u.eat(41))return u.numCapturingParens+=1,!0;u.raise("Unterminated group")}return!1},ve.regexp_eatModifiers=function(u){for(var d="",k=0;(k=u.current())!==-1&&Tg(k);)d+=V(k),u.advance();return d};function Tg(u){return u===105||u===109||u===115}ve.regexp_eatExtendedAtom=function(u){return u.eat(46)||this.regexp_eatReverseSolidusAtomEscape(u)||this.regexp_eatCharacterClass(u)||this.regexp_eatUncapturingGroup(u)||this.regexp_eatCapturingGroup(u)||this.regexp_eatInvalidBracedQuantifier(u)||this.regexp_eatExtendedPatternCharacter(u)},ve.regexp_eatInvalidBracedQuantifier=function(u){return this.regexp_eatBracedQuantifier(u,!0)&&u.raise("Nothing to repeat"),!1},ve.regexp_eatSyntaxCharacter=function(u){var d=u.current();return uc(d)?(u.lastIntValue=d,u.advance(),!0):!1};function uc(u){return u===36||u>=40&&u<=43||u===46||u===63||u>=91&&u<=94||u>=123&&u<=125}ve.regexp_eatPatternCharacters=function(u){for(var d=u.pos,k=0;(k=u.current())!==-1&&!uc(k);)u.advance();return u.pos!==d},ve.regexp_eatExtendedPatternCharacter=function(u){var d=u.current();return d!==-1&&d!==36&&!(d>=40&&d<=43)&&d!==46&&d!==63&&d!==91&&d!==94&&d!==124?(u.advance(),!0):!1},ve.regexp_groupSpecifier=function(u){if(u.eat(63)){this.regexp_eatGroupName(u)||u.raise("Invalid group");var d=this.options.ecmaVersion>=16,k=u.groupNames[u.lastStringValue];if(k)if(d)for(var S=0,M=k;S<M.length;S+=1){var W=M[S];W.separatedFrom(u.branchID)||u.raise("Duplicate capture group name")}else u.raise("Duplicate capture group name");d?(k||(u.groupNames[u.lastStringValue]=[])).push(u.branchID):u.groupNames[u.lastStringValue]=!0}},ve.regexp_eatGroupName=function(u){if(u.lastStringValue="",u.eat(60)){if(this.regexp_eatRegExpIdentifierName(u)&&u.eat(62))return!0;u.raise("Invalid capture group name")}return!1},ve.regexp_eatRegExpIdentifierName=function(u){if(u.lastStringValue="",this.regexp_eatRegExpIdentifierStart(u)){for(u.lastStringValue+=V(u.lastIntValue);this.regexp_eatRegExpIdentifierPart(u);)u.lastStringValue+=V(u.lastIntValue);return!0}return!1},ve.regexp_eatRegExpIdentifierStart=function(u){var d=u.pos,k=this.options.ecmaVersion>=11,S=u.current(k);return u.advance(k),S===92&&this.regexp_eatRegExpUnicodeEscapeSequence(u,k)&&(S=u.lastIntValue),wg(S)?(u.lastIntValue=S,!0):(u.pos=d,!1)};function wg(u){return E(u,!0)||u===36||u===95}ve.regexp_eatRegExpIdentifierPart=function(u){var d=u.pos,k=this.options.ecmaVersion>=11,S=u.current(k);return u.advance(k),S===92&&this.regexp_eatRegExpUnicodeEscapeSequence(u,k)&&(S=u.lastIntValue),Sg(S)?(u.lastIntValue=S,!0):(u.pos=d,!1)};function Sg(u){return w(u,!0)||u===36||u===95||u===8204||u===8205}ve.regexp_eatAtomEscape=function(u){return this.regexp_eatBackReference(u)||this.regexp_eatCharacterClassEscape(u)||this.regexp_eatCharacterEscape(u)||u.switchN&&this.regexp_eatKGroupName(u)?!0:(u.switchU&&(u.current()===99&&u.raise("Invalid unicode escape"),u.raise("Invalid escape")),!1)},ve.regexp_eatBackReference=function(u){var d=u.pos;if(this.regexp_eatDecimalEscape(u)){var k=u.lastIntValue;if(u.switchU)return k>u.maxBackReference&&(u.maxBackReference=k),!0;if(k<=u.numCapturingParens)return!0;u.pos=d}return!1},ve.regexp_eatKGroupName=function(u){if(u.eat(107)){if(this.regexp_eatGroupName(u))return u.backReferenceNames.push(u.lastStringValue),!0;u.raise("Invalid named reference")}return!1},ve.regexp_eatCharacterEscape=function(u){return this.regexp_eatControlEscape(u)||this.regexp_eatCControlLetter(u)||this.regexp_eatZero(u)||this.regexp_eatHexEscapeSequence(u)||this.regexp_eatRegExpUnicodeEscapeSequence(u,!1)||!u.switchU&&this.regexp_eatLegacyOctalEscapeSequence(u)||this.regexp_eatIdentityEscape(u)},ve.regexp_eatCControlLetter=function(u){var d=u.pos;if(u.eat(99)){if(this.regexp_eatControlLetter(u))return!0;u.pos=d}return!1},ve.regexp_eatZero=function(u){return u.current()===48&&!Wa(u.lookahead())?(u.lastIntValue=0,u.advance(),!0):!1},ve.regexp_eatControlEscape=function(u){var d=u.current();return d===116?(u.lastIntValue=9,u.advance(),!0):d===110?(u.lastIntValue=10,u.advance(),!0):d===118?(u.lastIntValue=11,u.advance(),!0):d===102?(u.lastIntValue=12,u.advance(),!0):d===114?(u.lastIntValue=13,u.advance(),!0):!1},ve.regexp_eatControlLetter=function(u){var d=u.current();return oc(d)?(u.lastIntValue=d%32,u.advance(),!0):!1};function oc(u){return u>=65&&u<=90||u>=97&&u<=122}ve.regexp_eatRegExpUnicodeEscapeSequence=function(u,d){d===void 0&&(d=!1);var k=u.pos,S=d||u.switchU;if(u.eat(117)){if(this.regexp_eatFixedHexDigits(u,4)){var M=u.lastIntValue;if(S&&M>=55296&&M<=56319){var W=u.pos;if(u.eat(92)&&u.eat(117)&&this.regexp_eatFixedHexDigits(u,4)){var K=u.lastIntValue;if(K>=56320&&K<=57343)return u.lastIntValue=(M-55296)*1024+(K-56320)+65536,!0}u.pos=W,u.lastIntValue=M}return!0}if(S&&u.eat(123)&&this.regexp_eatHexDigits(u)&&u.eat(125)&&_g(u.lastIntValue))return!0;S&&u.raise("Invalid unicode escape"),u.pos=k}return!1};function _g(u){return u>=0&&u<=1114111}ve.regexp_eatIdentityEscape=function(u){if(u.switchU)return this.regexp_eatSyntaxCharacter(u)?!0:u.eat(47)?(u.lastIntValue=47,!0):!1;var d=u.current();return d!==99&&(!u.switchN||d!==107)?(u.lastIntValue=d,u.advance(),!0):!1},ve.regexp_eatDecimalEscape=function(u){u.lastIntValue=0;var d=u.current();if(d>=49&&d<=57){do u.lastIntValue=10*u.lastIntValue+(d-48),u.advance();while((d=u.current())>=48&&d<=57);return!0}return!1};var lc=0,an=1,mr=2;ve.regexp_eatCharacterClassEscape=function(u){var d=u.current();if(Cg(d))return u.lastIntValue=-1,u.advance(),an;var k=!1;if(u.switchU&&this.options.ecmaVersion>=9&&((k=d===80)||d===112)){u.lastIntValue=-1,u.advance();var S;if(u.eat(123)&&(S=this.regexp_eatUnicodePropertyValueExpression(u))&&u.eat(125))return k&&S===mr&&u.raise("Invalid property name"),S;u.raise("Invalid property name")}return lc};function Cg(u){return u===100||u===68||u===115||u===83||u===119||u===87}ve.regexp_eatUnicodePropertyValueExpression=function(u){var d=u.pos;if(this.regexp_eatUnicodePropertyName(u)&&u.eat(61)){var k=u.lastStringValue;if(this.regexp_eatUnicodePropertyValue(u)){var S=u.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(u,k,S),an}}if(u.pos=d,this.regexp_eatLoneUnicodePropertyNameOrValue(u)){var M=u.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(u,M)}return lc},ve.regexp_validateUnicodePropertyNameAndValue=function(u,d,k){Te(u.unicodeProperties.nonBinary,d)||u.raise("Invalid property name"),u.unicodeProperties.nonBinary[d].test(k)||u.raise("Invalid property value")},ve.regexp_validateUnicodePropertyNameOrValue=function(u,d){if(u.unicodeProperties.binary.test(d))return an;if(u.switchV&&u.unicodeProperties.binaryOfStrings.test(d))return mr;u.raise("Invalid property name")},ve.regexp_eatUnicodePropertyName=function(u){var d=0;for(u.lastStringValue="";cc(d=u.current());)u.lastStringValue+=V(d),u.advance();return u.lastStringValue!==""};function cc(u){return oc(u)||u===95}ve.regexp_eatUnicodePropertyValue=function(u){var d=0;for(u.lastStringValue="";Ag(d=u.current());)u.lastStringValue+=V(d),u.advance();return u.lastStringValue!==""};function Ag(u){return cc(u)||Wa(u)}ve.regexp_eatLoneUnicodePropertyNameOrValue=function(u){return this.regexp_eatUnicodePropertyValue(u)},ve.regexp_eatCharacterClass=function(u){if(u.eat(91)){var d=u.eat(94),k=this.regexp_classContents(u);return u.eat(93)||u.raise("Unterminated character class"),d&&k===mr&&u.raise("Negated character class may contain strings"),!0}return!1},ve.regexp_classContents=function(u){return u.current()===93?an:u.switchV?this.regexp_classSetExpression(u):(this.regexp_nonEmptyClassRanges(u),an)},ve.regexp_nonEmptyClassRanges=function(u){for(;this.regexp_eatClassAtom(u);){var d=u.lastIntValue;if(u.eat(45)&&this.regexp_eatClassAtom(u)){var k=u.lastIntValue;u.switchU&&(d===-1||k===-1)&&u.raise("Invalid character class"),d!==-1&&k!==-1&&d>k&&u.raise("Range out of order in character class")}}},ve.regexp_eatClassAtom=function(u){var d=u.pos;if(u.eat(92)){if(this.regexp_eatClassEscape(u))return!0;if(u.switchU){var k=u.current();(k===99||dc(k))&&u.raise("Invalid class escape"),u.raise("Invalid escape")}u.pos=d}var S=u.current();return S!==93?(u.lastIntValue=S,u.advance(),!0):!1},ve.regexp_eatClassEscape=function(u){var d=u.pos;if(u.eat(98))return u.lastIntValue=8,!0;if(u.switchU&&u.eat(45))return u.lastIntValue=45,!0;if(!u.switchU&&u.eat(99)){if(this.regexp_eatClassControlLetter(u))return!0;u.pos=d}return this.regexp_eatCharacterClassEscape(u)||this.regexp_eatCharacterEscape(u)},ve.regexp_classSetExpression=function(u){var d=an,k;if(!this.regexp_eatClassSetRange(u))if(k=this.regexp_eatClassSetOperand(u)){k===mr&&(d=mr);for(var S=u.pos;u.eatChars([38,38]);){if(u.current()!==38&&(k=this.regexp_eatClassSetOperand(u))){k!==mr&&(d=an);continue}u.raise("Invalid character in character class")}if(S!==u.pos)return d;for(;u.eatChars([45,45]);)this.regexp_eatClassSetOperand(u)||u.raise("Invalid character in character class");if(S!==u.pos)return d}else u.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(u)){if(k=this.regexp_eatClassSetOperand(u),!k)return d;k===mr&&(d=mr)}},ve.regexp_eatClassSetRange=function(u){var d=u.pos;if(this.regexp_eatClassSetCharacter(u)){var k=u.lastIntValue;if(u.eat(45)&&this.regexp_eatClassSetCharacter(u)){var S=u.lastIntValue;return k!==-1&&S!==-1&&k>S&&u.raise("Range out of order in character class"),!0}u.pos=d}return!1},ve.regexp_eatClassSetOperand=function(u){return this.regexp_eatClassSetCharacter(u)?an:this.regexp_eatClassStringDisjunction(u)||this.regexp_eatNestedClass(u)},ve.regexp_eatNestedClass=function(u){var d=u.pos;if(u.eat(91)){var k=u.eat(94),S=this.regexp_classContents(u);if(u.eat(93))return k&&S===mr&&u.raise("Negated character class may contain strings"),S;u.pos=d}if(u.eat(92)){var M=this.regexp_eatCharacterClassEscape(u);if(M)return M;u.pos=d}return null},ve.regexp_eatClassStringDisjunction=function(u){var d=u.pos;if(u.eatChars([92,113])){if(u.eat(123)){var k=this.regexp_classStringDisjunctionContents(u);if(u.eat(125))return k}else u.raise("Invalid escape");u.pos=d}return null},ve.regexp_classStringDisjunctionContents=function(u){for(var d=this.regexp_classString(u);u.eat(124);)this.regexp_classString(u)===mr&&(d=mr);return d},ve.regexp_classString=function(u){for(var d=0;this.regexp_eatClassSetCharacter(u);)d++;return d===1?an:mr},ve.regexp_eatClassSetCharacter=function(u){var d=u.pos;if(u.eat(92))return this.regexp_eatCharacterEscape(u)||this.regexp_eatClassSetReservedPunctuator(u)?!0:u.eat(98)?(u.lastIntValue=8,!0):(u.pos=d,!1);var k=u.current();return k<0||k===u.lookahead()&&Ig(k)||Ng(k)?!1:(u.advance(),u.lastIntValue=k,!0)};function Ig(u){return u===33||u>=35&&u<=38||u>=42&&u<=44||u===46||u>=58&&u<=64||u===94||u===96||u===126}function Ng(u){return u===40||u===41||u===45||u===47||u>=91&&u<=93||u>=123&&u<=125}ve.regexp_eatClassSetReservedPunctuator=function(u){var d=u.current();return Lg(d)?(u.lastIntValue=d,u.advance(),!0):!1};function Lg(u){return u===33||u===35||u===37||u===38||u===44||u===45||u>=58&&u<=62||u===64||u===96||u===126}ve.regexp_eatClassControlLetter=function(u){var d=u.current();return Wa(d)||d===95?(u.lastIntValue=d%32,u.advance(),!0):!1},ve.regexp_eatHexEscapeSequence=function(u){var d=u.pos;if(u.eat(120)){if(this.regexp_eatFixedHexDigits(u,2))return!0;u.switchU&&u.raise("Invalid escape"),u.pos=d}return!1},ve.regexp_eatDecimalDigits=function(u){var d=u.pos,k=0;for(u.lastIntValue=0;Wa(k=u.current());)u.lastIntValue=10*u.lastIntValue+(k-48),u.advance();return u.pos!==d};function Wa(u){return u>=48&&u<=57}ve.regexp_eatHexDigits=function(u){var d=u.pos,k=0;for(u.lastIntValue=0;hc(k=u.current());)u.lastIntValue=16*u.lastIntValue+fc(k),u.advance();return u.pos!==d};function hc(u){return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function fc(u){return u>=65&&u<=70?10+(u-65):u>=97&&u<=102?10+(u-97):u-48}ve.regexp_eatLegacyOctalEscapeSequence=function(u){if(this.regexp_eatOctalDigit(u)){var d=u.lastIntValue;if(this.regexp_eatOctalDigit(u)){var k=u.lastIntValue;d<=3&&this.regexp_eatOctalDigit(u)?u.lastIntValue=d*64+k*8+u.lastIntValue:u.lastIntValue=d*8+k}else u.lastIntValue=d;return!0}return!1},ve.regexp_eatOctalDigit=function(u){var d=u.current();return dc(d)?(u.lastIntValue=d-48,u.advance(),!0):(u.lastIntValue=0,!1)};function dc(u){return u>=48&&u<=55}ve.regexp_eatFixedHexDigits=function(u,d){var k=u.pos;u.lastIntValue=0;for(var S=0;S<d;++S){var M=u.current();if(!hc(M))return u.pos=k,!1;u.lastIntValue=16*u.lastIntValue+fc(M),u.advance()}return!0};var Ya=function(d){this.type=d.type,this.value=d.value,this.start=d.start,this.end=d.end,d.options.locations&&(this.loc=new q(d,d.startLoc,d.endLoc)),d.options.ranges&&(this.range=[d.start,d.end])},He=te.prototype;He.next=function(u){!u&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ya(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},He.getToken=function(){return this.next(),new Ya(this)},typeof Symbol<"u"&&(He[Symbol.iterator]=function(){var u=this;return{next:function(){var d=u.getToken();return{done:d.type===b.eof,value:d}}}}),He.nextToken=function(){var u=this.curContext();if((!u||!u.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(b.eof);if(u.override)return u.override(this);this.readToken(this.fullCharCodeAtPos())},He.readToken=function(u){return E(u,this.options.ecmaVersion>=6)||u===92?this.readWord():this.getTokenFromCode(u)},He.fullCharCodeAtPos=function(){var u=this.input.charCodeAt(this.pos);if(u<=55295||u>=56320)return u;var d=this.input.charCodeAt(this.pos+1);return d<=56319||d>=57344?u:(u<<10)+d-56613888},He.skipBlockComment=function(){var u=this.options.onComment&&this.curPosition(),d=this.pos,k=this.input.indexOf("*/",this.pos+=2);if(k===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=k+2,this.options.locations)for(var S=void 0,M=d;(S=G(this.input,M,this.pos))>-1;)++this.curLine,M=this.lineStart=S;this.options.onComment&&this.options.onComment(!0,this.input.slice(d+2,k),d,this.pos,u,this.curPosition())},He.skipLineComment=function(u){for(var d=this.pos,k=this.options.onComment&&this.curPosition(),S=this.input.charCodeAt(this.pos+=u);this.pos<this.input.length&&!Y(S);)S=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(d+u,this.pos),d,this.pos,k,this.curPosition())},He.skipSpace=function(){e:for(;this.pos<this.input.length;){var u=this.input.charCodeAt(this.pos);switch(u){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(u>8&&u<14||u>=5760&&re.test(String.fromCharCode(u)))++this.pos;else break e}}},He.finishToken=function(u,d){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var k=this.type;this.type=u,this.value=d,this.updateContext(k)},He.readToken_dot=function(){var u=this.input.charCodeAt(this.pos+1);if(u>=48&&u<=57)return this.readNumber(!0);var d=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&u===46&&d===46?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))},He.readToken_slash=function(){var u=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):u===61?this.finishOp(b.assign,2):this.finishOp(b.slash,1)},He.readToken_mult_modulo_exp=function(u){var d=this.input.charCodeAt(this.pos+1),k=1,S=u===42?b.star:b.modulo;return this.options.ecmaVersion>=7&&u===42&&d===42&&(++k,S=b.starstar,d=this.input.charCodeAt(this.pos+2)),d===61?this.finishOp(b.assign,k+1):this.finishOp(S,k)},He.readToken_pipe_amp=function(u){var d=this.input.charCodeAt(this.pos+1);if(d===u){if(this.options.ecmaVersion>=12){var k=this.input.charCodeAt(this.pos+2);if(k===61)return this.finishOp(b.assign,3)}return this.finishOp(u===124?b.logicalOR:b.logicalAND,2)}return d===61?this.finishOp(b.assign,2):this.finishOp(u===124?b.bitwiseOR:b.bitwiseAND,1)},He.readToken_caret=function(){var u=this.input.charCodeAt(this.pos+1);return u===61?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)},He.readToken_plus_min=function(u){var d=this.input.charCodeAt(this.pos+1);return d===u?d===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||R.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(b.incDec,2):d===61?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)},He.readToken_lt_gt=function(u){var d=this.input.charCodeAt(this.pos+1),k=1;return d===u?(k=u===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+k)===61?this.finishOp(b.assign,k+1):this.finishOp(b.bitShift,k)):d===33&&u===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(d===61&&(k=2),this.finishOp(b.relational,k))},He.readToken_eq_excl=function(u){var d=this.input.charCodeAt(this.pos+1);return d===61?this.finishOp(b.equality,this.input.charCodeAt(this.pos+2)===61?3:2):u===61&&d===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(u===61?b.eq:b.prefix,1)},He.readToken_question=function(){var u=this.options.ecmaVersion;if(u>=11){var d=this.input.charCodeAt(this.pos+1);if(d===46){var k=this.input.charCodeAt(this.pos+2);if(k<48||k>57)return this.finishOp(b.questionDot,2)}if(d===63){if(u>=12){var S=this.input.charCodeAt(this.pos+2);if(S===61)return this.finishOp(b.assign,3)}return this.finishOp(b.coalesce,2)}}return this.finishOp(b.question,1)},He.readToken_numberSign=function(){var u=this.options.ecmaVersion,d=35;if(u>=13&&(++this.pos,d=this.fullCharCodeAtPos(),E(d,!0)||d===92))return this.finishToken(b.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+V(d)+"'")},He.getTokenFromCode=function(u){switch(u){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(b.parenL);case 41:return++this.pos,this.finishToken(b.parenR);case 59:return++this.pos,this.finishToken(b.semi);case 44:return++this.pos,this.finishToken(b.comma);case 91:return++this.pos,this.finishToken(b.bracketL);case 93:return++this.pos,this.finishToken(b.bracketR);case 123:return++this.pos,this.finishToken(b.braceL);case 125:return++this.pos,this.finishToken(b.braceR);case 58:return++this.pos,this.finishToken(b.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(b.backQuote);case 48:var d=this.input.charCodeAt(this.pos+1);if(d===120||d===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(d===111||d===79)return this.readRadixNumber(8);if(d===98||d===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(u);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(u);case 124:case 38:return this.readToken_pipe_amp(u);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(u);case 60:case 62:return this.readToken_lt_gt(u);case 61:case 33:return this.readToken_eq_excl(u);case 63:return this.readToken_question();case 126:return this.finishOp(b.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+V(u)+"'")},He.finishOp=function(u,d){var k=this.input.slice(this.pos,this.pos+d);return this.pos+=d,this.finishToken(u,k)},He.readRegexp=function(){for(var u,d,k=this.pos;;){this.pos>=this.input.length&&this.raise(k,"Unterminated regular expression");var S=this.input.charAt(this.pos);if(R.test(S)&&this.raise(k,"Unterminated regular expression"),u)u=!1;else{if(S==="[")d=!0;else if(S==="]"&&d)d=!1;else if(S==="/"&&!d)break;u=S==="\\"}++this.pos}var M=this.input.slice(k,this.pos);++this.pos;var W=this.pos,K=this.readWord1();this.containsEsc&&this.unexpected(W);var he=this.regexpState||(this.regexpState=new Hr(this));he.reset(k,M,K),this.validateRegExpFlags(he),this.validateRegExpPattern(he);var pe=null;try{pe=new RegExp(M,K)}catch{}return this.finishToken(b.regexp,{pattern:M,flags:K,value:pe})},He.readInt=function(u,d,k){for(var S=this.options.ecmaVersion>=12&&d===void 0,M=k&&this.input.charCodeAt(this.pos)===48,W=this.pos,K=0,he=0,pe=0,Ie=d??1/0;pe<Ie;++pe,++this.pos){var Me=this.input.charCodeAt(this.pos),at=void 0;if(S&&Me===95){M&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),he===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),pe===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),he=Me;continue}if(Me>=97?at=Me-97+10:Me>=65?at=Me-65+10:Me>=48&&Me<=57?at=Me-48:at=1/0,at>=u)break;he=Me,K=K*u+at}return S&&he===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===W||d!=null&&this.pos-W!==d?null:K};function Rg(u,d){return d?parseInt(u,8):parseFloat(u.replace(/_/g,""))}function pc(u){return typeof BigInt!="function"?null:BigInt(u.replace(/_/g,""))}He.readRadixNumber=function(u){var d=this.pos;this.pos+=2;var k=this.readInt(u);return k==null&&this.raise(this.start+2,"Expected number in radix "+u),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(k=pc(this.input.slice(d,this.pos)),++this.pos):E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,k)},He.readNumber=function(u){var d=this.pos;!u&&this.readInt(10,void 0,!0)===null&&this.raise(d,"Invalid number");var k=this.pos-d>=2&&this.input.charCodeAt(d)===48;k&&this.strict&&this.raise(d,"Invalid number");var S=this.input.charCodeAt(this.pos);if(!k&&!u&&this.options.ecmaVersion>=11&&S===110){var M=pc(this.input.slice(d,this.pos));return++this.pos,E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,M)}k&&/[89]/.test(this.input.slice(d,this.pos))&&(k=!1),S===46&&!k&&(++this.pos,this.readInt(10),S=this.input.charCodeAt(this.pos)),(S===69||S===101)&&!k&&(S=this.input.charCodeAt(++this.pos),(S===43||S===45)&&++this.pos,this.readInt(10)===null&&this.raise(d,"Invalid number")),E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var W=Rg(this.input.slice(d,this.pos),k);return this.finishToken(b.num,W)},He.readCodePoint=function(){var u=this.input.charCodeAt(this.pos),d;if(u===123){this.options.ecmaVersion<6&&this.unexpected();var k=++this.pos;d=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,d>1114111&&this.invalidStringToken(k,"Code point out of bounds")}else d=this.readHexChar(4);return d},He.readString=function(u){for(var d="",k=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var S=this.input.charCodeAt(this.pos);if(S===u)break;S===92?(d+=this.input.slice(k,this.pos),d+=this.readEscapedChar(!1),k=this.pos):S===8232||S===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Y(S)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return d+=this.input.slice(k,this.pos++),this.finishToken(b.string,d)};var mc={};He.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(u){if(u===mc)this.readInvalidTemplateToken();else throw u}this.inTemplateElement=!1},He.invalidStringToken=function(u,d){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw mc;this.raise(u,d)},He.readTmplToken=function(){for(var u="",d=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var k=this.input.charCodeAt(this.pos);if(k===96||k===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===b.template||this.type===b.invalidTemplate)?k===36?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote)):(u+=this.input.slice(d,this.pos),this.finishToken(b.template,u));if(k===92)u+=this.input.slice(d,this.pos),u+=this.readEscapedChar(!0),d=this.pos;else if(Y(k)){switch(u+=this.input.slice(d,this.pos),++this.pos,k){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:u+=`
8
+ `;break;default:u+=String.fromCharCode(k);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),d=this.pos}else++this.pos}},He.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(b.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
9
+ `&&++this.pos;case`
10
+ `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},He.readEscapedChar=function(u){var d=this.input.charCodeAt(++this.pos);switch(++this.pos,d){case 110:return`
11
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return V(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),u){var k=this.pos-1;this.invalidStringToken(k,"Invalid escape sequence in template string")}default:if(d>=48&&d<=55){var S=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],M=parseInt(S,8);return M>255&&(S=S.slice(0,-1),M=parseInt(S,8)),this.pos+=S.length-1,d=this.input.charCodeAt(this.pos),(S!=="0"||d===56||d===57)&&(this.strict||u)&&this.invalidStringToken(this.pos-1-S.length,u?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(M)}return Y(d)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(d)}},He.readHexChar=function(u){var d=this.pos,k=this.readInt(16,u);return k===null&&this.invalidStringToken(d,"Bad character escape sequence"),k},He.readWord1=function(){this.containsEsc=!1;for(var u="",d=!0,k=this.pos,S=this.options.ecmaVersion>=6;this.pos<this.input.length;){var M=this.fullCharCodeAtPos();if(w(M,S))this.pos+=M<=65535?1:2;else if(M===92){this.containsEsc=!0,u+=this.input.slice(k,this.pos);var W=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var K=this.readCodePoint();(d?E:w)(K,S)||this.invalidStringToken(W,"Invalid Unicode escape"),u+=V(K),k=this.pos}else break;d=!1}return u+this.input.slice(k,this.pos)},He.readWord=function(){var u=this.readWord1(),d=b.name;return this.keywords.test(u)&&(d=H[u]),this.finishToken(d,u)};var gc="8.15.0";te.acorn={Parser:te,version:gc,defaultOptions:ht,Position:We,SourceLocation:q,getLineInfo:dt,Node:Vi,TokenType:C,tokTypes:b,keywordTypes:H,TokContext:pr,tokContexts:it,isIdentifierChar:w,isIdentifierStart:E,Token:Ya,isNewLine:Y,lineBreak:R,lineBreakG:j,nonASCIIwhitespace:re};function Pg(u,d){return te.parse(u,d)}function Dg(u,d,k){return te.parseExpressionAt(u,d,k)}function Og(u,d){return te.tokenizer(u,d)}r.Node=Vi,r.Parser=te,r.Position=We,r.SourceLocation=q,r.TokContext=pr,r.Token=Ya,r.TokenType=C,r.defaultOptions=ht,r.getLineInfo=dt,r.isIdentifierChar=w,r.isIdentifierStart=E,r.isNewLine=Y,r.keywordTypes=H,r.lineBreak=R,r.lineBreakG=j,r.nonASCIIwhitespace=re,r.parse=Pg,r.parseExpressionAt=Dg,r.tokContexts=it,r.tokTypes=b,r.tokenizer=Og,r.version=gc}))})(ea,ea.exports)),ea.exports}var Sc;function m4(){return Sc||(Sc=1,(function(e){const t=d4(),r=/^[\da-fA-F]+$/,n=/^\d+$/,i=new WeakMap;function a(l){l=l.Parser.acorn||l;let c=i.get(l);if(!c){const h=l.tokTypes,f=l.TokContext,g=l.TokenType,m=new f("<tag",!1),E=new f("</tag",!1),w=new f("<tag>...</tag>",!0,!0),C={tc_oTag:m,tc_cTag:E,tc_expr:w},T={jsxName:new g("jsxName"),jsxText:new g("jsxText",{beforeExpr:!0}),jsxTagStart:new g("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new g("jsxTagEnd")};T.jsxTagStart.updateContext=function(){this.context.push(w),this.context.push(m),this.exprAllowed=!1},T.jsxTagEnd.updateContext=function(A){let N=this.context.pop();N===m&&A===h.slash||N===E?(this.context.pop(),this.exprAllowed=this.curContext()===w):this.exprAllowed=!0},c={tokContexts:C,tokTypes:T},i.set(l,c)}return c}function s(l){if(!l)return l;if(l.type==="JSXIdentifier")return l.name;if(l.type==="JSXNamespacedName")return l.namespace.name+":"+l.name.name;if(l.type==="JSXMemberExpression")return s(l.object)+"."+s(l.property)}e.exports=function(l){return l=l||{},function(c){return o({allowNamespaces:l.allowNamespaces!==!1,allowNamespacedObjects:!!l.allowNamespacedObjects},c)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return a(wc()).tokTypes},configurable:!0,enumerable:!0});function o(l,c){const h=c.acorn||wc(),f=a(h),g=h.tokTypes,m=f.tokTypes,E=h.tokContexts,w=f.tokContexts.tc_oTag,C=f.tokContexts.tc_cTag,T=f.tokContexts.tc_expr,A=h.isNewLine,N=h.isIdentifierStart,H=h.isIdentifierChar;return class extends c{static get acornJsx(){return f}jsx_readToken(){let P="",b=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let R=this.input.charCodeAt(this.pos);switch(R){case 60:case 123:return this.pos===this.start?R===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(R):(P+=this.input.slice(b,this.pos),this.finishToken(m.jsxText,P));case 38:P+=this.input.slice(b,this.pos),P+=this.jsx_readEntity(),b=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(R===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:A(R)?(P+=this.input.slice(b,this.pos),P+=this.jsx_readNewLine(!0),b=this.pos):++this.pos}}}jsx_readNewLine(P){let b=this.input.charCodeAt(this.pos),R;return++this.pos,b===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,R=P?`
12
+ `:`\r
13
+ `):R=String.fromCharCode(b),this.options.locations&&(++this.curLine,this.lineStart=this.pos),R}jsx_readString(P){let b="",R=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let j=this.input.charCodeAt(this.pos);if(j===P)break;j===38?(b+=this.input.slice(R,this.pos),b+=this.jsx_readEntity(),R=this.pos):A(j)?(b+=this.input.slice(R,this.pos),b+=this.jsx_readNewLine(!1),R=this.pos):++this.pos}return b+=this.input.slice(R,this.pos++),this.finishToken(g.string,b)}jsx_readEntity(){let P="",b=0,R,j=this.input[this.pos];j!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let Y=++this.pos;for(;this.pos<this.input.length&&b++<10;){if(j=this.input[this.pos++],j===";"){P[0]==="#"?P[1]==="x"?(P=P.substr(2),r.test(P)&&(R=String.fromCharCode(parseInt(P,16)))):(P=P.substr(1),n.test(P)&&(R=String.fromCharCode(parseInt(P,10)))):R=t[P];break}P+=j}return R||(this.pos=Y,"&")}jsx_readWord(){let P,b=this.pos;do P=this.input.charCodeAt(++this.pos);while(H(P)||P===45);return this.finishToken(m.jsxName,this.input.slice(b,this.pos))}jsx_parseIdentifier(){let P=this.startNode();return this.type===m.jsxName?P.name=this.value:this.type.keyword?P.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(P,"JSXIdentifier")}jsx_parseNamespacedName(){let P=this.start,b=this.startLoc,R=this.jsx_parseIdentifier();if(!l.allowNamespaces||!this.eat(g.colon))return R;var j=this.startNodeAt(P,b);return j.namespace=R,j.name=this.jsx_parseIdentifier(),this.finishNode(j,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===m.jsxTagEnd)return"";let P=this.start,b=this.startLoc,R=this.jsx_parseNamespacedName();for(this.type===g.dot&&R.type==="JSXNamespacedName"&&!l.allowNamespacedObjects&&this.unexpected();this.eat(g.dot);){let j=this.startNodeAt(P,b);j.object=R,j.property=this.jsx_parseIdentifier(),R=this.finishNode(j,"JSXMemberExpression")}return R}jsx_parseAttributeValue(){switch(this.type){case g.braceL:let P=this.jsx_parseExpressionContainer();return P.expression.type==="JSXEmptyExpression"&&this.raise(P.start,"JSX attributes must only be assigned a non-empty expression"),P;case m.jsxTagStart:case g.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let P=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(P,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let P=this.startNode();return this.next(),P.expression=this.type===g.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(g.braceR),this.finishNode(P,"JSXExpressionContainer")}jsx_parseAttribute(){let P=this.startNode();return this.eat(g.braceL)?(this.expect(g.ellipsis),P.argument=this.parseMaybeAssign(),this.expect(g.braceR),this.finishNode(P,"JSXSpreadAttribute")):(P.name=this.jsx_parseNamespacedName(),P.value=this.eat(g.eq)?this.jsx_parseAttributeValue():null,this.finishNode(P,"JSXAttribute"))}jsx_parseOpeningElementAt(P,b){let R=this.startNodeAt(P,b);R.attributes=[];let j=this.jsx_parseElementName();for(j&&(R.name=j);this.type!==g.slash&&this.type!==m.jsxTagEnd;)R.attributes.push(this.jsx_parseAttribute());return R.selfClosing=this.eat(g.slash),this.expect(m.jsxTagEnd),this.finishNode(R,j?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(P,b){let R=this.startNodeAt(P,b),j=this.jsx_parseElementName();return j&&(R.name=j),this.expect(m.jsxTagEnd),this.finishNode(R,j?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(P,b){let R=this.startNodeAt(P,b),j=[],Y=this.jsx_parseOpeningElementAt(P,b),G=null;if(!Y.selfClosing){e:for(;;)switch(this.type){case m.jsxTagStart:if(P=this.start,b=this.startLoc,this.next(),this.eat(g.slash)){G=this.jsx_parseClosingElementAt(P,b);break e}j.push(this.jsx_parseElementAt(P,b));break;case m.jsxText:j.push(this.parseExprAtom());break;case g.braceL:j.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(G.name)!==s(Y.name)&&this.raise(G.start,"Expected corresponding JSX closing tag for <"+s(Y.name)+">")}let re=Y.name?"Element":"Fragment";return R["opening"+re]=Y,R["closing"+re]=G,R.children=j,this.type===g.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(R,"JSX"+re)}jsx_parseText(){let P=this.parseLiteral(this.value);return P.type="JSXText",P}jsx_parseElement(){let P=this.start,b=this.startLoc;return this.next(),this.jsx_parseElementAt(P,b)}parseExprAtom(P){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(P)}readToken(P){let b=this.curContext();if(b===T)return this.jsx_readToken();if(b===w||b===C){if(N(P))return this.jsx_readWord();if(P==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((P===34||P===39)&&b==w)return this.jsx_readString(P)}return P===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(P)}updateContext(P){if(this.type==g.braceL){var b=this.curContext();b==w?this.context.push(E.b_expr):b==T?this.context.push(E.b_tmpl):super.updateContext(P),this.exprAllowed=!0}else if(this.type===g.slash&&P===m.jsxTagStart)this.context.length-=2,this.context.push(C),this.exprAllowed=!1;else return super.updateContext(P)}}}})(Uu)),Uu.exports}var g4=m4();const gd=au(g4),{stringify:b4}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");const Ja={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Rr=17,x4={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:Rr,ClassExpression:Rr,FunctionExpression:Rr,ObjectExpression:Rr,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function ui(e,t){const{generator:r}=e;if(e.write("("),t!=null&&t.length>0){r[t[0].type](t[0],e);const{length:n}=t;for(let i=1;i<n;i++){const a=t[i];e.write(", "),r[a.type](a,e)}}e.write(")")}function bd(e,t,r,n){const i=e.expressionsPrecedence[t.type];if(i===Rr)return!0;const a=e.expressionsPrecedence[r.type];return i!==a?!n&&i===15&&a===14&&r.operator==="**"||i<a:i!==13&&i!==14?!1:t.operator==="**"&&r.operator==="**"?!n:i===13&&a===13&&(t.operator==="??"||r.operator==="??")?!0:n?Ja[t.operator]<=Ja[r.operator]:Ja[t.operator]<Ja[r.operator]}function Qa(e,t,r,n){const{generator:i}=e;bd(e,t,r,n)?(e.write("("),i[t.type](t,e),e.write(")")):i[t.type](t,e)}function y4(e,t,r,n){const i=t.split(`
14
+ `),a=i.length-1;if(e.write(i[0].trim()),a>0){e.write(n);for(let s=1;s<a;s++)e.write(r+i[s].trim()+n);e.write(r+i[a].trim())}}function jt(e,t,r,n){const{length:i}=t;for(let a=0;a<i;a++){const s=t[a];e.write(r),s.type[0]==="L"?e.write("// "+s.value.trim()+`
15
+ `,s):(e.write("/*"),y4(e,s.value,r,n),e.write("*/"+n))}}function v4(e){let t=e;for(;t!=null;){const{type:r}=t;if(r[0]==="C"&&r[1]==="a")return!0;if(r[0]==="M"&&r[1]==="e"&&r[2]==="m")t=t.object;else return!1}}function qu(e,t){const{generator:r}=e,{declarations:n}=t;e.write(t.kind+" ");const{length:i}=n;if(i>0){r.VariableDeclarator(n[0],e);for(let a=1;a<i;a++)e.write(", "),r.VariableDeclarator(n[a],e)}}let _c,Cc,Ac,Ic,Nc,Lc;const xd={Program(e,t){const r=t.indent.repeat(t.indentLevel),{lineEnd:n,writeComments:i}=t;i&&e.comments!=null&&jt(t,e.comments,r,n);const a=e.body,{length:s}=a;for(let o=0;o<s;o++){const l=a[o];i&&l.comments!=null&&jt(t,l.comments,r,n),t.write(r),this[l.type](l,t),t.write(n)}i&&e.trailingComments!=null&&jt(t,e.trailingComments,r,n)},BlockStatement:Lc=function(e,t){const r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t,a=r+t.indent;t.write("{");const s=e.body;if(s!=null&&s.length>0){t.write(n),i&&e.comments!=null&&jt(t,e.comments,a,n);const{length:o}=s;for(let l=0;l<o;l++){const c=s[l];i&&c.comments!=null&&jt(t,c.comments,a,n),t.write(a),this[c.type](c,t),t.write(n)}t.write(r)}else i&&e.comments!=null&&(t.write(n),jt(t,e.comments,a,n),t.write(r));i&&e.trailingComments!=null&&jt(t,e.trailingComments,a,n),t.write("}"),t.indentLevel--},ClassBody:Lc,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){const r=t.expressionsPrecedence[e.expression.type];r===Rr||r===3&&e.expression.left.type[0]==="O"?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),e.alternate!=null&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){const r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t;t.indentLevel++;const a=r+t.indent,s=a+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+n);const{cases:o}=e,{length:l}=o;for(let c=0;c<l;c++){const h=o[c];i&&h.comments!=null&&jt(t,h.comments,a,n),h.test?(t.write(a+"case "),this[h.test.type](h.test,t),t.write(":"+n)):t.write(a+"default:"+n);const{consequent:f}=h,{length:g}=f;for(let m=0;m<g;m++){const E=f[m];i&&E.comments!=null&&jt(t,E.comments,s,n),t.write(s),this[E.type](E,t),t.write(n)}}t.indentLevel-=2,t.write(r+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){const{handler:r}=e;r.param==null?t.write(" catch "):(t.write(" catch ("),this[r.param.type](r.param,t),t.write(") ")),this[r.body.type](r.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),e.init!=null){const{init:r}=e;r.type[0]==="V"?qu(t,r):this[r.type](r,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:_c=function(e,t){t.write(`for ${e.await?"await ":""}(`);const{left:r}=e;r.type[0]==="V"?qu(t,r):this[r.type](r,t),t.write(e.type[3]==="I"?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:_c,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:Cc=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),ui(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:Cc,VariableDeclaration(e,t){qu(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),e.init!=null&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");const{superClass:r}=e,{type:n}=r,i=t.expressionsPrecedence[n];(n[0]!=="C"||n[1]!=="l"||n[5]!=="E")&&(i===Rr||i<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");const{specifiers:r,attributes:n}=e,{length:i}=r;let a=0;if(i>0){for(;a<i;){a>0&&t.write(", ");const s=r[a],o=s.type[6];if(o==="D")t.write(s.local.name,s),a++;else if(o==="N")t.write("* as "+s.local.name,s),a++;else break}if(a<i){for(t.write("{");;){const s=r[a],{name:o}=s.imported;if(t.write(o,s),o!==s.local.name&&t.write(" as "+s.local.name),++a<i)t.write(", ");else break}t.write("}")}t.write(" from ")}if(this.Literal(e.source,t),n&&n.length>0){t.write(" with { ");for(let s=0;s<n.length;s++)this.ImportAttribute(n[s],t),s<n.length-1&&t.write(", ");t.write(" }")}t.write(";")},ImportAttribute(e,t){this.Identifier(e.key,t),t.write(": "),this.Literal(e.value,t)},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");const{specifiers:r}=e,{length:n}=r;if(n>0)for(let i=0;;){const a=r[i],{name:s}=a.local;if(t.write(s,a),s!==a.exported.name&&t.write(" as "+a.exported.name),++i<n)t.write(", ");else break}if(t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let i=0;i<e.attributes.length;i++)this.ImportAttribute(e.attributes[i],t),i<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")}},ExportAllDeclaration(e,t){if(e.exported!=null?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let r=0;r<e.attributes.length;r++)this.ImportAttribute(e.attributes[r],t),r<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");const r=e.kind[0];(r==="g"||r==="s")&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),ui(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);const{params:r}=e;r!=null&&(r.length===1&&r[0].type[0]==="I"?t.write(r[0].name,r[0]):ui(t,e.params)),t.write(" => "),e.body.type[0]==="O"?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:Ac=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:Ac,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),Qa(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:r,expressions:n}=e;t.write("`");const{length:i}=n;for(let s=0;s<i;s++){const o=n[s],l=r[s];t.write(l.value.raw,l),t.write("${"),this[o.type](o,t),t.write("}")}const a=r[r.length-1];t.write(a.value.raw,a),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){Qa(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:Nc=function(e,t){if(t.write("["),e.elements.length>0){const{elements:r}=e,{length:n}=r;for(let i=0;;){const a=r[i];if(a!=null&&this[a.type](a,t),++i<n)t.write(", ");else{a==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:Nc,ObjectExpression(e,t){const r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t,a=r+t.indent;if(t.write("{"),e.properties.length>0){t.write(n),i&&e.comments!=null&&jt(t,e.comments,a,n);const s=","+n,{properties:o}=e,{length:l}=o;for(let c=0;;){const h=o[c];if(i&&h.comments!=null&&jt(t,h.comments,a,n),t.write(a),this[h.type](h,t),++c<l)t.write(s);else break}t.write(n),i&&e.trailingComments!=null&&jt(t,e.trailingComments,a,n),t.write(r+"}")}else i?e.comments!=null?(t.write(n),jt(t,e.comments,a,n),e.trailingComments!=null&&jt(t,e.trailingComments,a,n),t.write(r+"}")):e.trailingComments!=null?(t.write(n),jt(t,e.trailingComments,a,n),t.write(r+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||e.kind[0]!=="i"?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),e.value==null){e.key.type[0]!=="F"&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){const{properties:r}=e,{length:n}=r;for(let i=0;this[r[i].type](r[i],t),++i<n;)t.write(", ")}t.write("}")},SequenceExpression(e,t){ui(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){const{operator:r,argument:n,argument:{type:i}}=e;t.write(r);const a=bd(t,n,e);!a&&(r.length>1||i[0]==="U"&&(i[1]==="n"||i[1]==="p")&&n.prefix&&n.operator[0]===r&&(r==="+"||r==="-"))&&t.write(" "),a?(t.write(r.length>1?" (":"("),this[i](n,t),t.write(")")):this[i](n,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:Ic=function(e,t){const r=e.operator==="in";r&&t.write("("),Qa(t,e.left,e,!1),t.write(" "+e.operator+" "),Qa(t,e.right,e,!0),r&&t.write(")")},LogicalExpression:Ic,ConditionalExpression(e,t){const{test:r}=e,n=t.expressionsPrecedence[r.type];n===Rr||n<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[r.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");const r=t.expressionsPrecedence[e.callee.type];r===Rr||r<t.expressionsPrecedence.CallExpression||v4(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),ui(t,e.arguments)},CallExpression(e,t){const r=t.expressionsPrecedence[e.callee.type];r===Rr||r<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),ui(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){const r=t.expressionsPrecedence[e.object.type];r===Rr||r<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){e.raw!=null?t.write(e.raw,e):e.regex!=null?this.RegExpLiteral(e,t):e.bigint!=null?t.write(e.bigint+"n",e):t.write(b4(e.value),e)},RegExpLiteral(e,t){const{regex:r}=e;t.write(`/${r.pattern}/${r.flags}`,e)}},E4={};let k4=class{constructor(t){const r=t??E4;this.output="",r.output!=null?(this.output=r.output,this.write=this.writeToStream):this.output="",this.generator=r.generator!=null?r.generator:xd,this.expressionsPrecedence=r.expressionsPrecedence!=null?r.expressionsPrecedence:x4,this.indent=r.indent!=null?r.indent:" ",this.lineEnd=r.lineEnd!=null?r.lineEnd:`
16
+ `,this.indentLevel=r.startingIndentLevel!=null?r.startingIndentLevel:0,this.writeComments=r.comments?r.comments:!1,r.sourceMap!=null&&(this.write=r.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=r.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
17
+ `).length-1,this.mapping={original:null,generated:this,name:void 0,source:r.sourceMap.file||r.sourceMap._file})}write(t){this.output+=t}writeToStream(t){this.output.write(t)}writeAndMap(t,r){this.output+=t,this.map(t,r)}writeToStreamAndMap(t,r){this.output.write(t),this.map(t,r)}map(t,r){if(r!=null){const{type:a}=r;if(a[0]==="L"&&a[2]==="n"){this.column=0,this.line++;return}if(r.loc!=null){const{mapping:s}=this;s.original=r.loc.start,s.name=r.name,this.sourceMap.addMapping(s)}if(a[0]==="T"&&a[8]==="E"||a[0]==="L"&&a[1]==="i"&&typeof r.value=="string"){const{length:s}=t;let{column:o,line:l}=this;for(let c=0;c<s;c++)t[c]===`
18
+ `?(o=0,l++):o++;this.column=o,this.line=l;return}}const{length:n}=t,{lineEnd:i}=this;n>0&&(this.lineEndSize>0&&(i.length===1?t[n-1]===i:t.endsWith(i))?(this.line+=this.lineEndSize,this.column=0):this.column+=n)}toString(){return this.output}};function T4(e,t){const r=new k4(t);return r.generator[e.type](e,r),r.output}const w4={};function S4(e,t){const{SourceMapGenerator:r,filePath:n,handlers:i}=t||w4,a=r?new r({file:n||"<unknown>.js"}):void 0,s=T4(e,{comments:!0,generator:{...xd,...i},sourceMap:a||void 0}),o=a?a.toJSON():void 0;return{value:s,map:o}}const _4={JSXAttribute:C4,JSXClosingElement:A4,JSXClosingFragment:I4,JSXElement:N4,JSXEmptyExpression:L4,JSXExpressionContainer:R4,JSXFragment:P4,JSXIdentifier:D4,JSXMemberExpression:O4,JSXNamespacedName:M4,JSXOpeningElement:B4,JSXOpeningFragment:F4,JSXSpreadAttribute:H4,JSXText:z4};function C4(e,t){this[e.name.type](e.name,t),e.value!==null&&e.value!==void 0&&(t.write("="),e.value.type==="Literal"?t.write('"'+yd(String(e.value.value)).replace(/"/g,"&quot;")+'"',e):this[e.value.type](e.value,t))}function A4(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")}function I4(e,t){t.write("</>",e)}function N4(e,t){let r=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++r<e.children.length;){const n=e.children[r];if(n.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[n.type](n,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)}function L4(){}function R4(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")}function P4(e,t){let r=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++r<e.children.length;){const n=e.children[r];if(n.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[n.type](n,t)}this[e.closingFragment.type](e.closingFragment,t)}function D4(e,t){t.write(e.name,e)}function O4(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)}function M4(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)}function B4(e,t){let r=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++r<e.attributes.length;)t.write(" "),this[e.attributes[r].type](e.attributes[r],t);t.write(e.selfClosing?" />":">")}function F4(e,t){t.write("<>",e)}function H4(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")}function z4(e,t){t.write(yd(e.value).replace(/[<>{}]/g,U4),e)}function yd(e){return e.replace(/&(?=[#a-z])/gi,"&amp;")}function U4(e){return e==="<"?"&lt;":e===">"?"&gt;":e==="{"?"&#123;":"&#125;"}function V4(){const e=this.data(),t=e.settings||(e.settings={}),r=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(gd()),Object.assign(r,_4)}function q4(e){const t=this;this.compiler=r;function r(n,i){const a={...t.data("settings"),...e},s=S4(n,{SourceMapGenerator:a.SourceMapGenerator,filePath:i.path||"unknown.js",handlers:a.handlers});return i.map=s.map,s.value}}function j4(e,t){const r={type:"Block",value:e.value};t.inherit(e,r),t.comments.push(r);const n={type:"JSXEmptyExpression",comments:[Object.assign({},r,{leading:!1,trailing:!0})]};t.patch(e,n);const i={type:"JSXExpressionContainer",expression:n};return t.patch(e,i),i}function Rc(e){const t=[],r=String(e||"");let n=r.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=r.length,a=!0);const s=r.slice(i,n).trim();(s||!a)&&t.push(s),i=n+1,n=r.indexOf(",",i)}return t}function _l(e,t){const r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}class Ia{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}Ia.prototype.normal={};Ia.prototype.property={};Ia.prototype.space=void 0;function vd(e,t){const r={},n={};for(const i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Ia(r,n,t)}function ga(e){return e.toLowerCase()}let nr=class{constructor(t,r){this.attribute=r,this.property=t}};nr.prototype.attribute="";nr.prototype.booleanish=!1;nr.prototype.boolean=!1;nr.prototype.commaOrSpaceSeparated=!1;nr.prototype.commaSeparated=!1;nr.prototype.defined=!1;nr.prototype.mustUseProperty=!1;nr.prototype.number=!1;nr.prototype.overloadedBoolean=!1;nr.prototype.property="";nr.prototype.spaceSeparated=!1;nr.prototype.space=void 0;let G4=0;const Pe=Kn(),xt=Kn(),Ho=Kn(),de=Kn(),rt=Kn(),bi=Kn(),sr=Kn();function Kn(){return 2**++G4}const zo=Object.freeze(Object.defineProperty({__proto__:null,boolean:Pe,booleanish:xt,commaOrSpaceSeparated:sr,commaSeparated:bi,number:de,overloadedBoolean:Ho,spaceSeparated:rt},Symbol.toStringTag,{value:"Module"})),ju=Object.keys(zo);class Cl extends nr{constructor(t,r,n,i){let a=-1;if(super(t,r),Pc(this,"space",i),typeof n=="number")for(;++a<ju.length;){const s=ju[a];Pc(this,ju[a],(n&zo[s])===zo[s])}}}Cl.prototype.defined=!0;function Pc(e,t,r){r&&(e[t]=r)}function Ci(e){const t={},r={};for(const[n,i]of Object.entries(e.properties)){const a=new Cl(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[ga(n)]=n,r[ga(a.attribute)]=n}return new Ia(t,r,e.space)}const Ed=Ci({properties:{ariaActiveDescendant:null,ariaAtomic:xt,ariaAutoComplete:null,ariaBusy:xt,ariaChecked:xt,ariaColCount:de,ariaColIndex:de,ariaColSpan:de,ariaControls:rt,ariaCurrent:null,ariaDescribedBy:rt,ariaDetails:null,ariaDisabled:xt,ariaDropEffect:rt,ariaErrorMessage:null,ariaExpanded:xt,ariaFlowTo:rt,ariaGrabbed:xt,ariaHasPopup:null,ariaHidden:xt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rt,ariaLevel:de,ariaLive:null,ariaModal:xt,ariaMultiLine:xt,ariaMultiSelectable:xt,ariaOrientation:null,ariaOwns:rt,ariaPlaceholder:null,ariaPosInSet:de,ariaPressed:xt,ariaReadOnly:xt,ariaRelevant:null,ariaRequired:xt,ariaRoleDescription:rt,ariaRowCount:de,ariaRowIndex:de,ariaRowSpan:de,ariaSelected:xt,ariaSetSize:de,ariaSort:null,ariaValueMax:de,ariaValueMin:de,ariaValueNow:de,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function kd(e,t){return t in e?e[t]:t}function Td(e,t){return kd(e,t.toLowerCase())}const $4=Ci({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bi,acceptCharset:rt,accessKey:rt,action:null,allow:null,allowFullScreen:Pe,allowPaymentRequest:Pe,allowUserMedia:Pe,alt:null,as:null,async:Pe,autoCapitalize:null,autoComplete:rt,autoFocus:Pe,autoPlay:Pe,blocking:rt,capture:null,charSet:null,checked:Pe,cite:null,className:rt,cols:de,colSpan:null,content:null,contentEditable:xt,controls:Pe,controlsList:rt,coords:de|bi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Pe,defer:Pe,dir:null,dirName:null,disabled:Pe,download:Ho,draggable:xt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Pe,formTarget:null,headers:rt,height:de,hidden:Ho,high:de,href:null,hrefLang:null,htmlFor:rt,httpEquiv:rt,id:null,imageSizes:null,imageSrcSet:null,inert:Pe,inputMode:null,integrity:null,is:null,isMap:Pe,itemId:null,itemProp:rt,itemRef:rt,itemScope:Pe,itemType:rt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Pe,low:de,manifest:null,max:null,maxLength:de,media:null,method:null,min:null,minLength:de,multiple:Pe,muted:Pe,name:null,nonce:null,noModule:Pe,noValidate:Pe,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:Pe,optimum:de,pattern:null,ping:rt,placeholder:null,playsInline:Pe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Pe,referrerPolicy:null,rel:rt,required:Pe,reversed:Pe,rows:de,rowSpan:de,sandbox:rt,scope:null,scoped:Pe,seamless:Pe,selected:Pe,shadowRootClonable:Pe,shadowRootDelegatesFocus:Pe,shadowRootMode:null,shape:null,size:de,sizes:null,slot:null,span:de,spellCheck:xt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:de,step:null,style:null,tabIndex:de,target:null,title:null,translate:null,type:null,typeMustMatch:Pe,useMap:null,value:xt,width:de,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:rt,axis:null,background:null,bgColor:null,border:de,borderColor:null,bottomMargin:de,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Pe,declare:Pe,event:null,face:null,frame:null,frameBorder:null,hSpace:de,leftMargin:de,link:null,longDesc:null,lowSrc:null,marginHeight:de,marginWidth:de,noResize:Pe,noHref:Pe,noShade:Pe,noWrap:Pe,object:null,profile:null,prompt:null,rev:null,rightMargin:de,rules:null,scheme:null,scrolling:xt,standby:null,summary:null,text:null,topMargin:de,valueType:null,version:null,vAlign:null,vLink:null,vSpace:de,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Pe,disableRemotePlayback:Pe,prefix:null,property:null,results:de,security:null,unselectable:null},space:"html",transform:Td}),W4=Ci({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:sr,accentHeight:de,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:de,amplitude:de,arabicForm:null,ascent:de,attributeName:null,attributeType:null,azimuth:de,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:de,by:null,calcMode:null,capHeight:de,className:rt,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:de,diffuseConstant:de,direction:null,display:null,dur:null,divisor:de,dominantBaseline:null,download:Pe,dx:null,dy:null,edgeMode:null,editable:null,elevation:de,enableBackground:null,end:null,event:null,exponent:de,externalResourcesRequired:null,fill:null,fillOpacity:de,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:bi,g2:bi,glyphName:bi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:de,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:de,horizOriginX:de,horizOriginY:de,id:null,ideographic:de,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:de,k:de,k1:de,k2:de,k3:de,k4:de,kernelMatrix:sr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:de,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:de,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:de,overlineThickness:de,paintOrder:null,panose1:null,path:null,pathLength:de,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:de,pointsAtY:de,pointsAtZ:de,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sr,rev:sr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sr,requiredFeatures:sr,requiredFonts:sr,requiredFormats:sr,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:de,specularExponent:de,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:de,strikethroughThickness:de,string:null,stroke:null,strokeDashArray:sr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:de,strokeOpacity:de,strokeWidth:null,style:null,surfaceScale:de,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sr,tabIndex:de,tableValues:null,target:null,targetX:de,targetY:de,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:de,underlineThickness:de,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:de,values:null,vAlphabetic:de,vMathematical:de,vectorEffect:null,vHanging:de,vIdeographic:de,version:null,vertAdvY:de,vertOriginX:de,vertOriginY:de,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:de,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:kd}),wd=Ci({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()}}),Sd=Ci({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Td}),_d=Ci({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Y4={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"},X4=/[A-Z]/g,Dc=/-[a-z]/g,J4=/^data[-\w.:]+$/i;function Na(e,t){const r=ga(t);let n=t,i=nr;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&J4.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Dc,K4);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Dc.test(a)){let s=a.replace(X4,Q4);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Cl}return new i(n,t)}function Q4(e){return"-"+e.toLowerCase()}function K4(e){return e.charAt(1).toUpperCase()}const Ai=vd([Ed,$4,wd,Sd,_d],"html"),Jr=vd([Ed,W4,wd,Sd,_d],"svg");function Oc(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Al(e){return e.join(" ").trim()}var oi={},Gu,Mc;function Z4(){if(Mc)return Gu;Mc=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
19
+ `,c="/",h="*",f="",g="comment",m="declaration";function E(C,T){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];T=T||{};var A=1,N=1;function H(se){var ie=se.match(t);ie&&(A+=ie.length);var Te=se.lastIndexOf(l);N=~Te?se.length-Te:N+se.length}function P(){var se={line:A,column:N};return function(ie){return ie.position=new b(se),Y(),ie}}function b(se){this.start=se,this.end={line:A,column:N},this.source=T.source}b.prototype.content=C;function R(se){var ie=new Error(T.source+":"+A+":"+N+": "+se);if(ie.reason=se,ie.filename=T.source,ie.line=A,ie.column=N,ie.source=C,!T.silent)throw ie}function j(se){var ie=se.exec(C);if(ie){var Te=ie[0];return H(Te),C=C.slice(Te.length),ie}}function Y(){j(r)}function G(se){var ie;for(se=se||[];ie=re();)ie!==!1&&se.push(ie);return se}function re(){var se=P();if(!(c!=C.charAt(0)||h!=C.charAt(1))){for(var ie=2;f!=C.charAt(ie)&&(h!=C.charAt(ie)||c!=C.charAt(ie+1));)++ie;if(ie+=2,f===C.charAt(ie-1))return R("End of comment missing");var Te=C.slice(2,ie-2);return N+=2,H(Te),C=C.slice(ie),N+=2,se({type:g,comment:Te})}}function Q(){var se=P(),ie=j(n);if(ie){if(re(),!j(i))return R("property missing ':'");var Te=j(a),we=se({type:m,property:w(ie[0].replace(e,f)),value:Te?w(Te[0].replace(e,f)):f});return j(s),we}}function oe(){var se=[];G(se);for(var ie;ie=Q();)ie!==!1&&(se.push(ie),G(se));return se}return Y(),oe()}function w(C){return C?C.replace(o,f):f}return Gu=E,Gu}var Bc;function e3(){if(Bc)return oi;Bc=1;var e=oi&&oi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(oi,"__esModule",{value:!0}),oi.default=r;const t=e(Z4());function r(n,i){let a=null;if(!n||typeof n!="string")return a;const s=(0,t.default)(n),o=typeof i=="function";return s.forEach(l=>{if(l.type!=="declaration")return;const{property:c,value:h}=l;o?i(c,h,l):h&&(a=a||{},a[c]=h)}),a}return oi}var $i={},Fc;function t3(){if(Fc)return $i;Fc=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||r.test(c)||e.test(c)},s=function(c,h){return h.toUpperCase()},o=function(c,h){return"".concat(h,"-")},l=function(c,h){return h===void 0&&(h={}),a(c)?c:(c=c.toLowerCase(),h.reactCompat?c=c.replace(i,o):c=c.replace(n,o),c.replace(t,s))};return $i.camelCase=l,$i}var Wi,Hc;function r3(){if(Hc)return Wi;Hc=1;var e=Wi&&Wi.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(e3()),r=t3();function n(i,a){var s={};return!i||typeof i!="string"||(0,t.default)(i,function(o,l){o&&l&&(s[(0,r.camelCase)(o,a)]=l)}),s}return n.default=n,Wi=n,Wi}var n3=r3();const i3=au(n3),Uo={}.hasOwnProperty,a3=/[A-Z]/g,s3=new Set(["td","th"]);function u3(e,t){const r=t.schema;let n=r;const i=e.properties||{};r.space==="html"&&e.tagName.toLowerCase()==="svg"&&(n=Jr,t.schema=n);const a=t.all(e),s=[];let o,l,c;for(o in i)if(Uo.call(i,o)){let f=i[o];const g=Na(n,o);let m;if(f==null||f===!1||typeof f=="number"&&Number.isNaN(f)||!f&&g.boolean)continue;if(o=t.elementAttributeNameCase==="react"&&g.space?Y4[g.property]||g.property:g.attribute,Array.isArray(f)&&(f=g.commaSeparated?_l(f):Al(f)),o==="style"){let E=typeof f=="object"?f:o3(String(f),e.tagName);t.stylePropertyNameCase==="css"&&(E=l3(E));const w=[];let C;for(C in E)Uo.call(E,C)&&w.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:Yr(C)?{type:"Identifier",name:C}:{type:"Literal",value:C},value:{type:"Literal",value:String(E[C])},kind:"init"});c=w,m={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:w}}}else if(f===!0)m=null;else if(t.tableCellAlignToStyle&&s3.has(e.tagName)&&o==="align"){l=String(f);continue}else m={type:"Literal",value:String(f)};Yr(o,{jsx:!0})?s.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:o},value:m}):s.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(o)},value:m||{type:"Literal",value:!0},kind:"init"}]}})}if(l!==void 0){c||(c=[],s.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:"style"},value:{type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:c}}}));const f=t.stylePropertyNameCase==="css"?Cd("textAlign"):"textAlign";c.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:Yr(f)?{type:"Identifier",name:f}:{type:"Literal",value:f},value:{type:"Literal",value:l},kind:"init"})}t.schema=r;const h={type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:s,name:t.createJsxElementName(e.tagName),selfClosing:a.length===0},closingElement:a.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.tagName)}:null,children:a};return t.inherit(e,h),h}function o3(e,t){try{return i3(e,{reactCompat:!0})}catch(r){const n=r;throw new Error("Could not parse `style` attribute on `"+t+"`",{cause:n})}}function l3(e){const t={};let r;for(r in e)Uo.call(e,r)&&(t[Cd(r)]=e[r]);return t}function Cd(e){let t=e.replace(a3,c3);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function c3(e){return"-"+e.toLowerCase()}const h3={}.hasOwnProperty,f3=[];function _s(e,t){const r=t?[...t].sort(Il):f3;r.length>0&&Ad(e,{comments:r,index:0})}function Ad(e,t){if(t.index===t.comments.length)return;const r=[],n=[];let i;for(i in e)if(h3.call(e,i)){const s=e[i];if(s&&typeof s=="object"&&i!=="comments")if(Array.isArray(s)){let o=-1;for(;++o<s.length;)s[o]&&typeof s[o].type=="string"&&r.push(s[o])}else typeof s.type=="string"&&r.push(s)}r.sort(Il),n.push(...zc(t,e,!1,{leading:!0,trailing:!1}));let a=-1;for(;++a<r.length;)Ad(r[a],t);n.push(...zc(t,e,!0,{leading:!1,trailing:r.length>0})),n.length>0&&(e.comments=n)}function zc(e,t,r,n){const i=[];for(;e.comments[e.index]&&Il(e.comments[e.index],t,r)<1;)i.push(Object.assign({},e.comments[e.index++],n));return i}function Il(e,t,r){const n=r?"end":"start";return e.range&&t.range?e.range[0]-t.range[r?1:0]:e.loc&&e.loc.start&&t.loc&&t.loc[n]?e.loc.start.line-t.loc[n].line||e.loc.start.column-t.loc[n].column:"start"in e&&n in t?e.start-t[n]:Number.NaN}function Uc(e,t){const r=e.data&&e.data.estree,n=r&&r.comments||[];let i;r&&(t.comments.push(...n),_s(r,r.comments),i=r.body[0]&&r.body[0].type==="ExpressionStatement"&&r.body[0].expression||void 0),i||(i={type:"JSXEmptyExpression"},t.patch(e,i));const a={type:"JSXExpressionContainer",expression:i};return t.inherit(e,a),a}function Vc(e,t){const r=t.schema;let n=r;const i=e.attributes||[];let a=-1;e.name&&r.space==="html"&&e.name.toLowerCase()==="svg"&&(n=Jr,t.schema=n);const s=t.all(e),o=[];for(;++a<i.length;){const c=i[a],h=c.value;let f;if(c.type==="mdxJsxAttribute"){if(h==null)f=null;else if(typeof h=="object"){const m=h.data&&h.data.estree,E=m&&m.comments||[];let w;m&&(t.comments.push(...E),_s(m,m.comments),w=m.body[0]&&m.body[0].type==="ExpressionStatement"&&m.body[0].expression||void 0),f={type:"JSXExpressionContainer",expression:w||{type:"JSXEmptyExpression"}},t.inherit(h,f)}else f={type:"Literal",value:String(h)};const g={type:"JSXAttribute",name:t.createJsxAttributeName(c.name),value:f};t.inherit(c,g),o.push(g)}else{const g=c.data&&c.data.estree,m=g&&g.comments||[];let E;g&&(t.comments.push(...m),_s(g,g.comments),E=g.body[0]&&g.body[0].type==="ExpressionStatement"&&g.body[0].expression&&g.body[0].expression.type==="ObjectExpression"&&g.body[0].expression.properties&&g.body[0].expression.properties[0]&&g.body[0].expression.properties[0].type==="SpreadElement"&&g.body[0].expression.properties[0].argument||void 0);const w={type:"JSXSpreadAttribute",argument:E||{type:"ObjectExpression",properties:[]}};t.inherit(c,w),o.push(w)}}t.schema=r;const l=e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:t.createJsxElementName(e.name),selfClosing:s.length===0},closingElement:s.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.name)}:null,children:s}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:s};return t.inherit(e,l),l}function d3(e,t){const r=e.data&&e.data.estree,n=r&&r.comments||[];r&&(t.comments.push(...n),_s(r,n),t.esm.push(...r.body))}const p3=/[ \t\n\f\r]/g;function su(e){return typeof e=="object"?e.type==="text"?qc(e.value):!1:qc(e)}function qc(e){return e.replace(p3,"")===""}function m3(e,t){const r=t.all(e),n=[];let i=-1,a;for(;++i<r.length;){const o=r[i];o.type==="JSXExpressionContainer"&&o.expression.type==="Literal"&&su(String(o.expression.value))?a&&a.push(o):(a&&n.push(...a),n.push(o),a=[])}const s={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:n};return t.inherit(e,s),s}function g3(e,t){const r=String(e.value||"");if(r){const n={type:"Literal",value:r};t.inherit(e,n);const i={type:"JSXExpressionContainer",expression:n};return t.patch(e,i),i}}const b3={comment:j4,doctype:x3,element:u3,mdxFlowExpression:Uc,mdxJsxFlowElement:Vc,mdxJsxTextElement:Vc,mdxTextExpression:Uc,mdxjsEsm:d3,root:m3,text:g3};function x3(){}const uu=Id("end"),yn=Id("start");function Id(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Nd(e){const t=yn(e),r=uu(e);if(t&&r)return{start:t,end:r}}const jc={}.hasOwnProperty;function ou(e,t){const r=t||{};function n(i,...a){let s=n.invalid;const o=n.handlers;if(i&&jc.call(i,e)){const l=String(i[e]);s=jc.call(o,l)?o[l]:n.unknown}if(s)return s.call(this,i,...a)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const y3={}.hasOwnProperty,v3=new Set(["table","tbody","thead","tfoot","tr"]);function E3(e){const t=ou("type",{invalid:k3,unknown:T3,handlers:{...b3,...e.handlers}});return{elementAttributeNameCase:e.elementAttributeNameCase||"react",schema:e.space==="svg"?Jr:Ai,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1,comments:[],esm:[],all:w3,createJsxAttributeName:_3,createJsxElementName:C3,handle:r,inherit:S3,patch:Ld};function r(n){return t(n,this)}}function k3(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function T3(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function w3(e){const t=e.children||[];let r=-1;const n=[],i=this.schema.space==="html"&&e.type==="element"&&v3.has(e.tagName.toLowerCase());for(;++r<t.length;){const a=t[r];if(i&&a.type==="text"&&a.value===`
20
+ `)continue;const s=this.handle(a);Array.isArray(s)?n.push(...s):s&&n.push(s)}return n}function S3(e,t){const r=e.data;let n,i;if(Ld(e,t),r){for(i in r)y3.call(r,i)&&i!=="estree"&&(n||(n={}),n[i]=r[i]);n&&(t.data=n)}}function Ld(e,t){const r=Nd(e);r&&r.start.offset!==void 0&&r.end.offset!==void 0&&(t.start=r.start.offset,t.end=r.end.offset,t.loc={start:{line:r.start.line,column:r.start.column-1},end:{line:r.end.line,column:r.end.column-1}},t.range=[r.start.offset,r.end.offset])}function _3(e){const t=Rd(e);if(t.type==="JSXMemberExpression")throw new Error("Member expressions in attribute names are not supported");return t}function C3(e){return Rd(e)}function Rd(e){if(e.includes(".")){const t=e.split(".");let r=t.shift(),n={type:"JSXIdentifier",name:r};for(;r=t.shift();)n={type:"JSXMemberExpression",object:n,property:{type:"JSXIdentifier",name:r}};return n}if(e.includes(":")){const t=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:t[0]},name:{type:"JSXIdentifier",name:t[1]}}}return{type:"JSXIdentifier",name:e}}function A3(e,t){const r=E3(t||{});let n=r.handle(e);const i=r.esm;if(n){n.type!=="JSXFragment"&&n.type!=="JSXElement"&&(n={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[n]},r.patch(e,n));const s={type:"ExpressionStatement",expression:n};r.patch(e,s),i.push(s)}const a={type:"Program",body:i,sourceType:"module",comments:r.comments};return r.patch(e,a),a}function I3(e){return function(t){return A3(t,e)}}function N3(){return{enter:{mdxFlowExpression:R3,mdxTextExpression:P3},exit:{mdxFlowExpression:Gc,mdxFlowExpressionChunk:$c,mdxTextExpression:Gc,mdxTextExpressionChunk:$c}}}function L3(){return{handlers:{mdxFlowExpression:Wc,mdxTextExpression:Wc},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function R3(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function P3(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function Gc(e){const t=this.resume(),r=e.estree,n=this.stack[this.stack.length-1];n.type==="mdxFlowExpression"||n.type,this.exit(e),n.value=t,r&&(n.data={estree:r})}function $c(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Wc(e,t,r){const n=e.value||"";return"{"+r.indentLines(n,function(a,s,o){return(s===0||o?"":" ")+a})+"}"}function Ei(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}const Pd=["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"],Yc={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 Dd(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function D3(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function O3(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Xc(e){return O3(e)||Dd(e)}const Jc=document.createElement("i");function ba(e){const t="&"+e+";";Jc.innerHTML=t;const r=Jc.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}const M3=["","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 B3(e,t){const r=t||{},n=typeof r.additional=="string"?r.additional.charCodeAt(0):r.additional,i=[];let a=0,s=-1,o="",l,c;r.position&&("start"in r.position||"indent"in r.position?(c=r.position.indent,l=r.position.start):l=r.position);let h=(l?l.line:0)||1,f=(l?l.column:0)||1,g=E(),m;for(a--;++a<=e.length;)if(m===10&&(f=(c?c[s]:0)||1),m=e.charCodeAt(a),m===38){const T=e.charCodeAt(a+1);if(T===9||T===10||T===12||T===32||T===38||T===60||Number.isNaN(T)||n&&T===n){o+=String.fromCharCode(m),f++;continue}const A=a+1;let N=A,H=A,P;if(T===35){H=++N;const oe=e.charCodeAt(H);oe===88||oe===120?(P="hexadecimal",H=++N):P="decimal"}else P="named";let b="",R="",j="";const Y=P==="named"?Xc:P==="decimal"?Dd:D3;for(H--;++H<=e.length;){const oe=e.charCodeAt(H);if(!Y(oe))break;j+=String.fromCharCode(oe),P==="named"&&Pd.includes(j)&&(b=j,R=ba(j))}let G=e.charCodeAt(H)===59;if(G){H++;const oe=P==="named"?ba(j):!1;oe&&(b=j,R=oe)}let re=1+H-A,Q="";if(!(!G&&r.nonTerminated===!1))if(!j)P!=="named"&&w(4,re);else if(P==="named"){if(G&&!R)w(5,1);else if(b!==j&&(H=N+b.length,re=1+H-N,G=!1),!G){const oe=b?1:3;if(r.attribute){const se=e.charCodeAt(H);se===61?(w(oe,re),R=""):Xc(se)?R="":w(oe,re)}else w(oe,re)}Q=R}else{G||w(2,re);let oe=Number.parseInt(j,P==="hexadecimal"?16:10);if(F3(oe))w(7,re),Q="�";else if(oe in Yc)w(6,re),Q=Yc[oe];else{let se="";H3(oe)&&w(6,re),oe>65535&&(oe-=65536,se+=String.fromCharCode(oe>>>10|55296),oe=56320|oe&1023),Q=se+String.fromCharCode(oe)}}if(Q){C(),g=E(),a=H-1,f+=H-A+1,i.push(Q);const oe=E();oe.offset++,r.reference&&r.reference.call(r.referenceContext||void 0,Q,{start:g,end:oe},e.slice(A-1,H)),g=oe}else j=e.slice(A-1,H),o+=j,f+=j.length,a=H-1}else m===10&&(h++,s++,f=0),Number.isNaN(m)?C():(o+=String.fromCharCode(m),f++);return i.join("");function E(){return{line:h,column:f,offset:a+((l?l.offset:0)||0)}}function w(T,A){let N;r.warning&&(N=E(),N.column+=A,N.offset+=A,r.warning.call(r.warningContext||void 0,M3[T],N,T))}function C(){o&&(i.push(o),r.text&&r.text.call(r.textContext||void 0,o,{start:g,end:E()}),o="")}}function F3(e){return e>=55296&&e<=57343||e>1114111}function H3(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 z3=/["&'<>`]/g,U3=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,V3=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,q3=/[|\\{}()[\]^$+*?.]/g,Qc=new WeakMap;function Od(e,t){if(e=e.replace(t.subset?j3(t.subset):z3,n),t.subset||t.escapeOnly)return e;return e.replace(U3,r).replace(V3,n);function r(i,a,s){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(a+2),t)}function n(i,a,s){return t.format(i.charCodeAt(0),s.charCodeAt(a+1),t)}}function j3(e){let t=Qc.get(e);return t||(t=G3(e),Qc.set(e,t)),t}function G3(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(q3,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const $3=/[\dA-Fa-f]/;function W3(e,t,r){const n="&#x"+e.toString(16).toUpperCase();return r&&t&&!$3.test(String.fromCharCode(t))?n:n+";"}const Y3=/\d/;function X3(e,t,r){const n="&#"+String(e);return r&&t&&!Y3.test(String.fromCharCode(t))?n:n+";"}const $u={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},J3=["cent","copy","divide","gt","lt","not","para","times"],Md={}.hasOwnProperty,Vo={};let Ka;for(Ka in $u)Md.call($u,Ka)&&(Vo[$u[Ka]]=Ka);const Q3=/[^\dA-Za-z]/;function K3(e,t,r,n){const i=String.fromCharCode(e);if(Md.call(Vo,i)){const a=Vo[i],s="&"+a;return r&&Pd.includes(a)&&!J3.includes(a)&&(!n||t&&t!==61&&Q3.test(String.fromCharCode(t)))?s:s+";"}return""}function Z3(e,t,r){let n=W3(e,t,r.omitOptionalSemicolons),i;if((r.useNamedReferences||r.useShortestReferences)&&(i=K3(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!i)&&r.useShortestReferences){const a=X3(e,t,r.omitOptionalSemicolons);a.length<n.length&&(n=a)}return i&&(!r.useShortestReferences||i.length<n.length)?i:n}function e6(e){return"&#x"+e.toString(16).toUpperCase()+";"}function xi(e,t){return Od(e,Object.assign({format:Z3},t))}function t6(e,t){return Od(e,Object.assign({format:e6},t))}const Bd=" ";function r6(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:n,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:f,mdxJsxFlowTagExpressionAttribute:g,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:s,mdxJsxTextTag:n,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:f,mdxJsxTextTagExpressionAttribute:g,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:s},exit:{mdxJsxFlowTagClosingMarker:o,mdxJsxFlowTagNamePrimary:l,mdxJsxFlowTagNameMember:c,mdxJsxFlowTagNameLocal:h,mdxJsxFlowTagExpressionAttribute:m,mdxJsxFlowTagExpressionAttributeValue:r,mdxJsxFlowTagAttributeNamePrimary:E,mdxJsxFlowTagAttributeNameLocal:w,mdxJsxFlowTagAttributeValueLiteral:C,mdxJsxFlowTagAttributeValueLiteralValue:r,mdxJsxFlowTagAttributeValueExpression:T,mdxJsxFlowTagAttributeValueExpressionValue:r,mdxJsxFlowTagSelfClosingMarker:A,mdxJsxFlowTag:N,mdxJsxTextTagClosingMarker:o,mdxJsxTextTagNamePrimary:l,mdxJsxTextTagNameMember:c,mdxJsxTextTagNameLocal:h,mdxJsxTextTagExpressionAttribute:m,mdxJsxTextTagExpressionAttributeValue:r,mdxJsxTextTagAttributeNamePrimary:E,mdxJsxTextTagAttributeNameLocal:w,mdxJsxTextTagAttributeValueLiteral:C,mdxJsxTextTagAttributeValueLiteralValue:r,mdxJsxTextTagAttributeValueExpression:T,mdxJsxTextTagAttributeValueExpressionValue:r,mdxJsxTextTagSelfClosingMarker:A,mdxJsxTextTag:N}};function e(){this.buffer()}function t(R){return{line:R.line,column:R.column,offset:R.offset}}function r(R){this.config.enter.data.call(this,R),this.config.exit.data.call(this,R)}function n(R){const j={name:void 0,attributes:[],close:!1,selfClosing:!1,start:R.start,end:R.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=j,this.buffer()}function i(R){if(this.data.mdxJsxTagStack.length===0)throw new Xe("Unexpected closing slash `/` in tag, expected an open tag first",{start:R.start,end:R.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function a(R){if(this.data.mdxJsxTag.close)throw new Xe("Unexpected attribute in closing tag, expected the end of the tag",{start:R.start,end:R.end},"mdast-util-mdx-jsx:unexpected-attribute")}function s(R){if(this.data.mdxJsxTag.close)throw new Xe("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:R.start,end:R.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function o(){const R=this.data.mdxJsxTag;R.close=!0}function l(R){const j=this.data.mdxJsxTag;j.name=this.sliceSerialize(R)}function c(R){const j=this.data.mdxJsxTag;j.name+="."+this.sliceSerialize(R)}function h(R){const j=this.data.mdxJsxTag;j.name+=":"+this.sliceSerialize(R)}function f(R){const j=this.data.mdxJsxTag;a.call(this,R),j.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(R.start),end:void 0}})}function g(R){const j=this.data.mdxJsxTag;a.call(this,R),j.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(R.start),end:void 0}}),this.buffer()}function m(R){const j=this.data.mdxJsxTag,Y=j.attributes[j.attributes.length-1];Y.type;const G=R.estree;Y.value=this.resume(),Y.position,Y.position.end=t(R.end),G&&(Y.data={estree:G})}function E(R){const j=this.data.mdxJsxTag,Y=j.attributes[j.attributes.length-1];Y.type,Y.name=this.sliceSerialize(R),Y.position,Y.position.end=t(R.end)}function w(R){const j=this.data.mdxJsxTag,Y=j.attributes[j.attributes.length-1];Y.type,Y.name+=":"+this.sliceSerialize(R),Y.position,Y.position.end=t(R.end)}function C(R){const j=this.data.mdxJsxTag,Y=j.attributes[j.attributes.length-1];Y.value=B3(this.resume(),{nonTerminated:!1}),Y.position,Y.position.end=t(R.end)}function T(R){const j=this.data.mdxJsxTag,Y=j.attributes[j.attributes.length-1];Y.type;const G={type:"mdxJsxAttributeValueExpression",value:this.resume()},re=R.estree;re&&(G.data={estree:re}),Y.value=G,Y.position,Y.position.end=t(R.end)}function A(){const R=this.data.mdxJsxTag;R.selfClosing=!0}function N(R){const j=this.data.mdxJsxTag,Y=this.data.mdxJsxTagStack,G=Y[Y.length-1];if(j.close&&G.name!==j.name)throw new Xe("Unexpected closing tag `"+b(j)+"`, expected corresponding closing tag for `"+b(G)+"` ("+Tr(G)+")",{start:R.start,end:R.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),j.close?Y.pop():this.enter({type:R.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:j.name||null,attributes:j.attributes,children:[]},R,H),j.selfClosing||j.close?this.exit(R,P):Y.push(j)}function H(R,j){const Y=this.data.mdxJsxTagStack,G=Y[Y.length-1],re=R?" before the end of `"+R.type+"`":"",Q=R?{start:R.start,end:R.end}:void 0;throw new Xe("Expected a closing tag for `"+b(G)+"` ("+Tr({start:j.start,end:j.end})+")"+re,Q,"mdast-util-mdx-jsx:end-tag-mismatch")}function P(R,j){const Y=this.data.mdxJsxTag;throw new Xe("Expected the closing tag `"+b(Y)+"` either after the end of `"+j.type+"` ("+Tr(j.end)+") or another opening tag after the start of `"+j.type+"` ("+Tr(j.start)+")",{start:R.start,end:R.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function b(R){return"<"+(R.close?"/":"")+(R.name||"")+">"}}function n6(e){const t=e||{},r=t.quote||'"',n=t.quoteSmart||!1,i=t.tightSelfClosing||!1,a=t.printWidth||Number.POSITIVE_INFINITY,s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize attribute values with `"+r+"` for `options.quote`, expected `\"`, or `'`");return o.peek=a6,{handlers:{mdxJsxFlowElement:o,mdxJsxTextElement:o},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function o(l,c,h,f){const g=l.type==="mdxJsxFlowElement",m=l.name?!l.children||l.children.length===0:!1,E=Fd(h),w=Hd(E),C=h.createTracker(f),T=h.createTracker(f),A=[],N=(g?w:"")+"<"+(l.name||""),H=h.enter(l.type);if(C.move(N),T.move(N),l.attributes&&l.attributes.length>0){if(!l.name)throw new Error("Cannot serialize fragment w/ attributes");let Y=-1;for(;++Y<l.attributes.length;){const G=l.attributes[Y];let re;if(G.type==="mdxJsxExpressionAttribute")re="{"+(G.value||"")+"}";else{if(!G.name)throw new Error("Cannot serialize attribute w/o name");const Q=G.value,oe=G.name;let se="";if(Q!=null)if(typeof Q=="object")se="{"+(Q.value||"")+"}";else{const ie=n&&Ei(Q,r)>Ei(Q,s)?s:r;se=ie+t6(Q,{subset:[ie]})+ie}re=oe+(se?"=":"")+se}A.push(re)}}let P=!1;const b=A.join(" ");g&&(/\r?\n|\r/.test(b)||C.current().now.column+b.length+(m?i?2:3:1)>a)&&(P=!0);let R=C,j=N;if(P){R=T;let Y=-1;for(;++Y<A.length;)A[Y]=w+Bd+A[Y];j+=R.move(`
21
+ `+A.join(`
22
+ `)+`
23
+ `+w)}else b&&(j+=R.move(" "+b));return m&&(j+=R.move((i||P?"":" ")+"/")),j+=R.move(">"),l.children&&l.children.length>0&&(l.type==="mdxJsxTextElement"?j+=R.move(h.containerPhrasing(l,{...R.current(),before:">",after:"<"})):(R.shift(2),j+=R.move(`
24
+ `),j+=R.move(i6(l,h,R.current())),j+=R.move(`
25
+ `))),m||(j+=R.move((g?w:"")+"</"+(l.name||"")+">")),H(),j}}function i6(e,t,r){const n=t.indexStack,i=e.children,a=t.createTracker(r),s=Hd(Fd(t)),o=[];let l=-1;for(n.push(-1);++l<i.length;){const c=i[l];n[n.length-1]=l;const h={before:`
26
+ `,after:`
27
+ `,...a.current()},f=t.handle(c,e,t,h),g=c.type==="mdxJsxFlowElement"?f:t.indentLines(f,function(m,E,w){return(w?"":s)+m});o.push(a.move(g)),c.type!=="list"&&(t.bulletLastUsed=void 0),l<i.length-1&&o.push(a.move(`
28
+
29
+ `))}return n.pop(),o.join("")}function Fd(e){let t=0,r=e.stack.length;for(;--r>-1;){const n=e.stack[r];if(n==="blockquote"||n==="listItem")break;n==="mdxJsxFlowElement"&&t++}return t}function Hd(e){return Bd.repeat(e)}function a6(){return"<"}function s6(){return{enter:{mdxjsEsm:o6},exit:{mdxjsEsm:l6,mdxjsEsmData:c6}}}function u6(){return{handlers:{mdxjsEsm:h6}}}function o6(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function l6(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,this.exit(e);const n=e.estree;r.value=t,n&&(r.data={estree:n})}function c6(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function h6(e){return e.value||""}function f6(){return[N3(),r6(),s6()]}function d6(e){return{extensions:[L3(),n6(e),u6()]}}var p6=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],zd=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],m6="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Ud="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Wu={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Yu="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",g6={5:Yu,"5module":Yu+" export import",6:Yu+" const class extends export import super"},b6=/^in(stanceof)?$/,x6=new RegExp("["+Ud+"]"),y6=new RegExp("["+Ud+m6+"]");function qo(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Xr(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&x6.test(String.fromCharCode(e)):t===!1?!1:qo(e,zd)}function Mn(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&y6.test(String.fromCharCode(e)):t===!1?!1:qo(e,zd)||qo(e,p6)}var qe=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function gr(e,t){return new qe(e,{beforeExpr:!0,binop:t})}var br={beforeExpr:!0},Qt={startsExpr:!0},Nl={};function Ue(e,t){return t===void 0&&(t={}),t.keyword=e,Nl[e]=new qe(e,t)}var I={num:new qe("num",Qt),regexp:new qe("regexp",Qt),string:new qe("string",Qt),name:new qe("name",Qt),privateId:new qe("privateId",Qt),eof:new qe("eof"),bracketL:new qe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new qe("]"),braceL:new qe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new qe("}"),parenL:new qe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new qe(")"),comma:new qe(",",br),semi:new qe(";",br),colon:new qe(":",br),dot:new qe("."),question:new qe("?",br),questionDot:new qe("?."),arrow:new qe("=>",br),template:new qe("template"),invalidTemplate:new qe("invalidTemplate"),ellipsis:new qe("...",br),backQuote:new qe("`",Qt),dollarBraceL:new qe("${",{beforeExpr:!0,startsExpr:!0}),eq:new qe("=",{beforeExpr:!0,isAssign:!0}),assign:new qe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new qe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new qe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:gr("||",1),logicalAND:gr("&&",2),bitwiseOR:gr("|",3),bitwiseXOR:gr("^",4),bitwiseAND:gr("&",5),equality:gr("==/!=/===/!==",6),relational:gr("</>/<=/>=",7),bitShift:gr("<</>>/>>>",8),plusMin:new qe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:gr("%",10),star:gr("*",10),slash:gr("/",10),starstar:new qe("**",{beforeExpr:!0}),coalesce:gr("??",1),_break:Ue("break"),_case:Ue("case",br),_catch:Ue("catch"),_continue:Ue("continue"),_debugger:Ue("debugger"),_default:Ue("default",br),_do:Ue("do",{isLoop:!0,beforeExpr:!0}),_else:Ue("else",br),_finally:Ue("finally"),_for:Ue("for",{isLoop:!0}),_function:Ue("function",Qt),_if:Ue("if"),_return:Ue("return",br),_switch:Ue("switch"),_throw:Ue("throw",br),_try:Ue("try"),_var:Ue("var"),_const:Ue("const"),_while:Ue("while",{isLoop:!0}),_with:Ue("with"),_new:Ue("new",{beforeExpr:!0,startsExpr:!0}),_this:Ue("this",Qt),_super:Ue("super",Qt),_class:Ue("class",Qt),_extends:Ue("extends",br),_export:Ue("export"),_import:Ue("import",Qt),_null:Ue("null",Qt),_true:Ue("true",Qt),_false:Ue("false",Qt),_in:Ue("in",{beforeExpr:!0,binop:7}),_instanceof:Ue("instanceof",{beforeExpr:!0,binop:7}),_typeof:Ue("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Ue("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Ue("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},rr=/\r\n?|\n|\u2028|\u2029/,v6=new RegExp(rr.source,"g");function Ii(e){return e===10||e===13||e===8232||e===8233}function Vd(e,t,r){r===void 0&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(Ii(i))return n<r-1&&i===13&&e.charCodeAt(n+1)===10?n+2:n+1}return-1}var qd=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ft=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,jd=Object.prototype,E6=jd.hasOwnProperty,k6=jd.toString,Ni=Object.hasOwn||(function(e,t){return E6.call(e,t)}),Kc=Array.isArray||(function(e){return k6.call(e)==="[object Array]"}),Zc=Object.create(null);function Ln(e){return Zc[e]||(Zc[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function dn(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var T6=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,xa=function(t,r){this.line=t,this.column=r};xa.prototype.offset=function(t){return new xa(this.line,this.column+t)};var lu=function(t,r,n){this.start=r,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};function Gd(e,t){for(var r=1,n=0;;){var i=Vd(e,n,t);if(i<0)return new xa(r,t-n);++r,n=i}}var jo={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},eh=!1;function w6(e){var t={};for(var r in jo)t[r]=e&&Ni(e,r)?e[r]:jo[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!eh&&typeof console=="object"&&console.warn&&(eh=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
30
+ Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Kc(t.onToken)){var n=t.onToken;t.onToken=function(i){return n.push(i)}}return Kc(t.onComment)&&(t.onComment=S6(t,t.onComment)),t}function S6(e,t){return function(r,n,i,a,s,o){var l={type:r?"Block":"Line",value:n,start:i,end:a};e.locations&&(l.loc=new lu(this,s,o)),e.ranges&&(l.range=[i,a]),t.push(l)}}var ya=1,Li=2,Ll=4,$d=8,Rl=16,Wd=32,cu=64,Yd=128,Zn=256,La=512,hu=ya|Li|Zn;function Pl(e,t){return Li|(e?Ll:0)|(t?$d:0)}var Cs=0,Dl=1,vn=2,Xd=3,Jd=4,Qd=5,_t=function(t,r,n){this.options=t=w6(t),this.sourceFile=t.sourceFile,this.keywords=Ln(g6[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=Wu[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=Ln(i);var a=(i?i+" ":"")+Wu.strict;this.reservedWordsStrict=Ln(a),this.reservedWordsStrictBind=Ln(a+" "+Wu.strictBind),this.input=String(r),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
31
+ `,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(rr).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=I.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ya),this.regexpState=null,this.privateNameStack=[]},Qr={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};_t.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Qr.inFunction.get=function(){return(this.currentVarScope().flags&Li)>0};Qr.inGenerator.get=function(){return(this.currentVarScope().flags&$d)>0};Qr.inAsync.get=function(){return(this.currentVarScope().flags&Ll)>0};Qr.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(Zn|La))return!1;if(r&Li)return(r&Ll)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Qr.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&cu)>0||this.options.allowSuperOutsideMethod};Qr.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Yd)>0};Qr.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Qr.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(Zn|La)||r&Li&&!(r&Rl))return!0}return!1};Qr.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Zn)>0};_t.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=this,i=0;i<t.length;i++)n=t[i](n);return n};_t.parse=function(t,r){return new this(r,t).parse()};_t.parseExpressionAt=function(t,r,n){var i=new this(n,t,r);return i.nextToken(),i.parseExpression()};_t.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(_t.prototype,Qr);var Yt=_t.prototype,_6=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Yt.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Ft.lastIndex=e,e+=Ft.exec(this.input)[0].length;var t=_6.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Ft.lastIndex=e+t[0].length;var r=Ft.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return i===";"||i==="}"||rr.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,Ft.lastIndex=e,e+=Ft.exec(this.input)[0].length,this.input[e]===";"&&e++}};Yt.eat=function(e){return this.type===e?(this.next(),!0):!1};Yt.isContextual=function(e){return this.type===I.name&&this.value===e&&!this.containsEsc};Yt.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};Yt.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};Yt.canInsertSemicolon=function(){return this.type===I.eof||this.type===I.braceR||rr.test(this.input.slice(this.lastTokEnd,this.start))};Yt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};Yt.semicolon=function(){!this.eat(I.semi)&&!this.insertSemicolon()&&this.unexpected()};Yt.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};Yt.expect=function(e){this.eat(e)||this.unexpected()};Yt.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var fu=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Yt.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};Yt.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")};Yt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};Yt.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var ke=_t.prototype;ke.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==I.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var a=i[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Ol={kind:"loop"},C6={kind:"switch"};ke.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Ft.lastIndex=this.pos;var t=Ft.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91||n===92)return!0;if(e)return!1;if(n===123||n>55295&&n<56320)return!0;if(Xr(n,!0)){for(var i=r+1;Mn(n=this.input.charCodeAt(i),!0);)++i;if(n===92||n>55295&&n<56320)return!0;var a=this.input.slice(r,i);if(!b6.test(a))return!0}return!1};ke.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Ft.lastIndex=this.pos;var e=Ft.exec(this.input),t=this.pos+e[0].length,r;return!rr.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Mn(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};ke.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;Ft.lastIndex=this.pos;var r=Ft.exec(this.input),n=this.pos+r[0].length;if(rr.test(this.input.slice(this.pos,n)))return!1;if(e){var i=n+5,a;if(this.input.slice(n,i)!=="using"||i===this.input.length||Mn(a=this.input.charCodeAt(i))||a>55295&&a<56320)return!1;Ft.lastIndex=i;var s=Ft.exec(this.input);if(s&&rr.test(this.input.slice(i,i+s[0].length)))return!1}if(t){var o=n+2,l;if(this.input.slice(n,o)==="of"&&(o===this.input.length||!Mn(l=this.input.charCodeAt(o))&&!(l>55295&&l<56320)))return!1}var c=this.input.charCodeAt(n);return Xr(c,!0)||c===92};ke.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};ke.isUsing=function(e){return this.isUsingKeyword(!1,e)};ke.parseStatement=function(e,t,r){var n=this.type,i=this.startNode(),a;switch(this.isLet(e)&&(n=I._var,a="let"),n){case I._break:case I._continue:return this.parseBreakContinueStatement(i,n.keyword);case I._debugger:return this.parseDebuggerStatement(i);case I._do:return this.parseDoStatement(i);case I._for:return this.parseForStatement(i);case I._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case I._class:return e&&this.unexpected(),this.parseClass(i,!0);case I._if:return this.parseIfStatement(i);case I._return:return this.parseReturnStatement(i);case I._switch:return this.parseSwitchStatement(i);case I._throw:return this.parseThrowStatement(i);case I._try:return this.parseTryStatement(i);case I._const:case I._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(i,a);case I._while:return this.parseWhileStatement(i);case I._with:return this.parseWithStatement(i);case I.braceL:return this.parseBlock(!0,i);case I.semi:return this.parseEmptyStatement(i);case I._export:case I._import:if(this.options.ecmaVersion>10&&n===I._import){Ft.lastIndex=this.pos;var s=Ft.exec(this.input),o=this.pos+s[0].length,l=this.input.charCodeAt(o);if(l===40||l===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===I._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var c=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(c)return t&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),c==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(i,!1,c),this.semicolon(),this.finishNode(i,"VariableDeclaration");var h=this.value,f=this.parseExpression();return n===I.name&&f.type==="Identifier"&&this.eat(I.colon)?this.parseLabeledStatement(i,h,f,e):this.parseExpressionStatement(i,f)}};ke.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(I.semi)||this.insertSemicolon()?e.label=null:this.type!==I.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};ke.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};ke.parseDoStatement=function(e){return this.next(),this.labels.push(Ol),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(I._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(I.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};ke.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ol),this.enterScope(0),this.expect(I.parenL),this.type===I.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===I._var||this.type===I._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),this.parseForAfterInit(e,n,t)}var a=this.isContextual("let"),s=!1,o=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(o){var l=this.startNode();return this.next(),o==="await using"&&this.next(),this.parseVar(l,!0,o),this.finishNode(l,"VariableDeclaration"),this.parseForAfterInit(e,l,t)}var c=this.containsEsc,h=new fu,f=this.start,g=t>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(!0,h);return this.type===I._in||(s=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===I._in&&this.unexpected(t),e.await=!0):s&&this.options.ecmaVersion>=8&&(g.start===f&&!c&&g.type==="Identifier"&&g.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&s&&this.raise(g.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(g,!1,h),this.checkLValPattern(g),this.parseForIn(e,g)):(this.checkExpressionErrors(h,!0),t>-1&&this.unexpected(t),this.parseFor(e,g))};ke.parseForAfterInit=function(e,t,r){return(this.type===I._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===I._in?r>-1&&this.unexpected(r):e.await=r>-1),this.parseForIn(e,t)):(r>-1&&this.unexpected(r),this.parseFor(e,t))};ke.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,aa|(r?0:Go),!1,t)};ke.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(I._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};ke.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(I.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};ke.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(I.braceL),this.labels.push(C6),this.enterScope(0);for(var t,r=!1;this.type!==I.braceR;)if(this.type===I._case||this.type===I._default){var n=this.type===I._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(I.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};ke.parseThrowStatement=function(e){return this.next(),rr.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var A6=[];ke.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Wd:0),this.checkLValPattern(e,t?Jd:vn),this.expect(I.parenR),e};ke.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===I._catch){var t=this.startNode();this.next(),this.eat(I.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(I._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};ke.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};ke.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ol),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};ke.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};ke.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};ke.parseLabeledStatement=function(e,t,r,n){for(var i=0,a=this.labels;i<a.length;i+=1){var s=a[i];s.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var o=this.type.isLoop?"loop":this.type===I._switch?"switch":null,l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};ke.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};ke.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(I.braceL),e&&this.enterScope(0);this.type!==I.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};ke.parseFor=function(e,t){return e.init=t,this.expect(I.semi),e.test=this.type===I.semi?null:this.parseExpression(),this.expect(I.semi),e.update=this.type===I.parenR?null:this.parseExpression(),this.expect(I.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};ke.parseForIn=function(e,t){var r=this.type===I._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(I.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};ke.parseVar=function(e,t,r,n){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(I.eq)?i.init=this.parseMaybeAssign(t):!n&&r==="const"&&!(this.type===I._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!n&&(r==="using"||r==="await using")&&this.options.ecmaVersion>=17&&this.type!==I._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+r+" declaration"):!n&&i.id.type!=="Identifier"&&!(t&&(this.type===I._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(I.comma))break}return e};ke.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Dl:vn,!1)};var aa=1,Go=2,Kd=4;ke.parseFunction=function(e,t,r,n,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===I.star&&t&Go&&this.unexpected(),e.generator=this.eat(I.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&aa&&(e.id=t&Kd&&this.type!==I.name?null:this.parseIdent(),e.id&&!(t&Go)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Dl:vn:Xd));var a=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Pl(e.async,e.generator)),t&aa||(e.id=this.type===I.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,t&aa?"FunctionDeclaration":"FunctionExpression")};ke.parseFunctionParams=function(e){this.expect(I.parenL),e.params=this.parseBindingList(I.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};ke.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),i=this.startNode(),a=!1;for(i.body=[],this.expect(I.braceL);this.type!==I.braceR;){var s=this.parseClassElement(e.superClass!==null);s&&(i.body.push(s),s.type==="MethodDefinition"&&s.kind==="constructor"?(a&&this.raiseRecoverable(s.start,"Duplicate constructor in the same class"),a=!0):s.key&&s.key.type==="PrivateIdentifier"&&I6(n,s)&&this.raiseRecoverable(s.key.start,"Identifier '#"+s.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};ke.parseClassElement=function(e){if(this.eat(I.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",i=!1,a=!1,s="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(I.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===I.star?o=!0:n="static"}if(r.static=o,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===I.star)&&!this.canInsertSemicolon()?a=!0:n="async"),!n&&(t>=9||!a)&&this.eat(I.star)&&(i=!0),!n&&!a&&!i){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=l:n=l)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===I.parenL||s!=="method"||i||a){var c=!r.static&&As(r,"constructor"),h=c&&e;c&&s!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":s,this.parseClassMethod(r,i,a,h)}else this.parseClassField(r);return r};ke.isClassElementNameStart=function(){return this.type===I.name||this.type===I.privateId||this.type===I.num||this.type===I.string||this.type===I.bracketL||this.type.keyword};ke.parseClassElementName=function(e){this.type===I.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};ke.parseClassMethod=function(e,t,r,n){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&As(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,n);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};ke.parseClassField=function(e){return As(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&As(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(I.eq)?(this.enterScope(La|cu),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};ke.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Zn|cu);this.type!==I.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};ke.parseClassId=function(e,t){this.type===I.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,vn,!1)):(t===!0&&this.unexpected(),e.id=null)};ke.parseClassSuper=function(e){e.superClass=this.eat(I._extends)?this.parseExprSubscripts(null,!1):null};ke.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};ke.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,i=n===0?null:this.privateNameStack[n-1],a=0;a<r.length;++a){var s=r[a];Ni(t,s.name)||(i?i.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}};function I6(e,t){var r=t.key.name,n=e[r],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),n==="iget"&&i==="iset"||n==="iset"&&i==="iget"||n==="sget"&&i==="sset"||n==="sset"&&i==="sget"?(e[r]="true",!1):n?!0:(e[r]=i,!1)}function As(e,t){var r=e.computed,n=e.key;return!r&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}ke.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==I.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};ke.parseExport=function(e,t){if(this.next(),this.eat(I.star))return this.parseExportAllDeclaration(e,t);if(this.eat(I._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==I.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,n=e.specifiers;r<n.length;r+=1){var i=n[r];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type==="Literal"&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};ke.parseExportDeclaration=function(e){return this.parseStatement(null)};ke.parseExportDefaultDeclaration=function(){var e;if(this.type===I._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,aa|Kd,!1,e)}else if(this.type===I._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var n=this.parseMaybeAssign();return this.semicolon(),n}};ke.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ni(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};ke.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var n=0,i=t.properties;n<i.length;n+=1){var a=i[n];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var s=0,o=t.elements;s<o.length;s+=1){var l=o[s];l&&this.checkPatternExport(e,l)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};ke.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}};ke.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};ke.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};ke.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(I.braceL);!this.eat(I.braceR);){if(r)r=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;t.push(this.parseExportSpecifier(e))}return t};ke.parseImport=function(e){return this.next(),this.type===I.string?(e.specifiers=A6,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===I.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};ke.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,vn),this.finishNode(e,"ImportSpecifier")};ke.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,vn),this.finishNode(e,"ImportDefaultSpecifier")};ke.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,vn),this.finishNode(e,"ImportNamespaceSpecifier")};ke.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===I.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(I.comma)))return e;if(this.type===I.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(I.braceL);!this.eat(I.braceR);){if(t)t=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;e.push(this.parseImportSpecifier())}return e};ke.parseWithClause=function(){var e=[];if(!this.eat(I._with))return e;this.expect(I.braceL);for(var t={},r=!0;!this.eat(I.braceR);){if(r)r=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;var n=this.parseImportAttribute(),i=n.key.type==="Identifier"?n.key.name:n.key.value;Ni(t,i)&&this.raiseRecoverable(n.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(n)}return e};ke.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===I.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(I.colon),this.type!==I.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};ke.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===I.string){var e=this.parseLiteral(this.value);return T6.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};ke.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};ke.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Cr=_t.prototype;Cr.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};Cr.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};Cr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};Cr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==I.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};Cr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case I.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(I.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case I.braceL:return this.parseObj(!0)}return this.parseIdent()};Cr.parseBindingList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(I.comma),t&&this.type===I.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===I.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),i.push(s),this.type===I.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(n))}return i};Cr.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};Cr.parseBindingListItem=function(e){return e};Cr.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(I.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")};Cr.checkLValSimple=function(e,t,r){t===void 0&&(t=Cs);var n=t!==Cs;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===vn&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ni(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==Qd&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};Cr.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=Cs),e.type){case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var s=0,o=e.elements;s<o.length;s+=1){var l=o[s];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}};Cr.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=Cs),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var Nr=function(t,r,n,i,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!n,this.override=i,this.generator=!!a},ut={b_stat:new Nr("{",!1),b_expr:new Nr("{",!0),b_tmpl:new Nr("${",!1),p_stat:new Nr("(",!1),p_expr:new Nr("(",!0),q_tmpl:new Nr("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Nr("function",!1),f_expr:new Nr("function",!0),f_expr_gen:new Nr("function",!0,!1,null,!0),f_gen:new Nr("function",!1,!1,null,!0)},Ri=_t.prototype;Ri.initialContext=function(){return[ut.b_stat]};Ri.curContext=function(){return this.context[this.context.length-1]};Ri.braceIsBlock=function(e){var t=this.curContext();return t===ut.f_expr||t===ut.f_stat?!0:e===I.colon&&(t===ut.b_stat||t===ut.b_expr)?!t.isExpr:e===I._return||e===I.name&&this.exprAllowed?rr.test(this.input.slice(this.lastTokEnd,this.start)):e===I._else||e===I.semi||e===I.eof||e===I.parenR||e===I.arrow?!0:e===I.braceL?t===ut.b_stat:e===I._var||e===I._const||e===I.name?!1:!this.exprAllowed};Ri.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Ri.updateContext=function(e){var t,r=this.type;r.keyword&&e===I.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};Ri.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};I.parenR.updateContext=I.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ut.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};I.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ut.b_stat:ut.b_expr),this.exprAllowed=!0};I.dollarBraceL.updateContext=function(){this.context.push(ut.b_tmpl),this.exprAllowed=!0};I.parenL.updateContext=function(e){var t=e===I._if||e===I._for||e===I._with||e===I._while;this.context.push(t?ut.p_stat:ut.p_expr),this.exprAllowed=!0};I.incDec.updateContext=function(){};I._function.updateContext=I._class.updateContext=function(e){e.beforeExpr&&e!==I._else&&!(e===I.semi&&this.curContext()!==ut.p_stat)&&!(e===I._return&&rr.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===I.colon||e===I.braceL)&&this.curContext()===ut.b_stat)?this.context.push(ut.f_expr):this.context.push(ut.f_stat),this.exprAllowed=!1};I.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};I.backQuote.updateContext=function(){this.curContext()===ut.q_tmpl?this.context.pop():this.context.push(ut.q_tmpl),this.exprAllowed=!1};I.star.updateContext=function(e){if(e===I._function){var t=this.context.length-1;this.context[t]===ut.f_expr?this.context[t]=ut.f_expr_gen:this.context[t]=ut.f_gen}this.exprAllowed=!0};I.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==I.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Le=_t.prototype;Le.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,i;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var s=t[i];if(s){var o;a==="init"?o=this.strict&&s.init||s.get||s.set:o=s.init||s[a],o&&this.raiseRecoverable(n.start,"Redefinition of property")}else s=t[i]={init:!1,get:!1,set:!1};s[a]=!0}};Le.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===I.comma){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(I.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i};Le.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,i=-1,a=-1,s=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,s=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new fu,n=!0);var o=this.start,l=this.startLoc;(this.type===I.parenL||this.type===I.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,o,l)),this.type.isAssign){var h=this.startNodeAt(o,l);return h.operator=this.value,this.type===I.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===I.eq?this.checkLValPattern(c):this.checkLValSimple(c),h.left=c,this.next(),h.right=this.parseMaybeAssign(e),s>-1&&(t.doubleProto=s),this.finishNode(h,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),c};Le.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(I.question)){var a=this.startNodeAt(r,n);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(I.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i};Le.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,n,-1,e)};Le.parseExprOp=function(e,t,r,n,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==I._in)&&a>n){var s=this.type===I.logicalOR||this.type===I.logicalAND,o=this.type===I.coalesce;o&&(a=I.logicalAND.binop);var l=this.value;this.next();var c=this.start,h=this.startLoc,f=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),c,h,a,i),g=this.buildBinary(t,r,e,f,l,s||o);return(s&&this.type===I.coalesce||o&&(this.type===I.logicalOR||this.type===I.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(g,t,r,n,i)}return e};Le.buildBinary=function(e,t,r,n,i,a){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");var s=this.startNodeAt(e,t);return s.left=r,s.operator=i,s.right=n,this.finishNode(s,a?"LogicalExpression":"BinaryExpression")};Le.parseMaybeUnary=function(e,t,r,n){var i=this.start,a=this.startLoc,s;if(this.isContextual("await")&&this.canAwait)s=this.parseAwait(n),t=!0;else if(this.type.prefix){var o=this.startNode(),l=this.type===I.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,l,n),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(o.argument):this.strict&&o.operator==="delete"&&Zd(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):o.operator==="delete"&&$o(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,s=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===I.privateId)(n||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),s=this.parsePrivateIdent(),this.type!==I._in&&this.unexpected();else{if(s=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return s;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(i,a);c.operator=this.value,c.prefix=!1,c.argument=s,this.checkLValSimple(s),this.next(),s=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(I.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,a,s,this.parseMaybeUnary(null,!1,!1,n),"**",!1);else return s};function Zd(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&Zd(e.expression)}function $o(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&$o(e.expression)||e.type==="ParenthesizedExpression"&&$o(e.expression)}Le.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var a=this.parseSubscripts(i,r,n,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};Le.parseSubscripts=function(e,t,r,n,i){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,s=!1;;){var o=this.parseSubscript(e,t,r,n,a,s,i);if(o.optional&&(s=!0),o===e||o.type==="ArrowFunctionExpression"){if(s){var l=this.startNodeAt(t,r);l.expression=o,o=this.finishNode(l,"ChainExpression")}return o}e=o}};Le.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(I.arrow)};Le.parseSubscriptAsyncArrow=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,n)};Le.parseSubscript=function(e,t,r,n,i,a,s){var o=this.options.ecmaVersion>=11,l=o&&this.eat(I.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(I.bracketL);if(c||l&&this.type!==I.parenL&&this.type!==I.backQuote||this.eat(I.dot)){var h=this.startNodeAt(t,r);h.object=e,c?(h.property=this.parseExpression(),this.expect(I.bracketR)):this.type===I.privateId&&e.type!=="Super"?h.property=this.parsePrivateIdent():h.property=this.parseIdent(this.options.allowReserved!=="never"),h.computed=!!c,o&&(h.optional=l),e=this.finishNode(h,"MemberExpression")}else if(!n&&this.eat(I.parenL)){var f=new fu,g=this.yieldPos,m=this.awaitPos,E=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var w=this.parseExprList(I.parenR,this.options.ecmaVersion>=8,!1,f);if(i&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=g,this.awaitPos=m,this.awaitIdentPos=E,this.parseSubscriptAsyncArrow(t,r,w,s);this.checkExpressionErrors(f,!0),this.yieldPos=g||this.yieldPos,this.awaitPos=m||this.awaitPos,this.awaitIdentPos=E||this.awaitIdentPos;var C=this.startNodeAt(t,r);C.callee=e,C.arguments=w,o&&(C.optional=l),e=this.finishNode(C,"CallExpression")}else if(this.type===I.backQuote){(l||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var T=this.startNodeAt(t,r);T.tag=e,T.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(T,"TaggedTemplateExpression")}return e};Le.parseExprAtom=function(e,t,r){this.type===I.slash&&this.readRegexp();var n,i=this.potentialArrowAt===this.start;switch(this.type){case I._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type===I.parenL&&!this.allowDirectSuper&&this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==I.dot&&this.type!==I.bracketL&&this.type!==I.parenL&&this.unexpected(),this.finishNode(n,"Super");case I._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case I.name:var a=this.start,s=this.startLoc,o=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(I._function))return this.overrideContext(ut.f_expr),this.parseFunction(this.startNodeAt(a,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(I.arrow))return this.parseArrowExpression(this.startNodeAt(a,s),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===I.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(I.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,s),[l],!0,t)}return l;case I.regexp:var c=this.value;return n=this.parseLiteral(c.value),n.regex={pattern:c.pattern,flags:c.flags},n;case I.num:case I.string:return this.parseLiteral(this.value);case I._null:case I._true:case I._false:return n=this.startNode(),n.value=this.type===I._null?null:this.type===I._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case I.parenL:var h=this.start,f=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(f)&&(e.parenthesizedAssign=h),e.parenthesizedBind<0&&(e.parenthesizedBind=h)),f;case I.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(I.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case I.braceL:return this.overrideContext(ut.b_expr),this.parseObj(!1,e);case I._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case I._class:return this.parseClass(this.startNode(),!1);case I._new:return this.parseNew();case I.backQuote:return this.parseTemplate();case I._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};Le.parseExprAtomDefault=function(){this.unexpected()};Le.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===I.parenL&&!e)return this.parseDynamicImport(t);if(this.type===I.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};Le.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(I.parenR)?e.options=null:(this.expect(I.comma),this.afterTrailingComma(I.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(I.parenR)||(this.expect(I.comma),this.afterTrailingComma(I.parenR)||this.unexpected())));else if(!this.eat(I.parenR)){var t=this.start;this.eat(I.comma)&&this.eat(I.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};Le.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};Le.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};Le.parseParenExpression=function(){this.expect(I.parenL);var e=this.parseExpression();return this.expect(I.parenR),e};Le.shouldParseArrow=function(e){return!this.canInsertSemicolon()};Le.parseParenAndDistinguishExpression=function(e,t){var r=this.start,n=this.startLoc,i,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,o=this.startLoc,l=[],c=!0,h=!1,f=new fu,g=this.yieldPos,m=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==I.parenR;)if(c?c=!1:this.expect(I.comma),a&&this.afterTrailingComma(I.parenR,!0)){h=!0;break}else if(this.type===I.ellipsis){E=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===I.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,f,this.parseParenItem));var w=this.lastTokEnd,C=this.lastTokEndLoc;if(this.expect(I.parenR),e&&this.shouldParseArrow(l)&&this.eat(I.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=g,this.awaitPos=m,this.parseParenArrowList(r,n,l,t);(!l.length||h)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(f,!0),this.yieldPos=g||this.yieldPos,this.awaitPos=m||this.awaitPos,l.length>1?(i=this.startNodeAt(s,o),i.expressions=l,this.finishNodeAt(i,"SequenceExpression",w,C)):i=l[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var T=this.startNodeAt(r,n);return T.expression=i,this.finishNode(T,"ParenthesizedExpression")}else return i};Le.parseParenItem=function(e){return e};Le.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var N6=[];Le.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===I.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,i,!0,!1),this.eat(I.parenL)?e.arguments=this.parseExprList(I.parenR,this.options.ecmaVersion>=8,!1):e.arguments=N6,this.finishNode(e,"NewExpression")};Le.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===I.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,`
32
+ `),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
33
+ `),cooked:this.value},this.next(),r.tail=this.type===I.backQuote,this.finishNode(r,"TemplateElement")};Le.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===I.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(I.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(I.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};Le.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===I.name||this.type===I.num||this.type===I.string||this.type===I.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===I.star)&&!rr.test(this.input.slice(this.lastTokEnd,this.start))};Le.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(I.braceR);){if(n)n=!1;else if(this.expect(I.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(I.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};Le.parseProperty=function(e,t){var r=this.startNode(),n,i,a,s;if(this.options.ecmaVersion>=9&&this.eat(I.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===I.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===I.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,s=this.startLoc),e||(n=this.eat(I.star)));var o=this.containsEsc;return this.parsePropertyName(r),!e&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(i=!0,n=this.options.ecmaVersion>=9&&this.eat(I.star),this.parsePropertyName(r)):i=!1,this.parsePropertyValue(r,e,n,i,a,s,t,o),this.finishNode(r,"Property")};Le.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var n=e.value.start;e.kind==="get"?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};Le.parsePropertyValue=function(e,t,r,n,i,a,s,o){(r||n)&&this.type===I.colon&&this.unexpected(),this.eat(I.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init"):this.options.ecmaVersion>=6&&this.type===I.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,n),e.kind="init"):!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==I.comma&&this.type!==I.braceR&&this.type!==I.eq?((r||n)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),t?e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key)):this.type===I.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};Le.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(I.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(I.bracketR),e.key;e.computed=!1}return e.key=this.type===I.num||this.type===I.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Le.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};Le.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Pl(t,n.generator)|cu|(r?Yd:0)),this.expect(I.parenL),n.params=this.parseBindingList(I.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(n,"FunctionExpression")};Le.parseArrowExpression=function(e,t,r,n){var i=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(Pl(r,!1)|Rl),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")};Le.parseFunctionBody=function(e,t,r,n){var i=t&&this.type!==I.braceL,a=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||o)&&(s=this.strictDirective(this.end),s&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!a&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,Qd),e.body=this.parseBlock(!1,void 0,s&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()};Le.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0};Le.checkParams=function(e,t){for(var r=Object.create(null),n=0,i=e.params;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,Dl,t?null:r)}};Le.parseExprList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(I.comma),t&&this.afterTrailingComma(e))break;var s=void 0;r&&this.type===I.comma?s=null:this.type===I.ellipsis?(s=this.parseSpread(n),n&&this.type===I.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):s=this.parseMaybeAssign(!1,n),i.push(s)}return i};Le.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&hu)&&n==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(n==="arguments"||n==="await")&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}};Le.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};Le.parseIdentNode=function(){var e=this.startNode();return this.type===I.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=I.name):this.unexpected(),e};Le.parsePrivateIdent=function(){var e=this.startNode();return this.type===I.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};Le.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===I.semi||this.canInsertSemicolon()||this.type!==I.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(I.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};Le.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Is=_t.prototype;Is.raise=function(e,t){var r=Gd(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n};Is.raiseRecoverable=Is.raise;Is.curPosition=function(){if(this.options.locations)return new xa(this.curLine,this.pos-this.lineStart)};var zn=_t.prototype,L6=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};zn.enterScope=function(e){this.scopeStack.push(new L6(e))};zn.exitScope=function(){this.scopeStack.pop()};zn.treatFunctionsAsVarInScope=function(e){return e.flags&Li||!this.inModule&&e.flags&ya};zn.declareName=function(e,t,r){var n=!1;if(t===vn){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&ya&&delete this.undefinedExports[e]}else if(t===Jd){var a=this.currentScope();a.lexical.push(e)}else if(t===Xd){var s=this.currentScope();this.treatFunctionsAsVar?n=s.lexical.indexOf(e)>-1:n=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&Wd&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){n=!0;break}if(l.var.push(e),this.inModule&&l.flags&ya&&delete this.undefinedExports[e],l.flags&hu)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};zn.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};zn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};zn.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(hu|La|Zn))return t}};zn.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(hu|La|Zn)&&!(t.flags&Rl))return t}};var du=function(t,r,n){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new lu(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Ra=_t.prototype;Ra.startNode=function(){return new du(this,this.start,this.startLoc)};Ra.startNodeAt=function(e,t){return new du(this,e,t)};function ep(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}Ra.finishNode=function(e,t){return ep.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Ra.finishNodeAt=function(e,t,r,n){return ep.call(this,e,t,r,n)};Ra.copyNode=function(e){var t=new du(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var R6="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",tp="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",rp=tp+" Extended_Pictographic",np=rp,ip=np+" EBase EComp EMod EPres ExtPict",ap=ip,P6=ap,D6={9:tp,10:rp,11:np,12:ip,13:ap,14:P6},O6="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",M6={9:"",10:"",11:"",12:"",13:"",14:O6},th="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",sp="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",up=sp+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",op=up+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",lp=op+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",cp=lp+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",B6=cp+" "+R6,F6={9:sp,10:up,11:op,12:lp,13:cp,14:B6},hp={};function H6(e){var t=hp[e]={binary:Ln(D6[e]+" "+th),binaryOfStrings:Ln(M6[e]),nonBinary:{General_Category:Ln(th),Script:Ln(F6[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Xu=0,rh=[9,10,11,12,13,14];Xu<rh.length;Xu+=1){var z6=rh[Xu];H6(z6)}var Ee=_t.prototype,Ns=function(t,r){this.parent=t,this.base=r||this};Ns.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var n=t;n;n=n.parent)if(r.base===n.base&&r!==n)return!0;return!1};Ns.prototype.sibling=function(){return new Ns(this.parent,this.base)};var Kr=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=hp[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Kr.prototype.reset=function(t,r,n){var i=n.indexOf("v")!==-1,a=n.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=n,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)};Kr.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Kr.prototype.at=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return-1;var a=n.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=i)return a;var s=n.charCodeAt(t+1);return s>=56320&&s<=57343?(a<<10)+s-56613888:a};Kr.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return i;var a=n.charCodeAt(t),s;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=i||(s=n.charCodeAt(t+1))<56320||s>57343?t+1:t+2};Kr.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Kr.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Kr.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Kr.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};Kr.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var n=this.pos,i=0,a=t;i<a.length;i+=1){var s=a[i],o=this.at(n,r);if(o===-1||o!==s)return!1;n=this.nextIndex(n,r)}return this.pos=n,!0};Ee.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=!1,i=!1,a=0;a<r.length;a++){var s=r.charAt(a);t.indexOf(s)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(s,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),s==="u"&&(n=!0),s==="v"&&(i=!0)}this.options.ecmaVersion>=15&&n&&i&&this.raise(e.start,"Invalid regular expression flag")};function U6(e){for(var t in e)return!0;return!1}Ee.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&U6(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};Ee.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}};Ee.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Ns(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};Ee.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};Ee.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};Ee.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};Ee.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};Ee.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Ee.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};Ee.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};Ee.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};Ee.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),n=e.eat(45);if(r||n){for(var i=0;i<r.length;i++){var a=r.charAt(i);r.indexOf(a,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(n){var s=this.regexp_eatModifiers(e);!r&&!s&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var o=0;o<s.length;o++){var l=s.charAt(o);(s.indexOf(l,o+1)>-1||r.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};Ee.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};Ee.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&V6(r);)t+=dn(r),e.advance();return t};function V6(e){return e===105||e===109||e===115}Ee.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Ee.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};Ee.regexp_eatSyntaxCharacter=function(e){var t=e.current();return fp(t)?(e.lastIntValue=t,e.advance(),!0):!1};function fp(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Ee.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!fp(r);)e.advance();return e.pos!==t};Ee.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};Ee.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var n=0,i=r;n<i.length;n+=1){var a=i[n];a.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};Ee.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};Ee.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=dn(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=dn(e.lastIntValue);return!0}return!1};Ee.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),q6(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function q6(e){return Xr(e,!0)||e===36||e===95}Ee.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),j6(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function j6(e){return Mn(e,!0)||e===36||e===95||e===8204||e===8205}Ee.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};Ee.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};Ee.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};Ee.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Ee.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};Ee.regexp_eatZero=function(e){return e.current()===48&&!pu(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};Ee.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};Ee.regexp_eatControlLetter=function(e){var t=e.current();return dp(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function dp(e){return e>=65&&e<=90||e>=97&&e<=122}Ee.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(i-55296)*1024+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&G6(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function G6(e){return e>=0&&e<=1114111}Ee.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};Ee.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var pp=0,pn=1,kr=2;Ee.regexp_eatCharacterClassEscape=function(e){var t=e.current();if($6(t))return e.lastIntValue=-1,e.advance(),pn;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var n;if(e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&n===kr&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return pp};function $6(e){return e===100||e===68||e===115||e===83||e===119||e===87}Ee.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),pn}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return pp};Ee.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ni(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};Ee.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return pn;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return kr;e.raise("Invalid property name")};Ee.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";mp(t=e.current());)e.lastStringValue+=dn(t),e.advance();return e.lastStringValue!==""};function mp(e){return dp(e)||e===95}Ee.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";W6(t=e.current());)e.lastStringValue+=dn(t),e.advance();return e.lastStringValue!==""};function W6(e){return mp(e)||pu(e)}Ee.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Ee.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===kr&&e.raise("Negated character class may contain strings"),!0}return!1};Ee.regexp_classContents=function(e){return e.current()===93?pn:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),pn)};Ee.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};Ee.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||xp(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1};Ee.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Ee.regexp_classSetExpression=function(e){var t=pn,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===kr&&(t=kr);for(var n=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==kr&&(t=pn);continue}e.raise("Invalid character in character class")}if(n!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===kr&&(t=kr)}};Ee.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return r!==-1&&n!==-1&&r>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};Ee.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?pn:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};Ee.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return r&&n===kr&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null};Ee.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};Ee.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===kr&&(t=kr);return t};Ee.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?pn:kr};Ee.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&Y6(r)||X6(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function Y6(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function X6(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}Ee.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return J6(t)?(e.lastIntValue=t,e.advance(),!0):!1};function J6(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}Ee.regexp_eatClassControlLetter=function(e){var t=e.current();return pu(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};Ee.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};Ee.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;pu(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function pu(e){return e>=48&&e<=57}Ee.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;gp(r=e.current());)e.lastIntValue=16*e.lastIntValue+bp(r),e.advance();return e.pos!==t};function gp(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function bp(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}Ee.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};Ee.regexp_eatOctalDigit=function(e){var t=e.current();return xp(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function xp(e){return e>=48&&e<=55}Ee.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!gp(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+bp(i),e.advance()}return!0};var Ml=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new lu(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},ze=_t.prototype;ze.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ml(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};ze.getToken=function(){return this.next(),new Ml(this)};typeof Symbol<"u"&&(ze[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===I.eof,value:t}}}});ze.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(I.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};ze.readToken=function(e){return Xr(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};ze.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};ze.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,i=t;(n=Vd(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};ze.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ii(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};ze.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&qd.test(String.fromCharCode(e)))++this.pos;else break e}}};ze.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};ze.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(I.ellipsis)):(++this.pos,this.finishToken(I.dot))};ze.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(I.assign,2):this.finishOp(I.slash,1)};ze.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?I.star:I.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=I.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(I.assign,r+1):this.finishOp(n,r)};ze.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(I.assign,3)}return this.finishOp(e===124?I.logicalOR:I.logicalAND,2)}return t===61?this.finishOp(I.assign,2):this.finishOp(e===124?I.bitwiseOR:I.bitwiseAND,1)};ze.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(I.assign,2):this.finishOp(I.bitwiseXOR,1)};ze.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||rr.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(I.incDec,2):t===61?this.finishOp(I.assign,2):this.finishOp(I.plusMin,1)};ze.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(I.assign,r+1):this.finishOp(I.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(I.relational,r))};ze.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(I.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(I.arrow)):this.finishOp(e===61?I.eq:I.prefix,1)};ze.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(I.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(I.assign,3)}return this.finishOp(I.coalesce,2)}}return this.finishOp(I.question,1)};ze.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Xr(t,!0)||t===92))return this.finishToken(I.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+dn(t)+"'")};ze.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(I.parenL);case 41:return++this.pos,this.finishToken(I.parenR);case 59:return++this.pos,this.finishToken(I.semi);case 44:return++this.pos,this.finishToken(I.comma);case 91:return++this.pos,this.finishToken(I.bracketL);case 93:return++this.pos,this.finishToken(I.bracketR);case 123:return++this.pos,this.finishToken(I.braceL);case 125:return++this.pos,this.finishToken(I.braceR);case 58:return++this.pos,this.finishToken(I.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(I.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(I.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+dn(e)+"'")};ze.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};ze.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(rr.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var a=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new Kr(this));o.reset(r,i,s),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var l=null;try{l=new RegExp(i,s)}catch{}return this.finishToken(I.regexp,{pattern:i,flags:s,value:l})};ze.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,s=0,o=0,l=0,c=t??1/0;l<c;++l,++this.pos){var h=this.input.charCodeAt(this.pos),f=void 0;if(n&&h===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),o===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),l===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=h;continue}if(h>=97?f=h-97+10:h>=65?f=h-65+10:h>=48&&h<=57?f=h-48:f=1/0,f>=e)break;o=h,s=s*e+f}return n&&o===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:s};function Q6(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function yp(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}ze.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=yp(this.input.slice(t,this.pos)),++this.pos):Xr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(I.num,r)};ze.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var i=yp(this.input.slice(t,this.pos));return++this.pos,Xr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(I.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Xr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=Q6(this.input.slice(t,this.pos),r);return this.finishToken(I.num,a)};ze.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};ze.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):n===8232||n===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Ii(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(I.string,t)};var vp={};ze.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===vp)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};ze.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw vp;this.raise(e,t)};ze.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===I.template||this.type===I.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(I.dollarBraceL)):(++this.pos,this.finishToken(I.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(I.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ii(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
34
+ `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};ze.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(I.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
35
+ `&&++this.pos;case`
36
+ `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};ze.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
37
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return dn(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return Ii(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};ze.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};ze.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(Mn(i,n))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?Xr:Mn)(s,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=dn(s),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};ze.readWord=function(){var e=this.readWord1(),t=I.name;return this.keywords.test(e)&&(t=Nl[e]),this.finishToken(t,e)};var K6="8.15.0";_t.acorn={Parser:_t,version:K6,defaultOptions:jo,Position:xa,SourceLocation:lu,getLineInfo:Gd,Node:du,TokenType:qe,tokTypes:I,keywordTypes:Nl,TokContext:Nr,tokContexts:ut,isIdentifierChar:Mn,isIdentifierStart:Xr,Token:Ml,isNewLine:Ii,lineBreak:rr,lineBreakG:v6,nonASCIIwhitespace:qd};const Ht=Un(/[A-Za-z]/),Ut=Un(/[\dA-Za-z]/),Z6=Un(/[#-'*+\--9=?A-Z^-~]/);function Ls(e){return e!==null&&(e<32||e===127)}const Wo=Un(/\d/),eb=Un(/[\dA-Fa-f]/),tb=Un(/[!-/:-@[-`{-~]/);function xe(e){return e!==null&&e<-2}function Ve(e){return e!==null&&(e<0||e===32)}function Re(e){return e===-2||e===-1||e===32}const mu=Un(new RegExp("\\p{P}|\\p{S}","u")),$t=Un(/\s/);function Un(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function De(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(l){return Re(l)?(e.enter(r),o(l)):t(l)}function o(l){return Re(l)&&a++<i?(e.consume(l),o):(e.exit(r),t(l))}}const rb={}.hasOwnProperty,nb=Symbol("continue"),Ju=Symbol("exit"),ib=Symbol("skip");function ab(e,t){let r,n;typeof t=="function"?r=t:t&&typeof t=="object"&&(t.enter&&(r=t.enter),t.leave&&(n=t.leave)),i(e,void 0,void 0,[])();function i(a,s,o,l){return Qu(a)&&(c.displayName="node ("+a.type+")"),c;function c(){const h=r?nh(r(a,s,o,l)):[];if(h[0]===Ju)return h;if(h[0]!==ib){let f;for(f in a)if(rb.call(a,f)&&a[f]&&typeof a[f]=="object"&&f!=="data"&&f!=="position"){const g=l.concat(a),m=a[f];if(Array.isArray(m)){const E=m;let w=0;for(;w>-1&&w<E.length;){const C=E[w];if(Qu(C)){const T=i(C,f,w,g)();if(T[0]===Ju)return T;w=typeof T[1]=="number"?T[1]:w+1}else w++}}else if(Qu(m)){const E=i(m,f,void 0,g)();if(E[0]===Ju)return E}}}return n?nh(n(a,s,o,l)):h}}}function nh(e){return Array.isArray(e)?e:typeof e=="number"?[nb,e]:[e]}function Qu(e){return!!(e&&typeof e=="object"&&"type"in e&&typeof e.type=="string"&&e.type.length>0)}function Ep(e,t){const r=t.prefix||"",n=t.suffix||"",i=Object.assign({},t.acornOptions),a=[],s=[],o=i.onComment,l=i.onToken;let c=!1,h,f;const g=Object.assign({},i,{onComment:a,preserveParens:!0});l&&(g.onToken=s);const m=sb(e,t.tokenTypes),E=m.value,w=r+E+n,C=t.expression&&ih(E);if(C&&!t.allowEmpty)throw new Xe("Unexpected empty expression",{place:A(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{h=t.expression&&!C?t.acorn.parseExpressionAt(w,0,g):t.acorn.parse(w,g)}catch(N){const H=N,P=A(H.pos);H.message=String(H.message).replace(/ \(\d+:\d+\)$/,""),H.pos=P.offset,H.loc={line:P.line,column:P.column-1},f=H,c=H.raisedAt>=r.length+E.length||H.message==="Unterminated comment"}if(h&&t.expression&&!C)if(ih(w.slice(h.end,w.length-n.length)))h={type:"Program",start:0,end:r.length+E.length,body:[{type:"ExpressionStatement",expression:h,start:0,end:r.length+E.length}],sourceType:"module",comments:[]};else{const N=A(h.end),H=new Error("Unexpected content after expression");H.pos=N.offset,H.loc={line:N.line,column:N.column-1},f=H,h=void 0}if(h){if(h.comments=a,ab(h,function(N,H,P,b){let R=b[b.length-1],j=H;N.type==="ParenthesizedExpression"&&R&&j&&(typeof P=="number"&&(R=R[j],j=P),R[j]=N.expression),T(N)}),Array.isArray(o))o.push(...a);else if(typeof o=="function")for(const N of a)o(N.type==="Block",N.value,N.start,N.end,N.loc.start,N.loc.end);for(const N of s)N.end<=r.length||N.start-r.length>=E.length||(T(N),Array.isArray(l)?l.push(N):l(N))}return{estree:h,error:f,swallow:c};function T(N){const H=A(N.start),P=A(N.end);N.start=H.offset,N.end=P.offset,N.loc={start:{line:H.line,column:H.column-1,offset:H.offset},end:{line:P.line,column:P.column-1,offset:P.offset}},N.range=[N.start,N.end]}function A(N){let H=N-r.length;H<0?H=0:H>E.length&&(H=E.length);let P=ub(m.stops,H);return P||(P={line:t.start.line,column:t.start.column,offset:t.start.offset}),P}}function ih(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function sb(e,t){const r={value:"",stops:[]};let n=-1;for(;++n<e.length;){const i=e[n];if(i[0]==="enter"){const a=i[1].type;if(a==="lineEnding"||t.includes(a)){const s=i[2].sliceStream(i[1]);for(;s.length>0&&s[0]===-1;)s.shift();const o=ob(s);r.stops.push([r.value.length,i[1].start]),r.value+=o,r.stops.push([r.value.length,i[1].end])}}}return r}function ub(e,t){let r=0;for(;r<e.length&&e[r][0]<=t;)r+=1;if(r===0)return;const[n,i]=e[r-1],a=t-n;return{line:i.line,column:i.column+a,offset:i.offset+a}}function ob(e){let t=-1;const r=[];let n;for(;++t<e.length;){const i=e[t];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
38
+ `;break}case-3:{a=`\r
39
+ `;break}case-2:{a=" ";break}case-1:{if(n)continue;a=" ";break}default:a=String.fromCharCode(i)}n=i===-2,r.push(a)}return r.join("")}function cn(e){const t=e||{},r=t.loc||{},n=t.range||[void 0,void 0],i=ah(r.start,n[0]||t.start),a=ah(r.end,n[1]||t.end);if(i&&a)return{start:i,end:a}}function ah(e,t){if(e&&typeof e=="object"){const r="line"in e?Ku(e.line):void 0,n="column"in e?Ku(e.column):void 0;if(r&&n!==void 0)return{line:r,column:n+1,offset:Ku(t)}}}function Ku(e){return typeof e=="number"&&e>-1?e:void 0}const lb=2,di="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",cb="#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",hb="#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",sh="#unexpected-type-in-code-expected-an-object-spread-spread",fb="#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",db="#could-not-parse-expression-with-acorn";function Rs(e,t,r,n,i,a,s,o,l,c,h){const f=this,g=this.events.length+3;let m=0,E,w;return C;function C(H){return e.enter(r),e.enter(n),e.consume(H),e.exit(n),E=f.now(),T}function T(H){if(H===null){if(w)throw w;const P=new Xe("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:f.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw P.url=di+cb,P}if(xe(H))return e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),N;if(H===125&&m===0){const P=a?pb.call(f,a,s,i,g,E,c||!1,l||!1):{type:"ok",estree:void 0};if(P.type==="ok"){e.enter(n),e.consume(H),e.exit(n);const b=e.exit(r);return o&&P.estree&&Object.assign(b,{estree:P.estree}),t}return w=P.message,e.enter(i),e.consume(H),A}return e.enter(i),A(H)}function A(H){return H===125&&m===0||H===null||xe(H)?(e.exit(i),T(H)):(H===123&&!a?m+=1:H===125&&(m-=1),e.consume(H),A)}function N(H){const P=f.now();if(P.line!==E.line&&!h&&f.parser.lazy[P.line]){const b=new Xe("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:f.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw b.url=di+hb,b}return Re(H)?De(e,T,"linePrefix",lb+1)(H):T(H)}}function pb(e,t,r,n,i,a,s){const o=Ep(this.events.slice(n),{acorn:e,tokenTypes:[r],acornOptions:t,start:i,expression:!0,allowEmpty:a,prefix:s?"({":"",suffix:s?"})":""}),l=o.estree;if(s&&l){const c=l.body[0];if(c.type!=="ExpressionStatement"||c.expression.type!=="ObjectExpression"){const h=cn(c),f=new Xe("Unexpected `"+c.type+"` in code: expected an object spread (`{...spread}`)",{place:h.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw f.url=di+sh,f}if(c.expression.properties[1]){const h=cn(c.expression.properties[1]),f=new Xe("Unexpected extra content in spread: only a single spread is supported",{place:h.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw f.url=di+fb,f}if(c.expression.properties[0]&&c.expression.properties[0].type!=="SpreadElement"){const h=cn(c.expression.properties[0]),f=new Xe("Unexpected `"+c.expression.properties[0].type+"` in code: only spread elements are supported",{place:h.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw f.url=di+sh,f}}if(o.error){const c=new Xe("Could not parse expression with acorn",{cause:o.error,place:{line:o.error.loc.line,column:o.error.loc.column+1,offset:o.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return c.url=di+db,{type:"nok",message:c}}return{type:"ok",estree:l}}function mb(e){const t=e||{},r=t.addResult,n=t.acorn,i=t.spread;let a=t.allowEmpty,s;if(a==null&&(a=!0),n){if(!n.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");s=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions)}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{123:{name:"mdxFlowExpression",tokenize:o,concrete:!0}},text:{123:{name:"mdxTextExpression",tokenize:l}}};function o(c,h,f){const g=this;return m;function m(T){return E(T)}function E(T){return Rs.call(g,c,w,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",n,s,r,i,a)(T)}function w(T){return Re(T)?De(c,C,"whitespace")(T):C(T)}function C(T){const A=g.parser.constructs.flow[60],H=(Array.isArray(A)?A:A?[A]:[]).find(function(P){return P.name==="mdxJsxFlowTag"});return T===60&&H?c.attempt(H,C,f)(T):T===null||xe(T)?h(T):f(T)}}function l(c,h){const f=this;return g;function g(m){return Rs.call(f,c,h,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",n,s,r,i,a,!0)(m)}}}const uh="https://github.com/micromark/micromark-extension-mdx-jsx";function kp(e,t,r,n,i,a,s,o,l,c,h,f,g,m,E,w,C,T,A,N,H,P,b,R,j,Y,G,re,Q,oe,se,ie){const Te=this;let we,Be;return Ge;function Ge(D){return e.enter(o),e.enter(l),e.consume(D),e.exit(l),V}function V(D){return Ve(D)?r(D):(we=Qe,tt(D))}function Qe(D){if(D===47)return e.enter(c),e.consume(D),e.exit(c),we=We,tt;if(D===62)return Ot(D);if(D!==null&&D>=0&&Ir(D))return e.enter(f),e.enter(g),e.consume(D),q;te(D,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(D===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function We(D){if(D===62)return Ot(D);if(D!==null&&D>=0&&Ir(D))return e.enter(f),e.enter(g),e.consume(D),q;te(D,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(D===42||D===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function q(D){if(D!==null&&D>=0&&Gi(D,{jsx:!0}))return e.consume(D),q;if(D===46||D===47||D===58||D===62||D===123||Ve(D)||$t(D))return e.exit(g),we=dt,tt(D);te(D,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(D===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function dt(D){if(D===46)return e.enter(m),e.consume(D),e.exit(m),we=ht,tt;if(D===58)return e.enter(w),e.consume(D),e.exit(w),we=vt,tt;if(D===47||D===62||D===123||D!==null&&D>=0&&Ir(D))return e.exit(f),Et(D);te(D,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function ht(D){if(D!==null&&D>=0&&Ir(D))return e.enter(E),e.consume(D),et;te(D,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function et(D){if(D!==null&&D>=0&&Gi(D,{jsx:!0}))return e.consume(D),et;if(D===46||D===47||D===62||D===123||Ve(D)||$t(D))return e.exit(E),we=Pt,tt(D);te(D,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(D===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Pt(D){if(D===46)return e.enter(m),e.consume(D),e.exit(m),we=ht,tt;if(D===47||D===62||D===123||D!==null&&D>=0&&Ir(D))return e.exit(f),Et(D);te(D,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function vt(D){if(D!==null&&D>=0&&Ir(D))return e.enter(C),e.consume(D),gt;te(D,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(D===43||D!==null&&D>46&&D<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function gt(D){if(D!==null&&D>=0&&Gi(D,{jsx:!0}))return e.consume(D),gt;if(D===47||D===62||D===123||Ve(D)||$t(D))return e.exit(C),we=bt,tt(D);te(D,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function bt(D){if(D===47||D===62||D===123||D!==null&&D>=0&&Ir(D))return e.exit(f),Et(D);te(D,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Et(D){if(D===47)return e.enter(h),e.consume(D),e.exit(h),we=qn,tt;if(D===62)return Ot(D);if(D===123)return Rs.call(Te,e,Tn,T,A,N,n,i,a,!0,!1,s)(D);if(D!==null&&D>=0&&Ir(D))return e.enter(H),e.enter(P),e.enter(b),e.consume(D),Or;te(D,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Tn(D){return we=Et,tt(D)}function Or(D){if(D!==null&&D>=0&&Gi(D,{jsx:!0}))return e.consume(D),Or;if(D===47||D===58||D===61||D===62||D===123||Ve(D)||$t(D))return e.exit(b),we=Mr,tt(D);te(D,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Mr(D){if(D===58)return e.enter(R),e.consume(D),e.exit(R),we=hr,tt;if(D===61)return e.exit(P),e.enter(Y),e.consume(D),e.exit(Y),we=qt,tt;if(D===47||D===62||D===123||Ve(D)||$t(D)||D!==null&&D>=0&&Ir(D))return e.exit(P),e.exit(H),we=Et,tt(D);te(D,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function hr(D){if(D!==null&&D>=0&&Ir(D))return e.enter(j),e.consume(D),Ar;te(D,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Ar(D){if(D!==null&&D>=0&&Gi(D,{jsx:!0}))return e.consume(D),Ar;if(D===47||D===61||D===62||D===123||Ve(D)||$t(D))return e.exit(j),e.exit(P),we=Dt,tt(D);te(D,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Dt(D){if(D===61)return e.enter(Y),e.consume(D),e.exit(Y),we=qt,tt;if(D===47||D===62||D===123||D!==null&&D>=0&&Ir(D))return e.exit(H),Et(D);te(D,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function qt(D){if(D===34||D===39)return e.enter(G),e.enter(re),e.consume(D),e.exit(re),Be=D,Br;if(D===123)return Rs.call(Te,e,Jt,oe,se,ie,n,i,a,!1,!1,s)(D);te(D,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(D===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function Jt(D){return e.exit(H),we=Et,tt(D)}function Br(D){return D===null&&te(D,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(Be)+"`"),D===Be?(e.enter(re),e.consume(D),e.exit(re),e.exit(G),e.exit(H),Be=void 0,we=Et,tt):xe(D)?(we=Br,tt(D)):(e.enter(Q),nn(D))}function nn(D){return D===null||D===Be||xe(D)?(e.exit(Q),Br(D)):(e.consume(D),nn)}function qn(D){if(D===62)return Ot(D);te(D,"after self-closing slash","`>` to end the tag"+(D===42||D===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function Ot(D){return e.enter(l),e.consume(D),e.exit(l),e.exit(o),t}function tt(D){return xe(D)?(e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),ee):Re(D)||$t(D)?(e.enter("esWhitespace"),jn(D)):we(D)}function jn(D){return xe(D)?(e.exit("esWhitespace"),tt(D)):Re(D)||$t(D)?(e.consume(D),jn):(e.exit("esWhitespace"),we(D))}function ee(D){if(!s&&Te.parser.lazy[Te.now().line]){const Se=new Xe("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",Te.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw Se.url=uh+"#unexpected-lazy-line-in-container-expected-line-to-be",Se}return tt(D)}function te(D,Se,Ye){const kt=new Xe("Unexpected "+(D===null?"end of file":"character `"+(D===96?"` ` `":String.fromCodePoint(D))+"` ("+gb(D)+")")+" "+Se+", expected "+Ye,Te.now(),"micromark-extension-mdx-jsx:unexpected-"+(D===null?"eof":"character"));throw kt.url=uh+(D===null?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),kt}}function gb(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function bb(e,t){return{name:"mdxJsxTextTag",tokenize:r};function r(n,i,a){return kp.call(this,n,i,a,e,t.acornOptions,t.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}function xb(e,t){return{concrete:!0,name:"mdxJsxFlowTag",tokenize:r};function r(n,i,a){const s=this;return o;function o(f){return l(f)}function l(f){return kp.call(s,n,c,a,e,t.acornOptions,t.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(f)}function c(f){return Re(f)?De(n,h,"whitespace")(f):h(f)}function h(f){const g=s.parser.constructs.flow[123],m=Array.isArray(g)?g:g?[g]:[];let E;for(const w of m)if(w.name==="mdxFlowExpression"){E=w;break}return f===60?o(f):f===123&&E?n.attempt(E,h,a)(f):f===null||xe(f)?i(f):a(f)}}}function yb(e){const t=e||{},r=t.acorn;let n;if(r){if(!r.parse||!r.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");n=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions,{locations:!0})}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:xb(r||void 0,{acornOptions:n,addResult:t.addResult||void 0})},text:{60:bb(r||void 0,{acornOptions:n,addResult:t.addResult||void 0})}}}function vb(){return{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}}function or(e,t,r,n){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);a<n.length;)s=n.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function yr(e,t){return e.length>0?(or(e,e.length,0,t),e):t}function ki(e){if(e===null||Ve(e)||$t(e))return 1;if(mu(e))return 2}function gu(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const Yo={name:"attention",resolveAll:Eb,tokenize:kb};function Eb(e,t){let r=-1,n,i,a,s,o,l,c,h;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const f={...e[n][1].end},g={...e[r][1].start};oh(f,-l),oh(g,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:g},a={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:l>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},e[n][1].end={...s.start},e[r][1].start={...o.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=yr(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=yr(c,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),c=yr(c,gu(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),c=yr(c,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(h=2,c=yr(c,[["enter",e[r][1],t],["exit",e[r][1],t]])):h=0,or(e,n-1,r-n+3,c),r=n+c.length-h-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function kb(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=ki(n);let a;return s;function s(l){return a=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===a)return e.consume(l),o;const c=e.exit("attentionSequence"),h=ki(l),f=!h||h===2&&i||r.includes(l),g=!i||i===2&&h||r.includes(n);return c._open=!!(a===42?f:f&&(i||!g)),c._close=!!(a===42?g:g&&(h||!f)),t(l)}}function oh(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Tb={name:"autolink",tokenize:wb};function wb(e,t,r){let n=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return Ht(m)?(e.consume(m),s):m===64?r(m):c(m)}function s(m){return m===43||m===45||m===46||Ut(m)?(n=1,o(m)):c(m)}function o(m){return m===58?(e.consume(m),n=0,l):(m===43||m===45||m===46||Ut(m))&&n++<32?(e.consume(m),o):(n=0,c(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||Ls(m)?r(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),h):Z6(m)?(e.consume(m),c):r(m)}function h(m){return Ut(m)?f(m):r(m)}function f(m){return m===46?(e.consume(m),n=0,h):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Ut(m))&&n++<63){const E=m===45?g:f;return e.consume(m),E}return r(m)}}const Pi={partial:!0,tokenize:Sb};function Sb(e,t,r){return n;function n(a){return Re(a)?De(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||xe(a)?t(a):r(a)}}const Tp={continuation:{tokenize:Cb},exit:Ab,name:"blockQuote",tokenize:_b};function _b(e,t,r){const n=this;return i;function i(s){if(s===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return r(s)}function a(s){return Re(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Cb(e,t,r){const n=this;return i;function i(s){return Re(s)?De(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Tp,t,r)(s)}}function Ab(e){e.exit("blockQuote")}const wp={name:"characterEscape",tokenize:Ib};function Ib(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return tb(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const Sp={name:"characterReference",tokenize:Nb};function Nb(e,t,r){const n=this;let i=0,a,s;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"),a=31,s=Ut,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=eb,h):(e.enter("characterReferenceValue"),a=7,s=Wo,h(f))}function h(f){if(f===59&&i){const g=e.exit("characterReferenceValue");return s===Ut&&!ba(n.sliceSerialize(g))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<a?(e.consume(f),h):r(f)}}const lh={partial:!0,tokenize:Rb},ch={concrete:!0,name:"codeFenced",tokenize:Lb};function Lb(e,t,r){const n=this,i={partial:!0,tokenize:P};let a=0,s=0,o;return l;function l(b){return c(b)}function c(b){const R=n.events[n.events.length-1];return a=R&&R[1].type==="linePrefix"?R[2].sliceSerialize(R[1],!0).length:0,o=b,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(b)}function h(b){return b===o?(s++,e.consume(b),h):s<3?r(b):(e.exit("codeFencedFenceSequence"),Re(b)?De(e,f,"whitespace")(b):f(b))}function f(b){return b===null||xe(b)?(e.exit("codeFencedFence"),n.interrupt?t(b):e.check(lh,w,H)(b)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===null||xe(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(b)):Re(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),De(e,m,"whitespace")(b)):b===96&&b===o?r(b):(e.consume(b),g)}function m(b){return b===null||xe(b)?f(b):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(b))}function E(b){return b===null||xe(b)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(b)):b===96&&b===o?r(b):(e.consume(b),E)}function w(b){return e.attempt(i,H,C)(b)}function C(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),T}function T(b){return a>0&&Re(b)?De(e,A,"linePrefix",a+1)(b):A(b)}function A(b){return b===null||xe(b)?e.check(lh,w,H)(b):(e.enter("codeFlowValue"),N(b))}function N(b){return b===null||xe(b)?(e.exit("codeFlowValue"),A(b)):(e.consume(b),N)}function H(b){return e.exit("codeFenced"),t(b)}function P(b,R,j){let Y=0;return G;function G(ie){return b.enter("lineEnding"),b.consume(ie),b.exit("lineEnding"),re}function re(ie){return b.enter("codeFencedFence"),Re(ie)?De(b,Q,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ie):Q(ie)}function Q(ie){return ie===o?(b.enter("codeFencedFenceSequence"),oe(ie)):j(ie)}function oe(ie){return ie===o?(Y++,b.consume(ie),oe):Y>=s?(b.exit("codeFencedFenceSequence"),Re(ie)?De(b,se,"whitespace")(ie):se(ie)):j(ie)}function se(ie){return ie===null||xe(ie)?(b.exit("codeFencedFence"),R(ie)):j(ie)}}}function Rb(e,t,r){const n=this;return i;function i(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const Zu={name:"codeIndented",tokenize:Db},Pb={partial:!0,tokenize:Ob};function Db(e,t,r){const n=this;return i;function i(c){return e.enter("codeIndented"),De(e,a,"linePrefix",5)(c)}function a(c){const h=n.events[n.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?s(c):r(c)}function s(c){return c===null?l(c):xe(c)?e.attempt(Pb,s,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||xe(c)?(e.exit("codeFlowValue"),s(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Ob(e,t,r){const n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):De(e,a,"linePrefix",5)(s)}function a(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):xe(s)?i(s):r(s)}}const Mb={name:"codeText",previous:Fb,resolve:Bb,tokenize:Hb};function Bb(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function Fb(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Hb(e,t,r){let n=0,i,a;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),n++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(a=e.enter("codeTextSequence"),i=0,h(f)):xe(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||xe(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),i++,h):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",c(f))}}class zb{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,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const i=r||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Yi(this.left,n),a.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),Yi(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Yi(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 r=this.left.splice(t,Number.POSITIVE_INFINITY);Yi(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Yi(this.left,r.reverse())}}}function Yi(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function _p(e){const t={};let r=-1,n,i,a,s,o,l,c;const h=new zb(e);for(;++r<h.length;){for(;r in t;)r=t[r];if(n=h.get(r),r&&n[1].type==="chunkFlow"&&h.get(r-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Ub(h,r)),r=t[r],c=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(s=h.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(n[1].end={...h.get(i)[1].start},o=h.slice(i,r),o.unshift(n),h.splice(i,r-i+1,o))}}return or(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function Ub(e,t){const r=e.get(t)[1],n=e.get(t)[2];let i=t-1;const a=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,l=[],c={};let h,f,g=-1,m=r,E=0,w=0;const C=[w];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(h=n.sliceStream(m),m.next||h.push(null),f&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(h),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=r;++g<o.length;)o[g][0]==="exit"&&o[g-1][0]==="enter"&&o[g][1].type===o[g-1][1].type&&o[g][1].start.line!==o[g][1].end.line&&(w=g+1,C.push(w),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):C.pop(),g=C.length;g--;){const T=o.slice(C[g],C[g+1]),A=a.pop();l.push([A,A+T.length-1]),e.splice(A,2,T)}for(l.reverse(),g=-1;++g<l.length;)c[E+l[g][0]]=E+l[g][1],E+=l[g][1]-l[g][0]-1;return c}const Vb={resolve:jb,tokenize:Gb},qb={partial:!0,tokenize:$b};function jb(e){return _p(e),e}function Gb(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):xe(o)?e.check(qb,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function $b(e,t,r){const n=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),De(e,a,"linePrefix")}function a(s){if(s===null||xe(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function Cp(e,t,r,n,i,a,s,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(T){return T===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(T),e.exit(a),g):T===null||T===32||T===41||Ls(T)?r(T):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),w(T))}function g(T){return T===62?(e.enter(a),e.consume(T),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===62?(e.exit("chunkString"),e.exit(o),g(T)):T===null||T===60||xe(T)?r(T):(e.consume(T),T===92?E:m)}function E(T){return T===60||T===62||T===92?(e.consume(T),m):m(T)}function w(T){return!h&&(T===null||T===41||Ve(T))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(T)):h<c&&T===40?(e.consume(T),h++,w):T===41?(e.consume(T),h--,w):T===null||T===32||T===40||Ls(T)?r(T):(e.consume(T),T===92?C:w)}function C(T){return T===40||T===41||T===92?(e.consume(T),w):w(T)}}function Ap(e,t,r,n,i,a){const s=this;let o=0,l;return c;function c(m){return e.enter(n),e.enter(i),e.consume(m),e.exit(i),e.enter(a),h}function h(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(n),t):xe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||xe(m)||o++>999?(e.exit("chunkString"),h(m)):(e.consume(m),l||(l=!Re(m)),m===92?g:f)}function g(m){return m===91||m===92||m===93?(e.consume(m),o++,f):f(m)}}function Ip(e,t,r,n,i,a){let s;return o;function o(g){return g===34||g===39||g===40?(e.enter(n),e.enter(i),e.consume(g),e.exit(i),s=g===40?41:g,l):r(g)}function l(g){return g===s?(e.enter(i),e.consume(g),e.exit(i),e.exit(n),t):(e.enter(a),c(g))}function c(g){return g===s?(e.exit(a),l(s)):g===null?r(g):xe(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),De(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(g))}function h(g){return g===s||g===null||xe(g)?(e.exit("chunkString"),c(g)):(e.consume(g),g===92?f:h)}function f(g){return g===s||g===92?(e.consume(g),h):h(g)}}function sa(e,t){let r;return n;function n(i){return xe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):Re(i)?De(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function Pr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Wb={name:"definition",tokenize:Xb},Yb={partial:!0,tokenize:Jb};function Xb(e,t,r){const n=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return Ap.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return i=Pr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):r(m)}function l(m){return Ve(m)?sa(e,c)(m):c(m)}function c(m){return Cp(e,h,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(Yb,f,f)(m)}function f(m){return Re(m)?De(e,g,"whitespace")(m):g(m)}function g(m){return m===null||xe(m)?(e.exit("definition"),n.parser.defined.push(i),t(m)):r(m)}}function Jb(e,t,r){return n;function n(o){return Ve(o)?sa(e,i)(o):r(o)}function i(o){return Ip(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return Re(o)?De(e,s,"whitespace")(o):s(o)}function s(o){return o===null||xe(o)?t(o):r(o)}}const Qb={name:"hardBreakEscape",tokenize:Kb};function Kb(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return xe(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const Zb={name:"headingAtx",resolve:e5,tokenize:t5};function e5(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},or(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function t5(e,t,r){let n=0;return i;function i(h){return e.enter("atxHeading"),a(h)}function a(h){return e.enter("atxHeadingSequence"),s(h)}function s(h){return h===35&&n++<6?(e.consume(h),s):h===null||Ve(h)?(e.exit("atxHeadingSequence"),o(h)):r(h)}function o(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||xe(h)?(e.exit("atxHeading"),t(h)):Re(h)?De(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||Ve(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const r5=["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"],hh=["pre","script","style","textarea"],n5={concrete:!0,name:"htmlFlow",resolveTo:s5,tokenize:u5},i5={partial:!0,tokenize:l5},a5={partial:!0,tokenize:o5};function s5(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 u5(e,t,r){const n=this;let i,a,s,o,l;return c;function c(q){return h(q)}function h(q){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(q),f}function f(q){return q===33?(e.consume(q),g):q===47?(e.consume(q),a=!0,w):q===63?(e.consume(q),i=3,n.interrupt?t:V):Ht(q)?(e.consume(q),s=String.fromCharCode(q),C):r(q)}function g(q){return q===45?(e.consume(q),i=2,m):q===91?(e.consume(q),i=5,o=0,E):Ht(q)?(e.consume(q),i=4,n.interrupt?t:V):r(q)}function m(q){return q===45?(e.consume(q),n.interrupt?t:V):r(q)}function E(q){const dt="CDATA[";return q===dt.charCodeAt(o++)?(e.consume(q),o===dt.length?n.interrupt?t:Q:E):r(q)}function w(q){return Ht(q)?(e.consume(q),s=String.fromCharCode(q),C):r(q)}function C(q){if(q===null||q===47||q===62||Ve(q)){const dt=q===47,ht=s.toLowerCase();return!dt&&!a&&hh.includes(ht)?(i=1,n.interrupt?t(q):Q(q)):r5.includes(s.toLowerCase())?(i=6,dt?(e.consume(q),T):n.interrupt?t(q):Q(q)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(q):a?A(q):N(q))}return q===45||Ut(q)?(e.consume(q),s+=String.fromCharCode(q),C):r(q)}function T(q){return q===62?(e.consume(q),n.interrupt?t:Q):r(q)}function A(q){return Re(q)?(e.consume(q),A):G(q)}function N(q){return q===47?(e.consume(q),G):q===58||q===95||Ht(q)?(e.consume(q),H):Re(q)?(e.consume(q),N):G(q)}function H(q){return q===45||q===46||q===58||q===95||Ut(q)?(e.consume(q),H):P(q)}function P(q){return q===61?(e.consume(q),b):Re(q)?(e.consume(q),P):N(q)}function b(q){return q===null||q===60||q===61||q===62||q===96?r(q):q===34||q===39?(e.consume(q),l=q,R):Re(q)?(e.consume(q),b):j(q)}function R(q){return q===l?(e.consume(q),l=null,Y):q===null||xe(q)?r(q):(e.consume(q),R)}function j(q){return q===null||q===34||q===39||q===47||q===60||q===61||q===62||q===96||Ve(q)?P(q):(e.consume(q),j)}function Y(q){return q===47||q===62||Re(q)?N(q):r(q)}function G(q){return q===62?(e.consume(q),re):r(q)}function re(q){return q===null||xe(q)?Q(q):Re(q)?(e.consume(q),re):r(q)}function Q(q){return q===45&&i===2?(e.consume(q),Te):q===60&&i===1?(e.consume(q),we):q===62&&i===4?(e.consume(q),Qe):q===63&&i===3?(e.consume(q),V):q===93&&i===5?(e.consume(q),Ge):xe(q)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(i5,We,oe)(q)):q===null||xe(q)?(e.exit("htmlFlowData"),oe(q)):(e.consume(q),Q)}function oe(q){return e.check(a5,se,We)(q)}function se(q){return e.enter("lineEnding"),e.consume(q),e.exit("lineEnding"),ie}function ie(q){return q===null||xe(q)?oe(q):(e.enter("htmlFlowData"),Q(q))}function Te(q){return q===45?(e.consume(q),V):Q(q)}function we(q){return q===47?(e.consume(q),s="",Be):Q(q)}function Be(q){if(q===62){const dt=s.toLowerCase();return hh.includes(dt)?(e.consume(q),Qe):Q(q)}return Ht(q)&&s.length<8?(e.consume(q),s+=String.fromCharCode(q),Be):Q(q)}function Ge(q){return q===93?(e.consume(q),V):Q(q)}function V(q){return q===62?(e.consume(q),Qe):q===45&&i===2?(e.consume(q),V):Q(q)}function Qe(q){return q===null||xe(q)?(e.exit("htmlFlowData"),We(q)):(e.consume(q),Qe)}function We(q){return e.exit("htmlFlow"),t(q)}}function o5(e,t,r){const n=this;return i;function i(s){return xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):r(s)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function l5(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Pi,t,r)}}const c5={name:"htmlText",tokenize:h5};function h5(e,t,r){const n=this;let i,a,s;return o;function o(V){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(V),l}function l(V){return V===33?(e.consume(V),c):V===47?(e.consume(V),P):V===63?(e.consume(V),N):Ht(V)?(e.consume(V),j):r(V)}function c(V){return V===45?(e.consume(V),h):V===91?(e.consume(V),a=0,E):Ht(V)?(e.consume(V),A):r(V)}function h(V){return V===45?(e.consume(V),m):r(V)}function f(V){return V===null?r(V):V===45?(e.consume(V),g):xe(V)?(s=f,we(V)):(e.consume(V),f)}function g(V){return V===45?(e.consume(V),m):f(V)}function m(V){return V===62?Te(V):V===45?g(V):f(V)}function E(V){const Qe="CDATA[";return V===Qe.charCodeAt(a++)?(e.consume(V),a===Qe.length?w:E):r(V)}function w(V){return V===null?r(V):V===93?(e.consume(V),C):xe(V)?(s=w,we(V)):(e.consume(V),w)}function C(V){return V===93?(e.consume(V),T):w(V)}function T(V){return V===62?Te(V):V===93?(e.consume(V),T):w(V)}function A(V){return V===null||V===62?Te(V):xe(V)?(s=A,we(V)):(e.consume(V),A)}function N(V){return V===null?r(V):V===63?(e.consume(V),H):xe(V)?(s=N,we(V)):(e.consume(V),N)}function H(V){return V===62?Te(V):N(V)}function P(V){return Ht(V)?(e.consume(V),b):r(V)}function b(V){return V===45||Ut(V)?(e.consume(V),b):R(V)}function R(V){return xe(V)?(s=R,we(V)):Re(V)?(e.consume(V),R):Te(V)}function j(V){return V===45||Ut(V)?(e.consume(V),j):V===47||V===62||Ve(V)?Y(V):r(V)}function Y(V){return V===47?(e.consume(V),Te):V===58||V===95||Ht(V)?(e.consume(V),G):xe(V)?(s=Y,we(V)):Re(V)?(e.consume(V),Y):Te(V)}function G(V){return V===45||V===46||V===58||V===95||Ut(V)?(e.consume(V),G):re(V)}function re(V){return V===61?(e.consume(V),Q):xe(V)?(s=re,we(V)):Re(V)?(e.consume(V),re):Y(V)}function Q(V){return V===null||V===60||V===61||V===62||V===96?r(V):V===34||V===39?(e.consume(V),i=V,oe):xe(V)?(s=Q,we(V)):Re(V)?(e.consume(V),Q):(e.consume(V),se)}function oe(V){return V===i?(e.consume(V),i=void 0,ie):V===null?r(V):xe(V)?(s=oe,we(V)):(e.consume(V),oe)}function se(V){return V===null||V===34||V===39||V===60||V===61||V===96?r(V):V===47||V===62||Ve(V)?Y(V):(e.consume(V),se)}function ie(V){return V===47||V===62||Ve(V)?Y(V):r(V)}function Te(V){return V===62?(e.consume(V),e.exit("htmlTextData"),e.exit("htmlText"),t):r(V)}function we(V){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),Be}function Be(V){return Re(V)?De(e,Ge,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):Ge(V)}function Ge(V){return e.enter("htmlTextData"),s(V)}}const Bl={name:"labelEnd",resolveAll:m5,resolveTo:g5,tokenize:b5},f5={tokenize:x5},d5={tokenize:y5},p5={tokenize:v5};function m5(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&or(e,0,e.length,r),e}function g5(e,t){let r=e.length,n=0,i,a,s,o;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(s=r);const l={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},h={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[s-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=yr(o,e.slice(a+1,a+n+3)),o=yr(o,[["enter",h,t]]),o=yr(o,gu(t.parser.constructs.insideSpan.null,e.slice(a+n+4,s-3),t)),o=yr(o,[["exit",h,t],e[s-2],e[s-1],["exit",c,t]]),o=yr(o,e.slice(s+1)),o=yr(o,[["exit",l,t]]),or(e,a,e.length,o),e}function b5(e,t,r){const n=this;let i=n.events.length,a,s;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(g){return a?a._inactive?f(g):(s=n.parser.defined.includes(Pr(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),l):r(g)}function l(g){return g===40?e.attempt(f5,h,s?h:f)(g):g===91?e.attempt(d5,h,s?c:f)(g):s?h(g):f(g)}function c(g){return e.attempt(p5,h,f)(g)}function h(g){return t(g)}function f(g){return a._balanced=!0,r(g)}}function x5(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Ve(f)?sa(e,a)(f):a(f)}function a(f){return f===41?h(f):Cp(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Ve(f)?sa(e,l)(f):h(f)}function o(f){return r(f)}function l(f){return f===34||f===39||f===40?Ip(e,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return Ve(f)?sa(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function y5(e,t,r){const n=this;return i;function i(o){return Ap.call(n,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(Pr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function v5(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const E5={name:"labelStartImage",resolveAll:Bl.resolveAll,tokenize:k5};function k5(e,t,r){const n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const T5={name:"labelStartLink",resolveAll:Bl.resolveAll,tokenize:w5};function w5(e,t,r){const n=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const eo={name:"lineEnding",tokenize:S5};function S5(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),De(e,t,"linePrefix")}}const ys={name:"thematicBreak",tokenize:_5};function _5(e,t,r){let n=0,i;return a;function a(c){return e.enter("thematicBreak"),s(c)}function s(c){return i=c,o(c)}function o(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):n>=3&&(c===null||xe(c))?(e.exit("thematicBreak"),t(c)):r(c)}function l(c){return c===i?(e.consume(c),n++,l):(e.exit("thematicBreakSequence"),Re(c)?De(e,o,"whitespace")(c):o(c))}}const Zt={continuation:{tokenize:N5},exit:R5,name:"list",tokenize:I5},C5={partial:!0,tokenize:P5},A5={partial:!0,tokenize:L5};function I5(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(m){const E=n.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!n.containerState.marker||m===n.containerState.marker:Wo(m)){if(n.containerState.type||(n.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(ys,r,c)(m):c(m);if(!n.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return r(m)}function l(m){return Wo(m)&&++s<10?(e.consume(m),l):(!n.interrupt||s<2)&&(n.containerState.marker?m===n.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):r(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||m,e.check(Pi,n.interrupt?r:h,e.attempt(C5,g,f))}function h(m){return n.containerState.initialBlankLine=!0,a++,g(m)}function f(m){return Re(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):r(m)}function g(m){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function N5(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Pi,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,De(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!Re(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(A5,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,De(e,e.attempt(Zt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function L5(e,t,r){const n=this;return De(e,i,"listItemIndent",n.containerState.size+1);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(a):r(a)}}function R5(e){e.exit(this.containerState.type)}function P5(e,t,r){const n=this;return De(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=n.events[n.events.length-1];return!Re(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const fh={name:"setextUnderline",resolveTo:D5,tokenize:O5};function D5(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=s,e.push(["exit",s,t]),e}function O5(e,t,r){const n=this;let i;return a;function a(c){let h=n.events.length,f;for(;h--;)if(n.events[h][1].type!=="lineEnding"&&n.events[h][1].type!=="linePrefix"&&n.events[h][1].type!=="content"){f=n.events[h][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),i=c,s(c)):r(c)}function s(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),Re(c)?De(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||xe(c)?(e.exit("setextHeadingLine"),t(c)):r(c)}}const M5={tokenize:H5,partial:!0},dh="https://github.com/micromark/micromark-extension-mdxjs-esm",B5=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function F5(e){const t={tokenize:i,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");const r=e.acorn,n=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}};function i(a,s,o){const l=this,c=l.parser.definedModuleSpecifiers||(l.parser.definedModuleSpecifiers=[]),h=this.events.length+1;let f="";return l.interrupt?o:g;function g(A){return l.now().column>1?o(A):(a.enter("mdxjsEsm"),a.enter("mdxjsEsmData"),a.consume(A),f+=String.fromCharCode(A),m)}function m(A){return Ht(A)?(a.consume(A),f+=String.fromCharCode(A),m):(f==="import"||f==="export")&&A===32?(a.consume(A),E):o(A)}function E(A){return A===null||xe(A)?(a.exit("mdxjsEsmData"),w(A)):(a.consume(A),E)}function w(A){return A===null?T(A):xe(A)?a.check(M5,T,C)(A):(a.enter("mdxjsEsmData"),E(A))}function C(A){return a.enter("lineEnding"),a.consume(A),a.exit("lineEnding"),w}function T(A){const N=Ep(l.events.slice(h),{acorn:r,acornOptions:n,tokenTypes:["mdxjsEsmData"],prefix:c.length>0?"var "+c.join(",")+`
40
+ `:""});if(N.error){if(A!==null&&N.swallow)return C(A);const P=new Xe("Could not parse import/exports with acorn",{cause:N.error,place:{line:N.error.loc.line,column:N.error.loc.column+1,offset:N.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw P.url=dh+"#could-not-parse-importexports-with-acorn",P}c.length>0&&N.estree.body.shift();let H=-1;for(;++H<N.estree.body.length;){const P=N.estree.body[H];if(!B5.has(P.type)){const b=new Xe("Unexpected `"+P.type+"` in code: only import/exports are supported",{place:cn(P),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw b.url=dh+"#unexpected-type-in-code-only-importexports-are-supported",b}if(P.type==="ImportDeclaration"&&!l.interrupt){let b=-1;for(;++b<P.specifiers.length;){const R=P.specifiers[b];c.push(R.local.name)}}}return Object.assign(a.exit("mdxjsEsm"),e.addResult?{estree:N.estree}:void 0),s(A)}}}function H5(e,t,r){return n;function n(i){return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(Pi,t,r)}}const ph={}.hasOwnProperty;function Fl(e){const t={};let r=-1;for(;++r<e.length;)z5(t,e[r]);return t}function z5(e,t){let r;for(r in t){const i=(ph.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let s;if(a)for(s in a){ph.call(i,s)||(i[s]=[]);const o=a[s];U5(i[s],Array.isArray(o)?o:o?[o]:[])}}}function U5(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);or(e,0,0,n)}function V5(e){const t=Object.assign({acorn:_t.extend(gd()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return Fl([F5(t),mb(t),yb(t),vb()])}const q5={};function j5(e){const t=this,r=e||q5,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(V5(r)),a.push(f6()),s.push(d6(r))}const G5={};function Hl(e,t){const r=G5,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Np(e,n,i)}function Np(e,t,r){if($5(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return mh(e.children,t,r)}return Array.isArray(e)?mh(e,t,r):""}function mh(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=Np(e[i],t,r);return n.join("")}function $5(e){return!!(e&&typeof e=="object")}function Lp(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Di(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const a=e.charCodeAt(r);let s="";if(a===37&&Ut(e.charCodeAt(r+1))&&Ut(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(r+1);a<56320&&o>56319&&o<57344?(s=String.fromCharCode(a,o),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+i+1,s=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}const W5={tokenize:Y5};function Y5(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),De(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return xe(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const X5={tokenize:J5},gh={tokenize:Q5};function J5(e){const t=this,r=[];let n=0,i,a,s;return o;function o(N){if(n<r.length){const H=r[n];return t.containerState=H[1],e.attempt(H[0].continuation,l,c)(N)}return c(N)}function l(N){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();const H=t.events.length;let P=H,b;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){b=t.events[P][1].end;break}T(n);let R=H;for(;R<t.events.length;)t.events[R][1].end={...b},R++;return or(t.events,P+1,0,t.events.slice(H)),t.events.length=R,c(N)}return o(N)}function c(N){if(n===r.length){if(!i)return g(N);if(i.currentConstruct&&i.currentConstruct.concrete)return E(N);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(gh,h,f)(N)}function h(N){return i&&A(),T(n),g(N)}function f(N){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,E(N)}function g(N){return t.containerState={},e.attempt(gh,m,E)(N)}function m(N){return n++,r.push([t.currentConstruct,t.containerState]),g(N)}function E(N){if(N===null){i&&A(),T(0),e.consume(N);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),w(N)}function w(N){if(N===null){C(e.exit("chunkFlow"),!0),T(0),e.consume(N);return}return xe(N)?(e.consume(N),C(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(N),w)}function C(N,H){const P=t.sliceStream(N);if(H&&P.push(null),N.previous=a,a&&(a.next=N),a=N,i.defineSkip(N.start),i.write(P),t.parser.lazy[N.start.line]){let b=i.events.length;for(;b--;)if(i.events[b][1].start.offset<s&&(!i.events[b][1].end||i.events[b][1].end.offset>s))return;const R=t.events.length;let j=R,Y,G;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if(Y){G=t.events[j][1].end;break}Y=!0}for(T(n),b=R;b<t.events.length;)t.events[b][1].end={...G},b++;or(t.events,j+1,0,t.events.slice(R)),t.events.length=b}}function T(N){let H=r.length;for(;H-- >N;){const P=r[H];t.containerState=P[1],P[0].exit.call(t,e)}r.length=N}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Q5(e,t,r){return De(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const K5={tokenize:Z5};function Z5(e){const t=this,r=e.attempt(Pi,n,e.attempt(this.parser.constructs.flowInitial,i,De(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Vb,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const ex={resolveAll:Pp()},tx=Rp("string"),rx=Rp("text");function Rp(e){return{resolveAll:Pp(e==="text"?nx:void 0),tokenize:t};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,s,o);return s;function s(h){return c(h)?a(h):o(h)}function o(h){if(h===null){r.consume(h);return}return r.enter("data"),r.consume(h),l}function l(h){return c(h)?(r.exit("data"),a(h)):(r.consume(h),l)}function c(h){if(h===null)return!0;const f=i[h];let g=-1;if(f)for(;++g<f.length;){const m=f[g];if(!m.previous||m.previous.call(n,n.previous))return!0}return!1}}}function Pp(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function nx(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,s=-1,o=0,l;for(;a--;){const c=i[a];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(c===-2)l=!0,o++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){const c={type:r===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:n.start._bufferIndex+s,_index:n.start._index+a,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...c.start},n.start.offset===n.end.offset?Object.assign(n,c):(e.splice(r,0,["enter",c,t],["exit",c,t]),r+=2)}r++}return e}const ix={42:Zt,43:Zt,45:Zt,48:Zt,49:Zt,50:Zt,51:Zt,52:Zt,53:Zt,54:Zt,55:Zt,56:Zt,57:Zt,62:Tp},ax={91:Wb},sx={[-2]:Zu,[-1]:Zu,32:Zu},ux={35:Zb,42:ys,45:[fh,ys],60:n5,61:fh,95:ys,96:ch,126:ch},ox={38:Sp,92:wp},lx={[-5]:eo,[-4]:eo,[-3]:eo,33:E5,38:Sp,42:Yo,60:[Tb,c5],91:T5,92:[Qb,wp],93:Bl,95:Yo,96:Mb},cx={null:[Yo,ex]},hx={null:[42,95]},fx={null:[]},dx=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:hx,contentInitial:ax,disable:fx,document:ix,flow:ux,flowInitial:sx,insideSpan:cx,string:ox,text:lx},Symbol.toStringTag,{value:"Module"}));function px(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const i={},a=[];let s=[],o=[];const l={attempt:R(P),check:R(b),consume:A,enter:N,exit:H,interrupt:R(b,{interrupt:!0})},c={code:null,containerState:{},defineSkip:w,events:[],now:E,parser:e,previous:null,sliceSerialize:g,sliceStream:m,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function f(re){return s=yr(s,re),C(),s[s.length-1]!==null?[]:(j(t,0),c.events=gu(a,c.events,c),c.events)}function g(re,Q){return gx(m(re),Q)}function m(re){return mx(s,re)}function E(){const{_bufferIndex:re,_index:Q,line:oe,column:se,offset:ie}=n;return{_bufferIndex:re,_index:Q,line:oe,column:se,offset:ie}}function w(re){i[re.line]=re.column,G()}function C(){let re;for(;n._index<s.length;){const Q=s[n._index];if(typeof Q=="string")for(re=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===re&&n._bufferIndex<Q.length;)T(Q.charCodeAt(n._bufferIndex));else T(Q)}}function T(re){h=h(re)}function A(re){xe(re)?(n.line++,n.column=1,n.offset+=re===-3?2:1,G()):re!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=re}function N(re,Q){const oe=Q||{};return oe.type=re,oe.start=E(),c.events.push(["enter",oe,c]),o.push(oe),oe}function H(re){const Q=o.pop();return Q.end=E(),c.events.push(["exit",Q,c]),Q}function P(re,Q){j(re,Q.from)}function b(re,Q){Q.restore()}function R(re,Q){return oe;function oe(se,ie,Te){let we,Be,Ge,V;return Array.isArray(se)?We(se):"tokenize"in se?We([se]):Qe(se);function Qe(et){return Pt;function Pt(vt){const gt=vt!==null&&et[vt],bt=vt!==null&&et.null,Et=[...Array.isArray(gt)?gt:gt?[gt]:[],...Array.isArray(bt)?bt:bt?[bt]:[]];return We(Et)(vt)}}function We(et){return we=et,Be=0,et.length===0?Te:q(et[Be])}function q(et){return Pt;function Pt(vt){return V=Y(),Ge=et,et.partial||(c.currentConstruct=et),et.name&&c.parser.constructs.disable.null.includes(et.name)?ht():et.tokenize.call(Q?Object.assign(Object.create(c),Q):c,l,dt,ht)(vt)}}function dt(et){return re(Ge,V),ie}function ht(et){return V.restore(),++Be<we.length?q(we[Be]):Te}}}function j(re,Q){re.resolveAll&&!a.includes(re)&&a.push(re),re.resolve&&or(c.events,Q,c.events.length-Q,re.resolve(c.events.slice(Q),c)),re.resolveTo&&(c.events=re.resolveTo(c.events,c))}function Y(){const re=E(),Q=c.previous,oe=c.currentConstruct,se=c.events.length,ie=Array.from(o);return{from:se,restore:Te};function Te(){n=re,c.previous=Q,c.currentConstruct=oe,c.events.length=se,o=ie,G()}}function G(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function mx(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(r===i)s=[e[r].slice(n,a)];else{if(s=e.slice(r,i),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function gx(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
41
+ `;break}case-3:{s=`\r
42
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,n.push(s)}return n.join("")}function bx(e){const n={constructs:Fl([dx,...(e||{}).extensions||[]]),content:i(W5),defined:[],document:i(X5),flow:i(K5),lazy:{},string:i(tx),text:i(rx)};return n;function i(a){return s;function s(o){return px(n,a,o)}}}function xx(e){for(;!_p(e););return e}const bh=/[\0\t\n\r]/g;function yx(){let e=1,t="",r=!0,n;return i;function i(a,s,o){const l=[];let c,h,f,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),f=0,t="",r&&(a.charCodeAt(0)===65279&&f++,r=void 0);f<a.length;){if(bh.lastIndex=f,c=bh.exec(a),g=c&&c.index!==void 0?c.index:a.length,m=a.charCodeAt(g),!c){t=a.slice(f);break}if(m===10&&f===g&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),f<g&&(l.push(a.slice(f,g)),e+=g-f),m){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:n=!0,e=1}f=g+1}return o&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const vx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ex(e){return e.replace(vx,kx)}function kx(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return Lp(r.slice(a?2:1),a?16:10)}return ba(r)||e}const Dp={}.hasOwnProperty;function Tx(e,t,r){return typeof t!="string"&&(r=t,t=void 0),wx(r)(xx(bx(r).document().write(yx()(e,t,!0))))}function wx(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Jt),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:a(hr),blockQuote:a(bt),characterEscape:Y,characterReference:Y,codeFenced:a(Et),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Et,s),codeText:a(Tn,s),codeTextData:Y,data:Y,codeFlowValue:Y,definition:a(Or),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Mr),hardBreakEscape:a(Ar),hardBreakTrailing:a(Ar),htmlFlow:a(Dt,s),htmlFlowData:Y,htmlText:a(Dt,s),htmlTextData:Y,image:a(qt),label:s,link:a(Jt),listItem:a(nn),listItemValue:g,listOrdered:a(Br,f),listUnordered:a(Br),paragraph:a(qn),reference:q,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(hr),strong:a(Ot),thematicBreak:a(jn)},exit:{atxHeading:l(),atxHeadingSequence:P,autolink:l(),autolinkEmail:gt,autolinkProtocol:vt,blockQuote:l(),characterEscapeValue:G,characterReferenceMarkerHexadecimal:ht,characterReferenceMarkerNumeric:ht,characterReferenceValue:et,characterReference:Pt,codeFenced:l(C),codeFencedFence:w,codeFencedFenceInfo:m,codeFencedFenceMeta:E,codeFlowValue:G,codeIndented:l(T),codeText:l(ie),codeTextData:G,data:G,definition:l(),definitionDestinationString:H,definitionLabelString:A,definitionTitleString:N,emphasis:l(),hardBreakEscape:l(Q),hardBreakTrailing:l(Q),htmlFlow:l(oe),htmlFlowData:G,htmlText:l(se),htmlTextData:G,image:l(we),label:Ge,labelText:Be,lineEnding:re,link:l(Te),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:dt,resourceDestinationString:V,resourceTitleString:Qe,resource:We,setextHeading:l(j),setextHeadingLineSequence:R,setextHeadingText:b,strong:l(),thematicBreak:l()}};Op(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(ee){let te={type:"root",children:[]};const D={stack:[te],tokenStack:[],config:t,enter:o,exit:c,buffer:s,resume:h,data:r},Se=[];let Ye=-1;for(;++Ye<ee.length;)if(ee[Ye][1].type==="listOrdered"||ee[Ye][1].type==="listUnordered")if(ee[Ye][0]==="enter")Se.push(Ye);else{const kt=Se.pop();Ye=i(ee,kt,Ye)}for(Ye=-1;++Ye<ee.length;){const kt=t[ee[Ye][0]];Dp.call(kt,ee[Ye][1].type)&&kt[ee[Ye][1].type].call(Object.assign({sliceSerialize:ee[Ye][2].sliceSerialize},D),ee[Ye][1])}if(D.tokenStack.length>0){const kt=D.tokenStack[D.tokenStack.length-1];(kt[1]||xh).call(D,void 0,kt[0])}for(te.position={start:Sn(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:Sn(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},Ye=-1;++Ye<t.transforms.length;)te=t.transforms[Ye](te)||te;return te}function i(ee,te,D){let Se=te-1,Ye=-1,kt=!1,be,ar,Gn,$n;for(;++Se<=D;){const Tt=ee[Se];switch(Tt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Tt[0]==="enter"?Ye++:Ye--,$n=void 0;break}case"lineEndingBlank":{Tt[0]==="enter"&&(be&&!$n&&!Ye&&!Gn&&(Gn=Se),$n=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:$n=void 0}if(!Ye&&Tt[0]==="enter"&&Tt[1].type==="listItemPrefix"||Ye===-1&&Tt[0]==="exit"&&(Tt[1].type==="listUnordered"||Tt[1].type==="listOrdered")){if(be){let Fr=Se;for(ar=void 0;Fr--;){const fr=ee[Fr];if(fr[1].type==="lineEnding"||fr[1].type==="lineEndingBlank"){if(fr[0]==="exit")continue;ar&&(ee[ar][1].type="lineEndingBlank",kt=!0),fr[1].type="lineEnding",ar=Fr}else if(!(fr[1].type==="linePrefix"||fr[1].type==="blockQuotePrefix"||fr[1].type==="blockQuotePrefixWhitespace"||fr[1].type==="blockQuoteMarker"||fr[1].type==="listItemIndent"))break}Gn&&(!ar||Gn<ar)&&(be._spread=!0),be.end=Object.assign({},ar?ee[ar][1].start:Tt[1].end),ee.splice(ar||Se,0,["exit",be,Tt[2]]),Se++,D++}if(Tt[1].type==="listItemPrefix"){const Fr={type:"listItem",_spread:!1,start:Object.assign({},Tt[1].start),end:void 0};be=Fr,ee.splice(Se,0,["enter",Fr,Tt[2]]),Se++,D++,Gn=void 0,$n=!0}}}return ee[te][1]._spread=kt,D}function a(ee,te){return D;function D(Se){o.call(this,ee(Se),Se),te&&te.call(this,Se)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(ee,te,D){this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([te,D||void 0]),ee.position={start:Sn(te.start),end:void 0}}function l(ee){return te;function te(D){ee&&ee.call(this,D),c.call(this,D)}}function c(ee,te){const D=this.stack.pop(),Se=this.tokenStack.pop();if(Se)Se[0].type!==ee.type&&(te?te.call(this,ee,Se[0]):(Se[1]||xh).call(this,ee,Se[0]));else throw new Error("Cannot close `"+ee.type+"` ("+Tr({start:ee.start,end:ee.end})+"): it’s not open");D.position.end=Sn(ee.end)}function h(){return Hl(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function g(ee){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(ee),10),this.data.expectingFirstListItemValue=void 0}}function m(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.lang=ee}function E(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.meta=ee}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.value=ee.replace(/(\r?\n|\r)$/g,"")}function A(ee){const te=this.resume(),D=this.stack[this.stack.length-1];D.label=te,D.identifier=Pr(this.sliceSerialize(ee)).toLowerCase()}function N(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.title=ee}function H(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.url=ee}function P(ee){const te=this.stack[this.stack.length-1];if(!te.depth){const D=this.sliceSerialize(ee).length;te.depth=D}}function b(){this.data.setextHeadingSlurpLineEnding=!0}function R(ee){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(ee).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(ee){const D=this.stack[this.stack.length-1].children;let Se=D[D.length-1];(!Se||Se.type!=="text")&&(Se=tt(),Se.position={start:Sn(ee.start),end:void 0},D.push(Se)),this.stack.push(Se)}function G(ee){const te=this.stack.pop();te.value+=this.sliceSerialize(ee),te.position.end=Sn(ee.end)}function re(ee){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const D=te.children[te.children.length-1];D.position.end=Sn(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(Y.call(this,ee),G.call(this,ee))}function Q(){this.data.atHardBreak=!0}function oe(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.value=ee}function se(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.value=ee}function ie(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.value=ee}function Te(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=te,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function we(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=te,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function Be(ee){const te=this.sliceSerialize(ee),D=this.stack[this.stack.length-2];D.label=Ex(te),D.identifier=Pr(te).toLowerCase()}function Ge(){const ee=this.stack[this.stack.length-1],te=this.resume(),D=this.stack[this.stack.length-1];if(this.data.inReference=!0,D.type==="link"){const Se=ee.children;D.children=Se}else D.alt=te}function V(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.url=ee}function Qe(){const ee=this.resume(),te=this.stack[this.stack.length-1];te.title=ee}function We(){this.data.inReference=void 0}function q(){this.data.referenceType="collapsed"}function dt(ee){const te=this.resume(),D=this.stack[this.stack.length-1];D.label=te,D.identifier=Pr(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function ht(ee){this.data.characterReferenceType=ee.type}function et(ee){const te=this.sliceSerialize(ee),D=this.data.characterReferenceType;let Se;D?(Se=Lp(te,D==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Se=ba(te);const Ye=this.stack[this.stack.length-1];Ye.value+=Se}function Pt(ee){const te=this.stack.pop();te.position.end=Sn(ee.end)}function vt(ee){G.call(this,ee);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(ee)}function gt(ee){G.call(this,ee);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(ee)}function bt(){return{type:"blockquote",children:[]}}function Et(){return{type:"code",lang:null,meta:null,value:""}}function Tn(){return{type:"inlineCode",value:""}}function Or(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Mr(){return{type:"emphasis",children:[]}}function hr(){return{type:"heading",depth:0,children:[]}}function Ar(){return{type:"break"}}function Dt(){return{type:"html",value:""}}function qt(){return{type:"image",title:null,url:"",alt:null}}function Jt(){return{type:"link",title:null,url:"",children:[]}}function Br(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function nn(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function qn(){return{type:"paragraph",children:[]}}function Ot(){return{type:"strong",children:[]}}function tt(){return{type:"text",value:""}}function jn(){return{type:"thematicBreak"}}}function Sn(e){return{line:e.line,column:e.column,offset:e.offset}}function Op(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?Op(e,n):Sx(e,n)}}function Sx(e,t){let r;for(r in t)if(Dp.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function xh(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Tr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Tr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Tr({start:t.start,end:t.end})+") is still open")}function _x(e){const t=this;t.parser=r;function r(n){return Tx(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Cx(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function Ax(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
43
+ `}]}function Ix(e,t){const r=t.value?t.value+`
44
+ `:"",n={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(n.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function Nx(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Lx(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Rx(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),i=Di(n.toLowerCase()),a=e.footnoteOrder.indexOf(n);let s,o=e.footnoteCounts.get(n);o===void 0?(o=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=a+1,o+=1,e.footnoteCounts.set(n,o);const l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function Px(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Dx(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Mp(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=n:i.push({type:"text",value:n}),i}function Ox(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Mp(e,t);const i={src:Di(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Mx(e,t){const r={src:Di(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function Bx(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function Fx(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Mp(e,t);const i={href:Di(n.url||"")};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Hx(e,t){const r={href:Di(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zx(e,t,r){const n=e.all(t),i=r?Ux(r):Bp(t),a={},s=[];if(typeof t.checked=="boolean"){const h=n[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},n.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:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const h=n[o];(i||o!==0||h.type!=="element"||h.tagName!=="p")&&s.push({type:"text",value:`
45
+ `}),h.type==="element"&&h.tagName==="p"&&!i?s.push(...h.children):s.push(h)}const l=n[n.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
46
+ `});const c={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,c),e.applyData(t,c)}function Ux(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=Bp(r[n])}return t}function Bp(e){const t=e.spread;return t??e.children.length>1}function Vx(e,t){const r={},n=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++i<n.length;){const s=n[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,a),e.applyData(t,a)}function qx(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function jx(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Gx(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function $x(e,t){const r=e.all(t),n=r.shift(),i=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),i.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=yn(t.children[1]),l=uu(t.children[t.children.length-1]);o&&l&&(s.position={start:o,end:l}),i.push(s)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function Wx(e,t,r){const n=r?r.children:void 0,a=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,o=s?s.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],g={},m=s?s[l]:void 0;m&&(g.align=m);let E={type:"element",tagName:a,properties:g,children:[]};f&&(E.children=e.all(f),e.patch(f,E),E=e.applyData(f,E)),c.push(E)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}function Yx(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const yh=9,vh=32;function Xx(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),i=0;const a=[];for(;n;)a.push(Eh(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(Eh(t.slice(i),i>0,!1)),a.join("")}function Eh(e,t,r){let n=0,i=e.length;if(t){let a=e.codePointAt(n);for(;a===yh||a===vh;)n++,a=e.codePointAt(n)}if(r){let a=e.codePointAt(i-1);for(;a===yh||a===vh;)i--,a=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}function Jx(e,t){const r={type:"text",value:Xx(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Qx(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const Kx={blockquote:Cx,break:Ax,code:Ix,delete:Nx,emphasis:Lx,footnoteReference:Rx,heading:Px,html:Dx,imageReference:Ox,image:Mx,inlineCode:Bx,linkReference:Fx,link:Hx,listItem:zx,list:Vx,paragraph:qx,root:jx,strong:Gx,table:$x,tableCell:Yx,tableRow:Wx,text:Jx,thematicBreak:Qx,toml:Za,yaml:Za,definition:Za,footnoteDefinition:Za};function Za(){}const Fp=-1,bu=0,ua=1,Ps=2,zl=3,Ul=4,Vl=5,ql=6,Hp=7,zp=8,kh=typeof self=="object"?self:globalThis,Zx=(e,t)=>{const r=(i,a)=>(e.set(a,i),i),n=i=>{if(e.has(i))return e.get(i);const[a,s]=t[i];switch(a){case bu:case Fp:return r(s,i);case ua:{const o=r([],i);for(const l of s)o.push(n(l));return o}case Ps:{const o=r({},i);for(const[l,c]of s)o[n(l)]=n(c);return o}case zl:return r(new Date(s),i);case Ul:{const{source:o,flags:l}=s;return r(new RegExp(o,l),i)}case Vl:{const o=r(new Map,i);for(const[l,c]of s)o.set(n(l),n(c));return o}case ql:{const o=r(new Set,i);for(const l of s)o.add(n(l));return o}case Hp:{const{name:o,message:l}=s;return r(new kh[o](l),i)}case zp:return r(BigInt(s),i);case"BigInt":return r(Object(BigInt(s)),i);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:o}=new Uint8Array(s);return r(new DataView(o),s)}}return r(new kh[a](s),i)};return n},Th=e=>Zx(new Map,e)(0),li="",{toString:e8}={},{keys:t8}=Object,Xi=e=>{const t=typeof e;if(t!=="object"||!e)return[bu,t];const r=e8.call(e).slice(8,-1);switch(r){case"Array":return[ua,li];case"Object":return[Ps,li];case"Date":return[zl,li];case"RegExp":return[Ul,li];case"Map":return[Vl,li];case"Set":return[ql,li];case"DataView":return[ua,r]}return r.includes("Array")?[ua,r]:r.includes("Error")?[Hp,r]:[Ps,r]},es=([e,t])=>e===bu&&(t==="function"||t==="symbol"),r8=(e,t,r,n)=>{const i=(s,o)=>{const l=n.push(s)-1;return r.set(o,l),l},a=s=>{if(r.has(s))return r.get(s);let[o,l]=Xi(s);switch(o){case bu:{let h=s;switch(l){case"bigint":o=zp,h=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return i([Fp],s)}return i([o,h],s)}case ua:{if(l){let g=s;return l==="DataView"?g=new Uint8Array(s.buffer):l==="ArrayBuffer"&&(g=new Uint8Array(s)),i([l,[...g]],s)}const h=[],f=i([o,h],s);for(const g of s)h.push(a(g));return f}case Ps:{if(l)switch(l){case"BigInt":return i([l,s.toString()],s);case"Boolean":case"Number":case"String":return i([l,s.valueOf()],s)}if(t&&"toJSON"in s)return a(s.toJSON());const h=[],f=i([o,h],s);for(const g of t8(s))(e||!es(Xi(s[g])))&&h.push([a(g),a(s[g])]);return f}case zl:return i([o,s.toISOString()],s);case Ul:{const{source:h,flags:f}=s;return i([o,{source:h,flags:f}],s)}case Vl:{const h=[],f=i([o,h],s);for(const[g,m]of s)(e||!(es(Xi(g))||es(Xi(m))))&&h.push([a(g),a(m)]);return f}case ql:{const h=[],f=i([o,h],s);for(const g of s)(e||!es(Xi(g)))&&h.push(a(g));return f}}const{message:c}=s;return i([o,{name:l,message:c}],s)};return a},wh=(e,{json:t,lossy:r}={})=>{const n=[];return r8(!(t||r),!!t,new Map,n)(e),n},Ti=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Th(wh(e,t)):structuredClone(e):(e,t)=>Th(wh(e,t));function n8(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function i8(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function a8(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||n8,n=e.options.footnoteBackLabel||i8,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=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(),g=Di(f.toLowerCase());let m=0;const E=[],w=e.footnoteCounts.get(f);for(;w!==void 0&&++m<=w;){E.length>0&&E.push({type:"text",value:" "});let A=typeof r=="string"?r:r(l,m);typeof A=="string"&&(A={type:"text",value:A}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+g+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,m),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const C=h[h.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const A=C.children[C.children.length-1];A&&A.type==="text"?A.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...E)}else h.push(...E);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(h,!0)};e.patch(c,T),o.push(T)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Ti(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
47
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
48
+ `}]}}const Pa=(function(e){if(e==null)return l8;if(typeof e=="function")return xu(e);if(typeof e=="object")return Array.isArray(e)?s8(e):u8(e);if(typeof e=="string")return o8(e);throw new Error("Expected function, string, or object as test")});function s8(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Pa(e[r]);return xu(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function u8(e){const t=e;return xu(r);function r(n){const i=n;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function o8(e){return xu(t);function t(r){return r&&r.type===e}}function xu(e){return t;function t(r,n,i){return!!(c8(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function l8(){return!0}function c8(e){return e!==null&&typeof e=="object"&&"type"in e}const Up=[],h8=!0,Xo=!1,Vp="skip";function jl(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;const a=Pa(i),s=n?-1:1;o(e,void 0,[])();function o(l,c,h){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return g;function g(){let m=Up,E,w,C;if((!t||a(l,c,h[h.length-1]||void 0))&&(m=f8(r(l,h)),m[0]===Xo))return m;if("children"in l&&l.children){const T=l;if(T.children&&m[0]!==Vp)for(w=(n?T.children.length:-1)+s,C=h.concat(T);w>-1&&w<T.children.length;){const A=T.children[w];if(E=o(A,w,C)(),E[0]===Xo)return E;w=typeof E[1]=="number"?E[1]:w+s}}return m}}}function f8(e){return Array.isArray(e)?e:typeof e=="number"?[h8,e]:e==null?Up:[e]}function Da(e,t,r,n){let i,a,s;typeof t=="function"&&typeof r!="function"?(a=void 0,s=t,i=r):(a=t,s=r,i=n),jl(e,a,o,i);function o(l,c){const h=c[c.length-1],f=h?h.children.indexOf(l):void 0;return s(l,f,h)}}const Jo={}.hasOwnProperty,d8={};function p8(e,t){const r=t||d8,n=new Map,i=new Map,a=new Map,s={...Kx,...r.handlers},o={all:c,applyData:g8,definitionById:n,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:s,one:l,options:r,patch:m8,wrap:x8};return Da(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?n:i,g=String(h.identifier).toUpperCase();f.has(g)||f.set(g,h)}}),o;function l(h,f){const g=h.type,m=o.handlers[g];if(Jo.call(o.handlers,g)&&m)return m(o,h,f);if(o.options.passThrough&&o.options.passThrough.includes(g)){if("children"in h){const{children:w,...C}=h,T=Ti(C);return T.children=o.all(h),T}return Ti(h)}return(o.options.unknownHandler||b8)(o,h,f)}function c(h){const f=[];if("children"in h){const g=h.children;let m=-1;for(;++m<g.length;){const E=o.one(g[m],h);if(E){if(m&&g[m-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=Sh(E.value)),!Array.isArray(E)&&E.type==="element")){const w=E.children[0];w&&w.type==="text"&&(w.value=Sh(w.value))}Array.isArray(E)?f.push(...E):f.push(E)}}}return f}}function m8(e,t){e.position&&(t.position=Nd(e))}function g8(e,t){let r=t;if(e&&e.data){const n=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&a&&Object.assign(r.properties,Ti(a)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function b8(e,t){const r=t.data||{},n="value"in t&&!(Jo.call(r,"hProperties")||Jo.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function x8(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
49
+ `});++n<e.length;)n&&r.push({type:"text",value:`
50
+ `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
51
+ `}),r}function Sh(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function _h(e,t){const r=p8(e,t),n=r.one(e,void 0),i=a8(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
52
+ `},i),a}function y8(e,t){return e&&"run"in e?async function(r,n){const i=_h(r,{file:n,...t});await e.run(i,n)}:function(r,n){return _h(r,{file:n,...e||t})}}function Ch(e){if(e)throw e}var to,Ah;function v8(){if(Ah)return to;Ah=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},a=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 g;for(g in c);return typeof g>"u"||e.call(c,g)},s=function(c,h){r&&h.name==="__proto__"?r(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(n)return n(c,h).value}else return;return c[h]};return to=function l(){var c,h,f,g,m,E,w=arguments[0],C=1,T=arguments.length,A=!1;for(typeof w=="boolean"&&(A=w,w=arguments[1]||{},C=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});C<T;++C)if(c=arguments[C],c!=null)for(h in c)f=o(w,h),g=o(c,h),w!==g&&(A&&g&&(a(g)||(m=i(g)))?(m?(m=!1,E=f&&i(f)?f:[]):E=f&&a(f)?f:{},s(w,{name:h,newValue:l(A,E,g)})):typeof g<"u"&&s(w,{name:h,newValue:g}));return w},to}var E8=v8();const ro=au(E8);function Qo(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 k8(){const e=[],t={run:r,use:n};return t;function r(...i){let a=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...i);function o(l,...c){const h=e[++a];let f=-1;if(l){s(l);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,h?T8(h,o)(...c):s(null,...c)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function T8(e,t){let r;return n;function n(...s){const o=e.length>s.length;let l;o&&s.push(i);try{l=e.apply(this,s)}catch(c){const h=c;if(o&&r)throw h;return i(h)}o||(l&&l.then&&typeof l.then=="function"?l.then(a,i):l instanceof Error?i(l):a(l))}function i(s,...o){r||(r=!0,t(s,...o))}function a(s){i(null,s)}}const w8=(function(e){const n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a}),S8={}.hasOwnProperty;class Gl extends w8{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=k8()}copy(){const t=new Gl;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(ro(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(ao("data",this.frozen),this.namespace[t]=r,this):S8.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ao("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[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=ts(t),n=this.parser||this.Parser;return no("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),no("process",this.parser||this.Parser),io("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,s){const o=ts(t),l=n.parse(o);n.run(l,o,function(h,f,g){if(h||!f||!g)return c(h);const m=f,E=n.stringify(m,g);A8(E)?g.value=E:g.result=E,c(h,g)});function c(h,f){h||!f?s(h):a?a(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),no("processSync",this.parser||this.Parser),io("processSync",this.compiler||this.Compiler),this.process(t,i),Nh("processSync","process",r),n;function i(a,s){r=!0,Ch(a),n=s}}run(t,r,n){Ih(t),this.freeze();const i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(s,o){const l=ts(r);i.run(t,l,c);function c(h,f,g){const m=f||t;h?o(h):s?s(m):n(void 0,m,g)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),Nh("runSync","run",n),i;function a(s,o){Ch(s),i=o,n=!0}}stringify(t,r){this.freeze();const n=ts(r),i=this.compiler||this.Compiler;return io("stringify",i),Ih(t),i(t,n)}use(t,...r){const n=this.attachers,i=this.namespace;if(ao("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...f]=c;l(h,f)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(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&&(i.settings=ro(!0,i.settings,c.settings))}function o(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];a(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,h){let f=-1,g=-1;for(;++f<n.length;)if(n[f][0]===c){g=f;break}if(g===-1)n.push([c,...h]);else if(h.length>0){let[m,...E]=h;const w=n[g][1];Qo(w)&&Qo(m)&&(m=ro(!0,w,m)),n[g]=[c,m,...E]}}}}const _8=new Gl().freeze();function no(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function io(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ao(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 Ih(e){if(!Qo(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Nh(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ts(e){return C8(e)?e:new pd(e)}function C8(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function A8(e){return typeof e=="string"||I8(e)}function I8(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function Nn(e,t){const r=["start","end","loc","range"];let n=-1;for(;++n<r.length;){const i=r[n];i in e&&(t[i]=e[i])}}function $l(e,t){let r=-1;const n=[],i=[];let a;for(;++r<e.length;){const s=e[r];s.type==="ImportNamespaceSpecifier"?a=s:i.push(s)}if(a){const s={type:"VariableDeclarator",id:a.local,init:t};Nn(a,s),n.push(s)}return n.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:i.map(function(s){let o=s.type==="ImportSpecifier"?s.imported:s.type==="ExportSpecifier"?s.exported:{type:"Identifier",name:"default"},l=s.local;s.type==="ExportSpecifier"&&(l=o,o=s.local),l.type;const c={type:"Property",kind:"init",shorthand:o.type==="Identifier"&&l.type==="Identifier"&&o.name===l.name,method:!1,computed:!1,key:o,value:l};return Nn(s,c),c})},init:a?{type:"Identifier",name:a.local.name}:t}),n}function Dn(e){let t=-1,r;for(;++t<e.length;){const n=e[t],i=typeof n=="string"&&Yr(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};r=r?{type:"MemberExpression",object:r,property:i,computed:i.type==="Literal",optional:!1}:i}return r.type,r}function Lh(e){let t=-1,r;for(;++t<e.length;){const n=e[t];typeof n=="string"&&Yr(n,{jsx:!0});const i={type:"JSXIdentifier",name:n};r=r?{type:"JSXMemberExpression",object:r,property:i}:i}return r}function N8(e){const{outputFormat:t}=e||{};return function(r){if(r.comments&&(r.comments=r.comments.filter(function(n){var i;return!((i=n.data)!=null&&i._mdxIsPragmaComment)})),t==="function-body"){let n=0;for(;n<r.body.length;){const a=r.body[n];if("directive"in a&&a.directive)n++;else break}const i=r.body[n];i&&i.type==="ImportDeclaration"&&typeof i.source.value=="string"&&/\/jsx-(dev-)?runtime$/.test(i.source.value)&&(r.body[n]={type:"VariableDeclaration",kind:"const",declarations:$l(i.specifiers,Dn(["arguments",0]))})}}}function qp(){const e=[{block:!1,defined:[]}];return{enter:t,exit:r,scopes:e};function t(a){if(a.type==="ArrowFunctionExpression"){e.push({block:!1,defined:[]});for(const s of a.params)i(s,!1)}else if(a.type==="BlockStatement"||a.type==="DoWhileStatement"||a.type==="ForInStatement"||a.type==="ForOfStatement"||a.type==="ForStatement"||a.type==="WhileStatement")e.push({block:!0,defined:[]});else if(a.type==="CatchClause")e.push({block:!0,defined:[]}),a.param&&i(a.param,!0);else if(a.type==="ClassDeclaration")n(a.id.name,!1);else if(a.type==="FunctionDeclaration"){n(a.id.name,!1),e.push({block:!1,defined:[]});for(const s of a.params)i(s,!1)}else if(a.type==="FunctionExpression"){a.id&&n(a.id.name,!1),e.push({block:!1,defined:[]});for(const s of a.params)i(s,!1)}else if(a.type==="ImportDeclaration")for(const s of a.specifiers)n(s.local.name,!1);else if(a.type==="VariableDeclaration")for(const s of a.declarations)i(s.id,a.kind!=="var")}function r(a){if(a.type==="ArrowFunctionExpression"||a.type==="FunctionDeclaration"||a.type==="FunctionExpression"){const s=e.pop();s.block}else if(a.type==="BlockStatement"||a.type==="CatchClause"||a.type==="DoWhileStatement"||a.type==="ForInStatement"||a.type==="ForOfStatement"||a.type==="ForStatement"||a.type==="WhileStatement"){const s=e.pop();s.block}}function n(a,s){let o=e.length,l;for(;o--&&(l=e[o],!(s||!l.block)););l.defined.push(a)}function i(a,s){if(a.type==="ArrayPattern")for(const o of a.elements)o&&i(o,s);else if(a.type==="AssignmentPattern")i(a.left,s);else if(a.type==="Identifier")n(a.name,s);else if(a.type==="ObjectPattern")for(const o of a.properties)o.type==="Property"?i(o.value,s):(o.type,i(o,s));else a.type,i(a.argument,s)}}function L8(e){return e.type==="FunctionDeclaration"?{...e,type:"FunctionExpression"}:(e.type,{...e,type:"ClassExpression"})}function R8(e){return e.type==="FunctionDeclaration"||e.type==="ClassDeclaration"||e.type==="VariableDeclaration"}function P8(e){const t=e.baseUrl||void 0,r=typeof t=="object"?t.href:t,n=e.outputFormat||"program",i=e.pragma===void 0?"React.createElement":e.pragma,a=e.pragmaFrag===void 0?"React.Fragment":e.pragmaFrag,s=e.pragmaImportSource||"react",o=e.jsxImportSource||"react",l=e.jsxRuntime||"automatic";return function(h,f){const g=[],m=[];let E=0,w,C,T;if(l==="classic"&&a&&rs(h,"@jsxFrag",a),l==="classic"&&i&&rs(h,"@jsx",i),l==="automatic"&&o&&rs(h,"@jsxImportSource",o),rs(h,"@jsxRuntime",l),l==="classic"&&s){if(!i)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");P({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:i.split(".")[0]}}],attributes:[],source:{type:"Literal",value:s}})}for(T of h.body)if(T.type==="ExportDefaultDeclaration")w&&f.fail("Unexpected duplicate layout, expected a single layout (previous: "+Tr(cn(w))+")",{ancestors:[h,T],place:cn(T),ruleId:"duplicate-layout",source:"recma-document"}),w=T,m.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:R8(T.declaration)?L8(T.declaration):T.declaration}]});else if(T.type==="ExportNamedDeclaration"&&T.source){const b=T.source;T.specifiers=T.specifiers.filter(function(R){if(R.exported.type==="Identifier"&&R.exported.name==="default"){w&&f.fail("Unexpected duplicate layout, expected a single layout (previous: "+Tr(cn(w))+")",{ancestors:[h,T,R],place:cn(T),ruleId:"duplicate-layout",source:"recma-document"}),w=R;const j=[];if(R.local.type==="Identifier"&&R.local.name==="default")j.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{const re={type:"ImportSpecifier",imported:R.local,local:{type:"Identifier",name:"MDXLayout"}};Nn(R.local,re),j.push(re)}const Y={type:"Literal",value:b.value};Nn(b,Y);const G={type:"ImportDeclaration",specifiers:j,attributes:[],source:Y};return Nn(R,G),P(G),!1}return!0}),T.specifiers.length>0&&H(T)}else T.type==="ExportNamedDeclaration"||T.type==="ExportAllDeclaration"?H(T):T.type==="ImportDeclaration"?P(T):T.type==="ExpressionStatement"&&(T.expression.type==="JSXElement"||T.expression.type==="JSXFragment")?(C=!0,m.push(...c(T.expression,n,!!w))):m.push(T);C||m.push(...c(void 0,n,!!w)),g.push(["MDXContent","default"]),n==="function-body"&&m.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:E}).map(function(b,R){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(R+1)}}}),...g.map(function(b){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:typeof b=="string",key:{type:"Identifier",name:typeof b=="string"?b:b[1]},value:{type:"Identifier",name:typeof b=="string"?b:b[0]}}})]}}),h.body=m;let A=!1,N=!1;(r||n==="function-body")&&gi(h,{enter(b){if((b.type==="ExportAllDeclaration"||b.type==="ExportNamedDeclaration"||b.type==="ImportDeclaration")&&b.source){let R=b.source.value;try{new URL(R)}catch{(R.startsWith("/")||R.startsWith("./")||R.startsWith("../"))&&(R=new URL(R,r).href)}const j={type:"Literal",value:R};Nn(b.source,j),b.source=j;return}if(b.type==="ImportExpression"){N=!0;const R={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[b.source],optional:!1};b.source=R;return}if(b.type==="MemberExpression"&&"object"in b&&b.object.type==="MetaProperty"&&b.property.type==="Identifier"&&b.object.meta.name==="import"&&b.object.property.name==="meta"&&b.property.name==="url"){A=!0;const R={type:"Identifier",name:"_importMetaUrl"};Nn(b,R),this.replace(R)}}}),N&&(r||(A=!0),h.body.push(D8(r?{type:"Literal",value:r}:{type:"Identifier",name:"_importMetaUrl"}))),A&&h.body.unshift(...O8());function H(b){if(b.type==="ExportNamedDeclaration"){if(b.declaration){const R=qp();gi(b,{enter(j){R.enter(j),(j.type==="ArrowFunctionExpression"||j.type==="FunctionDeclaration"||j.type==="FunctionExpression")&&(this.skip(),R.exit(j))},leave:R.exit}),g.push(...R.scopes[0].defined)}for(T of b.specifiers)T.exported.type==="Identifier"?g.push(T.exported.name):(T.exported.value,g.push(T.exported.value))}P(b)}function P(b){let R,j;if(n==="function-body")if(b.type==="ImportDeclaration"||b.type==="ExportAllDeclaration"||b.type==="ExportNamedDeclaration"&&b.source){b.source;const Y={type:"ImportExpression",source:b.source};Nn(b,Y),j={type:"AwaitExpression",argument:Y},(b.type==="ImportDeclaration"||b.type==="ExportNamedDeclaration")&&b.specifiers.length===0?R={type:"ExpressionStatement",expression:j}:R={type:"VariableDeclaration",kind:"const",declarations:b.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++E},init:j}]:$l(b.specifiers,j)}}else if(b.declaration)R=b.declaration;else{const Y=[];for(const G of b.specifiers)G.exported.type==="Identifier"&&G.local.type==="Identifier"&&G.local.name!==G.exported.name&&Y.push({type:"VariableDeclarator",id:G.exported,init:G.local});Y.length>0&&(R={type:"VariableDeclaration",kind:"const",declarations:Y})}else R=b;R&&m.push(R)}};function c(h,f,g){let E={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};g||(E={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:E,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let w=h||{type:"Identifier",name:"undefined"};w.type==="JSXFragment"&&w.children.length===1&&w.children[0].type==="JSXElement"&&(w=w.children[0]);let C=!1;gi(w,{enter(A){if(A.type==="ArrowFunctionExpression"||A.type==="FunctionDeclaration"||A.type==="FunctionExpression")return this.skip();(A.type==="AwaitExpression"||A.type==="ForOfStatement"&&A.await)&&(C=!0)}});const T={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:E}]}};return[{type:"FunctionDeclaration",async:C,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:w}]}},f==="program"?{type:"ExportDefaultDeclaration",declaration:T}:T]}}function rs(e,t,r){var n;(n=e.comments)==null||n.unshift({type:"Block",value:t+" "+r,data:{_mdxIsPragmaComment:!0}})}function D8(e){return{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:Dn(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:Dn(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:Dn(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},e]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}}function O8(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:Dn(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export … from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null}]}function Rh(e){let t=-1,r;for(;++t<e.length;){const n=e[t];r=r?{type:"BinaryExpression",left:r,operator:"+",right:n}:n}return r}function M8(e){const{development:t,outputFormat:r,providerImportSource:n}=e;return function(i,a){const s=qp(),o=[];let l=!1,c=!1;if(gi(i,{enter(h){s.enter(h),(h.type==="FunctionDeclaration"||h.type==="FunctionExpression"||h.type==="ArrowFunctionExpression")&&(o.push({components:[],idToInvalidComponentName:new Map,node:h,objects:[],references:{},tags:[]}),ci(h,"MDXContent")&&!so(s.scopes,"MDXLayout")&&o[0].components.push("MDXLayout"));const f=o[0];if(!(!f||!ci(f.node,"_createMdxContent")&&!n)&&h.type==="JSXElement"){let g=h.openingElement.name;if(g.type==="JSXMemberExpression"){const m=[];for(;g.type==="JSXMemberExpression";)m.unshift(g.property.name),g=g.object;m.unshift(g.name);const E=m.join("."),w=g.name,C=so(s.scopes,w);!Object.hasOwn(f.references,E)&&(!C||o.length===1&&o[0].node.type==="FunctionDeclaration"&&ci(o[0].node,"_createMdxContent"))&&(f.references[E]={component:!0,node:h}),!f.objects.includes(w)&&!C&&f.objects.push(w)}else if(g.type!=="JSXNamespacedName"){if(Yr(g.name)&&!/^[a-z]/.test(g.name)){const m=g.name;so(s.scopes,m)||(m!=="MDXLayout"&&!Object.hasOwn(f.references,m)&&(f.references[m]={component:!0,node:h}),f.components.includes(m)||f.components.push(m))}else if(!(h.data&&h.data._mdxExplicitJsx)){const m=g.name;f.tags.includes(m)||f.tags.push(m);let E=["_components",m];if(Yr(m)===!1){let w=f.idToInvalidComponentName.get(m);w===void 0&&(w=`_component${f.idToInvalidComponentName.size}`,f.idToInvalidComponentName.set(m,w)),E=[w]}h.openingElement.name=Lh(E),h.closingElement&&(h.closingElement.name=Lh(E))}}}},leave(h){s.exit(h);const f=[],g=[],m=[],E=[];if(h.type==="FunctionDeclaration"||h.type==="FunctionExpression"||h.type==="ArrowFunctionExpression"){const w=o[o.length-1];let C;for(C of w.tags.sort())f.push({type:"Property",kind:"init",key:Yr(C)?{type:"Identifier",name:C}:{type:"Literal",value:C},value:{type:"Literal",value:C},method:!1,shorthand:!1,computed:!1});g.push(...w.components);for(C of w.objects)g.includes(C)||g.push(C);g.sort();const T=[];if(f.length>0||g.length>0||w.idToInvalidComponentName.size>0){if(n&&(l=!0,m.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(ci(w.node,"MDXContent")||ci(w.node,"_createMdxContent"))&&m.push(Dn(["props","components"])),f.length>0||m.length>1)for(const R of m)f.push({type:"SpreadElement",argument:R});let P=f.length>0?{type:"ObjectExpression",properties:f}:{type:"LogicalExpression",operator:"||",left:m[0],right:{type:"ObjectExpression",properties:[]}},b;if(g.length>0&&(b={type:"ObjectPattern",properties:g.map(function(R){return{type:"Property",kind:"init",key:{type:"Identifier",name:R==="MDXLayout"?"wrapper":R},value:{type:"Identifier",name:R},method:!1,shorthand:R!=="MDXLayout",computed:!1}})}),w.tags.length>0&&(E.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:P}),P={type:"Identifier",name:"_components"}),ci(w.node,"_createMdxContent"))for(const[R,j]of[...w.idToInvalidComponentName].sort(function([Y],[G]){return Y.localeCompare(G)}))E.push({type:"VariableDeclarator",id:{type:"Identifier",name:j},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:R},computed:!0,optional:!1}});b&&E.push({type:"VariableDeclarator",id:b,init:P}),E.length>0&&T.push({type:"VariableDeclaration",kind:"const",declarations:E})}let A;for(A in w.references)if(Object.hasOwn(w.references,A)){const P=A.split(".");let b=0;for(;++b<P.length;){const R=P.slice(0,b).join(".");Object.hasOwn(w.references,R)||(w.references[R]={component:!1,node:w.references[A].node})}}const N=Object.keys(w.references).sort();let H=-1;for(;++H<N.length;){const P=N[H],b=w.references[P],R=Tr(cn(b.node)),j=[{type:"Literal",value:P},{type:"Literal",value:b.component}];c=!0,t&&R&&j.push({type:"Literal",value:R}),T.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:Dn(P.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:j,optional:!1}},alternate:void 0})}T.length>0&&(h.body.type!=="BlockStatement"&&(h.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:h.body}]}),h.body.body.unshift(...T)),o.pop()}}}),l&&n&&i.body.unshift(B8(n,r)),c){const h=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],f=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(h.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:Rh([{type:"Literal",value:"\nIt’s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(a.path?"` in `"+a.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),f.push({type:"Identifier",name:"place"})),i.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:f,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[Rh(h)]}}]}})}r==="function-body"&&i.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function B8(e,t){const r=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return t==="function-body"?{type:"VariableDeclaration",kind:"const",declarations:$l(r,Dn(["arguments",0]))}:{type:"ImportDeclaration",specifiers:r,attributes:[],source:{type:"Literal",value:e}}}function ci(e,t){return!!(e&&"id"in e&&e.id&&e.id.name===t)}function so(e,t){let r=e.length;for(;r--;)if(e[r].defined.includes(t))return!0;return!1}function F8(){return function(e){Da(e,"raw",function(t,r,n){if(n&&typeof r=="number")return n.children.splice(r,1),r})}}const H8=/\s+/g,z8=/[\t\n\v\f\r ]+/g;function U8(e,t){t?typeof t=="string"&&(t={style:t}):t={};const r=t.preserveLineEndings?V8:q8;return String(e).replace(t.style==="html"?z8:H8,t.trim?j8(r):r)}function V8(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function q8(){return" "}function j8(e){return t;function t(r,n,i){return n===0||n+r.length===i.length?"":e(r)}}function G8(){return function(e){Da(e,function(t,r,n){let i=-1,a=!0,s=!1;if(n&&typeof r=="number"&&t.type==="paragraph"){const o=t.children;for(;++i<o.length;){const l=o[i];if(l.type==="mdxJsxTextElement"||l.type==="mdxTextExpression")s=!0;else if(!(l.type==="text"&&U8(l.value,{style:"html",trim:!0})==="")){a=!1;break}}if(a&&s){i=-1;const l=[];for(;++i<o.length;){const c=o[i];c.type==="mdxJsxTextElement"&&(c.type="mdxJsxFlowElement"),c.type==="mdxTextExpression"&&(c.type="mdxFlowExpression"),c.type==="text"&&/^[\t\r\n ]+$/.test(String(c.value))||l.push(c)}return n.children.splice(r,1,...l),r}}if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement"){const o=t.data||(t.data={});o._mdxExplicitJsx=!0}(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression"||t.type==="mdxjsEsm")&&t.data&&t.data.estree&&gi(t.data.estree,{enter(o){if(o.type==="JSXElement"){const l=o.data||(o.data={});l._mdxExplicitJsx=!0}}})})}}const $8=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"];let Ph=!1;function W8(e){const t=e||{};t.format,(t.jsxRuntime==="classic"||t.pragma||t.pragmaFrag||t.pragmaImportSource)&&!Ph&&(Ph=!0,console.warn("Unexpected deprecated option `jsxRuntime: 'classic'`, `pragma`, `pragmaFrag`, or `pragmaImportSource`; see <https://mdxjs.com/migrating/v3/> on how to migrate"));const r=_8().use(_x);t.format!=="md"&&r.use(j5);const n=t.remarkRehypeOptions||{};return r.use(G8).use(t.remarkPlugins||[]).use(y8,{...n,allowDangerousHtml:!0,passThrough:[...n.passThrough||[],...$8]}).use(t.rehypePlugins||[]),t.format==="md"&&r.use(F8),r.use(I3,t).use(P8,t).use(M8,t),t.jsx||r.use(h4,t).use(N8,t),r.use(V4).use(q4,t).use(t.recmaPlugins||[]),r}function Y8(e,t){const{file:r,options:n}=e4(e,t);return W8(n).process(r)}function X8(e){const{Fragment:t,baseUrl:r,development:n,jsx:i,jsxDEV:a,jsxs:s,useMDXComponents:o,...l}=e||{};if(!t)throw new Error("Expected `Fragment` given to `evaluate`");if(n){if(!a)throw new Error("Expected `jsxDEV` given to `evaluate`")}else{if(!i)throw new Error("Expected `jsx` given to `evaluate`");if(!s)throw new Error("Expected `jsxs` given to `evaluate`")}return{compiletime:{...l,development:n,outputFormat:"function-body",providerImportSource:o?"#":void 0},runtime:{Fragment:t,baseUrl:r,jsx:i,jsxDEV:a,jsxs:s,useMDXComponents:o}}}const J8=Object.getPrototypeOf(jp).constructor;async function jp(e,t){return new J8(String(e))(t)}async function Q8(e,t){const{compiletime:r,runtime:n}=X8(t);return jp(await Y8(e,r),n)}function K8(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Z8(e,t,r){const i=Pa((r||{}).ignore||[]),a=ey(t);let s=-1;for(;++s<a.length;)jl(e,"text",o);function o(c,h){let f=-1,g;for(;++f<h.length;){const m=h[f],E=g?g.children:void 0;if(i(m,E?E.indexOf(m):void 0,g))return;g=m}if(g)return l(c,h)}function l(c,h){const f=h[h.length-1],g=a[s][0],m=a[s][1];let E=0;const C=f.children.indexOf(c);let T=!1,A=[];g.lastIndex=0;let N=g.exec(c.value);for(;N;){const H=N.index,P={index:N.index,input:N.input,stack:[...h,c]};let b=m(...N,P);if(typeof b=="string"&&(b=b.length>0?{type:"text",value:b}:void 0),b===!1?g.lastIndex=H+1:(E!==H&&A.push({type:"text",value:c.value.slice(E,H)}),Array.isArray(b)?A.push(...b):b&&A.push(b),E=H+N[0].length,T=!0),!g.global)break;N=g.exec(c.value)}return T?(E<c.value.length&&A.push({type:"text",value:c.value.slice(E)}),f.children.splice(C,1,...A)):A=[c],C+A.length}}function ey(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const i=r[n];t.push([ty(i[0]),ry(i[1])])}return t}function ty(e){return typeof e=="string"?new RegExp(K8(e),"g"):e}function ry(e){return typeof e=="function"?e:function(){return e}}const uo="phrasing",oo=["autolink","link","image","label"];function ny(){return{transforms:[cy],enter:{literalAutolink:ay,literalAutolinkEmail:lo,literalAutolinkHttp:lo,literalAutolinkWww:lo},exit:{literalAutolink:ly,literalAutolinkEmail:oy,literalAutolinkHttp:sy,literalAutolinkWww:uy}}}function iy(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:uo,notInConstruct:oo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:uo,notInConstruct:oo},{character:":",before:"[ps]",after:"\\/",inConstruct:uo,notInConstruct:oo}]}}function ay(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function lo(e){this.config.enter.autolinkProtocol.call(this,e)}function sy(e){this.config.exit.autolinkProtocol.call(this,e)}function uy(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 oy(e){this.config.exit.autolinkEmail.call(this,e)}function ly(e){this.exit(e)}function cy(e){Z8(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,hy],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),fy]],{ignore:["link","linkReference"]})}function hy(e,t,r,n,i){let a="";if(!Gp(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!dy(r)))return!1;const s=py(r+n);if(!s[0])return!1;const o={type:"link",title:null,url:a+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function fy(e,t,r,n){return!Gp(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function dy(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 py(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const i=Ei(e,"(");let a=Ei(e,")");for(;n!==-1&&i>a;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[e,r]}function Gp(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||$t(r)||mu(r))&&(!t||r!==47)}$p.peek=Ty;function my(){this.buffer()}function gy(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function by(){this.buffer()}function xy(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function yy(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Pr(this.sliceSerialize(e)).toLowerCase(),r.label=t}function vy(e){this.exit(e)}function Ey(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Pr(this.sliceSerialize(e)).toLowerCase(),r.label=t}function ky(e){this.exit(e)}function Ty(){return"["}function $p(e,t,r,n){const i=r.createTracker(n);let a=i.move("[^");const s=r.enter("footnoteReference"),o=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),o(),s(),a+=i.move("]"),a}function wy(){return{enter:{gfmFootnoteCallString:my,gfmFootnoteCall:gy,gfmFootnoteDefinitionLabelString:by,gfmFootnoteDefinition:xy},exit:{gfmFootnoteCallString:yy,gfmFootnoteCall:vy,gfmFootnoteDefinitionLabelString:Ey,gfmFootnoteDefinition:ky}}}function Sy(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:$p},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,s){const o=a.createTracker(s);let l=o.move("[^");const c=a.enter("footnoteDefinition"),h=a.enter("label");return l+=o.move(a.safe(a.associationId(n),{before:l,after:"]"})),h(),l+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),l+=o.move((t?`
53
+ `:" ")+a.indentLines(a.containerFlow(n,o.current()),t?Wp:_y))),c(),l}}function _y(e,t,r){return t===0?e:Wp(e,t,r)}function Wp(e,t,r){return(r?"":" ")+e}const Cy=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Yp.peek=Ry;function Ay(){return{canContainEols:["delete"],enter:{strikethrough:Ny},exit:{strikethrough:Ly}}}function Iy(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Cy}],handlers:{delete:Yp}}}function Ny(e){this.enter({type:"delete",children:[]},e)}function Ly(e){this.exit(e)}function Yp(e,t,r,n){const i=r.createTracker(n),a=r.enter("strikethrough");let s=i.move("~~");return s+=r.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),a(),s}function Ry(){return"~"}function Py(e){return e.length}function Dy(e,t){const r=t||{},n=(r.align||[]).concat(),i=r.stringLength||Py,a=[],s=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const w=[],C=[];let T=-1;for(e[h].length>c&&(c=e[h].length);++T<e[h].length;){const A=Oy(e[h][T]);if(r.alignDelimiters!==!1){const N=i(A);C[T]=N,(l[T]===void 0||N>l[T])&&(l[T]=N)}w.push(A)}s[h]=w,o[h]=C}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<c;)a[f]=Dh(n[f]);else{const w=Dh(n);for(;++f<c;)a[f]=w}f=-1;const g=[],m=[];for(;++f<c;){const w=a[f];let C="",T="";w===99?(C=":",T=":"):w===108?C=":":w===114&&(T=":");let A=r.alignDelimiters===!1?1:Math.max(1,l[f]-C.length-T.length);const N=C+"-".repeat(A)+T;r.alignDelimiters!==!1&&(A=C.length+A+T.length,A>l[f]&&(l[f]=A),m[f]=A),g[f]=N}s.splice(1,0,g),o.splice(1,0,m),h=-1;const E=[];for(;++h<s.length;){const w=s[h],C=o[h];f=-1;const T=[];for(;++f<c;){const A=w[f]||"";let N="",H="";if(r.alignDelimiters!==!1){const P=l[f]-(C[f]||0),b=a[f];b===114?N=" ".repeat(P):b===99?P%2?(N=" ".repeat(P/2+.5),H=" ".repeat(P/2-.5)):(N=" ".repeat(P/2),H=N):H=" ".repeat(P)}r.delimiterStart!==!1&&!f&&T.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&A==="")&&(r.delimiterStart!==!1||f)&&T.push(" "),r.alignDelimiters!==!1&&T.push(N),T.push(A),r.alignDelimiters!==!1&&T.push(H),r.padding!==!1&&T.push(" "),(r.delimiterEnd!==!1||f!==c-1)&&T.push("|")}E.push(r.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return E.join(`
54
+ `)}function Oy(e){return e==null?"":String(e)}function Dh(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 My(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),By);return i(),s}function By(e,t,r){return">"+(r?"":" ")+e}function Fy(e,t){return Oh(e,t.inConstruct,!0)&&!Oh(e,t.notInConstruct,!1)}function Oh(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function Mh(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
55
+ `&&Fy(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
56
+ `}function Xp(e,t){const r=String(e);let n=r.indexOf(t),i=n,a=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===i?++a>s&&(s=a):a=1,i=n+t.length,n=r.indexOf(t,i);return s}function Hy(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 zy(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 Uy(e,t,r,n){const i=zy(r),a=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(Hy(e,r)){const f=r.enter("codeIndented"),g=r.indentLines(a,Vy);return f(),g}const o=r.createTracker(n),l=i.repeat(Math.max(Xp(a,i)+1,3)),c=r.enter("codeFenced");let h=o.move(l);if(e.lang){const f=r.enter(`codeFencedLang${s}`);h+=o.move(r.safe(e.lang,{before:h,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=r.enter(`codeFencedMeta${s}`);h+=o.move(" "),h+=o.move(r.safe(e.meta,{before:h,after:`
57
+ `,encode:["`"],...o.current()})),f()}return h+=o.move(`
58
+ `),a&&(h+=o.move(a+`
59
+ `)),h+=o.move(l),c(),h}function Vy(e,t,r){return(r?"":" ")+e}function Wl(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 qy(e,t,r,n){const i=Wl(r),a=i==='"'?"Quote":"Apostrophe",s=r.enter("definition");let o=r.enter("label");const l=r.createTracker(n);let c=l.move("[");return c+=l.move(r.safe(r.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=r.enter("destinationRaw"),c+=l.move(r.safe(e.url,{before:c,after:e.title?" ":`
60
+ `,...l.current()}))),o(),e.title&&(o=r.enter(`title${a}`),c+=l.move(" "+i),c+=l.move(r.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),s(),c}function jy(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 va(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ds(e,t,r){const n=ki(e),i=ki(t);return n===void 0?i===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Jp.peek=Gy;function Jp(e,t,r,n){const i=jy(r),a=r.enter("emphasis"),s=r.createTracker(n),o=s.move(i);let l=s.move(r.containerPhrasing(e,{after:i,before:o,...s.current()}));const c=l.charCodeAt(0),h=Ds(n.before.charCodeAt(n.before.length-1),c,i);h.inside&&(l=va(c)+l.slice(1));const f=l.charCodeAt(l.length-1),g=Ds(n.after.charCodeAt(0),f,i);g.inside&&(l=l.slice(0,-1)+va(f));const m=s.move(i);return a(),r.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},o+l+m}function Gy(e,t,r){return r.options.emphasis||"*"}function $y(e,t){let r=!1;return Da(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Xo}),!!((!e.depth||e.depth<3)&&Hl(e)&&(t.options.setext||r))}function Wy(e,t,r,n){const i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if($y(e,r)){const h=r.enter("headingSetext"),f=r.enter("phrasing"),g=r.containerPhrasing(e,{...a.current(),before:`
61
+ `,after:`
62
+ `});return f(),h(),g+`
63
+ `+(i===1?"=":"-").repeat(g.length-(Math.max(g.lastIndexOf("\r"),g.lastIndexOf(`
64
+ `))+1))}const s="#".repeat(i),o=r.enter("headingAtx"),l=r.enter("phrasing");a.move(s+" ");let c=r.containerPhrasing(e,{before:"# ",after:`
65
+ `,...a.current()});return/^[\t ]/.test(c)&&(c=va(c.charCodeAt(0))+c.slice(1)),c=c?s+" "+c:s,r.options.closeAtx&&(c+=" "+s),l(),o(),c}Qp.peek=Yy;function Qp(e){return e.value||""}function Yy(){return"<"}Kp.peek=Xy;function Kp(e,t,r,n){const i=Wl(r),a=i==='"'?"Quote":"Apostrophe",s=r.enter("image");let o=r.enter("label");const l=r.createTracker(n);let c=l.move("![");return c+=l.move(r.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=r.enter("destinationRaw"),c+=l.move(r.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=r.enter(`title${a}`),c+=l.move(" "+i),c+=l.move(r.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),s(),c}function Xy(){return"!"}Zp.peek=Jy;function Zp(e,t,r,n){const i=e.referenceType,a=r.enter("imageReference");let s=r.enter("label");const o=r.createTracker(n);let l=o.move("![");const c=r.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();const h=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),{before:l,after:"]",...o.current()});return s(),r.stack=h,a(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Jy(){return"!"}e1.peek=Qy;function e1(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){const s=r.unsafe[a],o=r.compilePattern(s);let l;if(s.atBreak)for(;l=o.exec(n);){let c=l.index;n.charCodeAt(c)===10&&n.charCodeAt(c-1)===13&&c--,n=n.slice(0,c)+" "+n.slice(l.index+1)}}return i+n+i}function Qy(){return"`"}function t1(e,t){const r=Hl(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}r1.peek=Ky;function r1(e,t,r,n){const i=Wl(r),a=i==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let o,l;if(t1(e,r)){const h=r.stack;r.stack=[],o=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(e,{before:f,after:">",...s.current()})),f+=s.move(">"),o(),r.stack=h,f}o=r.enter("link"),l=r.enter("label");let c=s.move("[");return c+=s.move(r.containerPhrasing(e,{before:c,after:"](",...s.current()})),c+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(r.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(l=r.enter("destinationRaw"),c+=s.move(r.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=r.enter(`title${a}`),c+=s.move(" "+i),c+=s.move(r.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),l()),c+=s.move(")"),o(),c}function Ky(e,t,r){return t1(e,r)?"<":"["}n1.peek=Zy;function n1(e,t,r,n){const i=e.referenceType,a=r.enter("linkReference");let s=r.enter("label");const o=r.createTracker(n);let l=o.move("[");const c=r.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),s();const h=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),{before:l,after:"]",...o.current()});return s(),r.stack=h,a(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Zy(){return"["}function Yl(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 e7(e){const t=Yl(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function t7(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 i1(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 r7(e,t,r,n){const i=r.enter("list"),a=r.bulletCurrent;let s=e.ordered?t7(r):Yl(r);const o=e.ordered?s==="."?")":".":e7(r);let l=t&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&h&&(!h.children||!h.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),i1(r)===s&&h){let f=-1;for(;++f<e.children.length;){const g=e.children[f];if(g&&g.type==="listItem"&&g.children&&g.children[0]&&g.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=o),r.bulletCurrent=s;const c=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=a,i(),c}function n7(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 i7(e,t,r,n){const i=n7(r);let a=r.bulletCurrent||Yl(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let s=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const o=r.createTracker(n);o.move(a+" ".repeat(s-a.length)),o.shift(s);const l=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,o.current()),h);return l(),c;function h(f,g,m){return g?(m?"":" ".repeat(s))+f:(m?a:a+" ".repeat(s-a.length))+f}}function a7(e,t,r,n){const i=r.enter("paragraph"),a=r.enter("phrasing"),s=r.containerPhrasing(e,n);return a(),i(),s}const s7=Pa(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function u7(e,t,r,n){return(e.children.some(function(s){return s7(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function o7(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}a1.peek=l7;function a1(e,t,r,n){const i=o7(r),a=r.enter("strong"),s=r.createTracker(n),o=s.move(i+i);let l=s.move(r.containerPhrasing(e,{after:i,before:o,...s.current()}));const c=l.charCodeAt(0),h=Ds(n.before.charCodeAt(n.before.length-1),c,i);h.inside&&(l=va(c)+l.slice(1));const f=l.charCodeAt(l.length-1),g=Ds(n.after.charCodeAt(0),f,i);g.inside&&(l=l.slice(0,-1)+va(f));const m=s.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},o+l+m}function l7(e,t,r){return r.options.strong||"*"}function c7(e,t,r,n){return r.safe(e.value,n)}function h7(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 f7(e,t,r){const n=(i1(r)+(r.options.ruleSpaces?" ":"")).repeat(h7(r));return r.options.ruleSpaces?n.slice(0,-1):n}const s1={blockquote:My,break:Mh,code:Uy,definition:qy,emphasis:Jp,hardBreak:Mh,heading:Wy,html:Qp,image:Kp,imageReference:Zp,inlineCode:e1,link:r1,linkReference:n1,list:r7,listItem:i7,paragraph:a7,root:u7,strong:a1,text:c7,thematicBreak:f7};function d7(){return{enter:{table:p7,tableData:Bh,tableHeader:Bh,tableRow:g7},exit:{codeText:b7,table:m7,tableData:co,tableHeader:co,tableRow:co}}}function p7(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function m7(e){this.exit(e),this.data.inTable=void 0}function g7(e){this.enter({type:"tableRow",children:[]},e)}function co(e){this.exit(e)}function Bh(e){this.enter({type:"tableCell",children:[]},e)}function b7(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,x7));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function x7(e,t){return t==="|"?t:e}function y7(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
66
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:g,table:s,tableCell:l,tableRow:o}};function s(m,E,w,C){return c(h(m,w,C),m.align)}function o(m,E,w,C){const T=f(m,w,C),A=c([T]);return A.slice(0,A.indexOf(`
67
+ `))}function l(m,E,w,C){const T=w.enter("tableCell"),A=w.enter("phrasing"),N=w.containerPhrasing(m,{...C,before:a,after:a});return A(),T(),N}function c(m,E){return Dy(m,{align:E,alignDelimiters:n,padding:r,stringLength:i})}function h(m,E,w){const C=m.children;let T=-1;const A=[],N=E.enter("table");for(;++T<C.length;)A[T]=f(C[T],E,w);return N(),A}function f(m,E,w){const C=m.children;let T=-1;const A=[],N=E.enter("tableRow");for(;++T<C.length;)A[T]=l(C[T],m,E,w);return N(),A}function g(m,E,w){let C=s1.inlineCode(m,E,w);return w.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function v7(){return{exit:{taskListCheckValueChecked:Fh,taskListCheckValueUnchecked:Fh,paragraph:k7}}}function E7(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:T7}}}function Fh(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function k7(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const i=t.children;let a=-1,s;for(;++a<i.length;){const o=i[a];if(o.type==="paragraph"){s=o;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function T7(e,t,r,n){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);a&&o.move(s);let l=s1.listItem(e,t,r,{...n,...o.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(h){return h+s}}function w7(){return[ny(),wy(),Ay(),d7(),v7()]}function S7(e){return{extensions:[iy(),Sy(e),Iy(),y7(e),E7()]}}const _7={tokenize:R7,partial:!0},u1={tokenize:P7,partial:!0},o1={tokenize:D7,partial:!0},l1={tokenize:O7,partial:!0},C7={tokenize:M7,partial:!0},c1={name:"wwwAutolink",tokenize:N7,previous:f1},h1={name:"protocolAutolink",tokenize:L7,previous:d1},En={name:"emailAutolink",tokenize:I7,previous:p1},Zr={};function A7(){return{text:Zr}}let Wn=48;for(;Wn<123;)Zr[Wn]=En,Wn++,Wn===58?Wn=65:Wn===91&&(Wn=97);Zr[43]=En;Zr[45]=En;Zr[46]=En;Zr[95]=En;Zr[72]=[En,h1];Zr[104]=[En,h1];Zr[87]=[En,c1];Zr[119]=[En,c1];function I7(e,t,r){const n=this;let i,a;return s;function s(f){return!Ko(f)||!p1.call(n,n.previous)||Xl(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return Ko(f)?(e.consume(f),o):f===64?(e.consume(f),l):r(f)}function l(f){return f===46?e.check(C7,h,c)(f):f===45||f===95||Ut(f)?(a=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),i=!0,l}function h(f){return a&&i&&Ht(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function N7(e,t,r){const n=this;return i;function i(s){return s!==87&&s!==119||!f1.call(n,n.previous)||Xl(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(_7,e.attempt(u1,e.attempt(o1,a),r),r)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function L7(e,t,r){const n=this;let i="",a=!1;return s;function s(f){return(f===72||f===104)&&d1.call(n,n.previous)&&!Xl(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),o):r(f)}function o(f){if(Ht(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const g=i.toLowerCase();if(g==="http"||g==="https")return e.consume(f),l}return r(f)}function l(f){return f===47?(e.consume(f),a?c:(a=!0,l)):r(f)}function c(f){return f===null||Ls(f)||Ve(f)||$t(f)||mu(f)?r(f):e.attempt(u1,e.attempt(o1,h),r)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function R7(e,t,r){let n=0;return i;function i(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),i):s===46&&n===3?(e.consume(s),a):r(s)}function a(s){return s===null?r(s):t(s)}}function P7(e,t,r){let n,i,a;return s;function s(c){return c===46||c===95?e.check(l1,l,o)(c):c===null||Ve(c)||$t(c)||c!==45&&mu(c)?l(c):(a=!0,e.consume(c),s)}function o(c){return c===95?n=!0:(i=n,n=void 0),e.consume(c),s}function l(c){return i||n||!a?r(c):t(c)}}function D7(e,t){let r=0,n=0;return i;function i(s){return s===40?(r++,e.consume(s),i):s===41&&n<r?a(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(l1,t,a)(s):s===null||Ve(s)||$t(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&n++,e.consume(s),i}}function O7(e,t,r){return n;function n(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),n):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||Ve(o)||$t(o)?t(o):r(o)}function i(o){return o===null||o===40||o===91||Ve(o)||$t(o)?t(o):n(o)}function a(o){return Ht(o)?s(o):r(o)}function s(o){return o===59?(e.consume(o),n):Ht(o)?(e.consume(o),s):r(o)}}function M7(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return Ut(a)?r(a):t(a)}}function f1(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ve(e)}function d1(e){return!Ht(e)}function p1(e){return!(e===47||Ko(e))}function Ko(e){return e===43||e===45||e===46||e===95||Ut(e)}function Xl(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const B7={tokenize:G7,partial:!0};function F7(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:V7,continuation:{tokenize:q7},exit:j7}},text:{91:{name:"gfmFootnoteCall",tokenize:U7},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:H7,resolveTo:z7}}}}function H7(e,t,r){const n=this;let i=n.events.length;const a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;i--;){const l=n.events[i][1];if(l.type==="labelImage"){s=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(!s||!s._balanced)return r(l);const c=Pr(n.sliceSerialize({start:s.end,end:n.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?r(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function z7(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...o),e}function U7(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a=0,s;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?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(a>999||f===93&&!s||f===null||f===91||Ve(f))return r(f);if(f===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return i.includes(Pr(n.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return Ve(f)||(s=!0),a++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),a++,c):c(f)}}function V7(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0,o;return l;function l(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):r(E)}function h(E){if(s>999||E===93&&!o||E===null||E===91||Ve(E))return r(E);if(E===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return a=Pr(n.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return Ve(E)||(o=!0),s++,e.consume(E),E===92?f:h}function f(E){return E===91||E===92||E===93?(e.consume(E),s++,h):h(E)}function g(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),i.includes(a)||i.push(a),De(e,m,"gfmFootnoteDefinitionWhitespace")):r(E)}function m(E){return t(E)}}function q7(e,t,r){return e.check(Pi,t,e.attempt(B7,t,r))}function j7(e){e.exit("gfmFootnoteDefinition")}function G7(e,t,r){const n=this;return De(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(a):r(a)}}function $7(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(s,o){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},f={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},g=[["enter",h,o],["enter",s[c][1],o],["exit",s[c][1],o],["enter",f,o]],m=o.parser.constructs.insideSpan.null;m&&or(g,g.length,0,gu(m,s.slice(c+1,l),o)),or(g,g.length,0,[["exit",f,o],["enter",s[l][1],o],["exit",s[l][1],o],["exit",h,o]]),or(s,c-1,l-c+3,g),l=c+g.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function a(s,o,l){const c=this.previous,h=this.events;let f=0;return g;function g(E){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(E):(s.enter("strikethroughSequenceTemporary"),m(E))}function m(E){const w=ki(c);if(E===126)return f>1?l(E):(s.consume(E),f++,m);if(f<2&&!r)return l(E);const C=s.exit("strikethroughSequenceTemporary"),T=ki(E);return C._open=!T||T===2&&!!w,C._close=!w||w===2&&!!T,o(E)}}}class W7{constructor(){this.map=[]}add(t,r,n){Y7(this,t,r,n)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(const a of i)t.push(a);i=n.pop()}this.map.length=0}}function Y7(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function X7(e,t){let r=!1;const n=[];for(;t<e.length;){const i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function J7(){return{flow:{null:{name:"table",tokenize:Q7,resolveAll:K7}}}}function Q7(e,t,r){const n=this;let i=0,a=0,s;return o;function o(G){let re=n.events.length-1;for(;re>-1;){const se=n.events[re][1].type;if(se==="lineEnding"||se==="linePrefix")re--;else break}const Q=re>-1?n.events[re][1].type:null,oe=Q==="tableHead"||Q==="tableRow"?b:l;return oe===b&&n.parser.lazy[n.now().line]?r(G):oe(G)}function l(G){return e.enter("tableHead"),e.enter("tableRow"),c(G)}function c(G){return G===124||(s=!0,a+=1),h(G)}function h(G){return G===null?r(G):xe(G)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(G),e.exit("lineEnding"),m):r(G):Re(G)?De(e,h,"whitespace")(G):(a+=1,s&&(s=!1,i+=1),G===124?(e.enter("tableCellDivider"),e.consume(G),e.exit("tableCellDivider"),s=!0,h):(e.enter("data"),f(G)))}function f(G){return G===null||G===124||Ve(G)?(e.exit("data"),h(G)):(e.consume(G),G===92?g:f)}function g(G){return G===92||G===124?(e.consume(G),f):f(G)}function m(G){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(G):(e.enter("tableDelimiterRow"),s=!1,Re(G)?De(e,E,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):E(G))}function E(G){return G===45||G===58?C(G):G===124?(s=!0,e.enter("tableCellDivider"),e.consume(G),e.exit("tableCellDivider"),w):P(G)}function w(G){return Re(G)?De(e,C,"whitespace")(G):C(G)}function C(G){return G===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(G),e.exit("tableDelimiterMarker"),T):G===45?(a+=1,T(G)):G===null||xe(G)?H(G):P(G)}function T(G){return G===45?(e.enter("tableDelimiterFiller"),A(G)):P(G)}function A(G){return G===45?(e.consume(G),A):G===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(G),e.exit("tableDelimiterMarker"),N):(e.exit("tableDelimiterFiller"),N(G))}function N(G){return Re(G)?De(e,H,"whitespace")(G):H(G)}function H(G){return G===124?E(G):G===null||xe(G)?!s||i!==a?P(G):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(G)):P(G)}function P(G){return r(G)}function b(G){return e.enter("tableRow"),R(G)}function R(G){return G===124?(e.enter("tableCellDivider"),e.consume(G),e.exit("tableCellDivider"),R):G===null||xe(G)?(e.exit("tableRow"),t(G)):Re(G)?De(e,R,"whitespace")(G):(e.enter("data"),j(G))}function j(G){return G===null||G===124||Ve(G)?(e.exit("data"),R(G)):(e.consume(G),G===92?Y:j)}function Y(G){return G===92||G===124?(e.consume(G),j):j(G)}}function K7(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,l=0,c,h,f;const g=new W7;for(;++r<e.length;){const m=e[r],E=m[1];m[0]==="enter"?E.type==="tableHead"?(o=!1,l!==0&&(Hh(g,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},g.add(r,0,[["enter",c,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(n=!0,f=void 0,a=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},g.add(r,0,[["enter",h,t]])),i=E.type==="tableDelimiterRow"?2:h?3:1):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],f=ns(g,t,a,i,void 0,f),a=[0,0,0,0]),s[2]=r)):E.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],f=ns(g,t,a,i,void 0,f)),a=s,s=[a[1],r,0,0])):E.type==="tableHead"?(o=!0,l=r):E.type==="tableRow"||E.type==="tableDelimiterRow"?(l=r,a[1]!==0?(s[0]=s[1],f=ns(g,t,a,i,r,f)):s[1]!==0&&(f=ns(g,t,s,i,r,f)),i=0):i&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&Hh(g,t,l,c,h),g.consume(t.events),r=-1;++r<t.events.length;){const m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=X7(t.events,r))}return e}function ns(e,t,r,n,i,a){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},fi(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));const l=fi(t.events,r[1]);if(a={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){const c=fi(t.events,r[2]),h=fi(t.events,r[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(r[2],0,[["enter",f,t]]),n!==2){const g=t.events[r[2]],m=t.events[r[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",r[3]>r[2]+1){const E=r[2]+1,w=r[3]-r[2]-1;e.add(E,w,[])}}e.add(r[3]+1,0,[["exit",f,t]])}return i!==void 0&&(a.end=Object.assign({},fi(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function Hh(e,t,r,n,i){const a=[],s=fi(t.events,r);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),n.end=Object.assign({},s),a.push(["exit",n,t]),e.add(r+1,0,a)}function fi(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const Z7={name:"tasklistCheck",tokenize:tv};function ev(){return{text:{91:Z7}}}function tv(e,t,r){const n=this;return i;function i(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return Ve(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),s):r(l)}function s(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(l)}function o(l){return xe(l)?t(l):Re(l)?e.check({tokenize:rv},t,r)(l):r(l)}}function rv(e,t,r){return De(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function nv(e){return Fl([A7(),F7(),$7(e),J7(),ev()])}const iv={};function av(e){const t=this,r=e||iv,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(nv(r)),a.push(w7()),s.push(S7(r))}function sv(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(l){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h=this.stack[this.stack.length-1];h.type,this.exit(l),h.value=c;const f=h.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function a(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){const c=this.resume(),h=this.stack[this.stack.length-1];h.type,this.exit(l),h.value=c,h.data.hChildren.push({type:"text",value:c})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function uv(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
68
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(a,s,o,l){const c=a.value||"",h=o.createTracker(l),f="$".repeat(Math.max(Xp(c,"$")+1,2)),g=o.enter("mathFlow");let m=h.move(f);if(a.meta){const E=o.enter("mathFlowMeta");m+=h.move(o.safe(a.meta,{after:`
69
+ `,before:m,encode:["$"],...h.current()})),E()}return m+=h.move(`
70
+ `),c&&(m+=h.move(c+`
71
+ `)),m+=h.move(f),g(),m}function n(a,s,o){let l=a.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;const h="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f<o.unsafe.length;){const g=o.unsafe[f];if(!g.atBreak)continue;const m=o.compilePattern(g);let E;for(;E=m.exec(l);){let w=E.index;l.codePointAt(w)===10&&l.codePointAt(w-1)===13&&w--,l=l.slice(0,w)+" "+l.slice(E.index+1)}}return h+l+h}function i(){return"$"}}const ov={tokenize:lv,concrete:!0,name:"mathFlow"},zh={tokenize:cv,partial:!0};function lv(e,t,r){const n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return o;function o(A){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(A)}function l(A){return A===36?(e.consume(A),s++,l):s<2?r(A):(e.exit("mathFlowFenceSequence"),De(e,c,"whitespace")(A))}function c(A){return A===null||xe(A)?f(A):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(A))}function h(A){return A===null||xe(A)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(A)):A===36?r(A):(e.consume(A),h)}function f(A){return e.exit("mathFlowFence"),n.interrupt?t(A):e.attempt(zh,g,C)(A)}function g(A){return e.attempt({tokenize:T,partial:!0},C,m)(A)}function m(A){return(a?De(e,E,"linePrefix",a+1):E)(A)}function E(A){return A===null?C(A):xe(A)?e.attempt(zh,g,C)(A):(e.enter("mathFlowValue"),w(A))}function w(A){return A===null||xe(A)?(e.exit("mathFlowValue"),E(A)):(e.consume(A),w)}function C(A){return e.exit("mathFlow"),t(A)}function T(A,N,H){let P=0;return De(A,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function b(Y){return A.enter("mathFlowFence"),A.enter("mathFlowFenceSequence"),R(Y)}function R(Y){return Y===36?(P++,A.consume(Y),R):P<s?H(Y):(A.exit("mathFlowFenceSequence"),De(A,j,"whitespace")(Y))}function j(Y){return Y===null||xe(Y)?(A.exit("mathFlowFence"),N(Y)):H(Y)}}}function cv(e,t,r){const n=this;return i;function i(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function hv(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:fv,previous:dv,name:"mathText"};function n(i,a,s){let o=0,l,c;return h;function h(w){return i.enter("mathText"),i.enter("mathTextSequence"),f(w)}function f(w){return w===36?(i.consume(w),o++,f):o<2&&!r?s(w):(i.exit("mathTextSequence"),g(w))}function g(w){return w===null?s(w):w===36?(c=i.enter("mathTextSequence"),l=0,E(w)):w===32?(i.enter("space"),i.consume(w),i.exit("space"),g):xe(w)?(i.enter("lineEnding"),i.consume(w),i.exit("lineEnding"),g):(i.enter("mathTextData"),m(w))}function m(w){return w===null||w===32||w===36||xe(w)?(i.exit("mathTextData"),g(w)):(i.consume(w),m)}function E(w){return w===36?(i.consume(w),l++,E):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),a(w)):(c.type="mathTextData",m(w))}}}function fv(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function dv(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function pv(e){return{flow:{36:ov},text:{36:hv(e)}}}class tr{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new tr(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class lr{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new lr(r,tr.range(this,t))}}class fe{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=o.slice(i,a).replace(/[^]/g,"$&̲"),c;i>15?c="…"+o.slice(i-15,i):c=o.slice(0,i);var h;a+15<o.length?h=o.slice(a,a+15)+"…":h=o.slice(a),n+=c+l+h}var f=new Error(n);return f.name="ParseError",f.__proto__=fe.prototype,f.position=i,i!=null&&a!=null&&(f.length=a-i),f.rawMessage=t,f}}fe.prototype.__proto__=Error.prototype;var mv=function(t,r){return t===void 0?r:t},gv=/([A-Z])/g,bv=function(t){return t.replace(gv,"-$1").toLowerCase()},xv={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},yv=/[&><"']/g;function vv(e){return String(e).replace(yv,t=>xv[t])}var m1=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Ev=function(t){var r=m1(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},kv=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Tv=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},$e={deflt:mv,escape:vv,hyphenate:bv,getBaseElem:m1,isCharacterBox:Ev,protocolFromUrl:Tv},oa={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function wv(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Jl{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in oa)if(oa.hasOwnProperty(r)){var n=oa[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:wv(n)}}reportNonstrict(t,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(t,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new fe("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var i=this.strict;if(typeof i=="function")try{i=i(t,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=$e.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class _n{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return qr[Sv[this.id]]}sub(){return qr[_v[this.id]]}fracNum(){return qr[Cv[this.id]]}fracDen(){return qr[Av[this.id]]}cramp(){return qr[Iv[this.id]]}text(){return qr[Nv[this.id]]}isTight(){return this.size>=2}}var Ql=0,Os=1,yi=2,hn=3,Ea=4,wr=5,wi=6,Wt=7,qr=[new _n(Ql,0,!1),new _n(Os,0,!0),new _n(yi,1,!1),new _n(hn,1,!0),new _n(Ea,2,!1),new _n(wr,2,!0),new _n(wi,3,!1),new _n(Wt,3,!0)],Sv=[Ea,wr,Ea,wr,wi,Wt,wi,Wt],_v=[wr,wr,wr,wr,Wt,Wt,Wt,Wt],Cv=[yi,hn,Ea,wr,wi,Wt,wi,Wt],Av=[hn,hn,wr,wr,Wt,Wt,Wt,Wt],Iv=[Os,Os,hn,hn,wr,wr,Wt,Wt],Nv=[Ql,Os,yi,hn,yi,hn,yi,hn],Ce={DISPLAY:qr[Ql],TEXT:qr[yi],SCRIPT:qr[Ea],SCRIPTSCRIPT:qr[wi]},Zo=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Lv(e){for(var t=0;t<Zo.length;t++)for(var r=Zo[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}var vs=[];Zo.forEach(e=>e.blocks.forEach(t=>vs.push(...t)));function g1(e){for(var t=0;t<vs.length;t+=2)if(e>=vs[t]&&e<=vs[t+1])return!0;return!1}var hi=80,Rv=function(t,r){return"M95,"+(622+t+r)+`
72
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
73
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
74
+ c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
75
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
76
+ c69,-144,104.5,-217.7,106.5,-221
77
+ l`+t/2.075+" -"+t+`
78
+ c5.3,-9.3,12,-14,20,-14
79
+ H400000v`+(40+t)+`H845.2724
80
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
81
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
82
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Pv=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
83
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
84
+ c340,-704.7,510.7,-1060.3,512,-1067
85
+ l`+t/2.084+" -"+t+`
86
+ c4.7,-7.3,11,-11,19,-11
87
+ H40000v`+(40+t)+`H1012.3
88
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
89
+ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
90
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
91
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
92
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Dv=function(t,r){return"M983 "+(10+t+r)+`
93
+ l`+t/3.13+" -"+t+`
94
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
95
+ H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
96
+ s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
97
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
98
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
99
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
100
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
101
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Ov=function(t,r){return"M424,"+(2398+t+r)+`
102
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
103
+ c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
104
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
105
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
106
+ l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
107
+ v`+(40+t)+`H1014.6
108
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
109
+ c-2,6,-10,9,-24,9
110
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
111
+ h400000v`+(40+t)+"h-400000z"},Mv=function(t,r){return"M473,"+(2713+t+r)+`
112
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
113
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
114
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
115
+ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
116
+ c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
117
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
118
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},Bv=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},Fv=function(t,r,n){var i=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
119
+ H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
120
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
121
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
122
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},Hv=function(t,r,n){r=1e3*r;var i="";switch(t){case"sqrtMain":i=Rv(r,hi);break;case"sqrtSize1":i=Pv(r,hi);break;case"sqrtSize2":i=Dv(r,hi);break;case"sqrtSize3":i=Ov(r,hi);break;case"sqrtSize4":i=Mv(r,hi);break;case"sqrtTall":i=Fv(r,hi,n)}return i},zv=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},Uh={doubleleftarrow:`M262 157
123
+ l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
124
+ 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
125
+ 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
126
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
127
+ 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
128
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
129
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
130
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
131
+ -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
132
+ 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
133
+ -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
134
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
135
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
136
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
137
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
138
+ 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
139
+ -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
140
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
141
+ 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
142
+ 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
143
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
144
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
145
+ 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
146
+ 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
147
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
148
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
149
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
150
+ 435 0h399565z`,leftgroupunder:`M400000 262
151
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
152
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
153
+ -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
154
+ -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
155
+ -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
156
+ 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
157
+ -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
158
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
159
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
160
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
161
+ 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
162
+ -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
163
+ 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
164
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
165
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
166
+ -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
167
+ -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
168
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
169
+ M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
170
+ M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
171
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
172
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
173
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
174
+ M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
175
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
176
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
177
+ 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
178
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
179
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
180
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
181
+ 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
182
+ -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
183
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
184
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
185
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
186
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
187
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
188
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
189
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
190
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
191
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
192
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
193
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
194
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
195
+ -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
196
+ 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
197
+ 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
198
+ -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
199
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
200
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
201
+ -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
202
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
203
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
204
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
205
+ -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
206
+ 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
207
+ 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
208
+ -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
209
+ -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
210
+ 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
211
+ -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
212
+ 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
213
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
214
+ 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
215
+ -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
216
+ -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
217
+ 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
218
+ 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
219
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
220
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
221
+ 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
222
+ -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
223
+ 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
224
+ M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
225
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
226
+ -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
227
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
228
+ 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
229
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
230
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
231
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
232
+ 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
233
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
234
+ 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
235
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
236
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
237
+ 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
238
+ -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
239
+ 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
240
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
241
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
242
+ -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
243
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
244
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
245
+ 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
246
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
247
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
248
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
249
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
250
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
251
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
252
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
253
+ -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
254
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
255
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
256
+ -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
257
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
258
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
259
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
260
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
261
+ -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
262
+ -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
263
+ -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
264
+ -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
265
+ -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
266
+ -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
267
+ -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
268
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
269
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
270
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
271
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
272
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
273
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
274
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
275
+ -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
276
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
277
+ -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
278
+ -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
279
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
280
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
281
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
282
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
283
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
284
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
285
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
286
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
287
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
288
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
289
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
290
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
291
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
292
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
293
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
294
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
295
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
296
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
297
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Uv=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
298
+ H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
299
+ M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
300
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
301
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
302
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
303
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
304
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
305
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
306
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
307
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
308
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
309
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
310
+ M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
311
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
312
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
313
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
314
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
315
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
316
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
317
+ -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
318
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
319
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
320
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
321
+ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
322
+ c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
323
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
324
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
325
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Oa{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var Gr={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},is={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Vh={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function b1(e,t){Gr[e]=t}function Kl(e,t,r){if(!Gr[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=Gr[t][n];if(!i&&e[0]in Vh&&(n=Vh[e[0]].charCodeAt(0),i=Gr[t][n]),!i&&r==="text"&&g1(n)&&(i=Gr[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var ho={};function Vv(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!ho[t]){var r=ho[t]={cssEmPerMu:is.quad[t]/18};for(var n in is)is.hasOwnProperty(n)&&(r[n]=is[n][t])}return ho[t]}var qv=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],qh=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],jh=function(t,r){return r.size<2?t:qv[t-1][r.size-1]};class un{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||un.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=qh[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new un(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:jh(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:qh[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=jh(un.BASESIZE,t);return this.size===r&&this.textSize===un.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==un.BASESIZE?["sizing","reset-size"+this.size,"size"+un.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Vv(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}un.BASESIZE=6;var el={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},jv={ex:!0,em:!0,mu:!0},x1=function(t){return typeof t!="string"&&(t=t.unit),t in el||t in jv||t==="ex"},ct=function(t,r){var n;if(t.unit in el)n=el[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new fe("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},me=function(t){return+t.toFixed(4)+"em"},Bn=function(t){return t.filter(r=>r).join(" ")},y1=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},v1=function(t){var r=document.createElement(t);r.className=Bn(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},Gv=/[\s"'>/=\x00-\x1f]/,E1=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+$e.escape(Bn(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=$e.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+$e.escape(n)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(Gv.test(a))throw new fe("Invalid attribute name '"+a+"'");r+=" "+a+'="'+$e.escape(this.attributes[a])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class Ma{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,y1.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return v1.call(this,"span")}toMarkup(){return E1.call(this,"span")}}let Zl=class{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,y1.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return v1.call(this,"a")}toMarkup(){return E1.call(this,"a")}};class $v{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+$e.escape(this.src)+'"'+(' alt="'+$e.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=$e.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+$e.escape(r)+'"'),t+="'/>",t}}var Wv={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Sr{constructor(t,r,n,i,a,s,o,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=s||0,this.classes=o||[],this.style=l||{},this.maxFontSize=0;var c=Lv(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Wv[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=me(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Bn(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=$e.escape(Bn(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=$e.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+$e.escape(n)+'"');var a=$e.escape(this.text);return t?(r+=">",r+=a,r+="</span>",r):a}}class mn{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+$e.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Fn{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",Uh[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+$e.escape(this.alternate)+'"/>':'<path d="'+$e.escape(Uh[this.pathName])+'"/>'}}class tl{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+$e.escape(this.attributes[r])+'"');return t+="/>",t}}function Gh(e){if(e instanceof Sr)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Yv(e){if(e instanceof Ma)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Xv={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Jv={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},nt={math:{},text:{}};function x(e,t,r,n,i,a){nt[e][i]={font:t,group:r,replace:n},a&&n&&(nt[e][n]=nt[e][i])}var v="math",ae="text",_="main",F="ams",ot="accent-token",ye="bin",Xt="close",Oi="inner",_e="mathord",yt="op-token",cr="open",yu="punct",z="rel",kn="spacing",$="textord";x(v,_,z,"≡","\\equiv",!0);x(v,_,z,"≺","\\prec",!0);x(v,_,z,"≻","\\succ",!0);x(v,_,z,"∼","\\sim",!0);x(v,_,z,"⊥","\\perp");x(v,_,z,"⪯","\\preceq",!0);x(v,_,z,"⪰","\\succeq",!0);x(v,_,z,"≃","\\simeq",!0);x(v,_,z,"∣","\\mid",!0);x(v,_,z,"≪","\\ll",!0);x(v,_,z,"≫","\\gg",!0);x(v,_,z,"≍","\\asymp",!0);x(v,_,z,"∥","\\parallel");x(v,_,z,"⋈","\\bowtie",!0);x(v,_,z,"⌣","\\smile",!0);x(v,_,z,"⊑","\\sqsubseteq",!0);x(v,_,z,"⊒","\\sqsupseteq",!0);x(v,_,z,"≐","\\doteq",!0);x(v,_,z,"⌢","\\frown",!0);x(v,_,z,"∋","\\ni",!0);x(v,_,z,"∝","\\propto",!0);x(v,_,z,"⊢","\\vdash",!0);x(v,_,z,"⊣","\\dashv",!0);x(v,_,z,"∋","\\owns");x(v,_,yu,".","\\ldotp");x(v,_,yu,"⋅","\\cdotp");x(v,_,$,"#","\\#");x(ae,_,$,"#","\\#");x(v,_,$,"&","\\&");x(ae,_,$,"&","\\&");x(v,_,$,"ℵ","\\aleph",!0);x(v,_,$,"∀","\\forall",!0);x(v,_,$,"ℏ","\\hbar",!0);x(v,_,$,"∃","\\exists",!0);x(v,_,$,"∇","\\nabla",!0);x(v,_,$,"♭","\\flat",!0);x(v,_,$,"ℓ","\\ell",!0);x(v,_,$,"♮","\\natural",!0);x(v,_,$,"♣","\\clubsuit",!0);x(v,_,$,"℘","\\wp",!0);x(v,_,$,"♯","\\sharp",!0);x(v,_,$,"♢","\\diamondsuit",!0);x(v,_,$,"ℜ","\\Re",!0);x(v,_,$,"♡","\\heartsuit",!0);x(v,_,$,"ℑ","\\Im",!0);x(v,_,$,"♠","\\spadesuit",!0);x(v,_,$,"§","\\S",!0);x(ae,_,$,"§","\\S");x(v,_,$,"¶","\\P",!0);x(ae,_,$,"¶","\\P");x(v,_,$,"†","\\dag");x(ae,_,$,"†","\\dag");x(ae,_,$,"†","\\textdagger");x(v,_,$,"‡","\\ddag");x(ae,_,$,"‡","\\ddag");x(ae,_,$,"‡","\\textdaggerdbl");x(v,_,Xt,"⎱","\\rmoustache",!0);x(v,_,cr,"⎰","\\lmoustache",!0);x(v,_,Xt,"⟯","\\rgroup",!0);x(v,_,cr,"⟮","\\lgroup",!0);x(v,_,ye,"∓","\\mp",!0);x(v,_,ye,"⊖","\\ominus",!0);x(v,_,ye,"⊎","\\uplus",!0);x(v,_,ye,"⊓","\\sqcap",!0);x(v,_,ye,"∗","\\ast");x(v,_,ye,"⊔","\\sqcup",!0);x(v,_,ye,"◯","\\bigcirc",!0);x(v,_,ye,"∙","\\bullet",!0);x(v,_,ye,"‡","\\ddagger");x(v,_,ye,"≀","\\wr",!0);x(v,_,ye,"⨿","\\amalg");x(v,_,ye,"&","\\And");x(v,_,z,"⟵","\\longleftarrow",!0);x(v,_,z,"⇐","\\Leftarrow",!0);x(v,_,z,"⟸","\\Longleftarrow",!0);x(v,_,z,"⟶","\\longrightarrow",!0);x(v,_,z,"⇒","\\Rightarrow",!0);x(v,_,z,"⟹","\\Longrightarrow",!0);x(v,_,z,"↔","\\leftrightarrow",!0);x(v,_,z,"⟷","\\longleftrightarrow",!0);x(v,_,z,"⇔","\\Leftrightarrow",!0);x(v,_,z,"⟺","\\Longleftrightarrow",!0);x(v,_,z,"↦","\\mapsto",!0);x(v,_,z,"⟼","\\longmapsto",!0);x(v,_,z,"↗","\\nearrow",!0);x(v,_,z,"↩","\\hookleftarrow",!0);x(v,_,z,"↪","\\hookrightarrow",!0);x(v,_,z,"↘","\\searrow",!0);x(v,_,z,"↼","\\leftharpoonup",!0);x(v,_,z,"⇀","\\rightharpoonup",!0);x(v,_,z,"↙","\\swarrow",!0);x(v,_,z,"↽","\\leftharpoondown",!0);x(v,_,z,"⇁","\\rightharpoondown",!0);x(v,_,z,"↖","\\nwarrow",!0);x(v,_,z,"⇌","\\rightleftharpoons",!0);x(v,F,z,"≮","\\nless",!0);x(v,F,z,"","\\@nleqslant");x(v,F,z,"","\\@nleqq");x(v,F,z,"⪇","\\lneq",!0);x(v,F,z,"≨","\\lneqq",!0);x(v,F,z,"","\\@lvertneqq");x(v,F,z,"⋦","\\lnsim",!0);x(v,F,z,"⪉","\\lnapprox",!0);x(v,F,z,"⊀","\\nprec",!0);x(v,F,z,"⋠","\\npreceq",!0);x(v,F,z,"⋨","\\precnsim",!0);x(v,F,z,"⪹","\\precnapprox",!0);x(v,F,z,"≁","\\nsim",!0);x(v,F,z,"","\\@nshortmid");x(v,F,z,"∤","\\nmid",!0);x(v,F,z,"⊬","\\nvdash",!0);x(v,F,z,"⊭","\\nvDash",!0);x(v,F,z,"⋪","\\ntriangleleft");x(v,F,z,"⋬","\\ntrianglelefteq",!0);x(v,F,z,"⊊","\\subsetneq",!0);x(v,F,z,"","\\@varsubsetneq");x(v,F,z,"⫋","\\subsetneqq",!0);x(v,F,z,"","\\@varsubsetneqq");x(v,F,z,"≯","\\ngtr",!0);x(v,F,z,"","\\@ngeqslant");x(v,F,z,"","\\@ngeqq");x(v,F,z,"⪈","\\gneq",!0);x(v,F,z,"≩","\\gneqq",!0);x(v,F,z,"","\\@gvertneqq");x(v,F,z,"⋧","\\gnsim",!0);x(v,F,z,"⪊","\\gnapprox",!0);x(v,F,z,"⊁","\\nsucc",!0);x(v,F,z,"⋡","\\nsucceq",!0);x(v,F,z,"⋩","\\succnsim",!0);x(v,F,z,"⪺","\\succnapprox",!0);x(v,F,z,"≆","\\ncong",!0);x(v,F,z,"","\\@nshortparallel");x(v,F,z,"∦","\\nparallel",!0);x(v,F,z,"⊯","\\nVDash",!0);x(v,F,z,"⋫","\\ntriangleright");x(v,F,z,"⋭","\\ntrianglerighteq",!0);x(v,F,z,"","\\@nsupseteqq");x(v,F,z,"⊋","\\supsetneq",!0);x(v,F,z,"","\\@varsupsetneq");x(v,F,z,"⫌","\\supsetneqq",!0);x(v,F,z,"","\\@varsupsetneqq");x(v,F,z,"⊮","\\nVdash",!0);x(v,F,z,"⪵","\\precneqq",!0);x(v,F,z,"⪶","\\succneqq",!0);x(v,F,z,"","\\@nsubseteqq");x(v,F,ye,"⊴","\\unlhd");x(v,F,ye,"⊵","\\unrhd");x(v,F,z,"↚","\\nleftarrow",!0);x(v,F,z,"↛","\\nrightarrow",!0);x(v,F,z,"⇍","\\nLeftarrow",!0);x(v,F,z,"⇏","\\nRightarrow",!0);x(v,F,z,"↮","\\nleftrightarrow",!0);x(v,F,z,"⇎","\\nLeftrightarrow",!0);x(v,F,z,"△","\\vartriangle");x(v,F,$,"ℏ","\\hslash");x(v,F,$,"▽","\\triangledown");x(v,F,$,"◊","\\lozenge");x(v,F,$,"Ⓢ","\\circledS");x(v,F,$,"®","\\circledR");x(ae,F,$,"®","\\circledR");x(v,F,$,"∡","\\measuredangle",!0);x(v,F,$,"∄","\\nexists");x(v,F,$,"℧","\\mho");x(v,F,$,"Ⅎ","\\Finv",!0);x(v,F,$,"⅁","\\Game",!0);x(v,F,$,"‵","\\backprime");x(v,F,$,"▲","\\blacktriangle");x(v,F,$,"▼","\\blacktriangledown");x(v,F,$,"■","\\blacksquare");x(v,F,$,"⧫","\\blacklozenge");x(v,F,$,"★","\\bigstar");x(v,F,$,"∢","\\sphericalangle",!0);x(v,F,$,"∁","\\complement",!0);x(v,F,$,"ð","\\eth",!0);x(ae,_,$,"ð","ð");x(v,F,$,"╱","\\diagup");x(v,F,$,"╲","\\diagdown");x(v,F,$,"□","\\square");x(v,F,$,"□","\\Box");x(v,F,$,"◊","\\Diamond");x(v,F,$,"¥","\\yen",!0);x(ae,F,$,"¥","\\yen",!0);x(v,F,$,"✓","\\checkmark",!0);x(ae,F,$,"✓","\\checkmark");x(v,F,$,"ℶ","\\beth",!0);x(v,F,$,"ℸ","\\daleth",!0);x(v,F,$,"ℷ","\\gimel",!0);x(v,F,$,"ϝ","\\digamma",!0);x(v,F,$,"ϰ","\\varkappa");x(v,F,cr,"┌","\\@ulcorner",!0);x(v,F,Xt,"┐","\\@urcorner",!0);x(v,F,cr,"└","\\@llcorner",!0);x(v,F,Xt,"┘","\\@lrcorner",!0);x(v,F,z,"≦","\\leqq",!0);x(v,F,z,"⩽","\\leqslant",!0);x(v,F,z,"⪕","\\eqslantless",!0);x(v,F,z,"≲","\\lesssim",!0);x(v,F,z,"⪅","\\lessapprox",!0);x(v,F,z,"≊","\\approxeq",!0);x(v,F,ye,"⋖","\\lessdot");x(v,F,z,"⋘","\\lll",!0);x(v,F,z,"≶","\\lessgtr",!0);x(v,F,z,"⋚","\\lesseqgtr",!0);x(v,F,z,"⪋","\\lesseqqgtr",!0);x(v,F,z,"≑","\\doteqdot");x(v,F,z,"≓","\\risingdotseq",!0);x(v,F,z,"≒","\\fallingdotseq",!0);x(v,F,z,"∽","\\backsim",!0);x(v,F,z,"⋍","\\backsimeq",!0);x(v,F,z,"⫅","\\subseteqq",!0);x(v,F,z,"⋐","\\Subset",!0);x(v,F,z,"⊏","\\sqsubset",!0);x(v,F,z,"≼","\\preccurlyeq",!0);x(v,F,z,"⋞","\\curlyeqprec",!0);x(v,F,z,"≾","\\precsim",!0);x(v,F,z,"⪷","\\precapprox",!0);x(v,F,z,"⊲","\\vartriangleleft");x(v,F,z,"⊴","\\trianglelefteq");x(v,F,z,"⊨","\\vDash",!0);x(v,F,z,"⊪","\\Vvdash",!0);x(v,F,z,"⌣","\\smallsmile");x(v,F,z,"⌢","\\smallfrown");x(v,F,z,"≏","\\bumpeq",!0);x(v,F,z,"≎","\\Bumpeq",!0);x(v,F,z,"≧","\\geqq",!0);x(v,F,z,"⩾","\\geqslant",!0);x(v,F,z,"⪖","\\eqslantgtr",!0);x(v,F,z,"≳","\\gtrsim",!0);x(v,F,z,"⪆","\\gtrapprox",!0);x(v,F,ye,"⋗","\\gtrdot");x(v,F,z,"⋙","\\ggg",!0);x(v,F,z,"≷","\\gtrless",!0);x(v,F,z,"⋛","\\gtreqless",!0);x(v,F,z,"⪌","\\gtreqqless",!0);x(v,F,z,"≖","\\eqcirc",!0);x(v,F,z,"≗","\\circeq",!0);x(v,F,z,"≜","\\triangleq",!0);x(v,F,z,"∼","\\thicksim");x(v,F,z,"≈","\\thickapprox");x(v,F,z,"⫆","\\supseteqq",!0);x(v,F,z,"⋑","\\Supset",!0);x(v,F,z,"⊐","\\sqsupset",!0);x(v,F,z,"≽","\\succcurlyeq",!0);x(v,F,z,"⋟","\\curlyeqsucc",!0);x(v,F,z,"≿","\\succsim",!0);x(v,F,z,"⪸","\\succapprox",!0);x(v,F,z,"⊳","\\vartriangleright");x(v,F,z,"⊵","\\trianglerighteq");x(v,F,z,"⊩","\\Vdash",!0);x(v,F,z,"∣","\\shortmid");x(v,F,z,"∥","\\shortparallel");x(v,F,z,"≬","\\between",!0);x(v,F,z,"⋔","\\pitchfork",!0);x(v,F,z,"∝","\\varpropto");x(v,F,z,"◀","\\blacktriangleleft");x(v,F,z,"∴","\\therefore",!0);x(v,F,z,"∍","\\backepsilon");x(v,F,z,"▶","\\blacktriangleright");x(v,F,z,"∵","\\because",!0);x(v,F,z,"⋘","\\llless");x(v,F,z,"⋙","\\gggtr");x(v,F,ye,"⊲","\\lhd");x(v,F,ye,"⊳","\\rhd");x(v,F,z,"≂","\\eqsim",!0);x(v,_,z,"⋈","\\Join");x(v,F,z,"≑","\\Doteq",!0);x(v,F,ye,"∔","\\dotplus",!0);x(v,F,ye,"∖","\\smallsetminus");x(v,F,ye,"⋒","\\Cap",!0);x(v,F,ye,"⋓","\\Cup",!0);x(v,F,ye,"⩞","\\doublebarwedge",!0);x(v,F,ye,"⊟","\\boxminus",!0);x(v,F,ye,"⊞","\\boxplus",!0);x(v,F,ye,"⋇","\\divideontimes",!0);x(v,F,ye,"⋉","\\ltimes",!0);x(v,F,ye,"⋊","\\rtimes",!0);x(v,F,ye,"⋋","\\leftthreetimes",!0);x(v,F,ye,"⋌","\\rightthreetimes",!0);x(v,F,ye,"⋏","\\curlywedge",!0);x(v,F,ye,"⋎","\\curlyvee",!0);x(v,F,ye,"⊝","\\circleddash",!0);x(v,F,ye,"⊛","\\circledast",!0);x(v,F,ye,"⋅","\\centerdot");x(v,F,ye,"⊺","\\intercal",!0);x(v,F,ye,"⋒","\\doublecap");x(v,F,ye,"⋓","\\doublecup");x(v,F,ye,"⊠","\\boxtimes",!0);x(v,F,z,"⇢","\\dashrightarrow",!0);x(v,F,z,"⇠","\\dashleftarrow",!0);x(v,F,z,"⇇","\\leftleftarrows",!0);x(v,F,z,"⇆","\\leftrightarrows",!0);x(v,F,z,"⇚","\\Lleftarrow",!0);x(v,F,z,"↞","\\twoheadleftarrow",!0);x(v,F,z,"↢","\\leftarrowtail",!0);x(v,F,z,"↫","\\looparrowleft",!0);x(v,F,z,"⇋","\\leftrightharpoons",!0);x(v,F,z,"↶","\\curvearrowleft",!0);x(v,F,z,"↺","\\circlearrowleft",!0);x(v,F,z,"↰","\\Lsh",!0);x(v,F,z,"⇈","\\upuparrows",!0);x(v,F,z,"↿","\\upharpoonleft",!0);x(v,F,z,"⇃","\\downharpoonleft",!0);x(v,_,z,"⊶","\\origof",!0);x(v,_,z,"⊷","\\imageof",!0);x(v,F,z,"⊸","\\multimap",!0);x(v,F,z,"↭","\\leftrightsquigarrow",!0);x(v,F,z,"⇉","\\rightrightarrows",!0);x(v,F,z,"⇄","\\rightleftarrows",!0);x(v,F,z,"↠","\\twoheadrightarrow",!0);x(v,F,z,"↣","\\rightarrowtail",!0);x(v,F,z,"↬","\\looparrowright",!0);x(v,F,z,"↷","\\curvearrowright",!0);x(v,F,z,"↻","\\circlearrowright",!0);x(v,F,z,"↱","\\Rsh",!0);x(v,F,z,"⇊","\\downdownarrows",!0);x(v,F,z,"↾","\\upharpoonright",!0);x(v,F,z,"⇂","\\downharpoonright",!0);x(v,F,z,"⇝","\\rightsquigarrow",!0);x(v,F,z,"⇝","\\leadsto");x(v,F,z,"⇛","\\Rrightarrow",!0);x(v,F,z,"↾","\\restriction");x(v,_,$,"‘","`");x(v,_,$,"$","\\$");x(ae,_,$,"$","\\$");x(ae,_,$,"$","\\textdollar");x(v,_,$,"%","\\%");x(ae,_,$,"%","\\%");x(v,_,$,"_","\\_");x(ae,_,$,"_","\\_");x(ae,_,$,"_","\\textunderscore");x(v,_,$,"∠","\\angle",!0);x(v,_,$,"∞","\\infty",!0);x(v,_,$,"′","\\prime");x(v,_,$,"△","\\triangle");x(v,_,$,"Γ","\\Gamma",!0);x(v,_,$,"Δ","\\Delta",!0);x(v,_,$,"Θ","\\Theta",!0);x(v,_,$,"Λ","\\Lambda",!0);x(v,_,$,"Ξ","\\Xi",!0);x(v,_,$,"Π","\\Pi",!0);x(v,_,$,"Σ","\\Sigma",!0);x(v,_,$,"Υ","\\Upsilon",!0);x(v,_,$,"Φ","\\Phi",!0);x(v,_,$,"Ψ","\\Psi",!0);x(v,_,$,"Ω","\\Omega",!0);x(v,_,$,"A","Α");x(v,_,$,"B","Β");x(v,_,$,"E","Ε");x(v,_,$,"Z","Ζ");x(v,_,$,"H","Η");x(v,_,$,"I","Ι");x(v,_,$,"K","Κ");x(v,_,$,"M","Μ");x(v,_,$,"N","Ν");x(v,_,$,"O","Ο");x(v,_,$,"P","Ρ");x(v,_,$,"T","Τ");x(v,_,$,"X","Χ");x(v,_,$,"¬","\\neg",!0);x(v,_,$,"¬","\\lnot");x(v,_,$,"⊤","\\top");x(v,_,$,"⊥","\\bot");x(v,_,$,"∅","\\emptyset");x(v,F,$,"∅","\\varnothing");x(v,_,_e,"α","\\alpha",!0);x(v,_,_e,"β","\\beta",!0);x(v,_,_e,"γ","\\gamma",!0);x(v,_,_e,"δ","\\delta",!0);x(v,_,_e,"ϵ","\\epsilon",!0);x(v,_,_e,"ζ","\\zeta",!0);x(v,_,_e,"η","\\eta",!0);x(v,_,_e,"θ","\\theta",!0);x(v,_,_e,"ι","\\iota",!0);x(v,_,_e,"κ","\\kappa",!0);x(v,_,_e,"λ","\\lambda",!0);x(v,_,_e,"μ","\\mu",!0);x(v,_,_e,"ν","\\nu",!0);x(v,_,_e,"ξ","\\xi",!0);x(v,_,_e,"ο","\\omicron",!0);x(v,_,_e,"π","\\pi",!0);x(v,_,_e,"ρ","\\rho",!0);x(v,_,_e,"σ","\\sigma",!0);x(v,_,_e,"τ","\\tau",!0);x(v,_,_e,"υ","\\upsilon",!0);x(v,_,_e,"ϕ","\\phi",!0);x(v,_,_e,"χ","\\chi",!0);x(v,_,_e,"ψ","\\psi",!0);x(v,_,_e,"ω","\\omega",!0);x(v,_,_e,"ε","\\varepsilon",!0);x(v,_,_e,"ϑ","\\vartheta",!0);x(v,_,_e,"ϖ","\\varpi",!0);x(v,_,_e,"ϱ","\\varrho",!0);x(v,_,_e,"ς","\\varsigma",!0);x(v,_,_e,"φ","\\varphi",!0);x(v,_,ye,"∗","*",!0);x(v,_,ye,"+","+");x(v,_,ye,"−","-",!0);x(v,_,ye,"⋅","\\cdot",!0);x(v,_,ye,"∘","\\circ",!0);x(v,_,ye,"÷","\\div",!0);x(v,_,ye,"±","\\pm",!0);x(v,_,ye,"×","\\times",!0);x(v,_,ye,"∩","\\cap",!0);x(v,_,ye,"∪","\\cup",!0);x(v,_,ye,"∖","\\setminus",!0);x(v,_,ye,"∧","\\land");x(v,_,ye,"∨","\\lor");x(v,_,ye,"∧","\\wedge",!0);x(v,_,ye,"∨","\\vee",!0);x(v,_,$,"√","\\surd");x(v,_,cr,"⟨","\\langle",!0);x(v,_,cr,"∣","\\lvert");x(v,_,cr,"∥","\\lVert");x(v,_,Xt,"?","?");x(v,_,Xt,"!","!");x(v,_,Xt,"⟩","\\rangle",!0);x(v,_,Xt,"∣","\\rvert");x(v,_,Xt,"∥","\\rVert");x(v,_,z,"=","=");x(v,_,z,":",":");x(v,_,z,"≈","\\approx",!0);x(v,_,z,"≅","\\cong",!0);x(v,_,z,"≥","\\ge");x(v,_,z,"≥","\\geq",!0);x(v,_,z,"←","\\gets");x(v,_,z,">","\\gt",!0);x(v,_,z,"∈","\\in",!0);x(v,_,z,"","\\@not");x(v,_,z,"⊂","\\subset",!0);x(v,_,z,"⊃","\\supset",!0);x(v,_,z,"⊆","\\subseteq",!0);x(v,_,z,"⊇","\\supseteq",!0);x(v,F,z,"⊈","\\nsubseteq",!0);x(v,F,z,"⊉","\\nsupseteq",!0);x(v,_,z,"⊨","\\models");x(v,_,z,"←","\\leftarrow",!0);x(v,_,z,"≤","\\le");x(v,_,z,"≤","\\leq",!0);x(v,_,z,"<","\\lt",!0);x(v,_,z,"→","\\rightarrow",!0);x(v,_,z,"→","\\to");x(v,F,z,"≱","\\ngeq",!0);x(v,F,z,"≰","\\nleq",!0);x(v,_,kn," ","\\ ");x(v,_,kn," ","\\space");x(v,_,kn," ","\\nobreakspace");x(ae,_,kn," ","\\ ");x(ae,_,kn," "," ");x(ae,_,kn," ","\\space");x(ae,_,kn," ","\\nobreakspace");x(v,_,kn,null,"\\nobreak");x(v,_,kn,null,"\\allowbreak");x(v,_,yu,",",",");x(v,_,yu,";",";");x(v,F,ye,"⊼","\\barwedge",!0);x(v,F,ye,"⊻","\\veebar",!0);x(v,_,ye,"⊙","\\odot",!0);x(v,_,ye,"⊕","\\oplus",!0);x(v,_,ye,"⊗","\\otimes",!0);x(v,_,$,"∂","\\partial",!0);x(v,_,ye,"⊘","\\oslash",!0);x(v,F,ye,"⊚","\\circledcirc",!0);x(v,F,ye,"⊡","\\boxdot",!0);x(v,_,ye,"△","\\bigtriangleup");x(v,_,ye,"▽","\\bigtriangledown");x(v,_,ye,"†","\\dagger");x(v,_,ye,"⋄","\\diamond");x(v,_,ye,"⋆","\\star");x(v,_,ye,"◃","\\triangleleft");x(v,_,ye,"▹","\\triangleright");x(v,_,cr,"{","\\{");x(ae,_,$,"{","\\{");x(ae,_,$,"{","\\textbraceleft");x(v,_,Xt,"}","\\}");x(ae,_,$,"}","\\}");x(ae,_,$,"}","\\textbraceright");x(v,_,cr,"{","\\lbrace");x(v,_,Xt,"}","\\rbrace");x(v,_,cr,"[","\\lbrack",!0);x(ae,_,$,"[","\\lbrack",!0);x(v,_,Xt,"]","\\rbrack",!0);x(ae,_,$,"]","\\rbrack",!0);x(v,_,cr,"(","\\lparen",!0);x(v,_,Xt,")","\\rparen",!0);x(ae,_,$,"<","\\textless",!0);x(ae,_,$,">","\\textgreater",!0);x(v,_,cr,"⌊","\\lfloor",!0);x(v,_,Xt,"⌋","\\rfloor",!0);x(v,_,cr,"⌈","\\lceil",!0);x(v,_,Xt,"⌉","\\rceil",!0);x(v,_,$,"\\","\\backslash");x(v,_,$,"∣","|");x(v,_,$,"∣","\\vert");x(ae,_,$,"|","\\textbar",!0);x(v,_,$,"∥","\\|");x(v,_,$,"∥","\\Vert");x(ae,_,$,"∥","\\textbardbl");x(ae,_,$,"~","\\textasciitilde");x(ae,_,$,"\\","\\textbackslash");x(ae,_,$,"^","\\textasciicircum");x(v,_,z,"↑","\\uparrow",!0);x(v,_,z,"⇑","\\Uparrow",!0);x(v,_,z,"↓","\\downarrow",!0);x(v,_,z,"⇓","\\Downarrow",!0);x(v,_,z,"↕","\\updownarrow",!0);x(v,_,z,"⇕","\\Updownarrow",!0);x(v,_,yt,"∐","\\coprod");x(v,_,yt,"⋁","\\bigvee");x(v,_,yt,"⋀","\\bigwedge");x(v,_,yt,"⨄","\\biguplus");x(v,_,yt,"⋂","\\bigcap");x(v,_,yt,"⋃","\\bigcup");x(v,_,yt,"∫","\\int");x(v,_,yt,"∫","\\intop");x(v,_,yt,"∬","\\iint");x(v,_,yt,"∭","\\iiint");x(v,_,yt,"∏","\\prod");x(v,_,yt,"∑","\\sum");x(v,_,yt,"⨂","\\bigotimes");x(v,_,yt,"⨁","\\bigoplus");x(v,_,yt,"⨀","\\bigodot");x(v,_,yt,"∮","\\oint");x(v,_,yt,"∯","\\oiint");x(v,_,yt,"∰","\\oiiint");x(v,_,yt,"⨆","\\bigsqcup");x(v,_,yt,"∫","\\smallint");x(ae,_,Oi,"…","\\textellipsis");x(v,_,Oi,"…","\\mathellipsis");x(ae,_,Oi,"…","\\ldots",!0);x(v,_,Oi,"…","\\ldots",!0);x(v,_,Oi,"⋯","\\@cdots",!0);x(v,_,Oi,"⋱","\\ddots",!0);x(v,_,$,"⋮","\\varvdots");x(ae,_,$,"⋮","\\varvdots");x(v,_,ot,"ˊ","\\acute");x(v,_,ot,"ˋ","\\grave");x(v,_,ot,"¨","\\ddot");x(v,_,ot,"~","\\tilde");x(v,_,ot,"ˉ","\\bar");x(v,_,ot,"˘","\\breve");x(v,_,ot,"ˇ","\\check");x(v,_,ot,"^","\\hat");x(v,_,ot,"⃗","\\vec");x(v,_,ot,"˙","\\dot");x(v,_,ot,"˚","\\mathring");x(v,_,_e,"","\\@imath");x(v,_,_e,"","\\@jmath");x(v,_,$,"ı","ı");x(v,_,$,"ȷ","ȷ");x(ae,_,$,"ı","\\i",!0);x(ae,_,$,"ȷ","\\j",!0);x(ae,_,$,"ß","\\ss",!0);x(ae,_,$,"æ","\\ae",!0);x(ae,_,$,"œ","\\oe",!0);x(ae,_,$,"ø","\\o",!0);x(ae,_,$,"Æ","\\AE",!0);x(ae,_,$,"Œ","\\OE",!0);x(ae,_,$,"Ø","\\O",!0);x(ae,_,ot,"ˊ","\\'");x(ae,_,ot,"ˋ","\\`");x(ae,_,ot,"ˆ","\\^");x(ae,_,ot,"˜","\\~");x(ae,_,ot,"ˉ","\\=");x(ae,_,ot,"˘","\\u");x(ae,_,ot,"˙","\\.");x(ae,_,ot,"¸","\\c");x(ae,_,ot,"˚","\\r");x(ae,_,ot,"ˇ","\\v");x(ae,_,ot,"¨",'\\"');x(ae,_,ot,"˝","\\H");x(ae,_,ot,"◯","\\textcircled");var k1={"--":!0,"---":!0,"``":!0,"''":!0};x(ae,_,$,"–","--",!0);x(ae,_,$,"–","\\textendash");x(ae,_,$,"—","---",!0);x(ae,_,$,"—","\\textemdash");x(ae,_,$,"‘","`",!0);x(ae,_,$,"‘","\\textquoteleft");x(ae,_,$,"’","'",!0);x(ae,_,$,"’","\\textquoteright");x(ae,_,$,"“","``",!0);x(ae,_,$,"“","\\textquotedblleft");x(ae,_,$,"”","''",!0);x(ae,_,$,"”","\\textquotedblright");x(v,_,$,"°","\\degree",!0);x(ae,_,$,"°","\\degree");x(ae,_,$,"°","\\textdegree",!0);x(v,_,$,"£","\\pounds");x(v,_,$,"£","\\mathsterling",!0);x(ae,_,$,"£","\\pounds");x(ae,_,$,"£","\\textsterling",!0);x(v,F,$,"✠","\\maltese");x(ae,F,$,"✠","\\maltese");var $h='0123456789/@."';for(var fo=0;fo<$h.length;fo++){var Wh=$h.charAt(fo);x(v,_,$,Wh,Wh)}var Yh='0123456789!@*()-=+";:?/.,';for(var po=0;po<Yh.length;po++){var Xh=Yh.charAt(po);x(ae,_,$,Xh,Xh)}var Ms="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var mo=0;mo<Ms.length;mo++){var as=Ms.charAt(mo);x(v,_,_e,as,as),x(ae,_,$,as,as)}x(v,F,$,"C","ℂ");x(ae,F,$,"C","ℂ");x(v,F,$,"H","ℍ");x(ae,F,$,"H","ℍ");x(v,F,$,"N","ℕ");x(ae,F,$,"N","ℕ");x(v,F,$,"P","ℙ");x(ae,F,$,"P","ℙ");x(v,F,$,"Q","ℚ");x(ae,F,$,"Q","ℚ");x(v,F,$,"R","ℝ");x(ae,F,$,"R","ℝ");x(v,F,$,"Z","ℤ");x(ae,F,$,"Z","ℤ");x(v,_,_e,"h","ℎ");x(ae,_,_e,"h","ℎ");var Ae="";for(var Gt=0;Gt<Ms.length;Gt++){var ft=Ms.charAt(Gt);Ae=String.fromCharCode(55349,56320+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56372+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56424+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56580+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56684+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56736+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56788+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56840+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56944+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Gt<26&&(Ae=String.fromCharCode(55349,56632+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae),Ae=String.fromCharCode(55349,56476+Gt),x(v,_,_e,ft,Ae),x(ae,_,$,ft,Ae))}Ae="𝕜";x(v,_,_e,"k",Ae);x(ae,_,$,"k",Ae);for(var Yn=0;Yn<10;Yn++){var Cn=Yn.toString();Ae=String.fromCharCode(55349,57294+Yn),x(v,_,_e,Cn,Ae),x(ae,_,$,Cn,Ae),Ae=String.fromCharCode(55349,57314+Yn),x(v,_,_e,Cn,Ae),x(ae,_,$,Cn,Ae),Ae=String.fromCharCode(55349,57324+Yn),x(v,_,_e,Cn,Ae),x(ae,_,$,Cn,Ae),Ae=String.fromCharCode(55349,57334+Yn),x(v,_,_e,Cn,Ae),x(ae,_,$,Cn,Ae)}var rl="ÐÞþ";for(var go=0;go<rl.length;go++){var ss=rl.charAt(go);x(v,_,_e,ss,ss),x(ae,_,$,ss,ss)}var us=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Jh=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Qv=function(t,r){var n=t.charCodeAt(0),i=t.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,s=r==="math"?0:1;if(119808<=a&&a<120484){var o=Math.floor((a-119808)/26);return[us[o][2],us[o][s]]}else if(120782<=a&&a<=120831){var l=Math.floor((a-120782)/10);return[Jh[l][2],Jh[l][s]]}else{if(a===120485||a===120486)return[us[0][2],us[0][s]];if(120486<a&&a<120782)return["",""];throw new fe("Unsupported character: "+t)}},vu=function(t,r,n){return nt[n][t]&&nt[n][t].replace&&(t=nt[n][t].replace),{value:t,metrics:Kl(t,r,n)}},Lr=function(t,r,n,i,a){var s=vu(t,r,n),o=s.metrics;t=s.value;var l;if(o){var c=o.italic;(n==="text"||i&&i.font==="mathit")&&(c=0),l=new Sr(t,o.height,o.depth,c,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new Sr(t,0,0,0,0,0,a);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var h=i.getColor();h&&(l.style.color=h)}return l},Kv=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&vu(t,"Main-Bold",r).metrics?Lr(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||nt[r][t].font==="main"?Lr(t,"Main-Regular",r,n,i):Lr(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},Zv=function(t,r,n,i,a){return a!=="textord"&&vu(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},e9=function(t,r,n){var i=t.mode,a=t.text,s=["mord"],o=i==="math"||i==="text"&&r.font,l=o?r.font:r.fontFamily,c="",h="";if(a.charCodeAt(0)===55349&&([c,h]=Qv(a,i)),c.length>0)return Lr(a,c,i,r,s.concat(h));if(l){var f,g;if(l==="boldsymbol"){var m=Zv(a,i,r,s,n);f=m.fontName,g=[m.fontClass]}else o?(f=S1[l].fontName,g=[l]):(f=os(l,r.fontWeight,r.fontShape),g=[l,r.fontWeight,r.fontShape]);if(vu(a,f,i).metrics)return Lr(a,f,i,r,s.concat(g));if(k1.hasOwnProperty(a)&&f.slice(0,10)==="Typewriter"){for(var E=[],w=0;w<a.length;w++)E.push(Lr(a[w],f,i,r,s.concat(g)));return w1(E)}}if(n==="mathord")return Lr(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var C=nt[i][a]&&nt[i][a].font;if(C==="ams"){var T=os("amsrm",r.fontWeight,r.fontShape);return Lr(a,T,i,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(C==="main"||!C){var A=os("textrm",r.fontWeight,r.fontShape);return Lr(a,A,i,r,s.concat(r.fontWeight,r.fontShape))}else{var N=os(C,r.fontWeight,r.fontShape);return Lr(a,N,i,r,s.concat(N,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},t9=(e,t)=>{if(Bn(e.classes)!==Bn(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},r9=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Sr&&n instanceof Sr&&t9(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},e0=function(t){for(var r=0,n=0,i=0,a=0;a<t.children.length;a++){var s=t.children[a];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},er=function(t,r,n,i){var a=new Ma(t,r,n,i);return e0(a),a},T1=(e,t,r,n)=>new Ma(e,t,r,n),n9=function(t,r,n){var i=er([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=me(i.height),i.maxFontSize=1,i},i9=function(t,r,n,i){var a=new Zl(t,r,n,i);return e0(a),a},w1=function(t){var r=new Oa(t);return e0(r),r},a9=function(t,r){return t instanceof Oa?er([],[t],r):t},s9=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s<r.length;s++){var o=-r[s].shift-a-r[s].elem.depth,l=o-(r[s-1].elem.height+r[s-1].elem.depth);a=a+o,n.push({type:"kern",size:l}),n.push(r[s])}return{children:n,depth:i}}var c;if(t.positionType==="top"){for(var h=t.positionData,f=0;f<t.children.length;f++){var g=t.children[f];h-=g.type==="kern"?g.size:g.elem.height+g.elem.depth}c=h}else if(t.positionType==="bottom")c=-t.positionData;else{var m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")c=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")c=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:c}},u9=function(t,r){for(var{children:n,depth:i}=s9(t),a=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var l=o.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var c=er(["pstrut"],[]);c.style.height=me(a);for(var h=[],f=i,g=i,m=i,E=0;E<n.length;E++){var w=n[E];if(w.type==="kern")m+=w.size;else{var C=w.elem,T=w.wrapperClasses||[],A=w.wrapperStyle||{},N=er(T,[c,C],void 0,A);N.style.top=me(-a-m-C.depth),w.marginLeft&&(N.style.marginLeft=w.marginLeft),w.marginRight&&(N.style.marginRight=w.marginRight),h.push(N),m+=C.height+C.depth}f=Math.min(f,m),g=Math.max(g,m)}var H=er(["vlist"],h);H.style.height=me(g);var P;if(f<0){var b=er([],[]),R=er(["vlist"],[b]);R.style.height=me(-f);var j=er(["vlist-s"],[new Sr("​")]);P=[er(["vlist-r"],[H,j]),er(["vlist-r"],[R])]}else P=[er(["vlist-r"],[H])];var Y=er(["vlist-t"],P);return P.length===2&&Y.classes.push("vlist-t2"),Y.height=g,Y.depth=-f,Y},o9=(e,t)=>{var r=er(["mspace"],[],t),n=ct(e,t);return r.style.marginRight=me(n),r},os=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},S1={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},_1={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},l9=function(t,r){var[n,i,a]=_1[t],s=new Fn(n),o=new mn([s],{width:me(i),height:me(a),style:"width:"+me(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=T1(["overlay"],[o],r);return l.height=a,l.style.height=me(a),l.style.width=me(i),l},J={fontMap:S1,makeSymbol:Lr,mathsym:Kv,makeSpan:er,makeSvgSpan:T1,makeLineSpan:n9,makeAnchor:i9,makeFragment:w1,wrapFragment:a9,makeVList:u9,makeOrd:e9,makeGlue:o9,staticSvg:l9,svgData:_1,tryCombineChars:r9},lt={number:3,unit:"mu"},Xn={number:4,unit:"mu"},sn={number:5,unit:"mu"},c9={mord:{mop:lt,mbin:Xn,mrel:sn,minner:lt},mop:{mord:lt,mop:lt,mrel:sn,minner:lt},mbin:{mord:Xn,mop:Xn,mopen:Xn,minner:Xn},mrel:{mord:sn,mop:sn,mopen:sn,minner:sn},mopen:{},mclose:{mop:lt,mbin:Xn,mrel:sn,minner:lt},mpunct:{mord:lt,mop:lt,mrel:sn,mopen:lt,mclose:lt,mpunct:lt,minner:lt},minner:{mord:lt,mop:lt,mbin:Xn,mrel:sn,mopen:lt,mpunct:lt,minner:lt}},h9={mord:{mop:lt},mop:{mord:lt,mop:lt},mbin:{},mrel:{},mopen:{},mclose:{mop:lt},mpunct:{},minner:{mop:lt}},C1={},Bs={},Fs={};function ge(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},l=0;l<r.length;++l)C1[r[l]]=o;t&&(a&&(Bs[t]=a),s&&(Fs[t]=s))}function ei(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ge({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Hs=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},mt=function(t){return t.type==="ordgroup"?t.body:[t]},gn=J.makeSpan,f9=["leftmost","mbin","mopen","mrel","mop","mpunct"],d9=["rightmost","mrel","mclose","mpunct"],p9={display:Ce.DISPLAY,text:Ce.TEXT,script:Ce.SCRIPT,scriptscript:Ce.SCRIPTSCRIPT},m9={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ct=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<t.length;s++){var o=je(t[s],r);if(o instanceof Oa){var l=o.children;a.push(...l)}else a.push(o)}if(J.tryCombineChars(a),!n)return a;var c=r;if(t.length===1){var h=t[0];h.type==="sizing"?c=r.havingSize(h.size):h.type==="styling"&&(c=r.havingStyle(p9[h.style]))}var f=gn([i[0]||"leftmost"],[],r),g=gn([i[1]||"rightmost"],[],r),m=n==="root";return Qh(a,(E,w)=>{var C=w.classes[0],T=E.classes[0];C==="mbin"&&d9.includes(T)?w.classes[0]="mord":T==="mbin"&&f9.includes(C)&&(E.classes[0]="mord")},{node:f},g,m),Qh(a,(E,w)=>{var C=nl(w),T=nl(E),A=C&&T?E.hasClass("mtight")?h9[C][T]:c9[C][T]:null;if(A)return J.makeGlue(A,c)},{node:f},g,m),a},Qh=function e(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var o=t[s],l=A1(o);if(l){e(l.children,r,n,null,a);continue}var c=!o.hasClass("mspace");if(c){var h=r(o,n.node);h&&(n.insertAfter?n.insertAfter(h):(t.unshift(h),s++))}c?n.node=o:a&&o.hasClass("newline")&&(n.node=gn(["leftmost"])),n.insertAfter=(f=>g=>{t.splice(f+1,0,g),s++})(s)}i&&t.pop()},A1=function(t){return t instanceof Oa||t instanceof Zl||t instanceof Ma&&t.hasClass("enclosing")?t:null},g9=function e(t,r){var n=A1(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},nl=function(t,r){return t?(r&&(t=g9(t,r)),m9[t.classes[0]]||null):null},ka=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return gn(r.concat(n))},je=function(t,r,n){if(!t)return gn();if(Bs[t.type]){var i=Bs[t.type](t,r);if(n&&r.size!==n.size){i=gn(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new fe("Got group of unknown type: '"+t.type+"'")};function ls(e,t){var r=gn(["base"],e,t),n=gn(["strut"]);return n.style.height=me(r.height+r.depth),r.depth&&(n.style.verticalAlign=me(-r.depth)),r.children.unshift(n),r}function il(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Ct(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var l=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(l=!0);l||(a.push(ls(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(ls(s,t)),s=[]),a.push(n[o]));s.length>0&&a.push(ls(s,t));var c;r?(c=ls(Ct(r,t,!0)),c.classes=["tag"],a.push(c)):i&&a.push(i);var h=gn(["katex-html"],a);if(h.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=me(h.height+h.depth),h.depth&&(f.style.verticalAlign=me(-h.depth))}return h}function I1(e){return new Oa(e)}class ur{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=Bn(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof $r&&this.children[n+1]instanceof $r){for(var i=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof $r;)i+=this.children[++n].toText();t.appendChild(new $r(i).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=$e.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+$e.escape(Bn(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class $r{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return $e.escape(this.toText())}toText(){return this.text}}class b9{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",me(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+me(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ce={MathNode:ur,TextNode:$r,SpaceNode:b9,newDocumentFragment:I1},_r=function(t,r,n){return nt[r][t]&&nt[r][t].replace&&t.charCodeAt(0)!==55349&&!(k1.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=nt[r][t].replace),new ce.TextNode(t)},t0=function(t){return t.length===1?t[0]:new ce.MathNode("mrow",t)},r0=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(["\\imath","\\jmath"].includes(a))return null;nt[i][a]&&nt[i][a].replace&&(a=nt[i][a].replace);var s=J.fontMap[n].fontName;return Kl(a,s,i)?J.fontMap[n].variant:null};function bo(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof $r&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof $r&&r.text===","}else return!1}var ir=function(t,r,n){if(t.length===1){var i=Ze(t[0],r);return n&&i instanceof ur&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,o=0;o<t.length;o++){var l=Ze(t[o],r);if(l instanceof ur&&s instanceof ur){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(bo(l)&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mn"&&bo(s))l.children=[...s.children,...l.children],a.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(s.type==="mn"||bo(s))){var c=l.children[0];c instanceof ur&&c.type==="mn"&&(c.children=[...s.children,...c.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var h=s.children[0];if(h instanceof $r&&h.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof $r&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),a.pop())}}}a.push(l),s=l}return a},Hn=function(t,r,n){return t0(ir(t,r,n))},Ze=function(t,r){if(!t)return new ce.MathNode("mrow");if(Fs[t.type]){var n=Fs[t.type](t,r);return n}else throw new fe("Got group of unknown type: '"+t.type+"'")};function Kh(e,t,r,n,i){var a=ir(e,r),s;a.length===1&&a[0]instanceof ur&&["mrow","mtable"].includes(a[0].type)?s=a[0]:s=new ce.MathNode("mrow",a);var o=new ce.MathNode("annotation",[new ce.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new ce.MathNode("semantics",[s,o]),c=new ce.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block");var h=i?"katex":"katex-mathml";return J.makeSpan([h],[c])}var N1=function(t){return new un({style:t.displayMode?Ce.DISPLAY:Ce.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},L1=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=J.makeSpan(n,[t])}return t},x9=function(t,r,n){var i=N1(n),a;if(n.output==="mathml")return Kh(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=il(t,i);a=J.makeSpan(["katex"],[s])}else{var o=Kh(t,r,i,n.displayMode,!1),l=il(t,i);a=J.makeSpan(["katex"],[o,l])}return L1(a,n)},y9=function(t,r,n){var i=N1(n),a=il(t,i),s=J.makeSpan(["katex"],[a]);return L1(s,n)},v9={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},E9=function(t){var r=new ce.MathNode("mo",[new ce.TextNode(v9[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},k9={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},T9=function(t){return t.type==="ordgroup"?t.body.length:1},w9=function(t,r){function n(){var o=4e5,l=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(l)){var c=t,h=T9(c.base),f,g,m;if(h>5)l==="widehat"||l==="widecheck"?(f=420,o=2364,m=.42,g=l+"4"):(f=312,o=2340,m=.34,g="tilde4");else{var E=[1,1,2,2,3,3][h];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][E],f=[0,239,300,360,420][E],m=[0,.24,.3,.3,.36,.42][E],g=l+E):(o=[0,600,1033,2339,2340][E],f=[0,260,286,306,312][E],m=[0,.26,.286,.3,.306,.34][E],g="tilde"+E)}var w=new Fn(g),C=new mn([w],{width:"100%",height:me(m),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:J.makeSvgSpan([],[C],r),minWidth:0,height:m}}else{var T=[],A=k9[l],[N,H,P]=A,b=P/1e3,R=N.length,j,Y;if(R===1){var G=A[3];j=["hide-tail"],Y=[G]}else if(R===2)j=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(R===3)j=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
326
+ `+R+" children.");for(var re=0;re<R;re++){var Q=new Fn(N[re]),oe=new mn([Q],{width:"400em",height:me(b),viewBox:"0 0 "+o+" "+P,preserveAspectRatio:Y[re]+" slice"}),se=J.makeSvgSpan([j[re]],[oe],r);if(R===1)return{span:se,minWidth:H,height:b};se.style.height=me(b),T.push(se)}return{span:J.makeSpan(["stretchy"],T,r),minWidth:H,height:b}}}var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=me(s),a>0&&(i.style.minWidth=me(a)),i},S9=function(t,r,n,i,a){var s,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=J.makeSpan(["stretchy",r],[],a),r==="fbox"){var l=a.color&&a.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new tl({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new tl({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new mn(c,{width:"100%",height:me(o)});s=J.makeSvgSpan([],[h],a)}return s.height=o,s.style.height=me(o),s},bn={encloseSpan:S9,mathMLnode:E9,svgSpan:w9};function Oe(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function n0(e){var t=Eu(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Eu(e){return e&&(e.type==="atom"||Jv.hasOwnProperty(e.type))?e:null}var i0=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=Oe(e.base,"accent"),r=n.base,e.base=r,i=Yv(je(e,t)),e.base=n):(n=Oe(e,"accent"),r=n.base);var a=je(r,t.havingCrampedStyle()),s=n.isShifty&&$e.isCharacterBox(r),o=0;if(s){var l=$e.getBaseElem(r),c=je(l,t.havingCrampedStyle());o=Gh(c).skew}var h=n.label==="\\c",f=h?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),g;if(n.isStretchy)g=bn.svgSpan(n,t),g=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+me(2*o)+")",marginLeft:me(2*o)}:void 0}]},t);else{var m,E;n.label==="\\vec"?(m=J.staticSvg("vec",t),E=J.svgData.vec[1]):(m=J.makeOrd({mode:n.mode,text:n.label},t,"textord"),m=Gh(m),m.italic=0,E=m.width,h&&(f+=m.depth)),g=J.makeSpan(["accent-body"],[m]);var w=n.label==="\\textcircled";w&&(g.classes.push("accent-full"),f=a.height);var C=o;w||(C-=E/2),g.style.left=me(C),n.label==="\\textcircled"&&(g.style.top=".2em"),g=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-f},{type:"elem",elem:g}]},t)}var T=J.makeSpan(["mord","accent"],[g],t);return i?(i.children[0]=T,i.height=Math.max(T.height,i.height),i.classes[0]="mord",i):T},R1=(e,t)=>{var r=e.isStretchy?bn.mathMLnode(e.label):new ce.MathNode("mo",[_r(e.label,e.mode)]),n=new ce.MathNode("mover",[Ze(e.base,t),r]);return n.setAttribute("accent","true"),n},_9=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ge({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=Hs(t[0]),n=!_9.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:i0,mathmlBuilder:R1});ge({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:i0,mathmlBuilder:R1});ge({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=je(e.base,t),n=bn.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=J.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return J.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=bn.mathMLnode(e.label),n=new ce.MathNode("munder",[Ze(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var cs=e=>{var t=new ce.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ge({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=J.wrapFragment(je(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=J.wrapFragment(je(e.below,n,t),t),s.classes.push(a+"-arrow-pad"));var o=bn.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*o.height,c=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(c-=i.depth);var h;if(s){var f=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;h=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:o,shift:l},{type:"elem",elem:s,shift:f}]},t)}else h=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:o,shift:l}]},t);return h.children[0].children[0].children[1].classes.push("svg-align"),J.makeSpan(["mrel","x-arrow"],[h],t)},mathmlBuilder(e,t){var r=bn.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=cs(Ze(e.body,t));if(e.below){var a=cs(Ze(e.below,t));n=new ce.MathNode("munderover",[r,a,i])}else n=new ce.MathNode("mover",[r,i])}else if(e.below){var s=cs(Ze(e.below,t));n=new ce.MathNode("munder",[r,s])}else n=cs(),n=new ce.MathNode("mover",[r,n]);return n}});var C9=J.makeSpan;function P1(e,t){var r=Ct(e.body,t,!0);return C9([e.mclass],r,t)}function D1(e,t){var r,n=ir(e.body,t);return e.mclass==="minner"?r=new ce.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new ce.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new ce.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ge({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:mt(i),isCharacterBox:$e.isCharacterBox(i)}},htmlBuilder:P1,mathmlBuilder:D1});var ku=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ge({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:ku(t[0]),body:mt(t[1]),isCharacterBox:$e.isCharacterBox(t[1])}}});ge({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],s;n!=="\\stackrel"?s=ku(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:mt(i)},l={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:$e.isCharacterBox(l)}},htmlBuilder:P1,mathmlBuilder:D1});ge({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:ku(t[0]),body:mt(t[0])}},htmlBuilder(e,t){var r=Ct(e.body,t,!0),n=J.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=ir(e.body,t),n=new ce.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var A9={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Zh=()=>({type:"styling",body:[],mode:"math",style:"display"}),ef=e=>e.type==="textord"&&e.text==="@",I9=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function N9(e,t,r){var n=A9[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,s,o]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function L9(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new fe("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var s=t[a],o=Zh(),l=0;l<s.length;l++)if(!ef(s[l]))o.body.push(s[l]);else{n.push(o),l+=1;var c=n0(s[l]).text,h=new Array(2);if(h[0]={type:"ordgroup",mode:"math",body:[]},h[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var g=!0,m=l+1;m<s.length;m++){if(I9(s[m],c)){g=!1,l=m;break}if(ef(s[m]))throw new fe("Missing a "+c+" character to complete a CD arrow.",s[m]);h[f].body.push(s[m])}if(g)throw new fe("Missing a "+c+" character to complete a CD arrow.",s[l])}else throw new fe('Expected one of "<>AV=|." after @',s[l]);var E=N9(c,h,e),w={type:"styling",body:[E],mode:"math",style:"display"};n.push(w),o=Zh()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var C=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:C,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}ge({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=J.wrapFragment(je(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=me(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new ce.MathNode("mrow",[Ze(e.label,t)]);return r=new ce.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ce.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ge({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=J.wrapFragment(je(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new ce.MathNode("mrow",[Ze(e.fragment,t)])}});ge({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Oe(t[0],"ordgroup"),i=n.body,a="",s=0;s<i.length;s++){var o=Oe(i[s],"textord");a+=o.text}var l=parseInt(a),c;if(isNaN(l))throw new fe("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new fe("\\@char with invalid code point "+a);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var O1=(e,t)=>{var r=Ct(e.body,t.withColor(e.color),!1);return J.makeFragment(r)},M1=(e,t)=>{var r=ir(e.body,t.withColor(e.color)),n=new ce.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ge({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Oe(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:mt(i)}},htmlBuilder:O1,mathmlBuilder:M1});ge({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=Oe(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:O1,mathmlBuilder:M1});ge({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&Oe(i,"size").value}},htmlBuilder(e,t){var r=J.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=me(ct(e.size,t)))),r},mathmlBuilder(e,t){var r=new ce.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",me(ct(e.size,t)))),r}});var al={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},B1=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new fe("Expected a control sequence",e);return t},R9=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},F1=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};ge({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(al[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=al[n.text]),Oe(t.parseFunction(),"internal");throw new fe("Invalid token after macro prefix",n)}});ge({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new fe("Expected a control sequence",n);for(var a=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new fe('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new fe('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new fe("Expected a macro definition");o[a].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:o},r===al[r]),{type:"internal",mode:t.mode}}});ge({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=B1(t.gullet.popToken());t.gullet.consumeSpaces();var i=R9(t);return F1(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ge({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=B1(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return F1(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var ta=function(t,r,n){var i=nt.math[t]&&nt.math[t].replace,a=Kl(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},a0=function(t,r,n,i){var a=n.havingBaseStyle(r),s=J.makeSpan(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=a.sizeMultiplier,s},H1=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=me(a),t.height-=a,t.depth+=a},P9=function(t,r,n,i,a,s){var o=J.makeSymbol(t,"Main-Regular",a,i),l=a0(o,r,i,s);return n&&H1(l,i,r),l},D9=function(t,r,n,i){return J.makeSymbol(t,"Size"+r+"-Regular",n,i)},z1=function(t,r,n,i,a,s){var o=D9(t,r,a,i),l=a0(J.makeSpan(["delimsizing","size"+r],[o],i),Ce.TEXT,i,s);return n&&H1(l,i,Ce.TEXT),l},xo=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=J.makeSpan(["delimsizinginner",i],[J.makeSpan([],[J.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},yo=function(t,r,n){var i=Gr["Size4-Regular"][t.charCodeAt(0)]?Gr["Size4-Regular"][t.charCodeAt(0)][4]:Gr["Size1-Regular"][t.charCodeAt(0)][4],a=new Fn("inner",zv(t,Math.round(1e3*r))),s=new mn([a],{width:me(i),height:me(r),style:"width:"+me(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=J.makeSvgSpan([],[s],n);return o.height=r,o.style.height=me(r),o.style.width=me(i),{type:"elem",elem:o}},sl=.008,hs={type:"kern",size:-1*sl},O9=["|","\\lvert","\\rvert","\\vert"],M9=["\\|","\\lVert","\\rVert","\\Vert"],U1=function(t,r,n,i,a,s){var o,l,c,h,f="",g=0;o=c=h=t,l=null;var m="Size1-Regular";t==="\\uparrow"?c=h="⏐":t==="\\Uparrow"?c=h="‖":t==="\\downarrow"?o=c="⏐":t==="\\Downarrow"?o=c="‖":t==="\\updownarrow"?(o="\\uparrow",c="⏐",h="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",c="‖",h="\\Downarrow"):O9.includes(t)?(c="∣",f="vert",g=333):M9.includes(t)?(c="∥",f="doublevert",g=556):t==="["||t==="\\lbrack"?(o="⎡",c="⎢",h="⎣",m="Size4-Regular",f="lbrack",g=667):t==="]"||t==="\\rbrack"?(o="⎤",c="⎥",h="⎦",m="Size4-Regular",f="rbrack",g=667):t==="\\lfloor"||t==="⌊"?(c=o="⎢",h="⎣",m="Size4-Regular",f="lfloor",g=667):t==="\\lceil"||t==="⌈"?(o="⎡",c=h="⎢",m="Size4-Regular",f="lceil",g=667):t==="\\rfloor"||t==="⌋"?(c=o="⎥",h="⎦",m="Size4-Regular",f="rfloor",g=667):t==="\\rceil"||t==="⌉"?(o="⎤",c=h="⎥",m="Size4-Regular",f="rceil",g=667):t==="("||t==="\\lparen"?(o="⎛",c="⎜",h="⎝",m="Size4-Regular",f="lparen",g=875):t===")"||t==="\\rparen"?(o="⎞",c="⎟",h="⎠",m="Size4-Regular",f="rparen",g=875):t==="\\{"||t==="\\lbrace"?(o="⎧",l="⎨",h="⎩",c="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",l="⎬",h="⎭",c="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",h="⎩",c="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",h="⎭",c="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",h="⎭",c="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",h="⎩",c="⎪",m="Size4-Regular");var E=ta(o,m,a),w=E.height+E.depth,C=ta(c,m,a),T=C.height+C.depth,A=ta(h,m,a),N=A.height+A.depth,H=0,P=1;if(l!==null){var b=ta(l,m,a);H=b.height+b.depth,P=2}var R=w+N+H,j=Math.max(0,Math.ceil((r-R)/(P*T))),Y=R+j*P*T,G=i.fontMetrics().axisHeight;n&&(G*=i.sizeMultiplier);var re=Y/2-G,Q=[];if(f.length>0){var oe=Y-w-N,se=Math.round(Y*1e3),ie=Uv(f,Math.round(oe*1e3)),Te=new Fn(f,ie),we=(g/1e3).toFixed(3)+"em",Be=(se/1e3).toFixed(3)+"em",Ge=new mn([Te],{width:we,height:Be,viewBox:"0 0 "+g+" "+se}),V=J.makeSvgSpan([],[Ge],i);V.height=se/1e3,V.style.width=we,V.style.height=Be,Q.push({type:"elem",elem:V})}else{if(Q.push(xo(h,m,a)),Q.push(hs),l===null){var Qe=Y-w-N+2*sl;Q.push(yo(c,Qe,i))}else{var We=(Y-w-N-H)/2+2*sl;Q.push(yo(c,We,i)),Q.push(hs),Q.push(xo(l,m,a)),Q.push(hs),Q.push(yo(c,We,i))}Q.push(hs),Q.push(xo(o,m,a))}var q=i.havingBaseStyle(Ce.TEXT),dt=J.makeVList({positionType:"bottom",positionData:re,children:Q},q);return a0(J.makeSpan(["delimsizing","mult"],[dt],q),Ce.TEXT,i,s)},vo=80,Eo=.08,ko=function(t,r,n,i,a){var s=Hv(t,i,n),o=new Fn(t,s),l=new mn([o],{width:"400em",height:me(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return J.makeSvgSpan(["hide-tail"],[l],a)},B9=function(t,r){var n=r.havingBaseSizing(),i=G1("\\surd",t*n.sizeMultiplier,j1,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,l=0,c=0,h=0,f;return i.type==="small"?(h=1e3+1e3*s+vo,t<1?a=1:t<1.4&&(a=.7),l=(1+s+Eo)/a,c=(1+s)/a,o=ko("sqrtMain",l,h,s,r),o.style.minWidth="0.853em",f=.833/a):i.type==="large"?(h=(1e3+vo)*la[i.size],c=(la[i.size]+s)/a,l=(la[i.size]+s+Eo)/a,o=ko("sqrtSize"+i.size,l,h,s,r),o.style.minWidth="1.02em",f=1/a):(l=t+s+Eo,c=t+s,h=Math.floor(1e3*t+s)+vo,o=ko("sqrtTall",l,h,s,r),o.style.minWidth="0.742em",f=1.056),o.height=c,o.style.height=me(l),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},V1=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],F9=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],q1=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],la=[0,1.2,1.8,2.4,3],H9=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),V1.includes(t)||q1.includes(t))return z1(t,r,!1,n,i,a);if(F9.includes(t))return U1(t,la[r],!1,n,i,a);throw new fe("Illegal delimiter: '"+t+"'")},z9=[{type:"small",style:Ce.SCRIPTSCRIPT},{type:"small",style:Ce.SCRIPT},{type:"small",style:Ce.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],U9=[{type:"small",style:Ce.SCRIPTSCRIPT},{type:"small",style:Ce.SCRIPT},{type:"small",style:Ce.TEXT},{type:"stack"}],j1=[{type:"small",style:Ce.SCRIPTSCRIPT},{type:"small",style:Ce.SCRIPT},{type:"small",style:Ce.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],V9=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},G1=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;s<n.length&&n[s].type!=="stack";s++){var o=ta(t,V9(n[s]),"math"),l=o.height+o.depth;if(n[s].type==="small"){var c=i.havingBaseStyle(n[s].style);l*=c.sizeMultiplier}if(l>r)return n[s]}return n[n.length-1]},$1=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;q1.includes(t)?o=z9:V1.includes(t)?o=j1:o=U9;var l=G1(t,r,o,i);return l.type==="small"?P9(t,l.style,n,i,a,s):l.type==="large"?z1(t,l.size,n,i,a,s):U1(t,r,n,i,a,s)},q9=function(t,r,n,i,a,s){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,c=5/i.fontMetrics().ptPerEm,h=Math.max(r-o,n+o),f=Math.max(h/500*l,2*h-c);return $1(t,f,!0,i,a,s)},fn={sqrtImage:B9,sizedDelim:H9,sizeToMaxHeight:la,customSizedDelim:$1,leftRightDelim:q9},tf={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},j9=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Tu(e,t){var r=Eu(e);if(r&&j9.includes(r.text))return r;throw r?new fe("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new fe("Invalid delimiter type '"+e.type+"'",e)}ge({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Tu(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:tf[e.funcName].size,mclass:tf[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?J.makeSpan([e.mclass]):fn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(_r(e.delim,e.mode));var r=new ce.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=me(fn.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function rf(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ge({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new fe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Tu(t[0],e).text,color:r}}});ge({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Tu(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=Oe(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{rf(e);for(var r=Ct(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s<r.length;s++)r[s].isMiddle?a=!0:(n=Math.max(r[s].height,n),i=Math.max(r[s].depth,i));n*=t.sizeMultiplier,i*=t.sizeMultiplier;var o;if(e.left==="."?o=ka(t,["mopen"]):o=fn.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),r.unshift(o),a)for(var l=1;l<r.length;l++){var c=r[l],h=c.isMiddle;h&&(r[l]=fn.leftRightDelim(h.delim,n,i,h.options,e.mode,[]))}var f;if(e.right===".")f=ka(t,["mclose"]);else{var g=e.rightColor?t.withColor(e.rightColor):t;f=fn.leftRightDelim(e.right,n,i,g,e.mode,["mclose"])}return r.push(f),J.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{rf(e);var r=ir(e.body,t);if(e.left!=="."){var n=new ce.MathNode("mo",[_r(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new ce.MathNode("mo",[_r(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return t0(r)}});ge({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Tu(t[0],e);if(!e.parser.leftrightDepth)throw new fe("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=ka(t,[]);else{r=fn.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?_r("|","text"):_r(e.delim,e.mode),n=new ce.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var s0=(e,t)=>{var r=J.wrapFragment(je(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s=0,o=$e.isCharacterBox(e.body);if(n==="sout")a=J.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=ct({number:.6,unit:"pt"},t),c=ct({number:.35,unit:"ex"},t),h=t.havingBaseSizing();i=i/h.sizeMultiplier;var f=r.height+r.depth+l+c;r.style.paddingLeft=me(f/2+l);var g=Math.floor(1e3*f*i),m=Bv(g),E=new mn([new Fn("phase",m)],{width:"400em",height:me(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=J.makeSvgSpan(["hide-tail"],[E],t),a.style.height=me(f),s=r.depth+l+c}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var w=0,C=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),w=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),C=w):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),w=4*T,C=Math.max(0,.25-r.depth)):(w=o?.2:0,C=w),a=bn.encloseSpan(r,n,w,C,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=me(T)):n==="angl"&&T!==.049&&(a.style.borderTopWidth=me(T),a.style.borderRightWidth=me(T)),s=r.depth+C,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var A;if(e.backgroundColor)A=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var N=/cancel|phase/.test(n)?["svg-align"]:[];A=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:N}]},t)}return/cancel/.test(n)&&(A.height=r.height,A.depth=r.depth),/cancel/.test(n)&&!o?J.makeSpan(["mord","cancel-lap"],[A],t):J.makeSpan(["mord"],[A],t)},u0=(e,t)=>{var r=0,n=new ce.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ze(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ge({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=Oe(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:s0,mathmlBuilder:u0});ge({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=Oe(t[0],"color-token").color,s=Oe(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:o}},htmlBuilder:s0,mathmlBuilder:u0});ge({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});ge({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:s0,mathmlBuilder:u0});ge({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var W1={};function en(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<r.length;++l)W1[r[l]]=o;a&&(Bs[t]=a),s&&(Fs[t]=s)}var Y1={};function L(e,t){Y1[e]=t}function nf(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var wu=e=>{var t=e.parser.settings;if(!t.displayMode)throw new fe("{"+e.envName+"} can be used only in display mode.")};function o0(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Vn(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:l,singleRow:c,emptySingleRow:h,maxNumCols:f,leqno:g}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new fe("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var E=[],w=[E],C=[],T=[],A=l!=null?[]:void 0;function N(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function H(){A&&(e.gullet.macros.get("\\df@tag")?(A.push(e.subparse([new lr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):A.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(N(),T.push(nf(e));;){var P=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),P={type:"ordgroup",mode:e.mode,body:P},r&&(P={type:"styling",mode:e.mode,style:r,body:[P]}),E.push(P);var b=e.fetch().text;if(b==="&"){if(f&&E.length===f){if(c||o)throw new fe("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(b==="\\end"){H(),E.length===1&&P.type==="styling"&&P.body[0].body.length===0&&(w.length>1||!h)&&w.pop(),T.length<w.length+1&&T.push([]);break}else if(b==="\\\\"){e.consume();var R=void 0;e.gullet.future().text!==" "&&(R=e.parseSizeGroup(!0)),C.push(R?R.value:null),H(),T.push(nf(e)),E=[],w.push(E),N()}else throw new fe("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:w,cols:a,rowGaps:C,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:o,tags:A,leqno:g}}function l0(e){return e.slice(0,1)==="d"?"display":"text"}var tn=function(t,r){var n,i,a=t.body.length,s=t.hLinesBeforeRow,o=0,l=new Array(a),c=[],h=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,g=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var m=r.havingStyle(Ce.SCRIPT).sizeMultiplier;g=.2778*(m/r.sizeMultiplier)}var E=t.colSeparationType==="CD"?ct({number:3,unit:"ex"},r):12*f,w=3*f,C=t.arraystretch*E,T=.7*C,A=.3*C,N=0;function H(qt){for(var Jt=0;Jt<qt.length;++Jt)Jt>0&&(N+=.25),c.push({pos:N,isDashed:qt[Jt]})}for(H(s[0]),n=0;n<t.body.length;++n){var P=t.body[n],b=T,R=A;o<P.length&&(o=P.length);var j=new Array(P.length);for(i=0;i<P.length;++i){var Y=je(P[i],r);R<Y.depth&&(R=Y.depth),b<Y.height&&(b=Y.height),j[i]=Y}var G=t.rowGaps[n],re=0;G&&(re=ct(G,r),re>0&&(re+=A,R<re&&(R=re),re=0)),t.addJot&&(R+=w),j.height=b,j.depth=R,N+=b,j.pos=N,N+=R+re,l[n]=j,H(s[n+1])}var Q=N/2+r.fontMetrics().axisHeight,oe=t.cols||[],se=[],ie,Te,we=[];if(t.tags&&t.tags.some(qt=>qt))for(n=0;n<a;++n){var Be=l[n],Ge=Be.pos-Q,V=t.tags[n],Qe=void 0;V===!0?Qe=J.makeSpan(["eqn-num"],[],r):V===!1?Qe=J.makeSpan([],[],r):Qe=J.makeSpan([],Ct(V,r,!0),r),Qe.depth=Be.depth,Qe.height=Be.height,we.push({type:"elem",elem:Qe,shift:Ge})}for(i=0,Te=0;i<o||Te<oe.length;++i,++Te){for(var We=oe[Te]||{},q=!0;We.type==="separator";){if(q||(ie=J.makeSpan(["arraycolsep"],[]),ie.style.width=me(r.fontMetrics().doubleRuleSep),se.push(ie)),We.separator==="|"||We.separator===":"){var dt=We.separator==="|"?"solid":"dashed",ht=J.makeSpan(["vertical-separator"],[],r);ht.style.height=me(N),ht.style.borderRightWidth=me(h),ht.style.borderRightStyle=dt,ht.style.margin="0 "+me(-h/2);var et=N-Q;et&&(ht.style.verticalAlign=me(-et)),se.push(ht)}else throw new fe("Invalid separator type: "+We.separator);Te++,We=oe[Te]||{},q=!1}if(!(i>=o)){var Pt=void 0;(i>0||t.hskipBeforeAndAfter)&&(Pt=$e.deflt(We.pregap,g),Pt!==0&&(ie=J.makeSpan(["arraycolsep"],[]),ie.style.width=me(Pt),se.push(ie)));var vt=[];for(n=0;n<a;++n){var gt=l[n],bt=gt[i];if(bt){var Et=gt.pos-Q;bt.depth=gt.depth,bt.height=gt.height,vt.push({type:"elem",elem:bt,shift:Et})}}vt=J.makeVList({positionType:"individualShift",children:vt},r),vt=J.makeSpan(["col-align-"+(We.align||"c")],[vt]),se.push(vt),(i<o-1||t.hskipBeforeAndAfter)&&(Pt=$e.deflt(We.postgap,g),Pt!==0&&(ie=J.makeSpan(["arraycolsep"],[]),ie.style.width=me(Pt),se.push(ie)))}}if(l=J.makeSpan(["mtable"],se),c.length>0){for(var Tn=J.makeLineSpan("hline",r,h),Or=J.makeLineSpan("hdashline",r,h),Mr=[{type:"elem",elem:l,shift:0}];c.length>0;){var hr=c.pop(),Ar=hr.pos-Q;hr.isDashed?Mr.push({type:"elem",elem:Or,shift:Ar}):Mr.push({type:"elem",elem:Tn,shift:Ar})}l=J.makeVList({positionType:"individualShift",children:Mr},r)}if(we.length===0)return J.makeSpan(["mord"],[l],r);var Dt=J.makeVList({positionType:"individualShift",children:we},r);return Dt=J.makeSpan(["tag"],[Dt],r),J.makeFragment([l,Dt])},G9={c:"center ",l:"left ",r:"right "},rn=function(t,r){for(var n=[],i=new ce.MathNode("mtd",[],["mtr-glue"]),a=new ce.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],l=[],c=0;c<o.length;c++)l.push(new ce.MathNode("mtd",[Ze(o[c],r)]));t.tags&&t.tags[s]&&(l.unshift(i),l.push(i),t.leqno?l.unshift(a):l.push(a)),n.push(new ce.MathNode("mtr",l))}var h=new ce.MathNode("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);h.setAttribute("rowspacing",me(f));var g="",m="";if(t.cols&&t.cols.length>0){var E=t.cols,w="",C=!1,T=0,A=E.length;E[0].type==="separator"&&(g+="top ",T=1),E[E.length-1].type==="separator"&&(g+="bottom ",A-=1);for(var N=T;N<A;N++)E[N].type==="align"?(m+=G9[E[N].align],C&&(w+="none "),C=!0):E[N].type==="separator"&&C&&(w+=E[N].separator==="|"?"solid ":"dashed ",C=!1);h.setAttribute("columnalign",m.trim()),/[sd]/.test(w)&&h.setAttribute("columnlines",w.trim())}if(t.colSeparationType==="align"){for(var H=t.cols||[],P="",b=1;b<H.length;b++)P+=b%2?"0em ":"1em ";h.setAttribute("columnspacing",P.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?h.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");var R="",j=t.hLinesBeforeRow;g+=j[0].length>0?"left ":"",g+=j[j.length-1].length>0?"right ":"";for(var Y=1;Y<j.length-1;Y++)R+=j[Y].length===0?"none ":j[Y][0]?"dashed ":"solid ";return/[sd]/.test(R)&&h.setAttribute("rowlines",R.trim()),g!==""&&(h=new ce.MathNode("menclose",[h]),h.setAttribute("notation",g.trim())),t.arraystretch&&t.arraystretch<1&&(h=new ce.MathNode("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},X1=function(t,r){t.envName.indexOf("ed")===-1&&wu(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",s=Vn(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:o0(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,l=0,c={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var h="",f=0;f<r[0].body.length;f++){var g=Oe(r[0].body[f],"textord");h+=g.text}o=Number(h),l=o*2}var m=!l;s.body.forEach(function(T){for(var A=1;A<T.length;A+=2){var N=Oe(T[A],"styling"),H=Oe(N.body[0],"ordgroup");H.body.unshift(c)}if(m)l<T.length&&(l=T.length);else{var P=T.length/2;if(o<P)throw new fe("Too many math in a row: "+("expected "+o+", but got "+P),T[0])}});for(var E=0;E<l;++E){var w="r",C=0;E%2===1?w="l":E>0&&m&&(C=1),n[E]={type:"align",align:w,pregap:C,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};en({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=Eu(t[0]),n=r?[t[0]]:Oe(t[0],"ordgroup").body,i=n.map(function(s){var o=n0(s),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new fe("Unknown column alignment: "+l,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return Vn(e.parser,a,l0(e.envName))},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new fe("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=Vn(e.parser,n,l0(e.envName)),s=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=Vn(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=Eu(t[0]),n=r?[t[0]]:Oe(t[0],"ordgroup").body,i=n.map(function(s){var o=n0(s),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new fe("Unknown column alignment: "+l,s)});if(i.length>1)throw new fe("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=Vn(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new fe("{subarray} can contain only one column");return a},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Vn(e.parser,t,l0(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:X1,htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&wu(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:o0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Vn(e.parser,t,"display")},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:X1,htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){wu(e);var t={autoTag:o0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Vn(e.parser,t,"display")},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["CD"],props:{numArgs:0},handler(e){return wu(e),L9(e.parser)},htmlBuilder:tn,mathmlBuilder:rn});L("\\nonumber","\\gdef\\@eqnsw{0}");L("\\notag","\\nonumber");ge({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new fe(e.funcName+" valid only within array environment")}});var af=W1;ge({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new fe("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=Oe(i.body[s],"textord").text;if(n==="\\begin"){if(!af.hasOwnProperty(a))throw new fe("No such environment: "+a,i);var o=af[a],{args:l,optArgs:c}=r.parseArguments("\\begin{"+a+"}",o),h={mode:r.mode,envName:a,parser:r},f=o.handler(h,l,c);r.expect("\\end",!1);var g=r.nextToken,m=Oe(r.parseFunction(),"environment");if(m.name!==a)throw new fe("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",g);return f}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var J1=(e,t)=>{var r=e.font,n=t.withFont(r);return je(e.body,n)},Q1=(e,t)=>{var r=e.font,n=t.withFont(r);return Ze(e.body,n)},sf={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ge({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=Hs(t[0]),a=n;return a in sf&&(a=sf[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:J1,mathmlBuilder:Q1});ge({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=$e.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:ku(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}});ge({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,s=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:J1,mathmlBuilder:Q1});var K1=(e,t)=>{var r=t;return e==="display"?r=r.id>=Ce.SCRIPT.id?r.text():Ce.DISPLAY:e==="text"&&r.size===Ce.DISPLAY.size?r=Ce.TEXT:e==="script"?r=Ce.SCRIPT:e==="scriptscript"&&(r=Ce.SCRIPTSCRIPT),r},c0=(e,t)=>{var r=K1(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var s=je(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<l?l:s.depth}a=t.havingStyle(i);var c=je(e.denom,a,t),h,f,g;e.hasBarLine?(e.barSize?(f=ct(e.barSize,t),h=J.makeLineSpan("frac-line",t,f)):h=J.makeLineSpan("frac-line",t),f=h.height,g=h.height):(h=null,f=0,g=t.fontMetrics().defaultRuleThickness);var m,E,w;r.size===Ce.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,f>0?E=3*g:E=7*g,w=t.fontMetrics().denom1):(f>0?(m=t.fontMetrics().num2,E=g):(m=t.fontMetrics().num3,E=3*g),w=t.fontMetrics().denom2);var C;if(h){var A=t.fontMetrics().axisHeight;m-s.depth-(A+.5*f)<E&&(m+=E-(m-s.depth-(A+.5*f))),A-.5*f-(c.height-w)<E&&(w+=E-(A-.5*f-(c.height-w)));var N=-(A-.5*f);C=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:w},{type:"elem",elem:h,shift:N},{type:"elem",elem:s,shift:-m}]},t)}else{var T=m-s.depth-(c.height-w);T<E&&(m+=.5*(E-T),w+=.5*(E-T)),C=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:w},{type:"elem",elem:s,shift:-m}]},t)}a=t.havingStyle(r),C.height*=a.sizeMultiplier/t.sizeMultiplier,C.depth*=a.sizeMultiplier/t.sizeMultiplier;var H;r.size===Ce.DISPLAY.size?H=t.fontMetrics().delim1:r.size===Ce.SCRIPTSCRIPT.size?H=t.havingStyle(Ce.SCRIPT).fontMetrics().delim2:H=t.fontMetrics().delim2;var P,b;return e.leftDelim==null?P=ka(t,["mopen"]):P=fn.customSizedDelim(e.leftDelim,H,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?b=J.makeSpan([]):e.rightDelim==null?b=ka(t,["mclose"]):b=fn.customSizedDelim(e.rightDelim,H,!0,t.havingStyle(r),e.mode,["mclose"]),J.makeSpan(["mord"].concat(a.sizingClasses(t)),[P,J.makeSpan(["mfrac"],[C]),b],t)},h0=(e,t)=>{var r=new ce.MathNode("mfrac",[Ze(e.numer,t),Ze(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=ct(e.barSize,t);r.setAttribute("linethickness",me(n))}var i=K1(e.size,t.style);if(i.size!==t.style.size){r=new ce.MathNode("mstyle",[r]);var a=i.size===Ce.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var o=new ce.MathNode("mo",[new ce.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),e.rightDelim!=null){var l=new ce.MathNode("mo",[new ce.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return t0(s)}return r};ge({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],s,o=null,l=null,c="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",l=")";break;case"\\\\bracefrac":s=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:o,rightDelim:l,size:c,barSize:null}},htmlBuilder:c0,mathmlBuilder:h0});ge({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ge({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var uf=["display","text","script","scriptscript"],of=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ge({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],i=t[5],a=Hs(t[0]),s=a.type==="atom"&&a.family==="open"?of(a.text):null,o=Hs(t[1]),l=o.type==="atom"&&o.family==="close"?of(o.text):null,c=Oe(t[2],"size"),h,f=null;c.isBlank?h=!0:(f=c.value,h=f.number>0);var g="auto",m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var E=Oe(m.body[0],"textord");g=uf[Number(E.text)]}}else m=Oe(m,"textord"),g=uf[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:h,barSize:f,leftDelim:s,rightDelim:l,size:g}},htmlBuilder:c0,mathmlBuilder:h0});ge({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Oe(t[0],"size").value,token:i}}});ge({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=kv(Oe(t[1],"infix").size),s=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:c0,mathmlBuilder:h0});var Z1=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?je(e.sup,t.havingStyle(r.sup()),t):je(e.sub,t.havingStyle(r.sub()),t),i=Oe(e.base,"horizBrace")):i=Oe(e,"horizBrace");var a=je(i.base,t.havingBaseStyle(Ce.DISPLAY)),s=bn.svgSpan(i,t),o;if(i.isOver?(o=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=J.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=J.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t);i.isOver?o=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=J.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return J.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t)},$9=(e,t)=>{var r=bn.mathMLnode(e.label);return new ce.MathNode(e.isOver?"mover":"munder",[Ze(e.base,t),r])};ge({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Z1,mathmlBuilder:$9});ge({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=Oe(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:mt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ct(e.body,t,!1);return J.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Hn(e.body,t);return r instanceof ur||(r=new ur("mrow",[r])),r.setAttribute("href",e.href),r}});ge({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Oe(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var s=n[a];s==="~"&&(s="\\textasciitilde"),i.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:mt(o)}}});ge({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:mt(t[0])}},htmlBuilder(e,t){var r=Ct(e.body,t,!1);return J.makeFragment(r)},mathmlBuilder(e,t){return new ce.MathNode("mrow",ir(e.body,t))}});ge({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:i}=e,a=Oe(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(n){case"\\htmlClass":l.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var c=a.split(","),h=0;h<c.length;h++){var f=c[h],g=f.indexOf("=");if(g<0)throw new fe("\\htmlData key/value '"+f+"' missing equals sign");var m=f.slice(0,g),E=f.slice(g+1);l["data-"+m.trim()]=E}o={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:l,body:mt(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Ct(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=J.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>Hn(e.body,t)});ge({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:mt(t[0]),mathml:mt(t[1])}},htmlBuilder:(e,t)=>{var r=Ct(e.html,t,!1);return J.makeFragment(r)},mathmlBuilder:(e,t)=>Hn(e.mathml,t)});var To=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new fe("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!x1(n))throw new fe("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ge({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var l=Oe(r[0],"raw").string,c=l.split(","),h=0;h<c.length;h++){var f=c[h].split("=");if(f.length===2){var g=f[1].trim();switch(f[0].trim()){case"alt":o=g;break;case"width":i=To(g);break;case"height":a=To(g);break;case"totalheight":s=To(g);break;default:throw new fe("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var m=Oe(t[0],"url").url;return o===""&&(o=m,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:s,src:m}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=ct(e.height,t),n=0;e.totalheight.number>0&&(n=ct(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=ct(e.width,t));var a={height:me(r+n)};i>0&&(a.width=me(i)),n>0&&(a.verticalAlign=me(-n));var s=new $v(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=ct(e.height,t),i=0;if(e.totalheight.number>0&&(i=ct(e.totalheight,t)-n,r.setAttribute("valign",me(-i))),r.setAttribute("height",me(n+i)),e.width.number>0){var a=ct(e.width,t);r.setAttribute("width",me(a))}return r.setAttribute("src",e.src),r}});ge({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=Oe(t[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return J.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=ct(e.dimension,t);return new ce.SpaceNode(r)}});ge({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=J.makeSpan([],[je(e.body,t)]),r=J.makeSpan(["inner"],[r],t)):r=J.makeSpan(["inner"],[je(e.body,t)]);var n=J.makeSpan(["fix"],[]),i=J.makeSpan([e.alignment],[r,n],t),a=J.makeSpan(["strut"]);return a.style.height=me(i.height+i.depth),i.depth&&(a.style.verticalAlign=me(-i.depth)),i.children.unshift(a),i=J.makeSpan(["thinbox"],[i],t),J.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[Ze(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});ge({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}});ge({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new fe("Mismatched "+e.funcName)}});var lf=(e,t)=>{switch(t.style.size){case Ce.DISPLAY.size:return e.display;case Ce.TEXT.size:return e.text;case Ce.SCRIPT.size:return e.script;case Ce.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ge({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:mt(t[0]),text:mt(t[1]),script:mt(t[2]),scriptscript:mt(t[3])}},htmlBuilder:(e,t)=>{var r=lf(e,t),n=Ct(r,t,!1);return J.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=lf(e,t);return Hn(r,t)}});var em=(e,t,r,n,i,a,s)=>{e=J.makeSpan([],[e]);var o=r&&$e.isCharacterBox(r),l,c;if(t){var h=je(t,n.havingStyle(i.sup()),n);c={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var f=je(r,n.havingStyle(i.sub()),n);l={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var g;if(c&&l){var m=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;g=J.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var E=e.height-s;g=J.makeVList({positionType:"top",positionData:E,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},n)}else if(c){var w=e.depth+s;g=J.makeVList({positionType:"bottom",positionData:w,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var C=[g];if(l&&a!==0&&!o){var T=J.makeSpan(["mspace"],[],n);T.style.marginRight=me(a),C.unshift(T)}return J.makeSpan(["mop","op-limits"],C,n)},tm=["\\smallint"],Mi=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=Oe(e.base,"op"),i=!0):a=Oe(e,"op");var s=t.style,o=!1;s.size===Ce.DISPLAY.size&&a.symbol&&!tm.includes(a.name)&&(o=!0);var l;if(a.symbol){var c=o?"Size2-Regular":"Size1-Regular",h="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(h=a.name.slice(1),a.name=h==="oiint"?"\\iint":"\\iiint"),l=J.makeSymbol(a.name,c,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),h.length>0){var f=l.italic,g=J.staticSvg(h+"Size"+(o?"2":"1"),t);l=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},t),a.name="\\"+h,l.classes.unshift("mop"),l.italic=f}}else if(a.body){var m=Ct(a.body,t,!0);m.length===1&&m[0]instanceof Sr?(l=m[0],l.classes[0]="mop"):l=J.makeSpan(["mop"],m,t)}else{for(var E=[],w=1;w<a.name.length;w++)E.push(J.mathsym(a.name[w],a.mode,t));l=J.makeSpan(["mop"],E,t)}var C=0,T=0;return(l instanceof Sr||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(C=(l.height-l.depth)/2-t.fontMetrics().axisHeight,T=l.italic),i?em(l,r,n,t,s,T,C):(C&&(l.style.position="relative",l.style.top=me(C)),l)},Ba=(e,t)=>{var r;if(e.symbol)r=new ur("mo",[_r(e.name,e.mode)]),tm.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new ur("mo",ir(e.body,t));else{r=new ur("mi",[new $r(e.name.slice(1))]);var n=new ur("mo",[_r("⁡","text")]);e.parentIsSupSub?r=new ur("mrow",[r,n]):r=I1([r,n])}return r},W9={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ge({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=W9[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Mi,mathmlBuilder:Ba});ge({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mt(n)}},htmlBuilder:Mi,mathmlBuilder:Ba});var Y9={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ge({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Mi,mathmlBuilder:Ba});ge({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Mi,mathmlBuilder:Ba});ge({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Y9[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Mi,mathmlBuilder:Ba});var rm=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=Oe(e.base,"operatorname"),i=!0):a=Oe(e,"operatorname");var s;if(a.body.length>0){for(var o=a.body.map(f=>{var g=f.text;return typeof g=="string"?{type:"textord",mode:f.mode,text:g}:f}),l=Ct(o,t.withFont("mathrm"),!0),c=0;c<l.length;c++){var h=l[c];h instanceof Sr&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=J.makeSpan(["mop"],l,t)}else s=J.makeSpan(["mop"],[],t);return i?em(s,r,n,t,t.style,0,0):s},X9=(e,t)=>{for(var r=ir(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof ce.SpaceNode))if(a instanceof ce.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof ce.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(h=>h.toText()).join("");r=[new ce.TextNode(o)]}var l=new ce.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new ce.MathNode("mo",[_r("⁡","text")]);return e.parentIsSupSub?new ce.MathNode("mrow",[l,c]):ce.newDocumentFragment([l,c])};ge({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:mt(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:rm,mathmlBuilder:X9});L("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ei({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?J.makeFragment(Ct(e.body,t,!1)):J.makeSpan(["mord"],Ct(e.body,t,!0),t)},mathmlBuilder(e,t){return Hn(e.body,t,!0)}});ge({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=je(e.body,t.havingCrampedStyle()),n=J.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return J.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("mover",[Ze(e.body,t),r]);return n.setAttribute("accent","true"),n}});ge({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:mt(n)}},htmlBuilder:(e,t)=>{var r=Ct(e.body,t.withPhantom(),!1);return J.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=ir(e.body,t);return new ce.MathNode("mphantom",r)}});ge({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=J.makeSpan([],[je(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),J.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=ir(mt(e.body),t),n=new ce.MathNode("mphantom",r),i=new ce.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});ge({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=J.makeSpan(["inner"],[je(e.body,t.withPhantom())]),n=J.makeSpan(["fix"],[]);return J.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=ir(mt(e.body),t),n=new ce.MathNode("mphantom",r),i=new ce.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}});ge({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Oe(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=je(e.body,t),n=ct(e.dy,t);return J.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new ce.MathNode("mpadded",[Ze(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ge({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ge({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=Oe(t[0],"size"),s=Oe(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&Oe(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var r=J.makeSpan(["mord","rule"],[],t),n=ct(e.width,t),i=ct(e.height,t),a=e.shift?ct(e.shift,t):0;return r.style.borderRightWidth=me(n),r.style.borderTopWidth=me(i),r.style.bottom=me(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ct(e.width,t),n=ct(e.height,t),i=e.shift?ct(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new ce.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",me(r)),s.setAttribute("height",me(n));var o=new ce.MathNode("mpadded",[s]);return i>=0?o.setAttribute("height",me(i)):(o.setAttribute("height",me(i)),o.setAttribute("depth",me(-i))),o.setAttribute("voffset",me(i)),o}});function nm(e,t,r){for(var n=Ct(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var s=n[a].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[s+1]==="reset-size"+t.size&&(n[a].classes[s+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return J.makeFragment(n)}var cf=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],J9=(e,t)=>{var r=t.havingSize(e.size);return nm(e.body,r,t)};ge({type:"sizing",names:cf,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:cf.indexOf(n)+1,body:a}},htmlBuilder:J9,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=ir(e.body,r),i=new ce.MathNode("mstyle",n);return i.setAttribute("mathsize",me(r.sizeMultiplier)),i}});ge({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,s=r[0]&&Oe(r[0],"ordgroup");if(s)for(var o="",l=0;l<s.body.length;++l){var c=s.body[l];if(o=c.text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var h=t[0];return{type:"smash",mode:n.mode,body:h,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=J.makeSpan([],[je(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return J.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[Ze(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ge({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=je(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=J.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<Ce.TEXT.id&&(a=t.fontMetrics().xHeight);var s=i+a/4,o=r.height+r.depth+s+i,{span:l,ruleWidth:c,advanceWidth:h}=fn.sqrtImage(o,t),f=l.height-c;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var g=l.height-r.height-s-c;r.style.paddingLeft=me(h);var m=J.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){var E=t.havingStyle(Ce.SCRIPTSCRIPT),w=je(e.index,E,t),C=.6*(m.height-m.depth),T=J.makeVList({positionType:"shift",positionData:-C,children:[{type:"elem",elem:w}]},t),A=J.makeSpan(["root"],[T]);return J.makeSpan(["mord","sqrt"],[A,m],t)}else return J.makeSpan(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new ce.MathNode("mroot",[Ze(r,t),Ze(n,t)]):new ce.MathNode("msqrt",[Ze(r,t)])}});var hf={display:Ce.DISPLAY,text:Ce.TEXT,script:Ce.SCRIPT,scriptscript:Ce.SCRIPTSCRIPT};ge({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var r=hf[e.style],n=t.havingStyle(r).withFont("");return nm(e.body,n,t)},mathmlBuilder(e,t){var r=hf[e.style],n=t.havingStyle(r),i=ir(e.body,n),a=new ce.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Q9=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===Ce.DISPLAY.size||n.alwaysHandleSupSub);return i?Mi:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===Ce.DISPLAY.size||n.limits);return a?rm:null}else{if(n.type==="accent")return $e.isCharacterBox(n.base)?i0:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Z1:null}else return null}else return null};ei({type:"supsub",htmlBuilder(e,t){var r=Q9(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,s=je(n,t),o,l,c=t.fontMetrics(),h=0,f=0,g=n&&$e.isCharacterBox(n);if(i){var m=t.havingStyle(t.style.sup());o=je(i,m,t),g||(h=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var E=t.havingStyle(t.style.sub());l=je(a,E,t),g||(f=s.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var w;t.style===Ce.DISPLAY?w=c.sup1:t.style.cramped?w=c.sup3:w=c.sup2;var C=t.sizeMultiplier,T=me(.5/c.ptPerEm/C),A=null;if(l){var N=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Sr||N)&&(A=me(-s.italic))}var H;if(o&&l){h=Math.max(h,w,o.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var P=c.defaultRuleThickness,b=4*P;if(h-o.depth-(l.height-f)<b){f=b-(h-o.depth)+l.height;var R=.8*c.xHeight-(h-o.depth);R>0&&(h+=R,f-=R)}var j=[{type:"elem",elem:l,shift:f,marginRight:T,marginLeft:A},{type:"elem",elem:o,shift:-h,marginRight:T}];H=J.makeVList({positionType:"individualShift",children:j},t)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var Y=[{type:"elem",elem:l,marginLeft:A,marginRight:T}];H=J.makeVList({positionType:"shift",positionData:f,children:Y},t)}else if(o)h=Math.max(h,w,o.depth+.25*c.xHeight),H=J.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:T}]},t);else throw new Error("supsub must have either sup or sub.");var G=nl(s,"right")||"mord";return J.makeSpan([G],[s,J.makeSpan(["msupsub"],[H])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[Ze(e.base,t)];e.sub&&a.push(Ze(e.sub,t)),e.sup&&a.push(Ze(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===Ce.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===Ce.DISPLAY||c.limits)?s="munderover":s="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===Ce.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===Ce.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===Ce.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===Ce.DISPLAY)?s="mover":s="msup"}return new ce.MathNode(s,a)}});ei({type:"atom",htmlBuilder(e,t){return J.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[_r(e.text,e.mode)]);if(e.family==="bin"){var n=r0(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var im={mi:"italic",mn:"normal",mtext:"normal"};ei({type:"mathord",htmlBuilder(e,t){return J.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new ce.MathNode("mi",[_r(e.text,e.mode,t)]),n=r0(e,t)||"italic";return n!==im[r.type]&&r.setAttribute("mathvariant",n),r}});ei({type:"textord",htmlBuilder(e,t){return J.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=_r(e.text,e.mode,t),n=r0(e,t)||"normal",i;return e.mode==="text"?i=new ce.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new ce.MathNode("mn",[r]):e.text==="\\prime"?i=new ce.MathNode("mo",[r]):i=new ce.MathNode("mi",[r]),n!==im[i.type]&&i.setAttribute("mathvariant",n),i}});var wo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},So={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ei({type:"spacing",htmlBuilder(e,t){if(So.hasOwnProperty(e.text)){var r=So[e.text].className||"";if(e.mode==="text"){var n=J.makeOrd(e,t,"textord");return n.classes.push(r),n}else return J.makeSpan(["mspace",r],[J.mathsym(e.text,e.mode,t)],t)}else{if(wo.hasOwnProperty(e.text))return J.makeSpan(["mspace",wo[e.text]],[],t);throw new fe('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(So.hasOwnProperty(e.text))r=new ce.MathNode("mtext",[new ce.TextNode(" ")]);else{if(wo.hasOwnProperty(e.text))return new ce.MathNode("mspace");throw new fe('Unknown type of space "'+e.text+'"')}return r}});var ff=()=>{var e=new ce.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ei({type:"tag",mathmlBuilder(e,t){var r=new ce.MathNode("mtable",[new ce.MathNode("mtr",[ff(),new ce.MathNode("mtd",[Hn(e.body,t)]),ff(),new ce.MathNode("mtd",[Hn(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var df={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},pf={"\\textbf":"textbf","\\textmd":"textmd"},K9={"\\textit":"textit","\\textup":"textup"},mf=(e,t)=>{var r=e.font;if(r){if(df[r])return t.withTextFontFamily(df[r]);if(pf[r])return t.withTextFontWeight(pf[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(K9[r])};ge({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:mt(i),font:n}},htmlBuilder(e,t){var r=mf(e,t),n=Ct(e.body,r,!0);return J.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=mf(e,t);return Hn(e.body,r)}});ge({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=je(e.body,t),n=J.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=J.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return J.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("munder",[Ze(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ge({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=je(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return J.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new ce.MathNode("mpadded",[Ze(e.body,t)],["vcenter"])}});ge({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new fe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=gf(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push(J.makeSymbol(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return J.makeSpan(["mord","text"].concat(i.sizingClasses(t)),J.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new ce.TextNode(gf(e)),n=new ce.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var gf=e=>e.body.replace(/ /g,e.star?"␣":" "),Rn=C1,am=`[ \r
327
+ ]`,Z9="\\\\[a-zA-Z@]+",eE="\\\\[^\uD800-\uDFFF]",tE="("+Z9+")"+am+"*",rE=`\\\\(
328
+ |[ \r ]+
329
+ ?)[ \r ]*`,ul="[̀-ͯ]",nE=new RegExp(ul+"+$"),iE="("+am+"+)|"+(rE+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ul+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ul+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+tE)+("|"+eE+")");class bf{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(iE,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new lr("EOF",new tr(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new fe("Unexpected character: '"+t[r]+"'",new lr(t[r],new tr(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
330
+ `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new lr(i,new tr(this,r,this.tokenRegex.lastIndex))}}class aE{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new fe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var sE=Y1;L("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});L("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});L("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});L("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});L("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});L("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");L("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var xf={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};L("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new fe("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=xf[t.text],n==null||n>=r)throw new fe("Invalid base-"+r+" digit "+t.text);for(var i;(i=xf[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var f0=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new fe("\\newcommand's first argument must be a macro name");var a=i[0].text,s=e.isDefined(a);if(s&&!t)throw new fe("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new fe("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var o=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var l="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new fe("Invalid number of arguments: "+l);o=parseInt(l),i=e.consumeArg().tokens}return s&&n||e.macros.set(a,{tokens:i,numArgs:o}),""};L("\\newcommand",e=>f0(e,!1,!0,!1));L("\\renewcommand",e=>f0(e,!0,!1,!1));L("\\providecommand",e=>f0(e,!0,!0,!0));L("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});L("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});L("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Rn[r],nt.math[r],nt.text[r]),""});L("\\bgroup","{");L("\\egroup","}");L("~","\\nobreakspace");L("\\lq","`");L("\\rq","'");L("\\aa","\\r a");L("\\AA","\\r A");L("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");L("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");L("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");L("ℬ","\\mathscr{B}");L("ℰ","\\mathscr{E}");L("ℱ","\\mathscr{F}");L("ℋ","\\mathscr{H}");L("ℐ","\\mathscr{I}");L("ℒ","\\mathscr{L}");L("ℳ","\\mathscr{M}");L("ℛ","\\mathscr{R}");L("ℭ","\\mathfrak{C}");L("ℌ","\\mathfrak{H}");L("ℨ","\\mathfrak{Z}");L("\\Bbbk","\\Bbb{k}");L("·","\\cdotp");L("\\llap","\\mathllap{\\textrm{#1}}");L("\\rlap","\\mathrlap{\\textrm{#1}}");L("\\clap","\\mathclap{\\textrm{#1}}");L("\\mathstrut","\\vphantom{(}");L("\\underbar","\\underline{\\text{#1}}");L("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');L("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");L("\\ne","\\neq");L("≠","\\neq");L("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");L("∉","\\notin");L("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");L("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");L("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");L("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");L("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");L("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");L("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");L("⟂","\\perp");L("‼","\\mathclose{!\\mkern-0.8mu!}");L("∌","\\notni");L("⌜","\\ulcorner");L("⌝","\\urcorner");L("⌞","\\llcorner");L("⌟","\\lrcorner");L("©","\\copyright");L("®","\\textregistered");L("️","\\textregistered");L("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');L("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');L("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');L("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');L("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");L("⋮","\\vdots");L("\\varGamma","\\mathit{\\Gamma}");L("\\varDelta","\\mathit{\\Delta}");L("\\varTheta","\\mathit{\\Theta}");L("\\varLambda","\\mathit{\\Lambda}");L("\\varXi","\\mathit{\\Xi}");L("\\varPi","\\mathit{\\Pi}");L("\\varSigma","\\mathit{\\Sigma}");L("\\varUpsilon","\\mathit{\\Upsilon}");L("\\varPhi","\\mathit{\\Phi}");L("\\varPsi","\\mathit{\\Psi}");L("\\varOmega","\\mathit{\\Omega}");L("\\substack","\\begin{subarray}{c}#1\\end{subarray}");L("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");L("\\boxed","\\fbox{$\\displaystyle{#1}$}");L("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");L("\\implies","\\DOTSB\\;\\Longrightarrow\\;");L("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");L("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");L("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var yf={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};L("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in yf?t=yf[r]:(r.slice(0,4)==="\\not"||r in nt.math&&["bin","rel"].includes(nt.math[r].group))&&(t="\\dotsb"),t});var d0={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};L("\\dotso",function(e){var t=e.future().text;return t in d0?"\\ldots\\,":"\\ldots"});L("\\dotsc",function(e){var t=e.future().text;return t in d0&&t!==","?"\\ldots\\,":"\\ldots"});L("\\cdots",function(e){var t=e.future().text;return t in d0?"\\@cdots\\,":"\\@cdots"});L("\\dotsb","\\cdots");L("\\dotsm","\\cdots");L("\\dotsi","\\!\\cdots");L("\\dotsx","\\ldots\\,");L("\\DOTSI","\\relax");L("\\DOTSB","\\relax");L("\\DOTSX","\\relax");L("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");L("\\,","\\tmspace+{3mu}{.1667em}");L("\\thinspace","\\,");L("\\>","\\mskip{4mu}");L("\\:","\\tmspace+{4mu}{.2222em}");L("\\medspace","\\:");L("\\;","\\tmspace+{5mu}{.2777em}");L("\\thickspace","\\;");L("\\!","\\tmspace-{3mu}{.1667em}");L("\\negthinspace","\\!");L("\\negmedspace","\\tmspace-{4mu}{.2222em}");L("\\negthickspace","\\tmspace-{5mu}{.277em}");L("\\enspace","\\kern.5em ");L("\\enskip","\\hskip.5em\\relax");L("\\quad","\\hskip1em\\relax");L("\\qquad","\\hskip2em\\relax");L("\\tag","\\@ifstar\\tag@literal\\tag@paren");L("\\tag@paren","\\tag@literal{({#1})}");L("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new fe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});L("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");L("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");L("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");L("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");L("\\newline","\\\\\\relax");L("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var sm=me(Gr["Main-Regular"][84][1]-.7*Gr["Main-Regular"][65][1]);L("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+sm+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");L("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+sm+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");L("\\hspace","\\@ifstar\\@hspacer\\@hspace");L("\\@hspace","\\hskip #1\\relax");L("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");L("\\ordinarycolon",":");L("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");L("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');L("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');L("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');L("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');L("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');L("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');L("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');L("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');L("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');L("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');L("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');L("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');L("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');L("∷","\\dblcolon");L("∹","\\eqcolon");L("≔","\\coloneqq");L("≕","\\eqqcolon");L("⩴","\\Coloneqq");L("\\ratio","\\vcentcolon");L("\\coloncolon","\\dblcolon");L("\\colonequals","\\coloneqq");L("\\coloncolonequals","\\Coloneqq");L("\\equalscolon","\\eqqcolon");L("\\equalscoloncolon","\\Eqqcolon");L("\\colonminus","\\coloneq");L("\\coloncolonminus","\\Coloneq");L("\\minuscolon","\\eqcolon");L("\\minuscoloncolon","\\Eqcolon");L("\\coloncolonapprox","\\Colonapprox");L("\\coloncolonsim","\\Colonsim");L("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");L("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");L("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");L("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");L("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");L("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");L("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");L("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");L("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");L("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");L("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");L("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");L("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");L("\\nleqq","\\html@mathml{\\@nleqq}{≰}");L("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");L("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");L("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");L("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");L("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");L("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");L("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");L("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");L("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");L("\\imath","\\html@mathml{\\@imath}{ı}");L("\\jmath","\\html@mathml{\\@jmath}{ȷ}");L("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");L("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");L("⟦","\\llbracket");L("⟧","\\rrbracket");L("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");L("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");L("⦃","\\lBrace");L("⦄","\\rBrace");L("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");L("⦵","\\minuso");L("\\darr","\\downarrow");L("\\dArr","\\Downarrow");L("\\Darr","\\Downarrow");L("\\lang","\\langle");L("\\rang","\\rangle");L("\\uarr","\\uparrow");L("\\uArr","\\Uparrow");L("\\Uarr","\\Uparrow");L("\\N","\\mathbb{N}");L("\\R","\\mathbb{R}");L("\\Z","\\mathbb{Z}");L("\\alef","\\aleph");L("\\alefsym","\\aleph");L("\\Alpha","\\mathrm{A}");L("\\Beta","\\mathrm{B}");L("\\bull","\\bullet");L("\\Chi","\\mathrm{X}");L("\\clubs","\\clubsuit");L("\\cnums","\\mathbb{C}");L("\\Complex","\\mathbb{C}");L("\\Dagger","\\ddagger");L("\\diamonds","\\diamondsuit");L("\\empty","\\emptyset");L("\\Epsilon","\\mathrm{E}");L("\\Eta","\\mathrm{H}");L("\\exist","\\exists");L("\\harr","\\leftrightarrow");L("\\hArr","\\Leftrightarrow");L("\\Harr","\\Leftrightarrow");L("\\hearts","\\heartsuit");L("\\image","\\Im");L("\\infin","\\infty");L("\\Iota","\\mathrm{I}");L("\\isin","\\in");L("\\Kappa","\\mathrm{K}");L("\\larr","\\leftarrow");L("\\lArr","\\Leftarrow");L("\\Larr","\\Leftarrow");L("\\lrarr","\\leftrightarrow");L("\\lrArr","\\Leftrightarrow");L("\\Lrarr","\\Leftrightarrow");L("\\Mu","\\mathrm{M}");L("\\natnums","\\mathbb{N}");L("\\Nu","\\mathrm{N}");L("\\Omicron","\\mathrm{O}");L("\\plusmn","\\pm");L("\\rarr","\\rightarrow");L("\\rArr","\\Rightarrow");L("\\Rarr","\\Rightarrow");L("\\real","\\Re");L("\\reals","\\mathbb{R}");L("\\Reals","\\mathbb{R}");L("\\Rho","\\mathrm{P}");L("\\sdot","\\cdot");L("\\sect","\\S");L("\\spades","\\spadesuit");L("\\sub","\\subset");L("\\sube","\\subseteq");L("\\supe","\\supseteq");L("\\Tau","\\mathrm{T}");L("\\thetasym","\\vartheta");L("\\weierp","\\wp");L("\\Zeta","\\mathrm{Z}");L("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");L("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");L("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");L("\\bra","\\mathinner{\\langle{#1}|}");L("\\ket","\\mathinner{|{#1}\\rangle}");L("\\braket","\\mathinner{\\langle{#1}\\rangle}");L("\\Bra","\\left\\langle#1\\right|");L("\\Ket","\\left|#1\\right\\rangle");var um=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=f=>g=>{e&&(g.macros.set("|",s),i.length&&g.macros.set("\\|",o));var m=f;if(!f&&i.length){var E=g.future();E.text==="|"&&(g.popToken(),m=!0)}return{tokens:m?i:n,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,h=t.expandTokens([...a,...c,...r]);return t.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};L("\\bra@ket",um(!1));L("\\bra@set",um(!0));L("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");L("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");L("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");L("\\angln","{\\angl n}");L("\\blue","\\textcolor{##6495ed}{#1}");L("\\orange","\\textcolor{##ffa500}{#1}");L("\\pink","\\textcolor{##ff00af}{#1}");L("\\red","\\textcolor{##df0030}{#1}");L("\\green","\\textcolor{##28ae7b}{#1}");L("\\gray","\\textcolor{gray}{#1}");L("\\purple","\\textcolor{##9d38bd}{#1}");L("\\blueA","\\textcolor{##ccfaff}{#1}");L("\\blueB","\\textcolor{##80f6ff}{#1}");L("\\blueC","\\textcolor{##63d9ea}{#1}");L("\\blueD","\\textcolor{##11accd}{#1}");L("\\blueE","\\textcolor{##0c7f99}{#1}");L("\\tealA","\\textcolor{##94fff5}{#1}");L("\\tealB","\\textcolor{##26edd5}{#1}");L("\\tealC","\\textcolor{##01d1c1}{#1}");L("\\tealD","\\textcolor{##01a995}{#1}");L("\\tealE","\\textcolor{##208170}{#1}");L("\\greenA","\\textcolor{##b6ffb0}{#1}");L("\\greenB","\\textcolor{##8af281}{#1}");L("\\greenC","\\textcolor{##74cf70}{#1}");L("\\greenD","\\textcolor{##1fab54}{#1}");L("\\greenE","\\textcolor{##0d923f}{#1}");L("\\goldA","\\textcolor{##ffd0a9}{#1}");L("\\goldB","\\textcolor{##ffbb71}{#1}");L("\\goldC","\\textcolor{##ff9c39}{#1}");L("\\goldD","\\textcolor{##e07d10}{#1}");L("\\goldE","\\textcolor{##a75a05}{#1}");L("\\redA","\\textcolor{##fca9a9}{#1}");L("\\redB","\\textcolor{##ff8482}{#1}");L("\\redC","\\textcolor{##f9685d}{#1}");L("\\redD","\\textcolor{##e84d39}{#1}");L("\\redE","\\textcolor{##bc2612}{#1}");L("\\maroonA","\\textcolor{##ffbde0}{#1}");L("\\maroonB","\\textcolor{##ff92c6}{#1}");L("\\maroonC","\\textcolor{##ed5fa6}{#1}");L("\\maroonD","\\textcolor{##ca337c}{#1}");L("\\maroonE","\\textcolor{##9e034e}{#1}");L("\\purpleA","\\textcolor{##ddd7ff}{#1}");L("\\purpleB","\\textcolor{##c6b9fc}{#1}");L("\\purpleC","\\textcolor{##aa87ff}{#1}");L("\\purpleD","\\textcolor{##7854ab}{#1}");L("\\purpleE","\\textcolor{##543b78}{#1}");L("\\mintA","\\textcolor{##f5f9e8}{#1}");L("\\mintB","\\textcolor{##edf2df}{#1}");L("\\mintC","\\textcolor{##e0e5cc}{#1}");L("\\grayA","\\textcolor{##f6f7f7}{#1}");L("\\grayB","\\textcolor{##f0f1f2}{#1}");L("\\grayC","\\textcolor{##e3e5e6}{#1}");L("\\grayD","\\textcolor{##d6d8da}{#1}");L("\\grayE","\\textcolor{##babec2}{#1}");L("\\grayF","\\textcolor{##888d93}{#1}");L("\\grayG","\\textcolor{##626569}{#1}");L("\\grayH","\\textcolor{##3b3e40}{#1}");L("\\grayI","\\textcolor{##21242c}{#1}");L("\\kaBlue","\\textcolor{##314453}{#1}");L("\\kaGreen","\\textcolor{##71B307}{#1}");var om={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class uE{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new aE(sE,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new bf(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new lr("EOF",n.loc)),this.pushTokens(i),new lr("",tr.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new fe("Extra }",a)}else if(a.text==="EOF")throw new fe("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",a);if(t&&n)if((s===0||s===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new fe("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new fe("Use of the macro doesn't match its definition",a)}}for(var s=[],o=0;o<t;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new fe("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||t&&i.unexpandable){if(t&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new fe("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var l=a[o];if(l.text==="#"){if(o===0)throw new fe("Incomplete placeholder at end of macro body",l);if(l=a[--o],l.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(l.text))a.splice(o,2,...s[+l.text-1]);else throw new fe("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new lr(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var o=new bf(i,this.settings),l=[],c=o.lex();c.text!=="EOF";)l.push(c),c=o.lex();l.reverse();var h={tokens:l,numArgs:a};return h}return i}isDefined(t){return this.macros.has(t)||Rn.hasOwnProperty(t)||nt.math.hasOwnProperty(t)||nt.text.hasOwnProperty(t)||om.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Rn.hasOwnProperty(t)&&!Rn[t].primitive}}var vf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,fs=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),_o={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Ef={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let lm=class cm{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new uE(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new fe("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new lr("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(cm.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&Rn[i.text]&&Rn[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,i=0;i<t.length;i++)if(t[i].type==="infix"){if(r!==-1)throw new fe("only one infix operator per group",t[i].token);r=i,n=t[i].replaceWith}if(r!==-1&&n){var a,s,o=t.slice(0,r),l=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?a=o[0]:a={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?s=l[0]:s={type:"ordgroup",mode:this.mode,body:l};var c;return n==="\\\\abovefrac"?c=this.callFunction(n,[a,t[r],s],[]):c=this.callFunction(n,[a,s],[]),[c]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i;do{var a;i=this.parseGroup(t)}while(((a=i)==null?void 0:a.type)==="internal");if(!i)throw new fe("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new fe("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new fe("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new fe("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new fe("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},l=[o];for(this.consume();this.fetch().text==="'";)l.push(o),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:l}}else if(fs[a.text]){var c=vf.test(a.text),h=[];for(h.push(new lr(fs[a.text])),this.consume();;){var f=this.fetch().text;if(!fs[f]||vf.test(f)!==c)break;h.unshift(new lr(fs[f])),this.consume()}var g=this.subparse(h);c?i={type:"ordgroup",mode:"math",body:g}:n={type:"ordgroup",mode:"math",body:g}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(t,r){var n=this.fetch(),i=n.text,a=Rn[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new fe("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new fe("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new fe("Can't use function '"+i+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,s,o,n,t)}callFunction(t,r,n,i,a){var s={funcName:t,parser:this,token:i,breakOnTokenText:a},o=Rn[t];if(o&&o.handler)return o.handler(s,r,n);throw new fe("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],l=s<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(o="primitive");var c=this.parseGroupOfType("argument to '"+t+"'",o,l);if(l)a.push(c);else if(c!=null)i.push(c);else throw new fe("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new fe("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new fe("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new fe("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(t,r){for(var n=this.fetch(),i=n,a="",s;(s=this.fetch()).text!=="EOF"&&t.test(a+s.text);)i=s,a+=i.text,this.consume();if(a==="")throw new fe("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new fe("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new fe("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!x1(a))throw new fe("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),s}parseGroup(t,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var s=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),l=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:tr.range(n,l),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!om.hasOwnProperty(i)){if(this.settings.throwOnError)throw new fe("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var i=t[n],a=i.text;a==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:tr.range(i,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:tr.range(i,t[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&t[n+1].text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:tr.range(i,t[n+1]),text:a+a}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new fe(`\\verb assertion failed --
331
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Ef.hasOwnProperty(r[0])&&!nt[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Ef[r[0]]+r.slice(1));var a=nE.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(nt[this.mode][r]){this.settings.strict&&this.mode==="math"&&rl.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=nt[this.mode][r].group,l=tr.range(t),c;if(Xv.hasOwnProperty(o)){var h=o;c={type:"atom",mode:this.mode,family:h,loc:l,text:r}}else c={type:o,mode:this.mode,loc:l,text:r};s=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&(g1(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:tr.range(t),text:r};else return null;if(this.consume(),a)for(var f=0;f<a[0].length;f++){var g=a[0][f];if(!_o[g])throw new fe("Unknown accent ' "+g+"'",t);var m=_o[g][this.mode]||_o[g].text;if(!m)throw new fe("Accent "+g+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:tr.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}};lm.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var p0=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new lm(t,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new fe("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new lr("\\df@tag")])}]}return i},m0=function(t,r,n){r.textContent="";var i=Su(t,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),m0=function(){throw new fe("KaTeX doesn't work in quirks mode.")});var hm=function(t,r){var n=Su(t,r).toMarkup();return n},fm=function(t,r){var n=new Jl(r);return p0(t,n)},dm=function(t,r,n){if(n.throwOnError||!(t instanceof fe))throw t;var i=J.makeSpan(["katex-error"],[new Sr(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},Su=function(t,r){var n=new Jl(r);try{var i=p0(t,n);return x9(i,t,n)}catch(a){return dm(a,t,n)}},pm=function(t,r){var n=new Jl(r);try{var i=p0(t,n);return y9(i,t,n)}catch(a){return dm(a,t,n)}},mm="0.16.28",gm={Span:Ma,Anchor:Zl,SymbolNode:Sr,SvgNode:mn,PathNode:Fn,LineNode:tl},ol={version:mm,render:m0,renderToString:hm,ParseError:fe,SETTINGS_SCHEMA:oa,__parse:fm,__renderToDomTree:Su,__renderToHTMLTree:pm,__setFontMetrics:b1,__defineSymbol:x,__defineFunction:ge,__defineMacro:L,__domTree:gm};const oE=Object.freeze(Object.defineProperty({__proto__:null,ParseError:fe,SETTINGS_SCHEMA:oa,__defineFunction:ge,__defineMacro:L,__defineSymbol:x,__domTree:gm,__parse:fm,__renderToDomTree:Su,__renderToHTMLTree:pm,__setFontMetrics:b1,default:ol,get render(){return m0},renderToString:hm,version:mm},Symbol.toStringTag,{value:"Module"})),lE={};function cE(e){const t=this,r=e||lE,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(pv(r)),a.push(sv()),s.push(uv(r))}const kf=/[#.]/g;function hE(e,t){const r=e||"",n={};let i=0,a,s;for(;i<r.length;){kf.lastIndex=i;const o=kf.exec(r),l=r.slice(i,o?o.index:r.length);l&&(a?a==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:s=l,i+=l.length),o&&(a=o[0],i++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function bm(e,t,r){const n=r?mE(r):void 0;function i(a,s,...o){let l;if(a==null){l={type:"root",children:[]};const c=s;o.unshift(c)}else{l=hE(a,t);const c=l.tagName.toLowerCase(),h=n?n.get(c):void 0;if(l.tagName=h||c,fE(s))o.unshift(s);else for(const[f,g]of Object.entries(s))dE(e,l.properties,f,g)}for(const c of o)ll(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return i}function fE(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const i=t[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const s of a)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function dE(e,t,r,n){const i=Na(e,r);let a;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;a=n}else typeof n=="boolean"?a=n:typeof n=="string"?i.spaceSeparated?a=Oc(n):i.commaSeparated?a=Rc(n):i.commaOrSpaceSeparated?a=Oc(Rc(n).join(" ")):a=Tf(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?pE(n):String(n);if(Array.isArray(a)){const s=[];for(const o of a)s.push(Tf(i,i.property,o));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function ll(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 r of t)ll(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?ll(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Tf(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||ga(r)===ga(t)))return!0}return r}function pE(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function mE(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const gE=["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"],xm=bm(Ai,"div"),ym=bm(Jr,"g",gE),Wr={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/"};function bE(e,t){return vm(e,{})||{type:"root",children:[]}}function vm(e,t){const r=xE(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function xE(e,t){switch(e.nodeType){case 1:return kE(e,t);case 3:return vE(e);case 8:return EE(e);case 9:return wf(e,t);case 10:return yE();case 11:return wf(e,t);default:return}}function wf(e,t){return{type:"root",children:Em(e,t)}}function yE(){return{type:"doctype"}}function vE(e){return{type:"text",value:e.nodeValue||""}}function EE(e){return{type:"comment",value:e.nodeValue||""}}function kE(e,t){const r=e.namespaceURI,n=r===Wr.svg?ym:xm,i=r===Wr.html?e.tagName.toLowerCase():e.tagName,a=r===Wr.html&&i==="template"?e.content:e,s=e.getAttributeNames(),o={};let l=-1;for(;++l<s.length;)o[s[l]]=e.getAttribute(s[l])||"";return n(i,o,Em(a,t))}function Em(e,t){const r=e.childNodes,n=[];let i=-1;for(;++i<r.length;){const a=vm(r[i],t);a!==void 0&&n.push(a)}return n}new DOMParser;function TE(e,t){const r=wE(e);return bE(r)}function wE(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const Sf=(function(e,t,r){const n=Pa(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),ti=(function(e){if(e==null)return CE;if(typeof e=="string")return _E(e);if(typeof e=="object")return SE(e);if(typeof e=="function")return g0(e);throw new Error("Expected function, string, or array as `test`")});function SE(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=ti(e[r]);return g0(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function _E(e){return g0(t);function t(r){return r.tagName===e}}function g0(e){return t;function t(r,n,i){return!!(AE(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function CE(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function AE(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const _f=/\n/g,Cf=/[\t ]+/g,cl=ti("br"),Af=ti(ME),IE=ti("p"),If=ti("tr"),NE=ti(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",OE,BE]),km=ti(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function LE(e,t){const r=t||{},n="children"in e?e.children:[],i=km(e),a=Sm(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...wm(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...Tm(n[o],e,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<n.length-1?cl(n[o+1]):i}));const l=[];let c;for(o=-1;++o<s.length;){const h=s[o];typeof h=="number"?c!==void 0&&h>c&&(c=h):h&&(c!==void 0&&c>-1&&l.push(`
332
+ `.repeat(c)||" "),c=-1,l.push(h))}return l.join("")}function Tm(e,t,r){return e.type==="element"?RE(e,t,r):e.type==="text"?r.whitespace==="normal"?wm(e,r):PE(e):[]}function RE(e,t,r){const n=Sm(e,r),i=e.children||[];let a=-1,s=[];if(NE(e))return s;let o,l;for(cl(e)||If(e)&&Sf(t,e,If)?l=`
333
+ `:IE(e)?(o=2,l=2):km(e)&&(o=1,l=1);++a<i.length;)s=s.concat(Tm(i[a],e,{whitespace:n,breakBefore:a?void 0:o,breakAfter:a<i.length-1?cl(i[a+1]):l}));return Af(e)&&Sf(t,e,Af)&&s.push(" "),o&&s.unshift(o),l&&s.push(l),s}function wm(e,t){const r=String(e.value),n=[],i=[];let a=0;for(;a<=r.length;){_f.lastIndex=a;const l=_f.exec(r),c=l&&"index"in l?l.index:r.length;n.push(DE(r.slice(a,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,c===r.length?t.breakAfter:!0)),a=c+1}let s=-1,o;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(i.push(n[s]),o=void 0):n[s]?(typeof o=="number"&&i.push(o),i.push(n[s]),o=0):(s===0||s===n.length-1)&&i.push(0);return i}function PE(e){return[String(e.value)]}function DE(e,t,r){const n=[];let i=0,a;for(;i<e.length;){Cf.lastIndex=i;const s=Cf.exec(e);a=s?s.index:e.length,!i&&!a&&s&&!t&&n.push(""),i!==a&&n.push(e.slice(i,a)),i=s?a+s[0].length:a}return i!==a&&!r&&n.push(""),n.join(" ")}function Sm(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function OE(e){return!!(e.properties||{}).hidden}function ME(e){return e.tagName==="td"||e.tagName==="th"}function BE(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const FE={},HE=[];function zE(e){const t=e||FE;return function(r,n){jl(r,"element",function(i,a){const s=Array.isArray(i.properties.className)?i.properties.className:HE,o=s.includes("language-math"),l=s.includes("math-display"),c=s.includes("math-inline");let h=l;if(!o&&!l&&!c)return;let f=a[a.length-1],g=i;if(i.tagName==="code"&&o&&f&&f.type==="element"&&f.tagName==="pre"&&(g=f,f=a[a.length-2],h=!0),!f)return;const m=LE(g,{whitespace:"pre"});let E;try{E=ol.renderToString(m,{...t,displayMode:h,throwOnError:!0})}catch(C){const T=C,A=T.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:T,place:i.position,ruleId:A,source:"rehype-katex"});try{E=ol.renderToString(m,{...t,displayMode:h,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(C)},children:[{type:"text",value:m}]}]}}typeof E=="string"&&(E=TE(E).children);const w=f.children.indexOf(g);return f.children.splice(w,1,...E),Vp})}}function UE(e){const t=String(e),r=[];return{toOffset:i,toPoint:n};function n(a){if(typeof a=="number"&&a>-1&&a<=t.length){let s=0;for(;;){let o=r[s];if(o===void 0){const l=Nf(t,r[s-1]);o=l===-1?t.length+1:l+1,r[s]=o}if(o>a)return{line:s+1,column:a-(s>0?r[s-1]:0)+1,offset:a};s++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;r.length<a.line;){const o=r[r.length-1],l=Nf(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;r.push(c)}const s=(a.line>1?r[a.line-2]:0)+a.column-1;if(s<r[a.line-1])return s}}}function Nf(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
334
+ `,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const _m={}.hasOwnProperty,VE=Object.prototype;function qE(e,t){const r=t||{};return b0({file:r.file||void 0,location:!1,schema:r.space==="svg"?Jr:Ai,verbose:r.verbose||!1},e)}function b0(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},Es(e,n,r),r}case"#document":case"#document-fragment":{const n=t,i="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:Cm(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),s=UE(a),o=s.toPoint(0),l=s.toPoint(a.length);r.position={start:o,end:l}}return r}case"#documentType":{const n=t;return r={type:"doctype"},Es(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},Es(e,n,r),r}default:return r=jE(e,t),r}}function Cm(e,t){let r=-1;const n=[];for(;++r<t.length;){const i=b0(e,t[r]);n.push(i)}return n}function jE(e,t){const r=e.schema;e.schema=t.namespaceURI===Wr.svg?Jr:Ai;let n=-1;const i={};for(;++n<t.attrs.length;){const o=t.attrs[n],l=(o.prefix?o.prefix+":":"")+o.name;_m.call(VE,l)||(i[l]=o.value)}const s=(e.schema.space==="svg"?ym:xm)(t.tagName,i,Cm(e,t.childNodes));if(Es(e,t,s),s.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&pi(l.startTag),h=l&&l.endTag&&pi(l.endTag),f=b0(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),s.content=f}return e.schema=r,s}function Es(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=GE(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function GE(e,t,r){const n=pi(r);if(t.type==="element"){const i=t.children[t.children.length-1];if(n&&!r.endTag&&i&&i.position&&i.position.end&&(n.end=Object.assign({},i.position.end)),e.verbose){const a={};let s;if(r.attrs)for(s in r.attrs)_m.call(r.attrs,s)&&(a[Na(e.schema,s).property]=pi(r.attrs[s]));r.startTag;const o=pi(r.startTag),l=r.endTag?pi(r.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=a,t.data={position:c}}}return n}function pi(e){const t=Lf({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Lf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Lf(e){return e.line&&e.column?e:void 0}const $E={},WE={}.hasOwnProperty,Am=ou("type",{handlers:{root:XE,element:ek,text:KE,comment:ZE,doctype:QE}});function YE(e,t){const n=(t||$E).space;return Am(e,n==="svg"?Jr:Ai)}function XE(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=x0(e.children,r,t),Bi(e,r),r}function JE(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=x0(e.children,r,t),Bi(e,r),r}function QE(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Bi(e,t),t}function KE(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Bi(e,t),t}function ZE(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Bi(e,t),t}function ek(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=Jr);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&WE.call(e.properties,a)){const l=tk(n,a,e.properties[a]);l&&i.push(l)}}const s=n.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Wr[s],childNodes:[],parentNode:null};return o.childNodes=x0(e.children,o,n),Bi(e,o),e.tagName==="template"&&e.content&&(o.content=JE(e.content,n)),o}function tk(e,t,r){const n=Na(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?_l(r):Al(r));const i={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=n.attribute.slice(0,a)),i.namespace=Wr[n.space]}return i}function x0(e,t,r){let n=-1;const i=[];if(e)for(;++n<e.length;){const a=Am(e[n],r);a.parentNode=t,i.push(a)}return i}function Bi(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const Im=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],rk=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]),st="�";var O;(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"})(O||(O={}));const Kt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Nm(e){return e>=55296&&e<=57343}function nk(e){return e>=56320&&e<=57343}function ik(e,t){return(e-55296)*1024+9216+t}function Lm(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Rm(e){return e>=64976&&e<=65007||rk.has(e)}var Z;(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"})(Z||(Z={}));const ak=65536;class sk{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=ak,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,r){const{line:n,col:i,offset:a}=this,s=i+r,o=a+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,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 r=this.html.charCodeAt(this.pos+1);if(nk(r))return this.pos++,this._addGap(),ik(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,O.EOF;return this._err(Z.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,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,O.EOF;const n=this.html.charCodeAt(r);return n===O.CARRIAGE_RETURN?O.LINE_FEED:n}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,O.EOF;let t=this.html.charCodeAt(this.pos);return t===O.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,O.LINE_FEED):t===O.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Nm(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===O.LINE_FEED||t===O.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Lm(t)?this._err(Z.controlCharacterInInputStream):Rm(t)&&this._err(Z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Fe;(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"})(Fe||(Fe={}));function Pm(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const uk=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))),ok=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 lk(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=ok.get(e))!==null&&t!==void 0?t:e}var Rt;(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"})(Rt||(Rt={}));const ck=32;var Pn;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Pn||(Pn={}));function hl(e){return e>=Rt.ZERO&&e<=Rt.NINE}function hk(e){return e>=Rt.UPPER_A&&e<=Rt.UPPER_F||e>=Rt.LOWER_A&&e<=Rt.LOWER_F}function fk(e){return e>=Rt.UPPER_A&&e<=Rt.UPPER_Z||e>=Rt.LOWER_A&&e<=Rt.LOWER_Z||hl(e)}function dk(e){return e===Rt.EQUALS||fk(e)}var It;(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"})(It||(It={}));var on;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(on||(on={}));class pk{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=It.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=on.Strict}startEntity(t){this.decodeMode=t,this.state=It.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case It.EntityStart:return t.charCodeAt(r)===Rt.NUM?(this.state=It.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=It.NamedEntity,this.stateNamedEntity(t,r));case It.NumericStart:return this.stateNumericStart(t,r);case It.NumericDecimal:return this.stateNumericDecimal(t,r);case It.NumericHex:return this.stateNumericHex(t,r);case It.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|ck)===Rt.LOWER_X?(this.state=It.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=It.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,i){if(r!==n){const a=n-r;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(r,a),i),this.consumed+=a}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const i=t.charCodeAt(r);if(hl(i)||hk(i))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const i=t.charCodeAt(r);if(hl(i))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Rt.SEMI)this.consumed+=1;else if(this.decodeMode===on.Strict)return 0;return this.emitCodePoint(lk(this.result),this.consumed),this.errors&&(t!==Rt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let i=n[this.treeIndex],a=(i&Pn.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=mk(n,i,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===on.Attribute&&(a===0||dk(s))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],a=(i&Pn.VALUE_LENGTH)>>14,a!==0){if(s===Rt.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==on.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,i=(n[r]&Pn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:i}=this;return this.emitCodePoint(r===1?i[t]&~Pn.VALUE_LENGTH:i[t+1],n),r===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case It.NamedEntity:return this.result!==0&&(this.decodeMode!==on.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case It.NumericDecimal:return this.emitNumericEntity(0,2);case It.NumericHex:return this.emitNumericEntity(0,3);case It.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case It.EntityStart:return 0}}}function mk(e,t,r,n){const i=(t&Pn.BRANCH_LENGTH)>>7,a=t&Pn.JUMP_TABLE;if(i===0)return a!==0&&n===a?r:-1;if(a){const l=n-a;return l<0||l>=i?-1:e[r+l]-1}let s=r,o=s+i-1;for(;s<=o;){const l=s+o>>>1,c=e[l];if(c<n)s=l+1;else if(c>n)o=l-1;else return e[l+i]}return-1}var ue;(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/"})(ue||(ue={}));var Qn;(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"})(Qn||(Qn={}));var vr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(vr||(vr={}));var X;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.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"})(X||(X={}));var p;(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"})(p||(p={}));const gk=new Map([[X.A,p.A],[X.ADDRESS,p.ADDRESS],[X.ANNOTATION_XML,p.ANNOTATION_XML],[X.APPLET,p.APPLET],[X.AREA,p.AREA],[X.ARTICLE,p.ARTICLE],[X.ASIDE,p.ASIDE],[X.B,p.B],[X.BASE,p.BASE],[X.BASEFONT,p.BASEFONT],[X.BGSOUND,p.BGSOUND],[X.BIG,p.BIG],[X.BLOCKQUOTE,p.BLOCKQUOTE],[X.BODY,p.BODY],[X.BR,p.BR],[X.BUTTON,p.BUTTON],[X.CAPTION,p.CAPTION],[X.CENTER,p.CENTER],[X.CODE,p.CODE],[X.COL,p.COL],[X.COLGROUP,p.COLGROUP],[X.DD,p.DD],[X.DESC,p.DESC],[X.DETAILS,p.DETAILS],[X.DIALOG,p.DIALOG],[X.DIR,p.DIR],[X.DIV,p.DIV],[X.DL,p.DL],[X.DT,p.DT],[X.EM,p.EM],[X.EMBED,p.EMBED],[X.FIELDSET,p.FIELDSET],[X.FIGCAPTION,p.FIGCAPTION],[X.FIGURE,p.FIGURE],[X.FONT,p.FONT],[X.FOOTER,p.FOOTER],[X.FOREIGN_OBJECT,p.FOREIGN_OBJECT],[X.FORM,p.FORM],[X.FRAME,p.FRAME],[X.FRAMESET,p.FRAMESET],[X.H1,p.H1],[X.H2,p.H2],[X.H3,p.H3],[X.H4,p.H4],[X.H5,p.H5],[X.H6,p.H6],[X.HEAD,p.HEAD],[X.HEADER,p.HEADER],[X.HGROUP,p.HGROUP],[X.HR,p.HR],[X.HTML,p.HTML],[X.I,p.I],[X.IMG,p.IMG],[X.IMAGE,p.IMAGE],[X.INPUT,p.INPUT],[X.IFRAME,p.IFRAME],[X.KEYGEN,p.KEYGEN],[X.LABEL,p.LABEL],[X.LI,p.LI],[X.LINK,p.LINK],[X.LISTING,p.LISTING],[X.MAIN,p.MAIN],[X.MALIGNMARK,p.MALIGNMARK],[X.MARQUEE,p.MARQUEE],[X.MATH,p.MATH],[X.MENU,p.MENU],[X.META,p.META],[X.MGLYPH,p.MGLYPH],[X.MI,p.MI],[X.MO,p.MO],[X.MN,p.MN],[X.MS,p.MS],[X.MTEXT,p.MTEXT],[X.NAV,p.NAV],[X.NOBR,p.NOBR],[X.NOFRAMES,p.NOFRAMES],[X.NOEMBED,p.NOEMBED],[X.NOSCRIPT,p.NOSCRIPT],[X.OBJECT,p.OBJECT],[X.OL,p.OL],[X.OPTGROUP,p.OPTGROUP],[X.OPTION,p.OPTION],[X.P,p.P],[X.PARAM,p.PARAM],[X.PLAINTEXT,p.PLAINTEXT],[X.PRE,p.PRE],[X.RB,p.RB],[X.RP,p.RP],[X.RT,p.RT],[X.RTC,p.RTC],[X.RUBY,p.RUBY],[X.S,p.S],[X.SCRIPT,p.SCRIPT],[X.SEARCH,p.SEARCH],[X.SECTION,p.SECTION],[X.SELECT,p.SELECT],[X.SOURCE,p.SOURCE],[X.SMALL,p.SMALL],[X.SPAN,p.SPAN],[X.STRIKE,p.STRIKE],[X.STRONG,p.STRONG],[X.STYLE,p.STYLE],[X.SUB,p.SUB],[X.SUMMARY,p.SUMMARY],[X.SUP,p.SUP],[X.TABLE,p.TABLE],[X.TBODY,p.TBODY],[X.TEMPLATE,p.TEMPLATE],[X.TEXTAREA,p.TEXTAREA],[X.TFOOT,p.TFOOT],[X.TD,p.TD],[X.TH,p.TH],[X.THEAD,p.THEAD],[X.TITLE,p.TITLE],[X.TR,p.TR],[X.TRACK,p.TRACK],[X.TT,p.TT],[X.U,p.U],[X.UL,p.UL],[X.SVG,p.SVG],[X.VAR,p.VAR],[X.WBR,p.WBR],[X.XMP,p.XMP]]);function Fi(e){var t;return(t=gk.get(e))!==null&&t!==void 0?t:p.UNKNOWN}const le=p,bk={[ue.HTML]:new Set([le.ADDRESS,le.APPLET,le.AREA,le.ARTICLE,le.ASIDE,le.BASE,le.BASEFONT,le.BGSOUND,le.BLOCKQUOTE,le.BODY,le.BR,le.BUTTON,le.CAPTION,le.CENTER,le.COL,le.COLGROUP,le.DD,le.DETAILS,le.DIR,le.DIV,le.DL,le.DT,le.EMBED,le.FIELDSET,le.FIGCAPTION,le.FIGURE,le.FOOTER,le.FORM,le.FRAME,le.FRAMESET,le.H1,le.H2,le.H3,le.H4,le.H5,le.H6,le.HEAD,le.HEADER,le.HGROUP,le.HR,le.HTML,le.IFRAME,le.IMG,le.INPUT,le.LI,le.LINK,le.LISTING,le.MAIN,le.MARQUEE,le.MENU,le.META,le.NAV,le.NOEMBED,le.NOFRAMES,le.NOSCRIPT,le.OBJECT,le.OL,le.P,le.PARAM,le.PLAINTEXT,le.PRE,le.SCRIPT,le.SECTION,le.SELECT,le.SOURCE,le.STYLE,le.SUMMARY,le.TABLE,le.TBODY,le.TD,le.TEMPLATE,le.TEXTAREA,le.TFOOT,le.TH,le.THEAD,le.TITLE,le.TR,le.TRACK,le.UL,le.WBR,le.XMP]),[ue.MATHML]:new Set([le.MI,le.MO,le.MN,le.MS,le.MTEXT,le.ANNOTATION_XML]),[ue.SVG]:new Set([le.TITLE,le.FOREIGN_OBJECT,le.DESC]),[ue.XLINK]:new Set,[ue.XML]:new Set,[ue.XMLNS]:new Set},fl=new Set([le.H1,le.H2,le.H3,le.H4,le.H5,le.H6]);X.STYLE,X.SCRIPT,X.XMP,X.IFRAME,X.NOEMBED,X.NOFRAMES,X.PLAINTEXT;var B;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(B||(B={}));const pt={DATA:B.DATA,RCDATA:B.RCDATA,RAWTEXT:B.RAWTEXT,SCRIPT_DATA:B.SCRIPT_DATA,PLAINTEXT:B.PLAINTEXT,CDATA_SECTION:B.CDATA_SECTION};function xk(e){return e>=O.DIGIT_0&&e<=O.DIGIT_9}function ra(e){return e>=O.LATIN_CAPITAL_A&&e<=O.LATIN_CAPITAL_Z}function yk(e){return e>=O.LATIN_SMALL_A&&e<=O.LATIN_SMALL_Z}function An(e){return yk(e)||ra(e)}function Rf(e){return An(e)||xk(e)}function ds(e){return e+32}function Dm(e){return e===O.SPACE||e===O.LINE_FEED||e===O.TABULATION||e===O.FORM_FEED}function Pf(e){return Dm(e)||e===O.SOLIDUS||e===O.GREATER_THAN_SIGN}function vk(e){return e===O.NULL?Z.nullCharacterReference:e>1114111?Z.characterReferenceOutsideUnicodeRange:Nm(e)?Z.surrogateCharacterReference:Rm(e)?Z.noncharacterCharacterReference:Lm(e)||e===O.CARRIAGE_RETURN?Z.controlCharacterReference:null}class Ek{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=B.DATA,this.returnState=B.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new sk(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new pk(uk,(n,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(Z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const i=vk(n);i&&this._err(i,1)}}:void 0)}_err(t,r=0){var n,i;(i=(n=this.handler).onParseError)===null||i===void 0||i.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}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 r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Fe.START_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Fe.END_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Fe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Fe.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(Pm(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const i=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Z.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=Fi(t.tagName),t.type===Fe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Z.endTagWithAttributes),t.selfClosing&&this._err(Z.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 Fe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Fe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Fe.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:Fe.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=Dm(t)?Fe.WHITESPACE_CHARACTER:t===O.NULL?Fe.NULL_CHARACTER:Fe.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Fe.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=B.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?on.Attribute:on.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===B.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===B.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===B.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case B.DATA:{this._stateData(t);break}case B.RCDATA:{this._stateRcdata(t);break}case B.RAWTEXT:{this._stateRawtext(t);break}case B.SCRIPT_DATA:{this._stateScriptData(t);break}case B.PLAINTEXT:{this._statePlaintext(t);break}case B.TAG_OPEN:{this._stateTagOpen(t);break}case B.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case B.TAG_NAME:{this._stateTagName(t);break}case B.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case B.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case B.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case B.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case B.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case B.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case B.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case B.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case B.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case B.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case B.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case B.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case B.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case B.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case B.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case B.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case B.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case B.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case B.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case B.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case B.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case B.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case B.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case B.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case B.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case B.BOGUS_COMMENT:{this._stateBogusComment(t);break}case B.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case B.COMMENT_START:{this._stateCommentStart(t);break}case B.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case B.COMMENT:{this._stateComment(t);break}case B.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case B.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case B.COMMENT_END:{this._stateCommentEnd(t);break}case B.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case B.DOCTYPE:{this._stateDoctype(t);break}case B.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case B.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case B.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case B.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case B.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case B.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case B.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case B.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case B.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case B.CDATA_SECTION:{this._stateCdataSection(t);break}case B.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case B.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case B.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case B.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case O.LESS_THAN_SIGN:{this.state=B.TAG_OPEN;break}case O.AMPERSAND:{this._startCharacterReference();break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this._emitCodePoint(t);break}case O.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case O.AMPERSAND:{this._startCharacterReference();break}case O.LESS_THAN_SIGN:{this.state=B.RCDATA_LESS_THAN_SIGN;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case O.LESS_THAN_SIGN:{this.state=B.RAWTEXT_LESS_THAN_SIGN;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case O.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_LESS_THAN_SIGN;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case O.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(An(t))this._createStartTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case O.EXCLAMATION_MARK:{this.state=B.MARKUP_DECLARATION_OPEN;break}case O.SOLIDUS:{this.state=B.END_TAG_OPEN;break}case O.QUESTION_MARK:{this._err(Z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t);break}case O.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=B.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(An(t))this._createEndTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case O.GREATER_THAN_SIGN:{this._err(Z.missingEndTagName),this.state=B.DATA;break}case O.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this.state=B.BEFORE_ATTRIBUTE_NAME;break}case O.SOLIDUS:{this.state=B.SELF_CLOSING_START_TAG;break}case O.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentTagToken();break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.tagName+=st;break}case O.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(ra(t)?ds(t):t)}}_stateRcdataLessThanSign(t){t===O.SOLIDUS?this.state=B.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=B.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){An(t)?(this.state=B.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=B.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=B.BEFORE_ATTRIBUTE_NAME,!1;case O.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=B.SELF_CLOSING_START_TAG,!1;case O.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=B.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===O.SOLIDUS?this.state=B.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){An(t)?(this.state=B.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case O.SOLIDUS:{this.state=B.SCRIPT_DATA_END_TAG_OPEN;break}case O.EXCLAMATION_MARK:{this.state=B.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=B.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){An(t)?(this.state=B.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===O.HYPHEN_MINUS?(this.state=B.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===O.HYPHEN_MINUS?(this.state=B.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case O.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case O.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case O.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case O.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case O.HYPHEN_MINUS:{this._emitChars("-");break}case O.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case O.GREATER_THAN_SIGN:{this.state=B.SCRIPT_DATA,this._emitChars(">");break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===O.SOLIDUS?this.state=B.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:An(t)?(this._emitChars("<"),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){An(t)?(this.state=B.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Kt.SCRIPT,!1)&&Pf(this.preprocessor.peek(Kt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Kt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case O.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case O.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case O.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case O.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case O.HYPHEN_MINUS:{this._emitChars("-");break}case O.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case O.GREATER_THAN_SIGN:{this.state=B.SCRIPT_DATA,this._emitChars(">");break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===O.SOLIDUS?(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Kt.SCRIPT,!1)&&Pf(this.preprocessor.peek(Kt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Kt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=B.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.SOLIDUS:case O.GREATER_THAN_SIGN:case O.EOF:{this.state=B.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case O.EQUALS_SIGN:{this._err(Z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=B.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=B.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:case O.SOLIDUS:case O.GREATER_THAN_SIGN:case O.EOF:{this._leaveAttrName(),this.state=B.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case O.EQUALS_SIGN:{this._leaveAttrName(),this.state=B.BEFORE_ATTRIBUTE_VALUE;break}case O.QUOTATION_MARK:case O.APOSTROPHE:case O.LESS_THAN_SIGN:{this._err(Z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.name+=st;break}default:this.currentAttr.name+=String.fromCodePoint(ra(t)?ds(t):t)}}_stateAfterAttributeName(t){switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.SOLIDUS:{this.state=B.SELF_CLOSING_START_TAG;break}case O.EQUALS_SIGN:{this.state=B.BEFORE_ATTRIBUTE_VALUE;break}case O.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentTagToken();break}case O.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=B.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.QUOTATION_MARK:{this.state=B.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case O.APOSTROPHE:{this.state=B.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case O.GREATER_THAN_SIGN:{this._err(Z.missingAttributeValue),this.state=B.DATA,this.emitCurrentTagToken();break}default:this.state=B.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case O.QUOTATION_MARK:{this.state=B.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case O.AMPERSAND:{this._startCharacterReference();break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=st;break}case O.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case O.APOSTROPHE:{this.state=B.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case O.AMPERSAND:{this._startCharacterReference();break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=st;break}case O.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this._leaveAttrValue(),this.state=B.BEFORE_ATTRIBUTE_NAME;break}case O.AMPERSAND:{this._startCharacterReference();break}case O.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=B.DATA,this.emitCurrentTagToken();break}case O.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=st;break}case O.QUOTATION_MARK:case O.APOSTROPHE:case O.LESS_THAN_SIGN:case O.EQUALS_SIGN:case O.GRAVE_ACCENT:{this._err(Z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case O.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this._leaveAttrValue(),this.state=B.BEFORE_ATTRIBUTE_NAME;break}case O.SOLIDUS:{this._leaveAttrValue(),this.state=B.SELF_CLOSING_START_TAG;break}case O.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=B.DATA,this.emitCurrentTagToken();break}case O.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBetweenAttributes),this.state=B.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case O.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=B.DATA,this.emitCurrentTagToken();break}case O.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.unexpectedSolidusInTag),this.state=B.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case O.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentComment(r);break}case O.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.data+=st;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Kt.DASH_DASH,!0)?(this._createCommentToken(Kt.DASH_DASH.length+1),this.state=B.COMMENT_START):this._consumeSequenceIfMatch(Kt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Kt.DOCTYPE.length+1),this.state=B.DOCTYPE):this._consumeSequenceIfMatch(Kt.CDATA_START,!0)?this.inForeignNode?this.state=B.CDATA_SECTION:(this._err(Z.cdataInHtmlContent),this._createCommentToken(Kt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=B.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case O.HYPHEN_MINUS:{this.state=B.COMMENT_START_DASH;break}case O.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=B.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=B.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case O.HYPHEN_MINUS:{this.state=B.COMMENT_END;break}case O.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=B.DATA,this.emitCurrentComment(r);break}case O.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=B.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case O.HYPHEN_MINUS:{this.state=B.COMMENT_END_DASH;break}case O.LESS_THAN_SIGN:{r.data+="<",this.state=B.COMMENT_LESS_THAN_SIGN;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.data+=st;break}case O.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case O.EXCLAMATION_MARK:{r.data+="!",this.state=B.COMMENT_LESS_THAN_SIGN_BANG;break}case O.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=B.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===O.HYPHEN_MINUS?this.state=B.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=B.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===O.HYPHEN_MINUS?this.state=B.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=B.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==O.GREATER_THAN_SIGN&&t!==O.EOF&&this._err(Z.nestedComment),this.state=B.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case O.HYPHEN_MINUS:{this.state=B.COMMENT_END;break}case O.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=B.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case O.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentComment(r);break}case O.EXCLAMATION_MARK:{this.state=B.COMMENT_END_BANG;break}case O.HYPHEN_MINUS:{r.data+="-";break}case O.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=B.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case O.HYPHEN_MINUS:{r.data+="--!",this.state=B.COMMENT_END_DASH;break}case O.GREATER_THAN_SIGN:{this._err(Z.incorrectlyClosedComment),this.state=B.DATA,this.emitCurrentComment(r);break}case O.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=B.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_NAME;break}case O.GREATER_THAN_SIGN:{this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case O.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBeforeDoctypeName),this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ra(t))this._createDoctypeToken(String.fromCharCode(ds(t))),this.state=B.DOCTYPE_NAME;else switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.NULL:{this._err(Z.unexpectedNullCharacter),this._createDoctypeToken(st),this.state=B.DOCTYPE_NAME;break}case O.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=B.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this.state=B.AFTER_DOCTYPE_NAME;break}case O.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.name+=st;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(ra(t)?ds(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Kt.PUBLIC,!1)?this.state=B.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Kt.SYSTEM,!1)?this.state=B.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Z.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case O.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case O.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.QUOTATION_MARK:{r.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{r.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case O.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case O.QUOTATION_MARK:{this.state=B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.publicId+=st;break}case O.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case O.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.publicId+=st;break}case O.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this.state=B.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case O.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.QUOTATION_MARK:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.QUOTATION_MARK:{r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case O.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case O.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.QUOTATION_MARK:{r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case O.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case O.QUOTATION_MARK:{this.state=B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.systemId+=st;break}case O.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case O.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case O.NULL:{this._err(Z.unexpectedNullCharacter),r.systemId+=st;break}case O.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case O.SPACE:case O.LINE_FEED:case O.TABULATION:case O.FORM_FEED:break;case O.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(Z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case O.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.NULL:{this._err(Z.unexpectedNullCharacter);break}case O.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case O.RIGHT_SQUARE_BRACKET:{this.state=B.CDATA_SECTION_BRACKET;break}case O.EOF:{this._err(Z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===O.RIGHT_SQUARE_BRACKET?this.state=B.CDATA_SECTION_END:(this._emitChars("]"),this.state=B.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case O.GREATER_THAN_SIGN:{this.state=B.DATA;break}case O.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=B.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(O.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Rf(this.preprocessor.peek(1))?B.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Rf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===O.SEMICOLON&&this._err(Z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Om=new Set([p.DD,p.DT,p.LI,p.OPTGROUP,p.OPTION,p.P,p.RB,p.RP,p.RT,p.RTC]),Df=new Set([...Om,p.CAPTION,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]),zs=new Set([p.APPLET,p.CAPTION,p.HTML,p.MARQUEE,p.OBJECT,p.TABLE,p.TD,p.TEMPLATE,p.TH]),kk=new Set([...zs,p.OL,p.UL]),Tk=new Set([...zs,p.BUTTON]),Of=new Set([p.ANNOTATION_XML,p.MI,p.MN,p.MO,p.MS,p.MTEXT]),Mf=new Set([p.DESC,p.FOREIGN_OBJECT,p.TITLE]),wk=new Set([p.TR,p.TEMPLATE,p.HTML]),Sk=new Set([p.TBODY,p.TFOOT,p.THEAD,p.TEMPLATE,p.HTML]),_k=new Set([p.TABLE,p.TEMPLATE,p.HTML]),Ck=new Set([p.TD,p.TH]);class Ak{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=p.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===p.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ue.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const i=this._indexOf(t)+1;this.items.splice(i,0,r),this.tagIDs.splice(i,0,n),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==ue.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(fl,ue.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ck,ue.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(_k,ue.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Sk,ue.HTML)}clearBackToTableRowContext(){this.clearBackTo(wk,ue.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===p.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===p.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const i=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case ue.HTML:{if(i===t)return!0;if(r.has(i))return!1;break}case ue.SVG:{if(Mf.has(i))return!1;break}case ue.MATHML:{if(Of.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,zs)}hasInListItemScope(t){return this.hasInDynamicScope(t,kk)}hasInButtonScope(t){return this.hasInDynamicScope(t,Tk)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case ue.HTML:{if(fl.has(r))return!0;if(zs.has(r))return!1;break}case ue.SVG:{if(Mf.has(r))return!1;break}case ue.MATHML:{if(Of.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===ue.HTML)switch(this.tagIDs[r]){case t:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===ue.HTML)switch(this.tagIDs[t]){case p.TBODY:case p.THEAD:case p.TFOOT:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===ue.HTML)switch(this.tagIDs[r]){case t:return!0;case p.OPTION:case p.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Om.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Df.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Df.has(this.currentTagId);)this.pop()}}const Co=3;var jr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(jr||(jr={}));const Bf={type:jr.Marker};class Ik{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],i=r.length,a=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===jr.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===a&&this.treeAdapter.getNamespaceURI(c)===s){const h=this.treeAdapter.getAttrList(c);h.length===i&&n.push({idx:o,attrs:h})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<Co)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<Co)return;const i=new Map(r.map(s=>[s.name,s.value]));let a=0;for(let s=0;s<n.length;s++){const o=n[s];o.attrs.every(l=>i.get(l.name)===l.value)&&(a+=1,a>=Co&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Bf)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:jr.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:jr.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(Bf);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===jr.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===jr.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===jr.Element&&r.element===t)}}const In={createDocument(){return{nodeName:"#document",mode:vr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,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,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=r,i.systemId=n;else{const a={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};In.appendChild(e,a)}},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 r=e.childNodes[e.childNodes.length-1];if(In.isTextNode(r)){r.value+=t;return}}In.appendChild(e,In.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&In.isTextNode(n)?n.value+=t:In.insertBefore(e,In.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},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}}},Mm="html",Nk="about:legacy-compat",Lk="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Bm=["+//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//"],Rk=[...Bm,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Pk=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Fm=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Dk=[...Fm,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Ff(e,t){return t.some(r=>e.startsWith(r))}function Ok(e){return e.name===Mm&&e.publicId===null&&(e.systemId===null||e.systemId===Nk)}function Mk(e){if(e.name!==Mm)return vr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Lk)return vr.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),Pk.has(r))return vr.QUIRKS;let n=t===null?Rk:Bm;if(Ff(r,n))return vr.QUIRKS;if(n=t===null?Fm:Dk,Ff(r,n))return vr.LIMITED_QUIRKS}return vr.NO_QUIRKS}const Hf={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Bk="definitionurl",Fk="definitionURL",Hk=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])),zk=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ue.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ue.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ue.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ue.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ue.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ue.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ue.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ue.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ue.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ue.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ue.XMLNS}]]),Uk=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])),Vk=new Set([p.B,p.BIG,p.BLOCKQUOTE,p.BODY,p.BR,p.CENTER,p.CODE,p.DD,p.DIV,p.DL,p.DT,p.EM,p.EMBED,p.H1,p.H2,p.H3,p.H4,p.H5,p.H6,p.HEAD,p.HR,p.I,p.IMG,p.LI,p.LISTING,p.MENU,p.META,p.NOBR,p.OL,p.P,p.PRE,p.RUBY,p.S,p.SMALL,p.SPAN,p.STRONG,p.STRIKE,p.SUB,p.SUP,p.TABLE,p.TT,p.U,p.UL,p.VAR]);function qk(e){const t=e.tagID;return t===p.FONT&&e.attrs.some(({name:n})=>n===Qn.COLOR||n===Qn.SIZE||n===Qn.FACE)||Vk.has(t)}function Hm(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Bk){e.attrs[t].name=Fk;break}}function zm(e){for(let t=0;t<e.attrs.length;t++){const r=Hk.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function y0(e){for(let t=0;t<e.attrs.length;t++){const r=zk.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function jk(e){const t=Uk.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Fi(e.tagName))}function Gk(e,t){return t===ue.MATHML&&(e===p.MI||e===p.MO||e===p.MN||e===p.MS||e===p.MTEXT)}function $k(e,t,r){if(t===ue.MATHML&&e===p.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===Qn.ENCODING){const i=r[n].value.toLowerCase();return i===Hf.TEXT_HTML||i===Hf.APPLICATION_XML}}return t===ue.SVG&&(e===p.FOREIGN_OBJECT||e===p.DESC||e===p.TITLE)}function Wk(e,t,r,n){return(!n||n===ue.HTML)&&$k(e,t,r)||(!n||n===ue.MATHML)&&Gk(e,t)}const Yk="hidden",Xk=8,Jk=3;var U;(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"})(U||(U={}));const Qk={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Um=new Set([p.TABLE,p.TBODY,p.TFOOT,p.THEAD,p.TR]),zf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:In,onParseError:null};class Uf{constructor(t,r,n=null,i=null){this.fragmentContext=n,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=U.INITIAL,this.originalInsertionMode=U.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={...zf,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new Ek(this.options,this),this.activeFormattingElements=new Ik(this.treeAdapter),this.fragmentContextID=n?Fi(this.treeAdapter.getTagName(n)):p.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new Ak(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n={...zf,...r};t??(t=n.treeAdapter.createElement(X.TEMPLATE,ue.HTML,[]));const i=n.treeAdapter.createElement("documentmock",ue.HTML,[]),a=new this(n,i,t);return a.fragmentContextID===p.TEMPLATE&&a.tmplInsertionModeStack.unshift(U.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:Qk,s={code:r,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:n?a.startLine:a.endLine,endCol:n?a.startCol:a.endCol,endOffset:n?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(t,r,n){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(n=this.treeAdapter).onItemPop)===null||i===void 0||i.call(n,t,this.openElements.current),r){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===ue.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,ue.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=U.TEXT}switchToPlaintextParsing(){this.insertionMode=U.TEXT,this.originalInsertionMode=U.IN_BODY,this.tokenizer.state=pt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===X.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ue.HTML))switch(this.fragmentContextID){case p.TITLE:case p.TEXTAREA:{this.tokenizer.state=pt.RCDATA;break}case p.STYLE:case p.XMP:case p.IFRAME:case p.NOEMBED:case p.NOFRAMES:case p.NOSCRIPT:{this.tokenizer.state=pt.RAWTEXT;break}case p.SCRIPT:{this.tokenizer.state=pt.SCRIPT_DATA;break}case p.PLAINTEXT:{this.tokenizer.state=pt.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,i),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,ue.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,ue.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(X.HTML,ue.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,p.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(r),a=n?i.lastIndexOf(n):i.length,s=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:l,endCol:c,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,i=this.treeAdapter.getTagName(t),a=r.type===Fe.END_TAG&&i===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===p.SVG&&this.treeAdapter.getTagName(r)===X.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===ue.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===p.MGLYPH||t.tagID===p.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,ue.HTML)}_processToken(t){switch(t.type){case Fe.CHARACTER:{this.onCharacter(t);break}case Fe.NULL_CHARACTER:{this.onNullCharacter(t);break}case Fe.COMMENT:{this.onComment(t);break}case Fe.DOCTYPE:{this.onDoctype(t);break}case Fe.START_TAG:{this._processStartTag(t);break}case Fe.END_TAG:{this.onEndTag(t);break}case Fe.EOF:{this.onEof(t);break}case Fe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const i=this.treeAdapter.getNamespaceURI(r),a=this.treeAdapter.getAttrList(r);return Wk(t,i,a,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(i=>i.type===jr.Marker||this.openElements.contains(i.element)),n=r===-1?t-1:r-1;for(let i=n;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=U.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(p.P),this.openElements.popUntilTagNamePopped(p.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case p.TR:{this.insertionMode=U.IN_ROW;return}case p.TBODY:case p.THEAD:case p.TFOOT:{this.insertionMode=U.IN_TABLE_BODY;return}case p.CAPTION:{this.insertionMode=U.IN_CAPTION;return}case p.COLGROUP:{this.insertionMode=U.IN_COLUMN_GROUP;return}case p.TABLE:{this.insertionMode=U.IN_TABLE;return}case p.BODY:{this.insertionMode=U.IN_BODY;return}case p.FRAMESET:{this.insertionMode=U.IN_FRAMESET;return}case p.SELECT:{this._resetInsertionModeForSelect(t);return}case p.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case p.HTML:{this.insertionMode=this.headElement?U.AFTER_HEAD:U.BEFORE_HEAD;return}case p.TD:case p.TH:{if(t>0){this.insertionMode=U.IN_CELL;return}break}case p.HEAD:{if(t>0){this.insertionMode=U.IN_HEAD;return}break}}this.insertionMode=U.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===p.TEMPLATE)break;if(n===p.TABLE){this.insertionMode=U.IN_SELECT_IN_TABLE;return}}this.insertionMode=U.IN_SELECT}_isElementCausesFosterParenting(t){return Um.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 r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case p.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===ue.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case p.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return bk[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Cw(this,t);return}switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{ca(this,t);break}case U.BEFORE_HEAD:{ha(this,t);break}case U.IN_HEAD:{fa(this,t);break}case U.IN_HEAD_NO_SCRIPT:{da(this,t);break}case U.AFTER_HEAD:{pa(this,t);break}case U.IN_BODY:case U.IN_CAPTION:case U.IN_CELL:case U.IN_TEMPLATE:{qm(this,t);break}case U.TEXT:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case U.IN_TABLE:case U.IN_TABLE_BODY:case U.IN_ROW:{Ao(this,t);break}case U.IN_TABLE_TEXT:{Xm(this,t);break}case U.IN_COLUMN_GROUP:{Us(this,t);break}case U.AFTER_BODY:{Vs(this,t);break}case U.AFTER_AFTER_BODY:{ks(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){_w(this,t);return}switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{ca(this,t);break}case U.BEFORE_HEAD:{ha(this,t);break}case U.IN_HEAD:{fa(this,t);break}case U.IN_HEAD_NO_SCRIPT:{da(this,t);break}case U.AFTER_HEAD:{pa(this,t);break}case U.TEXT:{this._insertCharacters(t);break}case U.IN_TABLE:case U.IN_TABLE_BODY:case U.IN_ROW:{Ao(this,t);break}case U.IN_COLUMN_GROUP:{Us(this,t);break}case U.AFTER_BODY:{Vs(this,t);break}case U.AFTER_AFTER_BODY:{ks(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){dl(this,t);return}switch(this.insertionMode){case U.INITIAL:case U.BEFORE_HTML:case U.BEFORE_HEAD:case U.IN_HEAD:case U.IN_HEAD_NO_SCRIPT:case U.AFTER_HEAD:case U.IN_BODY:case U.IN_TABLE:case U.IN_CAPTION:case U.IN_COLUMN_GROUP:case U.IN_TABLE_BODY:case U.IN_ROW:case U.IN_CELL:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:case U.IN_TEMPLATE:case U.IN_FRAMESET:case U.AFTER_FRAMESET:{dl(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.AFTER_BODY:{iT(this,t);break}case U.AFTER_AFTER_BODY:case U.AFTER_AFTER_FRAMESET:{aT(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case U.INITIAL:{sT(this,t);break}case U.BEFORE_HEAD:case U.IN_HEAD:case U.IN_HEAD_NO_SCRIPT:case U.AFTER_HEAD:{this._err(t,Z.misplacedDoctype);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Aw(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{uT(this,t);break}case U.BEFORE_HEAD:{lT(this,t);break}case U.IN_HEAD:{Dr(this,t);break}case U.IN_HEAD_NO_SCRIPT:{fT(this,t);break}case U.AFTER_HEAD:{pT(this,t);break}case U.IN_BODY:{Vt(this,t);break}case U.IN_TABLE:{Si(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.IN_CAPTION:{cw(this,t);break}case U.IN_COLUMN_GROUP:{k0(this,t);break}case U.IN_TABLE_BODY:{Au(this,t);break}case U.IN_ROW:{Iu(this,t);break}case U.IN_CELL:{dw(this,t);break}case U.IN_SELECT:{Km(this,t);break}case U.IN_SELECT_IN_TABLE:{mw(this,t);break}case U.IN_TEMPLATE:{bw(this,t);break}case U.AFTER_BODY:{yw(this,t);break}case U.IN_FRAMESET:{vw(this,t);break}case U.AFTER_FRAMESET:{kw(this,t);break}case U.AFTER_AFTER_BODY:{ww(this,t);break}case U.AFTER_AFTER_FRAMESET:{Sw(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Iw(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{oT(this,t);break}case U.BEFORE_HEAD:{cT(this,t);break}case U.IN_HEAD:{hT(this,t);break}case U.IN_HEAD_NO_SCRIPT:{dT(this,t);break}case U.AFTER_HEAD:{mT(this,t);break}case U.IN_BODY:{Cu(this,t);break}case U.TEXT:{ew(this,t);break}case U.IN_TABLE:{Ta(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.IN_CAPTION:{hw(this,t);break}case U.IN_COLUMN_GROUP:{fw(this,t);break}case U.IN_TABLE_BODY:{pl(this,t);break}case U.IN_ROW:{Qm(this,t);break}case U.IN_CELL:{pw(this,t);break}case U.IN_SELECT:{Zm(this,t);break}case U.IN_SELECT_IN_TABLE:{gw(this,t);break}case U.IN_TEMPLATE:{xw(this,t);break}case U.AFTER_BODY:{t2(this,t);break}case U.IN_FRAMESET:{Ew(this,t);break}case U.AFTER_FRAMESET:{Tw(this,t);break}case U.AFTER_AFTER_BODY:{ks(this,t);break}}}onEof(t){switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{ca(this,t);break}case U.BEFORE_HEAD:{ha(this,t);break}case U.IN_HEAD:{fa(this,t);break}case U.IN_HEAD_NO_SCRIPT:{da(this,t);break}case U.AFTER_HEAD:{pa(this,t);break}case U.IN_BODY:case U.IN_TABLE:case U.IN_CAPTION:case U.IN_COLUMN_GROUP:case U.IN_TABLE_BODY:case U.IN_ROW:case U.IN_CELL:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:{Wm(this,t);break}case U.TEXT:{tw(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.IN_TEMPLATE:{e2(this,t);break}case U.AFTER_BODY:case U.IN_FRAMESET:case U.AFTER_FRAMESET:case U.AFTER_AFTER_BODY:case U.AFTER_AFTER_FRAMESET:{E0(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===O.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 U.IN_HEAD:case U.IN_HEAD_NO_SCRIPT:case U.AFTER_HEAD:case U.TEXT:case U.IN_COLUMN_GROUP:case U.IN_SELECT:case U.IN_SELECT_IN_TABLE:case U.IN_FRAMESET:case U.AFTER_FRAMESET:{this._insertCharacters(t);break}case U.IN_BODY:case U.IN_CAPTION:case U.IN_CELL:case U.IN_TEMPLATE:case U.AFTER_BODY:case U.AFTER_AFTER_BODY:case U.AFTER_AFTER_FRAMESET:{Vm(this,t);break}case U.IN_TABLE:case U.IN_TABLE_BODY:case U.IN_ROW:{Ao(this,t);break}case U.IN_TABLE_TEXT:{Ym(this,t);break}}}}function Kk(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):$m(e,t),r}function Zk(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const i=e.openElements.items[n];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[n])&&(r=i)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function eT(e,t,r){let n=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==r;a++,s=i){i=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),l=o&&a>=Jk;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=tT(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function tT(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function rT(e,t,r){const n=e.treeAdapter.getTagName(t),i=Fi(n);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(r);else{const a=e.treeAdapter.getNamespaceURI(t);i===p.TEMPLATE&&a===ue.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function nT(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:i}=r,a=e.treeAdapter.createElement(i.tagName,n,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,a,i.tagID)}function v0(e,t){for(let r=0;r<Xk;r++){const n=Kk(e,t);if(!n)break;const i=Zk(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;const a=eT(e,i,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),s&&rT(e,s,a),nT(e,i,n)}}function dl(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function iT(e,t){e._appendCommentNode(t,e.openElements.items[0])}function aT(e,t){e._appendCommentNode(t,e.document)}function E0(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(n);if(i&&!i.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&e._setEndLocation(a,t)}}}}function sT(e,t){e._setDocumentType(t);const r=t.forceQuirks?vr.QUIRKS:Mk(t);Ok(t)||e._err(t,Z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=U.BEFORE_HTML}function Ji(e,t){e._err(t,Z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,vr.QUIRKS),e.insertionMode=U.BEFORE_HTML,e._processToken(t)}function uT(e,t){t.tagID===p.HTML?(e._insertElement(t,ue.HTML),e.insertionMode=U.BEFORE_HEAD):ca(e,t)}function oT(e,t){const r=t.tagID;(r===p.HTML||r===p.HEAD||r===p.BODY||r===p.BR)&&ca(e,t)}function ca(e,t){e._insertFakeRootElement(),e.insertionMode=U.BEFORE_HEAD,e._processToken(t)}function lT(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.HEAD:{e._insertElement(t,ue.HTML),e.headElement=e.openElements.current,e.insertionMode=U.IN_HEAD;break}default:ha(e,t)}}function cT(e,t){const r=t.tagID;r===p.HEAD||r===p.BODY||r===p.HTML||r===p.BR?ha(e,t):e._err(t,Z.endTagWithoutMatchingOpenElement)}function ha(e,t){e._insertFakeElement(X.HEAD,p.HEAD),e.headElement=e.openElements.current,e.insertionMode=U.IN_HEAD,e._processToken(t)}function Dr(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case p.TITLE:{e._switchToTextParsing(t,pt.RCDATA);break}case p.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,pt.RAWTEXT):(e._insertElement(t,ue.HTML),e.insertionMode=U.IN_HEAD_NO_SCRIPT);break}case p.NOFRAMES:case p.STYLE:{e._switchToTextParsing(t,pt.RAWTEXT);break}case p.SCRIPT:{e._switchToTextParsing(t,pt.SCRIPT_DATA);break}case p.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=U.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(U.IN_TEMPLATE);break}case p.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:fa(e,t)}}function hT(e,t){switch(t.tagID){case p.HEAD:{e.openElements.pop(),e.insertionMode=U.AFTER_HEAD;break}case p.BODY:case p.BR:case p.HTML:{fa(e,t);break}case p.TEMPLATE:{ri(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function ri(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==p.TEMPLATE&&e._err(t,Z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Z.endTagWithoutMatchingOpenElement)}function fa(e,t){e.openElements.pop(),e.insertionMode=U.AFTER_HEAD,e._processToken(t)}function fT(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.BASEFONT:case p.BGSOUND:case p.HEAD:case p.LINK:case p.META:case p.NOFRAMES:case p.STYLE:{Dr(e,t);break}case p.NOSCRIPT:{e._err(t,Z.nestedNoscriptInHead);break}default:da(e,t)}}function dT(e,t){switch(t.tagID){case p.NOSCRIPT:{e.openElements.pop(),e.insertionMode=U.IN_HEAD;break}case p.BR:{da(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function da(e,t){const r=t.type===Fe.EOF?Z.openElementsLeftAfterEof:Z.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=U.IN_HEAD,e._processToken(t)}function pT(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.BODY:{e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=U.IN_BODY;break}case p.FRAMESET:{e._insertElement(t,ue.HTML),e.insertionMode=U.IN_FRAMESET;break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{e._err(t,Z.abandonedHeadElementChild),e.openElements.push(e.headElement,p.HEAD),Dr(e,t),e.openElements.remove(e.headElement);break}case p.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:pa(e,t)}}function mT(e,t){switch(t.tagID){case p.BODY:case p.HTML:case p.BR:{pa(e,t);break}case p.TEMPLATE:{ri(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function pa(e,t){e._insertFakeElement(X.BODY,p.BODY),e.insertionMode=U.IN_BODY,_u(e,t)}function _u(e,t){switch(t.type){case Fe.CHARACTER:{qm(e,t);break}case Fe.WHITESPACE_CHARACTER:{Vm(e,t);break}case Fe.COMMENT:{dl(e,t);break}case Fe.START_TAG:{Vt(e,t);break}case Fe.END_TAG:{Cu(e,t);break}case Fe.EOF:{Wm(e,t);break}}}function Vm(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function qm(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function gT(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function bT(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function xT(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,ue.HTML),e.insertionMode=U.IN_FRAMESET)}function yT(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ue.HTML)}function vT(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&fl.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,ue.HTML)}function ET(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function kT(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ue.HTML),r||(e.formElement=e.openElements.current))}function TT(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const i=e.openElements.tagIDs[n];if(r===p.LI&&i===p.LI||(r===p.DD||r===p.DT)&&(i===p.DD||i===p.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==p.ADDRESS&&i!==p.DIV&&i!==p.P&&e._isSpecialElement(e.openElements.items[n],i))break}e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ue.HTML)}function wT(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.tokenizer.state=pt.PLAINTEXT}function ST(e,t){e.openElements.hasInScope(p.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.framesetOk=!1}function _T(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(X.A);r&&(v0(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function CT(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function AT(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(p.NOBR)&&(v0(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function IT(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function NT(e,t){e.treeAdapter.getDocumentMode(e.document)!==vr.QUIRKS&&e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=U.IN_TABLE}function jm(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ue.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Gm(e){const t=Pm(e,Qn.TYPE);return t!=null&&t.toLowerCase()===Yk}function LT(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ue.HTML),Gm(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function RT(e,t){e._appendElement(t,ue.HTML),t.ackSelfClosing=!0}function PT(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._appendElement(t,ue.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function DT(e,t){t.tagName=X.IMG,t.tagID=p.IMG,jm(e,t)}function OT(e,t){e._insertElement(t,ue.HTML),e.skipNextNewLine=!0,e.tokenizer.state=pt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=U.TEXT}function MT(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,pt.RAWTEXT)}function BT(e,t){e.framesetOk=!1,e._switchToTextParsing(t,pt.RAWTEXT)}function Vf(e,t){e._switchToTextParsing(t,pt.RAWTEXT)}function FT(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===U.IN_TABLE||e.insertionMode===U.IN_CAPTION||e.insertionMode===U.IN_TABLE_BODY||e.insertionMode===U.IN_ROW||e.insertionMode===U.IN_CELL?U.IN_SELECT_IN_TABLE:U.IN_SELECT}function HT(e,t){e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML)}function zT(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,ue.HTML)}function UT(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(p.RTC),e._insertElement(t,ue.HTML)}function VT(e,t){e._reconstructActiveFormattingElements(),Hm(t),y0(t),t.selfClosing?e._appendElement(t,ue.MATHML):e._insertElement(t,ue.MATHML),t.ackSelfClosing=!0}function qT(e,t){e._reconstructActiveFormattingElements(),zm(t),y0(t),t.selfClosing?e._appendElement(t,ue.SVG):e._insertElement(t,ue.SVG),t.ackSelfClosing=!0}function qf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML)}function Vt(e,t){switch(t.tagID){case p.I:case p.S:case p.B:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.SMALL:case p.STRIKE:case p.STRONG:{CT(e,t);break}case p.A:{_T(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{vT(e,t);break}case p.P:case p.DL:case p.OL:case p.UL:case p.DIV:case p.DIR:case p.NAV:case p.MAIN:case p.MENU:case p.ASIDE:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.DETAILS:case p.ADDRESS:case p.ARTICLE:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{yT(e,t);break}case p.LI:case p.DD:case p.DT:{TT(e,t);break}case p.BR:case p.IMG:case p.WBR:case p.AREA:case p.EMBED:case p.KEYGEN:{jm(e,t);break}case p.HR:{PT(e,t);break}case p.RB:case p.RTC:{zT(e,t);break}case p.RT:case p.RP:{UT(e,t);break}case p.PRE:case p.LISTING:{ET(e,t);break}case p.XMP:{MT(e,t);break}case p.SVG:{qT(e,t);break}case p.HTML:{gT(e,t);break}case p.BASE:case p.LINK:case p.META:case p.STYLE:case p.TITLE:case p.SCRIPT:case p.BGSOUND:case p.BASEFONT:case p.TEMPLATE:{Dr(e,t);break}case p.BODY:{bT(e,t);break}case p.FORM:{kT(e,t);break}case p.NOBR:{AT(e,t);break}case p.MATH:{VT(e,t);break}case p.TABLE:{NT(e,t);break}case p.INPUT:{LT(e,t);break}case p.PARAM:case p.TRACK:case p.SOURCE:{RT(e,t);break}case p.IMAGE:{DT(e,t);break}case p.BUTTON:{ST(e,t);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{IT(e,t);break}case p.IFRAME:{BT(e,t);break}case p.SELECT:{FT(e,t);break}case p.OPTION:case p.OPTGROUP:{HT(e,t);break}case p.NOEMBED:case p.NOFRAMES:{Vf(e,t);break}case p.FRAMESET:{xT(e,t);break}case p.TEXTAREA:{OT(e,t);break}case p.NOSCRIPT:{e.options.scriptingEnabled?Vf(e,t):qf(e,t);break}case p.PLAINTEXT:{wT(e,t);break}case p.COL:case p.TH:case p.TD:case p.TR:case p.HEAD:case p.FRAME:case p.TBODY:case p.TFOOT:case p.THEAD:case p.CAPTION:case p.COLGROUP:break;default:qf(e,t)}}function jT(e,t){if(e.openElements.hasInScope(p.BODY)&&(e.insertionMode=U.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function GT(e,t){e.openElements.hasInScope(p.BODY)&&(e.insertionMode=U.AFTER_BODY,t2(e,t))}function $T(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function WT(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(p.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(p.FORM):r&&e.openElements.remove(r))}function YT(e){e.openElements.hasInButtonScope(p.P)||e._insertFakeElement(X.P,p.P),e._closePElement()}function XT(e){e.openElements.hasInListItemScope(p.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(p.LI),e.openElements.popUntilTagNamePopped(p.LI))}function JT(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function QT(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function KT(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function ZT(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(X.BR,p.BR),e.openElements.pop(),e.framesetOk=!1}function $m(e,t){const r=t.tagName,n=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],s=e.openElements.tagIDs[i];if(n===s&&(n!==p.UNKNOWN||e.treeAdapter.getTagName(a)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,s))break}}function Cu(e,t){switch(t.tagID){case p.A:case p.B:case p.I:case p.S:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.NOBR:case p.SMALL:case p.STRIKE:case p.STRONG:{v0(e,t);break}case p.P:{YT(e);break}case p.DL:case p.UL:case p.OL:case p.DIR:case p.DIV:case p.NAV:case p.PRE:case p.MAIN:case p.MENU:case p.ASIDE:case p.BUTTON:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.ADDRESS:case p.ARTICLE:case p.DETAILS:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.LISTING:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{$T(e,t);break}case p.LI:{XT(e);break}case p.DD:case p.DT:{JT(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{QT(e);break}case p.BR:{ZT(e);break}case p.BODY:{jT(e,t);break}case p.HTML:{GT(e,t);break}case p.FORM:{WT(e);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{KT(e,t);break}case p.TEMPLATE:{ri(e,t);break}default:$m(e,t)}}function Wm(e,t){e.tmplInsertionModeStack.length>0?e2(e,t):E0(e,t)}function ew(e,t){var r;t.tagID===p.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function tw(e,t){e._err(t,Z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Ao(e,t){if(e.openElements.currentTagId!==void 0&&Um.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=U.IN_TABLE_TEXT,t.type){case Fe.CHARACTER:{Xm(e,t);break}case Fe.WHITESPACE_CHARACTER:{Ym(e,t);break}}else Fa(e,t)}function rw(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,ue.HTML),e.insertionMode=U.IN_CAPTION}function nw(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ue.HTML),e.insertionMode=U.IN_COLUMN_GROUP}function iw(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(X.COLGROUP,p.COLGROUP),e.insertionMode=U.IN_COLUMN_GROUP,k0(e,t)}function aw(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ue.HTML),e.insertionMode=U.IN_TABLE_BODY}function sw(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(X.TBODY,p.TBODY),e.insertionMode=U.IN_TABLE_BODY,Au(e,t)}function uw(e,t){e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ow(e,t){Gm(t)?e._appendElement(t,ue.HTML):Fa(e,t),t.ackSelfClosing=!0}function lw(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,ue.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Si(e,t){switch(t.tagID){case p.TD:case p.TH:case p.TR:{sw(e,t);break}case p.STYLE:case p.SCRIPT:case p.TEMPLATE:{Dr(e,t);break}case p.COL:{iw(e,t);break}case p.FORM:{lw(e,t);break}case p.TABLE:{uw(e,t);break}case p.TBODY:case p.TFOOT:case p.THEAD:{aw(e,t);break}case p.INPUT:{ow(e,t);break}case p.CAPTION:{rw(e,t);break}case p.COLGROUP:{nw(e,t);break}default:Fa(e,t)}}function Ta(e,t){switch(t.tagID){case p.TABLE:{e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode());break}case p.TEMPLATE:{ri(e,t);break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:Fa(e,t)}}function Fa(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,_u(e,t),e.fosterParentingEnabled=r}function Ym(e,t){e.pendingCharacterTokens.push(t)}function Xm(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Qi(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)Fa(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Jm=new Set([p.CAPTION,p.COL,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]);function cw(e,t){const r=t.tagID;Jm.has(r)?e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_TABLE,Si(e,t)):Vt(e,t)}function hw(e,t){const r=t.tagID;switch(r){case p.CAPTION:case p.TABLE:{e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_TABLE,r===p.TABLE&&Ta(e,t));break}case p.BODY:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:Cu(e,t)}}function k0(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.COL:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case p.TEMPLATE:{Dr(e,t);break}default:Us(e,t)}}function fw(e,t){switch(t.tagID){case p.COLGROUP:{e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=U.IN_TABLE);break}case p.TEMPLATE:{ri(e,t);break}case p.COL:break;default:Us(e,t)}}function Us(e,t){e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=U.IN_TABLE,e._processToken(t))}function Au(e,t){switch(t.tagID){case p.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,ue.HTML),e.insertionMode=U.IN_ROW;break}case p.TH:case p.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(X.TR,p.TR),e.insertionMode=U.IN_ROW,Iu(e,t);break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE,Si(e,t));break}default:Si(e,t)}}function pl(e,t){const r=t.tagID;switch(t.tagID){case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE);break}case p.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE,Ta(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:case p.TR:break;default:Ta(e,t)}}function Iu(e,t){switch(t.tagID){case p.TH:case p.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,ue.HTML),e.insertionMode=U.IN_CELL,e.activeFormattingElements.insertMarker();break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,Au(e,t));break}default:Si(e,t)}}function Qm(e,t){switch(t.tagID){case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY);break}case p.TABLE:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,pl(e,t));break}case p.TBODY:case p.TFOOT:case p.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(p.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,pl(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:break;default:Ta(e,t)}}function dw(e,t){const r=t.tagID;Jm.has(r)?(e.openElements.hasInTableScope(p.TD)||e.openElements.hasInTableScope(p.TH))&&(e._closeTableCell(),Iu(e,t)):Vt(e,t)}function pw(e,t){const r=t.tagID;switch(r){case p.TD:case p.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_ROW);break}case p.TABLE:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),Qm(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:break;default:Cu(e,t)}}function Km(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._insertElement(t,ue.HTML);break}case p.OPTGROUP:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._insertElement(t,ue.HTML);break}case p.HR:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case p.INPUT:case p.KEYGEN:case p.TEXTAREA:case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),t.tagID!==p.SELECT&&e._processStartTag(t));break}case p.SCRIPT:case p.TEMPLATE:{Dr(e,t);break}}}function Zm(e,t){switch(t.tagID){case p.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===p.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===p.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop();break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop();break}case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode());break}case p.TEMPLATE:{ri(e,t);break}}}function mw(e,t){const r=t.tagID;r===p.CAPTION||r===p.TABLE||r===p.TBODY||r===p.TFOOT||r===p.THEAD||r===p.TR||r===p.TD||r===p.TH?(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Km(e,t)}function gw(e,t){const r=t.tagID;r===p.CAPTION||r===p.TABLE||r===p.TBODY||r===p.TFOOT||r===p.THEAD||r===p.TR||r===p.TD||r===p.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Zm(e,t)}function bw(e,t){switch(t.tagID){case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{Dr(e,t);break}case p.CAPTION:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.tmplInsertionModeStack[0]=U.IN_TABLE,e.insertionMode=U.IN_TABLE,Si(e,t);break}case p.COL:{e.tmplInsertionModeStack[0]=U.IN_COLUMN_GROUP,e.insertionMode=U.IN_COLUMN_GROUP,k0(e,t);break}case p.TR:{e.tmplInsertionModeStack[0]=U.IN_TABLE_BODY,e.insertionMode=U.IN_TABLE_BODY,Au(e,t);break}case p.TD:case p.TH:{e.tmplInsertionModeStack[0]=U.IN_ROW,e.insertionMode=U.IN_ROW,Iu(e,t);break}default:e.tmplInsertionModeStack[0]=U.IN_BODY,e.insertionMode=U.IN_BODY,Vt(e,t)}}function xw(e,t){t.tagID===p.TEMPLATE&&ri(e,t)}function e2(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):E0(e,t)}function yw(e,t){t.tagID===p.HTML?Vt(e,t):Vs(e,t)}function t2(e,t){var r;if(t.tagID===p.HTML){if(e.fragmentContext||(e.insertionMode=U.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===p.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Vs(e,t)}function Vs(e,t){e.insertionMode=U.IN_BODY,_u(e,t)}function vw(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.FRAMESET:{e._insertElement(t,ue.HTML);break}case p.FRAME:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case p.NOFRAMES:{Dr(e,t);break}}}function Ew(e,t){t.tagID===p.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==p.FRAMESET&&(e.insertionMode=U.AFTER_FRAMESET))}function kw(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.NOFRAMES:{Dr(e,t);break}}}function Tw(e,t){t.tagID===p.HTML&&(e.insertionMode=U.AFTER_AFTER_FRAMESET)}function ww(e,t){t.tagID===p.HTML?Vt(e,t):ks(e,t)}function ks(e,t){e.insertionMode=U.IN_BODY,_u(e,t)}function Sw(e,t){switch(t.tagID){case p.HTML:{Vt(e,t);break}case p.NOFRAMES:{Dr(e,t);break}}}function _w(e,t){t.chars=st,e._insertCharacters(t)}function Cw(e,t){e._insertCharacters(t),e.framesetOk=!1}function r2(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==ue.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Aw(e,t){if(qk(t))r2(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===ue.MATHML?Hm(t):n===ue.SVG&&(jk(t),zm(t)),y0(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function Iw(e,t){if(t.tagID===p.P||t.tagID===p.BR){r2(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===ue.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(n);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(r);break}}}X.AREA,X.BASE,X.BASEFONT,X.BGSOUND,X.BR,X.COL,X.EMBED,X.FRAME,X.HR,X.IMG,X.INPUT,X.KEYGEN,X.LINK,X.META,X.PARAM,X.SOURCE,X.TRACK,X.WBR;const Nw=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Lw=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),jf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function n2(e,t){const r=Uw(e),n=ou("type",{handlers:{root:Rw,element:Pw,text:Dw,comment:a2,doctype:Ow,raw:Bw},unknown:Fw}),i={parser:r?new Uf(jf):Uf.getFragmentParser(void 0,jf),handle(o){n(o,i)},stitches:!1,options:t||{}};n(e,i),Hi(i,yn());const a=r?i.parser.document:i.parser.getFragment(),s=qE(a,{file:i.options.file});return i.stitches&&Da(s,"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}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function i2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function Rw(e,t){i2(e.children,t)}function Pw(e,t){Hw(e,t),i2(e.children,t),zw(e,t)}function Dw(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Fe.CHARACTER,chars:e.value,location:Ha(e)};Hi(t,yn(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Ow(e,t){const r={type:Fe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ha(e)};Hi(t,yn(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Mw(e,t){t.stitches=!0;const r=Vw(e);if("children"in e&&"children"in r){const n=n2({type:"root",children:e.children},t.options);r.children=n.children}a2({type:"comment",value:{stitch:r}},t)}function a2(e,t){const r=e.value,n={type:Fe.COMMENT,data:r,location:Ha(e)};Hi(t,yn(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Bw(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,s2(t,yn(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Nw,"&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 r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function Fw(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))Mw(r,t);else{let n="";throw Lw.has(r.type)&&(n=". 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 `"+r.type+"` node"+n)}}function Hi(e,t){s2(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,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=pt.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 s2(e,t){if(t&&t.offset!==void 0){const r={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=r}}function Hw(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===pt.PLAINTEXT)return;Hi(t,yn(e));const n=t.parser.openElements.current;let i="namespaceURI"in n?n.namespaceURI:Wr.html;i===Wr.html&&r==="svg"&&(i=Wr.svg);const a=YE({...e,children:[]},{space:i===Wr.svg?"svg":"html"}),s={type:Fe.START_TAG,tagName:r,tagID:Fi(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Ha(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function zw(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Im.includes(r)||t.parser.tokenizer.state===pt.PLAINTEXT)return;Hi(t,uu(e));const n={type:Fe.END_TAG,tagName:r,tagID:Fi(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ha(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===pt.RCDATA||t.parser.tokenizer.state===pt.RAWTEXT||t.parser.tokenizer.state===pt.SCRIPT_DATA)&&(t.parser.tokenizer.state=pt.DATA)}function Uw(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Ha(e){const t=yn(e)||{line:void 0,column:void 0,offset:void 0},r=uu(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function Vw(e){return"children"in e?Ti({...e,children:[]}):Ti(e)}function qw(e){return function(t,r){return n2(t,{...e,file:r})}}const jw={class:"md-skeleton__paragraph"},Gw={class:"md-skeleton__code"},$w={class:"md-skeleton__code-body"},Ww={class:"md-skeleton__paragraph"},Yw={class:"md-skeleton__paragraph"},Xw=y.defineComponent({__name:"Skeleton",props:{active:{type:Boolean,default:!0}},setup(e){return(t,r)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-skeleton",{"md-skeleton--active":e.active}])},[r[1]||(r[1]=y.createElementVNode("div",{class:"md-skeleton__title"},null,-1)),y.createElementVNode("ul",jw,[(y.openBlock(),y.createElementBlock(y.Fragment,null,y.renderList(3,n=>y.createElementVNode("li",{key:`p1-${n}`})),64))]),y.createElementVNode("div",Gw,[r[0]||(r[0]=y.createElementVNode("div",{class:"md-skeleton__code-header"},null,-1)),y.createElementVNode("div",$w,[y.createElementVNode("ul",Ww,[(y.openBlock(),y.createElementBlock(y.Fragment,null,y.renderList(4,n=>y.createElementVNode("li",{key:`code-${n}`})),64))])])]),y.createElementVNode("ul",Yw,[(y.openBlock(),y.createElementBlock(y.Fragment,null,y.renderList(3,n=>y.createElementVNode("li",{key:`p2-${n}`})),64))])],2))}}),Ke=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},u2=Ke(Xw,[["__scopeId","data-v-cd35e69e"]]),Jw=["src","alt"],Qw={key:1,class:"md-image__fallback"},Kw=y.defineComponent({__name:"Image",props:{src:{},alt:{},width:{},height:{},fit:{default:"cover"}},setup(e){const t=e,r=y.ref(!1),n=y.computed(()=>{const a={};return t.width&&(a.width=typeof t.width=="number"?`${t.width}px`:t.width),t.height&&(a.height=typeof t.height=="number"?`${t.height}px`:t.height),a}),i=y.computed(()=>({objectFit:t.fit,width:"100%",height:"100%"}));return(a,s)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-image",{"md-image--error":r.value}]),style:y.normalizeStyle(n.value)},[r.value?(y.openBlock(),y.createElementBlock("div",Qw,[...s[2]||(s[2]=[y.createElementVNode("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48"},[y.createElementVNode("path",{d:"M304.128 456.192c48.64 0 88.064-39.424 88.064-88.064s-39.424-88.064-88.064-88.064-88.064 39.424-88.064 88.064 39.424 88.064 88.064 88.064zm0-116.224c15.36 0 28.16 12.288 28.16 28.16s-12.288 28.16-28.16 28.16-28.16-12.288-28.16-28.16 12.288-28.16 28.16-28.16z",fill:"currentColor"}),y.createElementVNode("path",{d:"M887.296 159.744H136.704C96.768 159.744 64 192.512 64 232.448v559.104c0 39.936 32.768 72.704 72.704 72.704h750.592c39.936 0 72.704-32.768 72.704-72.704V232.448c0-39.936-32.768-72.704-72.704-72.704zm-748.544 71.68h748.544c0.512 0 0.512 0.512 0.512 0.512v346.624L778.24 469.504c-24.064-24.064-63.488-24.064-87.552 0L531.456 628.736 360.96 458.24c-24.064-24.064-63.488-24.064-87.552 0L135.68 596.48V232.448c0-0.512 0.512-0.512 1.024-0.512z",fill:"currentColor"})],-1)])])):(y.openBlock(),y.createElementBlock("img",{key:0,src:e.src,alt:e.alt,style:y.normalizeStyle(i.value),onLoad:s[0]||(s[0]=o=>r.value=!1),onError:s[1]||(s[1]=o=>r.value=!0)},null,44,Jw))],6))}}),o2=Ke(Kw,[["__scopeId","data-v-5e6ecdd7"]]);/**
335
+ * @license lucide-vue-next v0.563.0 - ISC
336
+ *
337
+ * This source code is licensed under the ISC license.
338
+ * See the LICENSE file in the root directory of this source tree.
339
+ */const Zw=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
340
+ * @license lucide-vue-next v0.563.0 - ISC
341
+ *
342
+ * This source code is licensed under the ISC license.
343
+ * See the LICENSE file in the root directory of this source tree.
344
+ */const Gf=e=>e==="";/**
345
+ * @license lucide-vue-next v0.563.0 - ISC
346
+ *
347
+ * This source code is licensed under the ISC license.
348
+ * See the LICENSE file in the root directory of this source tree.
349
+ */const eS=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
350
+ * @license lucide-vue-next v0.563.0 - ISC
351
+ *
352
+ * This source code is licensed under the ISC license.
353
+ * See the LICENSE file in the root directory of this source tree.
354
+ */const $f=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
355
+ * @license lucide-vue-next v0.563.0 - ISC
356
+ *
357
+ * This source code is licensed under the ISC license.
358
+ * See the LICENSE file in the root directory of this source tree.
359
+ */const tS=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase());/**
360
+ * @license lucide-vue-next v0.563.0 - ISC
361
+ *
362
+ * This source code is licensed under the ISC license.
363
+ * See the LICENSE file in the root directory of this source tree.
364
+ */const rS=e=>{const t=tS(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
365
+ * @license lucide-vue-next v0.563.0 - ISC
366
+ *
367
+ * This source code is licensed under the ISC license.
368
+ * See the LICENSE file in the root directory of this source tree.
369
+ */var Ki={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
370
+ * @license lucide-vue-next v0.563.0 - ISC
371
+ *
372
+ * This source code is licensed under the ISC license.
373
+ * See the LICENSE file in the root directory of this source tree.
374
+ */const nS=({name:e,iconNode:t,absoluteStrokeWidth:r,"absolute-stroke-width":n,strokeWidth:i,"stroke-width":a,size:s=Ki.width,color:o=Ki.stroke,...l},{slots:c})=>y.h("svg",{...Ki,...l,width:s,height:s,stroke:o,"stroke-width":Gf(r)||Gf(n)||r===!0||n===!0?Number(i||a||Ki["stroke-width"])*24/Number(s):i||a||Ki["stroke-width"],class:eS("lucide",l.class,...e?[`lucide-${$f(rS(e))}-icon`,`lucide-${$f(e)}`]:["lucide-icon"]),...!c.default&&!Zw(l)&&{"aria-hidden":"true"}},[...t.map(h=>y.h(...h)),...c.default?[c.default()]:[]]);/**
375
+ * @license lucide-vue-next v0.563.0 - ISC
376
+ *
377
+ * This source code is licensed under the ISC license.
378
+ * See the LICENSE file in the root directory of this source tree.
379
+ */const Je=(e,t)=>(r,{slots:n,attrs:i})=>y.h(nS,{...i,...r,iconNode:t,name:e},n);/**
380
+ * @license lucide-vue-next v0.563.0 - ISC
381
+ *
382
+ * This source code is licensed under the ISC license.
383
+ * See the LICENSE file in the root directory of this source tree.
384
+ */const iS=Je("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
385
+ * @license lucide-vue-next v0.563.0 - ISC
386
+ *
387
+ * This source code is licensed under the ISC license.
388
+ * See the LICENSE file in the root directory of this source tree.
389
+ */const aS=Je("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
390
+ * @license lucide-vue-next v0.563.0 - ISC
391
+ *
392
+ * This source code is licensed under the ISC license.
393
+ * See the LICENSE file in the root directory of this source tree.
394
+ */const sS=Je("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
395
+ * @license lucide-vue-next v0.563.0 - ISC
396
+ *
397
+ * This source code is licensed under the ISC license.
398
+ * See the LICENSE file in the root directory of this source tree.
399
+ */const uS=Je("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
400
+ * @license lucide-vue-next v0.563.0 - ISC
401
+ *
402
+ * This source code is licensed under the ISC license.
403
+ * See the LICENSE file in the root directory of this source tree.
404
+ */const oS=Je("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
405
+ * @license lucide-vue-next v0.563.0 - ISC
406
+ *
407
+ * This source code is licensed under the ISC license.
408
+ * See the LICENSE file in the root directory of this source tree.
409
+ */const Wf=Je("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
410
+ * @license lucide-vue-next v0.563.0 - ISC
411
+ *
412
+ * This source code is licensed under the ISC license.
413
+ * See the LICENSE file in the root directory of this source tree.
414
+ */const lS=Je("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
415
+ * @license lucide-vue-next v0.563.0 - ISC
416
+ *
417
+ * This source code is licensed under the ISC license.
418
+ * See the LICENSE file in the root directory of this source tree.
419
+ */const cS=Je("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/**
420
+ * @license lucide-vue-next v0.563.0 - ISC
421
+ *
422
+ * This source code is licensed under the ISC license.
423
+ * See the LICENSE file in the root directory of this source tree.
424
+ */const hS=Je("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);/**
425
+ * @license lucide-vue-next v0.563.0 - ISC
426
+ *
427
+ * This source code is licensed under the ISC license.
428
+ * See the LICENSE file in the root directory of this source tree.
429
+ */const fS=Je("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
430
+ * @license lucide-vue-next v0.563.0 - ISC
431
+ *
432
+ * This source code is licensed under the ISC license.
433
+ * See the LICENSE file in the root directory of this source tree.
434
+ */const dS=Je("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);/**
435
+ * @license lucide-vue-next v0.563.0 - ISC
436
+ *
437
+ * This source code is licensed under the ISC license.
438
+ * See the LICENSE file in the root directory of this source tree.
439
+ */const pS=Je("expand",[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]]);/**
440
+ * @license lucide-vue-next v0.563.0 - ISC
441
+ *
442
+ * This source code is licensed under the ISC license.
443
+ * See the LICENSE file in the root directory of this source tree.
444
+ */const mS=Je("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
445
+ * @license lucide-vue-next v0.563.0 - ISC
446
+ *
447
+ * This source code is licensed under the ISC license.
448
+ * See the LICENSE file in the root directory of this source tree.
449
+ */const gS=Je("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
450
+ * @license lucide-vue-next v0.563.0 - ISC
451
+ *
452
+ * This source code is licensed under the ISC license.
453
+ * See the LICENSE file in the root directory of this source tree.
454
+ */const bS=Je("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
455
+ * @license lucide-vue-next v0.563.0 - ISC
456
+ *
457
+ * This source code is licensed under the ISC license.
458
+ * See the LICENSE file in the root directory of this source tree.
459
+ */const xS=Je("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
460
+ * @license lucide-vue-next v0.563.0 - ISC
461
+ *
462
+ * This source code is licensed under the ISC license.
463
+ * See the LICENSE file in the root directory of this source tree.
464
+ */const yS=Je("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
465
+ * @license lucide-vue-next v0.563.0 - ISC
466
+ *
467
+ * This source code is licensed under the ISC license.
468
+ * See the LICENSE file in the root directory of this source tree.
469
+ */const vS=Je("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/**
470
+ * @license lucide-vue-next v0.563.0 - ISC
471
+ *
472
+ * This source code is licensed under the ISC license.
473
+ * See the LICENSE file in the root directory of this source tree.
474
+ */const ES=Je("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);/**
475
+ * @license lucide-vue-next v0.563.0 - ISC
476
+ *
477
+ * This source code is licensed under the ISC license.
478
+ * See the LICENSE file in the root directory of this source tree.
479
+ */const kS=Je("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]);/**
480
+ * @license lucide-vue-next v0.563.0 - ISC
481
+ *
482
+ * This source code is licensed under the ISC license.
483
+ * See the LICENSE file in the root directory of this source tree.
484
+ */const TS=Je("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
485
+ * @license lucide-vue-next v0.563.0 - ISC
486
+ *
487
+ * This source code is licensed under the ISC license.
488
+ * See the LICENSE file in the root directory of this source tree.
489
+ */const wS=Je("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
490
+ * @license lucide-vue-next v0.563.0 - ISC
491
+ *
492
+ * This source code is licensed under the ISC license.
493
+ * See the LICENSE file in the root directory of this source tree.
494
+ */const SS=Je("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
495
+ * @license lucide-vue-next v0.563.0 - ISC
496
+ *
497
+ * This source code is licensed under the ISC license.
498
+ * See the LICENSE file in the root directory of this source tree.
499
+ */const _S=Je("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
500
+ * @license lucide-vue-next v0.563.0 - ISC
501
+ *
502
+ * This source code is licensed under the ISC license.
503
+ * See the LICENSE file in the root directory of this source tree.
504
+ */const CS=Je("shrink",[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]]);/**
505
+ * @license lucide-vue-next v0.563.0 - ISC
506
+ *
507
+ * This source code is licensed under the ISC license.
508
+ * See the LICENSE file in the root directory of this source tree.
509
+ */const AS=Je("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/**
510
+ * @license lucide-vue-next v0.563.0 - ISC
511
+ *
512
+ * This source code is licensed under the ISC license.
513
+ * See the LICENSE file in the root directory of this source tree.
514
+ */const Yf=Je("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
515
+ * @license lucide-vue-next v0.563.0 - ISC
516
+ *
517
+ * This source code is licensed under the ISC license.
518
+ * See the LICENSE file in the root directory of this source tree.
519
+ */const Xf=Je("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
520
+ * @license lucide-vue-next v0.563.0 - ISC
521
+ *
522
+ * This source code is licensed under the ISC license.
523
+ * See the LICENSE file in the root directory of this source tree.
524
+ */const IS=Je("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
525
+ * @license lucide-vue-next v0.563.0 - ISC
526
+ *
527
+ * This source code is licensed under the ISC license.
528
+ * See the LICENSE file in the root directory of this source tree.
529
+ */const NS=Je("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),LS=y.defineComponent({__name:"Icon",props:{name:{},size:{default:16},strokeWidth:{default:2}},setup(e){const t={copy:fS,check:iS,close:Xf,x:Xf,"chevron-right":uS,"chevron-down":aS,"chevron-up":sS,"chevrons-up-down":oS,expand:pS,shrink:CS,maximize:ES,minimize:kS,"rotate-cw":_S,"rotate-ccw":SS,"zoom-in":IS,"zoom-out":NS,refresh:wS,download:dS,"external-link":mS,success:lS,error:Wf,"alert-circle":Wf,warning:Yf,"alert-triangle":Yf,info:xS,lightbulb:yS,code:hS,"code-2":cS,eye:gS,table:AS,quote:TS,image:bS,link:vS},r=e,n=y.computed(()=>t[r.name]);return(i,a)=>(y.openBlock(),y.createBlock(y.resolveDynamicComponent(n.value),{size:e.size,"stroke-width":e.strokeWidth,class:y.normalizeClass(["md-icon",`md-icon--${e.name}`])},null,8,["size","stroke-width","class"]))}}),St=Ke(LS,[["__scopeId","data-v-ab00bec7"]]),RS={class:"md-image-preview__header"},PS={class:"md-image-preview__title"},DS={class:"md-image-preview__body"},OS=["src","alt"],MS={class:"md-image-preview__footer"},BS={class:"md-image-preview__footer-content"},FS=["disabled"],HS={class:"md-image-preview__zoom"},zS=["disabled"],US=y.defineComponent({__name:"ImagePreview",props:{visible:{type:Boolean},src:{},title:{}},emits:["close"],setup(e,{emit:t}){const r=e,n=t,i=y.ref(1),a=y.ref(0),s=y.computed(()=>({transform:`scale(${i.value}) rotate(${a.value}deg)`,transition:"transform 0.2s ease"}));y.watch(()=>r.visible,E=>{E?(i.value=1,a.value=0,document.addEventListener("keydown",m)):document.removeEventListener("keydown",m)},{immediate:!0}),y.onUnmounted(()=>{document.removeEventListener("keydown",m)});function o(){n("close")}function l(){i.value<3&&(i.value=Math.min(3,i.value+.25))}function c(){i.value>.5&&(i.value=Math.max(.5,i.value-.25))}function h(){i.value=1,a.value=0}function f(){a.value=(a.value+90)%360}function g(E){E.preventDefault(),E.deltaY<0?l():c()}function m(E){E.key==="Escape"&&r.visible&&o()}return(E,w)=>(y.openBlock(),y.createBlock(y.Teleport,{to:"body"},[y.createVNode(y.Transition,{name:"md-preview"},{default:y.withCtx(()=>[e.visible?(y.openBlock(),y.createElementBlock("div",{key:0,class:"md-image-preview",onClick:y.withModifiers(o,["self"])},[y.createElementVNode("div",RS,[y.createElementVNode("span",PS,y.toDisplayString(e.title),1),y.createElementVNode("button",{class:"md-image-preview__close",onClick:o,title:"关闭"},[y.createVNode(St,{name:"x",size:20})])]),y.createElementVNode("div",DS,[y.createElementVNode("img",{src:e.src,alt:e.title,style:y.normalizeStyle(s.value),onWheel:g,draggable:"false"},null,44,OS)]),y.createElementVNode("div",MS,[y.createElementVNode("div",BS,[y.createElementVNode("button",{onClick:c,title:"缩小",disabled:i.value<=.5},[y.createVNode(St,{name:"zoom-out",size:18})],8,FS),y.createElementVNode("span",HS,y.toDisplayString(Math.round(i.value*100))+"%",1),y.createElementVNode("button",{onClick:l,title:"放大",disabled:i.value>=3},[y.createVNode(St,{name:"zoom-in",size:18})],8,zS),w[0]||(w[0]=y.createElementVNode("div",{class:"md-image-preview__divider"},null,-1)),y.createElementVNode("button",{onClick:h,title:"重置"},[y.createVNode(St,{name:"refresh",size:18})]),y.createElementVNode("button",{onClick:f,title:"旋转"},[y.createVNode(St,{name:"rotate-cw",size:18})])])])])):y.createCommentVNode("",!0)]),_:1})]))}}),l2=Ke(US,[["__scopeId","data-v-c2b5f9bf"]]),VS={class:"md-toast__content"},qS={class:"md-toast__icon"},jS={key:0,viewBox:"0 0 24 24",fill:"currentColor"},GS={key:1,viewBox:"0 0 24 24",fill:"currentColor"},$S={key:2,viewBox:"0 0 24 24",fill:"currentColor"},WS={key:3,viewBox:"0 0 24 24",fill:"currentColor"},YS={class:"md-toast__text"},XS=y.defineComponent({__name:"Toast",setup(e,{expose:t}){const r=y.ref(!1),n=y.ref(""),i=y.ref("info");let a=null;const s=y.computed(()=>`md-toast--${i.value}`);function o(c,h="info",f=3e3){a&&clearTimeout(a),n.value=c,i.value=h,r.value=!0,a=setTimeout(()=>{r.value=!1},f)}function l(){r.value=!1,a&&clearTimeout(a)}return t({show:o,hide:l}),(c,h)=>(y.openBlock(),y.createBlock(y.Teleport,{to:"body"},[y.createVNode(y.Transition,{name:"md-toast"},{default:y.withCtx(()=>[r.value?(y.openBlock(),y.createElementBlock("div",{key:0,class:y.normalizeClass(["md-toast",s.value])},[y.createElementVNode("div",VS,[y.createElementVNode("span",qS,[i.value==="success"?(y.openBlock(),y.createElementBlock("svg",jS,[...h[0]||(h[0]=[y.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"},null,-1)])])):i.value==="warning"?(y.openBlock(),y.createElementBlock("svg",GS,[...h[1]||(h[1]=[y.createElementVNode("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},null,-1)])])):i.value==="error"?(y.openBlock(),y.createElementBlock("svg",$S,[...h[2]||(h[2]=[y.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},null,-1)])])):(y.openBlock(),y.createElementBlock("svg",WS,[...h[3]||(h[3]=[y.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},null,-1)])]))]),y.createElementVNode("span",YS,y.toDisplayString(n.value),1)])],2)):y.createCommentVNode("",!0)]),_:1})]))}}),c2=Ke(XS,[["__scopeId","data-v-49ed3e1d"]]),JS=y.defineComponent({__name:"Collapsible",props:{isOpen:{type:Boolean,default:!1},duration:{default:250},keepDOM:{type:Boolean,default:!1},collapseHeight:{default:0}},emits:["motionEnd"],setup(e,{emit:t}){const r=e,n=t,i=y.ref(),a=y.ref(0),s=y.ref(!1),o=y.ref(r.isOpen),l=y.ref(!1);let c=null;y.onMounted(()=>{i.value&&(a.value=i.value.scrollHeight,c=new ResizeObserver(m=>{const E=m[0];E&&(a.value=E.target.scrollHeight)}),c.observe(i.value))}),y.onUnmounted(()=>{c==null||c.disconnect()});const h=y.computed(()=>({height:`${r.isOpen?a.value:r.collapseHeight}px`,transitionDuration:s.value?`${r.duration}ms`:"0ms"})),f=y.computed(()=>r.keepDOM&&l.value||r.collapseHeight>0?!0:o.value||r.isOpen);y.watch(()=>r.isOpen,(m,E)=>{m!==E&&(s.value=!0,m&&(o.value=!0),y.nextTick(()=>{i.value&&(a.value=i.value.scrollHeight)}))}),y.watch(f,m=>{m&&!l.value&&(l.value=!0)});function g(){s.value=!1,r.isOpen||(o.value=!1),n("motionEnd")}return(m,E)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-collapsible",{"md-collapsible--transitioning":s.value}]),style:y.normalizeStyle(h.value),onTransitionend:g},[y.createElementVNode("div",{ref_key:"contentRef",ref:i,class:"md-collapsible__content"},[f.value?y.renderSlot(m.$slots,"default",{key:0},void 0,!0):y.createCommentVNode("",!0)],512)],38))}}),h2=Ke(JS,[["__scopeId","data-v-28dd3c2f"]]),QS=["tabindex","aria-expanded","onKeydown"],KS={key:0,class:"md-collapse-section__icon"},ZS={class:"md-collapse-section__title"},e_={key:1,class:"md-collapse-section__extra"},t_={class:"md-collapse-section__content"},r_=y.defineComponent({__name:"CollapseSection",props:{title:{},defaultExpanded:{type:Boolean,default:!0},expanded:{type:Boolean},duration:{default:250},showIcon:{type:Boolean,default:!0},clickable:{type:Boolean,default:!0},keepDOM:{type:Boolean,default:!1},collapseHeight:{default:0},expandText:{default:"展开更多"}},emits:["update:expanded","change","motionEnd"],setup(e,{emit:t}){const r=e,n=t,i=y.ref(r.expanded??r.defaultExpanded);y.watch(()=>r.expanded,s=>{s!==void 0&&(i.value=s)});function a(){if(!r.clickable&&r.collapseHeight===0)return;const s=!i.value;r.expanded===void 0&&(i.value=s),n("update:expanded",s),n("change",s)}return(s,o)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-collapse-section",{"md-collapse-section--expanded":i.value}])},[y.createElementVNode("div",{class:y.normalizeClass(["md-collapse-section__header",{"md-collapse-section__header--clickable":e.clickable}]),role:"button",tabindex:e.clickable?0:-1,"aria-expanded":i.value,onClick:a,onKeydown:[y.withKeys(a,["enter"]),y.withKeys(y.withModifiers(a,["prevent"]),["space"])]},[e.showIcon?(y.openBlock(),y.createElementBlock("span",KS,[y.createVNode(St,{name:i.value?"chevron-down":"chevron-right",size:16},null,8,["name"])])):y.createCommentVNode("",!0),y.createElementVNode("div",ZS,[y.renderSlot(s.$slots,"header",{},()=>[y.createTextVNode(y.toDisplayString(e.title),1)],!0)]),s.$slots.extra?(y.openBlock(),y.createElementBlock("div",e_,[y.renderSlot(s.$slots,"extra",{},void 0,!0)])):y.createCommentVNode("",!0)],42,QS),y.createVNode(h2,{isOpen:i.value,duration:e.duration,keepDOM:e.keepDOM,collapseHeight:e.collapseHeight,onMotionEnd:o[0]||(o[0]=l=>s.$emit("motionEnd"))},{default:y.withCtx(()=>[y.createElementVNode("div",t_,[y.renderSlot(s.$slots,"default",{},void 0,!0)])]),_:3},8,["isOpen","duration","keepDOM","collapseHeight"]),e.collapseHeight>0&&!i.value?(y.openBlock(),y.createElementBlock("div",{key:0,class:"md-collapse-section__expand-btn",onClick:a},[y.createElementVNode("span",null,y.toDisplayString(e.expandText),1),y.createVNode(St,{name:"chevron-down",size:16})])):y.createCommentVNode("",!0)],2))}}),n_=Ke(r_,[["__scopeId","data-v-d488c87c"]]),i_={class:"md-tooltip__content"},a_={key:0,class:"md-tooltip__arrow"},s_=y.defineComponent({__name:"Tooltip",props:{content:{},position:{default:"top"},trigger:{default:"hover"},showArrow:{type:Boolean,default:!0},theme:{default:"dark"},mouseEnterDelay:{default:100},mouseLeaveDelay:{default:100},disabled:{type:Boolean,default:!1}},setup(e){const t=e,r=y.ref(),n=y.ref(),i=y.ref(!1),a=y.ref({top:0,left:0});let s=null,o=null;const l=y.computed(()=>({top:`${a.value.top}px`,left:`${a.value.left}px`}));function c(){if(!r.value||!n.value)return;const C=r.value.getBoundingClientRect(),T=n.value.getBoundingClientRect(),A=8;let N=0,H=0;switch(t.position){case"top":N=C.top+window.scrollY-T.height-A,H=C.left+window.scrollX+(C.width-T.width)/2;break;case"bottom":N=C.bottom+window.scrollY+A,H=C.left+window.scrollX+(C.width-T.width)/2;break;case"left":N=C.top+window.scrollY+(C.height-T.height)/2,H=C.left+window.scrollX-T.width-A;break;case"right":N=C.top+window.scrollY+(C.height-T.height)/2,H=C.right+window.scrollX+A;break}a.value={top:N,left:H}}function h(){t.disabled||(o&&(clearTimeout(o),o=null),s=setTimeout(()=>{i.value=!0},t.mouseEnterDelay))}function f(){s&&(clearTimeout(s),s=null),o=setTimeout(()=>{i.value=!1},t.mouseLeaveDelay)}function g(){(t.trigger==="hover"||t.trigger==="both")&&h()}function m(){(t.trigger==="hover"||t.trigger==="both")&&f()}function E(){(t.trigger==="focus"||t.trigger==="both")&&h()}function w(){(t.trigger==="focus"||t.trigger==="both")&&f()}return y.watch(i,C=>{C&&y.nextTick(c)}),y.onUnmounted(()=>{s&&clearTimeout(s),o&&clearTimeout(o)}),(C,T)=>(y.openBlock(),y.createElementBlock(y.Fragment,null,[y.createElementVNode("span",{ref_key:"triggerRef",ref:r,class:"md-tooltip-trigger",onMouseenter:g,onMouseleave:m,onFocus:E,onBlur:w},[y.renderSlot(C.$slots,"default",{},void 0,!0)],544),(y.openBlock(),y.createBlock(y.Teleport,{to:"body"},[y.createVNode(y.Transition,{name:"md-tooltip"},{default:y.withCtx(()=>[i.value?(y.openBlock(),y.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:n,class:y.normalizeClass(["md-tooltip",[`md-tooltip--${e.position}`,{"md-tooltip--dark":e.theme==="dark"}]]),style:y.normalizeStyle(l.value),role:"tooltip"},[y.createElementVNode("div",i_,y.toDisplayString(e.content),1),e.showArrow?(y.openBlock(),y.createElementBlock("div",a_)):y.createCommentVNode("",!0)],6)):y.createCommentVNode("",!0)]),_:1})]))],64))}}),f2=Ke(s_,[["__scopeId","data-v-49249e76"]]);function vi(e){if(!e)return"";if(typeof e=="string")return e;if(typeof e=="number")return String(e);if(Array.isArray(e))return e.map(vi).join("");if(e.children){if(typeof e.children=="string")return e.children;if(Array.isArray(e.children))return e.children.map(vi).join("");if(typeof e.children=="object"&&"default"in e.children){const t=e.children.default;if(typeof t=="function")return vi(t())}}return""}function qs(e){var r,n;if(!e)return"text";if(Array.isArray(e)){for(const i of e){const a=qs(i);if(a!=="text")return a}return"text"}const t=((r=e.props)==null?void 0:r.className)||((n=e.props)==null?void 0:n.class)||"";if(typeof t=="string"){const i=t.match(/language-(\w+)/);if(i)return i[1]}if(e.children&&Array.isArray(e.children))for(const i of e.children){const a=qs(i);if(a!=="text")return a}return"text"}const d2={js:"javascript",ts:"typescript",py:"python",rb:"ruby",sh:"bash",zsh:"bash",yml:"yaml",md:"markdown",text:"text",txt:"text"};function p2(e){const t=e.toLowerCase();return d2[t]||t}function m2(e){const t=e.split(`
530
+ `);for(;t.length&&!t[0].trim();)t.shift();for(;t.length&&!t[t.length-1].trim();)t.pop();return t.join(`
531
+ `)}async function za(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}let Lt=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function u_(e){return T0(e)}function T0(e){return Array.isArray(e)?o_(e):e instanceof RegExp?e:typeof e=="object"?l_(e):e}function o_(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=T0(e[r]);return t}function l_(e){let t={};for(let r in e)t[r]=T0(e[r]);return t}function g2(e,...t){return t.forEach(r=>{for(let n in r)e[n]=r[n]}),e}function b2(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?b2(e.substring(0,e.length-1)):e.substr(~t+1)}var Io=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ps=class{static hasCaptures(e){return e===null?!1:(Io.lastIndex=0,Io.test(e))}static replaceCaptures(e,t,r){return e.replace(Io,(n,i,a,s)=>{let o=r[parseInt(i||a,10)];if(o){let l=t.substring(o.start,o.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return n})}};function x2(e,t){return e<t?-1:e>t?1:0}function y2(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let i=0;i<r;i++){let a=x2(e[i],t[i]);if(a!==0)return a}return 0}return r-n}function Jf(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function v2(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var E2=class{constructor(e){ne(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},js=class{constructor(e,t,r){ne(this,"_cachedMatchRoot",new E2(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(f_(e),t)}static createFromParsedTheme(e,t){return p_(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,n=this._cachedMatchRoot.get(t).find(i=>c_(e.parent,i.parentScopes));return n?new k2(n.fontStyle,n.foreground,n.background):null}},No=class Ts{constructor(t,r){this.parent=t,this.scopeName=r}static push(t,r){for(const n of r)t=new Ts(t,n);return t}static from(...t){let r=null;for(let n=0;n<t.length;n++)r=new Ts(r,t[n]);return r}push(t){return new Ts(this,t)}getSegments(){let t=this;const r=[];for(;t;)r.push(t.scopeName),t=t.parent;return r.reverse(),r}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const r=[];let n=this;for(;n&&n!==t;)r.push(n.scopeName),n=n.parent;return n===t?r.reverse():void 0}};function c_(e,t){if(t.length===0)return!0;for(let r=0;r<t.length;r++){let n=t[r],i=!1;if(n===">"){if(r===t.length-1)return!1;n=t[++r],i=!0}for(;e&&!h_(e.scopeName,n);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function h_(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var k2=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}};function f_(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=0;for(let i=0,a=t.length;i<a;i++){let s=t[i];if(!s.settings)continue;let o;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),o=f.split(",")}else Array.isArray(s.scope)?o=s.scope:o=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let f=s.settings.fontStyle.split(" ");for(let g=0,m=f.length;g<m;g++)switch(f[g]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof s.settings.foreground=="string"&&Jf(s.settings.foreground)&&(c=s.settings.foreground);let h=null;typeof s.settings.background=="string"&&Jf(s.settings.background)&&(h=s.settings.background);for(let f=0,g=o.length;f<g;f++){let E=o[f].trim().split(" "),w=E[E.length-1],C=null;E.length>1&&(C=E.slice(0,E.length-1),C.reverse()),r[n++]=new d_(w,C,i,l,c,h)}}return r}var d_=class{constructor(e,t,r,n,i,a){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=i,this.background=a}},zt=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(zt||{});function p_(e,t){e.sort((l,c)=>{let h=x2(l.scope,c.scope);return h!==0||(h=y2(l.parentScopes,c.parentScopes),h!==0)?h:l.index-c.index});let r=0,n="#000000",i="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(r=l.fontStyle),l.foreground!==null&&(n=l.foreground),l.background!==null&&(i=l.background)}let a=new m_(t),s=new k2(r,a.getId(n),a.getId(i)),o=new b_(new ml(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let h=e[l];o.insert(0,h.scope,h.parentScopes,h.fontStyle,a.getId(h.foreground),a.getId(h.background))}return new js(a,s,o)}var m_=class{constructor(e){ne(this,"_isFrozen");ne(this,"_lastColorId");ne(this,"_id2color");ne(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,r=e.length;t<r;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},g_=Object.freeze([]),ml=class T2{constructor(t,r,n,i,a){ne(this,"scopeDepth");ne(this,"parentScopes");ne(this,"fontStyle");ne(this,"foreground");ne(this,"background");this.scopeDepth=t,this.parentScopes=r||g_,this.fontStyle=n,this.foreground=i,this.background=a}clone(){return new T2(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let r=[];for(let n=0,i=t.length;n<i;n++)r[n]=t[n].clone();return r}acceptOverwrite(t,r,n,i){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,r!==-1&&(this.fontStyle=r),n!==0&&(this.foreground=n),i!==0&&(this.background=i)}},b_=class gl{constructor(t,r=[],n={}){ne(this,"_rulesWithParentScopes");this._mainRule=t,this._children=n,this._rulesWithParentScopes=r}static _cmpBySpecificity(t,r){if(t.scopeDepth!==r.scopeDepth)return r.scopeDepth-t.scopeDepth;let n=0,i=0;for(;t.parentScopes[n]===">"&&n++,r.parentScopes[i]===">"&&i++,!(n>=t.parentScopes.length||i>=r.parentScopes.length);){const a=r.parentScopes[i].length-t.parentScopes[n].length;if(a!==0)return a;n++,i++}return r.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let n=t.indexOf("."),i,a;if(n===-1?(i=t,a=""):(i=t.substring(0,n),a=t.substring(n+1)),this._children.hasOwnProperty(i))return this._children[i].match(a)}const r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(gl._cmpBySpecificity),r}insert(t,r,n,i,a,s){if(r===""){this._doInsertHere(t,n,i,a,s);return}let o=r.indexOf("."),l,c;o===-1?(l=r,c=""):(l=r.substring(0,o),c=r.substring(o+1));let h;this._children.hasOwnProperty(l)?h=this._children[l]:(h=new gl(this._mainRule.clone(),ml.cloneArr(this._rulesWithParentScopes)),this._children[l]=h),h.insert(t+1,c,n,i,a,s)}_doInsertHere(t,r,n,i,a){if(r===null){this._mainRule.acceptOverwrite(t,n,i,a);return}for(let s=0,o=this._rulesWithParentScopes.length;s<o;s++){let l=this._rulesWithParentScopes[s];if(y2(l.parentScopes,r)===0){l.acceptOverwrite(t,n,i,a);return}}n===-1&&(n=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),a===0&&(a=this._mainRule.background),this._rulesWithParentScopes.push(new ml(t,r,n,i,a))}},_i=class xr{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const r=xr.getLanguageId(t),n=xr.getTokenType(t),i=xr.getFontStyle(t),a=xr.getForeground(t),s=xr.getBackground(t);console.log({languageId:r,tokenType:n,fontStyle:i,foreground:a,background:s})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,r,n,i,a,s,o){let l=xr.getLanguageId(t),c=xr.getTokenType(t),h=xr.containsBalancedBrackets(t)?1:0,f=xr.getFontStyle(t),g=xr.getForeground(t),m=xr.getBackground(t);return r!==0&&(l=r),n!==8&&(c=n),i!==null&&(h=i?1:0),a!==-1&&(f=a),s!==0&&(g=s),o!==0&&(m=o),(l<<0|c<<8|h<<10|f<<11|g<<15|m<<24)>>>0}};function Gs(e,t){const r=[],n=x_(e);let i=n.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let c=s();if(r.push({matcher:c,priority:l}),i!==",")break;i=n.next()}return r;function a(){if(i==="-"){i=n.next();const l=a();return c=>!!l&&!l(c)}if(i==="("){i=n.next();const l=o();return i===")"&&(i=n.next()),l}if(Qf(i)){const l=[];do l.push(i),i=n.next();while(Qf(i));return c=>t(l,c)}return null}function s(){const l=[];let c=a();for(;c;)l.push(c),c=a();return h=>l.every(f=>f(h))}function o(){const l=[];let c=s();for(;c&&(l.push(c),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");c=s()}return h=>l.some(f=>f(h))}}function Qf(e){return!!e&&!!e.match(/[\w\.:]+/)}function x_(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,r=t.exec(e);return{next:()=>{if(!r)return null;const n=r[0];return r=t.exec(e),n}}}function w2(e){typeof e.dispose=="function"&&e.dispose()}var wa=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},y_=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},v_=class{constructor(){ne(this,"_references",[]);ne(this,"_seenReferenceKeys",new Set);ne(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},E_=class{constructor(e,t){ne(this,"seenFullScopeRequests",new Set);ne(this,"seenPartialScopeRequests",new Set);ne(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new wa(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new v_;for(const r of e)k_(r,this.initialScopeName,this.repo,t);for(const r of t.references)if(r instanceof wa){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}};function k_(e,t,r,n){const i=r.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const a=r.lookup(t);e instanceof wa?ws({baseGrammar:a,selfGrammar:i},n):bl(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},n);const s=r.injections(e.scopeName);if(s)for(const o of s)n.add(new wa(o))}function bl(e,t,r){if(t.repository&&t.repository[e]){const n=t.repository[e];$s([n],t,r)}}function ws(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&$s(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&$s(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function $s(e,t,r){for(const n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const i=n.repository?g2({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&$s(n.patterns,{...t,repository:i},r);const a=n.include;if(!a)continue;const s=S2(a);switch(s.kind){case 0:ws({...t,selfGrammar:t.baseGrammar},r);break;case 1:ws(t,r);break;case 2:bl(s.ruleName,{...t,repository:i},r);break;case 3:case 4:const o=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){const l={baseGrammar:t.baseGrammar,selfGrammar:o,repository:i};s.kind===4?bl(s.ruleName,l,r):ws(l,r)}else s.kind===4?r.add(new y_(s.scopeName,s.ruleName)):r.add(new wa(s.scopeName));break}}}var T_=class{constructor(){ne(this,"kind",0)}},w_=class{constructor(){ne(this,"kind",1)}},S_=class{constructor(e){ne(this,"kind",2);this.ruleName=e}},__=class{constructor(e){ne(this,"kind",3);this.scopeName=e}},C_=class{constructor(e,t){ne(this,"kind",4);this.scopeName=e,this.ruleName=t}};function S2(e){if(e==="$base")return new T_;if(e==="$self")return new w_;const t=e.indexOf("#");if(t===-1)return new __(e);if(t===0)return new S_(e.substring(1));{const r=e.substring(0,t),n=e.substring(t+1);return new C_(r,n)}}var A_=/\\(\d+)/,Kf=/\\(\d+)/g,I_=-1,_2=-2;var Ua=class{constructor(e,t,r,n){ne(this,"$location");ne(this,"id");ne(this,"_nameIsCapturing");ne(this,"_name");ne(this,"_contentNameIsCapturing");ne(this,"_contentName");this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=ps.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=ps.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${b2(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:ps.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ps.replaceCaptures(this._contentName,e,t)}},N_=class extends Ua{constructor(t,r,n,i,a){super(t,r,n,i);ne(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(t,r){throw new Error("Not supported!")}compile(t,r){throw new Error("Not supported!")}compileAG(t,r,n,i){throw new Error("Not supported!")}},L_=class extends Ua{constructor(t,r,n,i,a){super(t,r,n,null);ne(this,"_match");ne(this,"captures");ne(this,"_cachedCompiledPatterns");this._match=new Sa(i,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,r){r.push(this._match)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t).compileAG(t,n,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _a,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Zf=class extends Ua{constructor(t,r,n,i,a){super(t,r,n,i);ne(this,"hasMissingPatterns");ne(this,"patterns");ne(this,"_cachedCompiledPatterns");this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,r){for(const n of this.patterns)t.getRule(n).collectPatterns(t,r)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t).compileAG(t,n,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _a,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},xl=class extends Ua{constructor(t,r,n,i,a,s,o,l,c,h){super(t,r,n,i);ne(this,"_begin");ne(this,"beginCaptures");ne(this,"_end");ne(this,"endHasBackReferences");ne(this,"endCaptures");ne(this,"applyEndPatternLast");ne(this,"hasMissingPatterns");ne(this,"patterns");ne(this,"_cachedCompiledPatterns");this._begin=new Sa(a,this.id),this.beginCaptures=s,this._end=new Sa(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=h.patterns,this.hasMissingPatterns=h.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,r){return this._end.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t,r).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t,r).compileAG(t,n,i)}_getCachedCompiledPatterns(t,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _a;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}},Ws=class extends Ua{constructor(t,r,n,i,a,s,o,l,c){super(t,r,n,i);ne(this,"_begin");ne(this,"beginCaptures");ne(this,"whileCaptures");ne(this,"_while");ne(this,"whileHasBackReferences");ne(this,"hasMissingPatterns");ne(this,"patterns");ne(this,"_cachedCompiledPatterns");ne(this,"_cachedCompiledWhilePatterns");this._begin=new Sa(a,this.id),this.beginCaptures=s,this.whileCaptures=l,this._while=new Sa(o,_2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,r){return this._while.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t).compileAG(t,n,i)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _a;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,r){return this._getCachedCompiledWhilePatterns(t,r).compile(t)}compileWhileAG(t,r,n,i){return this._getCachedCompiledWhilePatterns(t,r).compileAG(t,n,i)}_getCachedCompiledWhilePatterns(t,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new _a,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}},C2=class Bt{static createCaptureRule(t,r,n,i,a){return t.registerRule(s=>new N_(r,s,n,i,a))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(i=>{if(t.id=i,t.match)return new L_(t.$vscodeTextmateLocation,t.id,t.name,t.match,Bt._compileCaptures(t.captures,r,n));if(typeof t.begin>"u"){t.repository&&(n=g2({},n,t.repository));let a=t.patterns;return typeof a>"u"&&t.include&&(a=[{include:t.include}]),new Zf(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Bt._compilePatterns(a,r,n))}return t.while?new Ws(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Bt._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,Bt._compileCaptures(t.whileCaptures||t.captures,r,n),Bt._compilePatterns(t.patterns,r,n)):new xl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Bt._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,Bt._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,Bt._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){let i=[];if(t){let a=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);o>a&&(a=o)}for(let s=0;s<=a;s++)i[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);let l=0;t[s].patterns&&(l=Bt.getCompiledRuleId(t[s],r,n)),i[o]=Bt.createCaptureRule(r,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,l)}}return i}static _compilePatterns(t,r,n){let i=[];if(t)for(let a=0,s=t.length;a<s;a++){const o=t[a];let l=-1;if(o.include){const c=S2(o.include);switch(c.kind){case 0:case 1:l=Bt.getCompiledRuleId(n[o.include],r,n);break;case 2:let h=n[c.ruleName];h&&(l=Bt.getCompiledRuleId(h,r,n));break;case 3:case 4:const f=c.scopeName,g=c.kind===4?c.ruleName:null,m=r.getExternalGrammar(f,n);if(m)if(g){let E=m.repository[g];E&&(l=Bt.getCompiledRuleId(E,r,m.repository))}else l=Bt.getCompiledRuleId(m.repository.$self,r,m.repository);break}}else l=Bt.getCompiledRuleId(o,r,n);if(l!==-1){const c=r.getRule(l);let h=!1;if((c instanceof Zf||c instanceof xl||c instanceof Ws)&&c.hasMissingPatterns&&c.patterns.length===0&&(h=!0),h)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},Sa=class A2{constructor(t,r){ne(this,"source");ne(this,"ruleId");ne(this,"hasAnchor");ne(this,"hasBackReferences");ne(this,"_anchorCache");if(t&&typeof t=="string"){const n=t.length;let i=0,a=[],s=!1;for(let o=0;o<n;o++)if(t.charAt(o)==="\\"&&o+1<n){const c=t.charAt(o+1);c==="z"?(a.push(t.substring(i,o)),a.push("$(?!\\n)(?<!\\n)"),i=o+2):(c==="A"||c==="G")&&(s=!0),o++}this.hasAnchor=s,i===0?this.source=t:(a.push(t.substring(i,n)),this.source=a.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=r,typeof this.source=="string"?this.hasBackReferences=A_.test(this.source):this.hasBackReferences=!1}clone(){return new A2(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,r){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let n=r.map(i=>t.substring(i.start,i.end));return Kf.lastIndex=0,this.source.replace(Kf,(i,a)=>v2(n[parseInt(a,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],r=[],n=[],i=[],a,s,o,l;for(a=0,s=this.source.length;a<s;a++)o=this.source.charAt(a),t[a]=o,r[a]=o,n[a]=o,i[a]=o,o==="\\"&&a+1<s&&(l=this.source.charAt(a+1),l==="A"?(t[a+1]="￿",r[a+1]="￿",n[a+1]="A",i[a+1]="A"):l==="G"?(t[a+1]="￿",r[a+1]="G",n[a+1]="￿",i[a+1]="G"):(t[a+1]=l,r[a+1]=l,n[a+1]=l,i[a+1]=l),a++);return{A0_G0:t.join(""),A0_G1:r.join(""),A1_G0:n.join(""),A1_G1:i.join("")}}resolveAnchors(t,r){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?r?this._anchorCache.A1_G1:this._anchorCache.A1_G0:r?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},_a=class{constructor(){ne(this,"_items");ne(this,"_hasAnchors");ne(this,"_cached");ne(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(r=>r.source);this._cached=new ed(e,t,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,t,r){return this._hasAnchors?t?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,r){let n=this._items.map(i=>i.resolveAnchors(t,r));return new ed(e,n,this._items.map(i=>i.ruleId))}},ed=class{constructor(e,t,r){ne(this,"scanner");this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,r=this.rules.length;t<r;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
532
+ `)}findNextMatchSync(e,t,r){const n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},Lo=class{constructor(e,t){this.languageId=e,this.tokenType=t}},ln,R_=(ln=class{constructor(t,r){ne(this,"_defaultAttributes");ne(this,"_embeddedLanguagesMatcher");ne(this,"_getBasicScopeAttributes",new E2(t=>{const r=this._scopeToLanguage(t),n=this._toStandardTokenType(t);return new Lo(r,n)}));this._defaultAttributes=new Lo(t,8),this._embeddedLanguagesMatcher=new P_(Object.entries(r||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?ln._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const r=t.match(ln.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},ne(ln,"_NULL_SCOPE_METADATA",new Lo(0,0)),ne(ln,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),ln),P_=class{constructor(e){ne(this,"values");ne(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([r,n])=>v2(r));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var td=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function I2(e,t,r,n,i,a,s,o){const l=t.content.length;let c=!1,h=-1;if(s){const m=D_(e,t,r,n,i,a);i=m.stack,n=m.linePos,r=m.isFirstLine,h=m.anchorPosition}const f=Date.now();for(;!c;){if(o!==0&&Date.now()-f>o)return new td(i,!0);g()}return new td(i,!1);function g(){const m=O_(e,t,r,n,i,h);if(!m){a.produce(i,l),c=!0;return}const E=m.captureIndices,w=m.matchedRuleId,C=E&&E.length>0?E[0].end>n:!1;if(w===I_){const T=i.getRule(e);a.produce(i,E[0].start),i=i.withContentNameScopesList(i.nameScopesList),na(e,t,r,i,a,T.endCaptures,E),a.produce(i,E[0].end);const A=i;if(i=i.parent,h=A.getAnchorPos(),!C&&A.getEnterPos()===n){i=A,a.produce(i,l),c=!0;return}}else{const T=e.getRule(w);a.produce(i,E[0].start);const A=i,N=T.getName(t.content,E),H=i.contentNameScopesList.pushAttributed(N,e);if(i=i.push(w,n,h,E[0].end===l,null,H,H),T instanceof xl){const P=T;na(e,t,r,i,a,P.beginCaptures,E),a.produce(i,E[0].end),h=E[0].end;const b=P.getContentName(t.content,E),R=H.pushAttributed(b,e);if(i=i.withContentNameScopesList(R),P.endHasBackReferences&&(i=i.withEndRule(P.getEndWithResolvedBackReferences(t.content,E))),!C&&A.hasSameRuleAs(i)){i=i.pop(),a.produce(i,l),c=!0;return}}else if(T instanceof Ws){const P=T;na(e,t,r,i,a,P.beginCaptures,E),a.produce(i,E[0].end),h=E[0].end;const b=P.getContentName(t.content,E),R=H.pushAttributed(b,e);if(i=i.withContentNameScopesList(R),P.whileHasBackReferences&&(i=i.withEndRule(P.getWhileWithResolvedBackReferences(t.content,E))),!C&&A.hasSameRuleAs(i)){i=i.pop(),a.produce(i,l),c=!0;return}}else if(na(e,t,r,i,a,T.captures,E),a.produce(i,E[0].end),i=i.pop(),!C){i=i.safePop(),a.produce(i,l),c=!0;return}}E[0].end>n&&(n=E[0].end,r=!1)}}function D_(e,t,r,n,i,a){let s=i.beginRuleCapturedEOL?0:-1;const o=[];for(let l=i;l;l=l.pop()){const c=l.getRule(e);c instanceof Ws&&o.push({rule:c,stack:l})}for(let l=o.pop();l;l=o.pop()){const{ruleScanner:c,findOptions:h}=F_(l.rule,e,l.stack.endRule,r,n===s),f=c.findNextMatchSync(t,n,h);if(f){if(f.ruleId!==_2){i=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(a.produce(l.stack,f.captureIndices[0].start),na(e,t,r,l.stack,a,l.rule.whileCaptures,f.captureIndices),a.produce(l.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>n&&(n=f.captureIndices[0].end,r=!1))}else{i=l.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:s,isFirstLine:r}}function O_(e,t,r,n,i,a){const s=M_(e,t,r,n,i,a),o=e.getInjections();if(o.length===0)return s;const l=B_(o,e,t,r,n,i,a);if(!l)return s;if(!s)return l;const c=s.captureIndices[0].start,h=l.captureIndices[0].start;return h<c||l.priorityMatch&&h===c?l:s}function M_(e,t,r,n,i,a){const s=i.getRule(e),{ruleScanner:o,findOptions:l}=N2(s,e,i.endRule,r,n===a),c=o.findNextMatchSync(t,n,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function B_(e,t,r,n,i,a,s){let o=Number.MAX_VALUE,l=null,c,h=0;const f=a.contentNameScopesList.getScopeNames();for(let g=0,m=e.length;g<m;g++){const E=e[g];if(!E.matcher(f))continue;const w=t.getRule(E.ruleId),{ruleScanner:C,findOptions:T}=N2(w,t,null,n,i===s),A=C.findNextMatchSync(r,i,T);if(!A)continue;const N=A.captureIndices[0].start;if(!(N>=o)&&(o=N,l=A.captureIndices,c=A.ruleId,h=E.priority,o===i))break}return l?{priorityMatch:h===-1,captureIndices:l,matchedRuleId:c}:null}function N2(e,t,r,n,i){return{ruleScanner:e.compileAG(t,r,n,i),findOptions:0}}function F_(e,t,r,n,i){return{ruleScanner:e.compileWhileAG(t,r,n,i),findOptions:0}}function na(e,t,r,n,i,a,s){if(a.length===0)return;const o=t.content,l=Math.min(a.length,s.length),c=[],h=s[0].end;for(let f=0;f<l;f++){const g=a[f];if(g===null)continue;const m=s[f];if(m.length===0)continue;if(m.start>h)break;for(;c.length>0&&c[c.length-1].endPos<=m.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,m.start):i.produce(n,m.start),g.retokenizeCapturedWithRuleId){const w=g.getName(o,s),C=n.contentNameScopesList.pushAttributed(w,e),T=g.getContentName(o,s),A=C.pushAttributed(T,e),N=n.push(g.retokenizeCapturedWithRuleId,m.start,-1,!1,null,C,A),H=e.createOnigString(o.substring(0,m.end));I2(e,H,r&&m.start===0,m.start,N,i,!1,0),w2(H);continue}const E=g.getName(o,s);if(E!==null){const C=(c.length>0?c[c.length-1].scopes:n.contentNameScopesList).pushAttributed(E,e);c.push(new H_(C,m.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var H_=class{constructor(e,t){ne(this,"scopes");ne(this,"endPos");this.scopes=e,this.endPos=t}};function z_(e,t,r,n,i,a,s,o){return new V_(e,t,r,n,i,a,s,o)}function rd(e,t,r,n,i){const a=Gs(t,Ys),s=C2.getCompiledRuleId(r,n,i.repository);for(const o of a)e.push({debugSelector:t,matcher:o.matcher,ruleId:s,grammar:i,priority:o.priority})}function Ys(e,t){if(t.length<e.length)return!1;let r=0;return e.every(n=>{for(let i=r;i<t.length;i++)if(U_(t[i],n))return r=i+1,!0;return!1})}function U_(e,t){if(!e)return!1;if(e===t)return!0;const r=t.length;return e.length>r&&e.substr(0,r)===t&&e[r]==="."}var V_=class{constructor(e,t,r,n,i,a,s,o){ne(this,"_rootId");ne(this,"_lastRuleId");ne(this,"_ruleId2desc");ne(this,"_includedGrammars");ne(this,"_grammarRepository");ne(this,"_grammar");ne(this,"_injections");ne(this,"_basicScopeAttributesProvider");ne(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=o,this._basicScopeAttributesProvider=new R_(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=nd(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const l of Object.keys(i)){const c=Gs(l,Ys);for(const h of c)this._tokenTypeMatchers.push({matcher:h.matcher,type:i[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},t=[],r=this._rootScopeName,n=e.lookup(r);if(n){const i=n.injections;if(i)for(let s in i)rd(t,s,i[s],this,n);const a=this._grammarRepository.injections(r);a&&a.forEach(s=>{const o=this.getExternalGrammar(s);if(o){const l=o.injectionSelector;l&&rd(t,l,o,this,o)}})}return t.sort((i,a)=>i.priority-a.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=nd(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,r=0){const n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t,r=0){const n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){this._rootId===-1&&(this._rootId=C2.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===yl.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),h=this.themeProvider.getDefaults(),f=_i.set(0,c.languageId,c.tokenType,null,h.fontStyle,h.foregroundId,h.backgroundId),g=this.getRule(this._rootId).getName(null,null);let m;g?m=ma.createRootAndLookUpScopeName(g,f,this):m=ma.createRoot("unknown",f),t=new yl(null,this._rootId,-1,-1,!1,null,m,m)}else i=!1,t.reset();e=e+`
533
+ `;const a=this.createOnigString(e),s=a.content.length,o=new j_(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=I2(this,a,i,0,t,o,!0,n);return w2(a),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function nd(e,t){return e=u_(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var ma=class zr{constructor(t,r,n){this.parent=t,this.scopePath=r,this.tokenAttributes=n}static fromExtension(t,r){let n=t,i=(t==null?void 0:t.scopePath)??null;for(const a of r)i=No.push(i,a.scopeNames),n=new zr(n,i,a.encodedTokenAttributes);return n}static createRoot(t,r){return new zr(null,new No(null,t),r)}static createRootAndLookUpScopeName(t,r,n){const i=n.getMetadataForScope(t),a=new No(null,t),s=n.themeProvider.themeMatch(a),o=zr.mergeAttributes(r,i,s);return new zr(null,a,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return zr.equals(this,t)}static equals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.scopeName!==r.scopeName||t.tokenAttributes!==r.tokenAttributes)return!1;t=t.parent,r=r.parent}while(!0)}static mergeAttributes(t,r,n){let i=-1,a=0,s=0;return n!==null&&(i=n.fontStyle,a=n.foregroundId,s=n.backgroundId),_i.set(t,r.languageId,r.tokenType,null,i,a,s)}pushAttributed(t,r){if(t===null)return this;if(t.indexOf(" ")===-1)return zr._pushAttributed(this,t,r);const n=t.split(/ /g);let i=this;for(const a of n)i=zr._pushAttributed(i,a,r);return i}static _pushAttributed(t,r,n){const i=n.getMetadataForScope(r),a=t.scopePath.push(r),s=n.themeProvider.themeMatch(a),o=zr.mergeAttributes(t.tokenAttributes,i,s);return new zr(t,a,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var i;const r=[];let n=this;for(;n&&n!==t;)r.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(((i=n.parent)==null?void 0:i.scopePath)??null)}),n=n.parent;return n===t?r.reverse():void 0}},Er,yl=(Er=class{constructor(t,r,n,i,a,s,o,l){ne(this,"_stackElementBrand");ne(this,"_enterPos");ne(this,"_anchorPos");ne(this,"depth");this.parent=t,this.ruleId=r,this.beginRuleCapturedEOL=a,this.endRule=s,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=i}equals(t){return t===null?!1:Er._equals(this,t)}static _equals(t,r){return t===r?!0:this._structuralEquals(t,r)?ma.equals(t.contentNameScopesList,r.contentNameScopesList):!1}static _structuralEquals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.depth!==r.depth||t.ruleId!==r.ruleId||t.endRule!==r.endRule)return!1;t=t.parent,r=r.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){Er._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,r,n,i,a,s,o){return new Er(this,t,r,n,i,a,s,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,r){var n,i;return this.parent&&(r=this.parent._writeString(t,r)),t[r++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(i=this.contentNameScopesList)==null?void 0:i.toString()})`,r}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new Er(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let r=this;for(;r&&r._enterPos===t._enterPos;){if(r.ruleId===t.ruleId)return!0;r=r.parent}return!1}toStateStackFrame(){var t,r,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((r=this.nameScopesList)==null?void 0:r.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,r){const n=ma.fromExtension((t==null?void 0:t.nameScopesList)??null,r.nameScopesList);return new Er(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,ma.fromExtension(n,r.contentNameScopesList))}},ne(Er,"NULL",new Er(null,0,0,0,!1,null,null,null)),Er),q_=class{constructor(e,t){ne(this,"balancedBracketScopes");ne(this,"unbalancedBracketScopes");ne(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Gs(r,Ys).map(n=>n.matcher)),this.unbalancedBracketScopes=t.flatMap(r=>Gs(r,Ys).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},j_=class{constructor(e,t,r,n){ne(this,"_emitBinaryTokens");ne(this,"_lineText");ne(this,"_tokens");ne(this,"_binaryTokens");ne(this,"_lastTokenEndIndex");ne(this,"_tokenTypeOverrides");this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let i=(e==null?void 0:e.tokenAttributes)??0,a=!1;if((n=this.balancedBracketSelectors)!=null&&n.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=(e==null?void 0:e.getScopeNames())??[];for(const o of this._tokenTypeOverrides)o.matcher(s)&&(i=_i.set(i,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(s))}if(a&&(i=_i.set(i,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=t;return}const r=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let n=0,i=this._binaryTokens.length;n<i;n++)r[n]=this._binaryTokens[n];return r}},G_=class{constructor(e,t){ne(this,"_grammars",new Map);ne(this,"_rawGrammars",new Map);ne(this,"_injectionGrammars",new Map);ne(this,"_theme");this._onigLib=t,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,r,n,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,z_(e,a,t,r,n,i,this,this._onigLib))}return this._grammars.get(e)}},$_=class{constructor(t){ne(this,"_options");ne(this,"_syncRegistry");ne(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new G_(js.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,r){this._syncRegistry.setTheme(js.createFromRawTheme(t,r))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,r,n){return this.loadGrammarWithConfiguration(t,r,{embeddedLanguages:n})}loadGrammarWithConfiguration(t,r,n){return this._loadGrammar(t,r,n.embeddedLanguages,n.tokenTypes,new q_(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,r,n,i,a){const s=new E_(this._syncRegistry,t);for(;s.Q.length>0;)s.Q.map(o=>this._loadSingleGrammar(o.scopeName)),s.processQueue();return this._grammarForScopeName(t,r,n,i,a)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const r=this._options.loadGrammar(t);if(r){const n=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(r,n)}}addGrammar(t,r=[],n=0,i=null){return this._syncRegistry.addGrammar(t,r),this._grammarForScopeName(t.scopeName,n,i)}_grammarForScopeName(t,r=0,n=null,i=null,a=null){return this._syncRegistry.grammarForScopeName(t,r,n,i,a)}},vl=yl.NULL;const W_=/^>|^->|<!--|-->|--!>|<!-$/g,Y_=[">"],X_=["<",">"];function J_(e,t,r,n){return n.settings.bogusComments?"<?"+xi(e.value,Object.assign({},n.settings.characterReferences,{subset:Y_}))+">":"<!--"+e.value.replace(W_,i)+"-->";function i(a){return xi(a,Object.assign({},n.settings.characterReferences,{subset:X_}))}}function Q_(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}const At=R2(1),L2=R2(-1),K_=[];function R2(e){return t;function t(r,n,i){const a=r?r.children:K_;let s=(n||0)+e,o=a[s];if(!i)for(;o&&su(o);)s+=e,o=a[s];return o}}const Z_={}.hasOwnProperty;function P2(e){return t;function t(r,n,i){return Z_.call(e,r.tagName)&&e[r.tagName](r,n,i)}}const w0=P2({body:tC,caption:Ro,colgroup:Ro,dd:aC,dt:iC,head:Ro,html:eC,li:nC,optgroup:sC,option:uC,p:rC,rp:id,rt:id,tbody:lC,td:ad,tfoot:cC,th:ad,thead:oC,tr:hC});function Ro(e,t,r){const n=At(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&su(n.value.charAt(0)))}function eC(e,t,r){const n=At(r,t);return!n||n.type!=="comment"}function tC(e,t,r){const n=At(r,t);return!n||n.type!=="comment"}function rC(e,t,r){const n=At(r,t);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function nC(e,t,r){const n=At(r,t);return!n||n.type==="element"&&n.tagName==="li"}function iC(e,t,r){const n=At(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function aC(e,t,r){const n=At(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function id(e,t,r){const n=At(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function sC(e,t,r){const n=At(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function uC(e,t,r){const n=At(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function oC(e,t,r){const n=At(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function lC(e,t,r){const n=At(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function cC(e,t,r){return!At(r,t)}function hC(e,t,r){const n=At(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function ad(e,t,r){const n=At(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const fC=P2({body:mC,colgroup:gC,head:pC,html:dC,tbody:bC});function dC(e){const t=At(e,-1);return!t||t.type!=="comment"}function pC(e){const t=new Set;for(const n of e.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(t.has(n.tagName))return!1;t.add(n.tagName)}const r=e.children[0];return!r||r.type==="element"}function mC(e){const t=At(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&su(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function gC(e,t,r){const n=L2(r,t),i=At(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&w0(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function bC(e,t,r){const n=L2(r,t),i=At(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&w0(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const ms={name:[[`
534
+ \f\r &/=>`.split(""),`
535
+ \f\r "&'/=>\``.split("")],[`\0
536
+ \f\r "&'/<=>`.split(""),`\0
537
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
538
+ \f\r &>`.split(""),`\0
539
+ \f\r "&'<=>\``.split("")],[`\0
540
+ \f\r "&'<=>\``.split(""),`\0
541
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function xC(e,t,r,n){const i=n.schema,a=i.space==="svg"?!1:n.settings.omitOptionalTags;let s=i.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase());const o=[];let l;i.space==="html"&&e.tagName==="svg"&&(n.schema=Jr);const c=yC(n,e.properties),h=n.all(i.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=i,h&&(s=!1),(c||!a||!fC(e,t,r))&&(o.push("<",e.tagName,c?" "+c:""),s&&(i.space==="svg"||n.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!n.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(h),!s&&(!a||!w0(e,t,r))&&o.push("</"+e.tagName+">"),o.join("")}function yC(e,t){const r=[];let n=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const a=vC(e,i,t[i]);a&&r.push(a)}}for(;++n<r.length;){const a=e.settings.tightAttributes?r[n].charAt(r[n].length-1):void 0;n!==r.length-1&&a!=='"'&&a!=="'"&&(r[n]+=" ")}return r.join("")}function vC(e,t,r){const n=Na(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,a=e.settings.allowDangerousCharacters?0:1;let s=e.quote,o;if(n.overloadedBoolean&&(r===n.attribute||r==="")?r=!0:(n.boolean||n.overloadedBoolean)&&(typeof r!="string"||r===n.attribute||r==="")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";const l=xi(n.attribute,Object.assign({},e.settings.characterReferences,{subset:ms.name[i][a]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?_l:Al)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?l:(e.settings.preferUnquoted&&(o=xi(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ms.unquoted[i][a]}))),o!==r&&(e.settings.quoteSmart&&Ei(r,s)>Ei(r,e.alternative)&&(s=e.alternative),o=s+xi(r,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?ms.single:ms.double)[i][a],attribute:!0}))+s),l+(o&&"="+o))}const EC=["<","&"];function D2(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:xi(e.value,Object.assign({},n.settings.characterReferences,{subset:EC}))}function kC(e,t,r,n){return n.settings.allowDangerousHtml?e.value:D2(e,t,r,n)}function TC(e,t,r,n){return n.all(e)}const wC=ou("type",{invalid:SC,unknown:_C,handlers:{comment:J_,doctype:Q_,element:xC,raw:kC,root:TC,text:D2}});function SC(e){throw new Error("Expected node, not `"+e+"`")}function _C(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const CC={},AC={},IC=[];function NC(e,t){const r=t||CC,n=r.quote||'"',i=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:LC,all:RC,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||Im,characterReferences:r.characterReferences||AC,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Jr:Ai,quote:n,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function LC(e,t,r){return wC(e,t,r,this)}function RC(e){const t=[],r=e&&e.children||IC;let n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function Xs(e,t){const r=typeof e=="string"?{}:{...e.colorReplacements},n=typeof e=="string"?e:e.name;for(const[i,a]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof a=="string"?r[i]=a:i===n&&Object.assign(r,a);return r}function On(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function PC(e){return Array.isArray(e)?e:[e]}async function O2(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function S0(e){return!e||["plaintext","txt","text","plain"].includes(e)}function DC(e){return e==="ansi"||S0(e)}function _0(e){return e==="none"}function OC(e){return _0(e)}function M2(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(/\s+/g);for(const i of r)i&&!e.properties.class.includes(i)&&e.properties.class.push(i);return e}function Nu(e,t=!1){var a;if(e.length===0)return[["",0]];const r=e.split(/(\r?\n)/g);let n=0;const i=[];for(let s=0;s<r.length;s+=2){const o=t?r[s]+(r[s+1]||""):r[s];i.push([o,n]),n+=r[s].length,n+=((a=r[s+1])==null?void 0:a.length)||0}return i}function MC(e){const t=Nu(e,!0).map(([i])=>i);function r(i){if(i===e.length)return{line:t.length-1,character:t[t.length-1].length};let a=i,s=0;for(const o of t){if(a<o.length)break;a-=o.length,s++}return{line:s,character:a}}function n(i,a){let s=0;for(let o=0;o<i;o++)s+=t[o].length;return s+=a,s}return{lines:t,indexToPos:r,posToIndex:n}}const C0="light-dark()",BC=["color","background-color"];function FC(e,t){let r=0;const n=[];for(const i of t)i>r&&n.push({...e,content:e.content.slice(r,i),offset:e.offset+r}),r=i;return r<e.content.length&&n.push({...e,content:e.content.slice(r),offset:e.offset+r}),n}function HC(e,t){const r=Array.from(t instanceof Set?t:new Set(t)).sort((n,i)=>n-i);return r.length?e.map(n=>n.flatMap(i=>{const a=r.filter(s=>i.offset<s&&s<i.offset+i.content.length).map(s=>s-i.offset).sort((s,o)=>s-o);return a.length?FC(i,a):i})):e}function zC(e,t,r,n,i="css-vars"){const a={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(h=>Js(e.variants[h])),o=new Set(s.flatMap(h=>Object.keys(h))),l={},c=(h,f)=>{const g=f==="color"?"":f==="background-color"?"-bg":`-${f}`;return r+t[h]+(f==="color"?"":g)};return s.forEach((h,f)=>{for(const g of o){const m=h[g]||"inherit";if(f===0&&n&&BC.includes(g))if(n===C0&&s.length>1){const E=t.findIndex(A=>A==="light"),w=t.findIndex(A=>A==="dark");if(E===-1||w===-1)throw new Lt('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const C=s[E][g]||"inherit",T=s[w][g]||"inherit";l[g]=`light-dark(${C}, ${T})`,i==="css-vars"&&(l[c(f,g)]=m)}else l[g]=m;else i==="css-vars"&&(l[c(f,g)]=m)}}),a.htmlStyle=l,a}function Js(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&zt.Italic&&(t["font-style"]="italic"),e.fontStyle&zt.Bold&&(t["font-weight"]="bold");const r=[];e.fontStyle&zt.Underline&&r.push("underline"),e.fontStyle&zt.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function El(e){return typeof e=="string"?e:Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}const B2=new WeakMap;function Lu(e,t){B2.set(e,t)}function Ca(e){return B2.get(e)}class zi{constructor(...t){ne(this,"_stacks",{});ne(this,"lang");if(t.length===2){const[r,n]=t;this.lang=n,this._stacks=r}else{const[r,n,i]=t;this.lang=n,this._stacks={[i]:r}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new zi(Object.fromEntries(PC(r).map(n=>[n,vl])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return UC(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function UC(e){const t=[],r=new Set;function n(i){var s;if(r.has(i))return;r.add(i);const a=(s=i==null?void 0:i.nameScopesList)==null?void 0:s.scopeName;a&&t.push(a),i.parent&&n(i.parent)}return n(e),t}function VC(e,t){if(!(e instanceof zi))throw new Lt("Invalid grammar state");return e.getInternalStack(t)}function qC(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let n=function(s){if(typeof s=="number"){if(s<0||s>r.source.length)throw new Lt(`Invalid decoration offset: ${s}. Code length: ${r.source.length}`);return{...i.indexToPos(s),offset:s}}else{const o=i.lines[s.line];if(o===void 0)throw new Lt(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${i.lines.length}`);let l=s.character;if(l<0&&(l=o.length+l),l<0||l>o.length)throw new Lt(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${o.length}`);return{...s,character:l,offset:i.posToIndex(s.line,l)}}};const i=MC(r.source),a=(r.options.decorations||[]).map(s=>({...s,start:n(s.start),end:n(s.end)}));jC(a),e.set(r.meta,{decorations:a,converter:i,source:r.source})}return e.get(r.meta)}return{name:"shiki:decorations",tokens(r){var s;if(!((s=this.options.decorations)!=null&&s.length))return;const i=t(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]);return HC(r,i)},code(r){var h;if(!((h=this.options.decorations)!=null&&h.length))return;const n=t(this),i=Array.from(r.children).filter(f=>f.type==="element"&&f.tagName==="span");if(i.length!==n.converter.lines.length)throw new Lt(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function a(f,g,m,E){const w=i[f];let C="",T=-1,A=-1;if(g===0&&(T=0),m===0&&(A=0),m===Number.POSITIVE_INFINITY&&(A=w.children.length),T===-1||A===-1)for(let H=0;H<w.children.length;H++)C+=F2(w.children[H]),T===-1&&C.length===g&&(T=H+1),A===-1&&C.length===m&&(A=H+1);if(T===-1)throw new Lt(`Failed to find start index for decoration ${JSON.stringify(E.start)}`);if(A===-1)throw new Lt(`Failed to find end index for decoration ${JSON.stringify(E.end)}`);const N=w.children.slice(T,A);if(!E.alwaysWrap&&N.length===w.children.length)o(w,E,"line");else if(!E.alwaysWrap&&N.length===1&&N[0].type==="element")o(N[0],E,"token");else{const H={type:"element",tagName:"span",properties:{},children:N};o(H,E,"wrapper"),w.children.splice(T,N.length,H)}}function s(f,g){i[f]=o(i[f],g,"line")}function o(f,g,m){var C;const E=g.properties||{},w=g.transform||(T=>T);return f.tagName=g.tagName||"span",f.properties={...f.properties,...E,class:f.properties.class},(C=g.properties)!=null&&C.class&&M2(f,g.properties.class),f=w(f,m)||f,f}const l=[],c=n.decorations.sort((f,g)=>g.start.offset-f.start.offset||f.end.offset-g.end.offset);for(const f of c){const{start:g,end:m}=f;if(g.line===m.line)a(g.line,g.character,m.character,f);else if(g.line<m.line){a(g.line,g.character,Number.POSITIVE_INFINITY,f);for(let E=g.line+1;E<m.line;E++)l.unshift(()=>s(E,f));a(m.line,0,m.character,f)}}l.forEach(f=>f())}}}function jC(e){for(let t=0;t<e.length;t++){const r=e[t];if(r.start.offset>r.end.offset)throw new Lt(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);for(let n=t+1;n<e.length;n++){const i=e[n],a=r.start.offset<=i.start.offset&&i.start.offset<r.end.offset,s=r.start.offset<i.end.offset&&i.end.offset<=r.end.offset,o=i.start.offset<=r.start.offset&&r.start.offset<i.end.offset,l=i.start.offset<r.end.offset&&r.end.offset<=i.end.offset;if(a||s||o||l){if(a&&s||o&&l||o&&r.start.offset===r.end.offset||s&&i.start.offset===i.end.offset)continue;throw new Lt(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}function F2(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(F2).join(""):""}const GC=[qC()];function Qs(e){const t=$C(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...GC]}function $C(e){const t=[],r=[],n=[];for(const i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":r.push(i);break;default:n.push(i)}return{pre:t,post:r,normal:n}}var Jn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Po={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function WC(e,t){const r=e.indexOf("\x1B",t);if(r!==-1&&e[r+1]==="["){const n=e.indexOf("m",r);if(n!==-1)return{sequence:e.substring(r+2,n).split(";"),startPosition:r,position:n+1}}return{position:e.length}}function sd(e){const t=e.shift();if(t==="2"){const r=e.splice(0,3).map(n=>Number.parseInt(n));return r.length!==3||r.some(n=>Number.isNaN(n))?void 0:{type:"rgb",rgb:r}}else if(t==="5"){const r=e.shift();if(r)return{type:"table",index:Number(r)}}}function YC(e){const t=[];for(;e.length>0;){const r=e.shift();if(!r)continue;const n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)t.push({type:"resetAll"});else if(n<=9)Po[n]&&t.push({type:"setDecoration",value:Po[n]});else if(n<=29){const i=Po[n-20];i&&(t.push({type:"resetDecoration",value:i}),i==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Jn[n-30]}});else if(n===38){const i=sd(e);i&&t.push({type:"setForegroundColor",value:i})}else if(n===39)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Jn[n-40]}});else if(n===48){const i=sd(e);i&&t.push({type:"setBackgroundColor",value:i})}else n===49?t.push({type:"resetBackgroundColor"}):n===53?t.push({type:"setDecoration",value:"overline"}):n===55?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Jn[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Jn[n-100+8]}})}return t}function XC(){let e=null,t=null,r=new Set;return{parse(n){const i=[];let a=0;do{const s=WC(n,a),o=s.sequence?n.substring(a,s.startPosition):n.substring(a);if(o.length>0&&i.push({value:o,foreground:e,background:t,decorations:new Set(r)}),s.sequence){const l=YC(s.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,r.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&r.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&r.add(c.value)}a=s.position}while(a<n.length);return i}}}var JC={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function QC(e=JC){function t(o){return e[o]}function r(o){return`#${o.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let n;function i(){if(n)return n;n=[];for(let c=0;c<Jn.length;c++)n.push(t(Jn[c]));let o=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let h=0;h<6;h++)for(let f=0;f<6;f++)n.push(r([o[c],o[h],o[f]]));let l=8;for(let c=0;c<24;c++,l+=10)n.push(r([l,l,l]));return n}function a(o){return i()[o]}function s(o){switch(o.type){case"named":return t(o.name);case"rgb":return r(o.rgb);case"table":return a(o.index)}}return{value:s}}const KC={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function ZC(e,t,r){const n=Xs(e,r),i=Nu(t),a=Object.fromEntries(Jn.map(l=>{var f;const c=`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`,h=(f=e.colors)==null?void 0:f[c];return[l,h||KC[l]]})),s=QC(a),o=XC();return i.map(l=>o.parse(l[0]).map(c=>{let h,f;c.decorations.has("reverse")?(h=c.background?s.value(c.background):e.bg,f=c.foreground?s.value(c.foreground):e.fg):(h=c.foreground?s.value(c.foreground):e.fg,f=c.background?s.value(c.background):void 0),h=On(h,n),f=On(f,n),c.decorations.has("dim")&&(h=eA(h));let g=zt.None;return c.decorations.has("bold")&&(g|=zt.Bold),c.decorations.has("italic")&&(g|=zt.Italic),c.decorations.has("underline")&&(g|=zt.Underline),c.decorations.has("strikethrough")&&(g|=zt.Strikethrough),{content:c.value,offset:l[1],color:h,bgColor:f,fontStyle:g}}))}function eA(e){const t=e.match(/#([0-9a-f]{3,8})/i);if(t){const n=t[1];if(n.length===8){const i=Math.round(Number.parseInt(n.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${n.slice(0,6)}${i}`}else{if(n.length===6)return`#${n}80`;if(n.length===4){const i=n[0],a=n[1],s=n[2],o=n[3],l=Math.round(Number.parseInt(`${o}${o}`,16)/2).toString(16).padStart(2,"0");return`#${i}${i}${a}${a}${s}${s}${l}`}else if(n.length===3){const i=n[0],a=n[1],s=n[2];return`#${i}${i}${a}${a}${s}${s}80`}}}const r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}function A0(e,t,r={}){const{theme:n=e.getLoadedThemes()[0]}=r,i=e.resolveLangAlias(r.lang||"text");if(S0(i)||_0(n))return Nu(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:a,colorMap:s}=e.setTheme(n);if(i==="ansi")return ZC(a,t,r);const o=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==o.name)throw new Lt(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${o.name}"`);if(!r.grammarState.themes.includes(a.name))throw new Lt(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return rA(t,o,a,s,r)}function tA(...e){if(e.length===2)return Ca(e[1]);const[t,r,n={}]=e,{lang:i="text",theme:a=t.getLoadedThemes()[0]}=n;if(S0(i)||_0(a))throw new Lt("Plain language does not have grammar state");if(i==="ansi")throw new Lt("ANSI language does not have grammar state");const{theme:s,colorMap:o}=t.setTheme(a),l=t.getLanguage(i);return new zi(I0(r,l,s,o,n).stateStack,l.name,s.name)}function rA(e,t,r,n,i){const a=I0(e,t,r,n,i),s=new zi(a.stateStack,t.name,r.name);return Lu(a.tokens,s),a.tokens}function I0(e,t,r,n,i){const a=Xs(r,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=i,l=Nu(e);let c=i.grammarState?VC(i.grammarState,r.name)??vl:i.grammarContextCode!=null?I0(i.grammarContextCode,t,r,n,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:vl,h=[];const f=[];for(let g=0,m=l.length;g<m;g++){const[E,w]=l[g];if(E===""){h=[],f.push([]);continue}if(s>0&&E.length>=s){h=[],f.push([{content:E,offset:w,color:"",fontStyle:0}]);continue}let C,T,A;i.includeExplanation&&(C=t.tokenizeLine(E,c,o),T=C.tokens,A=0);const N=t.tokenizeLine2(E,c,o),H=N.tokens.length/2;for(let P=0;P<H;P++){const b=N.tokens[2*P],R=P+1<H?N.tokens[2*P+2]:E.length;if(b===R)continue;const j=N.tokens[2*P+1],Y=On(n[_i.getForeground(j)],a),G=_i.getFontStyle(j),re={content:E.substring(b,R),offset:w+b,color:Y,fontStyle:G};if(i.includeExplanation){const Q=[];if(i.includeExplanation!=="scopeName")for(const se of r.settings){let ie;switch(typeof se.scope){case"string":ie=se.scope.split(/,/).map(Te=>Te.trim());break;case"object":ie=se.scope;break;default:continue}Q.push({settings:se,selectors:ie.map(Te=>Te.split(/ /))})}re.explanation=[];let oe=0;for(;b+oe<R;){const se=T[A],ie=E.substring(se.startIndex,se.endIndex);oe+=ie.length,re.explanation.push({content:ie,scopes:i.includeExplanation==="scopeName"?nA(se.scopes):iA(Q,se.scopes)}),A+=1}}h.push(re)}f.push(h),h=[],c=N.ruleStack}return{tokens:f,stateStack:c}}function nA(e){return e.map(t=>({scopeName:t}))}function iA(e,t){const r=[];for(let n=0,i=t.length;n<i;n++){const a=t[n];r[n]={scopeName:a,themeMatches:sA(e,a,t.slice(0,n))}}return r}function ud(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function aA(e,t,r){if(!ud(e[e.length-1],t))return!1;let n=e.length-2,i=r.length-1;for(;n>=0&&i>=0;)ud(e[n],r[i])&&(n-=1),i-=1;return n===-1}function sA(e,t,r){const n=[];for(const{selectors:i,settings:a}of e)for(const s of i)if(aA(s,t,r)){n.push(a);break}return n}function H2(e,t,r){const n=Object.entries(r.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),i=n.map(l=>{const c=A0(e,t,{...r,theme:l.theme}),h=Ca(c),f=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:h,theme:f}}),a=uA(...i.map(l=>l.tokens)),s=a[0].map((l,c)=>l.map((h,f)=>{const g={content:h.content,variants:{},offset:h.offset};return"includeExplanation"in r&&r.includeExplanation&&(g.explanation=h.explanation),a.forEach((m,E)=>{const{content:w,explanation:C,offset:T,...A}=m[c][f];g.variants[n[E].color]=A}),g})),o=i[0].state?new zi(Object.fromEntries(i.map(l=>{var c;return[l.theme,(c=l.state)==null?void 0:c.getInternalStack(l.theme)]})),i[0].state.lang):void 0;return o&&Lu(s,o),s}function uA(...e){const t=e.map(()=>[]),r=e.length;for(let n=0;n<e[0].length;n++){const i=e.map(l=>l[n]),a=t.map(()=>[]);t.forEach((l,c)=>l.push(a[c]));const s=i.map(()=>0),o=i.map(l=>l[0]);for(;o.every(l=>l);){const l=Math.min(...o.map(c=>c.content.length));for(let c=0;c<r;c++){const h=o[c];h.content.length===l?(a[c].push(h),s[c]+=1,o[c]=i[c][s[c]]):(a[c].push({...h,content:h.content.slice(0,l)}),o[c]={...h,content:h.content.slice(l),offset:h.offset+l})}}}return t}function Ks(e,t,r){let n,i,a,s,o,l;if("themes"in r){const{defaultColor:c="light",cssVariablePrefix:h="--shiki-",colorsRendering:f="css-vars"}=r,g=Object.entries(r.themes).filter(T=>T[1]).map(T=>({color:T[0],theme:T[1]})).sort((T,A)=>T.color===c?-1:A.color===c?1:0);if(g.length===0)throw new Lt("`themes` option must not be empty");const m=H2(e,t,r);if(l=Ca(m),c&&C0!==c&&!g.find(T=>T.color===c))throw new Lt(`\`themes\` option must contain the defaultColor key \`${c}\``);const E=g.map(T=>e.getTheme(T.theme)),w=g.map(T=>T.color);a=m.map(T=>T.map(A=>zC(A,w,h,c,f))),l&&Lu(a,l);const C=g.map(T=>Xs(T.theme,r));i=od(g,E,C,h,c,"fg",f),n=od(g,E,C,h,c,"bg",f),s=`shiki-themes ${E.map(T=>T.name).join(" ")}`,o=c?void 0:[i,n].join(";")}else if("theme"in r){const c=Xs(r.theme,r);a=A0(e,t,r);const h=e.getTheme(r.theme);n=On(h.bg,c),i=On(h.fg,c),s=h.name,l=Ca(a)}else throw new Lt("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:n,themeName:s,rootStyle:o,grammarState:l}}function od(e,t,r,n,i,a,s){return e.map((o,l)=>{const c=On(t[l][a],r[l])||"inherit",h=`${n+o.color}${a==="bg"?"-bg":""}:${c}`;if(l===0&&i){if(i===C0&&e.length>1){const f=e.findIndex(w=>w.color==="light"),g=e.findIndex(w=>w.color==="dark");if(f===-1||g===-1)throw new Lt('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const m=On(t[f][a],r[f])||"inherit",E=On(t[g][a],r[g])||"inherit";return`light-dark(${m}, ${E});${h}`}return c}return s==="css-vars"?h:null}).filter(o=>!!o).join(";")}function Zs(e,t,r,n={meta:{},options:r,codeToHast:(i,a)=>Zs(e,i,a),codeToTokens:(i,a)=>Ks(e,i,a)}){var E,w;let i=t;for(const C of Qs(r))i=((E=C.preprocess)==null?void 0:E.call(n,i,r))||i;let{tokens:a,fg:s,bg:o,themeName:l,rootStyle:c,grammarState:h}=Ks(e,i,r);const{mergeWhitespaces:f=!0,mergeSameStyleTokens:g=!1}=r;f===!0?a=lA(a):f==="never"&&(a=cA(a)),g&&(a=hA(a));const m={...n,get source(){return i}};for(const C of Qs(r))a=((w=C.tokens)==null?void 0:w.call(m,a))||a;return oA(a,{...r,fg:s,bg:o,themeName:l,rootStyle:r.rootStyle===!1?!1:r.rootStyle??c},m,h)}function oA(e,t,r,n=Ca(e)){var w,C,T,A;const i=Qs(t),a=[],s={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(c.tabindex=l.toString());for(const[N,H]of Object.entries(t.meta||{}))N.startsWith("_")||(c[N]=H);let h={type:"element",tagName:"pre",properties:c,children:[],data:t.data},f={type:"element",tagName:"code",properties:{},children:a};const g=[],m={...r,structure:o,addClassToHast:M2,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return h},get code(){return f},get lines(){return g}};if(e.forEach((N,H)=>{var R,j;H&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&a.push({type:"text",value:`
542
+ `}));let P={type:"element",tagName:"span",properties:{class:"line"},children:[]},b=0;for(const Y of N){let G={type:"element",tagName:"span",properties:{...Y.htmlAttrs},children:[{type:"text",value:Y.content}]};const re=El(Y.htmlStyle||Js(Y));re&&(G.properties.style=re);for(const Q of i)G=((R=Q==null?void 0:Q.span)==null?void 0:R.call(m,G,H+1,b,P,Y))||G;o==="inline"?s.children.push(G):o==="classic"&&P.children.push(G),b+=Y.content.length}if(o==="classic"){for(const Y of i)P=((j=Y==null?void 0:Y.line)==null?void 0:j.call(m,P,H+1))||P;g.push(P),a.push(P)}else o==="inline"&&g.push(P)}),o==="classic"){for(const N of i)f=((w=N==null?void 0:N.code)==null?void 0:w.call(m,f))||f;h.children.push(f);for(const N of i)h=((C=N==null?void 0:N.pre)==null?void 0:C.call(m,h))||h;s.children.push(h)}else if(o==="inline"){const N=[];let H={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const R of s.children)R.type==="element"&&R.tagName==="br"?(N.push(H),H={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(R.type==="element"||R.type==="text")&&H.children.push(R);N.push(H);let b={type:"element",tagName:"code",properties:{},children:N};for(const R of i)b=((T=R==null?void 0:R.code)==null?void 0:T.call(m,b))||b;s.children=[];for(let R=0;R<b.children.length;R++){R>0&&s.children.push({type:"element",tagName:"br",properties:{},children:[]});const j=b.children[R];j.type==="element"&&s.children.push(...j.children)}}let E=s;for(const N of i)E=((A=N==null?void 0:N.root)==null?void 0:A.call(m,E))||E;return n&&Lu(E,n),E}function lA(e){return e.map(t=>{const r=[];let n="",i;return t.forEach((a,s)=>{const l=!(a.fontStyle&&(a.fontStyle&zt.Underline||a.fontStyle&zt.Strikethrough));l&&a.content.match(/^\s+$/)&&t[s+1]?(i===void 0&&(i=a.offset),n+=a.content):n?(l?r.push({...a,offset:i,content:n+a.content}):r.push({content:n,offset:i},a),i=void 0,n=""):r.push(a)}),r})}function cA(e){return e.map(t=>t.flatMap(r=>{if(r.content.match(/^\s+$/))return r;const n=r.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return r;const[,i,a,s]=n;if(!i&&!s)return r;const o=[{...r,offset:r.offset+i.length,content:a}];return i&&o.unshift({content:i,offset:r.offset}),s&&o.push({content:s,offset:r.offset+i.length+a.length}),o}))}function hA(e){return e.map(t=>{const r=[];for(const n of t){if(r.length===0){r.push({...n});continue}const i=r[r.length-1],a=El(i.htmlStyle||Js(i)),s=El(n.htmlStyle||Js(n)),o=i.fontStyle&&(i.fontStyle&zt.Underline||i.fontStyle&zt.Strikethrough),l=n.fontStyle&&(n.fontStyle&zt.Underline||n.fontStyle&zt.Strikethrough);!o&&!l&&a===s?i.content+=n.content:r.push({...n})}return r})}const fA=NC;function dA(e,t,r){var a;const n={meta:{},options:r,codeToHast:(s,o)=>Zs(e,s,o),codeToTokens:(s,o)=>Ks(e,s,o)};let i=fA(Zs(e,t,r,n));for(const s of Qs(r))i=((a=s.postprocess)==null?void 0:a.call(n,i,r))||i;return i}const ld={light:"#333333",dark:"#bbbbbb"},cd={light:"#fffffe",dark:"#1e1e1e"},hd="__shiki_resolved";function N0(e){var o,l,c,h,f;if(e!=null&&e[hd])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:r,fg:n}=t;if(!r||!n){const g=t.settings?t.settings.find(m=>!m.name&&!m.scope):void 0;(o=g==null?void 0:g.settings)!=null&&o.foreground&&(n=g.settings.foreground),(l=g==null?void 0:g.settings)!=null&&l.background&&(r=g.settings.background),!n&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(n=t.colors["editor.foreground"]),!r&&((h=t==null?void 0:t.colors)!=null&&h["editor.background"])&&(r=t.colors["editor.background"]),n||(n=t.type==="light"?ld.light:ld.dark),r||(r=t.type==="light"?cd.light:cd.dark),t.fg=n,t.bg=r}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0;const a=new Map;function s(g){var E;if(a.has(g))return a.get(g);i+=1;const m=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return(E=t.colorReplacements)!=null&&E[`#${m}`]?s(g):(a.set(g,m),m)}t.settings=t.settings.map(g=>{var C,T;const m=((C=g.settings)==null?void 0:C.foreground)&&!g.settings.foreground.startsWith("#"),E=((T=g.settings)==null?void 0:T.background)&&!g.settings.background.startsWith("#");if(!m&&!E)return g;const w={...g,settings:{...g.settings}};if(m){const A=s(g.settings.foreground);t.colorReplacements[A]=g.settings.foreground,w.settings.foreground=A}if(E){const A=s(g.settings.background);t.colorReplacements[A]=g.settings.background,w.settings.background=A}return w});for(const g of Object.keys(t.colors||{}))if((g==="editor.foreground"||g==="editor.background"||g.startsWith("terminal.ansi"))&&!((f=t.colors[g])!=null&&f.startsWith("#"))){const m=s(t.colors[g]);t.colorReplacements[m]=t.colors[g],t.colors[g]=m}return Object.defineProperty(t,hd,{enumerable:!1,writable:!1,value:!0}),t}async function z2(e){return Array.from(new Set((await Promise.all(e.filter(t=>!DC(t)).map(async t=>await O2(t).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function U2(e){return(await Promise.all(e.map(async r=>OC(r)?null:N0(await O2(r))))).filter(r=>!!r)}let pA=3;function mA(e,t=3){t>pA||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let mi=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function V2(e,t){if(!t)return e;if(t[e]){const r=new Set([e]);for(;t[e];){if(e=t[e],r.has(e))throw new mi(`Circular alias \`${Array.from(r).join(" -> ")} -> ${e}\``);r.add(e)}}return e}class gA extends $_{constructor(r,n,i,a={}){super(r);ne(this,"_resolvedThemes",new Map);ne(this,"_resolvedGrammars",new Map);ne(this,"_langMap",new Map);ne(this,"_langGraph",new Map);ne(this,"_textmateThemeCache",new WeakMap);ne(this,"_loadedThemesCache",null);ne(this,"_loadedLanguagesCache",null);this._resolver=r,this._themes=n,this._langs=i,this._alias=a,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(r){return typeof r=="string"?this._resolvedThemes.get(r):this.loadTheme(r)}loadTheme(r){const n=N0(r);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(r){let n=this._textmateThemeCache.get(r);n||(n=js.createFromRawTheme(r),this._textmateThemeCache.set(r,n)),this._syncRegistry.setTheme(n)}getGrammar(r){return r=V2(r,this._alias),this._resolvedGrammars.get(r)}loadLanguage(r){var s,o,l,c;if(this.getGrammar(r.name))return;const n=new Set([...this._langMap.values()].filter(h=>{var f;return(f=h.embeddedLangsLazy)==null?void 0:f.includes(r.name)}));this._resolver.addLanguage(r);const i={balancedBracketSelectors:r.balancedBracketSelectors||["*"],unbalancedBracketSelectors:r.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(r.scopeName,r);const a=this.loadGrammarWithConfiguration(r.scopeName,1,i);if(a.name=r.name,this._resolvedGrammars.set(r.name,a),r.aliases&&r.aliases.forEach(h=>{this._alias[h]=r.name}),this._loadedLanguagesCache=null,n.size)for(const h of n)this._resolvedGrammars.delete(h.name),this._loadedLanguagesCache=null,(o=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||o.delete(h.scopeName),(c=(l=this._syncRegistry)==null?void 0:l._grammars)==null||c.delete(h.scopeName),this.loadLanguage(this._langMap.get(h.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(r){for(const a of r)this.resolveEmbeddedLanguages(a);const n=Array.from(this._langGraph.entries()),i=n.filter(([a,s])=>!s);if(i.length){const a=n.filter(([s,o])=>{if(!o)return!1;const l=o.embeddedLanguages||o.embeddedLangs;return l==null?void 0:l.some(c=>i.map(([h])=>h).includes(c))}).filter(s=>!i.includes(s));throw new mi(`Missing languages ${i.map(([s])=>`\`${s}\``).join(", ")}, required by ${a.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[a,s]of n)this._resolver.addLanguage(s);for(const[a,s]of n)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(r){this._langMap.set(r.name,r),this._langGraph.set(r.name,r);const n=r.embeddedLanguages??r.embeddedLangs;if(n)for(const i of n)this._langGraph.set(i,this._langMap.get(i))}}class bA{constructor(t,r){ne(this,"_langs",new Map);ne(this,"_scopeToLang",new Map);ne(this,"_injections",new Map);ne(this,"_onigLib");this._onigLib={createOnigScanner:n=>t.createScanner(n),createOnigString:n=>t.createString(n)},r.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(r=>{this._langs.set(r,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(r=>{this._injections.get(r)||this._injections.set(r,[]),this._injections.get(r).push(t.scopeName)})}getInjections(t){const r=t.split(".");let n=[];for(let i=1;i<=r.length;i++){const a=r.slice(0,i).join(".");n=[...n,...this._injections.get(a)||[]]}return n}}let Zi=0;function xA(e){Zi+=1,e.warnings!==!1&&Zi>=10&&Zi%10===0&&console.warn(`[Shiki] ${Zi} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new mi("`engine` option is required for synchronous mode");const r=(e.langs||[]).flat(1),n=(e.themes||[]).flat(1).map(N0),i=new bA(e.engine,r),a=new gA(i,n,r,e.langAlias);let s;function o(N){return V2(N,e.langAlias)}function l(N){T();const H=a.getGrammar(typeof N=="string"?N:N.name);if(!H)throw new mi(`Language \`${N}\` not found, you may need to load it first`);return H}function c(N){if(N==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};T();const H=a.getTheme(N);if(!H)throw new mi(`Theme \`${N}\` not found, you may need to load it first`);return H}function h(N){T();const H=c(N);s!==N&&(a.setTheme(H),s=N);const P=a.getColorMap();return{theme:H,colorMap:P}}function f(){return T(),a.getLoadedThemes()}function g(){return T(),a.getLoadedLanguages()}function m(...N){T(),a.loadLanguages(N.flat(1))}async function E(...N){return m(await z2(N))}function w(...N){T();for(const H of N.flat(1))a.loadTheme(H)}async function C(...N){return T(),w(await U2(N))}function T(){if(t)throw new mi("Shiki instance has been disposed")}function A(){t||(t=!0,a.dispose(),Zi-=1)}return{setTheme:h,getTheme:c,getLanguage:l,getLoadedThemes:f,getLoadedLanguages:g,resolveLangAlias:o,loadLanguage:E,loadLanguageSync:m,loadTheme:C,loadThemeSync:w,dispose:A,[Symbol.dispose]:A}}async function yA(e){e.engine||mA("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,r,n]=await Promise.all([U2(e.themes||[]),z2(e.langs||[]),e.engine]);return xA({...e,themes:t,langs:r,engine:n})}async function vA(e){const t=await yA(e);return{getLastGrammarState:(...r)=>tA(t,...r),codeToTokensBase:(r,n)=>A0(t,r,n),codeToTokensWithThemes:(r,n)=>H2(t,r,n),codeToTokens:(r,n)=>Ks(t,r,n),codeToHast:(r,n)=>Zs(t,r,n),codeToHtml:(r,n)=>dA(t,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}class L0 extends Error{constructor(t){super(t),this.name="ShikiError"}}function EA(){return 2147483648}function kA(){return typeof performance<"u"?performance.now():Date.now()}const TA=(e,t)=>e+(t-e%t)%t;async function wA(e){let t,r;const n={};function i(m){r=m,n.HEAPU8=new Uint8Array(m),n.HEAPU32=new Uint32Array(m)}function a(m,E,w){n.HEAPU8.copyWithin(m,E,E+w)}function s(m){try{return t.grow(m-r.byteLength+65535>>>16),i(t.buffer),1}catch{}}function o(m){const E=n.HEAPU8.length;m=m>>>0;const w=EA();if(m>w)return!1;for(let C=1;C<=4;C*=2){let T=E*(1+.2/C);T=Math.min(T,m+100663296);const A=Math.min(w,TA(Math.max(m,T),65536));if(s(A))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(m,E,w=1024){const C=E+w;let T=E;for(;m[T]&&!(T>=C);)++T;if(T-E>16&&m.buffer&&l)return l.decode(m.subarray(E,T));let A="";for(;E<T;){let N=m[E++];if(!(N&128)){A+=String.fromCharCode(N);continue}const H=m[E++]&63;if((N&224)===192){A+=String.fromCharCode((N&31)<<6|H);continue}const P=m[E++]&63;if((N&240)===224?N=(N&15)<<12|H<<6|P:N=(N&7)<<18|H<<12|P<<6|m[E++]&63,N<65536)A+=String.fromCharCode(N);else{const b=N-65536;A+=String.fromCharCode(55296|b>>10,56320|b&1023)}}return A}function h(m,E){return m?c(n.HEAPU8,m,E):""}const f={emscripten_get_now:kA,emscripten_memcpy_big:a,emscripten_resize_heap:o,fd_write:()=>0};async function g(){const E=await e({env:f,wasi_snapshot_preview1:f});t=E.memory,i(t.buffer),Object.assign(n,E),n.UTF8ToString=h}return await g(),n}var SA=Object.defineProperty,_A=(e,t,r)=>t in e?SA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wt=(e,t,r)=>_A(e,typeof t!="symbol"?t+"":t,r);let Nt=null;function CA(e){throw new L0(e.UTF8ToString(e.getLastOnigError()))}class Ru{constructor(t){wt(this,"utf16Length"),wt(this,"utf8Length"),wt(this,"utf16Value"),wt(this,"utf8Value"),wt(this,"utf16OffsetToUtf8"),wt(this,"utf8OffsetToUtf16");const r=t.length,n=Ru._utf8ByteLength(t),i=n!==r,a=i?new Uint32Array(r+1):null;i&&(a[r]=n);const s=i?new Uint32Array(n+1):null;i&&(s[n]=r);const o=new Uint8Array(n);let l=0;for(let c=0;c<r;c++){const h=t.charCodeAt(c);let f=h,g=!1;if(h>=55296&&h<=56319&&c+1<r){const m=t.charCodeAt(c+1);m>=56320&&m<=57343&&(f=(h-55296<<10)+65536|m-56320,g=!0)}i&&(a[c]=l,g&&(a[c+1]=l),f<=127?s[l+0]=c:f<=2047?(s[l+0]=c,s[l+1]=c):f<=65535?(s[l+0]=c,s[l+1]=c,s[l+2]=c):(s[l+0]=c,s[l+1]=c,s[l+2]=c,s[l+3]=c)),f<=127?o[l++]=f:f<=2047?(o[l++]=192|(f&1984)>>>6,o[l++]=128|(f&63)>>>0):f<=65535?(o[l++]=224|(f&61440)>>>12,o[l++]=128|(f&4032)>>>6,o[l++]=128|(f&63)>>>0):(o[l++]=240|(f&1835008)>>>18,o[l++]=128|(f&258048)>>>12,o[l++]=128|(f&4032)>>>6,o[l++]=128|(f&63)>>>0),g&&c++}this.utf16Length=r,this.utf8Length=n,this.utf16Value=t,this.utf8Value=o,this.utf16OffsetToUtf8=a,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let r=0;for(let n=0,i=t.length;n<i;n++){const a=t.charCodeAt(n);let s=a,o=!1;if(a>=55296&&a<=56319&&n+1<i){const l=t.charCodeAt(n+1);l>=56320&&l<=57343&&(s=(a-55296<<10)+65536|l-56320,o=!0)}s<=127?r+=1:s<=2047?r+=2:s<=65535?r+=3:r+=4,o&&n++}return r}createString(t){const r=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,r),r}}const Pu=class Ur{constructor(t){if(wt(this,"id",++Ur.LAST_ID),wt(this,"_onigBinding"),wt(this,"content"),wt(this,"utf16Length"),wt(this,"utf8Length"),wt(this,"utf16OffsetToUtf8"),wt(this,"utf8OffsetToUtf16"),wt(this,"ptr"),!Nt)throw new L0("Must invoke loadWasm first.");this._onigBinding=Nt,this.content=t;const r=new Ru(t);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ur._sharedPtrInUse?(Ur._sharedPtr||(Ur._sharedPtr=Nt.omalloc(1e4)),Ur._sharedPtrInUse=!0,Nt.HEAPU8.set(r.utf8Value,Ur._sharedPtr),this.ptr=Ur._sharedPtr):this.ptr=r.createString(Nt)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Ur._sharedPtr?Ur._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};wt(Pu,"LAST_ID",0);wt(Pu,"_sharedPtr",0);wt(Pu,"_sharedPtrInUse",!1);let q2=Pu;class AA{constructor(t){if(wt(this,"_onigBinding"),wt(this,"_ptr"),!Nt)throw new L0("Must invoke loadWasm first.");const r=[],n=[];for(let o=0,l=t.length;o<l;o++){const c=new Ru(t[o]);r[o]=c.createString(Nt),n[o]=c.utf8Length}const i=Nt.omalloc(4*t.length);Nt.HEAPU32.set(r,i/4);const a=Nt.omalloc(4*t.length);Nt.HEAPU32.set(n,a/4);const s=Nt.createOnigScanner(i,a,t.length);for(let o=0,l=t.length;o<l;o++)Nt.ofree(r[o]);Nt.ofree(a),Nt.ofree(i),s===0&&CA(Nt),this._onigBinding=Nt,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,r,n){let i=0;if(typeof n=="number"&&(i=n),typeof t=="string"){t=new q2(t);const a=this._findNextMatchSync(t,r,!1,i);return t.dispose(),a}return this._findNextMatchSync(t,r,!1,i)}_findNextMatchSync(t,r,n,i){const a=this._onigBinding,s=a.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(r),i);if(s===0)return null;const o=a.HEAPU32;let l=s/4;const c=o[l++],h=o[l++],f=[];for(let g=0;g<h;g++){const m=t.convertUtf8OffsetToUtf16(o[l++]),E=t.convertUtf8OffsetToUtf16(o[l++]);f[g]={start:m,end:E,length:E-m}}return{index:c,captureIndices:f}}}function IA(e){return typeof e.instantiator=="function"}function NA(e){return typeof e.default=="function"}function LA(e){return typeof e.data<"u"}function RA(e){return typeof Response<"u"&&e instanceof Response}function PA(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let gs;function DA(e){if(gs)return gs;async function t(){Nt=await wA(async r=>{let n=e;return n=await n,typeof n=="function"&&(n=await n(r)),typeof n=="function"&&(n=await n(r)),IA(n)?n=await n.instantiator(r):NA(n)?n=await n.default(r):(LA(n)&&(n=n.data),RA(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await OA(n)(r):n=await MA(n)(r):PA(n)?n=await Do(n)(r):n instanceof WebAssembly.Module?n=await Do(n)(r):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await Do(n.default)(r))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return gs=t(),gs}function Do(e){return t=>WebAssembly.instantiate(e,t)}function OA(e){return t=>WebAssembly.instantiateStreaming(e,t)}function MA(e){return async t=>{const r=await e.arrayBuffer();return WebAssembly.instantiate(r,t)}}async function BA(e){return e&&await DA(e),{createScanner(t){return new AA(t.map(r=>typeof r=="string"?r:r.source))},createString(t){return new q2(t)}}}const FA=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#f9826c","activityBar.background":"#fff","activityBar.border":"#e1e4e8","activityBar.foreground":"#2f363d","activityBar.inactiveForeground":"#959da5","activityBarBadge.background":"#2188ff","activityBarBadge.foreground":"#fff","badge.background":"#dbedff","badge.foreground":"#005cc5","breadcrumb.activeSelectionForeground":"#586069","breadcrumb.focusForeground":"#2f363d","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#fafbfc","button.background":"#159739","button.foreground":"#fff","button.hoverBackground":"#138934","button.secondaryBackground":"#e1e4e8","button.secondaryForeground":"#1b1f23","button.secondaryHoverBackground":"#d1d5da","checkbox.background":"#fafbfc","checkbox.border":"#d1d5da","debugToolBar.background":"#fff","descriptionForeground":"#6a737d","diffEditor.insertedTextBackground":"#34d05822","diffEditor.removedTextBackground":"#d73a4922","dropdown.background":"#fafbfc","dropdown.border":"#e1e4e8","dropdown.foreground":"#2f363d","dropdown.listBackground":"#fff","editor.background":"#fff","editor.findMatchBackground":"#ffdf5d","editor.findMatchHighlightBackground":"#ffdf5d66","editor.focusedStackFrameHighlightBackground":"#28a74525","editor.foldBackground":"#d1d5da11","editor.foreground":"#24292e","editor.inactiveSelectionBackground":"#0366d611","editor.lineHighlightBackground":"#f6f8fa","editor.linkedEditingBackground":"#0366d611","editor.selectionBackground":"#0366d625","editor.selectionHighlightBackground":"#34d05840","editor.selectionHighlightBorder":"#34d05800","editor.stackFrameHighlightBackground":"#ffd33d33","editor.wordHighlightBackground":"#34d05800","editor.wordHighlightBorder":"#24943e99","editor.wordHighlightStrongBackground":"#34d05800","editor.wordHighlightStrongBorder":"#24943e50","editorBracketHighlight.foreground1":"#005cc5","editorBracketHighlight.foreground2":"#e36209","editorBracketHighlight.foreground3":"#5a32a3","editorBracketHighlight.foreground4":"#005cc5","editorBracketHighlight.foreground5":"#e36209","editorBracketHighlight.foreground6":"#5a32a3","editorBracketMatch.background":"#34d05840","editorBracketMatch.border":"#34d05800","editorCursor.foreground":"#044289","editorError.foreground":"#cb2431","editorGroup.border":"#e1e4e8","editorGroupHeader.tabsBackground":"#f6f8fa","editorGroupHeader.tabsBorder":"#e1e4e8","editorGutter.addedBackground":"#28a745","editorGutter.deletedBackground":"#d73a49","editorGutter.modifiedBackground":"#2188ff","editorIndentGuide.activeBackground":"#d7dbe0","editorIndentGuide.background":"#eff2f6","editorLineNumber.activeForeground":"#24292e","editorLineNumber.foreground":"#1b1f234d","editorOverviewRuler.border":"#fff","editorWarning.foreground":"#f9c513","editorWhitespace.foreground":"#d1d5da","editorWidget.background":"#f6f8fa","errorForeground":"#cb2431","focusBorder":"#2188ff","foreground":"#444d56","gitDecoration.addedResourceForeground":"#28a745","gitDecoration.conflictingResourceForeground":"#e36209","gitDecoration.deletedResourceForeground":"#d73a49","gitDecoration.ignoredResourceForeground":"#959da5","gitDecoration.modifiedResourceForeground":"#005cc5","gitDecoration.submoduleResourceForeground":"#959da5","gitDecoration.untrackedResourceForeground":"#28a745","input.background":"#fafbfc","input.border":"#e1e4e8","input.foreground":"#2f363d","input.placeholderForeground":"#959da5","list.activeSelectionBackground":"#e2e5e9","list.activeSelectionForeground":"#2f363d","list.focusBackground":"#cce5ff","list.hoverBackground":"#ebf0f4","list.hoverForeground":"#2f363d","list.inactiveFocusBackground":"#dbedff","list.inactiveSelectionBackground":"#e8eaed","list.inactiveSelectionForeground":"#2f363d","notificationCenterHeader.background":"#e1e4e8","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#fafbfc","notifications.border":"#e1e4e8","notifications.foreground":"#2f363d","notificationsErrorIcon.foreground":"#d73a49","notificationsInfoIcon.foreground":"#005cc5","notificationsWarningIcon.foreground":"#e36209","panel.background":"#f6f8fa","panel.border":"#e1e4e8","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#f9826c","panelTitle.activeForeground":"#2f363d","panelTitle.inactiveForeground":"#6a737d","pickerGroup.border":"#e1e4e8","pickerGroup.foreground":"#2f363d","progressBar.background":"#2188ff","quickInput.background":"#fafbfc","quickInput.foreground":"#2f363d","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#959da588","scrollbarSlider.background":"#959da533","scrollbarSlider.hoverBackground":"#959da544","settings.headerForeground":"#2f363d","settings.modifiedItemIndicator":"#2188ff","sideBar.background":"#f6f8fa","sideBar.border":"#e1e4e8","sideBar.foreground":"#586069","sideBarSectionHeader.background":"#f6f8fa","sideBarSectionHeader.border":"#e1e4e8","sideBarSectionHeader.foreground":"#2f363d","sideBarTitle.foreground":"#2f363d","statusBar.background":"#fff","statusBar.border":"#e1e4e8","statusBar.debuggingBackground":"#f9826c","statusBar.debuggingForeground":"#fff","statusBar.foreground":"#586069","statusBar.noFolderBackground":"#fff","statusBarItem.prominentBackground":"#e8eaed","statusBarItem.remoteBackground":"#fff","statusBarItem.remoteForeground":"#586069","tab.activeBackground":"#fff","tab.activeBorder":"#fff","tab.activeBorderTop":"#f9826c","tab.activeForeground":"#2f363d","tab.border":"#e1e4e8","tab.hoverBackground":"#fff","tab.inactiveBackground":"#f6f8fa","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#fff","tab.unfocusedActiveBorderTop":"#e1e4e8","tab.unfocusedHoverBackground":"#fff","terminal.ansiBlack":"#24292e","terminal.ansiBlue":"#0366d6","terminal.ansiBrightBlack":"#959da5","terminal.ansiBrightBlue":"#005cc5","terminal.ansiBrightCyan":"#3192aa","terminal.ansiBrightGreen":"#22863a","terminal.ansiBrightMagenta":"#5a32a3","terminal.ansiBrightRed":"#cb2431","terminal.ansiBrightWhite":"#d1d5da","terminal.ansiBrightYellow":"#b08800","terminal.ansiCyan":"#1b7c83","terminal.ansiGreen":"#28a745","terminal.ansiMagenta":"#5a32a3","terminal.ansiRed":"#d73a49","terminal.ansiWhite":"#6a737d","terminal.ansiYellow":"#dbab09","terminal.foreground":"#586069","terminal.tab.activeBorder":"#f9826c","terminalCursor.background":"#d1d5da","terminalCursor.foreground":"#005cc5","textBlockQuote.background":"#fafbfc","textBlockQuote.border":"#e1e4e8","textCodeBlock.background":"#f6f8fa","textLink.activeForeground":"#005cc5","textLink.foreground":"#0366d6","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#fff","titleBar.activeForeground":"#2f363d","titleBar.border":"#e1e4e8","titleBar.inactiveBackground":"#f6f8fa","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"GitHub Light","name":"github-light","semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#6a737d"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language"],"settings":{"foreground":"#005cc5"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#6f42c1"}},{"scope":"variable.parameter.function","settings":{"foreground":"#24292e"}},{"scope":"entity.name.tag","settings":{"foreground":"#22863a"}},{"scope":"keyword","settings":{"foreground":"#d73a49"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#d73a49"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#24292e"}},{"scope":["string","punctuation.definition.string","string punctuation.section.embedded source"],"settings":{"foreground":"#032f62"}},{"scope":"support","settings":{"foreground":"#005cc5"}},{"scope":"meta.property-name","settings":{"foreground":"#005cc5"}},{"scope":"variable","settings":{"foreground":"#e36209"}},{"scope":"variable.other","settings":{"foreground":"#24292e"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#005cc5"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#032f62"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#032f62"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#22863a"}},{"scope":"support.constant","settings":{"foreground":"#005cc5"}},{"scope":"support.variable","settings":{"foreground":"#005cc5"}},{"scope":"meta.module-reference","settings":{"foreground":"#005cc5"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#e36209"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"markup.quote","settings":{"foreground":"#22863a"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#24292e"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#24292e"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#005cc5"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"fontStyle":"underline","foreground":"#032f62"}}],"type":"light"}')),HA=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#f9826c","activityBar.background":"#24292e","activityBar.border":"#1b1f23","activityBar.foreground":"#e1e4e8","activityBar.inactiveForeground":"#6a737d","activityBarBadge.background":"#0366d6","activityBarBadge.foreground":"#fff","badge.background":"#044289","badge.foreground":"#c8e1ff","breadcrumb.activeSelectionForeground":"#d1d5da","breadcrumb.focusForeground":"#e1e4e8","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#2b3036","button.background":"#176f2c","button.foreground":"#dcffe4","button.hoverBackground":"#22863a","button.secondaryBackground":"#444d56","button.secondaryForeground":"#fff","button.secondaryHoverBackground":"#586069","checkbox.background":"#444d56","checkbox.border":"#1b1f23","debugToolBar.background":"#2b3036","descriptionForeground":"#959da5","diffEditor.insertedTextBackground":"#28a74530","diffEditor.removedTextBackground":"#d73a4930","dropdown.background":"#2f363d","dropdown.border":"#1b1f23","dropdown.foreground":"#e1e4e8","dropdown.listBackground":"#24292e","editor.background":"#24292e","editor.findMatchBackground":"#ffd33d44","editor.findMatchHighlightBackground":"#ffd33d22","editor.focusedStackFrameHighlightBackground":"#2b6a3033","editor.foldBackground":"#58606915","editor.foreground":"#e1e4e8","editor.inactiveSelectionBackground":"#3392FF22","editor.lineHighlightBackground":"#2b3036","editor.linkedEditingBackground":"#3392FF22","editor.selectionBackground":"#3392FF44","editor.selectionHighlightBackground":"#17E5E633","editor.selectionHighlightBorder":"#17E5E600","editor.stackFrameHighlightBackground":"#C6902625","editor.wordHighlightBackground":"#17E5E600","editor.wordHighlightBorder":"#17E5E699","editor.wordHighlightStrongBackground":"#17E5E600","editor.wordHighlightStrongBorder":"#17E5E666","editorBracketHighlight.foreground1":"#79b8ff","editorBracketHighlight.foreground2":"#ffab70","editorBracketHighlight.foreground3":"#b392f0","editorBracketHighlight.foreground4":"#79b8ff","editorBracketHighlight.foreground5":"#ffab70","editorBracketHighlight.foreground6":"#b392f0","editorBracketMatch.background":"#17E5E650","editorBracketMatch.border":"#17E5E600","editorCursor.foreground":"#c8e1ff","editorError.foreground":"#f97583","editorGroup.border":"#1b1f23","editorGroupHeader.tabsBackground":"#1f2428","editorGroupHeader.tabsBorder":"#1b1f23","editorGutter.addedBackground":"#28a745","editorGutter.deletedBackground":"#ea4a5a","editorGutter.modifiedBackground":"#2188ff","editorIndentGuide.activeBackground":"#444d56","editorIndentGuide.background":"#2f363d","editorLineNumber.activeForeground":"#e1e4e8","editorLineNumber.foreground":"#444d56","editorOverviewRuler.border":"#1b1f23","editorWarning.foreground":"#ffea7f","editorWhitespace.foreground":"#444d56","editorWidget.background":"#1f2428","errorForeground":"#f97583","focusBorder":"#005cc5","foreground":"#d1d5da","gitDecoration.addedResourceForeground":"#34d058","gitDecoration.conflictingResourceForeground":"#ffab70","gitDecoration.deletedResourceForeground":"#ea4a5a","gitDecoration.ignoredResourceForeground":"#6a737d","gitDecoration.modifiedResourceForeground":"#79b8ff","gitDecoration.submoduleResourceForeground":"#6a737d","gitDecoration.untrackedResourceForeground":"#34d058","input.background":"#2f363d","input.border":"#1b1f23","input.foreground":"#e1e4e8","input.placeholderForeground":"#959da5","list.activeSelectionBackground":"#39414a","list.activeSelectionForeground":"#e1e4e8","list.focusBackground":"#044289","list.hoverBackground":"#282e34","list.hoverForeground":"#e1e4e8","list.inactiveFocusBackground":"#1d2d3e","list.inactiveSelectionBackground":"#282e34","list.inactiveSelectionForeground":"#e1e4e8","notificationCenterHeader.background":"#24292e","notificationCenterHeader.foreground":"#959da5","notifications.background":"#2f363d","notifications.border":"#1b1f23","notifications.foreground":"#e1e4e8","notificationsErrorIcon.foreground":"#ea4a5a","notificationsInfoIcon.foreground":"#79b8ff","notificationsWarningIcon.foreground":"#ffab70","panel.background":"#1f2428","panel.border":"#1b1f23","panelInput.border":"#2f363d","panelTitle.activeBorder":"#f9826c","panelTitle.activeForeground":"#e1e4e8","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#1f242888","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#1f2428","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#444d56","pickerGroup.foreground":"#e1e4e8","progressBar.background":"#0366d6","quickInput.background":"#24292e","quickInput.foreground":"#e1e4e8","scrollbar.shadow":"#0008","scrollbarSlider.activeBackground":"#6a737d88","scrollbarSlider.background":"#6a737d33","scrollbarSlider.hoverBackground":"#6a737d44","settings.headerForeground":"#e1e4e8","settings.modifiedItemIndicator":"#0366d6","sideBar.background":"#1f2428","sideBar.border":"#1b1f23","sideBar.foreground":"#d1d5da","sideBarSectionHeader.background":"#1f2428","sideBarSectionHeader.border":"#1b1f23","sideBarSectionHeader.foreground":"#e1e4e8","sideBarTitle.foreground":"#e1e4e8","statusBar.background":"#24292e","statusBar.border":"#1b1f23","statusBar.debuggingBackground":"#931c06","statusBar.debuggingForeground":"#fff","statusBar.foreground":"#d1d5da","statusBar.noFolderBackground":"#24292e","statusBarItem.prominentBackground":"#282e34","statusBarItem.remoteBackground":"#24292e","statusBarItem.remoteForeground":"#d1d5da","tab.activeBackground":"#24292e","tab.activeBorder":"#24292e","tab.activeBorderTop":"#f9826c","tab.activeForeground":"#e1e4e8","tab.border":"#1b1f23","tab.hoverBackground":"#24292e","tab.inactiveBackground":"#1f2428","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#24292e","tab.unfocusedActiveBorderTop":"#1b1f23","tab.unfocusedHoverBackground":"#24292e","terminal.ansiBlack":"#586069","terminal.ansiBlue":"#2188ff","terminal.ansiBrightBlack":"#959da5","terminal.ansiBrightBlue":"#79b8ff","terminal.ansiBrightCyan":"#56d4dd","terminal.ansiBrightGreen":"#85e89d","terminal.ansiBrightMagenta":"#b392f0","terminal.ansiBrightRed":"#f97583","terminal.ansiBrightWhite":"#fafbfc","terminal.ansiBrightYellow":"#ffea7f","terminal.ansiCyan":"#39c5cf","terminal.ansiGreen":"#34d058","terminal.ansiMagenta":"#b392f0","terminal.ansiRed":"#ea4a5a","terminal.ansiWhite":"#d1d5da","terminal.ansiYellow":"#ffea7f","terminal.foreground":"#d1d5da","terminal.tab.activeBorder":"#f9826c","terminalCursor.background":"#586069","terminalCursor.foreground":"#79b8ff","textBlockQuote.background":"#24292e","textBlockQuote.border":"#444d56","textCodeBlock.background":"#2f363d","textLink.activeForeground":"#c8e1ff","textLink.foreground":"#79b8ff","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#24292e","titleBar.activeForeground":"#e1e4e8","titleBar.border":"#1b1f23","titleBar.inactiveBackground":"#1f2428","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"GitHub Dark","name":"github-dark","semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#6a737d"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language"],"settings":{"foreground":"#79b8ff"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#b392f0"}},{"scope":"variable.parameter.function","settings":{"foreground":"#e1e4e8"}},{"scope":"entity.name.tag","settings":{"foreground":"#85e89d"}},{"scope":"keyword","settings":{"foreground":"#f97583"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#f97583"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#e1e4e8"}},{"scope":["string","punctuation.definition.string","string punctuation.section.embedded source"],"settings":{"foreground":"#9ecbff"}},{"scope":"support","settings":{"foreground":"#79b8ff"}},{"scope":"meta.property-name","settings":{"foreground":"#79b8ff"}},{"scope":"variable","settings":{"foreground":"#ffab70"}},{"scope":"variable.other","settings":{"foreground":"#e1e4e8"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#79b8ff"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#dbedff"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#dbedff"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#85e89d"}},{"scope":"support.constant","settings":{"foreground":"#79b8ff"}},{"scope":"support.variable","settings":{"foreground":"#79b8ff"}},{"scope":"meta.module-reference","settings":{"foreground":"#79b8ff"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#ffab70"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"markup.quote","settings":{"foreground":"#85e89d"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#e1e4e8"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#e1e4e8"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#79b8ff"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"fontStyle":"underline","foreground":"#dbedff"}}],"type":"dark"}')),zA=[Promise.resolve().then(()=>require("./javascript-DgmXW4Ha.cjs")),Promise.resolve().then(()=>require("./typescript-b48wo4zk.cjs")),Promise.resolve().then(()=>require("./json-YkPizm35.cjs"))];let Oo=null,Mo=null;async function Va(){return Oo||(Mo||(Mo=vA({themes:[FA,HA],langs:zA,engine:BA(Promise.resolve().then(()=>require("./wasm-Dw4u1m6u.cjs")))}).then(e=>(Oo=e,e))),Mo)}function UA(e){const t=[],r=e.default||e;if(Array.isArray(r))for(const n of r)n&&n.name&&t.push(n);else r&&typeof r=="object"&&r.name&&t.push(r);if(t.length===0&&typeof e=="object")for(const n of Object.keys(e)){if(n==="default"||n==="__esModule")continue;const i=e[n];if(Array.isArray(i))for(const a of i)a&&a.name&&t.push(a);else i&&typeof i=="object"&&i.name&&t.push(i)}return t}async function eu(e){if(!e||Array.isArray(e)&&e.length===0)return;const t=await Va(),r=t.getLoadedLanguages(),n=Array.isArray(e)?e:[e],i=await Promise.all(n);for(const a of i){const s=UA(a);for(const o of s)if(o.name&&!r.includes(o.name))try{await t.loadLanguage(o)}catch{}}}async function j2(e,t,r="light"){const n=await Va(),a=n.getLoadedLanguages().includes(t)?t:"text",s=r==="dark"?"github-dark":"github-light";try{return n.codeToHtml(e,{lang:a,theme:s})}catch{return`<pre><code>${e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}</code></pre>`}}async function G2(){return(await Va()).getLoadedLanguages()}const VA=["tip","warning","danger","info","note","caution"];function $2(e){const t=e.split(`
543
+ `),r=[];let n=0;for(;n<t.length;){const i=t[n],a=i.trim();if(a.startsWith(":::")&&a!==":::"){const s=a.slice(3).trim();if(s){const o=s.indexOf(" "),l=o>0?s.slice(0,o):s,c=o>0?s.slice(o+1).trim():"";if(VA.includes(l.toLowerCase())){const h=l.toLowerCase(),f=[];for(n++;n<t.length;){const m=t[n];if(m.trim()===":::")break;f.push(m),n++}const g=f.join(`
544
+ `).trim();c?(r.push(""),r.push(`<MdContainer type="${h}" title="${qA(c)}">`)):(r.push(""),r.push(`<MdContainer type="${h}">`)),r.push(""),r.push(g),r.push(""),r.push("</MdContainer>"),r.push(""),n++;continue}}}r.push(i),n++}return r.join(`
545
+ `)}function qA(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}let bs=null;function xs(){if(bs)return bs;const e=document.createElement("div");document.body.appendChild(e);const t=y.ref(null);return y.createApp({setup:()=>()=>y.h(c2,{ref:t})}).mount(e),bs={show:(n,i="info",a=2e3)=>{setTimeout(()=>{var s;return(s=t.value)==null?void 0:s.show(n,i,a)},0)},hide:()=>{var n;return(n=t.value)==null?void 0:n.hide()}},bs}const xn={success:(e,t=2e3)=>xs().show(e,"success",t),error:(e,t=2e3)=>xs().show(e,"error",t),warning:(e,t=2e3)=>xs().show(e,"warning",t),info:(e,t=2e3)=>xs().show(e,"info",t)},jA=y.defineComponent({__name:"Anchor",props:{href:{},alwaysVisible:{type:Boolean}},setup(e){const t=e,r=y.ref(!1);async function n(i){i.preventDefault(),i.stopPropagation();const a=`${window.location.origin}${window.location.pathname}#${t.href}`;await za(a)?(r.value=!0,xn.success("链接已复制"),setTimeout(()=>{r.value=!1},2e3)):xn.error("复制失败")}return(i,a)=>(y.openBlock(),y.createElementBlock("span",{class:"md-anchor",onClick:n},[y.createVNode(f2,{content:r.value?"已复制":"复制链接",position:"top"},{default:y.withCtx(()=>[y.createElementVNode("span",{class:y.normalizeClass(["md-anchor__icon",{"md-anchor__icon--visible":e.alwaysVisible}])},[y.createVNode(St,{name:"link",size:14})],2)]),_:1},8,["content"])]))}}),W2=Ke(jA,[["__scopeId","data-v-c48dbf36"]]),GA=["aria-checked","aria-disabled","tabindex","onKeydown"],$A={class:"md-checkbox__inner"},WA={key:0,class:"md-checkbox__icon",viewBox:"0 0 16 16",fill:"none"},YA={key:1,class:"md-checkbox__icon",viewBox:"0 0 16 16",fill:"none"},XA={key:0,class:"md-checkbox__label"},JA=y.defineComponent({__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:t}){const r=e,n=t;function i(){if(r.disabled)return;const a=!r.modelValue;n("update:modelValue",a),n("change",a)}return(a,s)=>(y.openBlock(),y.createElementBlock("span",{class:y.normalizeClass(["md-checkbox",{"md-checkbox--checked":e.modelValue,"md-checkbox--disabled":e.disabled,"md-checkbox--indeterminate":e.indeterminate}]),role:"checkbox","aria-checked":e.indeterminate?"mixed":e.modelValue,"aria-disabled":e.disabled,tabindex:e.disabled?-1:0,onClick:i,onKeydown:[y.withKeys(y.withModifiers(i,["prevent"]),["space"]),y.withKeys(i,["enter"])]},[y.createElementVNode("span",$A,[e.modelValue&&!e.indeterminate?(y.openBlock(),y.createElementBlock("svg",WA,[...s[0]||(s[0]=[y.createElementVNode("path",{d:"M3.5 8L6.5 11L12.5 5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):e.indeterminate?(y.openBlock(),y.createElementBlock("svg",YA,[...s[1]||(s[1]=[y.createElementVNode("path",{d:"M4 8H12",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)])])):y.createCommentVNode("",!0)]),a.$slots.default?(y.openBlock(),y.createElementBlock("span",XA,[y.renderSlot(a.$slots,"default",{},void 0,!0)])):y.createCommentVNode("",!0)],42,GA))}}),QA=Ke(JA,[["__scopeId","data-v-8fcb2b90"]]),KA={key:0,class:"md-tag__prefix"},ZA={class:"md-tag__content"},eI=y.defineComponent({__name:"Tag",props:{size:{default:"default"},type:{default:"light"},color:{default:"default"},closable:{type:Boolean,default:!1}},emits:["click","close"],setup(e,{emit:t}){const r=e,n=t,i=y.ref(!0),a={default:{bg:"#f1f5f9",text:"#475569",border:"#e2e8f0"},primary:{bg:"#eff6ff",text:"#2563eb",border:"#bfdbfe"},success:{bg:"#f0fdf4",text:"#16a34a",border:"#bbf7d0"},warning:{bg:"#fffbeb",text:"#d97706",border:"#fde68a"},danger:{bg:"#fef2f2",text:"#dc2626",border:"#fecaca"},info:{bg:"#f0f9ff",text:"#0284c7",border:"#bae6fd"}},s=y.computed(()=>{const l=a[r.color];return r.type==="solid"?{background:l.text,color:"#fff",borderColor:l.text}:r.type==="ghost"?{background:"transparent",color:l.text,borderColor:l.text}:{background:l.bg,color:l.text,borderColor:l.border}});function o(){n("close"),i.value=!1}return(l,c)=>i.value?(y.openBlock(),y.createElementBlock("span",{key:0,class:y.normalizeClass(["md-tag",[`md-tag--${e.size}`,`md-tag--${e.type}`,`md-tag--${e.color}`,{"md-tag--closable":e.closable}]]),style:y.normalizeStyle(s.value),onClick:c[0]||(c[0]=h=>l.$emit("click",h))},[l.$slots.prefix?(y.openBlock(),y.createElementBlock("span",KA,[y.renderSlot(l.$slots,"prefix",{},void 0,!0)])):y.createCommentVNode("",!0),y.createElementVNode("span",ZA,[y.renderSlot(l.$slots,"default",{},void 0,!0)]),e.closable?(y.openBlock(),y.createElementBlock("span",{key:1,class:"md-tag__close",onClick:y.withModifiers(o,["stop"])},[y.createVNode(St,{name:"x",size:12})])):y.createCommentVNode("",!0)],6)):y.createCommentVNode("",!0)}}),tI=Ke(eI,[["__scopeId","data-v-6fba1055"]]),rI=["aria-orientation"],nI=y.defineComponent({__name:"Divider",props:{layout:{default:"horizontal"},dashed:{type:Boolean,default:!1},align:{default:"center"},margin:{}},setup(e){const t=e,r=y.useSlots(),n=y.computed(()=>!!r.default),i=y.computed(()=>{const a={};if(t.margin!==void 0){const s=typeof t.margin=="number"?`${t.margin}px`:t.margin;t.layout==="vertical"?(a.marginLeft=s,a.marginRight=s):(a.marginTop=s,a.marginBottom=s)}return a});return(a,s)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-divider",[`md-divider--${e.layout}`,{"md-divider--dashed":e.dashed,"md-divider--with-text":n.value}]]),style:y.normalizeStyle(i.value),role:"separator","aria-orientation":e.layout},[n.value&&e.layout==="horizontal"?(y.openBlock(),y.createElementBlock("span",{key:0,class:y.normalizeClass(["md-divider__text",`md-divider__text--${e.align}`])},[y.renderSlot(a.$slots,"default",{},void 0,!0)],2)):y.createCommentVNode("",!0)],14,rI))}}),iI=Ke(nI,[["__scopeId","data-v-e95f7b5f"]]),R0=Symbol("HeadingCollapse");function Y2(){const e=y.ref(new Set),n={collapsedIds:e,toggle:i=>{const a=new Set(e.value);a.has(i)?a.delete(i):a.add(i),e.value=a},isCollapsed:i=>e.value.has(i)};return y.provide(R0,n),n}function X2(){return y.inject(R0,null)}function fd(){return Math.random().toString(36).slice(2,8)}function P0(e){const t=e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\u4e00-\u9fa5-]/g,"").slice(0,20);return t?`${t}-${fd()}`:`heading-${fd()}`}function dd(e,t,r){let n=e.nextElementSibling;for(;n;){const i=n.tagName.toLowerCase();if(/^h[1-6]$/.test(i)&&parseInt(i[1])<=t)break;const a=n;r?(a.setAttribute("data-collapsed","true"),a.style.display="none"):(a.removeAttribute("data-collapsed"),a.style.display=""),n=n.nextElementSibling}}const aI={class:"md-heading__text"},sI=y.defineComponent({inheritAttrs:!1,__name:"Heading",props:{level:{default:1},showAnchor:{type:Boolean,default:!1}},setup(e){const t=e,r=y.useSlots(),n=y.ref(),i=X2(),a=y.computed(()=>`h${t.level}`),s=y.computed(()=>`md-heading--h${t.level}`),o=(()=>{var g;const h=(g=r.default)==null?void 0:g.call(r),f=h?vi(h):"";return P0(f)})(),l=y.computed(()=>i?i.isCollapsed(o):!1);function c(){!i||!n.value||(i.toggle(o),y.nextTick(()=>{n.value&&dd(n.value,t.level,i.isCollapsed(o))}))}return y.watch(l,h=>{y.nextTick(()=>{n.value&&dd(n.value,t.level,h)})}),(h,f)=>(y.openBlock(),y.createBlock(y.resolveDynamicComponent(a.value),y.mergeProps({ref_key:"headingRef",ref:n,id:y.unref(o),class:["md-heading",[s.value,{"md-heading--collapsed":l.value}]]},h.$attrs),{default:y.withCtx(()=>[y.createElementVNode("span",{class:"md-heading__toggle",onClick:y.withModifiers(c,["stop","prevent"])},[y.createVNode(y.unref(St),{name:l.value?"chevron-right":"chevron-down",size:14},null,8,["name"])]),y.createElementVNode("span",aI,[y.renderSlot(h.$slots,"default",{},void 0,!0)]),e.showAnchor?(y.openBlock(),y.createBlock(y.unref(W2),{key:0,href:y.unref(o)},null,8,["href"])):y.createCommentVNode("",!0)]),_:3},16,["id","class"]))}}),D0=Ke(sI,[["__scopeId","data-v-a14f41d1"]]),Du=y.defineComponent({__name:"List",props:{ordered:{type:Boolean,default:!1}},setup(e){const r=e.ordered?"ol":"ul";return(n,i)=>(y.openBlock(),y.createBlock(y.resolveDynamicComponent(y.unref(r)),{class:y.normalizeClass(["md-list",`md-list--${y.unref(r)}`])},{default:y.withCtx(()=>[y.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),uI=["href","target","rel"],oI=y.defineComponent({inheritAttrs:!1,__name:"Link",props:{href:{},showExternalIcon:{type:Boolean,default:!0}},setup(e){const t=e,r=y.computed(()=>t.href?t.href.startsWith("http://")||t.href.startsWith("https://"):!1),n=y.computed(()=>r.value?"_blank":void 0),i=y.computed(()=>r.value?"noopener noreferrer":void 0);return(a,s)=>(y.openBlock(),y.createElementBlock("a",y.mergeProps({class:["md-link",{"md-link--external":r.value}],href:e.href,target:n.value,rel:i.value},a.$attrs),[y.renderSlot(a.$slots,"default",{},void 0,!0),r.value&&e.showExternalIcon?(y.openBlock(),y.createBlock(y.unref(St),{key:0,name:"external-link",size:12,class:"md-link__icon"})):y.createCommentVNode("",!0)],16,uI))}}),J2=Ke(oI,[["__scopeId","data-v-7a7ee4da"]]),lI=y.defineComponent({inheritAttrs:!1,__name:"Paragraph",setup(e){return(t,r)=>(y.openBlock(),y.createElementBlock("p",y.mergeProps({class:"md-paragraph"},t.$attrs),[y.renderSlot(t.$slots,"default",{},void 0,!0)],16))}}),Q2=Ke(lI,[["__scopeId","data-v-e4b3a92f"]]),cI={class:"md-figure"},hI={class:"md-figure__mask"},fI={key:0,class:"md-figure__caption"},dI=y.defineComponent({__name:"MdImage",props:{src:{},alt:{}},setup(e){const t=y.ref(!1);return(r,n)=>(y.openBlock(),y.createElementBlock("figure",cI,[y.createElementVNode("div",{class:"md-figure__image",onClick:n[0]||(n[0]=i=>t.value=!0)},[y.createVNode(y.unref(o2),{src:e.src,alt:e.alt,width:"100%",fit:"contain"},null,8,["src","alt"]),y.createElementVNode("div",hI,[y.createVNode(y.unref(St),{name:"zoom-in",size:32})])]),e.alt?(y.openBlock(),y.createElementBlock("figcaption",fI,y.toDisplayString(e.alt),1)):y.createCommentVNode("",!0),y.createVNode(y.unref(l2),{visible:t.value,src:e.src||"",title:e.alt,onClose:n[1]||(n[1]=i=>t.value=!1)},null,8,["visible","src","title"])]))}}),K2=Ke(dI,[["__scopeId","data-v-59322efc"]]),pI={},mI={class:"md-inline-code"};function gI(e,t){return y.openBlock(),y.createElementBlock("code",mI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const Z2=Ke(pI,[["render",gI],["__scopeId","data-v-9883d06e"]]),bI={class:"md-list-item"},kl=y.defineComponent({__name:"ListItem",setup(e){return(t,r)=>(y.openBlock(),y.createElementBlock("li",bI,[y.renderSlot(t.$slots,"default")]))}}),xI=y.defineComponent({__name:"HorizontalRule",props:{dashed:{type:Boolean,default:!1}},setup(e){return(t,r)=>(y.openBlock(),y.createElementBlock("hr",{class:y.normalizeClass(["md-hr",{"md-hr--dashed":e.dashed}])},null,2))}}),tu=Ke(xI,[["__scopeId","data-v-af92b102"]]),yI={},vI={class:"md-strong"};function EI(e,t){return y.openBlock(),y.createElementBlock("strong",vI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const ru=Ke(yI,[["render",EI],["__scopeId","data-v-c59b0755"]]),kI={},TI={class:"md-em"};function wI(e,t){return y.openBlock(),y.createElementBlock("em",TI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const nu=Ke(kI,[["render",wI],["__scopeId","data-v-d0acaae2"]]),SI={},_I={class:"md-del"};function CI(e,t){return y.openBlock(),y.createElementBlock("del",_I,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const iu=Ke(SI,[["render",CI],["__scopeId","data-v-43b75c80"]]),AI={},II={class:"md-mark"};function NI(e,t){return y.openBlock(),y.createElementBlock("mark",II,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const Tl=Ke(AI,[["render",NI],["__scopeId","data-v-477a3338"]]),LI={class:"md-block-header"},RI={class:"md-block-header__label"},PI={class:"md-block-header__actions"},DI=["title"],OI=y.defineComponent({__name:"BlockHeader",props:{label:{},copyable:{type:Boolean}},emits:["copy"],setup(e,{expose:t,emit:r}){const n=r,i=y.ref(!1);function a(){n("copy"),i.value=!0,setTimeout(()=>{i.value=!1},2e3)}return t({copied:i}),(s,o)=>(y.openBlock(),y.createElementBlock("div",LI,[y.createElementVNode("span",RI,y.toDisplayString(e.label),1),y.createElementVNode("div",PI,[y.renderSlot(s.$slots,"extra",{},void 0,!0),y.renderSlot(s.$slots,"actions",{},void 0,!0),e.copyable?(y.openBlock(),y.createElementBlock("button",{key:0,class:"md-block-header__btn",title:i.value?"已复制":"复制",onClick:a},[i.value?(y.openBlock(),y.createBlock(y.unref(St),{key:1,name:"check",size:14})):(y.openBlock(),y.createBlock(y.unref(St),{key:0,name:"copy",size:14}))],8,DI)):y.createCommentVNode("",!0)])]))}}),qa=Ke(OI,[["__scopeId","data-v-121723d1"]]),O0=Symbol("MarkdownTheme"),MI=["title"],BI={key:0,class:"md-mermaid__source"},FI={key:1,class:"md-mermaid__body"},HI={key:0,class:"md-mermaid__loading"},zI={key:1,class:"md-mermaid__error-msg"},UI=["innerHTML"],VI=y.defineComponent({__name:"Mermaid",props:{code:{}},setup(e){const t=e,r=y.inject(O0,y.ref("light")),n=y.ref(),i=y.ref(""),a=y.ref(!0),s=y.ref(!1),o=y.ref(""),l=y.ref(!1);let c=0;function h(){return`mermaid-${Date.now()}-${c++}`}async function f(){if(t.code){a.value=!0,s.value=!1,o.value="";try{const m=(await Promise.resolve().then(()=>require("./mermaid.core-D53Nknii.cjs")).then(C=>C.mermaid_core)).default;m.initialize({startOnLoad:!1,theme:r.value==="dark"?"dark":"default",securityLevel:"loose",fontFamily:"inherit"});const E=h(),{svg:w}=await m.render(E,t.code.trim());i.value=w}catch(m){s.value=!0,o.value=(m==null?void 0:m.message)||String(m),console.error("Mermaid render error:",m)}finally{a.value=!1}}}async function g(){await za(t.code)?xn.success("复制成功"):xn.error("复制失败")}return y.onMounted(f),y.watch(()=>t.code,()=>{y.nextTick(f)}),y.watch(r,()=>{y.nextTick(f)}),(m,E)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-mermaid",{"md-mermaid--error":s.value}])},[y.createVNode(qa,{label:"mermaid",copyable:"",onCopy:g},{extra:y.withCtx(()=>[s.value?y.createCommentVNode("",!0):(y.openBlock(),y.createElementBlock("button",{key:0,class:"md-mermaid__toggle",onClick:E[0]||(E[0]=w=>l.value=!l.value),title:l.value?"查看图表":"查看源码"},[y.createVNode(y.unref(St),{name:l.value?"eye":"code-2",size:14},null,8,["name"])],8,MI))]),_:1}),l.value?(y.openBlock(),y.createElementBlock("div",BI,[y.createElementVNode("pre",null,[y.createElementVNode("code",null,y.toDisplayString(e.code),1)])])):(y.openBlock(),y.createElementBlock("div",FI,[a.value?(y.openBlock(),y.createElementBlock("div",HI,[...E[1]||(E[1]=[y.createElementVNode("span",{class:"md-mermaid__spinner"},null,-1)])])):s.value?(y.openBlock(),y.createElementBlock("div",zI,[E[2]||(E[2]=y.createElementVNode("p",null,"Mermaid 渲染失败",-1)),y.createElementVNode("pre",null,y.toDisplayString(o.value),1)])):(y.openBlock(),y.createElementBlock("div",{key:2,ref_key:"containerRef",ref:n,class:"md-mermaid__svg",innerHTML:i.value},null,8,UI))]))],2))}}),M0=Ke(VI,[["__scopeId","data-v-2a6a06d3"]]),qI=["title"],jI={key:0,class:"md-code-block__lines","aria-hidden":"true"},GI=["innerHTML"],$I=y.defineComponent({__name:"CodeBlock",props:{className:{},showLineNumbers:{type:Boolean,default:!1},collapsible:{type:[Boolean,String],default:"auto"},maxHeight:{default:400},maxLines:{default:15},defaultExpanded:{type:Boolean,default:!1}},setup(e){const t=e,r=y.useSlots(),n=y.ref(),i=y.ref(""),a=y.ref(""),s=y.ref("text"),o=y.ref(1),l=y.ref(t.defaultExpanded),c=y.inject(O0,y.ref("light")),h=y.computed(()=>s.value||"text"),f=y.computed(()=>s.value==="mermaid"),g=y.computed(()=>t.collapsible===!0?!0:t.collapsible===!1?!1:o.value>t.maxLines),m=y.computed(()=>!g.value||l.value?{maxHeight:"none"}:{maxHeight:`${t.maxHeight}px`}),E=()=>{l.value=!l.value};async function w(A,N){const H=p2(N);return j2(A,H,c.value)}async function C(){var P;const A=(P=r.default)==null?void 0:P.call(r);if(!A)return;let N=vi(A);N=m2(N),a.value=N,o.value=N.split(`
546
+ `).length;let H=qs(A);if(H==="text"&&t.className){const b=t.className.match(/language-(\w+)/);b&&(H=b[1])}s.value=H,i.value=await w(N,H)}y.onMounted(C),y.watch(()=>{var A;return(A=r.default)==null?void 0:A.call(r)},C,{deep:!0}),y.watch(c,()=>{C()});async function T(){await za(a.value)?xn.success("复制成功"):xn.error("复制失败")}return(A,N)=>f.value?(y.openBlock(),y.createBlock(M0,{key:0,code:a.value},null,8,["code"])):(y.openBlock(),y.createElementBlock("div",{key:1,class:y.normalizeClass(["md-code-block",{"md-code-block--expanded":l.value}])},[y.createVNode(qa,{label:h.value,copyable:"",onCopy:T},y.createSlots({_:2},[g.value?{name:"extra",fn:y.withCtx(()=>[y.createElementVNode("button",{class:"md-code-block__toggle",onClick:E,title:l.value?"收起":"展开"},[y.createVNode(y.unref(St),{name:l.value?"chevron-up":"chevron-down",size:14},null,8,["name"])],8,qI)]),key:"0"}:void 0]),1032,["label"]),y.createElementVNode("div",{ref_key:"bodyRef",ref:n,class:"md-code-block__body",style:y.normalizeStyle(m.value)},[e.showLineNumbers?(y.openBlock(),y.createElementBlock("div",jI,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(o.value,H=>(y.openBlock(),y.createElementBlock("span",{key:H,class:"md-code-block__line-number"},y.toDisplayString(H),1))),128))])):y.createCommentVNode("",!0),y.createElementVNode("div",{class:"md-code-block__code",innerHTML:i.value},null,8,GI)],4)],2))}}),B0=Ke($I,[["__scopeId","data-v-601b5d5e"]]),WI={class:"md-table"},YI=y.defineComponent({__name:"Table",setup(e){const t=y.ref();async function r(){if(!t.value)return;const n=t.value.querySelector("table");if(!n)return;const a=Array.from(n.querySelectorAll("tr")).map(o=>Array.from(o.querySelectorAll("th, td")).map(c=>{var h;return((h=c.textContent)==null?void 0:h.trim())||""}).join(" ")).join(`
547
+ `);await za(a)?xn.success("复制成功"):xn.error("复制失败")}return(n,i)=>(y.openBlock(),y.createElementBlock("div",WI,[y.createVNode(qa,{label:"表格",copyable:"",onCopy:r}),y.createElementVNode("div",{class:"md-table__body",ref_key:"tableRef",ref:t},[y.createElementVNode("table",null,[y.renderSlot(n.$slots,"default",{},void 0,!0)])],512)]))}}),F0=Ke(YI,[["__scopeId","data-v-0c69eec3"]]),XI=y.defineComponent({__name:"Blockquote",props:{collapsible:{type:[Boolean,String],default:"auto"},maxHeight:{default:150},defaultExpanded:{type:Boolean,default:!1}},setup(e){const t=e,r=y.ref(),n=y.ref(0),i=y.ref(t.defaultExpanded),a=y.computed(()=>t.collapsible===!0?!0:t.collapsible===!1?!1:n.value>t.maxHeight),s=y.computed(()=>!a.value||i.value?{}:{maxHeight:`${t.maxHeight}px`,overflow:"hidden"});y.onMounted(()=>{y.nextTick(()=>{if(r.value){const l=r.value.querySelector(".md-blockquote__content");l&&(n.value=l.scrollHeight)}})});function o(){i.value=!i.value}return(l,c)=>(y.openBlock(),y.createElementBlock("blockquote",{ref_key:"blockquoteRef",ref:r,class:y.normalizeClass(["md-blockquote",{"md-blockquote--collapsible":a.value,"md-blockquote--collapsed":a.value&&!i.value}])},[y.createElementVNode("div",{class:"md-blockquote__content",style:y.normalizeStyle(s.value)},[y.renderSlot(l.$slots,"default",{},void 0,!0)],4),a.value?(y.openBlock(),y.createElementBlock("div",{key:0,class:"md-blockquote__toggle",onClick:o},[y.createElementVNode("span",null,y.toDisplayString(i.value?"收起":"展开更多"),1),y.createVNode(y.unref(St),{name:i.value?"chevron-up":"chevron-down",size:16},null,8,["name"])])):y.createCommentVNode("",!0)],2))}}),H0=Ke(XI,[["__scopeId","data-v-277128d9"]]),JI={class:"md-container__icon"},QI={class:"md-container__main"},KI={class:"md-container__header"},ZI={class:"md-container__content"},eN=y.defineComponent({__name:"Container",props:{type:{default:"info"},title:{default:""}},setup(e){const t=e,r=y.computed(()=>`md-container--${t.type}`),n=y.computed(()=>({tip:"lightbulb",warning:"alert-triangle",danger:"alert-circle",info:"info"})[t.type]||"info"),i=y.computed(()=>t.title?t.title:{tip:"提示",warning:"注意",danger:"警告",info:"信息"}[t.type]||"信息");return(a,s)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-container",r.value]),role:"alert"},[y.createElementVNode("div",JI,[y.createVNode(y.unref(St),{name:n.value,size:16,"stroke-width":2.5},null,8,["name"])]),y.createElementVNode("div",QI,[y.createElementVNode("div",KI,y.toDisplayString(i.value),1),y.createElementVNode("div",ZI,[y.renderSlot(a.$slots,"default",{},void 0,!0)])])],2))}}),z0=Ke(eN,[["__scopeId","data-v-7e9ace9e"]]),tN={class:"md-toc-inner"},rN={class:"md-toc-nav"},nN=["href","title","onClick"],iN={class:"md-toc-link-text"},U0=y.defineComponent({__name:"Toc",props:{items:{},docTitle:{},minLevel:{default:2},maxLevel:{default:4},activeId:{},mode:{default:"sidebar"},className:{},scrollContainer:{},stickyTop:{}},emits:["click","update:activeId"],setup(e,{emit:t}){const r=e,n=t,i=y.computed(()=>r.items.filter(C=>C.level>=r.minLevel&&C.level<=r.maxLevel)),a=y.computed(()=>{const C=["md-toc",`md-toc-${r.mode}`];return r.className&&C.push(r.className),C}),s=y.computed(()=>{if(r.stickyTop)return{"--toc-top":r.stickyTop,"--toc-max-height":`calc(100vh - ${r.stickyTop} - 16px)`}}),o=y.ref(null),l=new Map;function c(C,T){T?l.set(C,T):l.delete(C)}const h=y.ref(r.activeId||"");y.watch(()=>r.activeId,C=>{C!==void 0&&(h.value=C)});const f=y.computed(()=>h.value);y.watch(f,C=>{if(!C||!o.value)return;const T=l.get(C);if(!T)return;const A=o.value,N=A.getBoundingClientRect(),H=T.getBoundingClientRect(),P=H.top-N.top,b=H.bottom-N.top,R=A.clientHeight,j=P<20,Y=b>R-20;if(j||Y){const G=P-R/2+T.clientHeight/2;A.scrollTo({top:A.scrollTop+G,behavior:"smooth"})}});function g(C,T){T.preventDefault();const A=document.getElementById(C.id);A&&(h.value=C.id,n("update:activeId",C.id),n("click",C),A.scrollIntoView({behavior:"smooth",block:"start"}),history.replaceState(null,"",`#${C.id}`))}let m=null;const E=y.ref(new Map);function w(){m&&(m.disconnect(),m=null),i.value.length!==0&&(m=new IntersectionObserver(C=>{C.forEach(A=>{const N=A.target.id;A.isIntersecting?E.value.set(N,1):E.value.delete(N)});let T=null;for(const A of i.value){const N=document.getElementById(A.id);if(!N)continue;if(N.getBoundingClientRect().top<=100)T=A;else break}!T&&i.value.length>0&&(T=i.value[0]),T&&h.value!==T.id&&(h.value=T.id,n("update:activeId",T.id))},{root:r.scrollContainer||null,rootMargin:"0px",threshold:0}),i.value.forEach(C=>{const T=document.getElementById(C.id);T&&m&&m.observe(T)}))}return y.watch(()=>r.scrollContainer,()=>{y.nextTick(()=>{w()})}),y.watch(()=>r.items,()=>{y.nextTick(()=>{w()})},{deep:!0,flush:"post"}),y.onMounted(()=>{y.nextTick(()=>{w()})}),y.onUnmounted(()=>{m&&(m.disconnect(),m=null)}),(C,T)=>(y.openBlock(),y.createElementBlock("aside",{ref_key:"asideRef",ref:o,class:y.normalizeClass(a.value),style:y.normalizeStyle(s.value)},[y.createElementVNode("div",tN,[y.createElementVNode("nav",rN,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(i.value,A=>(y.openBlock(),y.createElementBlock("a",{key:A.id,ref_for:!0,ref:N=>c(A.id,N),href:`#${A.id}`,class:y.normalizeClass(["md-toc-link",`md-toc-link--level-${A.level}`,{"md-toc-link--active":f.value===A.id}]),style:y.normalizeStyle({paddingLeft:`${(A.level-r.minLevel)*12}px`}),title:A.text,onClick:N=>g(A,N)},[y.createElementVNode("span",iN,y.toDisplayString(A.text),1)],14,nN))),128))])])],6))}}),aN={key:0,class:"md-toc-mobile"},sN=["title"],uN={key:0,class:"md-toc-mobile__panel"},oN={class:"md-toc-mobile__nav"},lN=["href","onClick"],V0=y.defineComponent({__name:"TocMobile",props:{items:{},activeId:{},minLevel:{default:2},maxLevel:{default:4}},emits:["click"],setup(e,{emit:t}){const r=e,n=t,i=y.ref(!1),a=y.computed(()=>r.items.filter(h=>h.level>=r.minLevel&&h.level<=r.maxLevel));function s(){i.value=!i.value,i.value?document.body.style.overflow="hidden":document.body.style.overflow=""}function o(){i.value=!1,document.body.style.overflow=""}function l(h,f){f.preventDefault(),o();const g=document.getElementById(h.id);g&&(g.scrollIntoView({behavior:"smooth",block:"start"}),history.replaceState(null,"",`#${h.id}`)),n("click",h)}function c(){window.innerWidth>1024&&i.value&&o()}return y.onMounted(()=>{window.addEventListener("resize",c,{passive:!0})}),y.onUnmounted(()=>{window.removeEventListener("resize",c),document.body.style.overflow=""}),(h,f)=>e.items.length>0?(y.openBlock(),y.createElementBlock("div",aN,[y.createElementVNode("button",{class:"md-toc-mobile__trigger",onClick:s,title:i.value?"关闭目录":"页面导航"},[...f[0]||(f[0]=[y.createStaticVNode('<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="12" x2="15" y2="12"></line><line x1="3" y1="18" x2="9" y2="18"></line></svg><span class="md-toc-mobile__trigger-text">目录</span>',2)])],8,sN),y.createVNode(y.Transition,{name:"md-toc-overlay"},{default:y.withCtx(()=>[i.value?(y.openBlock(),y.createElementBlock("div",{key:0,class:"md-toc-mobile__overlay",onClick:o})):y.createCommentVNode("",!0)]),_:1}),y.createVNode(y.Transition,{name:"md-toc-panel"},{default:y.withCtx(()=>[i.value?(y.openBlock(),y.createElementBlock("div",uN,[y.createElementVNode("div",{class:"md-toc-mobile__header"},[f[2]||(f[2]=y.createElementVNode("span",{class:"md-toc-mobile__title"},"目录导航",-1)),y.createElementVNode("button",{class:"md-toc-mobile__close",onClick:o,title:"关闭"},[...f[1]||(f[1]=[y.createElementVNode("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[y.createElementVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),y.createElementVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])]),y.createElementVNode("nav",oN,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(a.value,g=>(y.openBlock(),y.createElementBlock("a",{key:g.id,href:`#${g.id}`,class:y.normalizeClass(["md-toc-mobile__link",`md-toc-mobile__link--level-${g.level}`,{"md-toc-mobile__link--active":e.activeId===g.id}]),style:y.normalizeStyle({paddingLeft:`${16+(g.level-e.minLevel)*12}px`}),onClick:m=>l(g,m)},y.toDisplayString(g.text),15,lN))),128))])])):y.createCommentVNode("",!0)]),_:1})])):y.createCommentVNode("",!0)}});function Ui(e){return y.defineComponent({name:`MdH${e}`,inheritAttrs:!1,setup(t,{attrs:r,slots:n}){return()=>y.h(D0,{...r,level:e},n)}})}const eg=Ui(1),tg=Ui(2),rg=Ui(3),ng=Ui(4),ig=Ui(5),ag=Ui(6),q0=y.defineComponent({name:"MdUl",setup(e,{slots:t}){return()=>y.h(Du,{ordered:!1},t)}}),j0=y.defineComponent({name:"MdOl",setup(e,{slots:t}){return()=>y.h(Du,{ordered:!0},t)}}),cN=Object.freeze(Object.defineProperty({__proto__:null,BlockHeader:qa,Blockquote:H0,CodeBlock:B0,Container:z0,Delete:iu,Emphasis:nu,Heading:D0,HorizontalRule:tu,List:Du,ListItem:kl,Mark:Tl,Mermaid:M0,Strong:ru,Table:F0,Toc:U0,TocMobile:V0,a:J2,code:Z2,del:iu,em:nu,h1:eg,h2:tg,h3:rg,h4:ng,h5:ig,h6:ag,hr:tu,img:K2,li:kl,mark:Tl,ol:j0,p:Q2,strong:ru,ul:q0},Symbol.toStringTag,{value:"Module"})),sg=y.defineComponent({__name:"MarkdownRender",props:{raw:{default:""},components:{default:()=>({})},format:{default:"md"},remarkPlugins:{},rehypePlugins:{},remarkGfm:{type:Boolean,default:!0},style:{},className:{},prefix:{default:"md"},theme:{default:"light"},height:{},maxHeight:{},showToc:{type:Boolean,default:!1},tocMinLevel:{default:2},tocMaxLevel:{default:4},docTitle:{},tocMode:{default:"sidebar"},tocStickyTop:{},showBackTop:{type:Boolean,default:!1},backTopThreshold:{default:300},extraLangs:{default:()=>[]}},emits:["rendered","error","toc-change","scroll-to-top","toc-click"],setup(e,{emit:t}){Y2();const r=e,n=t,i=y.computed(()=>`${r.prefix}-render`),a=y.ref("div"),s=y.ref(!0),o=y.computed(()=>r.theme==="dark"?"dark":"light");y.provide(O0,o);const l=y.ref(null),c=y.ref(null),h=y.ref([]),f=y.ref(""),g=y.ref(!1),m=y.computed(()=>!!(r.height||r.maxHeight)),E=y.computed(()=>m.value?l.value:null),w=y.computed(()=>{const Q=[i.value];return r.theme==="dark"&&Q.push(`${i.value}--dark`),m.value&&Q.push(`${i.value}--scrollable`),r.className&&Q.push(r.className),Q.join(" ")}),C=y.computed(()=>{const Q=[];return r.showToc&&Q.push("md-render-layout"),Q}),T=y.computed(()=>{const Q={...r.style};return r.height&&(Q.height=r.height),r.maxHeight&&(Q.maxHeight=r.maxHeight),Q}),A=y.computed(()=>{const Q={pre:B0,table:F0,blockquote:H0,MdContainer:z0,ul:q0,ol:j0,hr:tu,strong:ru,em:nu,del:iu},{li:oe,ListItem:se,...ie}=cN,Te={...ie,...r.components};return Object.keys(Te).forEach(we=>{const Be=Te[we];typeof Be=="function"&&!Be.setup&&!Be.render?Q[we]={name:`MDX${we.charAt(0).toUpperCase()+we.slice(1)}`,props:Object.keys(Object.getOwnPropertyDescriptors(Be)).length>0?["children",...Object.keys(Be)]:void 0,setup(Ge,{slots:V}){return()=>Be(Ge,{slots:V})}}:Q[we]||(Q[we]=Be)}),Q});function N(){const Q=[...r.remarkPlugins??[]];r.remarkGfm&&Q.unshift(av),Q.push(cE);const oe=[...r.rehypePlugins??[]];return r.format==="md"&&oe.push(qw),oe.push(zE),{remarkPlugins:Q,rehypePlugins:oe,format:r.format,useDynamicImport:!1,baseUrl:typeof window<"u"?window.location.href:"https://example.com"}}async function H(Q){if(!Q){a.value="div",s.value=!1,n("rendered");return}s.value=!0;try{r.extraLangs&&(!Array.isArray(r.extraLangs)||r.extraLangs.length>0)&&await eu(r.extraLangs);let oe=Q;r.format==="mdx"&&(oe=$2(oe));const se=await Q8(oe,{...N(),...zg});a.value=se.default}catch(oe){console.error("Markdown 渲染错误:",oe);const se=oe instanceof Error?oe:new Error(String(oe));n("error",se),a.value=()=>y.h("div",{style:"padding: 20px; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2;"},[y.h("h3",{style:"margin: 0 0 8px; font-size: 16px;"},"Markdown 渲染错误"),y.h("pre",{style:"white-space: pre-wrap; font-size: 12px; margin: 0;"},se.message)])}finally{s.value=!1}}y.watch(()=>r.extraLangs,async Q=>{Q&&(!Array.isArray(Q)||Q.length>0)&&await eu(Q)},{deep:!0});function P(){c.value&&y.nextTick(()=>{var se;const Q=((se=c.value)==null?void 0:se.querySelectorAll("h1, h2, h3, h4, h5, h6"))||[],oe=[];Q.forEach(ie=>{var we,Be;const Te=parseInt(ie.tagName[1],10);if(Te>=r.tocMinLevel&&Te<=r.tocMaxLevel){let Ge=ie.id;const V=ie.querySelector(".md-heading__text"),Qe=((we=V==null?void 0:V.textContent)==null?void 0:we.trim())||((Be=ie.textContent)==null?void 0:Be.trim())||"";if(!Ge&&Qe&&(Ge=P0(Qe),ie.id=Ge),!Ge)return;oe.push({level:Te,text:Qe,id:Ge})}}),h.value=oe,n("toc-change",oe),n("rendered")})}function b(){return m.value&&l.value?l.value.scrollTop:window.scrollY}function R(){r.showBackTop&&(g.value=b()>r.backTopThreshold)}function j(Q){n("toc-click",Q)}function Y(){m.value&&l.value?l.value.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"}),n("scroll-to-top")}y.watch(s,Q=>{Q||P()});function G(){r.showBackTop&&((m.value&&l.value?l.value:window).addEventListener("scroll",R,{passive:!0}),R())}function re(){l.value&&l.value.removeEventListener("scroll",R),window.removeEventListener("scroll",R)}return y.onMounted(async()=>{H(r.raw),y.nextTick(()=>{G()})}),y.onUnmounted(()=>{re()}),y.watch(()=>r.raw,H),(Q,oe)=>(y.openBlock(),y.createElementBlock("div",{ref_key:"wrapperRef",ref:l,class:y.normalizeClass(w.value),style:y.normalizeStyle(T.value)},[y.createElementVNode("div",{class:y.normalizeClass(C.value)},[y.createElementVNode("div",{ref_key:"contentRef",ref:c,class:"md-render-content"},[e.showToc&&h.value.length>0?(y.openBlock(),y.createBlock(y.unref(V0),{key:0,items:h.value,"active-id":f.value,"min-level":e.tocMinLevel,"max-level":e.tocMaxLevel,onClick:j},null,8,["items","active-id","min-level","max-level"])):y.createCommentVNode("",!0),s.value?(y.openBlock(),y.createBlock(y.unref(u2),{key:1})):(y.openBlock(),y.createBlock(y.resolveDynamicComponent(a.value),y.normalizeProps(y.mergeProps({key:2},{components:A.value})),null,16))],512),e.showToc&&h.value.length>0?(y.openBlock(),y.createBlock(y.unref(U0),{key:0,items:h.value,"doc-title":e.docTitle,"min-level":e.tocMinLevel,"max-level":e.tocMaxLevel,"active-id":f.value,mode:e.tocMode,"sticky-top":e.tocStickyTop,"scroll-container":E.value,onClick:j,"onUpdate:activeId":oe[0]||(oe[0]=se=>f.value=se)},null,8,["items","doc-title","min-level","max-level","active-id","mode","sticky-top","scroll-container"])):y.createCommentVNode("",!0)],2),y.createVNode(y.Transition,{name:"md-fade"},{default:y.withCtx(()=>[e.showBackTop&&g.value?(y.openBlock(),y.createElementBlock("button",{key:0,class:"md-render-back-top",onClick:Y,title:"回到顶部"},[...oe[1]||(oe[1]=[y.createElementVNode("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[y.createElementVNode("polyline",{points:"18 15 12 9 6 15"})],-1)])])):y.createCommentVNode("",!0)]),_:1})],6))}}),wl=y.ref(!1),ug=y.ref([]),Sl=y.ref(!1);async function G0(){try{ug.value=await G2()}catch{}}async function og(e){if(!(!e||Array.isArray(e)&&e.length===0)){Sl.value=!0;try{await eu(e),await G0()}finally{Sl.value=!1}}}async function lg(){wl.value||(await Va(),await G0(),wl.value=!0)}function hN(){return{isReady:y.readonly(wl),loadedLangs:y.readonly(ug),isLoading:y.readonly(Sl),loadLangs:og,ensureReady:lg,refreshLoadedLangs:G0}}function fN(e={}){return{install(t){lg().then(async()=>{e.langs&&await og(e.langs)})}}}const dN={install(e){e.component("MarkdownRender",sg)}};exports.Anchor=W2;exports.BlockHeader=qa;exports.Blockquote=H0;exports.Checkbox=QA;exports.CodeBlock=B0;exports.CollapseSection=n_;exports.Collapsible=h2;exports.Container=z0;exports.Divider=iI;exports.Heading=D0;exports.HeadingCollapseKey=R0;exports.Icon=St;exports.Image=o2;exports.ImagePreview=l2;exports.InlineCode=Z2;exports.LANGUAGE_ALIASES=d2;exports.Link=J2;exports.Mark=Tl;exports.MdImage=K2;exports.Mermaid=M0;exports.Paragraph=Q2;exports.Skeleton=u2;exports.Table=F0;exports.Tag=tI;exports.ToastComponent=c2;exports.Tooltip=f2;exports.VueMarkdownRender=dN;exports._sfc_main=Du;exports._sfc_main$1=kl;exports._sfc_main$2=sg;exports._sfc_main$3=U0;exports._sfc_main$4=V0;exports.copyToClipboard=za;exports.createHighlighterPlugin=fN;exports.del=iu;exports.em=nu;exports.extractLanguageFromVNode=qs;exports.extractTextFromVNode=vi;exports.generateHeadingId=P0;exports.getAugmentedNamespace=f4;exports.getDefaultExportFromCjs=au;exports.getHighlighter=Va;exports.getLoadedLanguages=G2;exports.h1=eg;exports.h2=tg;exports.h3=rg;exports.h4=ng;exports.h5=ig;exports.h6=ag;exports.highlightCode=j2;exports.hr=tu;exports.katex=oE;exports.loadLanguages=eu;exports.normalizeLanguage=p2;exports.ol=j0;exports.preprocessContainers=$2;exports.provideHeadingCollapse=Y2;exports.strong=ru;exports.toast=xn;exports.trimCodeLines=m2;exports.ul=q0;exports.useHeadingCollapse=X2;exports.useHighlighter=hN;