markview-vue 0.1.9 → 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 +182 -35
  117. package/dist/index.js +68 -44394
  118. package/dist/style.css +1 -1
  119. package/package.json +4 -2
package/dist/index.cjs CHANGED
@@ -1,537 +1 @@
1
- "use strict";var vg=Object.defineProperty;var Eg=(e,t,r)=>t in e?vg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ne=(e,t,r)=>Eg(e,typeof t!="symbol"?t+"":t,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("vue"),Tg=require("vue/jsx-runtime");function kg(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 Sg=kg(Tg);function kr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?oc(e.position):"start"in e||"end"in e?oc(e):"line"in e||"column"in e?Oo(e):""}function Oo(e){return lc(e&&e.line)+":"+lc(e&&e.column)}function oc(e){return Oo(e&&e.start)+"-"+Oo(e&&e.end)}function lc(e){return e&&typeof e=="number"?e:1}class Ye 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=kr(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}}Ye.prototype.file="";Ye.prototype.name="";Ye.prototype.reason="";Ye.prototype.message="";Ye.prototype.stack="";Ye.prototype.column=void 0;Ye.prototype.line=void 0;Ye.prototype.ancestors=void 0;Ye.prototype.cause=void 0;Ye.prototype.fatal=void 0;Ye.prototype.place=void 0;Ye.prototype.ruleId=void 0;Ye.prototype.source=void 0;const Vr={basename:wg,dirname:_g,extname:Cg,join:Ag,sep:"/"};function wg(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');La(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 _g(e){if(La(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 Cg(e){La(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 Ag(...e){let t=-1,r;for(;++t<e.length;)La(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Ig(r)}function Ig(e){La(e);const t=e.codePointAt(0)===47;let r=Ng(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function Ng(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 La(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Lg={cwd:Rg};function Rg(){return"/"}function Mo(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Pg(e){if(typeof e=="string")e=new URL(e);else if(!Mo(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 Dg(e)}function Dg(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 Ou=["history","path","basename","stem","extname","dirname"];class sp{constructor(t){let r;t?Mo(t)?r={path:t}:typeof t=="string"||Og(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Lg.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Ou.length;){const a=Ou[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)Ou.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Vr.basename(this.path):void 0}set basename(t){Bu(t,"basename"),Mu(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){cc(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(Mu(t,"extname"),cc(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){Mo(t)&&(t=Pg(t)),Bu(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){Bu(t,"stem"),Mu(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 Ye(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 Mu(e,t){if(e&&e.includes(Vr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Vr.sep+"`")}function Bu(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function cc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Og(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Mg=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"],Bg=Mg.map(function(e){return"."+e});function Fg(e,t){const r=Hg(e)?e:new sp(e),{format:n,...i}=t||{};return{file:r,options:{format:n==="md"||n==="mdx"?n:r.extname&&(i.mdExtensions||Bg).includes(r.extname)?"md":"mdx",...i}}}function Hg(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}const zg=/[$_\p{ID_Start}]/u,Ug=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,Vg=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,qg=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jg=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,up={};function Ir(e){return e?zg.test(String.fromCodePoint(e)):!1}function Gi(e,t){const n=(t||up).jsx?Vg:Ug;return e?n.test(String.fromCodePoint(e)):!1}function Yr(e,t){return((t||up).jsx?jg:qg).test(e)}class Gg{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 $g extends Gg{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];hc(c)&&(this.visit(c,t,a,l)||l--)}}else hc(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 hc(e){return e!==null&&typeof e=="object"&&"type"in e&&typeof e.type=="string"}function gi(e,{enter:t,leave:r}){return new $g(t,r).visit(e,null)}const Fu=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function Wg(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;){Fu.lastIndex=0;let c=Fu.exec(o[l].value);for(;c;)i[c[1]]=c[2],c=Fu.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 S=[];if(a.fragment&&S.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),a.jsx&&S.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),a.jsxs&&S.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),a.jsxDEV&&S.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),S.length>0){let C=0;for(;C<s.body.length;){const k=s.body[C];if("directive"in k&&k.directive)C++;else break}s.body.splice(C,0,{type:"ImportDeclaration",specifiers:S,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 S=s.children[l];if(S.type==="JSXExpressionContainer")S.expression.type!=="JSXEmptyExpression"&&o.push(S.expression);else if(S.type==="JSXText"){const C=S.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,`
2
- `).replace(/\n+/g,`
3
- `).replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");if(C){const k={type:"Literal",value:C};ia(S,k),o.push(k)}}else S.type!=="JSXElement"&&S.type!=="JSXFragment"&&S.type,o.push(S)}let c;const h=[];let f=[],g;if(s.type==="JSXElement"){if(c=_s(s.openingElement.name),c.type==="Identifier"&&/^[a-z]/.test(c.name)){const A={type:"Literal",value:c.name};ia(c,A),c=A}let S;const C=s.openingElement.attributes;let k=-1;for(;++k<C.length;){const A=C[k];if(A.type==="JSXSpreadAttribute")A.argument.type==="ObjectExpression"?h.push(...A.argument.properties):h.push({type:"SpreadElement",argument:A.argument}),S=!0;else{const L=Yg(A);if(n&&L.key.type==="Identifier"&&L.key.name==="key"){if(S)throw new Error("Expected `key` to come before any spread expressions");const H=L.value;H.type!=="AssignmentPattern"&&H.type!=="ArrayPattern"&&H.type!=="ObjectPattern"&&H.type,g=H}else h.push(L)}}}else n?(a.fragment=!0,c={type:"Identifier",name:"_Fragment"}):c=fc(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 S=o.length>1;if(r.development){a.jsxDEV=!0,m={type:"Identifier",name:"_jsxDEV"},f.push({type:"Literal",value:S});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 S?(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=fc(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 Yg(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:_s(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1};return ia(e,r),r}function _s(e){let t;if(e.type==="JSXMemberExpression"){const r=_s(e.property);t={type:"MemberExpression",object:_s(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 fc(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 Xg(e){return function(t,r){Wg(t,{filePath:r.history[0],...e})}}function yl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hu={exports:{}},zu,pc;function Jg(){return pc||(pc=1,zu={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:"♦"}),zu}var ea={exports:{}},Qg=ea.exports,dc;function mc(){return dc||(dc=1,(function(e,t){(function(r,n){n(t)})(Qg,(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,p){for(var T=65536,w=0;w<p.length;w+=2){if(T+=p[w],T>u)return!1;if(T+=p[w+1],T>=u)return!0}return!1}function E(u,p){return u<65?u===36:u<91?!0:u<97?u===95:u<123?!0:u<=65535?u>=170&&f.test(String.fromCharCode(u)):p===!1?!1:m(u,i)}function S(u,p){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)):p===!1?!1:m(u,i)||m(u,n)}var C=function(p,T){T===void 0&&(T={}),this.label=p,this.keyword=T.keyword,this.beforeExpr=!!T.beforeExpr,this.startsExpr=!!T.startsExpr,this.isLoop=!!T.isLoop,this.isAssign=!!T.isAssign,this.prefix=!!T.prefix,this.postfix=!!T.postfix,this.binop=T.binop||null,this.updateContext=null};function k(u,p){return new C(u,{beforeExpr:!0,binop:p})}var A={beforeExpr:!0},L={startsExpr:!0},H={};function P(u,p){return p===void 0&&(p={}),p.keyword=u,H[u]=new C(u,p)}var b={num:new C("num",L),regexp:new C("regexp",L),string:new C("string",L),name:new C("name",L),privateId:new C("privateId",L),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("`",L),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:k("||",1),logicalAND:k("&&",2),bitwiseOR:k("|",3),bitwiseXOR:k("^",4),bitwiseAND:k("&",5),equality:k("==/!=/===/!==",6),relational:k("</>/<=/>=",7),bitShift:k("<</>>/>>>",8),plusMin:new C("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:k("%",10),star:k("*",10),slash:k("/",10),starstar:new C("**",{beforeExpr:!0}),coalesce:k("??",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",L),_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",L),_super:P("super",L),_class:P("class",L),_extends:P("extends",A),_export:P("export"),_import:P("import",L),_null:P("null",L),_true:P("true",L),_false:P("false",L),_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,p,T){T===void 0&&(T=u.length);for(var w=p;w<T;w++){var M=u.charCodeAt(w);if(Y(M))return w<T-1&&M===13&&u.charCodeAt(w+1)===10?w+2:w+1}return-1}var K=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Z=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,pe=Object.prototype,ue=pe.hasOwnProperty,ie=pe.toString,ve=Object.hasOwn||(function(u,p){return ue.call(u,p)}),Se=Array.isArray||(function(u){return ie.call(u)==="[object Array]"}),ze=Object.create(null);function Xe(u){return ze[u]||(ze[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 at=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,$e=function(p,T){this.line=p,this.column=T};$e.prototype.offset=function(p){return new $e(this.line,this.column+p)};var q=function(p,T,w){this.start=T,this.end=w,p.sourceFile!==null&&(this.source=p.sourceFile)};function pt(u,p){for(var T=1,w=0;;){var M=G(u,w,p);if(M<0)return new $e(T,p-w);++T,w=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},Ze=!1;function Pt(u){var p={};for(var T in ht)p[T]=u&&ve(u,T)?u[T]:ht[T];if(p.ecmaVersion==="latest"?p.ecmaVersion=1e8:p.ecmaVersion==null?(!Ze&&typeof console=="object"&&console.warn&&(Ze=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
4
- Defaulting to 2020, but this will stop working in the future.`)),p.ecmaVersion=11):p.ecmaVersion>=2015&&(p.ecmaVersion-=2009),p.allowReserved==null&&(p.allowReserved=p.ecmaVersion<5),(!u||u.allowHashBang==null)&&(p.allowHashBang=p.ecmaVersion>=14),Se(p.onToken)){var w=p.onToken;p.onToken=function(M){return w.push(M)}}return Se(p.onComment)&&(p.onComment=vt(p,p.onComment)),p}function vt(u,p){return function(T,w,M,W,Q,ce){var de={type:T?"Block":"Line",value:w,start:M,end:W};u.locations&&(de.loc=new q(this,Q,ce)),u.ranges&&(de.range=[M,W]),p.push(de)}}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,p){return bt|(u?Et:0)|(p?Tn:0)}var nn=0,Vn=1,Ot=2,et=3,qn=4,te=5,re=function(p,T,w){this.options=p=Pt(p),this.sourceFile=p.sourceFile,this.keywords=Xe(c[p.ecmaVersion>=6?6:p.sourceType==="module"?"5module":5]);var M="";p.allowReserved!==!0&&(M=o[p.ecmaVersion>=6?6:p.ecmaVersion===5?5:3],p.sourceType==="module"&&(M+=" await")),this.reservedWords=Xe(M);var W=(M?M+" ":"")+o.strict;this.reservedWordsStrict=Xe(W),this.reservedWordsStrictBind=Xe(W+" "+o.strictBind),this.input=String(T),this.containsEsc=!1,w?(this.pos=w,this.lineStart=this.input.lastIndexOf(`
5
- `,w-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=p.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&&p.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}};re.prototype.parse=function(){var p=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(p)},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 p=this.scopeStack[u],T=p.flags;if(T&(Dt|qt))return!1;if(T&bt)return(T&Et)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},D.allowSuper.get=function(){var u=this.currentThisScope(),p=u.flags;return(p&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 p=this.scopeStack[u],T=p.flags;if(T&(Dt|qt)||T&bt&&!(T&Or))return!0}return!1},D.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Dt)>0},re.extend=function(){for(var p=[],T=arguments.length;T--;)p[T]=arguments[T];for(var w=this,M=0;M<p.length;M++)w=p[M](w);return w},re.parse=function(p,T){return new this(T,p).parse()},re.parseExpressionAt=function(p,T,w){var M=new this(w,p,T);return M.nextToken(),M.parseExpression()},re.tokenizer=function(p,T){return new this(T,p)},Object.defineProperties(re.prototype,D);var we=re.prototype,We=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;we.strictDirective=function(u){if(this.options.ecmaVersion<5)return!1;for(;;){Z.lastIndex=u,u+=Z.exec(this.input)[0].length;var p=We.exec(this.input.slice(u));if(!p)return!1;if((p[1]||p[2])==="use strict"){Z.lastIndex=u+p[0].length;var T=Z.exec(this.input),w=T.index+T[0].length,M=this.input.charAt(w);return M===";"||M==="}"||R.test(T[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(M)||M==="!"&&this.input.charAt(w+1)==="=")}u+=p[0].length,Z.lastIndex=u,u+=Z.exec(this.input)[0].length,this.input[u]===";"&&u++}},we.eat=function(u){return this.type===u?(this.next(),!0):!1},we.isContextual=function(u){return this.type===b.name&&this.value===u&&!this.containsEsc},we.eatContextual=function(u){return this.isContextual(u)?(this.next(),!0):!1},we.expectContextual=function(u){this.eatContextual(u)||this.unexpected()},we.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||R.test(this.input.slice(this.lastTokEnd,this.start))},we.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},we.semicolon=function(){!this.eat(b.semi)&&!this.insertSemicolon()&&this.unexpected()},we.afterTrailingComma=function(u,p){if(this.type===u)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),p||this.next(),!0},we.expect=function(u){this.eat(u)||this.unexpected()},we.unexpected=function(u){this.raise(u??this.start,"Unexpected token")};var Tt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};we.checkPatternErrors=function(u,p){if(u){u.trailingComma>-1&&this.raiseRecoverable(u.trailingComma,"Comma is not permitted after the rest element");var T=p?u.parenthesizedAssign:u.parenthesizedBind;T>-1&&this.raiseRecoverable(T,p?"Assigning to rvalue":"Parenthesized pattern")}},we.checkExpressionErrors=function(u,p){if(!u)return!1;var T=u.shorthandAssign,w=u.doubleProto;if(!p)return T>=0||w>=0;T>=0&&this.raise(T,"Shorthand property assignments are valid only in destructuring patterns"),w>=0&&this.raiseRecoverable(w,"Redefinition of __proto__ property")},we.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")},we.isSimpleAssignTarget=function(u){return u.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(u.expression):u.type==="Identifier"||u.type==="MemberExpression"};var be=re.prototype;be.parseTopLevel=function(u){var p=Object.create(null);for(u.body||(u.body=[]);this.type!==b.eof;){var T=this.parseStatement(null,!0,p);u.body.push(T)}if(this.inModule)for(var w=0,M=Object.keys(this.undefinedExports);w<M.length;w+=1){var W=M[w];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"},jn={kind:"switch"};be.isLet=function(u){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Z.lastIndex=this.pos;var p=Z.exec(this.input),T=this.pos+p[0].length,w=this.input.charCodeAt(T);if(w===91||w===92)return!0;if(u)return!1;if(w===123||w>55295&&w<56320)return!0;if(E(w,!0)){for(var M=T+1;S(w=this.input.charCodeAt(M),!0);)++M;if(w===92||w>55295&&w<56320)return!0;var W=this.input.slice(T,M);if(!h.test(W))return!0}return!1},be.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Z.lastIndex=this.pos;var u=Z.exec(this.input),p=this.pos+u[0].length,T;return!R.test(this.input.slice(this.pos,p))&&this.input.slice(p,p+8)==="function"&&(p+8===this.input.length||!(S(T=this.input.charCodeAt(p+8))||T>55295&&T<56320))},be.isUsingKeyword=function(u,p){if(this.options.ecmaVersion<17||!this.isContextual(u?"await":"using"))return!1;Z.lastIndex=this.pos;var T=Z.exec(this.input),w=this.pos+T[0].length;if(R.test(this.input.slice(this.pos,w)))return!1;if(u){var M=w+5,W;if(this.input.slice(w,M)!=="using"||M===this.input.length||S(W=this.input.charCodeAt(M))||W>55295&&W<56320)return!1;Z.lastIndex=M;var Q=Z.exec(this.input);if(Q&&R.test(this.input.slice(M,M+Q[0].length)))return!1}if(p){var ce=w+2,de;if(this.input.slice(w,ce)==="of"&&(ce===this.input.length||!S(de=this.input.charCodeAt(ce))&&!(de>55295&&de<56320)))return!1}var Ie=this.input.charCodeAt(w);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,p,T){var w=this.type,M=this.startNode(),W;switch(this.isLet(u)&&(w=b._var,W="let"),w){case b._break:case b._continue:return this.parseBreakContinueStatement(M,w.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&&w===b._import){Z.lastIndex=this.pos;var Q=Z.exec(this.input),ce=this.pos+Q[0].length,de=this.input.charCodeAt(ce);if(de===40||de===46)return this.parseExpressionStatement(M,this.parseExpression())}return this.options.allowImportExportEverywhere||(p||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'")),w===b._import?this.parseImport(M):this.parseExport(M,T);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 p&&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,it=this.parseExpression();return w===b.name&&it.type==="Identifier"&&this.eat(b.colon)?this.parseLabeledStatement(M,Me,it,u):this.parseExpressionStatement(M,it)}},be.parseBreakContinueStatement=function(u,p){var T=p==="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 w=0;w<this.labels.length;++w){var M=this.labels[w];if((u.label==null||M.name===u.label.name)&&(M.kind!=null&&(T||M.kind==="loop")||u.label&&T))break}return w===this.labels.length&&this.raise(u.start,"Unsyntactic "+p),this.finishNode(u,T?"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 p=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 p>-1&&this.unexpected(p),this.parseFor(u,null);var T=this.isLet();if(this.type===b._var||this.type===b._const||T){var w=this.startNode(),M=T?"let":this.value;return this.next(),this.parseVar(w,!0,M),this.finishNode(w,"VariableDeclaration"),this.parseForAfterInit(u,w,p)}var W=this.isContextual("let"),Q=!1,ce=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(ce){var de=this.startNode();return this.next(),ce==="await using"&&this.next(),this.parseVar(de,!0,ce),this.finishNode(de,"VariableDeclaration"),this.parseForAfterInit(u,de,p)}var Ie=this.containsEsc,Me=new Tt,it=this.start,Mt=p>-1?this.parseExprSubscripts(Me,"await"):this.parseExpression(!0,Me);return this.type===b._in||(Q=this.options.ecmaVersion>=6&&this.isContextual("of"))?(p>-1?(this.type===b._in&&this.unexpected(p),u.await=!0):Q&&this.options.ecmaVersion>=8&&(Mt.start===it&&!Ie&&Mt.type==="Identifier"&&Mt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(u.await=!1)),W&&Q&&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),p>-1&&this.unexpected(p),this.parseFor(u,Mt))},be.parseForAfterInit=function(u,p,T){return(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&p.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===b._in?T>-1&&this.unexpected(T):u.await=T>-1),this.parseForIn(u,p)):(T>-1&&this.unexpected(T),this.parseFor(u,p))},be.parseFunctionStatement=function(u,p,T){return this.next(),this.parseFunction(u,kt|(T?0:Fr),!1,p)},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(jn),this.enterScope(0);for(var p,T=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var w=this.type===b._case;p&&this.finishNode(p,"SwitchCase"),u.cases.push(p=this.startNode()),p.consequent=[],this.next(),w?p.test=this.parseExpression():(T&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),T=!0,p.test=null),this.expect(b.colon)}else p||this.unexpected(),p.consequent.push(this.parseStatement(null));return this.exitScope(),p&&this.finishNode(p,"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 Gn=[];be.parseCatchClauseParam=function(){var u=this.parseBindingAtom(),p=u.type==="Identifier";return this.enterScope(p?Mr:0),this.checkLValPattern(u,p?qn: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 p=this.startNode();this.next(),this.eat(b.parenL)?p.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),p.param=null,this.enterScope(0)),p.body=this.parseBlock(!1),this.exitScope(),u.handler=this.finishNode(p,"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,p,T){return this.next(),this.parseVar(u,!1,p,T),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,p,T,w){for(var M=0,W=this.labels;M<W.length;M+=1){var Q=W[M];Q.name===p&&this.raise(T.start,"Label '"+p+"' is already declared")}for(var ce=this.type.isLoop?"loop":this.type===b._switch?"switch":null,de=this.labels.length-1;de>=0;de--){var Ie=this.labels[de];if(Ie.statementStart===u.start)Ie.statementStart=this.start,Ie.kind=ce;else break}return this.labels.push({name:p,kind:ce,statementStart:this.start}),u.body=this.parseStatement(w?w.indexOf("label")===-1?w+"label":w:"label"),this.labels.pop(),u.label=T,this.finishNode(u,"LabeledStatement")},be.parseExpressionStatement=function(u,p){return u.expression=p,this.semicolon(),this.finishNode(u,"ExpressionStatement")},be.parseBlock=function(u,p,T){for(u===void 0&&(u=!0),p===void 0&&(p=this.startNode()),p.body=[],this.expect(b.braceL),u&&this.enterScope(0);this.type!==b.braceR;){var w=this.parseStatement(null);p.body.push(w)}return T&&(this.strict=!1),this.next(),u&&this.exitScope(),this.finishNode(p,"BlockStatement")},be.parseFor=function(u,p){return u.init=p,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,p){var T=this.type===b._in;return this.next(),p.type==="VariableDeclaration"&&p.declarations[0].init!=null&&(!T||this.options.ecmaVersion<8||this.strict||p.kind!=="var"||p.declarations[0].id.type!=="Identifier")&&this.raise(p.start,(T?"for-in":"for-of")+" loop variable declaration may not have an initializer"),u.left=p,u.right=T?this.parseExpression():this.parseMaybeAssign(),this.expect(b.parenR),u.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(u,T?"ForInStatement":"ForOfStatement")},be.parseVar=function(u,p,T,w){for(u.declarations=[],u.kind=T;;){var M=this.startNode();if(this.parseVarId(M,T),this.eat(b.eq)?M.init=this.parseMaybeAssign(p):!w&&T==="const"&&!(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!w&&(T==="using"||T==="await using")&&this.options.ecmaVersion>=17&&this.type!==b._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+T+" declaration"):!w&&M.id.type!=="Identifier"&&!(p&&(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,p){u.id=p==="using"||p==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(u.id,p==="var"?Vn:Ot,!1)};var kt=1,Fr=2,fr=4;be.parseFunction=function(u,p,T,w,M){this.initFunction(u),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!w)&&(this.type===b.star&&p&Fr&&this.unexpected(),u.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(u.async=!!w),p&kt&&(u.id=p&fr&&this.type!==b.name?null:this.parseIdent(),u.id&&!(p&Fr)&&this.checkLValSimple(u.id,this.strict||u.generator||u.async?this.treatFunctionsAsVar?Vn:Ot:et));var W=this.yieldPos,Q=this.awaitPos,ce=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Br(u.async,u.generator)),p&kt||(u.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(u),this.parseFunctionBody(u,T,!1,M),this.yieldPos=W,this.awaitPos=Q,this.awaitIdentPos=ce,this.finishNode(u,p&kt?"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,p){this.next();var T=this.strict;this.strict=!0,this.parseClassId(u,p),this.parseClassSuper(u);var w=this.enterClassBody(),M=this.startNode(),W=!1;for(M.body=[],this.expect(b.braceL);this.type!==b.braceR;){var Q=this.parseClassElement(u.superClass!==null);Q&&(M.body.push(Q),Q.type==="MethodDefinition"&&Q.kind==="constructor"?(W&&this.raiseRecoverable(Q.start,"Duplicate constructor in the same class"),W=!0):Q.key&&Q.key.type==="PrivateIdentifier"&&Y2(w,Q)&&this.raiseRecoverable(Q.key.start,"Identifier '#"+Q.key.name+"' has already been declared"))}return this.strict=T,this.next(),u.body=this.finishNode(M,"ClassBody"),this.exitClassBody(),this.finishNode(u,p?"ClassDeclaration":"ClassExpression")},be.parseClassElement=function(u){if(this.eat(b.semi))return null;var p=this.options.ecmaVersion,T=this.startNode(),w="",M=!1,W=!1,Q="method",ce=!1;if(this.eatContextual("static")){if(p>=13&&this.eat(b.braceL))return this.parseClassStaticBlock(T),T;this.isClassElementNameStart()||this.type===b.star?ce=!0:w="static"}if(T.static=ce,!w&&p>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===b.star)&&!this.canInsertSemicolon()?W=!0:w="async"),!w&&(p>=9||!W)&&this.eat(b.star)&&(M=!0),!w&&!W&&!M){var de=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Q=de:w=de)}if(w?(T.computed=!1,T.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),T.key.name=w,this.finishNode(T.key,"Identifier")):this.parseClassElementName(T),p<13||this.type===b.parenL||Q!=="method"||M||W){var Ie=!T.static&&ja(T,"constructor"),Me=Ie&&u;Ie&&Q!=="method"&&this.raise(T.key.start,"Constructor can't have get/set modifier"),T.kind=Ie?"constructor":Q,this.parseClassMethod(T,M,W,Me)}else this.parseClassField(T);return T},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,p,T,w){var M=u.key;u.kind==="constructor"?(p&&this.raise(M.start,"Constructor can't be a generator"),T&&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(p,T,w);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 p=this.labels;for(this.labels=[],this.enterScope(Dt|hr);this.type!==b.braceR;){var T=this.parseStatement(null);u.body.push(T)}return this.next(),this.exitScope(),this.labels=p,this.finishNode(u,"StaticBlock")},be.parseClassId=function(u,p){this.type===b.name?(u.id=this.parseIdent(),p&&this.checkLValSimple(u.id,Ot,!1)):(p===!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(),p=u.declared,T=u.used;if(this.options.checkPrivateFields)for(var w=this.privateNameStack.length,M=w===0?null:this.privateNameStack[w-1],W=0;W<T.length;++W){var Q=T[W];ve(p,Q.name)||(M?M.used.push(Q):this.raiseRecoverable(Q.start,"Private field '#"+Q.name+"' must be declared in an enclosing class"))}};function Y2(u,p){var T=p.key.name,w=u[T],M="true";return p.type==="MethodDefinition"&&(p.kind==="get"||p.kind==="set")&&(M=(p.static?"s":"i")+p.kind),w==="iget"&&M==="iset"||w==="iset"&&M==="iget"||w==="sget"&&M==="sset"||w==="sset"&&M==="sget"?(u[T]="true",!1):w?!0:(u[T]=M,!1)}function ja(u,p){var T=u.computed,w=u.key;return!T&&(w.type==="Identifier"&&w.name===p||w.type==="Literal"&&w.value===p)}be.parseExportAllDeclaration=function(u,p){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(u.exported=this.parseModuleExportName(),this.checkExport(p,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,p){if(this.next(),this.eat(b.star))return this.parseExportAllDeclaration(u,p);if(this.eat(b._default))return this.checkExport(p,"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(p,u.declaration.declarations):this.checkExport(p,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(p),this.eatContextual("from"))this.type!==b.string&&this.unexpected(),u.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(u.attributes=this.parseWithClause());else{for(var T=0,w=u.specifiers;T<w.length;T+=1){var M=w[T];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 p=this.startNode();return this.next(),u&&this.next(),this.parseFunction(p,kt|fr,!1,u)}else if(this.type===b._class){var T=this.startNode();return this.parseClass(T,"nullableID")}else{var w=this.parseMaybeAssign();return this.semicolon(),w}},be.checkExport=function(u,p,T){u&&(typeof p!="string"&&(p=p.type==="Identifier"?p.name:p.value),ve(u,p)&&this.raiseRecoverable(T,"Duplicate export '"+p+"'"),u[p]=!0)},be.checkPatternExport=function(u,p){var T=p.type;if(T==="Identifier")this.checkExport(u,p,p.start);else if(T==="ObjectPattern")for(var w=0,M=p.properties;w<M.length;w+=1){var W=M[w];this.checkPatternExport(u,W)}else if(T==="ArrayPattern")for(var Q=0,ce=p.elements;Q<ce.length;Q+=1){var de=ce[Q];de&&this.checkPatternExport(u,de)}else T==="Property"?this.checkPatternExport(u,p.value):T==="AssignmentPattern"?this.checkPatternExport(u,p.left):T==="RestElement"&&this.checkPatternExport(u,p.argument)},be.checkVariableExport=function(u,p){if(u)for(var T=0,w=p;T<w.length;T+=1){var M=w[T];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 p=this.startNode();return p.local=this.parseModuleExportName(),p.exported=this.eatContextual("as")?this.parseModuleExportName():p.local,this.checkExport(u,p.exported,p.exported.start),this.finishNode(p,"ExportSpecifier")},be.parseExportSpecifiers=function(u){var p=[],T=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(T)T=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;p.push(this.parseExportSpecifier(u))}return p},be.parseImport=function(u){return this.next(),this.type===b.string?(u.specifiers=Gn,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=[],p=!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(p)p=!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 p={},T=!0;!this.eat(b.braceR);){if(T)T=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;var w=this.parseImportAttribute(),M=w.key.type==="Identifier"?w.key.name:w.key.value;ve(p,M)&&this.raiseRecoverable(w.key.start,"Duplicate attribute key '"+M+"'"),p[M]=!0,u.push(w)}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 at.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 p=0;p<u.length&&this.isDirectiveCandidate(u[p]);++p)u[p].directive=u[p].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 pr=re.prototype;pr.toAssignable=function(u,p,T){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",T&&this.checkPatternErrors(T,!0);for(var w=0,M=u.properties;w<M.length;w+=1){var W=M[w];this.toAssignable(W,p),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,p);break;case"ArrayExpression":u.type="ArrayPattern",T&&this.checkPatternErrors(T,!0),this.toAssignableList(u.elements,p);break;case"SpreadElement":u.type="RestElement",this.toAssignable(u.argument,p),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,p);break;case"ParenthesizedExpression":this.toAssignable(u.expression,p,T);break;case"ChainExpression":this.raiseRecoverable(u.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!p)break;default:this.raise(u.start,"Assigning to rvalue")}else T&&this.checkPatternErrors(T,!0);return u},pr.toAssignableList=function(u,p){for(var T=u.length,w=0;w<T;w++){var M=u[w];M&&this.toAssignable(M,p)}if(T){var W=u[T-1];this.options.ecmaVersion===6&&p&&W&&W.type==="RestElement"&&W.argument.type!=="Identifier"&&this.unexpected(W.argument.start)}return u},pr.parseSpread=function(u){var p=this.startNode();return this.next(),p.argument=this.parseMaybeAssign(!1,u),this.finishNode(p,"SpreadElement")},pr.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")},pr.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()},pr.parseBindingList=function(u,p,T,w){for(var M=[],W=!0;!this.eat(u);)if(W?W=!1:this.expect(b.comma),p&&this.type===b.comma)M.push(null);else{if(T&&this.afterTrailingComma(u))break;if(this.type===b.ellipsis){var Q=this.parseRestBinding();this.parseBindingListItem(Q),M.push(Q),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(w))}return M},pr.parseAssignableListItem=function(u){var p=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(p),p},pr.parseBindingListItem=function(u){return u},pr.parseMaybeDefault=function(u,p,T){if(T=T||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return T;var w=this.startNodeAt(u,p);return w.left=T,w.right=this.parseMaybeAssign(),this.finishNode(w,"AssignmentPattern")},pr.checkLValSimple=function(u,p,T){p===void 0&&(p=nn);var w=p!==nn;switch(u.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(u.name)&&this.raiseRecoverable(u.start,(w?"Binding ":"Assigning to ")+u.name+" in strict mode"),w&&(p===Ot&&u.name==="let"&&this.raiseRecoverable(u.start,"let is disallowed as a lexically bound name"),T&&(ve(T,u.name)&&this.raiseRecoverable(u.start,"Argument name clash"),T[u.name]=!0),p!==te&&this.declareName(u.name,p,u.start));break;case"ChainExpression":this.raiseRecoverable(u.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":w&&this.raiseRecoverable(u.start,"Binding member expression");break;case"ParenthesizedExpression":return w&&this.raiseRecoverable(u.start,"Binding parenthesized expression"),this.checkLValSimple(u.expression,p,T);default:this.raise(u.start,(w?"Binding":"Assigning to")+" rvalue")}},pr.checkLValPattern=function(u,p,T){switch(p===void 0&&(p=nn),u.type){case"ObjectPattern":for(var w=0,M=u.properties;w<M.length;w+=1){var W=M[w];this.checkLValInnerPattern(W,p,T)}break;case"ArrayPattern":for(var Q=0,ce=u.elements;Q<ce.length;Q+=1){var de=ce[Q];de&&this.checkLValInnerPattern(de,p,T)}break;default:this.checkLValSimple(u,p,T)}},pr.checkLValInnerPattern=function(u,p,T){switch(p===void 0&&(p=nn),u.type){case"Property":this.checkLValInnerPattern(u.value,p,T);break;case"AssignmentPattern":this.checkLValPattern(u.left,p,T);break;case"RestElement":this.checkLValPattern(u.argument,p,T);break;default:this.checkLValPattern(u,p,T)}};var dr=function(p,T,w,M,W){this.token=p,this.isExpr=!!T,this.preserveSpace=!!w,this.override=M,this.generator=!!W},nt={b_stat:new dr("{",!1),b_expr:new dr("{",!0),b_tmpl:new dr("${",!1),p_stat:new dr("(",!1),p_expr:new dr("(",!0),q_tmpl:new dr("`",!0,!0,function(u){return u.tryReadTemplateToken()}),f_stat:new dr("function",!1),f_expr:new dr("function",!0),f_expr_gen:new dr("function",!0,!1,null,!0),f_gen:new dr("function",!1,!1,null,!0)},ni=re.prototype;ni.initialContext=function(){return[nt.b_stat]},ni.curContext=function(){return this.context[this.context.length-1]},ni.braceIsBlock=function(u){var p=this.curContext();return p===nt.f_expr||p===nt.f_stat?!0:u===b.colon&&(p===nt.b_stat||p===nt.b_expr)?!p.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?p===nt.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 p=this.context[u];if(p.token==="function")return p.generator}return!1},ni.updateContext=function(u){var p,T=this.type;T.keyword&&u===b.dot?this.exprAllowed=!1:(p=T.updateContext)?p.call(this,u):this.exprAllowed=T.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===nt.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)?nt.b_stat:nt.b_expr),this.exprAllowed=!0},b.dollarBraceL.updateContext=function(){this.context.push(nt.b_tmpl),this.exprAllowed=!0},b.parenL.updateContext=function(u){var p=u===b._if||u===b._for||u===b._with||u===b._while;this.context.push(p?nt.p_stat:nt.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()!==nt.p_stat)&&!(u===b._return&&R.test(this.input.slice(this.lastTokEnd,this.start)))&&!((u===b.colon||u===b.braceL)&&this.curContext()===nt.b_stat)?this.context.push(nt.f_expr):this.context.push(nt.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()===nt.q_tmpl?this.context.pop():this.context.push(nt.q_tmpl),this.exprAllowed=!1},b.star.updateContext=function(u){if(u===b._function){var p=this.context.length-1;this.context[p]===nt.f_expr?this.context[p]=nt.f_expr_gen:this.context[p]=nt.f_gen}this.exprAllowed=!0},b.name.updateContext=function(u){var p=!1;this.options.ecmaVersion>=6&&u!==b.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(p=!0),this.exprAllowed=p};var Ne=re.prototype;Ne.checkPropClash=function(u,p,T){if(!(this.options.ecmaVersion>=9&&u.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(u.computed||u.method||u.shorthand))){var w=u.key,M;switch(w.type){case"Identifier":M=w.name;break;case"Literal":M=String(w.value);break;default:return}var W=u.kind;if(this.options.ecmaVersion>=6){M==="__proto__"&&W==="init"&&(p.proto&&(T?T.doubleProto<0&&(T.doubleProto=w.start):this.raiseRecoverable(w.start,"Redefinition of __proto__ property")),p.proto=!0);return}M="$"+M;var Q=p[M];if(Q){var ce;W==="init"?ce=this.strict&&Q.init||Q.get||Q.set:ce=Q.init||Q[W],ce&&this.raiseRecoverable(w.start,"Redefinition of property")}else Q=p[M]={init:!1,get:!1,set:!1};Q[W]=!0}},Ne.parseExpression=function(u,p){var T=this.start,w=this.startLoc,M=this.parseMaybeAssign(u,p);if(this.type===b.comma){var W=this.startNodeAt(T,w);for(W.expressions=[M];this.eat(b.comma);)W.expressions.push(this.parseMaybeAssign(u,p));return this.finishNode(W,"SequenceExpression")}return M},Ne.parseMaybeAssign=function(u,p,T){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(u);this.exprAllowed=!1}var w=!1,M=-1,W=-1,Q=-1;p?(M=p.parenthesizedAssign,W=p.trailingComma,Q=p.doubleProto,p.parenthesizedAssign=p.trailingComma=-1):(p=new Tt,w=!0);var ce=this.start,de=this.startLoc;(this.type===b.parenL||this.type===b.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=u==="await");var Ie=this.parseMaybeConditional(u,p);if(T&&(Ie=T.call(this,Ie,ce,de)),this.type.isAssign){var Me=this.startNodeAt(ce,de);return Me.operator=this.value,this.type===b.eq&&(Ie=this.toAssignable(Ie,!1,p)),w||(p.parenthesizedAssign=p.trailingComma=p.doubleProto=-1),p.shorthandAssign>=Ie.start&&(p.shorthandAssign=-1),this.type===b.eq?this.checkLValPattern(Ie):this.checkLValSimple(Ie),Me.left=Ie,this.next(),Me.right=this.parseMaybeAssign(u),Q>-1&&(p.doubleProto=Q),this.finishNode(Me,"AssignmentExpression")}else w&&this.checkExpressionErrors(p,!0);return M>-1&&(p.parenthesizedAssign=M),W>-1&&(p.trailingComma=W),Ie},Ne.parseMaybeConditional=function(u,p){var T=this.start,w=this.startLoc,M=this.parseExprOps(u,p);if(this.checkExpressionErrors(p))return M;if(this.eat(b.question)){var W=this.startNodeAt(T,w);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,p){var T=this.start,w=this.startLoc,M=this.parseMaybeUnary(p,!1,!1,u);return this.checkExpressionErrors(p)||M.start===T&&M.type==="ArrowFunctionExpression"?M:this.parseExprOp(M,T,w,-1,u)},Ne.parseExprOp=function(u,p,T,w,M){var W=this.type.binop;if(W!=null&&(!M||this.type!==b._in)&&W>w){var Q=this.type===b.logicalOR||this.type===b.logicalAND,ce=this.type===b.coalesce;ce&&(W=b.logicalAND.binop);var de=this.value;this.next();var Ie=this.start,Me=this.startLoc,it=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,M),Ie,Me,W,M),Mt=this.buildBinary(p,T,u,it,de,Q||ce);return(Q&&this.type===b.coalesce||ce&&(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,p,T,w,M)}return u},Ne.buildBinary=function(u,p,T,w,M,W){w.type==="PrivateIdentifier"&&this.raise(w.start,"Private identifier can only be left side of binary expression");var Q=this.startNodeAt(u,p);return Q.left=T,Q.operator=M,Q.right=w,this.finishNode(Q,W?"LogicalExpression":"BinaryExpression")},Ne.parseMaybeUnary=function(u,p,T,w){var M=this.start,W=this.startLoc,Q;if(this.isContextual("await")&&this.canAwait)Q=this.parseAwait(w),p=!0;else if(this.type.prefix){var ce=this.startNode(),de=this.type===b.incDec;ce.operator=this.value,ce.prefix=!0,this.next(),ce.argument=this.parseMaybeUnary(null,!0,de,w),this.checkExpressionErrors(u,!0),de?this.checkLValSimple(ce.argument):this.strict&&ce.operator==="delete"&&B0(ce.argument)?this.raiseRecoverable(ce.start,"Deleting local variable in strict mode"):ce.operator==="delete"&&Pu(ce.argument)?this.raiseRecoverable(ce.start,"Private fields can not be deleted"):p=!0,Q=this.finishNode(ce,de?"UpdateExpression":"UnaryExpression")}else if(!p&&this.type===b.privateId)(w||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),Q=this.parsePrivateIdent(),this.type!==b._in&&this.unexpected();else{if(Q=this.parseExprSubscripts(u,w),this.checkExpressionErrors(u))return Q;for(;this.type.postfix&&!this.canInsertSemicolon();){var Ie=this.startNodeAt(M,W);Ie.operator=this.value,Ie.prefix=!1,Ie.argument=Q,this.checkLValSimple(Q),this.next(),Q=this.finishNode(Ie,"UpdateExpression")}}if(!T&&this.eat(b.starstar))if(p)this.unexpected(this.lastTokStart);else return this.buildBinary(M,W,Q,this.parseMaybeUnary(null,!1,!1,w),"**",!1);else return Q};function B0(u){return u.type==="Identifier"||u.type==="ParenthesizedExpression"&&B0(u.expression)}function Pu(u){return u.type==="MemberExpression"&&u.property.type==="PrivateIdentifier"||u.type==="ChainExpression"&&Pu(u.expression)||u.type==="ParenthesizedExpression"&&Pu(u.expression)}Ne.parseExprSubscripts=function(u,p){var T=this.start,w=this.startLoc,M=this.parseExprAtom(u,p);if(M.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return M;var W=this.parseSubscripts(M,T,w,!1,p);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,p,T,w,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,Q=!1;;){var ce=this.parseSubscript(u,p,T,w,W,Q,M);if(ce.optional&&(Q=!0),ce===u||ce.type==="ArrowFunctionExpression"){if(Q){var de=this.startNodeAt(p,T);de.expression=ce,ce=this.finishNode(de,"ChainExpression")}return ce}u=ce}},Ne.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(b.arrow)},Ne.parseSubscriptAsyncArrow=function(u,p,T,w){return this.parseArrowExpression(this.startNodeAt(u,p),T,!0,w)},Ne.parseSubscript=function(u,p,T,w,M,W,Q){var ce=this.options.ecmaVersion>=11,de=ce&&this.eat(b.questionDot);w&&de&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Ie=this.eat(b.bracketL);if(Ie||de&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var Me=this.startNodeAt(p,T);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,ce&&(Me.optional=de),u=this.finishNode(Me,"MemberExpression")}else if(!w&&this.eat(b.parenL)){var it=new Tt,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,it);if(M&&!de&&this.shouldParseAsyncArrow())return this.checkPatternErrors(it,!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(p,T,Xa,Q);this.checkExpressionErrors(it,!0),this.yieldPos=Mt||this.yieldPos,this.awaitPos=ji||this.awaitPos,this.awaitIdentPos=ii||this.awaitIdentPos;var ai=this.startNodeAt(p,T);ai.callee=u,ai.arguments=Xa,ce&&(ai.optional=de),u=this.finishNode(ai,"CallExpression")}else if(this.type===b.backQuote){(de||W)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var si=this.startNodeAt(p,T);si.tag=u,si.quasi=this.parseTemplate({isTagged:!0}),u=this.finishNode(si,"TaggedTemplateExpression")}return u},Ne.parseExprAtom=function(u,p,T){this.type===b.slash&&this.readRegexp();var w,M=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),w=this.startNode(),this.next(),this.type===b.parenL&&!this.allowDirectSuper&&this.raise(w.start,"super() call outside constructor of a subclass"),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(w,"Super");case b._this:return w=this.startNode(),this.next(),this.finishNode(w,"ThisExpression");case b.name:var W=this.start,Q=this.startLoc,ce=this.containsEsc,de=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!ce&&de.name==="async"&&!this.canInsertSemicolon()&&this.eat(b._function))return this.overrideContext(nt.f_expr),this.parseFunction(this.startNodeAt(W,Q),0,!1,!0,p);if(M&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(W,Q),[de],!1,p);if(this.options.ecmaVersion>=8&&de.name==="async"&&this.type===b.name&&!ce&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return de=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(b.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(W,Q),[de],!0,p)}return de;case b.regexp:var Ie=this.value;return w=this.parseLiteral(Ie.value),w.regex={pattern:Ie.pattern,flags:Ie.flags},w;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return w=this.startNode(),w.value=this.type===b._null?null:this.type===b._true,w.raw=this.type.keyword,this.next(),this.finishNode(w,"Literal");case b.parenL:var Me=this.start,it=this.parseParenAndDistinguishExpression(M,p);return u&&(u.parenthesizedAssign<0&&!this.isSimpleAssignTarget(it)&&(u.parenthesizedAssign=Me),u.parenthesizedBind<0&&(u.parenthesizedBind=Me)),it;case b.bracketL:return w=this.startNode(),this.next(),w.elements=this.parseExprList(b.bracketR,!0,!0,u),this.finishNode(w,"ArrayExpression");case b.braceL:return this.overrideContext(nt.b_expr),this.parseObj(!1,u);case b._function:return w=this.startNode(),this.next(),this.parseFunction(w,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(T):this.unexpected();default:return this.parseExprAtomDefault()}},Ne.parseExprAtomDefault=function(){this.unexpected()},Ne.parseExprImport=function(u){var p=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===b.parenL&&!u)return this.parseDynamicImport(p);if(this.type===b.dot){var T=this.startNodeAt(p.start,p.loc&&p.loc.start);return T.name="import",p.meta=this.finishNode(T,"Identifier"),this.parseImportMeta(p)}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 p=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(p,"Trailing comma is not allowed in import()"):this.unexpected(p)}return this.finishNode(u,"ImportExpression")},Ne.parseImportMeta=function(u){this.next();var p=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'"),p&&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 p=this.startNode();return p.value=u,p.raw=this.input.slice(this.start,this.end),p.raw.charCodeAt(p.raw.length-1)===110&&(p.bigint=p.value!=null?p.value.toString():p.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(p,"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,p){var T=this.start,w=this.startLoc,M,W=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Q=this.start,ce=this.startLoc,de=[],Ie=!0,Me=!1,it=new Tt,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,de.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else de.push(this.parseMaybeAssign(!1,it,this.parseParenItem));var Xa=this.lastTokEnd,ai=this.lastTokEndLoc;if(this.expect(b.parenR),u&&this.shouldParseArrow(de)&&this.eat(b.arrow))return this.checkPatternErrors(it,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Mt,this.awaitPos=ji,this.parseParenArrowList(T,w,de,p);(!de.length||Me)&&this.unexpected(this.lastTokStart),ii&&this.unexpected(ii),this.checkExpressionErrors(it,!0),this.yieldPos=Mt||this.yieldPos,this.awaitPos=ji||this.awaitPos,de.length>1?(M=this.startNodeAt(Q,ce),M.expressions=de,this.finishNodeAt(M,"SequenceExpression",Xa,ai)):M=de[0]}else M=this.parseParenExpression();if(this.options.preserveParens){var si=this.startNodeAt(T,w);return si.expression=M,this.finishNode(si,"ParenthesizedExpression")}else return M},Ne.parseParenItem=function(u){return u},Ne.parseParenArrowList=function(u,p,T,w){return this.parseArrowExpression(this.startNodeAt(u,p),T,!1,w)};var X2=[];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 p=this.startNodeAt(u.start,u.loc&&u.loc.start);p.name="new",u.meta=this.finishNode(p,"Identifier"),this.next();var T=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'"),T&&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 w=this.start,M=this.startLoc;return u.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),w,M,!0,!1),this.eat(b.parenL)?u.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):u.arguments=X2,this.finishNode(u,"NewExpression")},Ne.parseTemplateElement=function(u){var p=u.isTagged,T=this.startNode();return this.type===b.invalidTemplate?(p||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),T.value={raw:this.value.replace(/\r\n?/g,`
6
- `),cooked:null}):T.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
7
- `),cooked:this.value},this.next(),T.tail=this.type===b.backQuote,this.finishNode(T,"TemplateElement")},Ne.parseTemplate=function(u){u===void 0&&(u={});var p=u.isTagged;p===void 0&&(p=!1);var T=this.startNode();this.next(),T.expressions=[];var w=this.parseTemplateElement({isTagged:p});for(T.quasis=[w];!w.tail;)this.type===b.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(b.dollarBraceL),T.expressions.push(this.parseExpression()),this.expect(b.braceR),T.quasis.push(w=this.parseTemplateElement({isTagged:p}));return this.next(),this.finishNode(T,"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,p){var T=this.startNode(),w=!0,M={};for(T.properties=[],this.next();!this.eat(b.braceR);){if(w)w=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var W=this.parseProperty(u,p);u||this.checkPropClash(W,M,p),T.properties.push(W)}return this.finishNode(T,u?"ObjectPattern":"ObjectExpression")},Ne.parseProperty=function(u,p){var T=this.startNode(),w,M,W,Q;if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return u?(T.argument=this.parseIdent(!1),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(T,"RestElement")):(T.argument=this.parseMaybeAssign(!1,p),this.type===b.comma&&p&&p.trailingComma<0&&(p.trailingComma=this.start),this.finishNode(T,"SpreadElement"));this.options.ecmaVersion>=6&&(T.method=!1,T.shorthand=!1,(u||p)&&(W=this.start,Q=this.startLoc),u||(w=this.eat(b.star)));var ce=this.containsEsc;return this.parsePropertyName(T),!u&&!ce&&this.options.ecmaVersion>=8&&!w&&this.isAsyncProp(T)?(M=!0,w=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(T)):M=!1,this.parsePropertyValue(T,u,w,M,W,Q,p,ce),this.finishNode(T,"Property")},Ne.parseGetterSetter=function(u){var p=u.key.name;this.parsePropertyName(u),u.value=this.parseMethod(!1),u.kind=p;var T=u.kind==="get"?0:1;if(u.value.params.length!==T){var w=u.value.start;u.kind==="get"?this.raiseRecoverable(w,"getter should have no params"):this.raiseRecoverable(w,"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,p,T,w,M,W,Q,ce){(T||w)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon)?(u.value=p?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Q),u.kind="init"):this.options.ecmaVersion>=6&&this.type===b.parenL?(p&&this.unexpected(),u.method=!0,u.value=this.parseMethod(T,w),u.kind="init"):!p&&!ce&&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?((T||w)&&this.unexpected(),this.parseGetterSetter(u)):this.options.ecmaVersion>=6&&!u.computed&&u.key.type==="Identifier"?((T||w)&&this.unexpected(),this.checkUnreserved(u.key),u.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=M),p?u.value=this.parseMaybeDefault(M,W,this.copyNode(u.key)):this.type===b.eq&&Q?(Q.shorthandAssign<0&&(Q.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,p,T){var w=this.startNode(),M=this.yieldPos,W=this.awaitPos,Q=this.awaitIdentPos;return this.initFunction(w),this.options.ecmaVersion>=6&&(w.generator=u),this.options.ecmaVersion>=8&&(w.async=!!p),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Br(p,w.generator)|hr|(T?Ar:0)),this.expect(b.parenL),w.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(w,!1,!0,!1),this.yieldPos=M,this.awaitPos=W,this.awaitIdentPos=Q,this.finishNode(w,"FunctionExpression")},Ne.parseArrowExpression=function(u,p,T,w){var M=this.yieldPos,W=this.awaitPos,Q=this.awaitIdentPos;return this.enterScope(Br(T,!1)|Or),this.initFunction(u),this.options.ecmaVersion>=8&&(u.async=!!T),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,u.params=this.toAssignableList(p,!0),this.parseFunctionBody(u,!0,!1,w),this.yieldPos=M,this.awaitPos=W,this.awaitIdentPos=Q,this.finishNode(u,"ArrowFunctionExpression")},Ne.parseFunctionBody=function(u,p,T,w){var M=p&&this.type!==b.braceL,W=this.strict,Q=!1;if(M)u.body=this.parseMaybeAssign(w),u.expression=!0,this.checkParams(u,!1);else{var ce=this.options.ecmaVersion>=7&&!this.isSimpleParamList(u.params);(!W||ce)&&(Q=this.strictDirective(this.end),Q&&ce&&this.raiseRecoverable(u.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var de=this.labels;this.labels=[],Q&&(this.strict=!0),this.checkParams(u,!W&&!Q&&!p&&!T&&this.isSimpleParamList(u.params)),this.strict&&u.id&&this.checkLValSimple(u.id,te),u.body=this.parseBlock(!1,void 0,Q&&!W),u.expression=!1,this.adaptDirectivePrologue(u.body.body),this.labels=de}this.exitScope()},Ne.isSimpleParamList=function(u){for(var p=0,T=u;p<T.length;p+=1){var w=T[p];if(w.type!=="Identifier")return!1}return!0},Ne.checkParams=function(u,p){for(var T=Object.create(null),w=0,M=u.params;w<M.length;w+=1){var W=M[w];this.checkLValInnerPattern(W,Vn,p?null:T)}},Ne.parseExprList=function(u,p,T,w){for(var M=[],W=!0;!this.eat(u);){if(W)W=!1;else if(this.expect(b.comma),p&&this.afterTrailingComma(u))break;var Q=void 0;T&&this.type===b.comma?Q=null:this.type===b.ellipsis?(Q=this.parseSpread(w),w&&this.type===b.comma&&w.trailingComma<0&&(w.trailingComma=this.start)):Q=this.parseMaybeAssign(!1,w),M.push(Q)}return M},Ne.checkUnreserved=function(u){var p=u.start,T=u.end,w=u.name;if(this.inGenerator&&w==="yield"&&this.raiseRecoverable(p,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&w==="await"&&this.raiseRecoverable(p,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Jt)&&w==="arguments"&&this.raiseRecoverable(p,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(w==="arguments"||w==="await")&&this.raise(p,"Cannot use "+w+" in class static initialization block"),this.keywords.test(w)&&this.raise(p,"Unexpected keyword '"+w+"'"),!(this.options.ecmaVersion<6&&this.input.slice(p,T).indexOf("\\")!==-1)){var M=this.strict?this.reservedWordsStrict:this.reservedWords;M.test(w)&&(!this.inAsync&&w==="await"&&this.raiseRecoverable(p,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(p,"The keyword '"+w+"' is reserved"))}},Ne.parseIdent=function(u){var p=this.parseIdentNode();return this.next(!!u),this.finishNode(p,"Identifier"),u||(this.checkUnreserved(p),p.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=p.start)),p},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 p=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(p.delegate=!1,p.argument=null):(p.delegate=this.eat(b.star),p.argument=this.parseMaybeAssign(u)),this.finishNode(p,"YieldExpression")},Ne.parseAwait=function(u){this.awaitPos||(this.awaitPos=this.start);var p=this.startNode();return this.next(),p.argument=this.parseMaybeUnary(null,!0,!1,u),this.finishNode(p,"AwaitExpression")};var Ga=re.prototype;Ga.raise=function(u,p){var T=pt(this.input,u);p+=" ("+T.line+":"+T.column+")",this.sourceFile&&(p+=" in "+this.sourceFile);var w=new SyntaxError(p);throw w.pos=u,w.loc=T,w.raisedAt=this.pos,w},Ga.raiseRecoverable=Ga.raise,Ga.curPosition=function(){if(this.options.locations)return new $e(this.curLine,this.pos-this.lineStart)};var kn=re.prototype,J2=function(p){this.flags=p,this.var=[],this.lexical=[],this.functions=[]};kn.enterScope=function(u){this.scopeStack.push(new J2(u))},kn.exitScope=function(){this.scopeStack.pop()},kn.treatFunctionsAsVarInScope=function(u){return u.flags&bt||!this.inModule&&u.flags&gt},kn.declareName=function(u,p,T){var w=!1;if(p===Ot){var M=this.currentScope();w=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(p===qn){var W=this.currentScope();W.lexical.push(u)}else if(p===et){var Q=this.currentScope();this.treatFunctionsAsVar?w=Q.lexical.indexOf(u)>-1:w=Q.lexical.indexOf(u)>-1||Q.var.indexOf(u)>-1,Q.functions.push(u)}else for(var ce=this.scopeStack.length-1;ce>=0;--ce){var de=this.scopeStack[ce];if(de.lexical.indexOf(u)>-1&&!(de.flags&Mr&&de.lexical[0]===u)||!this.treatFunctionsAsVarInScope(de)&&de.functions.indexOf(u)>-1){w=!0;break}if(de.var.push(u),this.inModule&&de.flags&gt&&delete this.undefinedExports[u],de.flags&Jt)break}w&&this.raiseRecoverable(T,"Identifier '"+u+"' has already been declared")},kn.checkLocalExport=function(u){this.scopeStack[0].lexical.indexOf(u.name)===-1&&this.scopeStack[0].var.indexOf(u.name)===-1&&(this.undefinedExports[u.name]=u)},kn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},kn.currentVarScope=function(){for(var u=this.scopeStack.length-1;;u--){var p=this.scopeStack[u];if(p.flags&(Jt|qt|Dt))return p}},kn.currentThisScope=function(){for(var u=this.scopeStack.length-1;;u--){var p=this.scopeStack[u];if(p.flags&(Jt|qt|Dt)&&!(p.flags&Or))return p}};var Vi=function(p,T,w){this.type="",this.start=T,this.end=0,p.options.locations&&(this.loc=new q(p,w)),p.options.directSourceFile&&(this.sourceFile=p.options.directSourceFile),p.options.ranges&&(this.range=[T,0])},qi=re.prototype;qi.startNode=function(){return new Vi(this,this.start,this.startLoc)},qi.startNodeAt=function(u,p){return new Vi(this,u,p)};function F0(u,p,T,w){return u.type=p,u.end=T,this.options.locations&&(u.loc.end=w),this.options.ranges&&(u.range[1]=T),u}qi.finishNode=function(u,p){return F0.call(this,u,p,this.lastTokEnd,this.lastTokEndLoc)},qi.finishNodeAt=function(u,p,T,w){return F0.call(this,u,p,T,w)},qi.copyNode=function(u){var p=new Vi(this,u.start,this.startLoc);for(var T in u)p[T]=u[T];return p};var Q2="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",H0="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",z0=H0+" Extended_Pictographic",U0=z0,V0=U0+" EBase EComp EMod EPres ExtPict",q0=V0,K2=q0,Z2={9:H0,10:z0,11:U0,12:V0,13:q0,14:K2},eg="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",tg={9:"",10:"",11:"",12:"",13:"",14:eg},j0="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",G0="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",$0=G0+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",W0=$0+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Y0=W0+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",X0=Y0+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",rg=X0+" "+Q2,ng={9:G0,10:$0,11:W0,12:Y0,13:X0,14:rg},J0={};function ig(u){var p=J0[u]={binary:Xe(Z2[u]+" "+j0),binaryOfStrings:Xe(tg[u]),nonBinary:{General_Category:Xe(j0),Script:Xe(ng[u])}};p.nonBinary.Script_Extensions=p.nonBinary.Script,p.nonBinary.gc=p.nonBinary.General_Category,p.nonBinary.sc=p.nonBinary.Script,p.nonBinary.scx=p.nonBinary.Script_Extensions}for(var Du=0,Q0=[9,10,11,12,13,14];Du<Q0.length;Du+=1){var ag=Q0[Du];ig(ag)}var Ee=re.prototype,$a=function(p,T){this.parent=p,this.base=T||this};$a.prototype.separatedFrom=function(p){for(var T=this;T;T=T.parent)for(var w=p;w;w=w.parent)if(T.base===w.base&&T!==w)return!0;return!1},$a.prototype.sibling=function(){return new $a(this.parent,this.base)};var Hr=function(p){this.parser=p,this.validFlags="gim"+(p.options.ecmaVersion>=6?"uy":"")+(p.options.ecmaVersion>=9?"s":"")+(p.options.ecmaVersion>=13?"d":"")+(p.options.ecmaVersion>=15?"v":""),this.unicodeProperties=J0[p.options.ecmaVersion>=14?14:p.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(p,T,w){var M=w.indexOf("v")!==-1,W=w.indexOf("u")!==-1;this.start=p|0,this.source=T+"",this.flags=w,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(p){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+p)},Hr.prototype.at=function(p,T){T===void 0&&(T=!1);var w=this.source,M=w.length;if(p>=M)return-1;var W=w.charCodeAt(p);if(!(T||this.switchU)||W<=55295||W>=57344||p+1>=M)return W;var Q=w.charCodeAt(p+1);return Q>=56320&&Q<=57343?(W<<10)+Q-56613888:W},Hr.prototype.nextIndex=function(p,T){T===void 0&&(T=!1);var w=this.source,M=w.length;if(p>=M)return M;var W=w.charCodeAt(p),Q;return!(T||this.switchU)||W<=55295||W>=57344||p+1>=M||(Q=w.charCodeAt(p+1))<56320||Q>57343?p+1:p+2},Hr.prototype.current=function(p){return p===void 0&&(p=!1),this.at(this.pos,p)},Hr.prototype.lookahead=function(p){return p===void 0&&(p=!1),this.at(this.nextIndex(this.pos,p),p)},Hr.prototype.advance=function(p){p===void 0&&(p=!1),this.pos=this.nextIndex(this.pos,p)},Hr.prototype.eat=function(p,T){return T===void 0&&(T=!1),this.current(T)===p?(this.advance(T),!0):!1},Hr.prototype.eatChars=function(p,T){T===void 0&&(T=!1);for(var w=this.pos,M=0,W=p;M<W.length;M+=1){var Q=W[M],ce=this.at(w,T);if(ce===-1||ce!==Q)return!1;w=this.nextIndex(w,T)}return this.pos=w,!0},Ee.validateRegExpFlags=function(u){for(var p=u.validFlags,T=u.flags,w=!1,M=!1,W=0;W<T.length;W++){var Q=T.charAt(W);p.indexOf(Q)===-1&&this.raise(u.start,"Invalid regular expression flag"),T.indexOf(Q,W+1)>-1&&this.raise(u.start,"Duplicate regular expression flag"),Q==="u"&&(w=!0),Q==="v"&&(M=!0)}this.options.ecmaVersion>=15&&w&&M&&this.raise(u.start,"Invalid regular expression flag")};function sg(u){for(var p in u)return!0;return!1}Ee.validateRegExpPattern=function(u){this.regexp_pattern(u),!u.switchN&&this.options.ecmaVersion>=9&&sg(u.groupNames)&&(u.switchN=!0,this.regexp_pattern(u))},Ee.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 p=0,T=u.backReferenceNames;p<T.length;p+=1){var w=T[p];u.groupNames[w]||u.raise("Invalid named capture referenced")}},Ee.regexp_disjunction=function(u){var p=this.options.ecmaVersion>=16;for(p&&(u.branchID=new $a(u.branchID,null)),this.regexp_alternative(u);u.eat(124);)p&&(u.branchID=u.branchID.sibling()),this.regexp_alternative(u);p&&(u.branchID=u.branchID.parent),this.regexp_eatQuantifier(u,!0)&&u.raise("Nothing to repeat"),u.eat(123)&&u.raise("Lone quantifier brackets")},Ee.regexp_alternative=function(u){for(;u.pos<u.source.length&&this.regexp_eatTerm(u););},Ee.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},Ee.regexp_eatAssertion=function(u){var p=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=p}if(u.eat(40)&&u.eat(63)){var T=!1;if(this.options.ecmaVersion>=9&&(T=u.eat(60)),u.eat(61)||u.eat(33))return this.regexp_disjunction(u),u.eat(41)||u.raise("Unterminated group"),u.lastAssertionIsQuantifiable=!T,!0}return u.pos=p,!1},Ee.regexp_eatQuantifier=function(u,p){return p===void 0&&(p=!1),this.regexp_eatQuantifierPrefix(u,p)?(u.eat(63),!0):!1},Ee.regexp_eatQuantifierPrefix=function(u,p){return u.eat(42)||u.eat(43)||u.eat(63)||this.regexp_eatBracedQuantifier(u,p)},Ee.regexp_eatBracedQuantifier=function(u,p){var T=u.pos;if(u.eat(123)){var w=0,M=-1;if(this.regexp_eatDecimalDigits(u)&&(w=u.lastIntValue,u.eat(44)&&this.regexp_eatDecimalDigits(u)&&(M=u.lastIntValue),u.eat(125)))return M!==-1&&M<w&&!p&&u.raise("numbers out of order in {} quantifier"),!0;u.switchU&&!p&&u.raise("Incomplete quantifier"),u.pos=T}return!1},Ee.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)},Ee.regexp_eatReverseSolidusAtomEscape=function(u){var p=u.pos;if(u.eat(92)){if(this.regexp_eatAtomEscape(u))return!0;u.pos=p}return!1},Ee.regexp_eatUncapturingGroup=function(u){var p=u.pos;if(u.eat(40)){if(u.eat(63)){if(this.options.ecmaVersion>=16){var T=this.regexp_eatModifiers(u),w=u.eat(45);if(T||w){for(var M=0;M<T.length;M++){var W=T.charAt(M);T.indexOf(W,M+1)>-1&&u.raise("Duplicate regular expression modifiers")}if(w){var Q=this.regexp_eatModifiers(u);!T&&!Q&&u.current()===58&&u.raise("Invalid regular expression modifiers");for(var ce=0;ce<Q.length;ce++){var de=Q.charAt(ce);(Q.indexOf(de,ce+1)>-1||T.indexOf(de)>-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=p}return!1},Ee.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},Ee.regexp_eatModifiers=function(u){for(var p="",T=0;(T=u.current())!==-1&&ug(T);)p+=V(T),u.advance();return p};function ug(u){return u===105||u===109||u===115}Ee.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)},Ee.regexp_eatInvalidBracedQuantifier=function(u){return this.regexp_eatBracedQuantifier(u,!0)&&u.raise("Nothing to repeat"),!1},Ee.regexp_eatSyntaxCharacter=function(u){var p=u.current();return K0(p)?(u.lastIntValue=p,u.advance(),!0):!1};function K0(u){return u===36||u>=40&&u<=43||u===46||u===63||u>=91&&u<=94||u>=123&&u<=125}Ee.regexp_eatPatternCharacters=function(u){for(var p=u.pos,T=0;(T=u.current())!==-1&&!K0(T);)u.advance();return u.pos!==p},Ee.regexp_eatExtendedPatternCharacter=function(u){var p=u.current();return p!==-1&&p!==36&&!(p>=40&&p<=43)&&p!==46&&p!==63&&p!==91&&p!==94&&p!==124?(u.advance(),!0):!1},Ee.regexp_groupSpecifier=function(u){if(u.eat(63)){this.regexp_eatGroupName(u)||u.raise("Invalid group");var p=this.options.ecmaVersion>=16,T=u.groupNames[u.lastStringValue];if(T)if(p)for(var w=0,M=T;w<M.length;w+=1){var W=M[w];W.separatedFrom(u.branchID)||u.raise("Duplicate capture group name")}else u.raise("Duplicate capture group name");p?(T||(u.groupNames[u.lastStringValue]=[])).push(u.branchID):u.groupNames[u.lastStringValue]=!0}},Ee.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},Ee.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},Ee.regexp_eatRegExpIdentifierStart=function(u){var p=u.pos,T=this.options.ecmaVersion>=11,w=u.current(T);return u.advance(T),w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(u,T)&&(w=u.lastIntValue),og(w)?(u.lastIntValue=w,!0):(u.pos=p,!1)};function og(u){return E(u,!0)||u===36||u===95}Ee.regexp_eatRegExpIdentifierPart=function(u){var p=u.pos,T=this.options.ecmaVersion>=11,w=u.current(T);return u.advance(T),w===92&&this.regexp_eatRegExpUnicodeEscapeSequence(u,T)&&(w=u.lastIntValue),lg(w)?(u.lastIntValue=w,!0):(u.pos=p,!1)};function lg(u){return S(u,!0)||u===36||u===95||u===8204||u===8205}Ee.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)},Ee.regexp_eatBackReference=function(u){var p=u.pos;if(this.regexp_eatDecimalEscape(u)){var T=u.lastIntValue;if(u.switchU)return T>u.maxBackReference&&(u.maxBackReference=T),!0;if(T<=u.numCapturingParens)return!0;u.pos=p}return!1},Ee.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},Ee.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)},Ee.regexp_eatCControlLetter=function(u){var p=u.pos;if(u.eat(99)){if(this.regexp_eatControlLetter(u))return!0;u.pos=p}return!1},Ee.regexp_eatZero=function(u){return u.current()===48&&!Wa(u.lookahead())?(u.lastIntValue=0,u.advance(),!0):!1},Ee.regexp_eatControlEscape=function(u){var p=u.current();return p===116?(u.lastIntValue=9,u.advance(),!0):p===110?(u.lastIntValue=10,u.advance(),!0):p===118?(u.lastIntValue=11,u.advance(),!0):p===102?(u.lastIntValue=12,u.advance(),!0):p===114?(u.lastIntValue=13,u.advance(),!0):!1},Ee.regexp_eatControlLetter=function(u){var p=u.current();return Z0(p)?(u.lastIntValue=p%32,u.advance(),!0):!1};function Z0(u){return u>=65&&u<=90||u>=97&&u<=122}Ee.regexp_eatRegExpUnicodeEscapeSequence=function(u,p){p===void 0&&(p=!1);var T=u.pos,w=p||u.switchU;if(u.eat(117)){if(this.regexp_eatFixedHexDigits(u,4)){var M=u.lastIntValue;if(w&&M>=55296&&M<=56319){var W=u.pos;if(u.eat(92)&&u.eat(117)&&this.regexp_eatFixedHexDigits(u,4)){var Q=u.lastIntValue;if(Q>=56320&&Q<=57343)return u.lastIntValue=(M-55296)*1024+(Q-56320)+65536,!0}u.pos=W,u.lastIntValue=M}return!0}if(w&&u.eat(123)&&this.regexp_eatHexDigits(u)&&u.eat(125)&&cg(u.lastIntValue))return!0;w&&u.raise("Invalid unicode escape"),u.pos=T}return!1};function cg(u){return u>=0&&u<=1114111}Ee.regexp_eatIdentityEscape=function(u){if(u.switchU)return this.regexp_eatSyntaxCharacter(u)?!0:u.eat(47)?(u.lastIntValue=47,!0):!1;var p=u.current();return p!==99&&(!u.switchN||p!==107)?(u.lastIntValue=p,u.advance(),!0):!1},Ee.regexp_eatDecimalEscape=function(u){u.lastIntValue=0;var p=u.current();if(p>=49&&p<=57){do u.lastIntValue=10*u.lastIntValue+(p-48),u.advance();while((p=u.current())>=48&&p<=57);return!0}return!1};var ec=0,an=1,mr=2;Ee.regexp_eatCharacterClassEscape=function(u){var p=u.current();if(hg(p))return u.lastIntValue=-1,u.advance(),an;var T=!1;if(u.switchU&&this.options.ecmaVersion>=9&&((T=p===80)||p===112)){u.lastIntValue=-1,u.advance();var w;if(u.eat(123)&&(w=this.regexp_eatUnicodePropertyValueExpression(u))&&u.eat(125))return T&&w===mr&&u.raise("Invalid property name"),w;u.raise("Invalid property name")}return ec};function hg(u){return u===100||u===68||u===115||u===83||u===119||u===87}Ee.regexp_eatUnicodePropertyValueExpression=function(u){var p=u.pos;if(this.regexp_eatUnicodePropertyName(u)&&u.eat(61)){var T=u.lastStringValue;if(this.regexp_eatUnicodePropertyValue(u)){var w=u.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(u,T,w),an}}if(u.pos=p,this.regexp_eatLoneUnicodePropertyNameOrValue(u)){var M=u.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(u,M)}return ec},Ee.regexp_validateUnicodePropertyNameAndValue=function(u,p,T){ve(u.unicodeProperties.nonBinary,p)||u.raise("Invalid property name"),u.unicodeProperties.nonBinary[p].test(T)||u.raise("Invalid property value")},Ee.regexp_validateUnicodePropertyNameOrValue=function(u,p){if(u.unicodeProperties.binary.test(p))return an;if(u.switchV&&u.unicodeProperties.binaryOfStrings.test(p))return mr;u.raise("Invalid property name")},Ee.regexp_eatUnicodePropertyName=function(u){var p=0;for(u.lastStringValue="";tc(p=u.current());)u.lastStringValue+=V(p),u.advance();return u.lastStringValue!==""};function tc(u){return Z0(u)||u===95}Ee.regexp_eatUnicodePropertyValue=function(u){var p=0;for(u.lastStringValue="";fg(p=u.current());)u.lastStringValue+=V(p),u.advance();return u.lastStringValue!==""};function fg(u){return tc(u)||Wa(u)}Ee.regexp_eatLoneUnicodePropertyNameOrValue=function(u){return this.regexp_eatUnicodePropertyValue(u)},Ee.regexp_eatCharacterClass=function(u){if(u.eat(91)){var p=u.eat(94),T=this.regexp_classContents(u);return u.eat(93)||u.raise("Unterminated character class"),p&&T===mr&&u.raise("Negated character class may contain strings"),!0}return!1},Ee.regexp_classContents=function(u){return u.current()===93?an:u.switchV?this.regexp_classSetExpression(u):(this.regexp_nonEmptyClassRanges(u),an)},Ee.regexp_nonEmptyClassRanges=function(u){for(;this.regexp_eatClassAtom(u);){var p=u.lastIntValue;if(u.eat(45)&&this.regexp_eatClassAtom(u)){var T=u.lastIntValue;u.switchU&&(p===-1||T===-1)&&u.raise("Invalid character class"),p!==-1&&T!==-1&&p>T&&u.raise("Range out of order in character class")}}},Ee.regexp_eatClassAtom=function(u){var p=u.pos;if(u.eat(92)){if(this.regexp_eatClassEscape(u))return!0;if(u.switchU){var T=u.current();(T===99||ic(T))&&u.raise("Invalid class escape"),u.raise("Invalid escape")}u.pos=p}var w=u.current();return w!==93?(u.lastIntValue=w,u.advance(),!0):!1},Ee.regexp_eatClassEscape=function(u){var p=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=p}return this.regexp_eatCharacterClassEscape(u)||this.regexp_eatCharacterEscape(u)},Ee.regexp_classSetExpression=function(u){var p=an,T;if(!this.regexp_eatClassSetRange(u))if(T=this.regexp_eatClassSetOperand(u)){T===mr&&(p=mr);for(var w=u.pos;u.eatChars([38,38]);){if(u.current()!==38&&(T=this.regexp_eatClassSetOperand(u))){T!==mr&&(p=an);continue}u.raise("Invalid character in character class")}if(w!==u.pos)return p;for(;u.eatChars([45,45]);)this.regexp_eatClassSetOperand(u)||u.raise("Invalid character in character class");if(w!==u.pos)return p}else u.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(u)){if(T=this.regexp_eatClassSetOperand(u),!T)return p;T===mr&&(p=mr)}},Ee.regexp_eatClassSetRange=function(u){var p=u.pos;if(this.regexp_eatClassSetCharacter(u)){var T=u.lastIntValue;if(u.eat(45)&&this.regexp_eatClassSetCharacter(u)){var w=u.lastIntValue;return T!==-1&&w!==-1&&T>w&&u.raise("Range out of order in character class"),!0}u.pos=p}return!1},Ee.regexp_eatClassSetOperand=function(u){return this.regexp_eatClassSetCharacter(u)?an:this.regexp_eatClassStringDisjunction(u)||this.regexp_eatNestedClass(u)},Ee.regexp_eatNestedClass=function(u){var p=u.pos;if(u.eat(91)){var T=u.eat(94),w=this.regexp_classContents(u);if(u.eat(93))return T&&w===mr&&u.raise("Negated character class may contain strings"),w;u.pos=p}if(u.eat(92)){var M=this.regexp_eatCharacterClassEscape(u);if(M)return M;u.pos=p}return null},Ee.regexp_eatClassStringDisjunction=function(u){var p=u.pos;if(u.eatChars([92,113])){if(u.eat(123)){var T=this.regexp_classStringDisjunctionContents(u);if(u.eat(125))return T}else u.raise("Invalid escape");u.pos=p}return null},Ee.regexp_classStringDisjunctionContents=function(u){for(var p=this.regexp_classString(u);u.eat(124);)this.regexp_classString(u)===mr&&(p=mr);return p},Ee.regexp_classString=function(u){for(var p=0;this.regexp_eatClassSetCharacter(u);)p++;return p===1?an:mr},Ee.regexp_eatClassSetCharacter=function(u){var p=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=p,!1);var T=u.current();return T<0||T===u.lookahead()&&pg(T)||dg(T)?!1:(u.advance(),u.lastIntValue=T,!0)};function pg(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 dg(u){return u===40||u===41||u===45||u===47||u>=91&&u<=93||u>=123&&u<=125}Ee.regexp_eatClassSetReservedPunctuator=function(u){var p=u.current();return mg(p)?(u.lastIntValue=p,u.advance(),!0):!1};function mg(u){return u===33||u===35||u===37||u===38||u===44||u===45||u>=58&&u<=62||u===64||u===96||u===126}Ee.regexp_eatClassControlLetter=function(u){var p=u.current();return Wa(p)||p===95?(u.lastIntValue=p%32,u.advance(),!0):!1},Ee.regexp_eatHexEscapeSequence=function(u){var p=u.pos;if(u.eat(120)){if(this.regexp_eatFixedHexDigits(u,2))return!0;u.switchU&&u.raise("Invalid escape"),u.pos=p}return!1},Ee.regexp_eatDecimalDigits=function(u){var p=u.pos,T=0;for(u.lastIntValue=0;Wa(T=u.current());)u.lastIntValue=10*u.lastIntValue+(T-48),u.advance();return u.pos!==p};function Wa(u){return u>=48&&u<=57}Ee.regexp_eatHexDigits=function(u){var p=u.pos,T=0;for(u.lastIntValue=0;rc(T=u.current());)u.lastIntValue=16*u.lastIntValue+nc(T),u.advance();return u.pos!==p};function rc(u){return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function nc(u){return u>=65&&u<=70?10+(u-65):u>=97&&u<=102?10+(u-97):u-48}Ee.regexp_eatLegacyOctalEscapeSequence=function(u){if(this.regexp_eatOctalDigit(u)){var p=u.lastIntValue;if(this.regexp_eatOctalDigit(u)){var T=u.lastIntValue;p<=3&&this.regexp_eatOctalDigit(u)?u.lastIntValue=p*64+T*8+u.lastIntValue:u.lastIntValue=p*8+T}else u.lastIntValue=p;return!0}return!1},Ee.regexp_eatOctalDigit=function(u){var p=u.current();return ic(p)?(u.lastIntValue=p-48,u.advance(),!0):(u.lastIntValue=0,!1)};function ic(u){return u>=48&&u<=55}Ee.regexp_eatFixedHexDigits=function(u,p){var T=u.pos;u.lastIntValue=0;for(var w=0;w<p;++w){var M=u.current();if(!rc(M))return u.pos=T,!1;u.lastIntValue=16*u.lastIntValue+nc(M),u.advance()}return!0};var Ya=function(p){this.type=p.type,this.value=p.value,this.start=p.start,this.end=p.end,p.options.locations&&(this.loc=new q(p,p.startLoc,p.endLoc)),p.options.ranges&&(this.range=[p.start,p.end])},Fe=re.prototype;Fe.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()},Fe.getToken=function(){return this.next(),new Ya(this)},typeof Symbol<"u"&&(Fe[Symbol.iterator]=function(){var u=this;return{next:function(){var p=u.getToken();return{done:p.type===b.eof,value:p}}}}),Fe.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())},Fe.readToken=function(u){return E(u,this.options.ecmaVersion>=6)||u===92?this.readWord():this.getTokenFromCode(u)},Fe.fullCharCodeAtPos=function(){var u=this.input.charCodeAt(this.pos);if(u<=55295||u>=56320)return u;var p=this.input.charCodeAt(this.pos+1);return p<=56319||p>=57344?u:(u<<10)+p-56613888},Fe.skipBlockComment=function(){var u=this.options.onComment&&this.curPosition(),p=this.pos,T=this.input.indexOf("*/",this.pos+=2);if(T===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=T+2,this.options.locations)for(var w=void 0,M=p;(w=G(this.input,M,this.pos))>-1;)++this.curLine,M=this.lineStart=w;this.options.onComment&&this.options.onComment(!0,this.input.slice(p+2,T),p,this.pos,u,this.curPosition())},Fe.skipLineComment=function(u){for(var p=this.pos,T=this.options.onComment&&this.curPosition(),w=this.input.charCodeAt(this.pos+=u);this.pos<this.input.length&&!Y(w);)w=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(p+u,this.pos),p,this.pos,T,this.curPosition())},Fe.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&&K.test(String.fromCharCode(u)))++this.pos;else break e}}},Fe.finishToken=function(u,p){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var T=this.type;this.type=u,this.value=p,this.updateContext(T)},Fe.readToken_dot=function(){var u=this.input.charCodeAt(this.pos+1);if(u>=48&&u<=57)return this.readNumber(!0);var p=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&u===46&&p===46?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))},Fe.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)},Fe.readToken_mult_modulo_exp=function(u){var p=this.input.charCodeAt(this.pos+1),T=1,w=u===42?b.star:b.modulo;return this.options.ecmaVersion>=7&&u===42&&p===42&&(++T,w=b.starstar,p=this.input.charCodeAt(this.pos+2)),p===61?this.finishOp(b.assign,T+1):this.finishOp(w,T)},Fe.readToken_pipe_amp=function(u){var p=this.input.charCodeAt(this.pos+1);if(p===u){if(this.options.ecmaVersion>=12){var T=this.input.charCodeAt(this.pos+2);if(T===61)return this.finishOp(b.assign,3)}return this.finishOp(u===124?b.logicalOR:b.logicalAND,2)}return p===61?this.finishOp(b.assign,2):this.finishOp(u===124?b.bitwiseOR:b.bitwiseAND,1)},Fe.readToken_caret=function(){var u=this.input.charCodeAt(this.pos+1);return u===61?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)},Fe.readToken_plus_min=function(u){var p=this.input.charCodeAt(this.pos+1);return p===u?p===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):p===61?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)},Fe.readToken_lt_gt=function(u){var p=this.input.charCodeAt(this.pos+1),T=1;return p===u?(T=u===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+T)===61?this.finishOp(b.assign,T+1):this.finishOp(b.bitShift,T)):p===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()):(p===61&&(T=2),this.finishOp(b.relational,T))},Fe.readToken_eq_excl=function(u){var p=this.input.charCodeAt(this.pos+1);return p===61?this.finishOp(b.equality,this.input.charCodeAt(this.pos+2)===61?3:2):u===61&&p===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(u===61?b.eq:b.prefix,1)},Fe.readToken_question=function(){var u=this.options.ecmaVersion;if(u>=11){var p=this.input.charCodeAt(this.pos+1);if(p===46){var T=this.input.charCodeAt(this.pos+2);if(T<48||T>57)return this.finishOp(b.questionDot,2)}if(p===63){if(u>=12){var w=this.input.charCodeAt(this.pos+2);if(w===61)return this.finishOp(b.assign,3)}return this.finishOp(b.coalesce,2)}}return this.finishOp(b.question,1)},Fe.readToken_numberSign=function(){var u=this.options.ecmaVersion,p=35;if(u>=13&&(++this.pos,p=this.fullCharCodeAtPos(),E(p,!0)||p===92))return this.finishToken(b.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+V(p)+"'")},Fe.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 p=this.input.charCodeAt(this.pos+1);if(p===120||p===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(p===111||p===79)return this.readRadixNumber(8);if(p===98||p===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)+"'")},Fe.finishOp=function(u,p){var T=this.input.slice(this.pos,this.pos+p);return this.pos+=p,this.finishToken(u,T)},Fe.readRegexp=function(){for(var u,p,T=this.pos;;){this.pos>=this.input.length&&this.raise(T,"Unterminated regular expression");var w=this.input.charAt(this.pos);if(R.test(w)&&this.raise(T,"Unterminated regular expression"),u)u=!1;else{if(w==="[")p=!0;else if(w==="]"&&p)p=!1;else if(w==="/"&&!p)break;u=w==="\\"}++this.pos}var M=this.input.slice(T,this.pos);++this.pos;var W=this.pos,Q=this.readWord1();this.containsEsc&&this.unexpected(W);var ce=this.regexpState||(this.regexpState=new Hr(this));ce.reset(T,M,Q),this.validateRegExpFlags(ce),this.validateRegExpPattern(ce);var de=null;try{de=new RegExp(M,Q)}catch{}return this.finishToken(b.regexp,{pattern:M,flags:Q,value:de})},Fe.readInt=function(u,p,T){for(var w=this.options.ecmaVersion>=12&&p===void 0,M=T&&this.input.charCodeAt(this.pos)===48,W=this.pos,Q=0,ce=0,de=0,Ie=p??1/0;de<Ie;++de,++this.pos){var Me=this.input.charCodeAt(this.pos),it=void 0;if(w&&Me===95){M&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),ce===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),de===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),ce=Me;continue}if(Me>=97?it=Me-97+10:Me>=65?it=Me-65+10:Me>=48&&Me<=57?it=Me-48:it=1/0,it>=u)break;ce=Me,Q=Q*u+it}return w&&ce===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===W||p!=null&&this.pos-W!==p?null:Q};function gg(u,p){return p?parseInt(u,8):parseFloat(u.replace(/_/g,""))}function ac(u){return typeof BigInt!="function"?null:BigInt(u.replace(/_/g,""))}Fe.readRadixNumber=function(u){var p=this.pos;this.pos+=2;var T=this.readInt(u);return T==null&&this.raise(this.start+2,"Expected number in radix "+u),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(T=ac(this.input.slice(p,this.pos)),++this.pos):E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,T)},Fe.readNumber=function(u){var p=this.pos;!u&&this.readInt(10,void 0,!0)===null&&this.raise(p,"Invalid number");var T=this.pos-p>=2&&this.input.charCodeAt(p)===48;T&&this.strict&&this.raise(p,"Invalid number");var w=this.input.charCodeAt(this.pos);if(!T&&!u&&this.options.ecmaVersion>=11&&w===110){var M=ac(this.input.slice(p,this.pos));return++this.pos,E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,M)}T&&/[89]/.test(this.input.slice(p,this.pos))&&(T=!1),w===46&&!T&&(++this.pos,this.readInt(10),w=this.input.charCodeAt(this.pos)),(w===69||w===101)&&!T&&(w=this.input.charCodeAt(++this.pos),(w===43||w===45)&&++this.pos,this.readInt(10)===null&&this.raise(p,"Invalid number")),E(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var W=gg(this.input.slice(p,this.pos),T);return this.finishToken(b.num,W)},Fe.readCodePoint=function(){var u=this.input.charCodeAt(this.pos),p;if(u===123){this.options.ecmaVersion<6&&this.unexpected();var T=++this.pos;p=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,p>1114111&&this.invalidStringToken(T,"Code point out of bounds")}else p=this.readHexChar(4);return p},Fe.readString=function(u){for(var p="",T=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var w=this.input.charCodeAt(this.pos);if(w===u)break;w===92?(p+=this.input.slice(T,this.pos),p+=this.readEscapedChar(!1),T=this.pos):w===8232||w===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Y(w)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return p+=this.input.slice(T,this.pos++),this.finishToken(b.string,p)};var sc={};Fe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(u){if(u===sc)this.readInvalidTemplateToken();else throw u}this.inTemplateElement=!1},Fe.invalidStringToken=function(u,p){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw sc;this.raise(u,p)},Fe.readTmplToken=function(){for(var u="",p=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var T=this.input.charCodeAt(this.pos);if(T===96||T===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===b.template||this.type===b.invalidTemplate)?T===36?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote)):(u+=this.input.slice(p,this.pos),this.finishToken(b.template,u));if(T===92)u+=this.input.slice(p,this.pos),u+=this.readEscapedChar(!0),p=this.pos;else if(Y(T)){switch(u+=this.input.slice(p,this.pos),++this.pos,T){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:u+=`
8
- `;break;default:u+=String.fromCharCode(T);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),p=this.pos}else++this.pos}},Fe.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")},Fe.readEscapedChar=function(u){var p=this.input.charCodeAt(++this.pos);switch(++this.pos,p){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 T=this.pos-1;this.invalidStringToken(T,"Invalid escape sequence in template string")}default:if(p>=48&&p<=55){var w=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],M=parseInt(w,8);return M>255&&(w=w.slice(0,-1),M=parseInt(w,8)),this.pos+=w.length-1,p=this.input.charCodeAt(this.pos),(w!=="0"||p===56||p===57)&&(this.strict||u)&&this.invalidStringToken(this.pos-1-w.length,u?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(M)}return Y(p)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(p)}},Fe.readHexChar=function(u){var p=this.pos,T=this.readInt(16,u);return T===null&&this.invalidStringToken(p,"Bad character escape sequence"),T},Fe.readWord1=function(){this.containsEsc=!1;for(var u="",p=!0,T=this.pos,w=this.options.ecmaVersion>=6;this.pos<this.input.length;){var M=this.fullCharCodeAtPos();if(S(M,w))this.pos+=M<=65535?1:2;else if(M===92){this.containsEsc=!0,u+=this.input.slice(T,this.pos);var W=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Q=this.readCodePoint();(p?E:S)(Q,w)||this.invalidStringToken(W,"Invalid Unicode escape"),u+=V(Q),T=this.pos}else break;p=!1}return u+this.input.slice(T,this.pos)},Fe.readWord=function(){var u=this.readWord1(),p=b.name;return this.keywords.test(u)&&(p=H[u]),this.finishToken(p,u)};var uc="8.15.0";re.acorn={Parser:re,version:uc,defaultOptions:ht,Position:$e,SourceLocation:q,getLineInfo:pt,Node:Vi,TokenType:C,tokTypes:b,keywordTypes:H,TokContext:dr,tokContexts:nt,isIdentifierChar:S,isIdentifierStart:E,Token:Ya,isNewLine:Y,lineBreak:R,lineBreakG:j,nonASCIIwhitespace:K};function bg(u,p){return re.parse(u,p)}function xg(u,p,T){return re.parseExpressionAt(u,p,T)}function yg(u,p){return re.tokenizer(u,p)}r.Node=Vi,r.Parser=re,r.Position=$e,r.SourceLocation=q,r.TokContext=dr,r.Token=Ya,r.TokenType=C,r.defaultOptions=ht,r.getLineInfo=pt,r.isIdentifierChar=S,r.isIdentifierStart=E,r.isNewLine=Y,r.keywordTypes=H,r.lineBreak=R,r.lineBreakG=j,r.nonASCIIwhitespace=K,r.parse=bg,r.parseExpressionAt=xg,r.tokContexts=nt,r.tokTypes=b,r.tokenizer=yg,r.version=uc}))})(ea,ea.exports)),ea.exports}var gc;function Kg(){return gc||(gc=1,(function(e){const t=Jg(),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),S=new f("<tag>...</tag>",!0,!0),C={tc_oTag:m,tc_cTag:E,tc_expr:S},k={jsxName:new g("jsxName"),jsxText:new g("jsxText",{beforeExpr:!0}),jsxTagStart:new g("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new g("jsxTagEnd")};k.jsxTagStart.updateContext=function(){this.context.push(S),this.context.push(m),this.exprAllowed=!1},k.jsxTagEnd.updateContext=function(A){let L=this.context.pop();L===m&&A===h.slash||L===E?(this.context.pop(),this.exprAllowed=this.curContext()===S):this.exprAllowed=!0},c={tokContexts:C,tokTypes:k},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(mc()).tokTypes},configurable:!0,enumerable:!0});function o(l,c){const h=c.acorn||mc(),f=a(h),g=h.tokTypes,m=f.tokTypes,E=h.tokContexts,S=f.tokContexts.tc_oTag,C=f.tokContexts.tc_cTag,k=f.tokContexts.tc_expr,A=h.isNewLine,L=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 K=Y.name?"Element":"Fragment";return R["opening"+K]=Y,R["closing"+K]=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"+K)}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===k)return this.jsx_readToken();if(b===S||b===C){if(L(P))return this.jsx_readWord();if(P==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((P===34||P===39)&&b==S)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==S?this.context.push(E.b_expr):b==k?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)}}}})(Hu)),Hu.exports}var Zg=Kg();const op=yl(Zg),{stringify:e4}=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,t4={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 lp(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;lp(e,t,r,n)?(e.write("("),i[t.type](t,e),e.write(")")):i[t.type](t,e)}function r4(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("/*"),r4(e,s.value,r,n),e.write("*/"+n))}}function n4(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 Uu(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 bc,xc,yc,vc,Ec,Tc;const cp={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:Tc=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:Tc,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"?Uu(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:bc=function(e,t){t.write(`for ${e.await?"await ":""}(`);const{left:r}=e;r.type[0]==="V"?Uu(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:bc,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:xc=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:xc,VariableDeclaration(e,t){Uu(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:yc=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:yc,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:Ec=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:Ec,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=lp(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:vc=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:vc,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||n4(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(e4(e.value),e)},RegExpLiteral(e,t){const{regex:r}=e;t.write(`/${r.pattern}/${r.flags}`,e)}},i4={};let a4=class{constructor(t){const r=t??i4;this.output="",r.output!=null?(this.output=r.output,this.write=this.writeToStream):this.output="",this.generator=r.generator!=null?r.generator:cp,this.expressionsPrecedence=r.expressionsPrecedence!=null?r.expressionsPrecedence:t4,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 s4(e,t){const r=new a4(t);return r.generator[e.type](e,r),r.output}const u4={};function o4(e,t){const{SourceMapGenerator:r,filePath:n,handlers:i}=t||u4,a=r?new r({file:n||"<unknown>.js"}):void 0,s=s4(e,{comments:!0,generator:{...cp,...i},sourceMap:a||void 0}),o=a?a.toJSON():void 0;return{value:s,map:o}}const l4={JSXAttribute:c4,JSXClosingElement:h4,JSXClosingFragment:f4,JSXElement:p4,JSXEmptyExpression:d4,JSXExpressionContainer:m4,JSXFragment:g4,JSXIdentifier:b4,JSXMemberExpression:x4,JSXNamespacedName:y4,JSXOpeningElement:v4,JSXOpeningFragment:E4,JSXSpreadAttribute:T4,JSXText:k4};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('"'+hp(String(e.value.value)).replace(/"/g,"&quot;")+'"',e):this[e.value.type](e.value,t))}function h4(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")}function f4(e,t){t.write("</>",e)}function p4(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 d4(){}function m4(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")}function g4(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 b4(e,t){t.write(e.name,e)}function x4(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)}function y4(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)}function v4(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 E4(e,t){t.write("<>",e)}function T4(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")}function k4(e,t){t.write(hp(e.value).replace(/[<>{}]/g,S4),e)}function hp(e){return e.replace(/&(?=[#a-z])/gi,"&amp;")}function S4(e){return e==="<"?"&lt;":e===">"?"&gt;":e==="{"?"&#123;":"&#125;"}function w4(){const e=this.data(),t=e.settings||(e.settings={}),r=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(op()),Object.assign(r,l4)}function _4(e){const t=this;this.compiler=r;function r(n,i){const a={...t.data("settings"),...e},s=o4(n,{SourceMapGenerator:a.SourceMapGenerator,filePath:i.path||"unknown.js",handlers:a.handlers});return i.map=s.map,s.value}}function C4(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 kc(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 vl(e,t){const r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}class Ra{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}Ra.prototype.normal={};Ra.prototype.property={};Ra.prototype.space=void 0;function fp(e,t){const r={},n={};for(const i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Ra(r,n,t)}function ma(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 A4=0;const Pe=Kn(),xt=Kn(),Bo=Kn(),fe=Kn(),tt=Kn(),bi=Kn(),sr=Kn();function Kn(){return 2**++A4}const Fo=Object.freeze(Object.defineProperty({__proto__:null,boolean:Pe,booleanish:xt,commaOrSpaceSeparated:sr,commaSeparated:bi,number:fe,overloadedBoolean:Bo,spaceSeparated:tt},Symbol.toStringTag,{value:"Module"})),Vu=Object.keys(Fo);class El extends nr{constructor(t,r,n,i){let a=-1;if(super(t,r),Sc(this,"space",i),typeof n=="number")for(;++a<Vu.length;){const s=Vu[a];Sc(this,Vu[a],(n&Fo[s])===Fo[s])}}}El.prototype.defined=!0;function Sc(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 El(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[ma(n)]=n,r[ma(a.attribute)]=n}return new Ra(t,r,e.space)}const pp=Ci({properties:{ariaActiveDescendant:null,ariaAtomic:xt,ariaAutoComplete:null,ariaBusy:xt,ariaChecked:xt,ariaColCount:fe,ariaColIndex:fe,ariaColSpan:fe,ariaControls:tt,ariaCurrent:null,ariaDescribedBy:tt,ariaDetails:null,ariaDisabled:xt,ariaDropEffect:tt,ariaErrorMessage:null,ariaExpanded:xt,ariaFlowTo:tt,ariaGrabbed:xt,ariaHasPopup:null,ariaHidden:xt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tt,ariaLevel:fe,ariaLive:null,ariaModal:xt,ariaMultiLine:xt,ariaMultiSelectable:xt,ariaOrientation:null,ariaOwns:tt,ariaPlaceholder:null,ariaPosInSet:fe,ariaPressed:xt,ariaReadOnly:xt,ariaRelevant:null,ariaRequired:xt,ariaRoleDescription:tt,ariaRowCount:fe,ariaRowIndex:fe,ariaRowSpan:fe,ariaSelected:xt,ariaSetSize:fe,ariaSort:null,ariaValueMax:fe,ariaValueMin:fe,ariaValueNow:fe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function dp(e,t){return t in e?e[t]:t}function mp(e,t){return dp(e,t.toLowerCase())}const I4=Ci({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bi,acceptCharset:tt,accessKey:tt,action:null,allow:null,allowFullScreen:Pe,allowPaymentRequest:Pe,allowUserMedia:Pe,alt:null,as:null,async:Pe,autoCapitalize:null,autoComplete:tt,autoFocus:Pe,autoPlay:Pe,blocking:tt,capture:null,charSet:null,checked:Pe,cite:null,className:tt,cols:fe,colSpan:null,content:null,contentEditable:xt,controls:Pe,controlsList:tt,coords:fe|bi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Pe,defer:Pe,dir:null,dirName:null,disabled:Pe,download:Bo,draggable:xt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Pe,formTarget:null,headers:tt,height:fe,hidden:Bo,high:fe,href:null,hrefLang:null,htmlFor:tt,httpEquiv:tt,id:null,imageSizes:null,imageSrcSet:null,inert:Pe,inputMode:null,integrity:null,is:null,isMap:Pe,itemId:null,itemProp:tt,itemRef:tt,itemScope:Pe,itemType:tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Pe,low:fe,manifest:null,max:null,maxLength:fe,media:null,method:null,min:null,minLength:fe,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:fe,pattern:null,ping:tt,placeholder:null,playsInline:Pe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Pe,referrerPolicy:null,rel:tt,required:Pe,reversed:Pe,rows:fe,rowSpan:fe,sandbox:tt,scope:null,scoped:Pe,seamless:Pe,selected:Pe,shadowRootClonable:Pe,shadowRootDelegatesFocus:Pe,shadowRootMode:null,shape:null,size:fe,sizes:null,slot:null,span:fe,spellCheck:xt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fe,step:null,style:null,tabIndex:fe,target:null,title:null,translate:null,type:null,typeMustMatch:Pe,useMap:null,value:xt,width:fe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:tt,axis:null,background:null,bgColor:null,border:fe,borderColor:null,bottomMargin:fe,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:fe,leftMargin:fe,link:null,longDesc:null,lowSrc:null,marginHeight:fe,marginWidth:fe,noResize:Pe,noHref:Pe,noShade:Pe,noWrap:Pe,object:null,profile:null,prompt:null,rev:null,rightMargin:fe,rules:null,scheme:null,scrolling:xt,standby:null,summary:null,text:null,topMargin:fe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Pe,disableRemotePlayback:Pe,prefix:null,property:null,results:fe,security:null,unselectable:null},space:"html",transform:mp}),N4=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:fe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fe,amplitude:fe,arabicForm:null,ascent:fe,attributeName:null,attributeType:null,azimuth:fe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fe,by:null,calcMode:null,capHeight:fe,className:tt,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:fe,diffuseConstant:fe,direction:null,display:null,dur:null,divisor:fe,dominantBaseline:null,download:Pe,dx:null,dy:null,edgeMode:null,editable:null,elevation:fe,enableBackground:null,end:null,event:null,exponent:fe,externalResourcesRequired:null,fill:null,fillOpacity:fe,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:fe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fe,horizOriginX:fe,horizOriginY:fe,id:null,ideographic:fe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fe,k:fe,k1:fe,k2:fe,k3:fe,k4:fe,kernelMatrix:sr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fe,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:fe,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:fe,overlineThickness:fe,paintOrder:null,panose1:null,path:null,pathLength:fe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fe,pointsAtY:fe,pointsAtZ:fe,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:fe,specularExponent:fe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fe,strikethroughThickness:fe,string:null,stroke:null,strokeDashArray:sr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fe,strokeOpacity:fe,strokeWidth:null,style:null,surfaceScale:fe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sr,tabIndex:fe,tableValues:null,target:null,targetX:fe,targetY:fe,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:fe,underlineThickness:fe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fe,values:null,vAlphabetic:fe,vMathematical:fe,vectorEffect:null,vHanging:fe,vIdeographic:fe,version:null,vertAdvY:fe,vertOriginX:fe,vertOriginY:fe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:dp}),gp=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()}}),bp=Ci({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mp}),xp=Ci({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),L4={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"},R4=/[A-Z]/g,wc=/-[a-z]/g,P4=/^data[-\w.:]+$/i;function Pa(e,t){const r=ma(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"&&P4.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(wc,O4);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!wc.test(a)){let s=a.replace(R4,D4);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=El}return new i(n,t)}function D4(e){return"-"+e.toLowerCase()}function O4(e){return e.charAt(1).toUpperCase()}const Ai=fp([pp,I4,gp,bp,xp],"html"),Jr=fp([pp,N4,gp,bp,xp],"svg");function _c(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Tl(e){return e.join(" ").trim()}var oi={},qu,Cc;function M4(){if(Cc)return qu;Cc=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,k){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];k=k||{};var A=1,L=1;function H(ue){var ie=ue.match(t);ie&&(A+=ie.length);var ve=ue.lastIndexOf(l);L=~ve?ue.length-ve:L+ue.length}function P(){var ue={line:A,column:L};return function(ie){return ie.position=new b(ue),Y(),ie}}function b(ue){this.start=ue,this.end={line:A,column:L},this.source=k.source}b.prototype.content=C;function R(ue){var ie=new Error(k.source+":"+A+":"+L+": "+ue);if(ie.reason=ue,ie.filename=k.source,ie.line=A,ie.column=L,ie.source=C,!k.silent)throw ie}function j(ue){var ie=ue.exec(C);if(ie){var ve=ie[0];return H(ve),C=C.slice(ve.length),ie}}function Y(){j(r)}function G(ue){var ie;for(ue=ue||[];ie=K();)ie!==!1&&ue.push(ie);return ue}function K(){var ue=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 ve=C.slice(2,ie-2);return L+=2,H(ve),C=C.slice(ie),L+=2,ue({type:g,comment:ve})}}function Z(){var ue=P(),ie=j(n);if(ie){if(K(),!j(i))return R("property missing ':'");var ve=j(a),Se=ue({type:m,property:S(ie[0].replace(e,f)),value:ve?S(ve[0].replace(e,f)):f});return j(s),Se}}function pe(){var ue=[];G(ue);for(var ie;ie=Z();)ie!==!1&&(ue.push(ie),G(ue));return ue}return Y(),pe()}function S(C){return C?C.replace(o,f):f}return qu=E,qu}var Ac;function B4(){if(Ac)return oi;Ac=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(M4());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={},Ic;function F4(){if(Ic)return $i;Ic=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,Nc;function H4(){if(Nc)return Wi;Nc=1;var e=Wi&&Wi.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(B4()),r=F4();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 z4=H4();const U4=yl(z4),Ho={}.hasOwnProperty,V4=/[A-Z]/g,q4=new Set(["td","th"]);function j4(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(Ho.call(i,o)){let f=i[o];const g=Pa(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?L4[g.property]||g.property:g.attribute,Array.isArray(f)&&(f=g.commaSeparated?vl(f):Tl(f)),o==="style"){let E=typeof f=="object"?f:G4(String(f),e.tagName);t.stylePropertyNameCase==="css"&&(E=$4(E));const S=[];let C;for(C in E)Ho.call(E,C)&&S.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=S,m={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:S}}}else if(f===!0)m=null;else if(t.tableCellAlignToStyle&&q4.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"?yp("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 G4(e,t){try{return U4(e,{reactCompat:!0})}catch(r){const n=r;throw new Error("Could not parse `style` attribute on `"+t+"`",{cause:n})}}function $4(e){const t={};let r;for(r in e)Ho.call(e,r)&&(t[yp(r)]=e[r]);return t}function yp(e){let t=e.replace(V4,W4);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function W4(e){return"-"+e.toLowerCase()}const Y4={}.hasOwnProperty,X4=[];function Cs(e,t){const r=t?[...t].sort(kl):X4;r.length>0&&vp(e,{comments:r,index:0})}function vp(e,t){if(t.index===t.comments.length)return;const r=[],n=[];let i;for(i in e)if(Y4.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(kl),n.push(...Lc(t,e,!1,{leading:!0,trailing:!1}));let a=-1;for(;++a<r.length;)vp(r[a],t);n.push(...Lc(t,e,!0,{leading:!1,trailing:r.length>0})),n.length>0&&(e.comments=n)}function Lc(e,t,r,n){const i=[];for(;e.comments[e.index]&&kl(e.comments[e.index],t,r)<1;)i.push(Object.assign({},e.comments[e.index++],n));return i}function kl(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 Rc(e,t){const r=e.data&&e.data.estree,n=r&&r.comments||[];let i;r&&(t.comments.push(...n),Cs(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 Pc(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 S;m&&(t.comments.push(...E),Cs(m,m.comments),S=m.body[0]&&m.body[0].type==="ExpressionStatement"&&m.body[0].expression||void 0),f={type:"JSXExpressionContainer",expression:S||{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),Cs(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 S={type:"JSXSpreadAttribute",argument:E||{type:"ObjectExpression",properties:[]}};t.inherit(c,S),o.push(S)}}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 J4(e,t){const r=e.data&&e.data.estree,n=r&&r.comments||[];r&&(t.comments.push(...n),Cs(r,n),t.esm.push(...r.body))}const Q4=/[ \t\n\f\r]/g;function nu(e){return typeof e=="object"?e.type==="text"?Dc(e.value):!1:Dc(e)}function Dc(e){return e.replace(Q4,"")===""}function K4(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"&&nu(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 Z4(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 e3={comment:C4,doctype:t3,element:j4,mdxFlowExpression:Rc,mdxJsxFlowElement:Pc,mdxJsxTextElement:Pc,mdxTextExpression:Rc,mdxjsEsm:J4,root:K4,text:Z4};function t3(){}const iu=Ep("end"),xn=Ep("start");function Ep(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 Tp(e){const t=xn(e),r=iu(e);if(t&&r)return{start:t,end:r}}const Oc={}.hasOwnProperty;function au(e,t){const r=t||{};function n(i,...a){let s=n.invalid;const o=n.handlers;if(i&&Oc.call(i,e)){const l=String(i[e]);s=Oc.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 r3={}.hasOwnProperty,n3=new Set(["table","tbody","thead","tfoot","tr"]);function i3(e){const t=au("type",{invalid:a3,unknown:s3,handlers:{...e3,...e.handlers}});return{elementAttributeNameCase:e.elementAttributeNameCase||"react",schema:e.space==="svg"?Jr:Ai,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1,comments:[],esm:[],all:u3,createJsxAttributeName:l3,createJsxElementName:c3,handle:r,inherit:o3,patch:kp};function r(n){return t(n,this)}}function a3(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function s3(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function u3(e){const t=e.children||[];let r=-1;const n=[],i=this.schema.space==="html"&&e.type==="element"&&n3.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 o3(e,t){const r=e.data;let n,i;if(kp(e,t),r){for(i in r)r3.call(r,i)&&i!=="estree"&&(n||(n={}),n[i]=r[i]);n&&(t.data=n)}}function kp(e,t){const r=Tp(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 l3(e){const t=Sp(e);if(t.type==="JSXMemberExpression")throw new Error("Member expressions in attribute names are not supported");return t}function c3(e){return Sp(e)}function Sp(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 h3(e,t){const r=i3(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 f3(e){return function(t){return h3(t,e)}}function p3(){return{enter:{mdxFlowExpression:m3,mdxTextExpression:g3},exit:{mdxFlowExpression:Mc,mdxFlowExpressionChunk:Bc,mdxTextExpression:Mc,mdxTextExpressionChunk:Bc}}}function d3(){return{handlers:{mdxFlowExpression:Fc,mdxTextExpression:Fc},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function m3(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function g3(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function Mc(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 Bc(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Fc(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 wp=["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"],Hc={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 _p(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function b3(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function x3(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function zc(e){return x3(e)||_p(e)}const Uc=document.createElement("i");function ga(e){const t="&"+e+";";Uc.innerHTML=t;const r=Uc.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}const y3=["","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 v3(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 k=e.charCodeAt(a+1);if(k===9||k===10||k===12||k===32||k===38||k===60||Number.isNaN(k)||n&&k===n){o+=String.fromCharCode(m),f++;continue}const A=a+1;let L=A,H=A,P;if(k===35){H=++L;const pe=e.charCodeAt(H);pe===88||pe===120?(P="hexadecimal",H=++L):P="decimal"}else P="named";let b="",R="",j="";const Y=P==="named"?zc:P==="decimal"?_p:b3;for(H--;++H<=e.length;){const pe=e.charCodeAt(H);if(!Y(pe))break;j+=String.fromCharCode(pe),P==="named"&&wp.includes(j)&&(b=j,R=ga(j))}let G=e.charCodeAt(H)===59;if(G){H++;const pe=P==="named"?ga(j):!1;pe&&(b=j,R=pe)}let K=1+H-A,Z="";if(!(!G&&r.nonTerminated===!1))if(!j)P!=="named"&&S(4,K);else if(P==="named"){if(G&&!R)S(5,1);else if(b!==j&&(H=L+b.length,K=1+H-L,G=!1),!G){const pe=b?1:3;if(r.attribute){const ue=e.charCodeAt(H);ue===61?(S(pe,K),R=""):zc(ue)?R="":S(pe,K)}else S(pe,K)}Z=R}else{G||S(2,K);let pe=Number.parseInt(j,P==="hexadecimal"?16:10);if(E3(pe))S(7,K),Z="�";else if(pe in Hc)S(6,K),Z=Hc[pe];else{let ue="";T3(pe)&&S(6,K),pe>65535&&(pe-=65536,ue+=String.fromCharCode(pe>>>10|55296),pe=56320|pe&1023),Z=ue+String.fromCharCode(pe)}}if(Z){C(),g=E(),a=H-1,f+=H-A+1,i.push(Z);const pe=E();pe.offset++,r.reference&&r.reference.call(r.referenceContext||void 0,Z,{start:g,end:pe},e.slice(A-1,H)),g=pe}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 S(k,A){let L;r.warning&&(L=E(),L.column+=A,L.offset+=A,r.warning.call(r.warningContext||void 0,y3[k],L,k))}function C(){o&&(i.push(o),r.text&&r.text.call(r.textContext||void 0,o,{start:g,end:E()}),o="")}}function E3(e){return e>=55296&&e<=57343||e>1114111}function T3(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 k3=/["&'<>`]/g,S3=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,w3=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,_3=/[|\\{}()[\]^$+*?.]/g,Vc=new WeakMap;function Cp(e,t){if(e=e.replace(t.subset?C3(t.subset):k3,n),t.subset||t.escapeOnly)return e;return e.replace(S3,r).replace(w3,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 C3(e){let t=Vc.get(e);return t||(t=A3(e),Vc.set(e,t)),t}function A3(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(_3,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const I3=/[\dA-Fa-f]/;function N3(e,t,r){const n="&#x"+e.toString(16).toUpperCase();return r&&t&&!I3.test(String.fromCharCode(t))?n:n+";"}const L3=/\d/;function R3(e,t,r){const n="&#"+String(e);return r&&t&&!L3.test(String.fromCharCode(t))?n:n+";"}const ju={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:"€"},P3=["cent","copy","divide","gt","lt","not","para","times"],Ap={}.hasOwnProperty,zo={};let Ka;for(Ka in ju)Ap.call(ju,Ka)&&(zo[ju[Ka]]=Ka);const D3=/[^\dA-Za-z]/;function O3(e,t,r,n){const i=String.fromCharCode(e);if(Ap.call(zo,i)){const a=zo[i],s="&"+a;return r&&wp.includes(a)&&!P3.includes(a)&&(!n||t&&t!==61&&D3.test(String.fromCharCode(t)))?s:s+";"}return""}function M3(e,t,r){let n=N3(e,t,r.omitOptionalSemicolons),i;if((r.useNamedReferences||r.useShortestReferences)&&(i=O3(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!i)&&r.useShortestReferences){const a=R3(e,t,r.omitOptionalSemicolons);a.length<n.length&&(n=a)}return i&&(!r.useShortestReferences||i.length<n.length)?i:n}function B3(e){return"&#x"+e.toString(16).toUpperCase()+";"}function xi(e,t){return Cp(e,Object.assign({format:M3},t))}function F3(e,t){return Cp(e,Object.assign({format:B3},t))}const Ip=" ";function H3(){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:S,mdxJsxFlowTagAttributeValueLiteral:C,mdxJsxFlowTagAttributeValueLiteralValue:r,mdxJsxFlowTagAttributeValueExpression:k,mdxJsxFlowTagAttributeValueExpressionValue:r,mdxJsxFlowTagSelfClosingMarker:A,mdxJsxFlowTag:L,mdxJsxTextTagClosingMarker:o,mdxJsxTextTagNamePrimary:l,mdxJsxTextTagNameMember:c,mdxJsxTextTagNameLocal:h,mdxJsxTextTagExpressionAttribute:m,mdxJsxTextTagExpressionAttributeValue:r,mdxJsxTextTagAttributeNamePrimary:E,mdxJsxTextTagAttributeNameLocal:S,mdxJsxTextTagAttributeValueLiteral:C,mdxJsxTextTagAttributeValueLiteralValue:r,mdxJsxTextTagAttributeValueExpression:k,mdxJsxTextTagAttributeValueExpressionValue:r,mdxJsxTextTagSelfClosingMarker:A,mdxJsxTextTag:L}};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 Ye("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 Ye("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 Ye("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 S(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=v3(this.resume(),{nonTerminated:!1}),Y.position,Y.position.end=t(R.end)}function k(R){const j=this.data.mdxJsxTag,Y=j.attributes[j.attributes.length-1];Y.type;const G={type:"mdxJsxAttributeValueExpression",value:this.resume()},K=R.estree;K&&(G.data={estree:K}),Y.value=G,Y.position,Y.position.end=t(R.end)}function A(){const R=this.data.mdxJsxTag;R.selfClosing=!0}function L(R){const j=this.data.mdxJsxTag,Y=this.data.mdxJsxTagStack,G=Y[Y.length-1];if(j.close&&G.name!==j.name)throw new Ye("Unexpected closing tag `"+b(j)+"`, expected corresponding closing tag for `"+b(G)+"` ("+kr(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],K=R?" before the end of `"+R.type+"`":"",Z=R?{start:R.start,end:R.end}:void 0;throw new Ye("Expected a closing tag for `"+b(G)+"` ("+kr({start:j.start,end:j.end})+")"+K,Z,"mdast-util-mdx-jsx:end-tag-mismatch")}function P(R,j){const Y=this.data.mdxJsxTag;throw new Ye("Expected the closing tag `"+b(Y)+"` either after the end of `"+j.type+"` ("+kr(j.end)+") or another opening tag after the start of `"+j.type+"` ("+kr(j.start)+")",{start:R.start,end:R.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function b(R){return"<"+(R.close?"/":"")+(R.name||"")+">"}}function z3(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=V3,{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=Np(h),S=Lp(E),C=h.createTracker(f),k=h.createTracker(f),A=[],L=(g?S:"")+"<"+(l.name||""),H=h.enter(l.type);if(C.move(L),k.move(L),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 K;if(G.type==="mdxJsxExpressionAttribute")K="{"+(G.value||"")+"}";else{if(!G.name)throw new Error("Cannot serialize attribute w/o name");const Z=G.value,pe=G.name;let ue="";if(Z!=null)if(typeof Z=="object")ue="{"+(Z.value||"")+"}";else{const ie=n&&Ei(Z,r)>Ei(Z,s)?s:r;ue=ie+F3(Z,{subset:[ie]})+ie}K=pe+(ue?"=":"")+ue}A.push(K)}}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=L;if(P){R=k;let Y=-1;for(;++Y<A.length;)A[Y]=S+Ip+A[Y];j+=R.move(`
21
- `+A.join(`
22
- `)+`
23
- `+S)}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(U3(l,h,R.current())),j+=R.move(`
25
- `))),m||(j+=R.move((g?S:"")+"</"+(l.name||"")+">")),H(),j}}function U3(e,t,r){const n=t.indexStack,i=e.children,a=t.createTracker(r),s=Lp(Np(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,S){return(S?"":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 Np(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 Lp(e){return Ip.repeat(e)}function V3(){return"<"}function q3(){return{enter:{mdxjsEsm:G3},exit:{mdxjsEsm:$3,mdxjsEsmData:W3}}}function j3(){return{handlers:{mdxjsEsm:Y3}}}function G3(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function $3(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 W3(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Y3(e){return e.value||""}function X3(){return[p3(),H3(),q3()]}function J3(e){return{extensions:[d3(),z3(e),j3()]}}var Q3=[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],Rp=[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],K3="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Pp="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Gu={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"},$u="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",Z3={5:$u,"5module":$u+" export import",6:$u+" const class extends export import super"},e6=/^in(stanceof)?$/,t6=new RegExp("["+Pp+"]"),r6=new RegExp("["+Pp+K3+"]");function Uo(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&&t6.test(String.fromCharCode(e)):t===!1?!1:Uo(e,Rp)}function On(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&&r6.test(String.fromCharCode(e)):t===!1?!1:Uo(e,Rp)||Uo(e,Q3)}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},Sl={};function Ue(e,t){return t===void 0&&(t={}),t.keyword=e,Sl[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/,n6=new RegExp(rr.source,"g");function Ii(e){return e===10||e===13||e===8232||e===8233}function Dp(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 Op=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ft=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Mp=Object.prototype,i6=Mp.hasOwnProperty,a6=Mp.toString,Ni=Object.hasOwn||(function(e,t){return i6.call(e,t)}),qc=Array.isArray||(function(e){return a6.call(e)==="[object Array]"}),jc=Object.create(null);function Nn(e){return jc[e]||(jc[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function pn(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var s6=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ba=function(t,r){this.line=t,this.column=r};ba.prototype.offset=function(t){return new ba(this.line,this.column+t)};var su=function(t,r,n){this.start=r,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};function Bp(e,t){for(var r=1,n=0;;){var i=Dp(e,n,t);if(i<0)return new ba(r,t-n);++r,n=i}}var Vo={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},Gc=!1;function u6(e){var t={};for(var r in Vo)t[r]=e&&Ni(e,r)?e[r]:Vo[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Gc&&typeof console=="object"&&console.warn&&(Gc=!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),qc(t.onToken)){var n=t.onToken;t.onToken=function(i){return n.push(i)}}return qc(t.onComment)&&(t.onComment=o6(t,t.onComment)),t}function o6(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 su(this,s,o)),e.ranges&&(l.range=[i,a]),t.push(l)}}var xa=1,Li=2,wl=4,Fp=8,_l=16,Hp=32,uu=64,zp=128,Zn=256,Da=512,ou=xa|Li|Zn;function Cl(e,t){return Li|(e?wl:0)|(t?Fp:0)}var As=0,Al=1,yn=2,Up=3,Vp=4,qp=5,wt=function(t,r,n){this.options=t=u6(t),this.sourceFile=t.sourceFile,this.keywords=Nn(Z3[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=Gu[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=Nn(i);var a=(i?i+" ":"")+Gu.strict;this.reservedWordsStrict=Nn(a),this.reservedWordsStrictBind=Nn(a+" "+Gu.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(xa),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}};wt.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&Fp)>0};Qr.inAsync.get=function(){return(this.currentVarScope().flags&wl)>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|Da))return!1;if(r&Li)return(r&wl)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Qr.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&uu)>0||this.options.allowSuperOutsideMethod};Qr.allowDirectSuper.get=function(){return(this.currentThisScope().flags&zp)>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|Da)||r&Li&&!(r&_l))return!0}return!1};Qr.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Zn)>0};wt.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};wt.parse=function(t,r){return new this(r,t).parse()};wt.parseExpressionAt=function(t,r,n){var i=new this(n,t,r);return i.nextToken(),i.parseExpression()};wt.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(wt.prototype,Qr);var Yt=wt.prototype,l6=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Yt.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Ft.lastIndex=e,e+=Ft.exec(this.input)[0].length;var t=l6.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 lu=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=wt.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 Il={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;On(n=this.input.charCodeAt(i),!0);)++i;if(n===92||n>55295&&n<56320)return!0;var a=this.input.slice(r,i);if(!e6.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||!(On(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||On(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||!On(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(Il),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(Il),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 lu,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:qo),!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 h6=[];ke.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Hp:0),this.checkLValPattern(e,t?Vp:yn),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(Il),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"?Al:yn,!1)};var aa=1,qo=2,jp=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&qo&&this.unexpected(),e.generator=this.eat(I.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&aa&&(e.id=t&jp&&this.type!==I.name?null:this.parseIdent(),e.id&&!(t&qo)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Al:yn:Up));var a=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Cl(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"&&f6(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&&Is(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&&Is(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 Is(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Is(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(I.eq)?(this.enterScope(Da|uu),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|uu);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,yn,!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 f6(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 Is(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|jp,!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=h6,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,yn),this.finishNode(e,"ImportSpecifier")};ke.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,yn),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,yn),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 s6.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=wt.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=As);var n=t!==As;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===yn&&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!==qp&&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=As),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=As),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=wt.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=wt.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 lu,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"&&Gp(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):o.operator==="delete"&&jo(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 Gp(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&Gp(e.expression)}function jo(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&jo(e.expression)||e.type==="ParenthesizedExpression"&&jo(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 lu,g=this.yieldPos,m=this.awaitPos,E=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var S=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,S,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=S,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 k=this.startNodeAt(t,r);k.tag=e,k.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(k,"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 lu,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 S=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",S,C)):i=l[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var k=this.startNodeAt(r,n);return k.expression=i,this.finishNode(k,"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 p6=[];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=p6,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(Cl(t,n.generator)|uu|(r?zp: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(Cl(r,!1)|_l),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,qp),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,Al,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&ou)&&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 Ns=wt.prototype;Ns.raise=function(e,t){var r=Bp(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};Ns.raiseRecoverable=Ns.raise;Ns.curPosition=function(){if(this.options.locations)return new ba(this.curLine,this.pos-this.lineStart)};var Hn=wt.prototype,d6=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};Hn.enterScope=function(e){this.scopeStack.push(new d6(e))};Hn.exitScope=function(){this.scopeStack.pop()};Hn.treatFunctionsAsVarInScope=function(e){return e.flags&Li||!this.inModule&&e.flags&xa};Hn.declareName=function(e,t,r){var n=!1;if(t===yn){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&xa&&delete this.undefinedExports[e]}else if(t===Vp){var a=this.currentScope();a.lexical.push(e)}else if(t===Up){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&Hp&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){n=!0;break}if(l.var.push(e),this.inModule&&l.flags&xa&&delete this.undefinedExports[e],l.flags&ou)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Hn.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Hn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Hn.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(ou|Da|Zn))return t}};Hn.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(ou|Da|Zn)&&!(t.flags&_l))return t}};var cu=function(t,r,n){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new su(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Oa=wt.prototype;Oa.startNode=function(){return new cu(this,this.start,this.startLoc)};Oa.startNodeAt=function(e,t){return new cu(this,e,t)};function $p(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}Oa.finishNode=function(e,t){return $p.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Oa.finishNodeAt=function(e,t,r,n){return $p.call(this,e,t,r,n)};Oa.copyNode=function(e){var t=new cu(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var m6="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",Wp="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",Yp=Wp+" Extended_Pictographic",Xp=Yp,Jp=Xp+" EBase EComp EMod EPres ExtPict",Qp=Jp,g6=Qp,b6={9:Wp,10:Yp,11:Xp,12:Jp,13:Qp,14:g6},x6="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",y6={9:"",10:"",11:"",12:"",13:"",14:x6},$c="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",Kp="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",Zp=Kp+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ed=Zp+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",td=ed+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",rd=td+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",v6=rd+" "+m6,E6={9:Kp,10:Zp,11:ed,12:td,13:rd,14:v6},nd={};function T6(e){var t=nd[e]={binary:Nn(b6[e]+" "+$c),binaryOfStrings:Nn(y6[e]),nonBinary:{General_Category:Nn($c),Script:Nn(E6[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 Wu=0,Wc=[9,10,11,12,13,14];Wu<Wc.length;Wu+=1){var k6=Wc[Wu];T6(k6)}var Te=wt.prototype,Ls=function(t,r){this.parent=t,this.base=r||this};Ls.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};Ls.prototype.sibling=function(){return new Ls(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=nd[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};Te.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 S6(e){for(var t in e)return!0;return!1}Te.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&S6(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};Te.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")}};Te.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Ls(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")};Te.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};Te.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};Te.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};Te.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};Te.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Te.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};Te.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)};Te.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};Te.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};Te.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};Te.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&w6(r);)t+=pn(r),e.advance();return t};function w6(e){return e===105||e===109||e===115}Te.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)};Te.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};Te.regexp_eatSyntaxCharacter=function(e){var t=e.current();return id(t)?(e.lastIntValue=t,e.advance(),!0):!1};function id(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Te.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!id(r);)e.advance();return e.pos!==t};Te.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};Te.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}};Te.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};Te.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=pn(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=pn(e.lastIntValue);return!0}return!1};Te.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),_6(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function _6(e){return Xr(e,!0)||e===36||e===95}Te.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),C6(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function C6(e){return On(e,!0)||e===36||e===95||e===8204||e===8205}Te.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)};Te.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};Te.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};Te.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)};Te.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};Te.regexp_eatZero=function(e){return e.current()===48&&!hu(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};Te.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};Te.regexp_eatControlLetter=function(e){var t=e.current();return ad(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function ad(e){return e>=65&&e<=90||e>=97&&e<=122}Te.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)&&A6(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function A6(e){return e>=0&&e<=1114111}Te.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};Te.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 sd=0,dn=1,Tr=2;Te.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(I6(t))return e.lastIntValue=-1,e.advance(),dn;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===Tr&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return sd};function I6(e){return e===100||e===68||e===115||e===83||e===119||e===87}Te.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),dn}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return sd};Te.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")};Te.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return dn;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return Tr;e.raise("Invalid property name")};Te.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ud(t=e.current());)e.lastStringValue+=pn(t),e.advance();return e.lastStringValue!==""};function ud(e){return ad(e)||e===95}Te.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";N6(t=e.current());)e.lastStringValue+=pn(t),e.advance();return e.lastStringValue!==""};function N6(e){return ud(e)||hu(e)}Te.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Te.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===Tr&&e.raise("Negated character class may contain strings"),!0}return!1};Te.regexp_classContents=function(e){return e.current()===93?dn:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),dn)};Te.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")}}};Te.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||cd(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};Te.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)};Te.regexp_classSetExpression=function(e){var t=dn,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===Tr&&(t=Tr);for(var n=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==Tr&&(t=dn);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===Tr&&(t=Tr)}};Te.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};Te.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?dn:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};Te.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===Tr&&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};Te.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};Te.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===Tr&&(t=Tr);return t};Te.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?dn:Tr};Te.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()&&L6(r)||R6(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function L6(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 R6(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}Te.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return P6(t)?(e.lastIntValue=t,e.advance(),!0):!1};function P6(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}Te.regexp_eatClassControlLetter=function(e){var t=e.current();return hu(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};Te.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};Te.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;hu(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function hu(e){return e>=48&&e<=57}Te.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;od(r=e.current());)e.lastIntValue=16*e.lastIntValue+ld(r),e.advance();return e.pos!==t};function od(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function ld(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}Te.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};Te.regexp_eatOctalDigit=function(e){var t=e.current();return cd(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function cd(e){return e>=48&&e<=55}Te.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!od(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+ld(i),e.advance()}return!0};var Nl=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new su(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},He=wt.prototype;He.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 Nl(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 Nl(this)};typeof Symbol<"u"&&(He[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===I.eof,value:t}}}});He.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())};He.readToken=function(e){return Xr(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};He.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};He.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=Dp(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())};He.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())};He.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&&Op.test(String.fromCharCode(e)))++this.pos;else break e}}};He.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)};He.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))};He.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)};He.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)};He.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)};He.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(I.assign,2):this.finishOp(I.bitwiseXOR,1)};He.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)};He.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))};He.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)};He.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)};He.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 '"+pn(t)+"'")};He.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 '"+pn(e)+"'")};He.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};He.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})};He.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 D6(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function hd(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}He.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=hd(this.input.slice(t,this.pos)),++this.pos):Xr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(I.num,r)};He.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=hd(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=D6(this.input.slice(t,this.pos),r);return this.finishToken(I.num,a)};He.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};He.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 fd={};He.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===fd)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};He.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw fd;this.raise(e,t)};He.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}};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(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")};He.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 pn(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)}};He.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};He.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(On(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:On)(s,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=pn(s),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};He.readWord=function(){var e=this.readWord1(),t=I.name;return this.keywords.test(e)&&(t=Sl[e]),this.finishToken(t,e)};var O6="8.15.0";wt.acorn={Parser:wt,version:O6,defaultOptions:Vo,Position:ba,SourceLocation:su,getLineInfo:Bp,Node:cu,TokenType:qe,tokTypes:I,keywordTypes:Sl,TokContext:Nr,tokContexts:ut,isIdentifierChar:On,isIdentifierStart:Xr,Token:Nl,isNewLine:Ii,lineBreak:rr,lineBreakG:n6,nonASCIIwhitespace:Op};const Ht=zn(/[A-Za-z]/),Ut=zn(/[\dA-Za-z]/),M6=zn(/[#-'*+\--9=?A-Z^-~]/);function Rs(e){return e!==null&&(e<32||e===127)}const Go=zn(/\d/),B6=zn(/[\dA-Fa-f]/),F6=zn(/[!-/:-@[-`{-~]/);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 fu=zn(new RegExp("\\p{P}|\\p{S}","u")),$t=zn(/\s/);function zn(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 H6={}.hasOwnProperty,z6=Symbol("continue"),Yu=Symbol("exit"),U6=Symbol("skip");function V6(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 Xu(a)&&(c.displayName="node ("+a.type+")"),c;function c(){const h=r?Yc(r(a,s,o,l)):[];if(h[0]===Yu)return h;if(h[0]!==U6){let f;for(f in a)if(H6.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 S=0;for(;S>-1&&S<E.length;){const C=E[S];if(Xu(C)){const k=i(C,f,S,g)();if(k[0]===Yu)return k;S=typeof k[1]=="number"?k[1]:S+1}else S++}}else if(Xu(m)){const E=i(m,f,void 0,g)();if(E[0]===Yu)return E}}}return n?Yc(n(a,s,o,l)):h}}}function Yc(e){return Array.isArray(e)?e:typeof e=="number"?[z6,e]:[e]}function Xu(e){return!!(e&&typeof e=="object"&&"type"in e&&typeof e.type=="string"&&e.type.length>0)}function pd(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=q6(e,t.tokenTypes),E=m.value,S=r+E+n,C=t.expression&&Xc(E);if(C&&!t.allowEmpty)throw new Ye("Unexpected empty expression",{place:A(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{h=t.expression&&!C?t.acorn.parseExpressionAt(S,0,g):t.acorn.parse(S,g)}catch(L){const H=L,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(Xc(S.slice(h.end,S.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 L=A(h.end),H=new Error("Unexpected content after expression");H.pos=L.offset,H.loc={line:L.line,column:L.column-1},f=H,h=void 0}if(h){if(h.comments=a,V6(h,function(L,H,P,b){let R=b[b.length-1],j=H;L.type==="ParenthesizedExpression"&&R&&j&&(typeof P=="number"&&(R=R[j],j=P),R[j]=L.expression),k(L)}),Array.isArray(o))o.push(...a);else if(typeof o=="function")for(const L of a)o(L.type==="Block",L.value,L.start,L.end,L.loc.start,L.loc.end);for(const L of s)L.end<=r.length||L.start-r.length>=E.length||(k(L),Array.isArray(l)?l.push(L):l(L))}return{estree:h,error:f,swallow:c};function k(L){const H=A(L.start),P=A(L.end);L.start=H.offset,L.end=P.offset,L.loc={start:{line:H.line,column:H.column-1,offset:H.offset},end:{line:P.line,column:P.column-1,offset:P.offset}},L.range=[L.start,L.end]}function A(L){let H=L-r.length;H<0?H=0:H>E.length&&(H=E.length);let P=j6(m.stops,H);return P||(P={line:t.start.line,column:t.start.column,offset:t.start.offset}),P}}function Xc(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function q6(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=G6(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 j6(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 G6(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=Jc(r.start,n[0]||t.start),a=Jc(r.end,n[1]||t.end);if(i&&a)return{start:i,end:a}}function Jc(e,t){if(e&&typeof e=="object"){const r="line"in e?Ju(e.line):void 0,n="column"in e?Ju(e.column):void 0;if(r&&n!==void 0)return{line:r,column:n+1,offset:Ju(t)}}}function Ju(e){return typeof e=="number"&&e>-1?e:void 0}const $6=2,pi="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",W6="#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",Y6="#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",Qc="#unexpected-type-in-code-expected-an-object-spread-spread",X6="#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",J6="#could-not-parse-expression-with-acorn";function Ps(e,t,r,n,i,a,s,o,l,c,h){const f=this,g=this.events.length+3;let m=0,E,S;return C;function C(H){return e.enter(r),e.enter(n),e.consume(H),e.exit(n),E=f.now(),k}function k(H){if(H===null){if(S)throw S;const P=new Ye("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=pi+W6,P}if(xe(H))return e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),L;if(H===125&&m===0){const P=a?Q6.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 S=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),k(H)):(H===123&&!a?m+=1:H===125&&(m-=1),e.consume(H),A)}function L(H){const P=f.now();if(P.line!==E.line&&!h&&f.parser.lazy[P.line]){const b=new Ye("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=pi+Y6,b}return Re(H)?De(e,k,"linePrefix",$6+1)(H):k(H)}}function Q6(e,t,r,n,i,a,s){const o=pd(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 Ye("Unexpected `"+c.type+"` in code: expected an object spread (`{...spread}`)",{place:h.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw f.url=pi+Qc,f}if(c.expression.properties[1]){const h=cn(c.expression.properties[1]),f=new Ye("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=pi+X6,f}if(c.expression.properties[0]&&c.expression.properties[0].type!=="SpreadElement"){const h=cn(c.expression.properties[0]),f=new Ye("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=pi+Qc,f}}if(o.error){const c=new Ye("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=pi+J6,{type:"nok",message:c}}return{type:"ok",estree:l}}function K6(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(k){return E(k)}function E(k){return Ps.call(g,c,S,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",n,s,r,i,a)(k)}function S(k){return Re(k)?De(c,C,"whitespace")(k):C(k)}function C(k){const A=g.parser.constructs.flow[60],H=(Array.isArray(A)?A:A?[A]:[]).find(function(P){return P.name==="mdxJsxFlowTag"});return k===60&&H?c.attempt(H,C,f)(k):k===null||xe(k)?h(k):f(k)}}function l(c,h){const f=this;return g;function g(m){return Ps.call(f,c,h,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",n,s,r,i,a,!0)(m)}}}const Kc="https://github.com/micromark/micromark-extension-mdx-jsx";function dd(e,t,r,n,i,a,s,o,l,c,h,f,g,m,E,S,C,k,A,L,H,P,b,R,j,Y,G,K,Z,pe,ue,ie){const ve=this;let Se,ze;return Xe;function Xe(D){return e.enter(o),e.enter(l),e.consume(D),e.exit(l),V}function V(D){return Ve(D)?r(D):(Se=at,et(D))}function at(D){if(D===47)return e.enter(c),e.consume(D),e.exit(c),Se=$e,et;if(D===62)return Ot(D);if(D!==null&&D>=0&&Ir(D))return e.enter(f),e.enter(g),e.consume(D),q;re(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 $e(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;re(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),Se=pt,et(D);re(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 pt(D){if(D===46)return e.enter(m),e.consume(D),e.exit(m),Se=ht,et;if(D===58)return e.enter(S),e.consume(D),e.exit(S),Se=vt,et;if(D===47||D===62||D===123||D!==null&&D>=0&&Ir(D))return e.exit(f),Et(D);re(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),Ze;re(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 Ze(D){if(D!==null&&D>=0&&Gi(D,{jsx:!0}))return e.consume(D),Ze;if(D===46||D===47||D===62||D===123||Ve(D)||$t(D))return e.exit(E),Se=Pt,et(D);re(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),Se=ht,et;if(D===47||D===62||D===123||D!==null&&D>=0&&Ir(D))return e.exit(f),Et(D);re(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;re(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),Se=bt,et(D);re(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);re(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),Se=Vn,et;if(D===62)return Ot(D);if(D===123)return Ps.call(ve,e,Tn,k,A,L,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;re(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 Se=Et,et(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),Se=Mr,et(D);re(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),Se=hr,et;if(D===61)return e.exit(P),e.enter(Y),e.consume(D),e.exit(Y),Se=qt,et;if(D===47||D===62||D===123||Ve(D)||$t(D)||D!==null&&D>=0&&Ir(D))return e.exit(P),e.exit(H),Se=Et,et(D);re(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;re(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),Se=Dt,et(D);re(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),Se=qt,et;if(D===47||D===62||D===123||D!==null&&D>=0&&Ir(D))return e.exit(H),Et(D);re(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(K),e.consume(D),e.exit(K),ze=D,Br;if(D===123)return Ps.call(ve,e,Jt,pe,ue,ie,n,i,a,!1,!1,s)(D);re(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),Se=Et,et(D)}function Br(D){return D===null&&re(D,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(ze)+"`"),D===ze?(e.enter(K),e.consume(D),e.exit(K),e.exit(G),e.exit(H),ze=void 0,Se=Et,et):xe(D)?(Se=Br,et(D)):(e.enter(Z),nn(D))}function nn(D){return D===null||D===ze||xe(D)?(e.exit(Z),Br(D)):(e.consume(D),nn)}function Vn(D){if(D===62)return Ot(D);re(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 et(D){return xe(D)?(e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),te):Re(D)||$t(D)?(e.enter("esWhitespace"),qn(D)):Se(D)}function qn(D){return xe(D)?(e.exit("esWhitespace"),et(D)):Re(D)||$t(D)?(e.consume(D),qn):(e.exit("esWhitespace"),Se(D))}function te(D){if(!s&&ve.parser.lazy[ve.now().line]){const we=new Ye("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",ve.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw we.url=Kc+"#unexpected-lazy-line-in-container-expected-line-to-be",we}return et(D)}function re(D,we,We){const Tt=new Ye("Unexpected "+(D===null?"end of file":"character `"+(D===96?"` ` `":String.fromCodePoint(D))+"` ("+Z6(D)+")")+" "+we+", expected "+We,ve.now(),"micromark-extension-mdx-jsx:unexpected-"+(D===null?"eof":"character"));throw Tt.url=Kc+(D===null?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),Tt}}function Z6(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function eb(e,t){return{name:"mdxJsxTextTag",tokenize:r};function r(n,i,a){return dd.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 tb(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 dd.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 S of m)if(S.name==="mdxFlowExpression"){E=S;break}return f===60?o(f):f===123&&E?n.attempt(E,h,a)(f):f===null||xe(f)?i(f):a(f)}}}function rb(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:tb(r||void 0,{acornOptions:n,addResult:t.addResult||void 0})},text:{60:eb(r||void 0,{acornOptions:n,addResult:t.addResult||void 0})}}}function nb(){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 Ti(e){if(e===null||Ve(e)||$t(e))return 1;if(fu(e))return 2}function pu(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 $o={name:"attention",resolveAll:ib,tokenize:ab};function ib(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};Zc(f,-l),Zc(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,pu(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 ab(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Ti(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=Ti(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 Zc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const sb={name:"autolink",tokenize:ub};function ub(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||Rs(m)?r(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),h):M6(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:ob};function ob(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 md={continuation:{tokenize:cb},exit:hb,name:"blockQuote",tokenize:lb};function lb(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(md,t,r)(s)}}function hb(e){e.exit("blockQuote")}const gd={name:"characterEscape",tokenize:fb};function fb(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 F6(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const bd={name:"characterReference",tokenize:pb};function pb(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=B6,h):(e.enter("characterReferenceValue"),a=7,s=Go,h(f))}function h(f){if(f===59&&i){const g=e.exit("characterReferenceValue");return s===Ut&&!ga(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 eh={partial:!0,tokenize:mb},th={concrete:!0,name:"codeFenced",tokenize:db};function db(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(eh,S,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 S(b){return e.attempt(i,H,C)(b)}function C(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),k}function k(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(eh,S,H)(b):(e.enter("codeFlowValue"),L(b))}function L(b){return b===null||xe(b)?(e.exit("codeFlowValue"),A(b)):(e.consume(b),L)}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"),K}function K(ie){return b.enter("codeFencedFence"),Re(ie)?De(b,Z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ie):Z(ie)}function Z(ie){return ie===o?(b.enter("codeFencedFenceSequence"),pe(ie)):j(ie)}function pe(ie){return ie===o?(Y++,b.consume(ie),pe):Y>=s?(b.exit("codeFencedFenceSequence"),Re(ie)?De(b,ue,"whitespace")(ie):ue(ie)):j(ie)}function ue(ie){return ie===null||xe(ie)?(b.exit("codeFencedFence"),R(ie)):j(ie)}}}function mb(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 Qu={name:"codeIndented",tokenize:bb},gb={partial:!0,tokenize:xb};function bb(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(gb,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 xb(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 yb={name:"codeText",previous:Eb,resolve:vb,tokenize:Tb};function vb(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 Eb(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Tb(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 kb{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 xd(e){const t={};let r=-1,n,i,a,s,o,l,c;const h=new kb(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,Sb(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 Sb(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,S=0;const C=[S];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&&(S=g+1,C.push(S),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 k=o.slice(C[g],C[g+1]),A=a.pop();l.push([A,A+k.length-1]),e.splice(A,2,k)}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 wb={resolve:Cb,tokenize:Ab},_b={partial:!0,tokenize:Ib};function Cb(e){return xd(e),e}function Ab(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(_b,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 Ib(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 yd(e,t,r,n,i,a,s,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(k){return k===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(k),e.exit(a),g):k===null||k===32||k===41||Rs(k)?r(k):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),S(k))}function g(k){return k===62?(e.enter(a),e.consume(k),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===62?(e.exit("chunkString"),e.exit(o),g(k)):k===null||k===60||xe(k)?r(k):(e.consume(k),k===92?E:m)}function E(k){return k===60||k===62||k===92?(e.consume(k),m):m(k)}function S(k){return!h&&(k===null||k===41||Ve(k))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(k)):h<c&&k===40?(e.consume(k),h++,S):k===41?(e.consume(k),h--,S):k===null||k===32||k===40||Rs(k)?r(k):(e.consume(k),k===92?C:S)}function C(k){return k===40||k===41||k===92?(e.consume(k),S):S(k)}}function vd(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 Ed(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 Nb={name:"definition",tokenize:Rb},Lb={partial:!0,tokenize:Pb};function Rb(e,t,r){const n=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return vd.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 yd(e,h,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(Lb,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 Pb(e,t,r){return n;function n(o){return Ve(o)?sa(e,i)(o):r(o)}function i(o){return Ed(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 Db={name:"hardBreakEscape",tokenize:Ob};function Ob(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 Mb={name:"headingAtx",resolve:Bb,tokenize:Fb};function Bb(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 Fb(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 Hb=["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"],rh=["pre","script","style","textarea"],zb={concrete:!0,name:"htmlFlow",resolveTo:qb,tokenize:jb},Ub={partial:!0,tokenize:$b},Vb={partial:!0,tokenize:Gb};function qb(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 jb(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,S):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 pt="CDATA[";return q===pt.charCodeAt(o++)?(e.consume(q),o===pt.length?n.interrupt?t:Z:E):r(q)}function S(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 pt=q===47,ht=s.toLowerCase();return!pt&&!a&&rh.includes(ht)?(i=1,n.interrupt?t(q):Z(q)):Hb.includes(s.toLowerCase())?(i=6,pt?(e.consume(q),k):n.interrupt?t(q):Z(q)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(q):a?A(q):L(q))}return q===45||Ut(q)?(e.consume(q),s+=String.fromCharCode(q),C):r(q)}function k(q){return q===62?(e.consume(q),n.interrupt?t:Z):r(q)}function A(q){return Re(q)?(e.consume(q),A):G(q)}function L(q){return q===47?(e.consume(q),G):q===58||q===95||Ht(q)?(e.consume(q),H):Re(q)?(e.consume(q),L):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):L(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)?L(q):r(q)}function G(q){return q===62?(e.consume(q),K):r(q)}function K(q){return q===null||xe(q)?Z(q):Re(q)?(e.consume(q),K):r(q)}function Z(q){return q===45&&i===2?(e.consume(q),ve):q===60&&i===1?(e.consume(q),Se):q===62&&i===4?(e.consume(q),at):q===63&&i===3?(e.consume(q),V):q===93&&i===5?(e.consume(q),Xe):xe(q)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Ub,$e,pe)(q)):q===null||xe(q)?(e.exit("htmlFlowData"),pe(q)):(e.consume(q),Z)}function pe(q){return e.check(Vb,ue,$e)(q)}function ue(q){return e.enter("lineEnding"),e.consume(q),e.exit("lineEnding"),ie}function ie(q){return q===null||xe(q)?pe(q):(e.enter("htmlFlowData"),Z(q))}function ve(q){return q===45?(e.consume(q),V):Z(q)}function Se(q){return q===47?(e.consume(q),s="",ze):Z(q)}function ze(q){if(q===62){const pt=s.toLowerCase();return rh.includes(pt)?(e.consume(q),at):Z(q)}return Ht(q)&&s.length<8?(e.consume(q),s+=String.fromCharCode(q),ze):Z(q)}function Xe(q){return q===93?(e.consume(q),V):Z(q)}function V(q){return q===62?(e.consume(q),at):q===45&&i===2?(e.consume(q),V):Z(q)}function at(q){return q===null||xe(q)?(e.exit("htmlFlowData"),$e(q)):(e.consume(q),at)}function $e(q){return e.exit("htmlFlow"),t(q)}}function Gb(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 $b(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Pi,t,r)}}const Wb={name:"htmlText",tokenize:Yb};function Yb(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),L):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,Se(V)):(e.consume(V),f)}function g(V){return V===45?(e.consume(V),m):f(V)}function m(V){return V===62?ve(V):V===45?g(V):f(V)}function E(V){const at="CDATA[";return V===at.charCodeAt(a++)?(e.consume(V),a===at.length?S:E):r(V)}function S(V){return V===null?r(V):V===93?(e.consume(V),C):xe(V)?(s=S,Se(V)):(e.consume(V),S)}function C(V){return V===93?(e.consume(V),k):S(V)}function k(V){return V===62?ve(V):V===93?(e.consume(V),k):S(V)}function A(V){return V===null||V===62?ve(V):xe(V)?(s=A,Se(V)):(e.consume(V),A)}function L(V){return V===null?r(V):V===63?(e.consume(V),H):xe(V)?(s=L,Se(V)):(e.consume(V),L)}function H(V){return V===62?ve(V):L(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,Se(V)):Re(V)?(e.consume(V),R):ve(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),ve):V===58||V===95||Ht(V)?(e.consume(V),G):xe(V)?(s=Y,Se(V)):Re(V)?(e.consume(V),Y):ve(V)}function G(V){return V===45||V===46||V===58||V===95||Ut(V)?(e.consume(V),G):K(V)}function K(V){return V===61?(e.consume(V),Z):xe(V)?(s=K,Se(V)):Re(V)?(e.consume(V),K):Y(V)}function Z(V){return V===null||V===60||V===61||V===62||V===96?r(V):V===34||V===39?(e.consume(V),i=V,pe):xe(V)?(s=Z,Se(V)):Re(V)?(e.consume(V),Z):(e.consume(V),ue)}function pe(V){return V===i?(e.consume(V),i=void 0,ie):V===null?r(V):xe(V)?(s=pe,Se(V)):(e.consume(V),pe)}function ue(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),ue)}function ie(V){return V===47||V===62||Ve(V)?Y(V):r(V)}function ve(V){return V===62?(e.consume(V),e.exit("htmlTextData"),e.exit("htmlText"),t):r(V)}function Se(V){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),ze}function ze(V){return Re(V)?De(e,Xe,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):Xe(V)}function Xe(V){return e.enter("htmlTextData"),s(V)}}const Ll={name:"labelEnd",resolveAll:Kb,resolveTo:Zb,tokenize:e5},Xb={tokenize:t5},Jb={tokenize:r5},Qb={tokenize:n5};function Kb(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 Zb(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,pu(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 e5(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(Xb,h,s?h:f)(g):g===91?e.attempt(Jb,h,s?c:f)(g):s?h(g):f(g)}function c(g){return e.attempt(Qb,h,f)(g)}function h(g){return t(g)}function f(g){return a._balanced=!0,r(g)}}function t5(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):yd(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?Ed(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 r5(e,t,r){const n=this;return i;function i(o){return vd.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 n5(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 i5={name:"labelStartImage",resolveAll:Ll.resolveAll,tokenize:a5};function a5(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 s5={name:"labelStartLink",resolveAll:Ll.resolveAll,tokenize:u5};function u5(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 Ku={name:"lineEnding",tokenize:o5};function o5(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:l5};function l5(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:p5},exit:m5,name:"list",tokenize:f5},c5={partial:!0,tokenize:g5},h5={partial:!0,tokenize:d5};function f5(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:Go(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 Go(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 p5(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(h5,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 d5(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 m5(e){e.exit(this.containerState.type)}function g5(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 nh={name:"setextUnderline",resolveTo:b5,tokenize:x5};function b5(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 x5(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 y5={tokenize:T5,partial:!0},ih="https://github.com/micromark/micromark-extension-mdxjs-esm",v5=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function E5(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"),S(A)):(a.consume(A),E)}function S(A){return A===null?k(A):xe(A)?a.check(y5,k,C)(A):(a.enter("mdxjsEsmData"),E(A))}function C(A){return a.enter("lineEnding"),a.consume(A),a.exit("lineEnding"),S}function k(A){const L=pd(l.events.slice(h),{acorn:r,acornOptions:n,tokenTypes:["mdxjsEsmData"],prefix:c.length>0?"var "+c.join(",")+`
40
- `:""});if(L.error){if(A!==null&&L.swallow)return C(A);const P=new Ye("Could not parse import/exports with acorn",{cause:L.error,place:{line:L.error.loc.line,column:L.error.loc.column+1,offset:L.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw P.url=ih+"#could-not-parse-importexports-with-acorn",P}c.length>0&&L.estree.body.shift();let H=-1;for(;++H<L.estree.body.length;){const P=L.estree.body[H];if(!v5.has(P.type)){const b=new Ye("Unexpected `"+P.type+"` in code: only import/exports are supported",{place:cn(P),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw b.url=ih+"#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:L.estree}:void 0),s(A)}}}function T5(e,t,r){return n;function n(i){return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(Pi,t,r)}}const ah={}.hasOwnProperty;function Rl(e){const t={};let r=-1;for(;++r<e.length;)k5(t,e[r]);return t}function k5(e,t){let r;for(r in t){const i=(ah.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let s;if(a)for(s in a){ah.call(i,s)||(i[s]=[]);const o=a[s];S5(i[s],Array.isArray(o)?o:o?[o]:[])}}}function S5(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 w5(e){const t=Object.assign({acorn:wt.extend(op()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return Rl([E5(t),K6(t),rb(t),nb()])}const _5={};function C5(e){const t=this,r=e||_5,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(w5(r)),a.push(X3()),s.push(J3(r))}const A5={};function Pl(e,t){const r=A5,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Td(e,n,i)}function Td(e,t,r){if(I5(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 sh(e.children,t,r)}return Array.isArray(e)?sh(e,t,r):""}function sh(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=Td(e[i],t,r);return n.join("")}function I5(e){return!!(e&&typeof e=="object")}function kd(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 N5={tokenize:L5};function L5(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 R5={tokenize:P5},uh={tokenize:D5};function P5(e){const t=this,r=[];let n=0,i,a,s;return o;function o(L){if(n<r.length){const H=r[n];return t.containerState=H[1],e.attempt(H[0].continuation,l,c)(L)}return c(L)}function l(L){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}k(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(L)}return o(L)}function c(L){if(n===r.length){if(!i)return g(L);if(i.currentConstruct&&i.currentConstruct.concrete)return E(L);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(uh,h,f)(L)}function h(L){return i&&A(),k(n),g(L)}function f(L){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,E(L)}function g(L){return t.containerState={},e.attempt(uh,m,E)(L)}function m(L){return n++,r.push([t.currentConstruct,t.containerState]),g(L)}function E(L){if(L===null){i&&A(),k(0),e.consume(L);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),S(L)}function S(L){if(L===null){C(e.exit("chunkFlow"),!0),k(0),e.consume(L);return}return xe(L)?(e.consume(L),C(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(L),S)}function C(L,H){const P=t.sliceStream(L);if(H&&P.push(null),L.previous=a,a&&(a.next=L),a=L,i.defineSkip(L.start),i.write(P),t.parser.lazy[L.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(k(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 k(L){let H=r.length;for(;H-- >L;){const P=r[H];t.containerState=P[1],P[0].exit.call(t,e)}r.length=L}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function D5(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 O5={tokenize:M5};function M5(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(wb,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 B5={resolveAll:wd()},F5=Sd("string"),H5=Sd("text");function Sd(e){return{resolveAll:wd(e==="text"?z5: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 wd(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 z5(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 U5={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:md},V5={91:Nb},q5={[-2]:Qu,[-1]:Qu,32:Qu},j5={35:Mb,42:ys,45:[nh,ys],60:zb,61:nh,95:ys,96:th,126:th},G5={38:bd,92:gd},$5={[-5]:Ku,[-4]:Ku,[-3]:Ku,33:i5,38:bd,42:$o,60:[sb,Wb],91:s5,92:[Db,gd],93:Ll,95:$o,96:yb},W5={null:[$o,B5]},Y5={null:[42,95]},X5={null:[]},J5=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Y5,contentInitial:V5,disable:X5,document:U5,flow:j5,flowInitial:q5,insideSpan:W5,string:G5,text:$5},Symbol.toStringTag,{value:"Module"}));function Q5(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:L,exit:H,interrupt:R(b,{interrupt:!0})},c={code:null,containerState:{},defineSkip:S,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(K){return s=yr(s,K),C(),s[s.length-1]!==null?[]:(j(t,0),c.events=pu(a,c.events,c),c.events)}function g(K,Z){return Z5(m(K),Z)}function m(K){return K5(s,K)}function E(){const{_bufferIndex:K,_index:Z,line:pe,column:ue,offset:ie}=n;return{_bufferIndex:K,_index:Z,line:pe,column:ue,offset:ie}}function S(K){i[K.line]=K.column,G()}function C(){let K;for(;n._index<s.length;){const Z=s[n._index];if(typeof Z=="string")for(K=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===K&&n._bufferIndex<Z.length;)k(Z.charCodeAt(n._bufferIndex));else k(Z)}}function k(K){h=h(K)}function A(K){xe(K)?(n.line++,n.column=1,n.offset+=K===-3?2:1,G()):K!==-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=K}function L(K,Z){const pe=Z||{};return pe.type=K,pe.start=E(),c.events.push(["enter",pe,c]),o.push(pe),pe}function H(K){const Z=o.pop();return Z.end=E(),c.events.push(["exit",Z,c]),Z}function P(K,Z){j(K,Z.from)}function b(K,Z){Z.restore()}function R(K,Z){return pe;function pe(ue,ie,ve){let Se,ze,Xe,V;return Array.isArray(ue)?$e(ue):"tokenize"in ue?$e([ue]):at(ue);function at(Ze){return Pt;function Pt(vt){const gt=vt!==null&&Ze[vt],bt=vt!==null&&Ze.null,Et=[...Array.isArray(gt)?gt:gt?[gt]:[],...Array.isArray(bt)?bt:bt?[bt]:[]];return $e(Et)(vt)}}function $e(Ze){return Se=Ze,ze=0,Ze.length===0?ve:q(Ze[ze])}function q(Ze){return Pt;function Pt(vt){return V=Y(),Xe=Ze,Ze.partial||(c.currentConstruct=Ze),Ze.name&&c.parser.constructs.disable.null.includes(Ze.name)?ht():Ze.tokenize.call(Z?Object.assign(Object.create(c),Z):c,l,pt,ht)(vt)}}function pt(Ze){return K(Xe,V),ie}function ht(Ze){return V.restore(),++ze<Se.length?q(Se[ze]):ve}}}function j(K,Z){K.resolveAll&&!a.includes(K)&&a.push(K),K.resolve&&or(c.events,Z,c.events.length-Z,K.resolve(c.events.slice(Z),c)),K.resolveTo&&(c.events=K.resolveTo(c.events,c))}function Y(){const K=E(),Z=c.previous,pe=c.currentConstruct,ue=c.events.length,ie=Array.from(o);return{from:ue,restore:ve};function ve(){n=K,c.previous=Z,c.currentConstruct=pe,c.events.length=ue,o=ie,G()}}function G(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function K5(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 Z5(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 ex(e){const n={constructs:Rl([J5,...(e||{}).extensions||[]]),content:i(N5),defined:[],document:i(R5),flow:i(O5),lazy:{},string:i(F5),text:i(H5)};return n;function i(a){return s;function s(o){return Q5(n,a,o)}}}function tx(e){for(;!xd(e););return e}const oh=/[\0\t\n\r]/g;function rx(){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(oh.lastIndex=f,c=oh.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 nx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ix(e){return e.replace(nx,ax)}function ax(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return kd(r.slice(a?2:1),a?16:10)}return ga(r)||e}const _d={}.hasOwnProperty;function sx(e,t,r){return typeof t!="string"&&(r=t,t=void 0),ux(r)(tx(ex(r).document().write(rx()(e,t,!0))))}function ux(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(Vn),reference:q,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(hr),strong:a(Ot),thematicBreak:a(qn)},exit:{atxHeading:l(),atxHeadingSequence:P,autolink:l(),autolinkEmail:gt,autolinkProtocol:vt,blockQuote:l(),characterEscapeValue:G,characterReferenceMarkerHexadecimal:ht,characterReferenceMarkerNumeric:ht,characterReferenceValue:Ze,characterReference:Pt,codeFenced:l(C),codeFencedFence:S,codeFencedFenceInfo:m,codeFencedFenceMeta:E,codeFlowValue:G,codeIndented:l(k),codeText:l(ie),codeTextData:G,data:G,definition:l(),definitionDestinationString:H,definitionLabelString:A,definitionTitleString:L,emphasis:l(),hardBreakEscape:l(Z),hardBreakTrailing:l(Z),htmlFlow:l(pe),htmlFlowData:G,htmlText:l(ue),htmlTextData:G,image:l(Se),label:Xe,labelText:ze,lineEnding:K,link:l(ve),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:pt,resourceDestinationString:V,resourceTitleString:at,resource:$e,setextHeading:l(j),setextHeadingLineSequence:R,setextHeadingText:b,strong:l(),thematicBreak:l()}};Cd(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(te){let re={type:"root",children:[]};const D={stack:[re],tokenStack:[],config:t,enter:o,exit:c,buffer:s,resume:h,data:r},we=[];let We=-1;for(;++We<te.length;)if(te[We][1].type==="listOrdered"||te[We][1].type==="listUnordered")if(te[We][0]==="enter")we.push(We);else{const Tt=we.pop();We=i(te,Tt,We)}for(We=-1;++We<te.length;){const Tt=t[te[We][0]];_d.call(Tt,te[We][1].type)&&Tt[te[We][1].type].call(Object.assign({sliceSerialize:te[We][2].sliceSerialize},D),te[We][1])}if(D.tokenStack.length>0){const Tt=D.tokenStack[D.tokenStack.length-1];(Tt[1]||lh).call(D,void 0,Tt[0])}for(re.position={start:Sn(te.length>0?te[0][1].start:{line:1,column:1,offset:0}),end:Sn(te.length>0?te[te.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)re=t.transforms[We](re)||re;return re}function i(te,re,D){let we=re-1,We=-1,Tt=!1,be,ar,jn,Gn;for(;++we<=D;){const kt=te[we];switch(kt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{kt[0]==="enter"?We++:We--,Gn=void 0;break}case"lineEndingBlank":{kt[0]==="enter"&&(be&&!Gn&&!We&&!jn&&(jn=we),Gn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Gn=void 0}if(!We&&kt[0]==="enter"&&kt[1].type==="listItemPrefix"||We===-1&&kt[0]==="exit"&&(kt[1].type==="listUnordered"||kt[1].type==="listOrdered")){if(be){let Fr=we;for(ar=void 0;Fr--;){const fr=te[Fr];if(fr[1].type==="lineEnding"||fr[1].type==="lineEndingBlank"){if(fr[0]==="exit")continue;ar&&(te[ar][1].type="lineEndingBlank",Tt=!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}jn&&(!ar||jn<ar)&&(be._spread=!0),be.end=Object.assign({},ar?te[ar][1].start:kt[1].end),te.splice(ar||we,0,["exit",be,kt[2]]),we++,D++}if(kt[1].type==="listItemPrefix"){const Fr={type:"listItem",_spread:!1,start:Object.assign({},kt[1].start),end:void 0};be=Fr,te.splice(we,0,["enter",Fr,kt[2]]),we++,D++,jn=void 0,Gn=!0}}}return te[re][1]._spread=Tt,D}function a(te,re){return D;function D(we){o.call(this,te(we),we),re&&re.call(this,we)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(te,re,D){this.stack[this.stack.length-1].children.push(te),this.stack.push(te),this.tokenStack.push([re,D||void 0]),te.position={start:Sn(re.start),end:void 0}}function l(te){return re;function re(D){te&&te.call(this,D),c.call(this,D)}}function c(te,re){const D=this.stack.pop(),we=this.tokenStack.pop();if(we)we[0].type!==te.type&&(re?re.call(this,te,we[0]):(we[1]||lh).call(this,te,we[0]));else throw new Error("Cannot close `"+te.type+"` ("+kr({start:te.start,end:te.end})+"): it’s not open");D.position.end=Sn(te.end)}function h(){return Pl(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function g(te){if(this.data.expectingFirstListItemValue){const re=this.stack[this.stack.length-2];re.start=Number.parseInt(this.sliceSerialize(te),10),this.data.expectingFirstListItemValue=void 0}}function m(){const te=this.resume(),re=this.stack[this.stack.length-1];re.lang=te}function E(){const te=this.resume(),re=this.stack[this.stack.length-1];re.meta=te}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const te=this.resume(),re=this.stack[this.stack.length-1];re.value=te.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const te=this.resume(),re=this.stack[this.stack.length-1];re.value=te.replace(/(\r?\n|\r)$/g,"")}function A(te){const re=this.resume(),D=this.stack[this.stack.length-1];D.label=re,D.identifier=Pr(this.sliceSerialize(te)).toLowerCase()}function L(){const te=this.resume(),re=this.stack[this.stack.length-1];re.title=te}function H(){const te=this.resume(),re=this.stack[this.stack.length-1];re.url=te}function P(te){const re=this.stack[this.stack.length-1];if(!re.depth){const D=this.sliceSerialize(te).length;re.depth=D}}function b(){this.data.setextHeadingSlurpLineEnding=!0}function R(te){const re=this.stack[this.stack.length-1];re.depth=this.sliceSerialize(te).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(te){const D=this.stack[this.stack.length-1].children;let we=D[D.length-1];(!we||we.type!=="text")&&(we=et(),we.position={start:Sn(te.start),end:void 0},D.push(we)),this.stack.push(we)}function G(te){const re=this.stack.pop();re.value+=this.sliceSerialize(te),re.position.end=Sn(te.end)}function K(te){const re=this.stack[this.stack.length-1];if(this.data.atHardBreak){const D=re.children[re.children.length-1];D.position.end=Sn(te.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(re.type)&&(Y.call(this,te),G.call(this,te))}function Z(){this.data.atHardBreak=!0}function pe(){const te=this.resume(),re=this.stack[this.stack.length-1];re.value=te}function ue(){const te=this.resume(),re=this.stack[this.stack.length-1];re.value=te}function ie(){const te=this.resume(),re=this.stack[this.stack.length-1];re.value=te}function ve(){const te=this.stack[this.stack.length-1];if(this.data.inReference){const re=this.data.referenceType||"shortcut";te.type+="Reference",te.referenceType=re,delete te.url,delete te.title}else delete te.identifier,delete te.label;this.data.referenceType=void 0}function Se(){const te=this.stack[this.stack.length-1];if(this.data.inReference){const re=this.data.referenceType||"shortcut";te.type+="Reference",te.referenceType=re,delete te.url,delete te.title}else delete te.identifier,delete te.label;this.data.referenceType=void 0}function ze(te){const re=this.sliceSerialize(te),D=this.stack[this.stack.length-2];D.label=ix(re),D.identifier=Pr(re).toLowerCase()}function Xe(){const te=this.stack[this.stack.length-1],re=this.resume(),D=this.stack[this.stack.length-1];if(this.data.inReference=!0,D.type==="link"){const we=te.children;D.children=we}else D.alt=re}function V(){const te=this.resume(),re=this.stack[this.stack.length-1];re.url=te}function at(){const te=this.resume(),re=this.stack[this.stack.length-1];re.title=te}function $e(){this.data.inReference=void 0}function q(){this.data.referenceType="collapsed"}function pt(te){const re=this.resume(),D=this.stack[this.stack.length-1];D.label=re,D.identifier=Pr(this.sliceSerialize(te)).toLowerCase(),this.data.referenceType="full"}function ht(te){this.data.characterReferenceType=te.type}function Ze(te){const re=this.sliceSerialize(te),D=this.data.characterReferenceType;let we;D?(we=kd(re,D==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):we=ga(re);const We=this.stack[this.stack.length-1];We.value+=we}function Pt(te){const re=this.stack.pop();re.position.end=Sn(te.end)}function vt(te){G.call(this,te);const re=this.stack[this.stack.length-1];re.url=this.sliceSerialize(te)}function gt(te){G.call(this,te);const re=this.stack[this.stack.length-1];re.url="mailto:"+this.sliceSerialize(te)}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(te){return{type:"list",ordered:te.type==="listOrdered",start:null,spread:te._spread,children:[]}}function nn(te){return{type:"listItem",spread:te._spread,checked:null,children:[]}}function Vn(){return{type:"paragraph",children:[]}}function Ot(){return{type:"strong",children:[]}}function et(){return{type:"text",value:""}}function qn(){return{type:"thematicBreak"}}}function Sn(e){return{line:e.line,column:e.column,offset:e.offset}}function Cd(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?Cd(e,n):ox(e,n)}}function ox(e,t){let r;for(r in t)if(_d.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 lh(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+kr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+kr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+kr({start:t.start,end:t.end})+") is still open")}function lx(e){const t=this;t.parser=r;function r(n){return sx(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 hx(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
43
- `}]}function fx(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 px(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function dx(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function mx(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 gx(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 bx(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Ad(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 xx(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Ad(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 yx(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 vx(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 Ex(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Ad(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 Tx(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 kx(e,t,r){const n=e.all(t),i=r?Sx(r):Id(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 Sx(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=Id(r[n])}return t}function Id(e){const t=e.spread;return t??e.children.length>1}function wx(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 _x(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Cx(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Ax(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Ix(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=xn(t.children[1]),l=iu(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 Nx(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 Lx(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const ch=9,hh=32;function Rx(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),i=0;const a=[];for(;n;)a.push(fh(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(fh(t.slice(i),i>0,!1)),a.join("")}function fh(e,t,r){let n=0,i=e.length;if(t){let a=e.codePointAt(n);for(;a===ch||a===hh;)n++,a=e.codePointAt(n)}if(r){let a=e.codePointAt(i-1);for(;a===ch||a===hh;)i--,a=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}function Px(e,t){const r={type:"text",value:Rx(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Dx(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const Ox={blockquote:cx,break:hx,code:fx,delete:px,emphasis:dx,footnoteReference:mx,heading:gx,html:bx,imageReference:xx,image:yx,inlineCode:vx,linkReference:Ex,link:Tx,listItem:kx,list:wx,paragraph:_x,root:Cx,strong:Ax,table:Ix,tableCell:Lx,tableRow:Nx,text:Px,thematicBreak:Dx,toml:Za,yaml:Za,definition:Za,footnoteDefinition:Za};function Za(){}const Nd=-1,du=0,ua=1,Ds=2,Dl=3,Ol=4,Ml=5,Bl=6,Ld=7,Rd=8,ph=typeof self=="object"?self:globalThis,Mx=(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 du:case Nd:return r(s,i);case ua:{const o=r([],i);for(const l of s)o.push(n(l));return o}case Ds:{const o=r({},i);for(const[l,c]of s)o[n(l)]=n(c);return o}case Dl:return r(new Date(s),i);case Ol:{const{source:o,flags:l}=s;return r(new RegExp(o,l),i)}case Ml:{const o=r(new Map,i);for(const[l,c]of s)o.set(n(l),n(c));return o}case Bl:{const o=r(new Set,i);for(const l of s)o.add(n(l));return o}case Ld:{const{name:o,message:l}=s;return r(new ph[o](l),i)}case Rd: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 ph[a](s),i)};return n},dh=e=>Mx(new Map,e)(0),li="",{toString:Bx}={},{keys:Fx}=Object,Xi=e=>{const t=typeof e;if(t!=="object"||!e)return[du,t];const r=Bx.call(e).slice(8,-1);switch(r){case"Array":return[ua,li];case"Object":return[Ds,li];case"Date":return[Dl,li];case"RegExp":return[Ol,li];case"Map":return[Ml,li];case"Set":return[Bl,li];case"DataView":return[ua,r]}return r.includes("Array")?[ua,r]:r.includes("Error")?[Ld,r]:[Ds,r]},es=([e,t])=>e===du&&(t==="function"||t==="symbol"),Hx=(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 du:{let h=s;switch(l){case"bigint":o=Rd,h=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return i([Nd],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 Ds:{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 Fx(s))(e||!es(Xi(s[g])))&&h.push([a(g),a(s[g])]);return f}case Dl:return i([o,s.toISOString()],s);case Ol:{const{source:h,flags:f}=s;return i([o,{source:h,flags:f}],s)}case Ml:{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 Bl:{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},mh=(e,{json:t,lossy:r}={})=>{const n=[];return Hx(!(t||r),!!t,new Map,n)(e),n},ki=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?dh(mh(e,t)):structuredClone(e):(e,t)=>dh(mh(e,t));function zx(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 Ux(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Vx(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||zx,n=e.options.footnoteBackLabel||Ux,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=[],S=e.footnoteCounts.get(f);for(;S!==void 0&&++m<=S;){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 k={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(h,!0)};e.patch(c,k),o.push(k)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...ki(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 Ma=(function(e){if(e==null)return $x;if(typeof e=="function")return mu(e);if(typeof e=="object")return Array.isArray(e)?qx(e):jx(e);if(typeof e=="string")return Gx(e);throw new Error("Expected function, string, or object as test")});function qx(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Ma(e[r]);return mu(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function jx(e){const t=e;return mu(r);function r(n){const i=n;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function Gx(e){return mu(t);function t(r){return r&&r.type===e}}function mu(e){return t;function t(r,n,i){return!!(Wx(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function $x(){return!0}function Wx(e){return e!==null&&typeof e=="object"&&"type"in e}const Pd=[],Yx=!0,Wo=!1,Dd="skip";function Fl(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;const a=Ma(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=Pd,E,S,C;if((!t||a(l,c,h[h.length-1]||void 0))&&(m=Xx(r(l,h)),m[0]===Wo))return m;if("children"in l&&l.children){const k=l;if(k.children&&m[0]!==Dd)for(S=(n?k.children.length:-1)+s,C=h.concat(k);S>-1&&S<k.children.length;){const A=k.children[S];if(E=o(A,S,C)(),E[0]===Wo)return E;S=typeof E[1]=="number"?E[1]:S+s}}return m}}}function Xx(e){return Array.isArray(e)?e:typeof e=="number"?[Yx,e]:e==null?Pd:[e]}function Ba(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),Fl(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 Yo={}.hasOwnProperty,Jx={};function Qx(e,t){const r=t||Jx,n=new Map,i=new Map,a=new Map,s={...Ox,...r.handlers},o={all:c,applyData:Zx,definitionById:n,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:s,one:l,options:r,patch:Kx,wrap:t8};return Ba(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(Yo.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:S,...C}=h,k=ki(C);return k.children=o.all(h),k}return ki(h)}return(o.options.unknownHandler||e8)(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=gh(E.value)),!Array.isArray(E)&&E.type==="element")){const S=E.children[0];S&&S.type==="text"&&(S.value=gh(S.value))}Array.isArray(E)?f.push(...E):f.push(E)}}}return f}}function Kx(e,t){e.position&&(t.position=Tp(e))}function Zx(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,ki(a)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function e8(e,t){const r=t.data||{},n="value"in t&&!(Yo.call(r,"hProperties")||Yo.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 t8(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 gh(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function bh(e,t){const r=Qx(e,t),n=r.one(e,void 0),i=Vx(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 r8(e,t){return e&&"run"in e?async function(r,n){const i=bh(r,{file:n,...t});await e.run(i,n)}:function(r,n){return bh(r,{file:n,...e||t})}}function xh(e){if(e)throw e}var Zu,yh;function n8(){if(yh)return Zu;yh=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 Zu=function l(){var c,h,f,g,m,E,S=arguments[0],C=1,k=arguments.length,A=!1;for(typeof S=="boolean"&&(A=S,S=arguments[1]||{},C=2),(S==null||typeof S!="object"&&typeof S!="function")&&(S={});C<k;++C)if(c=arguments[C],c!=null)for(h in c)f=o(S,h),g=o(c,h),S!==g&&(A&&g&&(a(g)||(m=i(g)))?(m?(m=!1,E=f&&i(f)?f:[]):E=f&&a(f)?f:{},s(S,{name:h,newValue:l(A,E,g)})):typeof g<"u"&&s(S,{name:h,newValue:g}));return S},Zu}var i8=n8();const eo=yl(i8);function Xo(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 a8(){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?s8(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 s8(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 u8=(function(e){const n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a}),o8={}.hasOwnProperty;class Hl extends u8{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=a8()}copy(){const t=new Hl;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(eo(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(no("data",this.frozen),this.namespace[t]=r,this):o8.call(this.namespace,t)&&this.namespace[t]||void 0:t?(no("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 to("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),to("process",this.parser||this.Parser),ro("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);h8(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(),to("processSync",this.parser||this.Parser),ro("processSync",this.compiler||this.Compiler),this.process(t,i),Eh("processSync","process",r),n;function i(a,s){r=!0,xh(a),n=s}}run(t,r,n){vh(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),Eh("runSync","run",n),i;function a(s,o){xh(s),i=o,n=!0}}stringify(t,r){this.freeze();const n=ts(r),i=this.compiler||this.Compiler;return ro("stringify",i),vh(t),i(t,n)}use(t,...r){const n=this.attachers,i=this.namespace;if(no("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=eo(!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 S=n[g][1];Xo(S)&&Xo(m)&&(m=eo(!0,S,m)),n[g]=[c,m,...E]}}}}const l8=new Hl().freeze();function to(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ro(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function no(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 vh(e){if(!Xo(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Eh(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ts(e){return c8(e)?e:new sp(e)}function c8(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function h8(e){return typeof e=="string"||f8(e)}function f8(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function In(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 zl(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};In(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 In(s,c),c})},init:a?{type:"Identifier",name:a.local.name}:t}),n}function Pn(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 Th(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 p8(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:zl(i.specifiers,Pn(["arguments",0]))})}}}function Od(){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 d8(e){return e.type==="FunctionDeclaration"?{...e,type:"FunctionExpression"}:(e.type,{...e,type:"ClassExpression"})}function m8(e){return e.type==="FunctionDeclaration"||e.type==="ClassDeclaration"||e.type==="VariableDeclaration"}function g8(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,S,C,k;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(k of h.body)if(k.type==="ExportDefaultDeclaration")S&&f.fail("Unexpected duplicate layout, expected a single layout (previous: "+kr(cn(S))+")",{ancestors:[h,k],place:cn(k),ruleId:"duplicate-layout",source:"recma-document"}),S=k,m.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:m8(k.declaration)?d8(k.declaration):k.declaration}]});else if(k.type==="ExportNamedDeclaration"&&k.source){const b=k.source;k.specifiers=k.specifiers.filter(function(R){if(R.exported.type==="Identifier"&&R.exported.name==="default"){S&&f.fail("Unexpected duplicate layout, expected a single layout (previous: "+kr(cn(S))+")",{ancestors:[h,k,R],place:cn(k),ruleId:"duplicate-layout",source:"recma-document"}),S=R;const j=[];if(R.local.type==="Identifier"&&R.local.name==="default")j.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{const K={type:"ImportSpecifier",imported:R.local,local:{type:"Identifier",name:"MDXLayout"}};In(R.local,K),j.push(K)}const Y={type:"Literal",value:b.value};In(b,Y);const G={type:"ImportDeclaration",specifiers:j,attributes:[],source:Y};return In(R,G),P(G),!1}return!0}),k.specifiers.length>0&&H(k)}else k.type==="ExportNamedDeclaration"||k.type==="ExportAllDeclaration"?H(k):k.type==="ImportDeclaration"?P(k):k.type==="ExpressionStatement"&&(k.expression.type==="JSXElement"||k.expression.type==="JSXFragment")?(C=!0,m.push(...c(k.expression,n,!!S))):m.push(k);C||m.push(...c(void 0,n,!!S)),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,L=!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};In(b.source,j),b.source=j;return}if(b.type==="ImportExpression"){L=!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"};In(b,R),this.replace(R)}}}),L&&(r||(A=!0),h.body.push(b8(r?{type:"Literal",value:r}:{type:"Identifier",name:"_importMetaUrl"}))),A&&h.body.unshift(...x8());function H(b){if(b.type==="ExportNamedDeclaration"){if(b.declaration){const R=Od();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(k of b.specifiers)k.exported.type==="Identifier"?g.push(k.exported.name):(k.exported.value,g.push(k.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};In(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}]:zl(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 S=h||{type:"Identifier",name:"undefined"};S.type==="JSXFragment"&&S.children.length===1&&S.children[0].type==="JSXElement"&&(S=S.children[0]);let C=!1;gi(S,{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 k={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:S}]}},f==="program"?{type:"ExportDefaultDeclaration",declaration:k}:k]}}function rs(e,t,r){var n;(n=e.comments)==null||n.unshift({type:"Block",value:t+" "+r,data:{_mdxIsPragmaComment:!0}})}function b8(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:Pn(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:Pn(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:Pn(["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 x8(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:Pn(["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 kh(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 y8(e){const{development:t,outputFormat:r,providerImportSource:n}=e;return function(i,a){const s=Od(),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")&&!io(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("."),S=g.name,C=io(s.scopes,S);!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(S)&&!C&&f.objects.push(S)}else if(g.type!=="JSXNamespacedName"){if(Yr(g.name)&&!/^[a-z]/.test(g.name)){const m=g.name;io(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 S=f.idToInvalidComponentName.get(m);S===void 0&&(S=`_component${f.idToInvalidComponentName.size}`,f.idToInvalidComponentName.set(m,S)),E=[S]}h.openingElement.name=Th(E),h.closingElement&&(h.closingElement.name=Th(E))}}}},leave(h){s.exit(h);const f=[],g=[],m=[],E=[];if(h.type==="FunctionDeclaration"||h.type==="FunctionExpression"||h.type==="ArrowFunctionExpression"){const S=o[o.length-1];let C;for(C of S.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(...S.components);for(C of S.objects)g.includes(C)||g.push(C);g.sort();const k=[];if(f.length>0||g.length>0||S.idToInvalidComponentName.size>0){if(n&&(l=!0,m.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(ci(S.node,"MDXContent")||ci(S.node,"_createMdxContent"))&&m.push(Pn(["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}})}),S.tags.length>0&&(E.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:P}),P={type:"Identifier",name:"_components"}),ci(S.node,"_createMdxContent"))for(const[R,j]of[...S.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&&k.push({type:"VariableDeclaration",kind:"const",declarations:E})}let A;for(A in S.references)if(Object.hasOwn(S.references,A)){const P=A.split(".");let b=0;for(;++b<P.length;){const R=P.slice(0,b).join(".");Object.hasOwn(S.references,R)||(S.references[R]={component:!1,node:S.references[A].node})}}const L=Object.keys(S.references).sort();let H=-1;for(;++H<L.length;){const P=L[H],b=S.references[P],R=kr(cn(b.node)),j=[{type:"Literal",value:P},{type:"Literal",value:b.component}];c=!0,t&&R&&j.push({type:"Literal",value:R}),k.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:Pn(P.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:j,optional:!1}},alternate:void 0})}k.length>0&&(h.body.type!=="BlockStatement"&&(h.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:h.body}]}),h.body.body.unshift(...k)),o.pop()}}}),l&&n&&i.body.unshift(v8(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:kh([{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:[kh(h)]}}]}})}r==="function-body"&&i.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function v8(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:zl(r,Pn(["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 io(e,t){let r=e.length;for(;r--;)if(e[r].defined.includes(t))return!0;return!1}function E8(){return function(e){Ba(e,"raw",function(t,r,n){if(n&&typeof r=="number")return n.children.splice(r,1),r})}}const T8=/\s+/g,k8=/[\t\n\v\f\r ]+/g;function S8(e,t){t?typeof t=="string"&&(t={style:t}):t={};const r=t.preserveLineEndings?w8:_8;return String(e).replace(t.style==="html"?k8:T8,t.trim?C8(r):r)}function w8(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function _8(){return" "}function C8(e){return t;function t(r,n,i){return n===0||n+r.length===i.length?"":e(r)}}function A8(){return function(e){Ba(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"&&S8(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 I8=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"];let Sh=!1;function N8(e){const t=e||{};t.format,(t.jsxRuntime==="classic"||t.pragma||t.pragmaFrag||t.pragmaImportSource)&&!Sh&&(Sh=!0,console.warn("Unexpected deprecated option `jsxRuntime: 'classic'`, `pragma`, `pragmaFrag`, or `pragmaImportSource`; see <https://mdxjs.com/migrating/v3/> on how to migrate"));const r=l8().use(lx);t.format!=="md"&&r.use(C5);const n=t.remarkRehypeOptions||{};return r.use(A8).use(t.remarkPlugins||[]).use(r8,{...n,allowDangerousHtml:!0,passThrough:[...n.passThrough||[],...I8]}).use(t.rehypePlugins||[]),t.format==="md"&&r.use(E8),r.use(f3,t).use(g8,t).use(y8,t),t.jsx||r.use(Xg,t).use(p8,t),r.use(w4).use(_4,t).use(t.recmaPlugins||[]),r}function L8(e,t){const{file:r,options:n}=Fg(e,t);return N8(n).process(r)}function R8(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 P8=Object.getPrototypeOf(Md).constructor;async function Md(e,t){return new P8(String(e))(t)}async function D8(e,t){const{compiletime:r,runtime:n}=R8(t);return Md(await L8(e,r),n)}function O8(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function M8(e,t,r){const i=Ma((r||{}).ignore||[]),a=B8(t);let s=-1;for(;++s<a.length;)Fl(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 k=!1,A=[];g.lastIndex=0;let L=g.exec(c.value);for(;L;){const H=L.index,P={index:L.index,input:L.input,stack:[...h,c]};let b=m(...L,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+L[0].length,k=!0),!g.global)break;L=g.exec(c.value)}return k?(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 B8(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([F8(i[0]),H8(i[1])])}return t}function F8(e){return typeof e=="string"?new RegExp(O8(e),"g"):e}function H8(e){return typeof e=="function"?e:function(){return e}}const ao="phrasing",so=["autolink","link","image","label"];function z8(){return{transforms:[W8],enter:{literalAutolink:V8,literalAutolinkEmail:uo,literalAutolinkHttp:uo,literalAutolinkWww:uo},exit:{literalAutolink:$8,literalAutolinkEmail:G8,literalAutolinkHttp:q8,literalAutolinkWww:j8}}}function U8(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ao,notInConstruct:so},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ao,notInConstruct:so},{character:":",before:"[ps]",after:"\\/",inConstruct:ao,notInConstruct:so}]}}function V8(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function uo(e){this.config.enter.autolinkProtocol.call(this,e)}function q8(e){this.config.exit.autolinkProtocol.call(this,e)}function j8(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 G8(e){this.config.exit.autolinkEmail.call(this,e)}function $8(e){this.exit(e)}function W8(e){M8(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Y8],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),X8]],{ignore:["link","linkReference"]})}function Y8(e,t,r,n,i){let a="";if(!Bd(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!J8(r)))return!1;const s=Q8(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 X8(e,t,r,n){return!Bd(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function J8(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 Q8(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 Bd(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||$t(r)||fu(r))&&(!t||r!==47)}Fd.peek=s7;function K8(){this.buffer()}function Z8(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function e7(){this.buffer()}function t7(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function r7(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 n7(e){this.exit(e)}function i7(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 a7(e){this.exit(e)}function s7(){return"["}function Fd(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 u7(){return{enter:{gfmFootnoteCallString:K8,gfmFootnoteCall:Z8,gfmFootnoteDefinitionLabelString:e7,gfmFootnoteDefinition:t7},exit:{gfmFootnoteCallString:r7,gfmFootnoteCall:n7,gfmFootnoteDefinitionLabelString:i7,gfmFootnoteDefinition:a7}}}function o7(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:Fd},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?Hd:l7))),c(),l}}function l7(e,t,r){return t===0?e:Hd(e,t,r)}function Hd(e,t,r){return(r?"":" ")+e}const c7=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];zd.peek=m7;function h7(){return{canContainEols:["delete"],enter:{strikethrough:p7},exit:{strikethrough:d7}}}function f7(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:c7}],handlers:{delete:zd}}}function p7(e){this.enter({type:"delete",children:[]},e)}function d7(e){this.exit(e)}function zd(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 m7(){return"~"}function g7(e){return e.length}function b7(e,t){const r=t||{},n=(r.align||[]).concat(),i=r.stringLength||g7,a=[],s=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const S=[],C=[];let k=-1;for(e[h].length>c&&(c=e[h].length);++k<e[h].length;){const A=x7(e[h][k]);if(r.alignDelimiters!==!1){const L=i(A);C[k]=L,(l[k]===void 0||L>l[k])&&(l[k]=L)}S.push(A)}s[h]=S,o[h]=C}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<c;)a[f]=wh(n[f]);else{const S=wh(n);for(;++f<c;)a[f]=S}f=-1;const g=[],m=[];for(;++f<c;){const S=a[f];let C="",k="";S===99?(C=":",k=":"):S===108?C=":":S===114&&(k=":");let A=r.alignDelimiters===!1?1:Math.max(1,l[f]-C.length-k.length);const L=C+"-".repeat(A)+k;r.alignDelimiters!==!1&&(A=C.length+A+k.length,A>l[f]&&(l[f]=A),m[f]=A),g[f]=L}s.splice(1,0,g),o.splice(1,0,m),h=-1;const E=[];for(;++h<s.length;){const S=s[h],C=o[h];f=-1;const k=[];for(;++f<c;){const A=S[f]||"";let L="",H="";if(r.alignDelimiters!==!1){const P=l[f]-(C[f]||0),b=a[f];b===114?L=" ".repeat(P):b===99?P%2?(L=" ".repeat(P/2+.5),H=" ".repeat(P/2-.5)):(L=" ".repeat(P/2),H=L):H=" ".repeat(P)}r.delimiterStart!==!1&&!f&&k.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&A==="")&&(r.delimiterStart!==!1||f)&&k.push(" "),r.alignDelimiters!==!1&&k.push(L),k.push(A),r.alignDelimiters!==!1&&k.push(H),r.padding!==!1&&k.push(" "),(r.delimiterEnd!==!1||f!==c-1)&&k.push("|")}E.push(r.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return E.join(`
54
- `)}function x7(e){return e==null?"":String(e)}function wh(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 y7(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()),v7);return i(),s}function v7(e,t,r){return">"+(r?"":" ")+e}function E7(e,t){return _h(e,t.inConstruct,!0)&&!_h(e,t.notInConstruct,!1)}function _h(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 Ch(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
55
- `&&E7(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
56
- `}function Ud(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 T7(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 k7(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 S7(e,t,r,n){const i=k7(r),a=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(T7(e,r)){const f=r.enter("codeIndented"),g=r.indentLines(a,w7);return f(),g}const o=r.createTracker(n),l=i.repeat(Math.max(Ud(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 w7(e,t,r){return(r?"":" ")+e}function Ul(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 _7(e,t,r,n){const i=Ul(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 C7(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 ya(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Os(e,t,r){const n=Ti(e),i=Ti(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}}Vd.peek=A7;function Vd(e,t,r,n){const i=C7(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=Os(n.before.charCodeAt(n.before.length-1),c,i);h.inside&&(l=ya(c)+l.slice(1));const f=l.charCodeAt(l.length-1),g=Os(n.after.charCodeAt(0),f,i);g.inside&&(l=l.slice(0,-1)+ya(f));const m=s.move(i);return a(),r.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},o+l+m}function A7(e,t,r){return r.options.emphasis||"*"}function I7(e,t){let r=!1;return Ba(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Wo}),!!((!e.depth||e.depth<3)&&Pl(e)&&(t.options.setext||r))}function N7(e,t,r,n){const i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if(I7(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=ya(c.charCodeAt(0))+c.slice(1)),c=c?s+" "+c:s,r.options.closeAtx&&(c+=" "+s),l(),o(),c}qd.peek=L7;function qd(e){return e.value||""}function L7(){return"<"}jd.peek=R7;function jd(e,t,r,n){const i=Ul(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 R7(){return"!"}Gd.peek=P7;function Gd(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 P7(){return"!"}$d.peek=D7;function $d(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 D7(){return"`"}function Wd(e,t){const r=Pl(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))}Yd.peek=O7;function Yd(e,t,r,n){const i=Ul(r),a=i==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let o,l;if(Wd(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 O7(e,t,r){return Wd(e,r)?"<":"["}Xd.peek=M7;function Xd(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 M7(){return"["}function Vl(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 B7(e){const t=Vl(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 F7(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 Jd(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 H7(e,t,r,n){const i=r.enter("list"),a=r.bulletCurrent;let s=e.ordered?F7(r):Vl(r);const o=e.ordered?s==="."?")":".":B7(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),Jd(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 z7(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 U7(e,t,r,n){const i=z7(r);let a=r.bulletCurrent||Vl(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 V7(e,t,r,n){const i=r.enter("paragraph"),a=r.enter("phrasing"),s=r.containerPhrasing(e,n);return a(),i(),s}const q7=Ma(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function j7(e,t,r,n){return(e.children.some(function(s){return q7(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function G7(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Qd.peek=$7;function Qd(e,t,r,n){const i=G7(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=Os(n.before.charCodeAt(n.before.length-1),c,i);h.inside&&(l=ya(c)+l.slice(1));const f=l.charCodeAt(l.length-1),g=Os(n.after.charCodeAt(0),f,i);g.inside&&(l=l.slice(0,-1)+ya(f));const m=s.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},o+l+m}function $7(e,t,r){return r.options.strong||"*"}function W7(e,t,r,n){return r.safe(e.value,n)}function Y7(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 X7(e,t,r){const n=(Jd(r)+(r.options.ruleSpaces?" ":"")).repeat(Y7(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Kd={blockquote:y7,break:Ch,code:S7,definition:_7,emphasis:Vd,hardBreak:Ch,heading:N7,html:qd,image:jd,imageReference:Gd,inlineCode:$d,link:Yd,linkReference:Xd,list:H7,listItem:U7,paragraph:V7,root:j7,strong:Qd,text:W7,thematicBreak:X7};function J7(){return{enter:{table:Q7,tableData:Ah,tableHeader:Ah,tableRow:Z7},exit:{codeText:ey,table:K7,tableData:oo,tableHeader:oo,tableRow:oo}}}function Q7(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 K7(e){this.exit(e),this.data.inTable=void 0}function Z7(e){this.enter({type:"tableRow",children:[]},e)}function oo(e){this.exit(e)}function Ah(e){this.enter({type:"tableCell",children:[]},e)}function ey(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ty));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function ty(e,t){return t==="|"?t:e}function ry(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,S,C){return c(h(m,S,C),m.align)}function o(m,E,S,C){const k=f(m,S,C),A=c([k]);return A.slice(0,A.indexOf(`
67
- `))}function l(m,E,S,C){const k=S.enter("tableCell"),A=S.enter("phrasing"),L=S.containerPhrasing(m,{...C,before:a,after:a});return A(),k(),L}function c(m,E){return b7(m,{align:E,alignDelimiters:n,padding:r,stringLength:i})}function h(m,E,S){const C=m.children;let k=-1;const A=[],L=E.enter("table");for(;++k<C.length;)A[k]=f(C[k],E,S);return L(),A}function f(m,E,S){const C=m.children;let k=-1;const A=[],L=E.enter("tableRow");for(;++k<C.length;)A[k]=l(C[k],m,E,S);return L(),A}function g(m,E,S){let C=Kd.inlineCode(m,E,S);return S.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function ny(){return{exit:{taskListCheckValueChecked:Ih,taskListCheckValueUnchecked:Ih,paragraph:ay}}}function iy(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:sy}}}function Ih(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function ay(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 sy(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=Kd.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 uy(){return[z8(),u7(),h7(),J7(),ny()]}function oy(e){return{extensions:[U8(),o7(e),f7(),ry(e),iy()]}}const ly={tokenize:my,partial:!0},Zd={tokenize:gy,partial:!0},e1={tokenize:by,partial:!0},t1={tokenize:xy,partial:!0},cy={tokenize:yy,partial:!0},r1={name:"wwwAutolink",tokenize:py,previous:i1},n1={name:"protocolAutolink",tokenize:dy,previous:a1},vn={name:"emailAutolink",tokenize:fy,previous:s1},Zr={};function hy(){return{text:Zr}}let $n=48;for(;$n<123;)Zr[$n]=vn,$n++,$n===58?$n=65:$n===91&&($n=97);Zr[43]=vn;Zr[45]=vn;Zr[46]=vn;Zr[95]=vn;Zr[72]=[vn,n1];Zr[104]=[vn,n1];Zr[87]=[vn,r1];Zr[119]=[vn,r1];function fy(e,t,r){const n=this;let i,a;return s;function s(f){return!Jo(f)||!s1.call(n,n.previous)||ql(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return Jo(f)?(e.consume(f),o):f===64?(e.consume(f),l):r(f)}function l(f){return f===46?e.check(cy,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 py(e,t,r){const n=this;return i;function i(s){return s!==87&&s!==119||!i1.call(n,n.previous)||ql(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ly,e.attempt(Zd,e.attempt(e1,a),r),r)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function dy(e,t,r){const n=this;let i="",a=!1;return s;function s(f){return(f===72||f===104)&&a1.call(n,n.previous)&&!ql(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||Rs(f)||Ve(f)||$t(f)||fu(f)?r(f):e.attempt(Zd,e.attempt(e1,h),r)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function my(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 gy(e,t,r){let n,i,a;return s;function s(c){return c===46||c===95?e.check(t1,l,o)(c):c===null||Ve(c)||$t(c)||c!==45&&fu(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 by(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(t1,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 xy(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 yy(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return Ut(a)?r(a):t(a)}}function i1(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ve(e)}function a1(e){return!Ht(e)}function s1(e){return!(e===47||Jo(e))}function Jo(e){return e===43||e===45||e===46||e===95||Ut(e)}function ql(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 vy={tokenize:Ay,partial:!0};function Ey(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:wy,continuation:{tokenize:_y},exit:Cy}},text:{91:{name:"gfmFootnoteCall",tokenize:Sy},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Ty,resolveTo:ky}}}}function Ty(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 ky(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 Sy(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 wy(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 S=e.exit("gfmFootnoteDefinitionLabelString");return a=Pr(n.sliceSerialize(S)),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 _y(e,t,r){return e.check(Pi,t,e.attempt(vy,t,r))}function Cy(e){e.exit("gfmFootnoteDefinition")}function Ay(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 Iy(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,pu(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 S=Ti(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"),k=Ti(E);return C._open=!k||k===2&&!!S,C._close=!S||S===2&&!!k,o(E)}}}class Ny{constructor(){this.map=[]}add(t,r,n){Ly(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 Ly(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 Ry(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 Py(){return{flow:{null:{name:"table",tokenize:Dy,resolveAll:Oy}}}}function Dy(e,t,r){const n=this;let i=0,a=0,s;return o;function o(G){let K=n.events.length-1;for(;K>-1;){const ue=n.events[K][1].type;if(ue==="lineEnding"||ue==="linePrefix")K--;else break}const Z=K>-1?n.events[K][1].type:null,pe=Z==="tableHead"||Z==="tableRow"?b:l;return pe===b&&n.parser.lazy[n.now().line]?r(G):pe(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"),S):P(G)}function S(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"),k):G===45?(a+=1,k(G)):G===null||xe(G)?H(G):P(G)}function k(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"),L):(e.exit("tableDelimiterFiller"),L(G))}function L(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 Oy(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 Ny;for(;++r<e.length;){const m=e[r],E=m[1];m[0]==="enter"?E.type==="tableHead"?(o=!1,l!==0&&(Nh(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&&Nh(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=Ry(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,S=r[3]-r[2]-1;e.add(E,S,[])}}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 Nh(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 My={name:"tasklistCheck",tokenize:Fy};function By(){return{text:{91:My}}}function Fy(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:Hy},t,r)(l):r(l)}}function Hy(e,t,r){return De(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function zy(e){return Rl([hy(),Ey(),Iy(e),Py(),By()])}const Uy={};function Vy(e){const t=this,r=e||Uy,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(zy(r)),a.push(uy()),s.push(oy(r))}function qy(){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 jy(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(Ud(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 S=E.index;l.codePointAt(S)===10&&l.codePointAt(S-1)===13&&S--,l=l.slice(0,S)+" "+l.slice(E.index+1)}}return h+l+h}function i(){return"$"}}const Gy={tokenize:$y,concrete:!0,name:"mathFlow"},Lh={tokenize:Wy,partial:!0};function $y(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(Lh,g,C)(A)}function g(A){return e.attempt({tokenize:k,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(Lh,g,C)(A):(e.enter("mathFlowValue"),S(A))}function S(A){return A===null||xe(A)?(e.exit("mathFlowValue"),E(A)):(e.consume(A),S)}function C(A){return e.exit("mathFlow"),t(A)}function k(A,L,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"),L(Y)):H(Y)}}}function Wy(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 Yy(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Xy,previous:Jy,name:"mathText"};function n(i,a,s){let o=0,l,c;return h;function h(S){return i.enter("mathText"),i.enter("mathTextSequence"),f(S)}function f(S){return S===36?(i.consume(S),o++,f):o<2&&!r?s(S):(i.exit("mathTextSequence"),g(S))}function g(S){return S===null?s(S):S===36?(c=i.enter("mathTextSequence"),l=0,E(S)):S===32?(i.enter("space"),i.consume(S),i.exit("space"),g):xe(S)?(i.enter("lineEnding"),i.consume(S),i.exit("lineEnding"),g):(i.enter("mathTextData"),m(S))}function m(S){return S===null||S===32||S===36||xe(S)?(i.exit("mathTextData"),g(S)):(i.consume(S),m)}function E(S){return S===36?(i.consume(S),l++,E):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),a(S)):(c.type="mathTextData",m(S))}}}function Xy(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 Jy(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Qy(e){return{flow:{36:Gy},text:{36:Yy(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 he{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__=he.prototype,f.position=i,i!=null&&a!=null&&(f.length=a-i),f.rawMessage=t,f}}he.prototype.__proto__=Error.prototype;var Ky=function(t,r){return t===void 0?r:t},Zy=/([A-Z])/g,ev=function(t){return t.replace(Zy,"-$1").toLowerCase()},tv={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},rv=/[&><"']/g;function nv(e){return String(e).replace(rv,t=>tv[t])}var u1=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},iv=function(t){var r=u1(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},av=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},sv=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"},Ge={deflt:Ky,escape:nv,hyphenate:ev,getBaseElem:u1,isCharacterBox:iv,protocolFromUrl:sv},vs={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 uv(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 vs)if(vs.hasOwnProperty(r)){var n=vs[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:uv(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 he("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=Ge.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 wn{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[ov[this.id]]}sub(){return qr[lv[this.id]]}fracNum(){return qr[cv[this.id]]}fracDen(){return qr[hv[this.id]]}cramp(){return qr[fv[this.id]]}text(){return qr[pv[this.id]]}isTight(){return this.size>=2}}var Gl=0,Ms=1,yi=2,hn=3,va=4,Sr=5,Si=6,Wt=7,qr=[new wn(Gl,0,!1),new wn(Ms,0,!0),new wn(yi,1,!1),new wn(hn,1,!0),new wn(va,2,!1),new wn(Sr,2,!0),new wn(Si,3,!1),new wn(Wt,3,!0)],ov=[va,Sr,va,Sr,Si,Wt,Si,Wt],lv=[Sr,Sr,Sr,Sr,Wt,Wt,Wt,Wt],cv=[yi,hn,va,Sr,Si,Wt,Si,Wt],hv=[hn,hn,Sr,Sr,Wt,Wt,Wt,Wt],fv=[Ms,Ms,hn,hn,Sr,Sr,Wt,Wt],pv=[Gl,Ms,yi,hn,yi,hn,yi,hn],Ce={DISPLAY:qr[Gl],TEXT:qr[yi],SCRIPT:qr[va],SCRIPTSCRIPT:qr[Si]},Qo=[{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 dv(e){for(var t=0;t<Qo.length;t++)for(var r=Qo[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 Es=[];Qo.forEach(e=>e.blocks.forEach(t=>Es.push(...t)));function o1(e){for(var t=0;t<Es.length;t+=2)if(e>=Es[t]&&e<=Es[t+1])return!0;return!1}var hi=80,mv=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"},gv=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"},bv=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"},xv=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"},yv=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"},vv=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},Ev=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"},Tv=function(t,r,n){r=1e3*r;var i="";switch(t){case"sqrtMain":i=mv(r,hi);break;case"sqrtSize1":i=gv(r,hi);break;case"sqrtSize2":i=bv(r,hi);break;case"sqrtSize3":i=xv(r,hi);break;case"sqrtSize4":i=yv(r,hi);break;case"sqrtTall":i=Ev(r,hi,n)}return i},kv=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""}},Rh={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`},Sv=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 Fa{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]},Ph={Å:"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 wv(e,t){Gr[e]=t}function $l(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 Ph&&(n=Ph[e[0]].charCodeAt(0),i=Gr[t][n]),!i&&r==="text"&&o1(n)&&(i=Gr[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var lo={};function _v(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!lo[t]){var r=lo[t]={cssEmPerMu:is.quad[t]/18};for(var n in is)is.hasOwnProperty(n)&&(r[n]=is[n][t])}return lo[t]}var Cv=[[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]],Dh=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Oh=function(t,r){return r.size<2?t:Cv[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=Dh[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:Oh(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:Dh[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Oh(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=_v(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}un.BASESIZE=6;var Ko={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},Av={ex:!0,em:!0,mu:!0},l1=function(t){return typeof t!="string"&&(t=t.unit),t in Ko||t in Av||t==="ex"},ct=function(t,r){var n;if(t.unit in Ko)n=Ko[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 he("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"},Mn=function(t){return t.filter(r=>r).join(" ")},c1=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)}},h1=function(t){var r=document.createElement(t);r.className=Mn(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},Iv=/[\s"'>/=\x00-\x1f]/,f1=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+Ge.escape(Mn(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=Ge.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+Ge.escape(n)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(Iv.test(a))throw new he("Invalid attribute name '"+a+"'");r+=" "+a+'="'+Ge.escape(this.attributes[a])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class Ha{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,c1.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return h1.call(this,"span")}toMarkup(){return f1.call(this,"span")}}let Wl=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,c1.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 h1.call(this,"a")}toMarkup(){return f1.call(this,"a")}};class Nv{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="'+Ge.escape(this.src)+'"'+(' alt="'+Ge.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=Ge.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+Ge.escape(r)+'"'),t+="'/>",t}}var Lv={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class wr{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=dv(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Lv[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=Mn(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+=Ge.escape(Mn(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+=Ge.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+Ge.escape(n)+'"');var a=Ge.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+'="'+Ge.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Bn{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",Rh[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Ge.escape(this.alternate)+'"/>':'<path d="'+Ge.escape(Rh[this.pathName])+'"/>'}}class Zo{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+'="'+Ge.escape(this.attributes[r])+'"');return t+="/>",t}}function Mh(e){if(e instanceof wr)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Rv(e){if(e instanceof Ha)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Pv={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Dv={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},rt={math:{},text:{}};function x(e,t,r,n,i,a){rt[e][i]={font:t,group:r,replace:n},a&&n&&(rt[e][n]=rt[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",gu="punct",z="rel",En="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,_,gu,".","\\ldotp");x(v,_,gu,"⋅","\\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,_,En," ","\\ ");x(v,_,En," ","\\space");x(v,_,En," ","\\nobreakspace");x(ae,_,En," ","\\ ");x(ae,_,En," "," ");x(ae,_,En," ","\\space");x(ae,_,En," ","\\nobreakspace");x(v,_,En,null,"\\nobreak");x(v,_,En,null,"\\allowbreak");x(v,_,gu,",",",");x(v,_,gu,";",";");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 p1={"--":!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 Bh='0123456789/@."';for(var co=0;co<Bh.length;co++){var Fh=Bh.charAt(co);x(v,_,$,Fh,Fh)}var Hh='0123456789!@*()-=+";:?/.,';for(var ho=0;ho<Hh.length;ho++){var zh=Hh.charAt(ho);x(ae,_,$,zh,zh)}var Bs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var fo=0;fo<Bs.length;fo++){var as=Bs.charAt(fo);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<Bs.length;Gt++){var ft=Bs.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 Wn=0;Wn<10;Wn++){var _n=Wn.toString();Ae=String.fromCharCode(55349,57294+Wn),x(v,_,_e,_n,Ae),x(ae,_,$,_n,Ae),Ae=String.fromCharCode(55349,57314+Wn),x(v,_,_e,_n,Ae),x(ae,_,$,_n,Ae),Ae=String.fromCharCode(55349,57324+Wn),x(v,_,_e,_n,Ae),x(ae,_,$,_n,Ae),Ae=String.fromCharCode(55349,57334+Wn),x(v,_,_e,_n,Ae),x(ae,_,$,_n,Ae)}var el="ÐÞþ";for(var po=0;po<el.length;po++){var ss=el.charAt(po);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"]],Uh=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ov=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[Uh[l][2],Uh[l][s]]}else{if(a===120485||a===120486)return[us[0][2],us[0][s]];if(120486<a&&a<120782)return["",""];throw new he("Unsupported character: "+t)}},bu=function(t,r,n){return rt[n][t]&&rt[n][t].replace&&(t=rt[n][t].replace),{value:t,metrics:$l(t,r,n)}},Lr=function(t,r,n,i,a){var s=bu(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 wr(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 wr(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},Mv=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&bu(t,"Main-Bold",r).metrics?Lr(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||rt[r][t].font==="main"?Lr(t,"Main-Regular",r,n,i):Lr(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},Bv=function(t,r,n,i,a){return a!=="textord"&&bu(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Fv=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]=Ov(a,i)),c.length>0)return Lr(a,c,i,r,s.concat(h));if(l){var f,g;if(l==="boldsymbol"){var m=Bv(a,i,r,s,n);f=m.fontName,g=[m.fontClass]}else o?(f=g1[l].fontName,g=[l]):(f=os(l,r.fontWeight,r.fontShape),g=[l,r.fontWeight,r.fontShape]);if(bu(a,f,i).metrics)return Lr(a,f,i,r,s.concat(g));if(p1.hasOwnProperty(a)&&f.slice(0,10)==="Typewriter"){for(var E=[],S=0;S<a.length;S++)E.push(Lr(a[S],f,i,r,s.concat(g)));return m1(E)}}if(n==="mathord")return Lr(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var C=rt[i][a]&&rt[i][a].font;if(C==="ams"){var k=os("amsrm",r.fontWeight,r.fontShape);return Lr(a,k,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 L=os(C,r.fontWeight,r.fontShape);return Lr(a,L,i,r,s.concat(L,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Hv=(e,t)=>{if(Mn(e.classes)!==Mn(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},zv=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof wr&&n instanceof wr&&Hv(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},Yl=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 Ha(t,r,n,i);return Yl(a),a},d1=(e,t,r,n)=>new Ha(e,t,r,n),Uv=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},Vv=function(t,r,n,i){var a=new Wl(t,r,n,i);return Yl(a),a},m1=function(t){var r=new Fa(t);return Yl(r),r},qv=function(t,r){return t instanceof Fa?er([],[t],r):t},jv=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}},Gv=function(t,r){for(var{children:n,depth:i}=jv(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 S=n[E];if(S.type==="kern")m+=S.size;else{var C=S.elem,k=S.wrapperClasses||[],A=S.wrapperStyle||{},L=er(k,[c,C],void 0,A);L.style.top=me(-a-m-C.depth),S.marginLeft&&(L.style.marginLeft=S.marginLeft),S.marginRight&&(L.style.marginRight=S.marginRight),h.push(L),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 wr("​")]);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},$v=(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},g1={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"}},b1={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Wv=function(t,r){var[n,i,a]=b1[t],s=new Bn(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=d1(["overlay"],[o],r);return l.height=a,l.style.height=me(a),l.style.width=me(i),l},J={fontMap:g1,makeSymbol:Lr,mathsym:Mv,makeSpan:er,makeSvgSpan:d1,makeLineSpan:Uv,makeAnchor:Vv,makeFragment:m1,wrapFragment:qv,makeVList:Gv,makeOrd:Fv,makeGlue:$v,staticSvg:Wv,svgData:b1,tryCombineChars:zv},lt={number:3,unit:"mu"},Yn={number:4,unit:"mu"},sn={number:5,unit:"mu"},Yv={mord:{mop:lt,mbin:Yn,mrel:sn,minner:lt},mop:{mord:lt,mop:lt,mrel:sn,minner:lt},mbin:{mord:Yn,mop:Yn,mopen:Yn,minner:Yn},mrel:{mord:sn,mop:sn,mopen:sn,minner:sn},mopen:{},mclose:{mop:lt,mbin:Yn,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:Yn,mrel:sn,mopen:lt,mpunct:lt,minner:lt}},Xv={mord:{mop:lt},mop:{mord:lt,mop:lt},mbin:{},mrel:{},mopen:{},mclose:{mop:lt},mpunct:{},minner:{mop:lt}},x1={},Fs={},Hs={};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)x1[r[l]]=o;t&&(a&&(Fs[t]=a),s&&(Hs[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 zs=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,Jv=["leftmost","mbin","mopen","mrel","mop","mpunct"],Qv=["rightmost","mrel","mclose","mpunct"],Kv={display:Ce.DISPLAY,text:Ce.TEXT,script:Ce.SCRIPT,scriptscript:Ce.SCRIPTSCRIPT},Zv={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},_t=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 Fa){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(Kv[h.style]))}var f=gn([i[0]||"leftmost"],[],r),g=gn([i[1]||"rightmost"],[],r),m=n==="root";return Vh(a,(E,S)=>{var C=S.classes[0],k=E.classes[0];C==="mbin"&&Qv.includes(k)?S.classes[0]="mord":k==="mbin"&&Jv.includes(C)&&(E.classes[0]="mord")},{node:f},g,m),Vh(a,(E,S)=>{var C=tl(S),k=tl(E),A=C&&k?E.hasClass("mtight")?Xv[C][k]:Yv[C][k]:null;if(A)return J.makeGlue(A,c)},{node:f},g,m),a},Vh=function e(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var o=t[s],l=y1(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()},y1=function(t){return t instanceof Fa||t instanceof Wl||t instanceof Ha&&t.hasClass("enclosing")?t:null},e9=function e(t,r){var n=y1(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},tl=function(t,r){return t?(r&&(t=e9(t,r)),Zv[t.classes[0]]||null):null},Ea=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return gn(r.concat(n))},je=function(t,r,n){if(!t)return gn();if(Fs[t.type]){var i=Fs[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 he("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 rl(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=_t(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(_t(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 v1(e){return new Fa(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=Mn(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+=Ge.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+Ge.escape(Mn(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 Ge.escape(this.toText())}toText(){return this.text}}class t9{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 le={MathNode:ur,TextNode:$r,SpaceNode:t9,newDocumentFragment:v1},_r=function(t,r,n){return rt[r][t]&&rt[r][t].replace&&t.charCodeAt(0)!==55349&&!(p1.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=rt[r][t].replace),new le.TextNode(t)},Xl=function(t){return t.length===1?t[0]:new le.MathNode("mrow",t)},Jl=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;rt[i][a]&&rt[i][a].replace&&(a=rt[i][a].replace);var s=J.fontMap[n].fontName;return $l(a,s,i)?J.fontMap[n].variant:null};function mo(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=Qe(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=Qe(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(mo(l)&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mn"&&mo(s))l.children=[...s.children,...l.children],a.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(s.type==="mn"||mo(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},Fn=function(t,r,n){return Xl(ir(t,r,n))},Qe=function(t,r){if(!t)return new le.MathNode("mrow");if(Hs[t.type]){var n=Hs[t.type](t,r);return n}else throw new he("Got group of unknown type: '"+t.type+"'")};function qh(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 le.MathNode("mrow",a);var o=new le.MathNode("annotation",[new le.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new le.MathNode("semantics",[s,o]),c=new le.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 E1=function(t){return new un({style:t.displayMode?Ce.DISPLAY:Ce.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},T1=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},r9=function(t,r,n){var i=E1(n),a;if(n.output==="mathml")return qh(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=rl(t,i);a=J.makeSpan(["katex"],[s])}else{var o=qh(t,r,i,n.displayMode,!1),l=rl(t,i);a=J.makeSpan(["katex"],[o,l])}return T1(a,n)},n9=function(t,r,n){var i=E1(n),a=rl(t,i),s=J.makeSpan(["katex"],[a]);return T1(s,n)},i9={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":"="},a9=function(t){var r=new le.MathNode("mo",[new le.TextNode(i9[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},s9={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]},u9=function(t){return t.type==="ordgroup"?t.body.length:1},o9=function(t,r){function n(){var o=4e5,l=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(l)){var c=t,h=u9(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 S=new Bn(g),C=new mn([S],{width:"100%",height:me(m),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:J.makeSvgSpan([],[C],r),minWidth:0,height:m}}else{var k=[],A=s9[l],[L,H,P]=A,b=P/1e3,R=L.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 K=0;K<R;K++){var Z=new Bn(L[K]),pe=new mn([Z],{width:"400em",height:me(b),viewBox:"0 0 "+o+" "+P,preserveAspectRatio:Y[K]+" slice"}),ue=J.makeSvgSpan([j[K]],[pe],r);if(R===1)return{span:ue,minWidth:H,height:b};ue.style.height=me(b),k.push(ue)}return{span:J.makeSpan(["stretchy"],k,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},l9=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 Zo({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Zo({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:l9,mathMLnode:a9,svgSpan:o9};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 Ql(e){var t=xu(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 xu(e){return e&&(e.type==="atom"||Dv.hasOwnProperty(e.type))?e:null}var Kl=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=Oe(e.base,"accent"),r=n.base,e.base=r,i=Rv(je(e,t)),e.base=n):(n=Oe(e,"accent"),r=n.base);var a=je(r,t.havingCrampedStyle()),s=n.isShifty&&Ge.isCharacterBox(r),o=0;if(s){var l=Ge.getBaseElem(r),c=je(l,t.havingCrampedStyle());o=Mh(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=Mh(m),m.italic=0,E=m.width,h&&(f+=m.depth)),g=J.makeSpan(["accent-body"],[m]);var S=n.label==="\\textcircled";S&&(g.classes.push("accent-full"),f=a.height);var C=o;S||(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 k=J.makeSpan(["mord","accent"],[g],t);return i?(i.children[0]=k,i.height=Math.max(k.height,i.height),i.classes[0]="mord",i):k},k1=(e,t)=>{var r=e.isStretchy?bn.mathMLnode(e.label):new le.MathNode("mo",[_r(e.label,e.mode)]),n=new le.MathNode("mover",[Qe(e.base,t),r]);return n.setAttribute("accent","true"),n},c9=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=zs(t[0]),n=!c9.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:Kl,mathmlBuilder:k1});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:Kl,mathmlBuilder:k1});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 le.MathNode("munder",[Qe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var cs=e=>{var t=new le.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(Qe(e.body,t));if(e.below){var a=cs(Qe(e.below,t));n=new le.MathNode("munderover",[r,a,i])}else n=new le.MathNode("mover",[r,i])}else if(e.below){var s=cs(Qe(e.below,t));n=new le.MathNode("munder",[r,s])}else n=cs(),n=new le.MathNode("mover",[r,n]);return n}});var h9=J.makeSpan;function S1(e,t){var r=_t(e.body,t,!0);return h9([e.mclass],r,t)}function w1(e,t){var r,n=ir(e.body,t);return e.mclass==="minner"?r=new le.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new le.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new le.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:Ge.isCharacterBox(i)}},htmlBuilder:S1,mathmlBuilder:w1});var yu=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:yu(t[0]),body:mt(t[1]),isCharacterBox:Ge.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=yu(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:Ge.isCharacterBox(l)}},htmlBuilder:S1,mathmlBuilder:w1});ge({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:yu(t[0]),body:mt(t[0])}},htmlBuilder(e,t){var r=_t(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 le.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var f9={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},jh=()=>({type:"styling",body:[],mode:"math",style:"display"}),Gh=e=>e.type==="textord"&&e.text==="@",p9=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function d9(e,t,r){var n=f9[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 m9(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 he("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var s=t[a],o=jh(),l=0;l<s.length;l++)if(!Gh(s[l]))o.body.push(s[l]);else{n.push(o),l+=1;var c=Ql(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(p9(s[m],c)){g=!1,l=m;break}if(Gh(s[m]))throw new he("Missing a "+c+" character to complete a CD arrow.",s[m]);h[f].body.push(s[m])}if(g)throw new he("Missing a "+c+" character to complete a CD arrow.",s[l])}else throw new he('Expected one of "<>AV=|." after @',s[l]);var E=d9(c,h,e),S={type:"styling",body:[E],mode:"math",style:"display"};n.push(S),o=jh()}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 le.MathNode("mrow",[Qe(e.label,t)]);return r=new le.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new le.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 le.MathNode("mrow",[Qe(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 he("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new he("\\@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 _1=(e,t)=>{var r=_t(e.body,t.withColor(e.color),!1);return J.makeFragment(r)},C1=(e,t)=>{var r=ir(e.body,t.withColor(e.color)),n=new le.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:_1,mathmlBuilder:C1});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:_1,mathmlBuilder:C1});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 le.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",me(ct(e.size,t)))),r}});var nl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},A1=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new he("Expected a control sequence",e);return t},g9=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},I1=(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(nl[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=nl[n.text]),Oe(t.parseFunction(),"internal");throw new he("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 he("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 he('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new he('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new he("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===nl[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=A1(t.gullet.popToken());t.gullet.consumeSpaces();var i=g9(t);return I1(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=A1(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return I1(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=rt.math[t]&&rt.math[t].replace,a=$l(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},Zl=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},N1=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},b9=function(t,r,n,i,a,s){var o=J.makeSymbol(t,"Main-Regular",a,i),l=Zl(o,r,i,s);return n&&N1(l,i,r),l},x9=function(t,r,n,i){return J.makeSymbol(t,"Size"+r+"-Regular",n,i)},L1=function(t,r,n,i,a,s){var o=x9(t,r,a,i),l=Zl(J.makeSpan(["delimsizing","size"+r],[o],i),Ce.TEXT,i,s);return n&&N1(l,i,Ce.TEXT),l},go=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}},bo=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 Bn("inner",kv(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}},il=.008,hs={type:"kern",size:-1*il},y9=["|","\\lvert","\\rvert","\\vert"],v9=["\\|","\\lVert","\\rVert","\\Vert"],R1=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"):y9.includes(t)?(c="∣",f="vert",g=333):v9.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),S=E.height+E.depth,C=ta(c,m,a),k=C.height+C.depth,A=ta(h,m,a),L=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=S+L+H,j=Math.max(0,Math.ceil((r-R)/(P*k))),Y=R+j*P*k,G=i.fontMetrics().axisHeight;n&&(G*=i.sizeMultiplier);var K=Y/2-G,Z=[];if(f.length>0){var pe=Y-S-L,ue=Math.round(Y*1e3),ie=Sv(f,Math.round(pe*1e3)),ve=new Bn(f,ie),Se=(g/1e3).toFixed(3)+"em",ze=(ue/1e3).toFixed(3)+"em",Xe=new mn([ve],{width:Se,height:ze,viewBox:"0 0 "+g+" "+ue}),V=J.makeSvgSpan([],[Xe],i);V.height=ue/1e3,V.style.width=Se,V.style.height=ze,Z.push({type:"elem",elem:V})}else{if(Z.push(go(h,m,a)),Z.push(hs),l===null){var at=Y-S-L+2*il;Z.push(bo(c,at,i))}else{var $e=(Y-S-L-H)/2+2*il;Z.push(bo(c,$e,i)),Z.push(hs),Z.push(go(l,m,a)),Z.push(hs),Z.push(bo(c,$e,i))}Z.push(hs),Z.push(go(o,m,a))}var q=i.havingBaseStyle(Ce.TEXT),pt=J.makeVList({positionType:"bottom",positionData:K,children:Z},q);return Zl(J.makeSpan(["delimsizing","mult"],[pt],q),Ce.TEXT,i,s)},xo=80,yo=.08,vo=function(t,r,n,i,a){var s=Tv(t,i,n),o=new Bn(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)},E9=function(t,r){var n=r.havingBaseSizing(),i=M1("\\surd",t*n.sizeMultiplier,O1,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+xo,t<1?a=1:t<1.4&&(a=.7),l=(1+s+yo)/a,c=(1+s)/a,o=vo("sqrtMain",l,h,s,r),o.style.minWidth="0.853em",f=.833/a):i.type==="large"?(h=(1e3+xo)*oa[i.size],c=(oa[i.size]+s)/a,l=(oa[i.size]+s+yo)/a,o=vo("sqrtSize"+i.size,l,h,s,r),o.style.minWidth="1.02em",f=1/a):(l=t+s+yo,c=t+s,h=Math.floor(1e3*t+s)+xo,o=vo("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}},P1=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],T9=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],D1=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],oa=[0,1.2,1.8,2.4,3],k9=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),P1.includes(t)||D1.includes(t))return L1(t,r,!1,n,i,a);if(T9.includes(t))return R1(t,oa[r],!1,n,i,a);throw new he("Illegal delimiter: '"+t+"'")},S9=[{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}],w9=[{type:"small",style:Ce.SCRIPTSCRIPT},{type:"small",style:Ce.SCRIPT},{type:"small",style:Ce.TEXT},{type:"stack"}],O1=[{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"}],_9=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.")},M1=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,_9(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]},B1=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;D1.includes(t)?o=S9:P1.includes(t)?o=O1:o=w9;var l=M1(t,r,o,i);return l.type==="small"?b9(t,l.style,n,i,a,s):l.type==="large"?L1(t,l.size,n,i,a,s):R1(t,r,n,i,a,s)},C9=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 B1(t,f,!0,i,a,s)},fn={sqrtImage:E9,sizedDelim:k9,sizeToMaxHeight:oa,customSizedDelim:B1,leftRightDelim:C9},$h={"\\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}},A9=["(","\\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 vu(e,t){var r=xu(e);if(r&&A9.includes(r.text))return r;throw r?new he("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new he("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=vu(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:$h[e.funcName].size,mclass:$h[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 le.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 Wh(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 he("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:vu(t[0],e).text,color:r}}});ge({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=vu(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)=>{Wh(e);for(var r=_t(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=Ea(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=Ea(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)=>{Wh(e);var r=ir(e.body,t);if(e.left!=="."){var n=new le.MathNode("mo",[_r(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new le.MathNode("mo",[_r(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return Xl(r)}});ge({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=vu(t[0],e);if(!e.parser.leftrightDepth)throw new he("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Ea(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 le.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var e0=(e,t)=>{var r=J.wrapFragment(je(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s=0,o=Ge.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=vv(g),E=new mn([new Bn("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 S=0,C=0,k=0;/box/.test(n)?(k=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),S=t.fontMetrics().fboxsep+(n==="colorbox"?0:k),C=S):n==="angl"?(k=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),S=4*k,C=Math.max(0,.25-r.depth)):(S=o?.2:0,C=S),a=bn.encloseSpan(r,n,S,C,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=me(k)):n==="angl"&&k!==.049&&(a.style.borderTopWidth=me(k),a.style.borderRightWidth=me(k)),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 L=/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:L}]},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)},t0=(e,t)=>{var r=0,n=new le.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Qe(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:e0,mathmlBuilder:t0});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:e0,mathmlBuilder:t0});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:e0,mathmlBuilder:t0});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 F1={};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)F1[r[l]]=o;a&&(Fs[t]=a),s&&(Hs[t]=s)}var H1={};function N(e,t){H1[e]=t}function Yh(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 Eu=e=>{var t=e.parser.settings;if(!t.displayMode)throw new he("{"+e.envName+"} can be used only in display mode.")};function r0(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Un(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 he("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var E=[],S=[E],C=[],k=[],A=l!=null?[]:void 0;function L(){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(L(),k.push(Yh(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 he("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&&(S.length>1||!h)&&S.pop(),k.length<S.length+1&&k.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(),k.push(Yh(e)),E=[],S.push(E),L()}else throw new he("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:S,cols:a,rowGaps:C,hskipBeforeAndAfter:n,hLinesBeforeRow:k,colSeparationType:o,tags:A,leqno:g}}function n0(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,S=3*f,C=t.arraystretch*E,k=.7*C,A=.3*C,L=0;function H(qt){for(var Jt=0;Jt<qt.length;++Jt)Jt>0&&(L+=.25),c.push({pos:L,isDashed:qt[Jt]})}for(H(s[0]),n=0;n<t.body.length;++n){var P=t.body[n],b=k,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],K=0;G&&(K=ct(G,r),K>0&&(K+=A,R<K&&(R=K),K=0)),t.addJot&&(R+=S),j.height=b,j.depth=R,L+=b,j.pos=L,L+=R+K,l[n]=j,H(s[n+1])}var Z=L/2+r.fontMetrics().axisHeight,pe=t.cols||[],ue=[],ie,ve,Se=[];if(t.tags&&t.tags.some(qt=>qt))for(n=0;n<a;++n){var ze=l[n],Xe=ze.pos-Z,V=t.tags[n],at=void 0;V===!0?at=J.makeSpan(["eqn-num"],[],r):V===!1?at=J.makeSpan([],[],r):at=J.makeSpan([],_t(V,r,!0),r),at.depth=ze.depth,at.height=ze.height,Se.push({type:"elem",elem:at,shift:Xe})}for(i=0,ve=0;i<o||ve<pe.length;++i,++ve){for(var $e=pe[ve]||{},q=!0;$e.type==="separator";){if(q||(ie=J.makeSpan(["arraycolsep"],[]),ie.style.width=me(r.fontMetrics().doubleRuleSep),ue.push(ie)),$e.separator==="|"||$e.separator===":"){var pt=$e.separator==="|"?"solid":"dashed",ht=J.makeSpan(["vertical-separator"],[],r);ht.style.height=me(L),ht.style.borderRightWidth=me(h),ht.style.borderRightStyle=pt,ht.style.margin="0 "+me(-h/2);var Ze=L-Z;Ze&&(ht.style.verticalAlign=me(-Ze)),ue.push(ht)}else throw new he("Invalid separator type: "+$e.separator);ve++,$e=pe[ve]||{},q=!1}if(!(i>=o)){var Pt=void 0;(i>0||t.hskipBeforeAndAfter)&&(Pt=Ge.deflt($e.pregap,g),Pt!==0&&(ie=J.makeSpan(["arraycolsep"],[]),ie.style.width=me(Pt),ue.push(ie)));var vt=[];for(n=0;n<a;++n){var gt=l[n],bt=gt[i];if(bt){var Et=gt.pos-Z;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-"+($e.align||"c")],[vt]),ue.push(vt),(i<o-1||t.hskipBeforeAndAfter)&&(Pt=Ge.deflt($e.postgap,g),Pt!==0&&(ie=J.makeSpan(["arraycolsep"],[]),ie.style.width=me(Pt),ue.push(ie)))}}if(l=J.makeSpan(["mtable"],ue),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-Z;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(Se.length===0)return J.makeSpan(["mord"],[l],r);var Dt=J.makeVList({positionType:"individualShift",children:Se},r);return Dt=J.makeSpan(["tag"],[Dt],r),J.makeFragment([l,Dt])},I9={c:"center ",l:"left ",r:"right "},rn=function(t,r){for(var n=[],i=new le.MathNode("mtd",[],["mtr-glue"]),a=new le.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 le.MathNode("mtd",[Qe(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 le.MathNode("mtr",l))}var h=new le.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,S="",C=!1,k=0,A=E.length;E[0].type==="separator"&&(g+="top ",k=1),E[E.length-1].type==="separator"&&(g+="bottom ",A-=1);for(var L=k;L<A;L++)E[L].type==="align"?(m+=I9[E[L].align],C&&(S+="none "),C=!0):E[L].type==="separator"&&C&&(S+=E[L].separator==="|"?"solid ":"dashed ",C=!1);h.setAttribute("columnalign",m.trim()),/[sd]/.test(S)&&h.setAttribute("columnlines",S.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 le.MathNode("menclose",[h]),h.setAttribute("notation",g.trim())),t.arraystretch&&t.arraystretch<1&&(h=new le.MathNode("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},z1=function(t,r){t.envName.indexOf("ed")===-1&&Eu(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",s=Un(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:r0(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(k){for(var A=1;A<k.length;A+=2){var L=Oe(k[A],"styling"),H=Oe(L.body[0],"ordgroup");H.body.unshift(c)}if(m)l<k.length&&(l=k.length);else{var P=k.length/2;if(o<P)throw new he("Too many math in a row: "+("expected "+o+", but got "+P),k[0])}});for(var E=0;E<l;++E){var S="r",C=0;E%2===1?S="l":E>0&&m&&(C=1),n[E]={type:"align",align:S,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=xu(t[0]),n=r?[t[0]]:Oe(t[0],"ordgroup").body,i=n.map(function(s){var o=Ql(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 he("Unknown column alignment: "+l,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return Un(e.parser,a,n0(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 he("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=Un(e.parser,n,n0(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=Un(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=xu(t[0]),n=r?[t[0]]:Oe(t[0],"ordgroup").body,i=n.map(function(s){var o=Ql(s),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new he("Unknown column alignment: "+l,s)});if(i.length>1)throw new he("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=Un(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new he("{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=Un(e.parser,t,n0(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:z1,htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&Eu(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:r0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Un(e.parser,t,"display")},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:z1,htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Eu(e);var t={autoTag:r0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Un(e.parser,t,"display")},htmlBuilder:tn,mathmlBuilder:rn});en({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Eu(e),m9(e.parser)},htmlBuilder:tn,mathmlBuilder:rn});N("\\nonumber","\\gdef\\@eqnsw{0}");N("\\notag","\\nonumber");ge({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new he(e.funcName+" valid only within array environment")}});var Xh=F1;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 he("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(!Xh.hasOwnProperty(a))throw new he("No such environment: "+a,i);var o=Xh[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 he("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",g);return f}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var U1=(e,t)=>{var r=e.font,n=t.withFont(r);return je(e.body,n)},V1=(e,t)=>{var r=e.font,n=t.withFont(r);return Qe(e.body,n)},Jh={"\\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=zs(t[0]),a=n;return a in Jh&&(a=Jh[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:U1,mathmlBuilder:V1});ge({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=Ge.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:yu(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:U1,mathmlBuilder:V1});var q1=(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},i0=(e,t)=>{var r=q1(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,S;r.size===Ce.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,f>0?E=3*g:E=7*g,S=t.fontMetrics().denom1):(f>0?(m=t.fontMetrics().num2,E=g):(m=t.fontMetrics().num3,E=3*g),S=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-S)<E&&(S+=E-(A-.5*f-(c.height-S)));var L=-(A-.5*f);C=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:S},{type:"elem",elem:h,shift:L},{type:"elem",elem:s,shift:-m}]},t)}else{var k=m-s.depth-(c.height-S);k<E&&(m+=.5*(E-k),S+=.5*(E-k)),C=J.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:S},{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=Ea(t,["mopen"]):P=fn.customSizedDelim(e.leftDelim,H,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?b=J.makeSpan([]):e.rightDelim==null?b=Ea(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)},a0=(e,t)=>{var r=new le.MathNode("mfrac",[Qe(e.numer,t),Qe(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=q1(e.size,t.style);if(i.size!==t.style.size){r=new le.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 le.MathNode("mo",[new le.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),e.rightDelim!=null){var l=new le.MathNode("mo",[new le.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return Xl(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:i0,mathmlBuilder:a0});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 Qh=["display","text","script","scriptscript"],Kh=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=zs(t[0]),s=a.type==="atom"&&a.family==="open"?Kh(a.text):null,o=zs(t[1]),l=o.type==="atom"&&o.family==="close"?Kh(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=Qh[Number(E.text)]}}else m=Oe(m,"textord"),g=Qh[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:i0,mathmlBuilder:a0});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=av(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:i0,mathmlBuilder:a0});var j1=(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)},N9=(e,t)=>{var r=bn.mathMLnode(e.label);return new le.MathNode(e.isOver?"mover":"munder",[Qe(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:j1,mathmlBuilder:N9});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=_t(e.body,t,!1);return J.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Fn(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=_t(e.body,t,!1);return J.makeFragment(r)},mathmlBuilder(e,t){return new le.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 he("\\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=_t(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)=>Fn(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=_t(e.html,t,!1);return J.makeFragment(r)},mathmlBuilder:(e,t)=>Fn(e.mathml,t)});var Eo=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 he("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!l1(n))throw new he("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=Eo(g);break;case"height":a=Eo(g);break;case"totalheight":s=Eo(g);break;default:throw new he("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 Nv(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new le.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 le.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 le.MathNode("mpadded",[Qe(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 he("Mismatched "+e.funcName)}});var Zh=(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=Zh(e,t),n=_t(r,t,!1);return J.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Zh(e,t);return Fn(r,t)}});var G1=(e,t,r,n,i,a,s)=>{e=J.makeSpan([],[e]);var o=r&&Ge.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 S=e.depth+s;g=J.makeVList({positionType:"bottom",positionData:S,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 k=J.makeSpan(["mspace"],[],n);k.style.marginRight=me(a),C.unshift(k)}return J.makeSpan(["mop","op-limits"],C,n)},$1=["\\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&&!$1.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=_t(a.body,t,!0);m.length===1&&m[0]instanceof wr?(l=m[0],l.classes[0]="mop"):l=J.makeSpan(["mop"],m,t)}else{for(var E=[],S=1;S<a.name.length;S++)E.push(J.mathsym(a.name[S],a.mode,t));l=J.makeSpan(["mop"],E,t)}var C=0,k=0;return(l instanceof wr||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(C=(l.height-l.depth)/2-t.fontMetrics().axisHeight,k=l.italic),i?G1(l,r,n,t,s,k,C):(C&&(l.style.position="relative",l.style.top=me(C)),l)},za=(e,t)=>{var r;if(e.symbol)r=new ur("mo",[_r(e.name,e.mode)]),$1.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=v1([r,n])}return r},L9={"∏":"\\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=L9[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Mi,mathmlBuilder:za});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:za});var R9={"∫":"\\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:za});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:za});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=R9[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Mi,mathmlBuilder:za});var W1=(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=_t(o,t.withFont("mathrm"),!0),c=0;c<l.length;c++){var h=l[c];h instanceof wr&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=J.makeSpan(["mop"],l,t)}else s=J.makeSpan(["mop"],[],t);return i?G1(s,r,n,t,t.style,0,0):s},P9=(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 le.SpaceNode))if(a instanceof le.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 le.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 le.TextNode(o)]}var l=new le.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new le.MathNode("mo",[_r("⁡","text")]);return e.parentIsSupSub?new le.MathNode("mrow",[l,c]):le.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:W1,mathmlBuilder:P9});N("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ei({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?J.makeFragment(_t(e.body,t,!1)):J.makeSpan(["mord"],_t(e.body,t,!0),t)},mathmlBuilder(e,t){return Fn(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 le.MathNode("mo",[new le.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new le.MathNode("mover",[Qe(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=_t(e.body,t.withPhantom(),!1);return J.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=ir(e.body,t);return new le.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 le.MathNode("mphantom",r),i=new le.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 le.MathNode("mphantom",r),i=new le.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 le.MathNode("mpadded",[Qe(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 le.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",me(r)),s.setAttribute("height",me(n));var o=new le.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 Y1(e,t,r){for(var n=_t(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 ef=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],D9=(e,t)=>{var r=t.havingSize(e.size);return Y1(e.body,r,t)};ge({type:"sizing",names:ef,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:ef.indexOf(n)+1,body:a}},htmlBuilder:D9,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=ir(e.body,r),i=new le.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 le.MathNode("mpadded",[Qe(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),S=je(e.index,E,t),C=.6*(m.height-m.depth),k=J.makeVList({positionType:"shift",positionData:-C,children:[{type:"elem",elem:S}]},t),A=J.makeSpan(["root"],[k]);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 le.MathNode("mroot",[Qe(r,t),Qe(n,t)]):new le.MathNode("msqrt",[Qe(r,t)])}});var tf={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=tf[e.style],n=t.havingStyle(r).withFont("");return Y1(e.body,n,t)},mathmlBuilder(e,t){var r=tf[e.style],n=t.havingStyle(r),i=ir(e.body,n),a=new le.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 O9=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?W1:null}else{if(n.type==="accent")return Ge.isCharacterBox(n.base)?Kl:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?j1:null}else return null}else return null};ei({type:"supsub",htmlBuilder(e,t){var r=O9(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&&Ge.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 S;t.style===Ce.DISPLAY?S=c.sup1:t.style.cramped?S=c.sup3:S=c.sup2;var C=t.sizeMultiplier,k=me(.5/c.ptPerEm/C),A=null;if(l){var L=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof wr||L)&&(A=me(-s.italic))}var H;if(o&&l){h=Math.max(h,S,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:k,marginLeft:A},{type:"elem",elem:o,shift:-h,marginRight:k}];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:k}];H=J.makeVList({positionType:"shift",positionData:f,children:Y},t)}else if(o)h=Math.max(h,S,o.depth+.25*c.xHeight),H=J.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:k}]},t);else throw new Error("supsub must have either sup or sub.");var G=tl(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=[Qe(e.base,t)];e.sub&&a.push(Qe(e.sub,t)),e.sup&&a.push(Qe(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 le.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 le.MathNode("mo",[_r(e.text,e.mode)]);if(e.family==="bin"){var n=Jl(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 X1={mi:"italic",mn:"normal",mtext:"normal"};ei({type:"mathord",htmlBuilder(e,t){return J.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new le.MathNode("mi",[_r(e.text,e.mode,t)]),n=Jl(e,t)||"italic";return n!==X1[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=Jl(e,t)||"normal",i;return e.mode==="text"?i=new le.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new le.MathNode("mn",[r]):e.text==="\\prime"?i=new le.MathNode("mo",[r]):i=new le.MathNode("mi",[r]),n!==X1[i.type]&&i.setAttribute("mathvariant",n),i}});var To={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ko={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ei({type:"spacing",htmlBuilder(e,t){if(ko.hasOwnProperty(e.text)){var r=ko[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(To.hasOwnProperty(e.text))return J.makeSpan(["mspace",To[e.text]],[],t);throw new he('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(ko.hasOwnProperty(e.text))r=new le.MathNode("mtext",[new le.TextNode(" ")]);else{if(To.hasOwnProperty(e.text))return new le.MathNode("mspace");throw new he('Unknown type of space "'+e.text+'"')}return r}});var rf=()=>{var e=new le.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ei({type:"tag",mathmlBuilder(e,t){var r=new le.MathNode("mtable",[new le.MathNode("mtr",[rf(),new le.MathNode("mtd",[Fn(e.body,t)]),rf(),new le.MathNode("mtd",[Fn(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var nf={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},af={"\\textbf":"textbf","\\textmd":"textmd"},M9={"\\textit":"textit","\\textup":"textup"},sf=(e,t)=>{var r=e.font;if(r){if(nf[r])return t.withTextFontFamily(nf[r]);if(af[r])return t.withTextFontWeight(af[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(M9[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=sf(e,t),n=_t(e.body,r,!0);return J.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=sf(e,t);return Fn(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 le.MathNode("mo",[new le.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new le.MathNode("munder",[Qe(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 le.MathNode("mpadded",[Qe(e.body,t)],["vcenter"])}});ge({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new he("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=uf(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 le.TextNode(uf(e)),n=new le.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var uf=e=>e.body.replace(/ /g,e.star?"␣":" "),Ln=x1,J1=`[ \r
327
- ]`,B9="\\\\[a-zA-Z@]+",F9="\\\\[^\uD800-\uDFFF]",H9="("+B9+")"+J1+"*",z9=`\\\\(
328
- |[ \r ]+
329
- ?)[ \r ]*`,al="[̀-ͯ]",U9=new RegExp(al+"+$"),V9="("+J1+"+)|"+(z9+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(al+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(al+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+H9)+("|"+F9+")");class of{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(V9,"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 he("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 q9{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 he("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 j9=H1;N("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});N("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});N("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});N("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});N("\\@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}});N("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");N("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var lf={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};N("\\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 he("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=lf[t.text],n==null||n>=r)throw new he("Invalid base-"+r+" digit "+t.text);for(var i;(i=lf[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var s0=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new he("\\newcommand's first argument must be a macro name");var a=i[0].text,s=e.isDefined(a);if(s&&!t)throw new he("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new he("\\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 he("Invalid number of arguments: "+l);o=parseInt(l),i=e.consumeArg().tokens}return s&&n||e.macros.set(a,{tokens:i,numArgs:o}),""};N("\\newcommand",e=>s0(e,!1,!0,!1));N("\\renewcommand",e=>s0(e,!0,!1,!1));N("\\providecommand",e=>s0(e,!0,!0,!0));N("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});N("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});N("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ln[r],rt.math[r],rt.text[r]),""});N("\\bgroup","{");N("\\egroup","}");N("~","\\nobreakspace");N("\\lq","`");N("\\rq","'");N("\\aa","\\r a");N("\\AA","\\r A");N("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");N("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");N("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");N("ℬ","\\mathscr{B}");N("ℰ","\\mathscr{E}");N("ℱ","\\mathscr{F}");N("ℋ","\\mathscr{H}");N("ℐ","\\mathscr{I}");N("ℒ","\\mathscr{L}");N("ℳ","\\mathscr{M}");N("ℛ","\\mathscr{R}");N("ℭ","\\mathfrak{C}");N("ℌ","\\mathfrak{H}");N("ℨ","\\mathfrak{Z}");N("\\Bbbk","\\Bbb{k}");N("·","\\cdotp");N("\\llap","\\mathllap{\\textrm{#1}}");N("\\rlap","\\mathrlap{\\textrm{#1}}");N("\\clap","\\mathclap{\\textrm{#1}}");N("\\mathstrut","\\vphantom{(}");N("\\underbar","\\underline{\\text{#1}}");N("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');N("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");N("\\ne","\\neq");N("≠","\\neq");N("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");N("∉","\\notin");N("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");N("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");N("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");N("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");N("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");N("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");N("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");N("⟂","\\perp");N("‼","\\mathclose{!\\mkern-0.8mu!}");N("∌","\\notni");N("⌜","\\ulcorner");N("⌝","\\urcorner");N("⌞","\\llcorner");N("⌟","\\lrcorner");N("©","\\copyright");N("®","\\textregistered");N("️","\\textregistered");N("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');N("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');N("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');N("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');N("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");N("⋮","\\vdots");N("\\varGamma","\\mathit{\\Gamma}");N("\\varDelta","\\mathit{\\Delta}");N("\\varTheta","\\mathit{\\Theta}");N("\\varLambda","\\mathit{\\Lambda}");N("\\varXi","\\mathit{\\Xi}");N("\\varPi","\\mathit{\\Pi}");N("\\varSigma","\\mathit{\\Sigma}");N("\\varUpsilon","\\mathit{\\Upsilon}");N("\\varPhi","\\mathit{\\Phi}");N("\\varPsi","\\mathit{\\Psi}");N("\\varOmega","\\mathit{\\Omega}");N("\\substack","\\begin{subarray}{c}#1\\end{subarray}");N("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");N("\\boxed","\\fbox{$\\displaystyle{#1}$}");N("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");N("\\implies","\\DOTSB\\;\\Longrightarrow\\;");N("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");N("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");N("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var cf={",":"\\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"};N("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in cf?t=cf[r]:(r.slice(0,4)==="\\not"||r in rt.math&&["bin","rel"].includes(rt.math[r].group))&&(t="\\dotsb"),t});var u0={")":!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};N("\\dotso",function(e){var t=e.future().text;return t in u0?"\\ldots\\,":"\\ldots"});N("\\dotsc",function(e){var t=e.future().text;return t in u0&&t!==","?"\\ldots\\,":"\\ldots"});N("\\cdots",function(e){var t=e.future().text;return t in u0?"\\@cdots\\,":"\\@cdots"});N("\\dotsb","\\cdots");N("\\dotsm","\\cdots");N("\\dotsi","\\!\\cdots");N("\\dotsx","\\ldots\\,");N("\\DOTSI","\\relax");N("\\DOTSB","\\relax");N("\\DOTSX","\\relax");N("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");N("\\,","\\tmspace+{3mu}{.1667em}");N("\\thinspace","\\,");N("\\>","\\mskip{4mu}");N("\\:","\\tmspace+{4mu}{.2222em}");N("\\medspace","\\:");N("\\;","\\tmspace+{5mu}{.2777em}");N("\\thickspace","\\;");N("\\!","\\tmspace-{3mu}{.1667em}");N("\\negthinspace","\\!");N("\\negmedspace","\\tmspace-{4mu}{.2222em}");N("\\negthickspace","\\tmspace-{5mu}{.277em}");N("\\enspace","\\kern.5em ");N("\\enskip","\\hskip.5em\\relax");N("\\quad","\\hskip1em\\relax");N("\\qquad","\\hskip2em\\relax");N("\\tag","\\@ifstar\\tag@literal\\tag@paren");N("\\tag@paren","\\tag@literal{({#1})}");N("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new he("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});N("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");N("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");N("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");N("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");N("\\newline","\\\\\\relax");N("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Q1=me(Gr["Main-Regular"][84][1]-.7*Gr["Main-Regular"][65][1]);N("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Q1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");N("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Q1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");N("\\hspace","\\@ifstar\\@hspacer\\@hspace");N("\\@hspace","\\hskip #1\\relax");N("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");N("\\ordinarycolon",":");N("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");N("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');N("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');N("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');N("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');N("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');N("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');N("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');N("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');N("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');N("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');N("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');N("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');N("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');N("∷","\\dblcolon");N("∹","\\eqcolon");N("≔","\\coloneqq");N("≕","\\eqqcolon");N("⩴","\\Coloneqq");N("\\ratio","\\vcentcolon");N("\\coloncolon","\\dblcolon");N("\\colonequals","\\coloneqq");N("\\coloncolonequals","\\Coloneqq");N("\\equalscolon","\\eqqcolon");N("\\equalscoloncolon","\\Eqqcolon");N("\\colonminus","\\coloneq");N("\\coloncolonminus","\\Coloneq");N("\\minuscolon","\\eqcolon");N("\\minuscoloncolon","\\Eqcolon");N("\\coloncolonapprox","\\Colonapprox");N("\\coloncolonsim","\\Colonsim");N("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");N("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");N("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");N("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");N("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");N("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");N("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");N("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");N("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");N("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");N("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");N("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");N("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");N("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");N("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");N("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");N("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");N("\\nleqq","\\html@mathml{\\@nleqq}{≰}");N("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");N("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");N("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");N("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");N("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");N("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");N("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");N("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");N("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");N("\\imath","\\html@mathml{\\@imath}{ı}");N("\\jmath","\\html@mathml{\\@jmath}{ȷ}");N("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");N("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");N("⟦","\\llbracket");N("⟧","\\rrbracket");N("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");N("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");N("⦃","\\lBrace");N("⦄","\\rBrace");N("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");N("⦵","\\minuso");N("\\darr","\\downarrow");N("\\dArr","\\Downarrow");N("\\Darr","\\Downarrow");N("\\lang","\\langle");N("\\rang","\\rangle");N("\\uarr","\\uparrow");N("\\uArr","\\Uparrow");N("\\Uarr","\\Uparrow");N("\\N","\\mathbb{N}");N("\\R","\\mathbb{R}");N("\\Z","\\mathbb{Z}");N("\\alef","\\aleph");N("\\alefsym","\\aleph");N("\\Alpha","\\mathrm{A}");N("\\Beta","\\mathrm{B}");N("\\bull","\\bullet");N("\\Chi","\\mathrm{X}");N("\\clubs","\\clubsuit");N("\\cnums","\\mathbb{C}");N("\\Complex","\\mathbb{C}");N("\\Dagger","\\ddagger");N("\\diamonds","\\diamondsuit");N("\\empty","\\emptyset");N("\\Epsilon","\\mathrm{E}");N("\\Eta","\\mathrm{H}");N("\\exist","\\exists");N("\\harr","\\leftrightarrow");N("\\hArr","\\Leftrightarrow");N("\\Harr","\\Leftrightarrow");N("\\hearts","\\heartsuit");N("\\image","\\Im");N("\\infin","\\infty");N("\\Iota","\\mathrm{I}");N("\\isin","\\in");N("\\Kappa","\\mathrm{K}");N("\\larr","\\leftarrow");N("\\lArr","\\Leftarrow");N("\\Larr","\\Leftarrow");N("\\lrarr","\\leftrightarrow");N("\\lrArr","\\Leftrightarrow");N("\\Lrarr","\\Leftrightarrow");N("\\Mu","\\mathrm{M}");N("\\natnums","\\mathbb{N}");N("\\Nu","\\mathrm{N}");N("\\Omicron","\\mathrm{O}");N("\\plusmn","\\pm");N("\\rarr","\\rightarrow");N("\\rArr","\\Rightarrow");N("\\Rarr","\\Rightarrow");N("\\real","\\Re");N("\\reals","\\mathbb{R}");N("\\Reals","\\mathbb{R}");N("\\Rho","\\mathrm{P}");N("\\sdot","\\cdot");N("\\sect","\\S");N("\\spades","\\spadesuit");N("\\sub","\\subset");N("\\sube","\\subseteq");N("\\supe","\\supseteq");N("\\Tau","\\mathrm{T}");N("\\thetasym","\\vartheta");N("\\weierp","\\wp");N("\\Zeta","\\mathrm{Z}");N("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");N("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");N("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");N("\\bra","\\mathinner{\\langle{#1}|}");N("\\ket","\\mathinner{|{#1}\\rangle}");N("\\braket","\\mathinner{\\langle{#1}\\rangle}");N("\\Bra","\\left\\langle#1\\right|");N("\\Ket","\\left|#1\\right\\rangle");var K1=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}};N("\\bra@ket",K1(!1));N("\\bra@set",K1(!0));N("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");N("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");N("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");N("\\angln","{\\angl n}");N("\\blue","\\textcolor{##6495ed}{#1}");N("\\orange","\\textcolor{##ffa500}{#1}");N("\\pink","\\textcolor{##ff00af}{#1}");N("\\red","\\textcolor{##df0030}{#1}");N("\\green","\\textcolor{##28ae7b}{#1}");N("\\gray","\\textcolor{gray}{#1}");N("\\purple","\\textcolor{##9d38bd}{#1}");N("\\blueA","\\textcolor{##ccfaff}{#1}");N("\\blueB","\\textcolor{##80f6ff}{#1}");N("\\blueC","\\textcolor{##63d9ea}{#1}");N("\\blueD","\\textcolor{##11accd}{#1}");N("\\blueE","\\textcolor{##0c7f99}{#1}");N("\\tealA","\\textcolor{##94fff5}{#1}");N("\\tealB","\\textcolor{##26edd5}{#1}");N("\\tealC","\\textcolor{##01d1c1}{#1}");N("\\tealD","\\textcolor{##01a995}{#1}");N("\\tealE","\\textcolor{##208170}{#1}");N("\\greenA","\\textcolor{##b6ffb0}{#1}");N("\\greenB","\\textcolor{##8af281}{#1}");N("\\greenC","\\textcolor{##74cf70}{#1}");N("\\greenD","\\textcolor{##1fab54}{#1}");N("\\greenE","\\textcolor{##0d923f}{#1}");N("\\goldA","\\textcolor{##ffd0a9}{#1}");N("\\goldB","\\textcolor{##ffbb71}{#1}");N("\\goldC","\\textcolor{##ff9c39}{#1}");N("\\goldD","\\textcolor{##e07d10}{#1}");N("\\goldE","\\textcolor{##a75a05}{#1}");N("\\redA","\\textcolor{##fca9a9}{#1}");N("\\redB","\\textcolor{##ff8482}{#1}");N("\\redC","\\textcolor{##f9685d}{#1}");N("\\redD","\\textcolor{##e84d39}{#1}");N("\\redE","\\textcolor{##bc2612}{#1}");N("\\maroonA","\\textcolor{##ffbde0}{#1}");N("\\maroonB","\\textcolor{##ff92c6}{#1}");N("\\maroonC","\\textcolor{##ed5fa6}{#1}");N("\\maroonD","\\textcolor{##ca337c}{#1}");N("\\maroonE","\\textcolor{##9e034e}{#1}");N("\\purpleA","\\textcolor{##ddd7ff}{#1}");N("\\purpleB","\\textcolor{##c6b9fc}{#1}");N("\\purpleC","\\textcolor{##aa87ff}{#1}");N("\\purpleD","\\textcolor{##7854ab}{#1}");N("\\purpleE","\\textcolor{##543b78}{#1}");N("\\mintA","\\textcolor{##f5f9e8}{#1}");N("\\mintB","\\textcolor{##edf2df}{#1}");N("\\mintC","\\textcolor{##e0e5cc}{#1}");N("\\grayA","\\textcolor{##f6f7f7}{#1}");N("\\grayB","\\textcolor{##f0f1f2}{#1}");N("\\grayC","\\textcolor{##e3e5e6}{#1}");N("\\grayD","\\textcolor{##d6d8da}{#1}");N("\\grayE","\\textcolor{##babec2}{#1}");N("\\grayF","\\textcolor{##888d93}{#1}");N("\\grayG","\\textcolor{##626569}{#1}");N("\\grayH","\\textcolor{##3b3e40}{#1}");N("\\grayI","\\textcolor{##21242c}{#1}");N("\\kaBlue","\\textcolor{##314453}{#1}");N("\\kaGreen","\\textcolor{##71B307}{#1}");var Z1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class G9{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 q9(j9,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new of(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 he("Extra }",a)}else if(a.text==="EOF")throw new he("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 he("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 he("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 he("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 he("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 he("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 he("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 of(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)||Ln.hasOwnProperty(t)||rt.math.hasOwnProperty(t)||rt.text.hasOwnProperty(t)||Z1.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Ln.hasOwnProperty(t)&&!Ln[t].primitive}}var hf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),So={"́":{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"}},ff={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let em=class tm{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 G9(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 he("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(tm.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&Ln[i.text]&&Ln[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 he("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 he("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 he("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new he("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new he("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new he("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=hf.test(a.text),h=[];for(h.push(new lr(fs[a.text])),this.consume();;){var f=this.fetch().text;if(!fs[f]||hf.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=Ln[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new he("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new he("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new he("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=Ln[t];if(o&&o.handler)return o.handler(s,r,n);throw new he("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 he("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 he("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new he("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new he("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 he("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 he("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 he("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!l1(a))throw new he("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]==="\\"&&!Z1.hasOwnProperty(i)){if(this.settings.throwOnError)throw new he("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 he(`\\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}}ff.hasOwnProperty(r[0])&&!rt[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=ff[r[0]]+r.slice(1));var a=U9.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(rt[this.mode][r]){this.settings.strict&&this.mode==="math"&&el.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=rt[this.mode][r].group,l=tr.range(t),c;if(Pv.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&&(o1(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(!So[g])throw new he("Unknown accent ' "+g+"'",t);var m=So[g][this.mode]||So[g].text;if(!m)throw new he("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}};em.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var o0=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new em(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 he("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new lr("\\df@tag")])}]}return i},rm=function(t,r,n){r.textContent="";var i=l0(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."),rm=function(){throw new he("KaTeX doesn't work in quirks mode.")});var $9=function(t,r){var n=l0(t,r).toMarkup();return n},W9=function(t,r){var n=new jl(r);return o0(t,n)},nm=function(t,r,n){if(n.throwOnError||!(t instanceof he))throw t;var i=J.makeSpan(["katex-error"],[new wr(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},l0=function(t,r){var n=new jl(r);try{var i=o0(t,n);return r9(i,t,n)}catch(a){return nm(a,t,n)}},Y9=function(t,r){var n=new jl(r);try{var i=o0(t,n);return n9(i,t,n)}catch(a){return nm(a,t,n)}},X9="0.16.28",J9={Span:Ha,Anchor:Wl,SymbolNode:wr,SvgNode:mn,PathNode:Bn,LineNode:Zo},pf={version:X9,render:rm,renderToString:$9,ParseError:he,SETTINGS_SCHEMA:vs,__parse:W9,__renderToDomTree:l0,__renderToHTMLTree:Y9,__setFontMetrics:wv,__defineSymbol:x,__defineFunction:ge,__defineMacro:N,__domTree:J9};const Q9={};function K9(e){const t=this,r=e||Q9,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Qy(r)),a.push(qy()),s.push(jy(r))}const df=/[#.]/g;function Z9(e,t){const r=e||"",n={};let i=0,a,s;for(;i<r.length;){df.lastIndex=i;const o=df.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 im(e,t,r){const n=r?nE(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=Z9(a,t);const c=l.tagName.toLowerCase(),h=n?n.get(c):void 0;if(l.tagName=h||c,eE(s))o.unshift(s);else for(const[f,g]of Object.entries(s))tE(e,l.properties,f,g)}for(const c of o)sl(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return i}function eE(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 tE(e,t,r,n){const i=Pa(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=_c(n):i.commaSeparated?a=kc(n):i.commaOrSpaceSeparated?a=_c(kc(n).join(" ")):a=mf(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?rE(n):String(n);if(Array.isArray(a)){const s=[];for(const o of a)s.push(mf(i,i.property,o));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function sl(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)sl(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?sl(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function mf(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||ma(r)===ma(t)))return!0}return r}function rE(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function nE(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const iE=["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"],am=im(Ai,"div"),sm=im(Jr,"g",iE),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 aE(e,t){return um(e,{})||{type:"root",children:[]}}function um(e,t){const r=sE(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function sE(e,t){switch(e.nodeType){case 1:return cE(e,t);case 3:return oE(e);case 8:return lE(e);case 9:return gf(e,t);case 10:return uE();case 11:return gf(e,t);default:return}}function gf(e,t){return{type:"root",children:om(e,t)}}function uE(){return{type:"doctype"}}function oE(e){return{type:"text",value:e.nodeValue||""}}function lE(e){return{type:"comment",value:e.nodeValue||""}}function cE(e,t){const r=e.namespaceURI,n=r===Wr.svg?sm:am,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,om(a,t))}function om(e,t){const r=e.childNodes,n=[];let i=-1;for(;++i<r.length;){const a=um(r[i],t);a!==void 0&&n.push(a)}return n}new DOMParser;function hE(e,t){const r=fE(e);return aE(r)}function fE(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const bf=(function(e,t,r){const n=Ma(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 mE;if(typeof e=="string")return dE(e);if(typeof e=="object")return pE(e);if(typeof e=="function")return c0(e);throw new Error("Expected function, string, or array as `test`")});function pE(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=ti(e[r]);return c0(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function dE(e){return c0(t);function t(r){return r.tagName===e}}function c0(e){return t;function t(r,n,i){return!!(gE(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function mE(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function gE(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const xf=/\n/g,yf=/[\t ]+/g,ul=ti("br"),vf=ti(SE),bE=ti("p"),Ef=ti("tr"),xE=ti(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",kE,wE]),lm=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 yE(e,t){const r=t||{},n="children"in e?e.children:[],i=lm(e),a=fm(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...hm(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...cm(n[o],e,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<n.length-1?ul(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 cm(e,t,r){return e.type==="element"?vE(e,t,r):e.type==="text"?r.whitespace==="normal"?hm(e,r):EE(e):[]}function vE(e,t,r){const n=fm(e,r),i=e.children||[];let a=-1,s=[];if(xE(e))return s;let o,l;for(ul(e)||Ef(e)&&bf(t,e,Ef)?l=`
333
- `:bE(e)?(o=2,l=2):lm(e)&&(o=1,l=1);++a<i.length;)s=s.concat(cm(i[a],e,{whitespace:n,breakBefore:a?void 0:o,breakAfter:a<i.length-1?ul(i[a+1]):l}));return vf(e)&&bf(t,e,vf)&&s.push(" "),o&&s.unshift(o),l&&s.push(l),s}function hm(e,t){const r=String(e.value),n=[],i=[];let a=0;for(;a<=r.length;){xf.lastIndex=a;const l=xf.exec(r),c=l&&"index"in l?l.index:r.length;n.push(TE(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 EE(e){return[String(e.value)]}function TE(e,t,r){const n=[];let i=0,a;for(;i<e.length;){yf.lastIndex=i;const s=yf.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 fm(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 kE(e){return!!(e.properties||{}).hidden}function SE(e){return e.tagName==="td"||e.tagName==="th"}function wE(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const _E={},CE=[];function AE(e){const t=e||_E;return function(r,n){Fl(r,"element",function(i,a){const s=Array.isArray(i.properties.className)?i.properties.className:CE,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=yE(g,{whitespace:"pre"});let E;try{E=pf.renderToString(m,{...t,displayMode:h,throwOnError:!0})}catch(C){const k=C,A=k.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:k,place:i.position,ruleId:A,source:"rehype-katex"});try{E=pf.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=hE(E).children);const S=f.children.indexOf(g);return f.children.splice(S,1,...E),Dd})}}function IE(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=Tf(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=Tf(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 Tf(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 pm={}.hasOwnProperty,NE=Object.prototype;function LE(e,t){const r=t||{};return h0({file:r.file||void 0,location:!1,schema:r.space==="svg"?Jr:Ai,verbose:r.verbose||!1},e)}function h0(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},Ts(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:dm(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),s=IE(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"},Ts(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},Ts(e,n,r),r}default:return r=RE(e,t),r}}function dm(e,t){let r=-1;const n=[];for(;++r<t.length;){const i=h0(e,t[r]);n.push(i)}return n}function RE(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;pm.call(NE,l)||(i[l]=o.value)}const s=(e.schema.space==="svg"?sm:am)(t.tagName,i,dm(e,t.childNodes));if(Ts(e,t,s),s.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&di(l.startTag),h=l&&l.endTag&&di(l.endTag),f=h0(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),s.content=f}return e.schema=r,s}function Ts(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=PE(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function PE(e,t,r){const n=di(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)pm.call(r.attrs,s)&&(a[Pa(e.schema,s).property]=di(r.attrs[s]));r.startTag;const o=di(r.startTag),l=r.endTag?di(r.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=a,t.data={position:c}}}return n}function di(e){const t=kf({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=kf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function kf(e){return e.line&&e.column?e:void 0}const DE={},OE={}.hasOwnProperty,mm=au("type",{handlers:{root:BE,element:VE,text:zE,comment:UE,doctype:HE}});function ME(e,t){const n=(t||DE).space;return mm(e,n==="svg"?Jr:Ai)}function BE(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=f0(e.children,r,t),Bi(e,r),r}function FE(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=f0(e.children,r,t),Bi(e,r),r}function HE(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Bi(e,t),t}function zE(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Bi(e,t),t}function UE(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Bi(e,t),t}function VE(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"&&OE.call(e.properties,a)){const l=qE(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=f0(e.children,o,n),Bi(e,o),e.tagName==="template"&&e.content&&(o.content=FE(e.content,n)),o}function qE(e,t,r){const n=Pa(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?vl(r):Tl(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 f0(e,t,r){let n=-1;const i=[];if(e)for(;++n<e.length;){const a=mm(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 gm=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],jE=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 bm(e){return e>=55296&&e<=57343}function GE(e){return e>=56320&&e<=57343}function $E(e,t){return(e-55296)*1024+9216+t}function xm(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ym(e){return e>=64976&&e<=65007||jE.has(e)}var ee;(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"})(ee||(ee={}));const WE=65536;class YE{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=WE,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(GE(r))return this.pos++,this._addGap(),$E(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,O.EOF;return this._err(ee.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,bm(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){xm(t)?this._err(ee.controlCharacterInInputStream):ym(t)&&this._err(ee.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Be;(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"})(Be||(Be={}));function vm(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 XE=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))),JE=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 QE(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=JE.get(e))!==null&&t!==void 0?t:e}var Lt;(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"})(Lt||(Lt={}));const KE=32;var Rn;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Rn||(Rn={}));function ol(e){return e>=Lt.ZERO&&e<=Lt.NINE}function ZE(e){return e>=Lt.UPPER_A&&e<=Lt.UPPER_F||e>=Lt.LOWER_A&&e<=Lt.LOWER_F}function eT(e){return e>=Lt.UPPER_A&&e<=Lt.UPPER_Z||e>=Lt.LOWER_A&&e<=Lt.LOWER_Z||ol(e)}function tT(e){return e===Lt.EQUALS||eT(e)}var At;(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"})(At||(At={}));var on;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(on||(on={}));class rT{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=At.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=on.Strict}startEntity(t){this.decodeMode=t,this.state=At.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case At.EntityStart:return t.charCodeAt(r)===Lt.NUM?(this.state=At.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=At.NamedEntity,this.stateNamedEntity(t,r));case At.NumericStart:return this.stateNumericStart(t,r);case At.NumericDecimal:return this.stateNumericDecimal(t,r);case At.NumericHex:return this.stateNumericHex(t,r);case At.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|KE)===Lt.LOWER_X?(this.state=At.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=At.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(ol(i)||ZE(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(ol(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===Lt.SEMI)this.consumed+=1;else if(this.decodeMode===on.Strict)return 0;return this.emitCodePoint(QE(this.result),this.consumed),this.errors&&(t!==Lt.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&Rn.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=nT(n,i,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===on.Attribute&&(a===0||tT(s))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],a=(i&Rn.VALUE_LENGTH)>>14,a!==0){if(s===Lt.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]&Rn.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]&~Rn.VALUE_LENGTH:i[t+1],n),r===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case At.NamedEntity:return this.result!==0&&(this.decodeMode!==on.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case At.NumericDecimal:return this.emitNumericEntity(0,2);case At.NumericHex:return this.emitNumericEntity(0,3);case At.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case At.EntityStart:return 0}}}function nT(e,t,r,n){const i=(t&Rn.BRANCH_LENGTH)>>7,a=t&Rn.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 se;(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/"})(se||(se={}));var Jn;(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"})(Jn||(Jn={}));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 d;(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"})(d||(d={}));const iT=new Map([[X.A,d.A],[X.ADDRESS,d.ADDRESS],[X.ANNOTATION_XML,d.ANNOTATION_XML],[X.APPLET,d.APPLET],[X.AREA,d.AREA],[X.ARTICLE,d.ARTICLE],[X.ASIDE,d.ASIDE],[X.B,d.B],[X.BASE,d.BASE],[X.BASEFONT,d.BASEFONT],[X.BGSOUND,d.BGSOUND],[X.BIG,d.BIG],[X.BLOCKQUOTE,d.BLOCKQUOTE],[X.BODY,d.BODY],[X.BR,d.BR],[X.BUTTON,d.BUTTON],[X.CAPTION,d.CAPTION],[X.CENTER,d.CENTER],[X.CODE,d.CODE],[X.COL,d.COL],[X.COLGROUP,d.COLGROUP],[X.DD,d.DD],[X.DESC,d.DESC],[X.DETAILS,d.DETAILS],[X.DIALOG,d.DIALOG],[X.DIR,d.DIR],[X.DIV,d.DIV],[X.DL,d.DL],[X.DT,d.DT],[X.EM,d.EM],[X.EMBED,d.EMBED],[X.FIELDSET,d.FIELDSET],[X.FIGCAPTION,d.FIGCAPTION],[X.FIGURE,d.FIGURE],[X.FONT,d.FONT],[X.FOOTER,d.FOOTER],[X.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[X.FORM,d.FORM],[X.FRAME,d.FRAME],[X.FRAMESET,d.FRAMESET],[X.H1,d.H1],[X.H2,d.H2],[X.H3,d.H3],[X.H4,d.H4],[X.H5,d.H5],[X.H6,d.H6],[X.HEAD,d.HEAD],[X.HEADER,d.HEADER],[X.HGROUP,d.HGROUP],[X.HR,d.HR],[X.HTML,d.HTML],[X.I,d.I],[X.IMG,d.IMG],[X.IMAGE,d.IMAGE],[X.INPUT,d.INPUT],[X.IFRAME,d.IFRAME],[X.KEYGEN,d.KEYGEN],[X.LABEL,d.LABEL],[X.LI,d.LI],[X.LINK,d.LINK],[X.LISTING,d.LISTING],[X.MAIN,d.MAIN],[X.MALIGNMARK,d.MALIGNMARK],[X.MARQUEE,d.MARQUEE],[X.MATH,d.MATH],[X.MENU,d.MENU],[X.META,d.META],[X.MGLYPH,d.MGLYPH],[X.MI,d.MI],[X.MO,d.MO],[X.MN,d.MN],[X.MS,d.MS],[X.MTEXT,d.MTEXT],[X.NAV,d.NAV],[X.NOBR,d.NOBR],[X.NOFRAMES,d.NOFRAMES],[X.NOEMBED,d.NOEMBED],[X.NOSCRIPT,d.NOSCRIPT],[X.OBJECT,d.OBJECT],[X.OL,d.OL],[X.OPTGROUP,d.OPTGROUP],[X.OPTION,d.OPTION],[X.P,d.P],[X.PARAM,d.PARAM],[X.PLAINTEXT,d.PLAINTEXT],[X.PRE,d.PRE],[X.RB,d.RB],[X.RP,d.RP],[X.RT,d.RT],[X.RTC,d.RTC],[X.RUBY,d.RUBY],[X.S,d.S],[X.SCRIPT,d.SCRIPT],[X.SEARCH,d.SEARCH],[X.SECTION,d.SECTION],[X.SELECT,d.SELECT],[X.SOURCE,d.SOURCE],[X.SMALL,d.SMALL],[X.SPAN,d.SPAN],[X.STRIKE,d.STRIKE],[X.STRONG,d.STRONG],[X.STYLE,d.STYLE],[X.SUB,d.SUB],[X.SUMMARY,d.SUMMARY],[X.SUP,d.SUP],[X.TABLE,d.TABLE],[X.TBODY,d.TBODY],[X.TEMPLATE,d.TEMPLATE],[X.TEXTAREA,d.TEXTAREA],[X.TFOOT,d.TFOOT],[X.TD,d.TD],[X.TH,d.TH],[X.THEAD,d.THEAD],[X.TITLE,d.TITLE],[X.TR,d.TR],[X.TRACK,d.TRACK],[X.TT,d.TT],[X.U,d.U],[X.UL,d.UL],[X.SVG,d.SVG],[X.VAR,d.VAR],[X.WBR,d.WBR],[X.XMP,d.XMP]]);function Fi(e){var t;return(t=iT.get(e))!==null&&t!==void 0?t:d.UNKNOWN}const oe=d,aT={[se.HTML]:new Set([oe.ADDRESS,oe.APPLET,oe.AREA,oe.ARTICLE,oe.ASIDE,oe.BASE,oe.BASEFONT,oe.BGSOUND,oe.BLOCKQUOTE,oe.BODY,oe.BR,oe.BUTTON,oe.CAPTION,oe.CENTER,oe.COL,oe.COLGROUP,oe.DD,oe.DETAILS,oe.DIR,oe.DIV,oe.DL,oe.DT,oe.EMBED,oe.FIELDSET,oe.FIGCAPTION,oe.FIGURE,oe.FOOTER,oe.FORM,oe.FRAME,oe.FRAMESET,oe.H1,oe.H2,oe.H3,oe.H4,oe.H5,oe.H6,oe.HEAD,oe.HEADER,oe.HGROUP,oe.HR,oe.HTML,oe.IFRAME,oe.IMG,oe.INPUT,oe.LI,oe.LINK,oe.LISTING,oe.MAIN,oe.MARQUEE,oe.MENU,oe.META,oe.NAV,oe.NOEMBED,oe.NOFRAMES,oe.NOSCRIPT,oe.OBJECT,oe.OL,oe.P,oe.PARAM,oe.PLAINTEXT,oe.PRE,oe.SCRIPT,oe.SECTION,oe.SELECT,oe.SOURCE,oe.STYLE,oe.SUMMARY,oe.TABLE,oe.TBODY,oe.TD,oe.TEMPLATE,oe.TEXTAREA,oe.TFOOT,oe.TH,oe.THEAD,oe.TITLE,oe.TR,oe.TRACK,oe.UL,oe.WBR,oe.XMP]),[se.MATHML]:new Set([oe.MI,oe.MO,oe.MN,oe.MS,oe.MTEXT,oe.ANNOTATION_XML]),[se.SVG]:new Set([oe.TITLE,oe.FOREIGN_OBJECT,oe.DESC]),[se.XLINK]:new Set,[se.XML]:new Set,[se.XMLNS]:new Set},ll=new Set([oe.H1,oe.H2,oe.H3,oe.H4,oe.H5,oe.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 dt={DATA:B.DATA,RCDATA:B.RCDATA,RAWTEXT:B.RAWTEXT,SCRIPT_DATA:B.SCRIPT_DATA,PLAINTEXT:B.PLAINTEXT,CDATA_SECTION:B.CDATA_SECTION};function sT(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 uT(e){return e>=O.LATIN_SMALL_A&&e<=O.LATIN_SMALL_Z}function Cn(e){return uT(e)||ra(e)}function Sf(e){return Cn(e)||sT(e)}function ps(e){return e+32}function Em(e){return e===O.SPACE||e===O.LINE_FEED||e===O.TABULATION||e===O.FORM_FEED}function wf(e){return Em(e)||e===O.SOLIDUS||e===O.GREATER_THAN_SIGN}function oT(e){return e===O.NULL?ee.nullCharacterReference:e>1114111?ee.characterReferenceOutsideUnicodeRange:bm(e)?ee.surrogateCharacterReference:ym(e)?ee.noncharacterCharacterReference:xm(e)||e===O.CARRIAGE_RETURN?ee.controlCharacterReference:null}class lT{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 YE(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new rT(XE,(n,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ee.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(ee.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const i=oT(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:Be.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Be.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Be.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Be.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(vm(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(ee.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===Be.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(ee.endTagWithAttributes),t.selfClosing&&this._err(ee.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 Be.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Be.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Be.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:Be.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=Em(t)?Be.WHITESPACE_CHARACTER:t===O.NULL?Be.NULL_CHARACTER:Be.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Be.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(ee.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(ee.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(ee.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(ee.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case O.NULL:{this._err(ee.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Cn(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(ee.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t);break}case O.EOF:{this._err(ee.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ee.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=B.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Cn(t))this._createEndTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case O.GREATER_THAN_SIGN:{this._err(ee.missingEndTagName),this.state=B.DATA;break}case O.EOF:{this._err(ee.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ee.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(ee.unexpectedNullCharacter),r.tagName+=st;break}case O.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(ra(t)?ps(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){Cn(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){Cn(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){Cn(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(ee.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(ee.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:Cn(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){Cn(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)&&wf(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(ee.unexpectedNullCharacter),this._emitChars(st);break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(st);break}case O.EOF:{this._err(ee.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)&&wf(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(ee.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(ee.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case O.NULL:{this._err(ee.unexpectedNullCharacter),this.currentAttr.name+=st;break}default:this.currentAttr.name+=String.fromCodePoint(ra(t)?ps(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(ee.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(ee.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(ee.unexpectedNullCharacter),this.currentAttr.value+=st;break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),this.currentAttr.value+=st;break}case O.EOF:{this._err(ee.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(ee.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(ee.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case O.EOF:{this._err(ee.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(ee.eofInTag),this._emitEOFToken();break}default:this._err(ee.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(ee.eofInTag),this._emitEOFToken();break}default:this._err(ee.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(ee.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(ee.cdataInHtmlContent),this._createCommentToken(Kt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=B.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ee.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(ee.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(ee.abruptClosingOfEmptyComment),this.state=B.DATA,this.emitCurrentComment(r);break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),r.data+=st;break}case O.EOF:{this._err(ee.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(ee.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(ee.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(ee.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(ee.incorrectlyClosedComment),this.state=B.DATA,this.emitCurrentComment(r);break}case O.EOF:{this._err(ee.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(ee.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.missingWhitespaceBeforeDoctypeName),this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ra(t))this._createDoctypeToken(String.fromCharCode(ps(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(ee.unexpectedNullCharacter),this._createDoctypeToken(st),this.state=B.DOCTYPE_NAME;break}case O.GREATER_THAN_SIGN:{this._err(ee.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),r.name+=st;break}case O.EOF:{this._err(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(ra(t)?ps(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(ee.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(ee.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(ee.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{this._err(ee.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case O.GREATER_THAN_SIGN:{this._err(ee.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.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(ee.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.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(ee.unexpectedNullCharacter),r.publicId+=st;break}case O.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),r.publicId+=st;break}case O.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(ee.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(ee.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{this._err(ee.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case O.EOF:{this._err(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.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(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.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(ee.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case O.APOSTROPHE:{this._err(ee.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case O.GREATER_THAN_SIGN:{this._err(ee.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.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(ee.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(r);break}case O.EOF:{this._err(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.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(ee.unexpectedNullCharacter),r.systemId+=st;break}case O.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(ee.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(ee.unexpectedNullCharacter),r.systemId+=st;break}case O.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=B.DATA;break}case O.EOF:{this._err(ee.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(ee.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(ee.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(ee.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(ee.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()&&Sf(this.preprocessor.peek(1))?B.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Sf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===O.SEMICOLON&&this._err(ee.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Tm=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),_f=new Set([...Tm,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),Us=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),cT=new Set([...Us,d.OL,d.UL]),hT=new Set([...Us,d.BUTTON]),Cf=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),Af=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),fT=new Set([d.TR,d.TEMPLATE,d.HTML]),pT=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),dT=new Set([d.TABLE,d.TEMPLATE,d.HTML]),mT=new Set([d.TD,d.TH]);class gT{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=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===se.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])!==se.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(ll,se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(mT,se.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(dT,se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(pT,se.HTML)}clearBackToTableRowContext(){this.clearBackTo(fT,se.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]===d.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]===d.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 se.HTML:{if(i===t)return!0;if(r.has(i))return!1;break}case se.SVG:{if(Af.has(i))return!1;break}case se.MATHML:{if(Cf.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Us)}hasInListItemScope(t){return this.hasInDynamicScope(t,cT)}hasInButtonScope(t){return this.hasInDynamicScope(t,hT)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case se.HTML:{if(ll.has(r))return!0;if(Us.has(r))return!1;break}case se.SVG:{if(Af.has(r))return!1;break}case se.MATHML:{if(Cf.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===se.HTML)switch(this.tagIDs[r]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===se.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===se.HTML)switch(this.tagIDs[r]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Tm.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&_f.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&_f.has(this.currentTagId);)this.pop()}}const wo=3;var jr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(jr||(jr={}));const If={type:jr.Marker};class bT{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<wo)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<wo)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>=wo&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(If)}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(If);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 An={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};An.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(An.isTextNode(r)){r.value+=t;return}}An.appendChild(e,An.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&An.isTextNode(n)?n.value+=t:An.insertBefore(e,An.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}}},km="html",xT="about:legacy-compat",yT="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Sm=["+//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//"],vT=[...Sm,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],ET=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),wm=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],TT=[...wm,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Nf(e,t){return t.some(r=>e.startsWith(r))}function kT(e){return e.name===km&&e.publicId===null&&(e.systemId===null||e.systemId===xT)}function ST(e){if(e.name!==km)return vr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===yT)return vr.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),ET.has(r))return vr.QUIRKS;let n=t===null?vT:Sm;if(Nf(r,n))return vr.QUIRKS;if(n=t===null?wm:TT,Nf(r,n))return vr.LIMITED_QUIRKS}return vr.NO_QUIRKS}const Lf={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},wT="definitionurl",_T="definitionURL",CT=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])),AT=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:se.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:se.XMLNS}]]),IT=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])),NT=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function LT(e){const t=e.tagID;return t===d.FONT&&e.attrs.some(({name:n})=>n===Jn.COLOR||n===Jn.SIZE||n===Jn.FACE)||NT.has(t)}function _m(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===wT){e.attrs[t].name=_T;break}}function Cm(e){for(let t=0;t<e.attrs.length;t++){const r=CT.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function p0(e){for(let t=0;t<e.attrs.length;t++){const r=AT.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 RT(e){const t=IT.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Fi(e.tagName))}function PT(e,t){return t===se.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function DT(e,t,r){if(t===se.MATHML&&e===d.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===Jn.ENCODING){const i=r[n].value.toLowerCase();return i===Lf.TEXT_HTML||i===Lf.APPLICATION_XML}}return t===se.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function OT(e,t,r,n){return(!n||n===se.HTML)&&DT(e,t,r)||(!n||n===se.MATHML)&&PT(e,t)}const MT="hidden",BT=8,FT=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 HT={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Am=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),Rf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:An,onParseError:null};class Pf{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={...Rf,...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 lT(this.options,this),this.activeFormattingElements=new bT(this.treeAdapter),this.fragmentContextID=n?Fi(this.treeAdapter.getTagName(n)):d.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new gT(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={...Rf,...r};t??(t=n.treeAdapter.createElement(X.TEMPLATE,se.HTML,[]));const i=n.treeAdapter.createElement("documentmock",se.HTML,[]),a=new this(n,i,t);return a.fragmentContextID===d.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:HT,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)===se.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,se.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=dt.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)!==se.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=dt.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=dt.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=dt.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=dt.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,se.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,se.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,se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.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===Be.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===d.SVG&&this.treeAdapter.getTagName(r)===X.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===se.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,se.HTML)}_processToken(t){switch(t.type){case Be.CHARACTER:{this.onCharacter(t);break}case Be.NULL_CHARACTER:{this.onNullCharacter(t);break}case Be.COMMENT:{this.onComment(t);break}case Be.DOCTYPE:{this.onDoctype(t);break}case Be.START_TAG:{this._processStartTag(t);break}case Be.END_TAG:{this.onEndTag(t);break}case Be.EOF:{this.onEof(t);break}case Be.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const i=this.treeAdapter.getNamespaceURI(r),a=this.treeAdapter.getAttrList(r);return OT(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(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=U.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=U.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=U.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=U.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=U.IN_TABLE;return}case d.BODY:{this.insertionMode=U.IN_BODY;return}case d.FRAMESET:{this.insertionMode=U.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?U.AFTER_HEAD:U.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=U.IN_CELL;return}break}case d.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===d.TEMPLATE)break;if(n===d.TABLE){this.insertionMode=U.IN_SELECT_IN_TABLE;return}}this.insertionMode=U.IN_SELECT}_isElementCausesFosterParenting(t){return Am.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 d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===se.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case d.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 aT[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){mS(this,t);return}switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{la(this,t);break}case U.BEFORE_HEAD:{ca(this,t);break}case U.IN_HEAD:{ha(this,t);break}case U.IN_HEAD_NO_SCRIPT:{fa(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:{Nm(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:{_o(this,t);break}case U.IN_TABLE_TEXT:{Mm(this,t);break}case U.IN_COLUMN_GROUP:{Vs(this,t);break}case U.AFTER_BODY:{qs(this,t);break}case U.AFTER_AFTER_BODY:{ks(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){dS(this,t);return}switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{la(this,t);break}case U.BEFORE_HEAD:{ca(this,t);break}case U.IN_HEAD:{ha(this,t);break}case U.IN_HEAD_NO_SCRIPT:{fa(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:{_o(this,t);break}case U.IN_COLUMN_GROUP:{Vs(this,t);break}case U.AFTER_BODY:{qs(this,t);break}case U.AFTER_AFTER_BODY:{ks(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){cl(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:{cl(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.AFTER_BODY:{$T(this,t);break}case U.AFTER_AFTER_BODY:case U.AFTER_AFTER_FRAMESET:{WT(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case U.INITIAL:{YT(this,t);break}case U.BEFORE_HEAD:case U.IN_HEAD:case U.IN_HEAD_NO_SCRIPT:case U.AFTER_HEAD:{this._err(t,ee.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,ee.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?gS(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{XT(this,t);break}case U.BEFORE_HEAD:{QT(this,t);break}case U.IN_HEAD:{Dr(this,t);break}case U.IN_HEAD_NO_SCRIPT:{ek(this,t);break}case U.AFTER_HEAD:{rk(this,t);break}case U.IN_BODY:{Vt(this,t);break}case U.IN_TABLE:{wi(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.IN_CAPTION:{Kk(this,t);break}case U.IN_COLUMN_GROUP:{g0(this,t);break}case U.IN_TABLE_BODY:{Su(this,t);break}case U.IN_ROW:{wu(this,t);break}case U.IN_CELL:{tS(this,t);break}case U.IN_SELECT:{Hm(this,t);break}case U.IN_SELECT_IN_TABLE:{nS(this,t);break}case U.IN_TEMPLATE:{aS(this,t);break}case U.AFTER_BODY:{uS(this,t);break}case U.IN_FRAMESET:{oS(this,t);break}case U.AFTER_FRAMESET:{cS(this,t);break}case U.AFTER_AFTER_BODY:{fS(this,t);break}case U.AFTER_AFTER_FRAMESET:{pS(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?bS(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case U.INITIAL:{Ji(this,t);break}case U.BEFORE_HTML:{JT(this,t);break}case U.BEFORE_HEAD:{KT(this,t);break}case U.IN_HEAD:{ZT(this,t);break}case U.IN_HEAD_NO_SCRIPT:{tk(this,t);break}case U.AFTER_HEAD:{nk(this,t);break}case U.IN_BODY:{ku(this,t);break}case U.TEXT:{Vk(this,t);break}case U.IN_TABLE:{Ta(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.IN_CAPTION:{Zk(this,t);break}case U.IN_COLUMN_GROUP:{eS(this,t);break}case U.IN_TABLE_BODY:{hl(this,t);break}case U.IN_ROW:{Fm(this,t);break}case U.IN_CELL:{rS(this,t);break}case U.IN_SELECT:{zm(this,t);break}case U.IN_SELECT_IN_TABLE:{iS(this,t);break}case U.IN_TEMPLATE:{sS(this,t);break}case U.AFTER_BODY:{Vm(this,t);break}case U.IN_FRAMESET:{lS(this,t);break}case U.AFTER_FRAMESET:{hS(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:{la(this,t);break}case U.BEFORE_HEAD:{ca(this,t);break}case U.IN_HEAD:{ha(this,t);break}case U.IN_HEAD_NO_SCRIPT:{fa(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:{Dm(this,t);break}case U.TEXT:{qk(this,t);break}case U.IN_TABLE_TEXT:{Qi(this,t);break}case U.IN_TEMPLATE:{Um(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:{m0(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:{Im(this,t);break}case U.IN_TABLE:case U.IN_TABLE_BODY:case U.IN_ROW:{_o(this,t);break}case U.IN_TABLE_TEXT:{Om(this,t);break}}}}function zT(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):Pm(e,t),r}function UT(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 VT(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>=FT;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=qT(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function qT(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 jT(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===d.TEMPLATE&&a===se.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function GT(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 d0(e,t){for(let r=0;r<BT;r++){const n=zT(e,t);if(!n)break;const i=UT(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;const a=VT(e,i,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),s&&jT(e,s,a),GT(e,i,n)}}function cl(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function $T(e,t){e._appendCommentNode(t,e.openElements.items[0])}function WT(e,t){e._appendCommentNode(t,e.document)}function m0(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 YT(e,t){e._setDocumentType(t);const r=t.forceQuirks?vr.QUIRKS:ST(t);kT(t)||e._err(t,ee.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=U.BEFORE_HTML}function Ji(e,t){e._err(t,ee.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,vr.QUIRKS),e.insertionMode=U.BEFORE_HTML,e._processToken(t)}function XT(e,t){t.tagID===d.HTML?(e._insertElement(t,se.HTML),e.insertionMode=U.BEFORE_HEAD):la(e,t)}function JT(e,t){const r=t.tagID;(r===d.HTML||r===d.HEAD||r===d.BODY||r===d.BR)&&la(e,t)}function la(e,t){e._insertFakeRootElement(),e.insertionMode=U.BEFORE_HEAD,e._processToken(t)}function QT(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.HEAD:{e._insertElement(t,se.HTML),e.headElement=e.openElements.current,e.insertionMode=U.IN_HEAD;break}default:ca(e,t)}}function KT(e,t){const r=t.tagID;r===d.HEAD||r===d.BODY||r===d.HTML||r===d.BR?ca(e,t):e._err(t,ee.endTagWithoutMatchingOpenElement)}function ca(e,t){e._insertFakeElement(X.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=U.IN_HEAD,e._processToken(t)}function Dr(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,dt.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,dt.RAWTEXT):(e._insertElement(t,se.HTML),e.insertionMode=U.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,dt.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,dt.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=U.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(U.IN_TEMPLATE);break}case d.HEAD:{e._err(t,ee.misplacedStartTagForHeadElement);break}default:ha(e,t)}}function ZT(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=U.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{ha(e,t);break}case d.TEMPLATE:{ri(e,t);break}default:e._err(t,ee.endTagWithoutMatchingOpenElement)}}function ri(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,ee.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,ee.endTagWithoutMatchingOpenElement)}function ha(e,t){e.openElements.pop(),e.insertionMode=U.AFTER_HEAD,e._processToken(t)}function ek(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{Dr(e,t);break}case d.NOSCRIPT:{e._err(t,ee.nestedNoscriptInHead);break}default:fa(e,t)}}function tk(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=U.IN_HEAD;break}case d.BR:{fa(e,t);break}default:e._err(t,ee.endTagWithoutMatchingOpenElement)}}function fa(e,t){const r=t.type===Be.EOF?ee.openElementsLeftAfterEof:ee.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=U.IN_HEAD,e._processToken(t)}function rk(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.BODY:{e._insertElement(t,se.HTML),e.framesetOk=!1,e.insertionMode=U.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,se.HTML),e.insertionMode=U.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,ee.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),Dr(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,ee.misplacedStartTagForHeadElement);break}default:pa(e,t)}}function nk(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{pa(e,t);break}case d.TEMPLATE:{ri(e,t);break}default:e._err(t,ee.endTagWithoutMatchingOpenElement)}}function pa(e,t){e._insertFakeElement(X.BODY,d.BODY),e.insertionMode=U.IN_BODY,Tu(e,t)}function Tu(e,t){switch(t.type){case Be.CHARACTER:{Nm(e,t);break}case Be.WHITESPACE_CHARACTER:{Im(e,t);break}case Be.COMMENT:{cl(e,t);break}case Be.START_TAG:{Vt(e,t);break}case Be.END_TAG:{ku(e,t);break}case Be.EOF:{Dm(e,t);break}}}function Im(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Nm(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ik(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function ak(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function sk(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,se.HTML),e.insertionMode=U.IN_FRAMESET)}function uk(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,se.HTML)}function ok(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ll.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,se.HTML)}function lk(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,se.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ck(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,se.HTML),r||(e.formElement=e.openElements.current))}function hk(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===d.LI&&i===d.LI||(r===d.DD||r===d.DT)&&(i===d.DD||i===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==d.ADDRESS&&i!==d.DIV&&i!==d.P&&e._isSpecialElement(e.openElements.items[n],i))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,se.HTML)}function fk(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,se.HTML),e.tokenizer.state=dt.PLAINTEXT}function pk(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.framesetOk=!1}function dk(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(X.A);r&&(d0(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function mk(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function gk(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(d0(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function bk(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function xk(e,t){e.treeAdapter.getDocumentMode(e.document)!==vr.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,se.HTML),e.framesetOk=!1,e.insertionMode=U.IN_TABLE}function Lm(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Rm(e){const t=vm(e,Jn.TYPE);return t!=null&&t.toLowerCase()===MT}function yk(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,se.HTML),Rm(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function vk(e,t){e._appendElement(t,se.HTML),t.ackSelfClosing=!0}function Ek(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Tk(e,t){t.tagName=X.IMG,t.tagID=d.IMG,Lm(e,t)}function kk(e,t){e._insertElement(t,se.HTML),e.skipNextNewLine=!0,e.tokenizer.state=dt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=U.TEXT}function Sk(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,dt.RAWTEXT)}function wk(e,t){e.framesetOk=!1,e._switchToTextParsing(t,dt.RAWTEXT)}function Df(e,t){e._switchToTextParsing(t,dt.RAWTEXT)}function _k(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.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 Ck(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML)}function Ak(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,se.HTML)}function Ik(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,se.HTML)}function Nk(e,t){e._reconstructActiveFormattingElements(),_m(t),p0(t),t.selfClosing?e._appendElement(t,se.MATHML):e._insertElement(t,se.MATHML),t.ackSelfClosing=!0}function Lk(e,t){e._reconstructActiveFormattingElements(),Cm(t),p0(t),t.selfClosing?e._appendElement(t,se.SVG):e._insertElement(t,se.SVG),t.ackSelfClosing=!0}function Of(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML)}function Vt(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{mk(e,t);break}case d.A:{dk(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{ok(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{uk(e,t);break}case d.LI:case d.DD:case d.DT:{hk(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{Lm(e,t);break}case d.HR:{Ek(e,t);break}case d.RB:case d.RTC:{Ak(e,t);break}case d.RT:case d.RP:{Ik(e,t);break}case d.PRE:case d.LISTING:{lk(e,t);break}case d.XMP:{Sk(e,t);break}case d.SVG:{Lk(e,t);break}case d.HTML:{ik(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{Dr(e,t);break}case d.BODY:{ak(e,t);break}case d.FORM:{ck(e,t);break}case d.NOBR:{gk(e,t);break}case d.MATH:{Nk(e,t);break}case d.TABLE:{xk(e,t);break}case d.INPUT:{yk(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{vk(e,t);break}case d.IMAGE:{Tk(e,t);break}case d.BUTTON:{pk(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{bk(e,t);break}case d.IFRAME:{wk(e,t);break}case d.SELECT:{_k(e,t);break}case d.OPTION:case d.OPTGROUP:{Ck(e,t);break}case d.NOEMBED:case d.NOFRAMES:{Df(e,t);break}case d.FRAMESET:{sk(e,t);break}case d.TEXTAREA:{kk(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Df(e,t):Of(e,t);break}case d.PLAINTEXT:{fk(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:Of(e,t)}}function Rk(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=U.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function Pk(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=U.AFTER_BODY,Vm(e,t))}function Dk(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function Ok(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):r&&e.openElements.remove(r))}function Mk(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(X.P,d.P),e._closePElement()}function Bk(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function Fk(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function Hk(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function zk(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function Uk(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(X.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function Pm(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!==d.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 ku(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{d0(e,t);break}case d.P:{Mk(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{Dk(e,t);break}case d.LI:{Bk(e);break}case d.DD:case d.DT:{Fk(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{Hk(e);break}case d.BR:{Uk(e);break}case d.BODY:{Rk(e,t);break}case d.HTML:{Pk(e,t);break}case d.FORM:{Ok(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{zk(e,t);break}case d.TEMPLATE:{ri(e,t);break}default:Pm(e,t)}}function Dm(e,t){e.tmplInsertionModeStack.length>0?Um(e,t):m0(e,t)}function Vk(e,t){var r;t.tagID===d.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function qk(e,t){e._err(t,ee.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function _o(e,t){if(e.openElements.currentTagId!==void 0&&Am.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 Be.CHARACTER:{Mm(e,t);break}case Be.WHITESPACE_CHARACTER:{Om(e,t);break}}else Ua(e,t)}function jk(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,se.HTML),e.insertionMode=U.IN_CAPTION}function Gk(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,se.HTML),e.insertionMode=U.IN_COLUMN_GROUP}function $k(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(X.COLGROUP,d.COLGROUP),e.insertionMode=U.IN_COLUMN_GROUP,g0(e,t)}function Wk(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,se.HTML),e.insertionMode=U.IN_TABLE_BODY}function Yk(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(X.TBODY,d.TBODY),e.insertionMode=U.IN_TABLE_BODY,Su(e,t)}function Xk(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Jk(e,t){Rm(t)?e._appendElement(t,se.HTML):Ua(e,t),t.ackSelfClosing=!0}function Qk(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,se.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function wi(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{Yk(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{Dr(e,t);break}case d.COL:{$k(e,t);break}case d.FORM:{Qk(e,t);break}case d.TABLE:{Xk(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{Wk(e,t);break}case d.INPUT:{Jk(e,t);break}case d.CAPTION:{jk(e,t);break}case d.COLGROUP:{Gk(e,t);break}default:Ua(e,t)}}function Ta(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{ri(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Ua(e,t)}}function Ua(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Tu(e,t),e.fosterParentingEnabled=r}function Om(e,t){e.pendingCharacterTokens.push(t)}function Mm(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++)Ua(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Bm=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function Kk(e,t){const r=t.tagID;Bm.has(r)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_TABLE,wi(e,t)):Vt(e,t)}function Zk(e,t){const r=t.tagID;switch(r){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_TABLE,r===d.TABLE&&Ta(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:ku(e,t)}}function g0(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.COL:{e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{Dr(e,t);break}default:Vs(e,t)}}function eS(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=U.IN_TABLE);break}case d.TEMPLATE:{ri(e,t);break}case d.COL:break;default:Vs(e,t)}}function Vs(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=U.IN_TABLE,e._processToken(t))}function Su(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,se.HTML),e.insertionMode=U.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(X.TR,d.TR),e.insertionMode=U.IN_ROW,wu(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE,wi(e,t));break}default:wi(e,t)}}function hl(e,t){const r=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE,Ta(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:Ta(e,t)}}function wu(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,se.HTML),e.insertionMode=U.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,Su(e,t));break}default:wi(e,t)}}function Fm(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,hl(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=U.IN_TABLE_BODY,hl(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:Ta(e,t)}}function tS(e,t){const r=t.tagID;Bm.has(r)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),wu(e,t)):Vt(e,t)}function rS(e,t){const r=t.tagID;switch(r){case d.TD:case d.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=U.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),Fm(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:ku(e,t)}}function Hm(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,se.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,se.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{Dr(e,t);break}}}function zm(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{ri(e,t);break}}}function nS(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Hm(e,t)}function iS(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):zm(e,t)}function aS(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{Dr(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=U.IN_TABLE,e.insertionMode=U.IN_TABLE,wi(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=U.IN_COLUMN_GROUP,e.insertionMode=U.IN_COLUMN_GROUP,g0(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=U.IN_TABLE_BODY,e.insertionMode=U.IN_TABLE_BODY,Su(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=U.IN_ROW,e.insertionMode=U.IN_ROW,wu(e,t);break}default:e.tmplInsertionModeStack[0]=U.IN_BODY,e.insertionMode=U.IN_BODY,Vt(e,t)}}function sS(e,t){t.tagID===d.TEMPLATE&&ri(e,t)}function Um(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):m0(e,t)}function uS(e,t){t.tagID===d.HTML?Vt(e,t):qs(e,t)}function Vm(e,t){var r;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=U.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.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 qs(e,t)}function qs(e,t){e.insertionMode=U.IN_BODY,Tu(e,t)}function oS(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.FRAMESET:{e._insertElement(t,se.HTML);break}case d.FRAME:{e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{Dr(e,t);break}}}function lS(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=U.AFTER_FRAMESET))}function cS(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.NOFRAMES:{Dr(e,t);break}}}function hS(e,t){t.tagID===d.HTML&&(e.insertionMode=U.AFTER_AFTER_FRAMESET)}function fS(e,t){t.tagID===d.HTML?Vt(e,t):ks(e,t)}function ks(e,t){e.insertionMode=U.IN_BODY,Tu(e,t)}function pS(e,t){switch(t.tagID){case d.HTML:{Vt(e,t);break}case d.NOFRAMES:{Dr(e,t);break}}}function dS(e,t){t.chars=st,e._insertCharacters(t)}function mS(e,t){e._insertCharacters(t),e.framesetOk=!1}function qm(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==se.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function gS(e,t){if(LT(t))qm(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===se.MATHML?_m(t):n===se.SVG&&(RT(t),Cm(t)),p0(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function bS(e,t){if(t.tagID===d.P||t.tagID===d.BR){qm(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)===se.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 xS=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,yS=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Mf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function jm(e,t){const r=IS(e),n=au("type",{handlers:{root:vS,element:ES,text:TS,comment:$m,doctype:kS,raw:wS},unknown:_S}),i={parser:r?new Pf(Mf):Pf.getFragmentParser(void 0,Mf),handle(o){n(o,i)},stitches:!1,options:t||{}};n(e,i),Hi(i,xn());const a=r?i.parser.document:i.parser.getFragment(),s=LE(a,{file:i.options.file});return i.stitches&&Ba(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 Gm(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function vS(e,t){Gm(e.children,t)}function ES(e,t){CS(e,t),Gm(e.children,t),AS(e,t)}function TS(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Be.CHARACTER,chars:e.value,location:Va(e)};Hi(t,xn(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function kS(e,t){const r={type:Be.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Va(e)};Hi(t,xn(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function SS(e,t){t.stitches=!0;const r=NS(e);if("children"in e&&"children"in r){const n=jm({type:"root",children:e.children},t.options);r.children=n.children}$m({type:"comment",value:{stitch:r}},t)}function $m(e,t){const r=e.value,n={type:Be.COMMENT,data:r,location:Va(e)};Hi(t,xn(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function wS(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,Wm(t,xn(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(xS,"&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 _S(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))SS(r,t);else{let n="";throw yS.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){Wm(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=dt.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 Wm(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 CS(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===dt.PLAINTEXT)return;Hi(t,xn(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=ME({...e,children:[]},{space:i===Wr.svg?"svg":"html"}),s={type:Be.START_TAG,tagName:r,tagID:Fi(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Va(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function AS(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&gm.includes(r)||t.parser.tokenizer.state===dt.PLAINTEXT)return;Hi(t,iu(e));const n={type:Be.END_TAG,tagName:r,tagID:Fi(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Va(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===dt.RCDATA||t.parser.tokenizer.state===dt.RAWTEXT||t.parser.tokenizer.state===dt.SCRIPT_DATA)&&(t.parser.tokenizer.state=dt.DATA)}function IS(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Va(e){const t=xn(e)||{line:void 0,column:void 0,offset:void 0},r=iu(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 NS(e){return"children"in e?ki({...e,children:[]}):ki(e)}function LS(e){return function(t,r){return jm(t,{...e,file:r})}}const RS={class:"md-skeleton__paragraph"},PS={class:"md-skeleton__code"},DS={class:"md-skeleton__code-body"},OS={class:"md-skeleton__paragraph"},MS={class:"md-skeleton__paragraph"},BS=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",RS,[(y.openBlock(),y.createElementBlock(y.Fragment,null,y.renderList(3,n=>y.createElementVNode("li",{key:`p1-${n}`})),64))]),y.createElementVNode("div",PS,[r[0]||(r[0]=y.createElementVNode("div",{class:"md-skeleton__code-header"},null,-1)),y.createElementVNode("div",DS,[y.createElementVNode("ul",OS,[(y.openBlock(),y.createElementBlock(y.Fragment,null,y.renderList(4,n=>y.createElementVNode("li",{key:`code-${n}`})),64))])])]),y.createElementVNode("ul",MS,[(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},Ym=Ke(BS,[["__scopeId","data-v-cd35e69e"]]),FS=["src","alt"],HS={key:1,class:"md-image__fallback"},zS=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",HS,[...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,FS))],6))}}),Xm=Ke(zS,[["__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 US=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 Bf=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 VS=(...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 Ff=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 qS=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 jS=e=>{const t=qS(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 GS=({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":Bf(r)||Bf(n)||r===!0||n===!0?Number(i||a||Ki["stroke-width"])*24/Number(s):i||a||Ki["stroke-width"],class:VS("lucide",l.class,...e?[`lucide-${Ff(jS(e))}-icon`,`lucide-${Ff(e)}`]:["lucide-icon"]),...!c.default&&!US(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(GS,{...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 $S=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 WS=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 YS=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 XS=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 JS=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 Hf=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 QS=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 KS=Je("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);/**
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 ZS=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"}]]);/**
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 ew=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"}]]);/**
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 tw=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"}]]);/**
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 rw=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"}]]);/**
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 nw=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"}]]);/**
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 iw=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"}]]);/**
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 aw=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"}]]);/**
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 sw=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"}]]);/**
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 uw=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"}]]);/**
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 ow=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"}]]);/**
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 lw=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"}]]);/**
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 cw=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"}]]);/**
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 hw=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"}]]);/**
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 fw=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"}]]);/**
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 pw=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"}]]);/**
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 dw=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"}]]);/**
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 zf=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"}]]);/**
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 Uf=Je("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
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 mw=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"}]]);/**
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 gw=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"}]]),bw=y.defineComponent({__name:"Icon",props:{name:{},size:{default:16},strokeWidth:{default:2}},setup(e){const t={copy:ZS,check:$S,close:Uf,x:Uf,"chevron-right":XS,"chevron-down":WS,"chevron-up":YS,"chevrons-up-down":JS,expand:tw,shrink:pw,maximize:uw,minimize:ow,"rotate-cw":fw,"rotate-ccw":hw,"zoom-in":mw,"zoom-out":gw,refresh:cw,download:ew,"external-link":rw,success:QS,error:Hf,"alert-circle":Hf,warning:zf,"alert-triangle":zf,info:iw,lightbulb:aw,code:KS,table:dw,quote:lw,image:nw,link:sw},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"]))}}),Rt=Ke(bw,[["__scopeId","data-v-4589b835"]]),xw={class:"md-image-preview__header"},yw={class:"md-image-preview__title"},vw={class:"md-image-preview__body"},Ew=["src","alt"],Tw={class:"md-image-preview__footer"},kw={class:"md-image-preview__footer-content"},Sw=["disabled"],ww={class:"md-image-preview__zoom"},_w=["disabled"],Cw=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,S)=>(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",xw,[y.createElementVNode("span",yw,y.toDisplayString(e.title),1),y.createElementVNode("button",{class:"md-image-preview__close",onClick:o,title:"关闭"},[y.createVNode(Rt,{name:"x",size:20})])]),y.createElementVNode("div",vw,[y.createElementVNode("img",{src:e.src,alt:e.title,style:y.normalizeStyle(s.value),onWheel:g,draggable:"false"},null,44,Ew)]),y.createElementVNode("div",Tw,[y.createElementVNode("div",kw,[y.createElementVNode("button",{onClick:c,title:"缩小",disabled:i.value<=.5},[y.createVNode(Rt,{name:"zoom-out",size:18})],8,Sw),y.createElementVNode("span",ww,y.toDisplayString(Math.round(i.value*100))+"%",1),y.createElementVNode("button",{onClick:l,title:"放大",disabled:i.value>=3},[y.createVNode(Rt,{name:"zoom-in",size:18})],8,_w),S[0]||(S[0]=y.createElementVNode("div",{class:"md-image-preview__divider"},null,-1)),y.createElementVNode("button",{onClick:h,title:"重置"},[y.createVNode(Rt,{name:"refresh",size:18})]),y.createElementVNode("button",{onClick:f,title:"旋转"},[y.createVNode(Rt,{name:"rotate-cw",size:18})])])])])):y.createCommentVNode("",!0)]),_:1})]))}}),Jm=Ke(Cw,[["__scopeId","data-v-c2b5f9bf"]]),Aw={class:"md-toast__content"},Iw={class:"md-toast__icon"},Nw={key:0,viewBox:"0 0 24 24",fill:"currentColor"},Lw={key:1,viewBox:"0 0 24 24",fill:"currentColor"},Rw={key:2,viewBox:"0 0 24 24",fill:"currentColor"},Pw={key:3,viewBox:"0 0 24 24",fill:"currentColor"},Dw={class:"md-toast__text"},Ow=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",Aw,[y.createElementVNode("span",Iw,[i.value==="success"?(y.openBlock(),y.createElementBlock("svg",Nw,[...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",Lw,[...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",Rw,[...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",Pw,[...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",Dw,y.toDisplayString(n.value),1)])],2)):y.createCommentVNode("",!0)]),_:1})]))}}),Qm=Ke(Ow,[["__scopeId","data-v-49ed3e1d"]]),Mw=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))}}),Km=Ke(Mw,[["__scopeId","data-v-28dd3c2f"]]),Bw=["tabindex","aria-expanded","onKeydown"],Fw={key:0,class:"md-collapse-section__icon"},Hw={class:"md-collapse-section__title"},zw={key:1,class:"md-collapse-section__extra"},Uw={class:"md-collapse-section__content"},Vw=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",Fw,[y.createVNode(Rt,{name:i.value?"chevron-down":"chevron-right",size:16},null,8,["name"])])):y.createCommentVNode("",!0),y.createElementVNode("div",Hw,[y.renderSlot(s.$slots,"header",{},()=>[y.createTextVNode(y.toDisplayString(e.title),1)],!0)]),s.$slots.extra?(y.openBlock(),y.createElementBlock("div",zw,[y.renderSlot(s.$slots,"extra",{},void 0,!0)])):y.createCommentVNode("",!0)],42,Bw),y.createVNode(Km,{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",Uw,[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(Rt,{name:"chevron-down",size:16})])):y.createCommentVNode("",!0)],2))}}),qw=Ke(Vw,[["__scopeId","data-v-d488c87c"]]),jw={class:"md-tooltip__content"},Gw={key:0,class:"md-tooltip__arrow"},$w=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(),k=n.value.getBoundingClientRect(),A=8;let L=0,H=0;switch(t.position){case"top":L=C.top+window.scrollY-k.height-A,H=C.left+window.scrollX+(C.width-k.width)/2;break;case"bottom":L=C.bottom+window.scrollY+A,H=C.left+window.scrollX+(C.width-k.width)/2;break;case"left":L=C.top+window.scrollY+(C.height-k.height)/2,H=C.left+window.scrollX-k.width-A;break;case"right":L=C.top+window.scrollY+(C.height-k.height)/2,H=C.right+window.scrollX+A;break}a.value={top:L,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 S(){(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,k)=>(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:S},[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",jw,y.toDisplayString(e.content),1),e.showArrow?(y.openBlock(),y.createElementBlock("div",Gw)):y.createCommentVNode("",!0)],6)):y.createCommentVNode("",!0)]),_:1})]))],64))}}),Zm=Ke($w,[["__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 js(e){var r,n;if(!e)return"text";if(Array.isArray(e)){for(const i of e){const a=js(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=js(i);if(a!=="text")return a}return"text"}const e2={js:"javascript",ts:"typescript",py:"python",rb:"ruby",sh:"bash",zsh:"bash",yml:"yaml",md:"markdown",text:"text",txt:"text"};function t2(e){const t=e.toLowerCase();return e2[t]||t}function r2(e){const t=e.split(`
520
- `);for(;t.length&&!t[0].trim();)t.shift();for(;t.length&&!t[t.length-1].trim();)t.pop();return t.join(`
521
- `)}async function _u(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}let Nt=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Ww(e){return b0(e)}function b0(e){return Array.isArray(e)?Yw(e):e instanceof RegExp?e:typeof e=="object"?Xw(e):e}function Yw(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=b0(e[r]);return t}function Xw(e){let t={};for(let r in e)t[r]=b0(e[r]);return t}function n2(e,...t){return t.forEach(r=>{for(let n in r)e[n]=r[n]}),e}function i2(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?i2(e.substring(0,e.length-1)):e.substr(~t+1)}var Co=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ds=class{static hasCaptures(e){return e===null?!1:(Co.lastIndex=0,Co.test(e))}static replaceCaptures(e,t,r){return e.replace(Co,(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 a2(e,t){return e<t?-1:e>t?1:0}function s2(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=a2(e[i],t[i]);if(a!==0)return a}return 0}return r-n}function Vf(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 u2(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var o2=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}},Gs=class{constructor(e,t,r){ne(this,"_cachedMatchRoot",new o2(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(Kw(e),t)}static createFromParsedTheme(e,t){return e_(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=>Jw(e.parent,i.parentScopes));return n?new l2(n.fontStyle,n.foreground,n.background):null}},Ao=class Ss{constructor(t,r){this.parent=t,this.scopeName=r}static push(t,r){for(const n of r)t=new Ss(t,n);return t}static from(...t){let r=null;for(let n=0;n<t.length;n++)r=new Ss(r,t[n]);return r}push(t){return new Ss(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 Jw(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&&!Qw(e.scopeName,n);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Qw(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var l2=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}};function Kw(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"&&Vf(s.settings.foreground)&&(c=s.settings.foreground);let h=null;typeof s.settings.background=="string"&&Vf(s.settings.background)&&(h=s.settings.background);for(let f=0,g=o.length;f<g;f++){let E=o[f].trim().split(" "),S=E[E.length-1],C=null;E.length>1&&(C=E.slice(0,E.length-1),C.reverse()),r[n++]=new Zw(S,C,i,l,c,h)}}return r}var Zw=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 e_(e,t){e.sort((l,c)=>{let h=a2(l.scope,c.scope);return h!==0||(h=s2(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 t_(t),s=new l2(r,a.getId(n),a.getId(i)),o=new n_(new fl(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 Gs(a,s,o)}var t_=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)}},r_=Object.freeze([]),fl=class c2{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||r_,this.fontStyle=n,this.foreground=i,this.background=a}clone(){return new c2(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)}},n_=class pl{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(pl._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 pl(this._mainRule.clone(),fl.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(s2(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 fl(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 $s(e,t){const r=[],n=i_(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 i_(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 h2(e){typeof e.dispose=="function"&&e.dispose()}var ka=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},a_=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},s_=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))}},u_=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 ka(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new s_;for(const r of e)o_(r,this.initialScopeName,this.repo,t);for(const r of t.references)if(r instanceof ka){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 o_(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 ka?ws({baseGrammar:a,selfGrammar:i},n):dl(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 ka(o))}function dl(e,t,r){if(t.repository&&t.repository[e]){const n=t.repository[e];Ws([n],t,r)}}function ws(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Ws(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Ws(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Ws(e,t,r){for(const n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const i=n.repository?n2({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&Ws(n.patterns,{...t,repository:i},r);const a=n.include;if(!a)continue;const s=f2(a);switch(s.kind){case 0:ws({...t,selfGrammar:t.baseGrammar},r);break;case 1:ws(t,r);break;case 2:dl(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?dl(s.ruleName,l,r):ws(l,r)}else s.kind===4?r.add(new a_(s.scopeName,s.ruleName)):r.add(new ka(s.scopeName));break}}}var l_=class{constructor(){ne(this,"kind",0)}},c_=class{constructor(){ne(this,"kind",1)}},h_=class{constructor(e){ne(this,"kind",2);this.ruleName=e}},f_=class{constructor(e){ne(this,"kind",3);this.scopeName=e}},p_=class{constructor(e,t){ne(this,"kind",4);this.scopeName=e,this.ruleName=t}};function f2(e){if(e==="$base")return new l_;if(e==="$self")return new c_;const t=e.indexOf("#");if(t===-1)return new f_(e);if(t===0)return new h_(e.substring(1));{const r=e.substring(0,t),n=e.substring(t+1);return new p_(r,n)}}var d_=/\\(\d+)/,jf=/\\(\d+)/g,m_=-1,p2=-2;var qa=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=ds.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=ds.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${i2(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:ds.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ds.replaceCaptures(this._contentName,e,t)}},g_=class extends qa{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!")}},b_=class extends qa{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 wa,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Gf=class extends qa{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 wa,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ml=class extends qa{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 wa;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}},Ys=class extends qa{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,p2),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 wa;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 wa,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}},d2=class Bt{static createCaptureRule(t,r,n,i,a){return t.registerRule(s=>new g_(r,s,n,i,a))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(i=>{if(t.id=i,t.match)return new b_(t.$vscodeTextmateLocation,t.id,t.name,t.match,Bt._compileCaptures(t.captures,r,n));if(typeof t.begin>"u"){t.repository&&(n=n2({},n,t.repository));let a=t.patterns;return typeof a>"u"&&t.include&&(a=[{include:t.include}]),new Gf(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Bt._compilePatterns(a,r,n))}return t.while?new Ys(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 ml(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=f2(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 Gf||c instanceof ml||c instanceof Ys)&&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 m2{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=d_.test(this.source):this.hasBackReferences=!1}clone(){return new m2(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 jf.lastIndex=0,this.source.replace(jf,(i,a)=>u2(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}},wa=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 $f(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 $f(e,n,this._items.map(i=>i.ruleId))}},$f=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(`
522
- `)}findNextMatchSync(e,t,r){const n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},Io=class{constructor(e,t){this.languageId=e,this.tokenType=t}},ln,x_=(ln=class{constructor(t,r){ne(this,"_defaultAttributes");ne(this,"_embeddedLanguagesMatcher");ne(this,"_getBasicScopeAttributes",new o2(t=>{const r=this._scopeToLanguage(t),n=this._toStandardTokenType(t);return new Io(r,n)}));this._defaultAttributes=new Io(t,8),this._embeddedLanguagesMatcher=new y_(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 Io(0,0)),ne(ln,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),ln),y_=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])=>u2(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 Wf=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function g2(e,t,r,n,i,a,s,o){const l=t.content.length;let c=!1,h=-1;if(s){const m=v_(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 Wf(i,!0);g()}return new Wf(i,!1);function g(){const m=E_(e,t,r,n,i,h);if(!m){a.produce(i,l),c=!0;return}const E=m.captureIndices,S=m.matchedRuleId,C=E&&E.length>0?E[0].end>n:!1;if(S===m_){const k=i.getRule(e);a.produce(i,E[0].start),i=i.withContentNameScopesList(i.nameScopesList),na(e,t,r,i,a,k.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 k=e.getRule(S);a.produce(i,E[0].start);const A=i,L=k.getName(t.content,E),H=i.contentNameScopesList.pushAttributed(L,e);if(i=i.push(S,n,h,E[0].end===l,null,H,H),k instanceof ml){const P=k;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(k instanceof Ys){const P=k;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,k.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 v_(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 Ys&&o.push({rule:c,stack:l})}for(let l=o.pop();l;l=o.pop()){const{ruleScanner:c,findOptions:h}=S_(l.rule,e,l.stack.endRule,r,n===s),f=c.findNextMatchSync(t,n,h);if(f){if(f.ruleId!==p2){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 E_(e,t,r,n,i,a){const s=T_(e,t,r,n,i,a),o=e.getInjections();if(o.length===0)return s;const l=k_(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 T_(e,t,r,n,i,a){const s=i.getRule(e),{ruleScanner:o,findOptions:l}=b2(s,e,i.endRule,r,n===a),c=o.findNextMatchSync(t,n,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function k_(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 S=t.getRule(E.ruleId),{ruleScanner:C,findOptions:k}=b2(S,t,null,n,i===s),A=C.findNextMatchSync(r,i,k);if(!A)continue;const L=A.captureIndices[0].start;if(!(L>=o)&&(o=L,l=A.captureIndices,c=A.ruleId,h=E.priority,o===i))break}return l?{priorityMatch:h===-1,captureIndices:l,matchedRuleId:c}:null}function b2(e,t,r,n,i){return{ruleScanner:e.compileAG(t,r,n,i),findOptions:0}}function S_(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 S=g.getName(o,s),C=n.contentNameScopesList.pushAttributed(S,e),k=g.getContentName(o,s),A=C.pushAttributed(k,e),L=n.push(g.retokenizeCapturedWithRuleId,m.start,-1,!1,null,C,A),H=e.createOnigString(o.substring(0,m.end));g2(e,H,r&&m.start===0,m.start,L,i,!1,0),h2(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 w_(C,m.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var w_=class{constructor(e,t){ne(this,"scopes");ne(this,"endPos");this.scopes=e,this.endPos=t}};function __(e,t,r,n,i,a,s,o){return new A_(e,t,r,n,i,a,s,o)}function Yf(e,t,r,n,i){const a=$s(t,Xs),s=d2.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 Xs(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(C_(t[i],n))return r=i+1,!0;return!1})}function C_(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 A_=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 x_(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=Xf(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const l of Object.keys(i)){const c=$s(l,Xs);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)Yf(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&&Yf(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]=Xf(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=d2.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===gl.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=da.createRootAndLookUpScopeName(g,f,this):m=da.createRoot("unknown",f),t=new gl(null,this._rootId,-1,-1,!1,null,m,m)}else i=!1,t.reset();e=e+`
523
- `;const a=this.createOnigString(e),s=a.content.length,o=new N_(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=g2(this,a,i,0,t,o,!0,n);return h2(a),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function Xf(e,t){return e=Ww(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 da=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=Ao.push(i,a.scopeNames),n=new zr(n,i,a.encodedTokenAttributes);return n}static createRoot(t,r){return new zr(null,new Ao(null,t),r)}static createRootAndLookUpScopeName(t,r,n){const i=n.getMetadataForScope(t),a=new Ao(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,gl=(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)?da.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=da.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,da.fromExtension(n,r.contentNameScopesList))}},ne(Er,"NULL",new Er(null,0,0,0,!1,null,null,null)),Er),I_=class{constructor(e,t){ne(this,"balancedBracketScopes");ne(this,"unbalancedBracketScopes");ne(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):$s(r,Xs).map(n=>n.matcher)),this.unbalancedBracketScopes=t.flatMap(r=>$s(r,Xs).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}},N_=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}},L_=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,__(e,a,t,r,n,i,this,this._onigLib))}return this._grammars.get(e)}},R_=class{constructor(t){ne(this,"_options");ne(this,"_syncRegistry");ne(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new L_(Gs.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,r){this._syncRegistry.setTheme(Gs.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 I_(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,r,n,i,a){const s=new u_(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)}},bl=gl.NULL;const P_=/^>|^->|<!--|-->|--!>|<!-$/g,D_=[">"],O_=["<",">"];function M_(e,t,r,n){return n.settings.bogusComments?"<?"+xi(e.value,Object.assign({},n.settings.characterReferences,{subset:D_}))+">":"<!--"+e.value.replace(P_,i)+"-->";function i(a){return xi(a,Object.assign({},n.settings.characterReferences,{subset:O_}))}}function B_(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}const Ct=y2(1),x2=y2(-1),F_=[];function y2(e){return t;function t(r,n,i){const a=r?r.children:F_;let s=(n||0)+e,o=a[s];if(!i)for(;o&&nu(o);)s+=e,o=a[s];return o}}const H_={}.hasOwnProperty;function v2(e){return t;function t(r,n,i){return H_.call(e,r.tagName)&&e[r.tagName](r,n,i)}}const x0=v2({body:U_,caption:No,colgroup:No,dd:G_,dt:j_,head:No,html:z_,li:q_,optgroup:$_,option:W_,p:V_,rp:Jf,rt:Jf,tbody:X_,td:Qf,tfoot:J_,th:Qf,thead:Y_,tr:Q_});function No(e,t,r){const n=Ct(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&nu(n.value.charAt(0)))}function z_(e,t,r){const n=Ct(r,t);return!n||n.type!=="comment"}function U_(e,t,r){const n=Ct(r,t);return!n||n.type!=="comment"}function V_(e,t,r){const n=Ct(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 q_(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&n.tagName==="li"}function j_(e,t,r){const n=Ct(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function G_(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function Jf(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function $_(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function W_(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function Y_(e,t,r){const n=Ct(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function X_(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function J_(e,t,r){return!Ct(r,t)}function Q_(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function Qf(e,t,r){const n=Ct(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const K_=v2({body:tC,colgroup:rC,head:eC,html:Z_,tbody:nC});function Z_(e){const t=Ct(e,-1);return!t||t.type!=="comment"}function eC(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 tC(e){const t=Ct(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&nu(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function rC(e,t,r){const n=x2(r,t),i=Ct(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&x0(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function nC(e,t,r){const n=x2(r,t),i=Ct(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&x0(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const ms={name:[[`
524
- \f\r &/=>`.split(""),`
525
- \f\r "&'/=>\``.split("")],[`\0
526
- \f\r "&'/<=>`.split(""),`\0
527
- \f\r "&'/<=>\``.split("")]],unquoted:[[`
528
- \f\r &>`.split(""),`\0
529
- \f\r "&'<=>\``.split("")],[`\0
530
- \f\r "&'<=>\``.split(""),`\0
531
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function iC(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=aC(n,e.properties),h=n.all(i.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=i,h&&(s=!1),(c||!a||!K_(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||!x0(e,t,r))&&o.push("</"+e.tagName+">"),o.join("")}function aC(e,t){const r=[];let n=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const a=sC(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 sC(e,t,r){const n=Pa(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?vl:Tl)(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 uC=["<","&"];function E2(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:uC}))}function oC(e,t,r,n){return n.settings.allowDangerousHtml?e.value:E2(e,t,r,n)}function lC(e,t,r,n){return n.all(e)}const cC=au("type",{invalid:hC,unknown:fC,handlers:{comment:M_,doctype:B_,element:iC,raw:oC,root:lC,text:E2}});function hC(e){throw new Error("Expected node, not `"+e+"`")}function fC(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const pC={},dC={},mC=[];function gC(e,t){const r=t||pC,n=r.quote||'"',i=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:bC,all:xC,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||gm,characterReferences:r.characterReferences||dC,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 bC(e,t,r){return cC(e,t,r,this)}function xC(e){const t=[],r=e&&e.children||mC;let n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function Js(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 Dn(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function yC(e){return Array.isArray(e)?e:[e]}async function T2(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function y0(e){return!e||["plaintext","txt","text","plain"].includes(e)}function vC(e){return e==="ansi"||y0(e)}function v0(e){return e==="none"}function EC(e){return v0(e)}function k2(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 Cu(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 TC(e){const t=Cu(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 E0="light-dark()",kC=["color","background-color"];function SC(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 wC(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?SC(i,a):i})):e}function _C(e,t,r,n,i="css-vars"){const a={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(h=>Qs(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&&kC.includes(g))if(n===E0&&s.length>1){const E=t.findIndex(A=>A==="light"),S=t.findIndex(A=>A==="dark");if(E===-1||S===-1)throw new Nt('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const C=s[E][g]||"inherit",k=s[S][g]||"inherit";l[g]=`light-dark(${C}, ${k})`,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 Qs(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 xl(e){return typeof e=="string"?e:Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}const S2=new WeakMap;function Au(e,t){S2.set(e,t)}function _a(e){return S2.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(yC(r).map(n=>[n,bl])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return CC(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function CC(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 AC(e,t){if(!(e instanceof zi))throw new Nt("Invalid grammar state");return e.getInternalStack(t)}function IC(){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 Nt(`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 Nt(`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 Nt(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${o.length}`);return{...s,character:l,offset:i.posToIndex(s.line,l)}}};const i=TC(r.source),a=(r.options.decorations||[]).map(s=>({...s,start:n(s.start),end:n(s.end)}));NC(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 wC(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 Nt(`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 S=i[f];let C="",k=-1,A=-1;if(g===0&&(k=0),m===0&&(A=0),m===Number.POSITIVE_INFINITY&&(A=S.children.length),k===-1||A===-1)for(let H=0;H<S.children.length;H++)C+=w2(S.children[H]),k===-1&&C.length===g&&(k=H+1),A===-1&&C.length===m&&(A=H+1);if(k===-1)throw new Nt(`Failed to find start index for decoration ${JSON.stringify(E.start)}`);if(A===-1)throw new Nt(`Failed to find end index for decoration ${JSON.stringify(E.end)}`);const L=S.children.slice(k,A);if(!E.alwaysWrap&&L.length===S.children.length)o(S,E,"line");else if(!E.alwaysWrap&&L.length===1&&L[0].type==="element")o(L[0],E,"token");else{const H={type:"element",tagName:"span",properties:{},children:L};o(H,E,"wrapper"),S.children.splice(k,L.length,H)}}function s(f,g){i[f]=o(i[f],g,"line")}function o(f,g,m){var C;const E=g.properties||{},S=g.transform||(k=>k);return f.tagName=g.tagName||"span",f.properties={...f.properties,...E,class:f.properties.class},(C=g.properties)!=null&&C.class&&k2(f,g.properties.class),f=S(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 NC(e){for(let t=0;t<e.length;t++){const r=e[t];if(r.start.offset>r.end.offset)throw new Nt(`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 Nt(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}function w2(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(w2).join(""):""}const LC=[IC()];function Ks(e){const t=RC(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...LC]}function RC(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 Xn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Lo={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function PC(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 Kf(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 DC(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)Lo[n]&&t.push({type:"setDecoration",value:Lo[n]});else if(n<=29){const i=Lo[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:Xn[n-30]}});else if(n===38){const i=Kf(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:Xn[n-40]}});else if(n===48){const i=Kf(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:Xn[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Xn[n-100+8]}})}return t}function OC(){let e=null,t=null,r=new Set;return{parse(n){const i=[];let a=0;do{const s=PC(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=DC(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 MC={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 BC(e=MC){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<Xn.length;c++)n.push(t(Xn[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 FC={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 HC(e,t,r){const n=Js(e,r),i=Cu(t),a=Object.fromEntries(Xn.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||FC[l]]})),s=BC(a),o=OC();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=Dn(h,n),f=Dn(f,n),c.decorations.has("dim")&&(h=zC(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 zC(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 T0(e,t,r={}){const{theme:n=e.getLoadedThemes()[0]}=r,i=e.resolveLangAlias(r.lang||"text");if(y0(i)||v0(n))return Cu(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:a,colorMap:s}=e.setTheme(n);if(i==="ansi")return HC(a,t,r);const o=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==o.name)throw new Nt(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${o.name}"`);if(!r.grammarState.themes.includes(a.name))throw new Nt(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return VC(t,o,a,s,r)}function UC(...e){if(e.length===2)return _a(e[1]);const[t,r,n={}]=e,{lang:i="text",theme:a=t.getLoadedThemes()[0]}=n;if(y0(i)||v0(a))throw new Nt("Plain language does not have grammar state");if(i==="ansi")throw new Nt("ANSI language does not have grammar state");const{theme:s,colorMap:o}=t.setTheme(a),l=t.getLanguage(i);return new zi(k0(r,l,s,o,n).stateStack,l.name,s.name)}function VC(e,t,r,n,i){const a=k0(e,t,r,n,i),s=new zi(a.stateStack,t.name,r.name);return Au(a.tokens,s),a.tokens}function k0(e,t,r,n,i){const a=Js(r,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=i,l=Cu(e);let c=i.grammarState?AC(i.grammarState,r.name)??bl:i.grammarContextCode!=null?k0(i.grammarContextCode,t,r,n,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:bl,h=[];const f=[];for(let g=0,m=l.length;g<m;g++){const[E,S]=l[g];if(E===""){h=[],f.push([]);continue}if(s>0&&E.length>=s){h=[],f.push([{content:E,offset:S,color:"",fontStyle:0}]);continue}let C,k,A;i.includeExplanation&&(C=t.tokenizeLine(E,c,o),k=C.tokens,A=0);const L=t.tokenizeLine2(E,c,o),H=L.tokens.length/2;for(let P=0;P<H;P++){const b=L.tokens[2*P],R=P+1<H?L.tokens[2*P+2]:E.length;if(b===R)continue;const j=L.tokens[2*P+1],Y=Dn(n[_i.getForeground(j)],a),G=_i.getFontStyle(j),K={content:E.substring(b,R),offset:S+b,color:Y,fontStyle:G};if(i.includeExplanation){const Z=[];if(i.includeExplanation!=="scopeName")for(const ue of r.settings){let ie;switch(typeof ue.scope){case"string":ie=ue.scope.split(/,/).map(ve=>ve.trim());break;case"object":ie=ue.scope;break;default:continue}Z.push({settings:ue,selectors:ie.map(ve=>ve.split(/ /))})}K.explanation=[];let pe=0;for(;b+pe<R;){const ue=k[A],ie=E.substring(ue.startIndex,ue.endIndex);pe+=ie.length,K.explanation.push({content:ie,scopes:i.includeExplanation==="scopeName"?qC(ue.scopes):jC(Z,ue.scopes)}),A+=1}}h.push(K)}f.push(h),h=[],c=L.ruleStack}return{tokens:f,stateStack:c}}function qC(e){return e.map(t=>({scopeName:t}))}function jC(e,t){const r=[];for(let n=0,i=t.length;n<i;n++){const a=t[n];r[n]={scopeName:a,themeMatches:$C(e,a,t.slice(0,n))}}return r}function Zf(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function GC(e,t,r){if(!Zf(e[e.length-1],t))return!1;let n=e.length-2,i=r.length-1;for(;n>=0&&i>=0;)Zf(e[n],r[i])&&(n-=1),i-=1;return n===-1}function $C(e,t,r){const n=[];for(const{selectors:i,settings:a}of e)for(const s of i)if(GC(s,t,r)){n.push(a);break}return n}function _2(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=T0(e,t,{...r,theme:l.theme}),h=_a(c),f=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:h,theme:f}}),a=WC(...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:S,explanation:C,offset:k,...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&&Au(s,o),s}function WC(...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 Zs(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(k=>k[1]).map(k=>({color:k[0],theme:k[1]})).sort((k,A)=>k.color===c?-1:A.color===c?1:0);if(g.length===0)throw new Nt("`themes` option must not be empty");const m=_2(e,t,r);if(l=_a(m),c&&E0!==c&&!g.find(k=>k.color===c))throw new Nt(`\`themes\` option must contain the defaultColor key \`${c}\``);const E=g.map(k=>e.getTheme(k.theme)),S=g.map(k=>k.color);a=m.map(k=>k.map(A=>_C(A,S,h,c,f))),l&&Au(a,l);const C=g.map(k=>Js(k.theme,r));i=ep(g,E,C,h,c,"fg",f),n=ep(g,E,C,h,c,"bg",f),s=`shiki-themes ${E.map(k=>k.name).join(" ")}`,o=c?void 0:[i,n].join(";")}else if("theme"in r){const c=Js(r.theme,r);a=T0(e,t,r);const h=e.getTheme(r.theme);n=Dn(h.bg,c),i=Dn(h.fg,c),s=h.name,l=_a(a)}else throw new Nt("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:n,themeName:s,rootStyle:o,grammarState:l}}function ep(e,t,r,n,i,a,s){return e.map((o,l)=>{const c=Dn(t[l][a],r[l])||"inherit",h=`${n+o.color}${a==="bg"?"-bg":""}:${c}`;if(l===0&&i){if(i===E0&&e.length>1){const f=e.findIndex(S=>S.color==="light"),g=e.findIndex(S=>S.color==="dark");if(f===-1||g===-1)throw new Nt('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const m=Dn(t[f][a],r[f])||"inherit",E=Dn(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 eu(e,t,r,n={meta:{},options:r,codeToHast:(i,a)=>eu(e,i,a),codeToTokens:(i,a)=>Zs(e,i,a)}){var E,S;let i=t;for(const C of Ks(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}=Zs(e,i,r);const{mergeWhitespaces:f=!0,mergeSameStyleTokens:g=!1}=r;f===!0?a=XC(a):f==="never"&&(a=JC(a)),g&&(a=QC(a));const m={...n,get source(){return i}};for(const C of Ks(r))a=((S=C.tokens)==null?void 0:S.call(m,a))||a;return YC(a,{...r,fg:s,bg:o,themeName:l,rootStyle:r.rootStyle===!1?!1:r.rootStyle??c},m,h)}function YC(e,t,r,n=_a(e)){var S,C,k,A;const i=Ks(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[L,H]of Object.entries(t.meta||{}))L.startsWith("_")||(c[L]=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:k2,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((L,H)=>{var R,j;H&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&a.push({type:"text",value:`
532
- `}));let P={type:"element",tagName:"span",properties:{class:"line"},children:[]},b=0;for(const Y of L){let G={type:"element",tagName:"span",properties:{...Y.htmlAttrs},children:[{type:"text",value:Y.content}]};const K=xl(Y.htmlStyle||Qs(Y));K&&(G.properties.style=K);for(const Z of i)G=((R=Z==null?void 0:Z.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 L of i)f=((S=L==null?void 0:L.code)==null?void 0:S.call(m,f))||f;h.children.push(f);for(const L of i)h=((C=L==null?void 0:L.pre)==null?void 0:C.call(m,h))||h;s.children.push(h)}else if(o==="inline"){const L=[];let H={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const R of s.children)R.type==="element"&&R.tagName==="br"?(L.push(H),H={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(R.type==="element"||R.type==="text")&&H.children.push(R);L.push(H);let b={type:"element",tagName:"code",properties:{},children:L};for(const R of i)b=((k=R==null?void 0:R.code)==null?void 0:k.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 L of i)E=((A=L==null?void 0:L.root)==null?void 0:A.call(m,E))||E;return n&&Au(E,n),E}function XC(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 JC(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 QC(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=xl(i.htmlStyle||Qs(i)),s=xl(n.htmlStyle||Qs(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 KC=gC;function ZC(e,t,r){var a;const n={meta:{},options:r,codeToHast:(s,o)=>eu(e,s,o),codeToTokens:(s,o)=>Zs(e,s,o)};let i=KC(eu(e,t,r,n));for(const s of Ks(r))i=((a=s.postprocess)==null?void 0:a.call(n,i,r))||i;return i}const tp={light:"#333333",dark:"#bbbbbb"},rp={light:"#fffffe",dark:"#1e1e1e"},np="__shiki_resolved";function S0(e){var o,l,c,h,f;if(e!=null&&e[np])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"?tp.light:tp.dark),r||(r=t.type==="light"?rp.light:rp.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,k;const m=((C=g.settings)==null?void 0:C.foreground)&&!g.settings.foreground.startsWith("#"),E=((k=g.settings)==null?void 0:k.background)&&!g.settings.background.startsWith("#");if(!m&&!E)return g;const S={...g,settings:{...g.settings}};if(m){const A=s(g.settings.foreground);t.colorReplacements[A]=g.settings.foreground,S.settings.foreground=A}if(E){const A=s(g.settings.background);t.colorReplacements[A]=g.settings.background,S.settings.background=A}return S});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,np,{enumerable:!1,writable:!1,value:!0}),t}async function C2(e){return Array.from(new Set((await Promise.all(e.filter(t=>!vC(t)).map(async t=>await T2(t).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function A2(e){return(await Promise.all(e.map(async r=>EC(r)?null:S0(await T2(r))))).filter(r=>!!r)}let eA=3;function tA(e,t=3){t>eA||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let mi=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function I2(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 rA extends R_{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=S0(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=Gs.createFromRawTheme(r),this._textmateThemeCache.set(r,n)),this._syncRegistry.setTheme(n)}getGrammar(r){return r=I2(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 nA{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 iA(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(S0),i=new nA(e.engine,r),a=new rA(i,n,r,e.langAlias);let s;function o(L){return I2(L,e.langAlias)}function l(L){k();const H=a.getGrammar(typeof L=="string"?L:L.name);if(!H)throw new mi(`Language \`${L}\` not found, you may need to load it first`);return H}function c(L){if(L==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};k();const H=a.getTheme(L);if(!H)throw new mi(`Theme \`${L}\` not found, you may need to load it first`);return H}function h(L){k();const H=c(L);s!==L&&(a.setTheme(H),s=L);const P=a.getColorMap();return{theme:H,colorMap:P}}function f(){return k(),a.getLoadedThemes()}function g(){return k(),a.getLoadedLanguages()}function m(...L){k(),a.loadLanguages(L.flat(1))}async function E(...L){return m(await C2(L))}function S(...L){k();for(const H of L.flat(1))a.loadTheme(H)}async function C(...L){return k(),S(await A2(L))}function k(){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:S,dispose:A,[Symbol.dispose]:A}}async function aA(e){e.engine||tA("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,r,n]=await Promise.all([A2(e.themes||[]),C2(e.langs||[]),e.engine]);return iA({...e,themes:t,langs:r,engine:n})}async function sA(e){const t=await aA(e);return{getLastGrammarState:(...r)=>UC(t,...r),codeToTokensBase:(r,n)=>T0(t,r,n),codeToTokensWithThemes:(r,n)=>_2(t,r,n),codeToTokens:(r,n)=>Zs(t,r,n),codeToHast:(r,n)=>eu(t,r,n),codeToHtml:(r,n)=>ZC(t,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}class w0 extends Error{constructor(t){super(t),this.name="ShikiError"}}function uA(){return 2147483648}function oA(){return typeof performance<"u"?performance.now():Date.now()}const lA=(e,t)=>e+(t-e%t)%t;async function cA(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,S){n.HEAPU8.copyWithin(m,E,E+S)}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 S=uA();if(m>S)return!1;for(let C=1;C<=4;C*=2){let k=E*(1+.2/C);k=Math.min(k,m+100663296);const A=Math.min(S,lA(Math.max(m,k),65536));if(s(A))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(m,E,S=1024){const C=E+S;let k=E;for(;m[k]&&!(k>=C);)++k;if(k-E>16&&m.buffer&&l)return l.decode(m.subarray(E,k));let A="";for(;E<k;){let L=m[E++];if(!(L&128)){A+=String.fromCharCode(L);continue}const H=m[E++]&63;if((L&224)===192){A+=String.fromCharCode((L&31)<<6|H);continue}const P=m[E++]&63;if((L&240)===224?L=(L&15)<<12|H<<6|P:L=(L&7)<<18|H<<12|P<<6|m[E++]&63,L<65536)A+=String.fromCharCode(L);else{const b=L-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:oA,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 hA=Object.defineProperty,fA=(e,t,r)=>t in e?hA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,St=(e,t,r)=>fA(e,typeof t!="symbol"?t+"":t,r);let It=null;function pA(e){throw new w0(e.UTF8ToString(e.getLastOnigError()))}class Iu{constructor(t){St(this,"utf16Length"),St(this,"utf8Length"),St(this,"utf16Value"),St(this,"utf8Value"),St(this,"utf16OffsetToUtf8"),St(this,"utf8OffsetToUtf16");const r=t.length,n=Iu._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 Nu=class Ur{constructor(t){if(St(this,"id",++Ur.LAST_ID),St(this,"_onigBinding"),St(this,"content"),St(this,"utf16Length"),St(this,"utf8Length"),St(this,"utf16OffsetToUtf8"),St(this,"utf8OffsetToUtf16"),St(this,"ptr"),!It)throw new w0("Must invoke loadWasm first.");this._onigBinding=It,this.content=t;const r=new Iu(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=It.omalloc(1e4)),Ur._sharedPtrInUse=!0,It.HEAPU8.set(r.utf8Value,Ur._sharedPtr),this.ptr=Ur._sharedPtr):this.ptr=r.createString(It)}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)}};St(Nu,"LAST_ID",0);St(Nu,"_sharedPtr",0);St(Nu,"_sharedPtrInUse",!1);let N2=Nu;class dA{constructor(t){if(St(this,"_onigBinding"),St(this,"_ptr"),!It)throw new w0("Must invoke loadWasm first.");const r=[],n=[];for(let o=0,l=t.length;o<l;o++){const c=new Iu(t[o]);r[o]=c.createString(It),n[o]=c.utf8Length}const i=It.omalloc(4*t.length);It.HEAPU32.set(r,i/4);const a=It.omalloc(4*t.length);It.HEAPU32.set(n,a/4);const s=It.createOnigScanner(i,a,t.length);for(let o=0,l=t.length;o<l;o++)It.ofree(r[o]);It.ofree(a),It.ofree(i),s===0&&pA(It),this._onigBinding=It,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 N2(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 mA(e){return typeof e.instantiator=="function"}function gA(e){return typeof e.default=="function"}function bA(e){return typeof e.data<"u"}function xA(e){return typeof Response<"u"&&e instanceof Response}function yA(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 vA(e){if(gs)return gs;async function t(){It=await cA(async r=>{let n=e;return n=await n,typeof n=="function"&&(n=await n(r)),typeof n=="function"&&(n=await n(r)),mA(n)?n=await n.instantiator(r):gA(n)?n=await n.default(r):(bA(n)&&(n=n.data),xA(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await EA(n)(r):n=await TA(n)(r):yA(n)?n=await Ro(n)(r):n instanceof WebAssembly.Module?n=await Ro(n)(r):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await Ro(n.default)(r))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return gs=t(),gs}function Ro(e){return t=>WebAssembly.instantiate(e,t)}function EA(e){return t=>WebAssembly.instantiateStreaming(e,t)}function TA(e){return async t=>{const r=await e.arrayBuffer();return WebAssembly.instantiate(r,t)}}async function kA(e){return e&&await vA(e),{createScanner(t){return new dA(t.map(r=>typeof r=="string"?r:r.source))},createString(t){return new N2(t)}}}const SA=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"}')),wA=[Promise.resolve().then(()=>require("./assets/javascript-DgmXW4Ha.cjs")),Promise.resolve().then(()=>require("./assets/typescript-b48wo4zk.cjs")),Promise.resolve().then(()=>require("./assets/json-YkPizm35.cjs"))];let Po=null,Do=null;async function _0(){return Po||(Do||(Do=sA({themes:[SA],langs:wA,engine:kA(Promise.resolve().then(()=>require("./assets/wasm-Dw4u1m6u.cjs")))}).then(e=>(Po=e,e))),Do)}async function L2(e,t){const r=await _0(),i=r.getLoadedLanguages().includes(t)?t:"text";try{return r.codeToHtml(e,{lang:i,theme:"github-light"})}catch{return`<pre><code>${e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}</code></pre>`}}async function _A(){return(await _0()).getLoadedLanguages()}const CA=["tip","warning","danger","info","note","caution"];function R2(e){const t=e.split(`
533
- `),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(CA.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(`
534
- `).trim();c?(r.push(""),r.push(`<MdContainer type="${h}" title="${AA(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(`
535
- `)}function AA(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(Qm,{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 Qn={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)},IA=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 _u(a)?(r.value=!0,Qn.success("链接已复制"),setTimeout(()=>{r.value=!1},2e3)):Qn.error("复制失败")}return(i,a)=>(y.openBlock(),y.createElementBlock("span",{class:"md-anchor",onClick:n},[y.createVNode(Zm,{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(Rt,{name:"link",size:14})],2)]),_:1},8,["content"])]))}}),P2=Ke(IA,[["__scopeId","data-v-c48dbf36"]]),NA=["aria-checked","aria-disabled","tabindex","onKeydown"],LA={class:"md-checkbox__inner"},RA={key:0,class:"md-checkbox__icon",viewBox:"0 0 16 16",fill:"none"},PA={key:1,class:"md-checkbox__icon",viewBox:"0 0 16 16",fill:"none"},DA={key:0,class:"md-checkbox__label"},OA=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",LA,[e.modelValue&&!e.indeterminate?(y.openBlock(),y.createElementBlock("svg",RA,[...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",PA,[...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",DA,[y.renderSlot(a.$slots,"default",{},void 0,!0)])):y.createCommentVNode("",!0)],42,NA))}}),MA=Ke(OA,[["__scopeId","data-v-8fcb2b90"]]),BA={key:0,class:"md-tag__prefix"},FA={class:"md-tag__content"},HA=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",BA,[y.renderSlot(l.$slots,"prefix",{},void 0,!0)])):y.createCommentVNode("",!0),y.createElementVNode("span",FA,[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(Rt,{name:"x",size:12})])):y.createCommentVNode("",!0)],6)):y.createCommentVNode("",!0)}}),zA=Ke(HA,[["__scopeId","data-v-6fba1055"]]),UA=["aria-orientation"],VA=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,UA))}}),qA=Ke(VA,[["__scopeId","data-v-e95f7b5f"]]),C0=Symbol("HeadingCollapse");function D2(){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(C0,n),n}function O2(){return y.inject(C0,null)}function ip(){return Math.random().toString(36).slice(2,8)}function A0(e){const t=e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\u4e00-\u9fa5-]/g,"").slice(0,20);return t?`${t}-${ip()}`:`heading-${ip()}`}function ap(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 jA={class:"md-heading__text"},GA=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=O2(),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 A0(f)})(),l=y.computed(()=>i?i.isCollapsed(o):!1);function c(){!i||!n.value||(i.toggle(o),y.nextTick(()=>{n.value&&ap(n.value,t.level,i.isCollapsed(o))}))}return y.watch(l,h=>{y.nextTick(()=>{n.value&&ap(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(Rt),{name:l.value?"chevron-right":"chevron-down",size:14},null,8,["name"])]),y.createElementVNode("span",jA,[y.renderSlot(h.$slots,"default",{},void 0,!0)]),e.showAnchor?(y.openBlock(),y.createBlock(y.unref(P2),{key:0,href:y.unref(o)},null,8,["href"])):y.createCommentVNode("",!0)]),_:3},16,["id","class"]))}}),I0=Ke(GA,[["__scopeId","data-v-a14f41d1"]]),Lu=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"]))}}),$A=["href","target","rel"],WA=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(Rt),{key:0,name:"external-link",size:12,class:"md-link__icon"})):y.createCommentVNode("",!0)],16,$A))}}),M2=Ke(WA,[["__scopeId","data-v-7a7ee4da"]]),YA=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))}}),B2=Ke(YA,[["__scopeId","data-v-e4b3a92f"]]),XA={class:"md-figure"},JA={class:"md-figure__mask"},QA={key:0,class:"md-figure__caption"},KA=y.defineComponent({__name:"MdImage",props:{src:{},alt:{}},setup(e){const t=y.ref(!1);return(r,n)=>(y.openBlock(),y.createElementBlock("figure",XA,[y.createElementVNode("div",{class:"md-figure__image",onClick:n[0]||(n[0]=i=>t.value=!0)},[y.createVNode(y.unref(Xm),{src:e.src,alt:e.alt,width:"100%",fit:"contain"},null,8,["src","alt"]),y.createElementVNode("div",JA,[y.createVNode(y.unref(Rt),{name:"zoom-in",size:32})])]),e.alt?(y.openBlock(),y.createElementBlock("figcaption",QA,y.toDisplayString(e.alt),1)):y.createCommentVNode("",!0),y.createVNode(y.unref(Jm),{visible:t.value,src:e.src||"",title:e.alt,onClose:n[1]||(n[1]=i=>t.value=!1)},null,8,["visible","src","title"])]))}}),F2=Ke(KA,[["__scopeId","data-v-59322efc"]]),ZA={},eI={class:"md-inline-code"};function tI(e,t){return y.openBlock(),y.createElementBlock("code",eI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const H2=Ke(ZA,[["render",tI],["__scopeId","data-v-a1280341"]]),rI={class:"md-list-item"},tu=y.defineComponent({__name:"ListItem",setup(e){return(t,r)=>(y.openBlock(),y.createElementBlock("li",rI,[y.renderSlot(t.$slots,"default")]))}}),nI=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))}}),Ca=Ke(nI,[["__scopeId","data-v-af92b102"]]),iI={},aI={class:"md-strong"};function sI(e,t){return y.openBlock(),y.createElementBlock("strong",aI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const Aa=Ke(iI,[["render",sI],["__scopeId","data-v-c59b0755"]]),uI={},oI={class:"md-em"};function lI(e,t){return y.openBlock(),y.createElementBlock("em",oI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const Ia=Ke(uI,[["render",lI],["__scopeId","data-v-d0acaae2"]]),cI={},hI={class:"md-del"};function fI(e,t){return y.openBlock(),y.createElementBlock("del",hI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const Na=Ke(cI,[["render",fI],["__scopeId","data-v-43b75c80"]]),pI={},dI={class:"md-mark"};function mI(e,t){return y.openBlock(),y.createElementBlock("mark",dI,[y.renderSlot(e.$slots,"default",{},void 0,!0)])}const ru=Ke(pI,[["render",mI],["__scopeId","data-v-148195ab"]]),gI={class:"md-block-header"},bI={class:"md-block-header__label"},xI={class:"md-block-header__actions"},yI=["title"],vI=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",gI,[y.createElementVNode("span",bI,y.toDisplayString(e.label),1),y.createElementVNode("div",xI,[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(Rt),{key:1,name:"check",size:14})):(y.openBlock(),y.createBlock(y.unref(Rt),{key:0,name:"copy",size:14}))],8,yI)):y.createCommentVNode("",!0)])]))}}),Ru=Ke(vI,[["__scopeId","data-v-121723d1"]]),EI=["title"],TI={key:0,class:"md-code-block__lines","aria-hidden":"true"},kI=["innerHTML"],SI=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.computed(()=>s.value||"text"),h=y.computed(()=>t.collapsible===!0?!0:t.collapsible===!1?!1:o.value>t.maxLines),f=y.computed(()=>!h.value||l.value?{maxHeight:"none"}:{maxHeight:`${t.maxHeight}px`}),g=()=>{l.value=!l.value};async function m(C,k){const A=t2(k);return L2(C,A)}async function E(){var L;const C=(L=r.default)==null?void 0:L.call(r);if(!C)return;let k=vi(C);k=r2(k),a.value=k,o.value=k.split(`
536
- `).length;let A=js(C);if(A==="text"&&t.className){const H=t.className.match(/language-(\w+)/);H&&(A=H[1])}s.value=A,i.value=await m(k,A)}y.onMounted(E),y.watch(()=>{var C;return(C=r.default)==null?void 0:C.call(r)},E,{deep:!0});async function S(){await _u(a.value)?Qn.success("复制成功"):Qn.error("复制失败")}return(C,k)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["md-code-block",{"md-code-block--expanded":l.value}])},[y.createVNode(Ru,{label:c.value,copyable:"",onCopy:S},y.createSlots({_:2},[h.value?{name:"extra",fn:y.withCtx(()=>[y.createElementVNode("button",{class:"md-code-block__toggle",onClick:g,title:l.value?"收起":"展开"},[y.createVNode(y.unref(Rt),{name:l.value?"chevron-up":"chevron-down",size:14},null,8,["name"])],8,EI)]),key:"0"}:void 0]),1032,["label"]),y.createElementVNode("div",{ref_key:"bodyRef",ref:n,class:"md-code-block__body",style:y.normalizeStyle(f.value)},[e.showLineNumbers?(y.openBlock(),y.createElementBlock("div",TI,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(o.value,A=>(y.openBlock(),y.createElementBlock("span",{key:A,class:"md-code-block__line-number"},y.toDisplayString(A),1))),128))])):y.createCommentVNode("",!0),y.createElementVNode("div",{class:"md-code-block__code",innerHTML:i.value},null,8,kI)],4)],2))}}),N0=Ke(SI,[["__scopeId","data-v-680c99ea"]]),wI={class:"md-table"},_I=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(`
537
- `);await _u(a)?Qn.success("复制成功"):Qn.error("复制失败")}return(n,i)=>(y.openBlock(),y.createElementBlock("div",wI,[y.createVNode(Ru,{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)]))}}),L0=Ke(_I,[["__scopeId","data-v-974248dc"]]),CI=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(Rt),{name:i.value?"chevron-up":"chevron-down",size:16},null,8,["name"])])):y.createCommentVNode("",!0)],2))}}),R0=Ke(CI,[["__scopeId","data-v-277128d9"]]),AI={class:"md-container__icon"},II={class:"md-container__main"},NI={class:"md-container__header"},LI={class:"md-container__content"},RI=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",AI,[y.createVNode(y.unref(Rt),{name:n.value,size:16,"stroke-width":2.5},null,8,["name"])]),y.createElementVNode("div",II,[y.createElementVNode("div",NI,y.toDisplayString(i.value),1),y.createElementVNode("div",LI,[y.renderSlot(a.$slots,"default",{},void 0,!0)])])],2))}}),P0=Ke(RI,[["__scopeId","data-v-7e9ace9e"]]),PI={class:"md-toc-inner"},DI={class:"md-toc-nav"},OI=["href","title","onClick"],MI={class:"md-toc-link-text"},D0=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,k){k?l.set(C,k):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 k=l.get(C);if(!k)return;const A=o.value,L=A.getBoundingClientRect(),H=k.getBoundingClientRect(),P=H.top-L.top,b=H.bottom-L.top,R=A.clientHeight,j=P<20,Y=b>R-20;if(j||Y){const G=P-R/2+k.clientHeight/2;A.scrollTo({top:A.scrollTop+G,behavior:"smooth"})}});function g(C,k){k.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 S(){m&&(m.disconnect(),m=null),i.value.length!==0&&(m=new IntersectionObserver(C=>{C.forEach(A=>{const L=A.target.id;A.isIntersecting?E.value.set(L,1):E.value.delete(L)});let k=null;for(const A of i.value){const L=document.getElementById(A.id);if(!L)continue;if(L.getBoundingClientRect().top<=100)k=A;else break}!k&&i.value.length>0&&(k=i.value[0]),k&&h.value!==k.id&&(h.value=k.id,n("update:activeId",k.id))},{root:r.scrollContainer||null,rootMargin:"0px",threshold:0}),i.value.forEach(C=>{const k=document.getElementById(C.id);k&&m&&m.observe(k)}))}return y.watch(()=>r.scrollContainer,()=>{y.nextTick(()=>{S()})}),y.watch(()=>r.items,()=>{y.nextTick(()=>{S()})},{deep:!0,flush:"post"}),y.onMounted(()=>{y.nextTick(()=>{S()})}),y.onUnmounted(()=>{m&&(m.disconnect(),m=null)}),(C,k)=>(y.openBlock(),y.createElementBlock("aside",{ref_key:"asideRef",ref:o,class:y.normalizeClass(a.value),style:y.normalizeStyle(s.value)},[y.createElementVNode("div",PI,[y.createElementVNode("nav",DI,[(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:L=>c(A.id,L),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:L=>g(A,L)},[y.createElementVNode("span",MI,y.toDisplayString(A.text),1)],14,OI))),128))])])],6))}});function Ui(e){return y.defineComponent({name:`MdH${e}`,inheritAttrs:!1,setup(t,{attrs:r,slots:n}){return()=>y.h(I0,{...r,level:e},n)}})}const z2=Ui(1),U2=Ui(2),V2=Ui(3),q2=Ui(4),j2=Ui(5),G2=Ui(6),O0=y.defineComponent({name:"MdUl",setup(e,{slots:t}){return()=>y.h(Lu,{ordered:!1},t)}}),M0=y.defineComponent({name:"MdOl",setup(e,{slots:t}){return()=>y.h(Lu,{ordered:!0},t)}}),BI=Object.freeze(Object.defineProperty({__proto__:null,BlockHeader:Ru,Blockquote:R0,CodeBlock:N0,Container:P0,Delete:Na,Emphasis:Ia,Heading:I0,HorizontalRule:Ca,List:Lu,ListItem:tu,Mark:ru,Strong:Aa,Table:L0,Toc:D0,a:M2,code:H2,del:Na,em:Ia,h1:z2,h2:U2,h3:V2,h4:q2,h5:j2,h6:G2,hr:Ca,img:F2,li:tu,mark:ru,ol:M0,p:B2,strong:Aa,ul:O0},Symbol.toStringTag,{value:"Module"})),$2=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}},emits:["rendered","error","toc-change","scroll-to-top","toc-click"],setup(e,{emit:t}){D2();const r=e,n=t,i=y.computed(()=>`${r.prefix}-render`),a=y.ref("div"),s=y.ref(!0),o=y.ref(null),l=y.ref(null),c=y.ref([]),h=y.ref(""),f=y.ref(!1),g=y.computed(()=>!!(r.height||r.maxHeight)),m=y.computed(()=>g.value?o.value:null),E=y.computed(()=>{const K=[i.value];return r.theme==="dark"&&K.push(`${i.value}--dark`),g.value&&K.push(`${i.value}--scrollable`),r.className&&K.push(r.className),K.join(" ")}),S=y.computed(()=>{const K=[];return r.showToc&&K.push("md-render-layout"),K}),C=y.computed(()=>{const K={...r.style};return r.height&&(K.height=r.height),r.maxHeight&&(K.maxHeight=r.maxHeight),K}),k=y.computed(()=>{const K={pre:N0,table:L0,blockquote:R0,MdContainer:P0,ul:O0,ol:M0,hr:Ca,strong:Aa,em:Ia,del:Na},{li:Z,ListItem:pe,...ue}=BI,ie={...ue,...r.components};return Object.keys(ie).forEach(ve=>{const Se=ie[ve];typeof Se=="function"&&!Se.setup&&!Se.render?K[ve]={name:`MDX${ve.charAt(0).toUpperCase()+ve.slice(1)}`,props:Object.keys(Object.getOwnPropertyDescriptors(Se)).length>0?["children",...Object.keys(Se)]:void 0,setup(ze,{slots:Xe}){return()=>Se(ze,{slots:Xe})}}:K[ve]||(K[ve]=Se)}),K});function A(){const K=[...r.remarkPlugins??[]];r.remarkGfm&&K.unshift(Vy),K.push(K9);const Z=[...r.rehypePlugins??[]];return r.format==="md"&&Z.push(LS),Z.push(AE),{remarkPlugins:K,rehypePlugins:Z,format:r.format,useDynamicImport:!1,baseUrl:typeof window<"u"?window.location.href:"https://example.com"}}async function L(K){if(!K){a.value="div",s.value=!1,n("rendered");return}s.value=!0;try{let Z=K;r.format==="mdx"&&(Z=R2(Z));const pe=await D8(Z,{...A(),...Sg});a.value=pe.default}catch(Z){console.error("Markdown 渲染错误:",Z);const pe=Z instanceof Error?Z:new Error(String(Z));n("error",pe),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;"},pe.message)])}finally{s.value=!1}}function H(){l.value&&y.nextTick(()=>{var pe;const K=((pe=l.value)==null?void 0:pe.querySelectorAll("h1, h2, h3, h4, h5, h6"))||[],Z=[];K.forEach(ue=>{var ve,Se;const ie=parseInt(ue.tagName[1],10);if(ie>=r.tocMinLevel&&ie<=r.tocMaxLevel){let ze=ue.id;const Xe=ue.querySelector(".md-heading__text"),V=((ve=Xe==null?void 0:Xe.textContent)==null?void 0:ve.trim())||((Se=ue.textContent)==null?void 0:Se.trim())||"";if(!ze&&V&&(ze=A0(V),ue.id=ze),!ze)return;Z.push({level:ie,text:V,id:ze})}}),c.value=Z,n("toc-change",Z),n("rendered")})}function P(){return g.value&&o.value?o.value.scrollTop:window.scrollY}function b(){r.showBackTop&&(f.value=P()>r.backTopThreshold)}function R(K){n("toc-click",K)}function j(){g.value&&o.value?o.value.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"}),n("scroll-to-top")}y.watch(s,K=>{K||H()});function Y(){r.showBackTop&&((g.value&&o.value?o.value:window).addEventListener("scroll",b,{passive:!0}),b())}function G(){o.value&&o.value.removeEventListener("scroll",b),window.removeEventListener("scroll",b)}return y.onMounted(()=>{L(r.raw),y.nextTick(()=>{Y()})}),y.onUnmounted(()=>{G()}),y.watch(()=>r.raw,L),(K,Z)=>(y.openBlock(),y.createElementBlock("div",{ref_key:"wrapperRef",ref:o,class:y.normalizeClass(E.value),style:y.normalizeStyle(C.value)},[y.createElementVNode("div",{class:y.normalizeClass(S.value)},[y.createElementVNode("div",{ref_key:"contentRef",ref:l,class:"md-render-content"},[s.value?(y.openBlock(),y.createBlock(y.unref(Ym),{key:0})):(y.openBlock(),y.createBlock(y.resolveDynamicComponent(a.value),y.normalizeProps(y.mergeProps({key:1},{components:k.value})),null,16))],512),e.showToc&&c.value.length>0?(y.openBlock(),y.createBlock(y.unref(D0),{key:0,items:c.value,"doc-title":e.docTitle,"min-level":e.tocMinLevel,"max-level":e.tocMaxLevel,"active-id":h.value,mode:e.tocMode,"sticky-top":e.tocStickyTop,"scroll-container":m.value,onClick:R,"onUpdate:activeId":Z[0]||(Z[0]=pe=>h.value=pe)},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&&f.value?(y.openBlock(),y.createElementBlock("button",{key:0,class:"md-render-back-top",onClick:j,title:"回到顶部"},[...Z[1]||(Z[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))}}),W2={install(e){e.component("MarkdownRender",$2)}};exports.Anchor=P2;exports.BlockHeader=Ru;exports.Blockquote=R0;exports.Checkbox=MA;exports.CodeBlock=N0;exports.CollapseSection=qw;exports.Collapsible=Km;exports.Container=P0;exports.Delete=Na;exports.Divider=qA;exports.Emphasis=Ia;exports.Heading=I0;exports.HeadingCollapseKey=C0;exports.HorizontalRule=Ca;exports.Icon=Rt;exports.Image=Xm;exports.ImagePreview=Jm;exports.LANGUAGE_ALIASES=e2;exports.List=Lu;exports.ListItem=tu;exports.Mark=ru;exports.MarkdownRender=$2;exports.Skeleton=Ym;exports.Strong=Aa;exports.Table=L0;exports.Tag=zA;exports.Toast=Qm;exports.Toc=D0;exports.Tooltip=Zm;exports.VueMarkdownRender=W2;exports.a=M2;exports.code=H2;exports.copyToClipboard=_u;exports.default=W2;exports.del=Na;exports.em=Ia;exports.extractLanguageFromVNode=js;exports.extractTextFromVNode=vi;exports.generateHeadingId=A0;exports.getHighlighter=_0;exports.getLoadedLanguages=_A;exports.h1=z2;exports.h2=U2;exports.h3=V2;exports.h4=q2;exports.h5=j2;exports.h6=G2;exports.highlightCode=L2;exports.hr=Ca;exports.img=F2;exports.li=tu;exports.mark=ru;exports.normalizeLanguage=t2;exports.ol=M0;exports.p=B2;exports.preprocessContainers=R2;exports.provideHeadingCollapse=D2;exports.strong=Aa;exports.toast=Qn;exports.trimCodeLines=r2;exports.ul=O0;exports.useHeadingCollapse=O2;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./assets/index-C9QevtQd.cjs");exports.Anchor=e.Anchor;exports.BlockHeader=e.BlockHeader;exports.Blockquote=e.Blockquote;exports.Checkbox=e.Checkbox;exports.CodeBlock=e.CodeBlock;exports.CollapseSection=e.CollapseSection;exports.Collapsible=e.Collapsible;exports.Container=e.Container;exports.Delete=e.del;exports.Divider=e.Divider;exports.Emphasis=e.em;exports.Heading=e.Heading;exports.HeadingCollapseKey=e.HeadingCollapseKey;exports.HorizontalRule=e.hr;exports.Icon=e.Icon;exports.Image=e.Image;exports.ImagePreview=e.ImagePreview;exports.LANGUAGE_ALIASES=e.LANGUAGE_ALIASES;exports.List=e._sfc_main;exports.ListItem=e._sfc_main$1;exports.Mark=e.Mark;exports.MarkdownRender=e._sfc_main$2;exports.Mermaid=e.Mermaid;exports.Skeleton=e.Skeleton;exports.Strong=e.strong;exports.Table=e.Table;exports.Tag=e.Tag;exports.Toast=e.ToastComponent;exports.Toc=e._sfc_main$3;exports.TocMobile=e._sfc_main$4;exports.Tooltip=e.Tooltip;exports.VueMarkdownRender=e.VueMarkdownRender;exports.a=e.Link;exports.code=e.InlineCode;exports.copyToClipboard=e.copyToClipboard;exports.createHighlighterPlugin=e.createHighlighterPlugin;exports.default=e.VueMarkdownRender;exports.del=e.del;exports.em=e.em;exports.extractLanguageFromVNode=e.extractLanguageFromVNode;exports.extractTextFromVNode=e.extractTextFromVNode;exports.generateHeadingId=e.generateHeadingId;exports.getHighlighter=e.getHighlighter;exports.getLoadedLanguages=e.getLoadedLanguages;exports.h1=e.h1;exports.h2=e.h2;exports.h3=e.h3;exports.h4=e.h4;exports.h5=e.h5;exports.h6=e.h6;exports.highlightCode=e.highlightCode;exports.hr=e.hr;exports.img=e.MdImage;exports.li=e._sfc_main$1;exports.loadLanguages=e.loadLanguages;exports.mark=e.Mark;exports.normalizeLanguage=e.normalizeLanguage;exports.ol=e.ol;exports.p=e.Paragraph;exports.preprocessContainers=e.preprocessContainers;exports.provideHeadingCollapse=e.provideHeadingCollapse;exports.strong=e.strong;exports.toast=e.toast;exports.trimCodeLines=e.trimCodeLines;exports.ul=e.ul;exports.useHeadingCollapse=e.useHeadingCollapse;exports.useHighlighter=e.useHighlighter;