upfynai-code 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/README.md +123 -88
  2. package/bin/cli.js +63 -0
  3. package/package.json +48 -106
  4. package/src/auth.js +115 -0
  5. package/src/config.js +33 -0
  6. package/src/connect.js +314 -0
  7. package/src/launch.js +54 -0
  8. package/src/mcp.js +57 -0
  9. package/src/server.js +54 -0
  10. package/client/dist/api-docs.html +0 -879
  11. package/client/dist/assets/AppContent-C0CyP3g5.js +0 -513
  12. package/client/dist/assets/CanvasPanel-0u9QR7U-.js +0 -34
  13. package/client/dist/assets/CanvasPanel-WhZulBJw.css +0 -1
  14. package/client/dist/assets/DashboardPanel-Dgqw1yZk.js +0 -1
  15. package/client/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  16. package/client/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  17. package/client/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  18. package/client/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  19. package/client/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  20. package/client/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  21. package/client/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  22. package/client/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  23. package/client/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  24. package/client/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  25. package/client/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  26. package/client/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  27. package/client/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  28. package/client/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  29. package/client/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  30. package/client/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  31. package/client/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  32. package/client/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  33. package/client/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  34. package/client/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  35. package/client/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  36. package/client/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  37. package/client/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  38. package/client/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  39. package/client/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  40. package/client/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  41. package/client/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  42. package/client/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  43. package/client/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  44. package/client/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  45. package/client/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  46. package/client/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  47. package/client/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  48. package/client/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  49. package/client/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  50. package/client/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  51. package/client/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  52. package/client/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  53. package/client/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  54. package/client/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  55. package/client/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  56. package/client/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  57. package/client/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  58. package/client/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  59. package/client/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  60. package/client/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  61. package/client/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  62. package/client/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  63. package/client/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  64. package/client/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  65. package/client/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  66. package/client/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  67. package/client/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  68. package/client/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  69. package/client/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  70. package/client/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  71. package/client/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  72. package/client/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  73. package/client/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  74. package/client/dist/assets/LoginModal-CZDEzqjK.js +0 -19
  75. package/client/dist/assets/MarkdownPreview-CYdvwJaV.js +0 -1
  76. package/client/dist/assets/Onboarding-DR6NZ4Vz.js +0 -1
  77. package/client/dist/assets/SetupForm-D49gtWY4.js +0 -1
  78. package/client/dist/assets/Tableau10-B-NsZVaP.js +0 -1
  79. package/client/dist/assets/WorkflowsPanel-CqlbEJA_.js +0 -1
  80. package/client/dist/assets/_commonjs-dynamic-modules-TDtrdbi3.js +0 -1
  81. package/client/dist/assets/ar-SA-G6X2FPQ2-BWqa1yBH.js +0 -10
  82. package/client/dist/assets/arc-BegSKqEW.js +0 -1
  83. package/client/dist/assets/array-BKyUJesY.js +0 -1
  84. package/client/dist/assets/az-AZ-76LH7QW2-DrVlbZDP.js +0 -1
  85. package/client/dist/assets/bg-BG-XCXSNQG7-DdunjBgT.js +0 -5
  86. package/client/dist/assets/blockDiagram-38ab4fdb-BKMbwGHu.js +0 -118
  87. package/client/dist/assets/bn-BD-2XOGV67Q-_7DtmvwO.js +0 -5
  88. package/client/dist/assets/c4Diagram-3d4e48cf-hJuiHhSn.js +0 -10
  89. package/client/dist/assets/ca-ES-6MX7JW3Y-BFIrmojG.js +0 -8
  90. package/client/dist/assets/channel-Bur-rRTp.js +0 -1
  91. package/client/dist/assets/classDiagram-70f12bd4-BjiAf9cM.js +0 -2
  92. package/client/dist/assets/classDiagram-v2-f2320105-pwBewejc.js +0 -2
  93. package/client/dist/assets/clone-BtqXeoBJ.js +0 -1
  94. package/client/dist/assets/createText-2e5e7dd3-Dq_acOWe.js +0 -5
  95. package/client/dist/assets/cs-CZ-2BRQDIVT-B-x4F6TJ.js +0 -11
  96. package/client/dist/assets/da-DK-5WZEPLOC-Btlc8Dgn.js +0 -5
  97. package/client/dist/assets/de-DE-XR44H4JA-BVu3ZIoD.js +0 -8
  98. package/client/dist/assets/directory-open-01563666-DWU9wJ6I.js +0 -1
  99. package/client/dist/assets/directory-open-4ed118d0-CunoC1EB.js +0 -1
  100. package/client/dist/assets/edges-e0da2a9e-DH0wVTXR.js +0 -4
  101. package/client/dist/assets/el-GR-BZB4AONW-h2ll8_ZC.js +0 -10
  102. package/client/dist/assets/erDiagram-9861fffd-BYezLIR7.js +0 -51
  103. package/client/dist/assets/es-ES-U4NZUMDT-Cveiulwt.js +0 -9
  104. package/client/dist/assets/eu-ES-A7QVB2H4-DQluL2PY.js +0 -11
  105. package/client/dist/assets/fa-IR-HGAKTJCU-BJtcMBSv.js +0 -8
  106. package/client/dist/assets/fi-FI-Z5N7JZ37-D8NfbVXV.js +0 -6
  107. package/client/dist/assets/file-open-002ab408-DIuFHtCF.js +0 -1
  108. package/client/dist/assets/file-open-7c801643-684qeFg4.js +0 -1
  109. package/client/dist/assets/file-save-3189631c-C1wFhQhH.js +0 -1
  110. package/client/dist/assets/file-save-745eba88-Bb9F9Kg7.js +0 -1
  111. package/client/dist/assets/flowDb-956e92f1-scnUykhM.js +0 -10
  112. package/client/dist/assets/flowDiagram-66a62f08-jVyWsfyU.js +0 -4
  113. package/client/dist/assets/flowDiagram-v2-96b9c2cf-N6xgi25h.js +0 -1
  114. package/client/dist/assets/flowchart-elk-definition-4a651766-gKGX3HqR.js +0 -139
  115. package/client/dist/assets/fr-FR-RHASNOE6-vdj42kC6.js +0 -9
  116. package/client/dist/assets/ganttDiagram-c361ad54-C2CiWFUP.js +0 -257
  117. package/client/dist/assets/gitGraphDiagram-72cf32ee-C59Yz2LK.js +0 -70
  118. package/client/dist/assets/gl-ES-HMX3MZ6V-DQo0TzoP.js +0 -10
  119. package/client/dist/assets/graph-Dx_H43Kv.js +0 -1
  120. package/client/dist/assets/he-IL-6SHJWFNN-DKXK5e33.js +0 -10
  121. package/client/dist/assets/hi-IN-IWLTKZ5I-C2Qgqc0R.js +0 -4
  122. package/client/dist/assets/hu-HU-A5ZG7DT2-Ss-6vX0m.js +0 -7
  123. package/client/dist/assets/id-ID-SAP4L64H-D7Wsg1S2.js +0 -10
  124. package/client/dist/assets/image-blob-reduce.esm-D6s-rqMO.js +0 -7
  125. package/client/dist/assets/index-3862675e-u8Nv7hHC.js +0 -1
  126. package/client/dist/assets/index-BVowJdZF.js +0 -97
  127. package/client/dist/assets/index-ce18TYkg.js +0 -27
  128. package/client/dist/assets/index-kQoJx-bc.css +0 -1
  129. package/client/dist/assets/infoDiagram-f8f76790-LmoJYsxo.js +0 -7
  130. package/client/dist/assets/init-Gi6I4Gst.js +0 -1
  131. package/client/dist/assets/it-IT-JPQ66NNP-CAPTVl7M.js +0 -11
  132. package/client/dist/assets/ja-JP-DBVTYXUO-eNVPawR2.js +0 -8
  133. package/client/dist/assets/journeyDiagram-49397b02-BaJqehpR.js +0 -139
  134. package/client/dist/assets/kaa-6HZHGXH3-tpuNkKhS.js +0 -1
  135. package/client/dist/assets/kab-KAB-ZGHBKWFO-Dp83kx4x.js +0 -8
  136. package/client/dist/assets/kk-KZ-P5N5QNE5-B9IlC6YN.js +0 -1
  137. package/client/dist/assets/km-KH-HSX4SM5Z-B_KMYaMj.js +0 -11
  138. package/client/dist/assets/ko-KR-MTYHY66A-yebnUNdb.js +0 -9
  139. package/client/dist/assets/ku-TR-6OUDTVRD-BR6fh6-5.js +0 -9
  140. package/client/dist/assets/layout-DLl5Jwcl.js +0 -1
  141. package/client/dist/assets/line-FpB7omSK.js +0 -1
  142. package/client/dist/assets/linear-CkXqUFJ8.js +0 -1
  143. package/client/dist/assets/lt-LT-XHIRWOB4-SutZSWtR.js +0 -3
  144. package/client/dist/assets/lv-LV-5QDEKY6T-DuAxdcZL.js +0 -7
  145. package/client/dist/assets/mindmap-definition-fc14e90a-DyxXOExh.js +0 -425
  146. package/client/dist/assets/mr-IN-CRQNXWMA-DqDUWM_8.js +0 -13
  147. package/client/dist/assets/my-MM-5M5IBNSE-C40kMFMR.js +0 -1
  148. package/client/dist/assets/nb-NO-T6EIAALU-DVij32Ju.js +0 -10
  149. package/client/dist/assets/nl-NL-IS3SIHDZ-rT84mDYq.js +0 -8
  150. package/client/dist/assets/nn-NO-6E72VCQL-BBZXBW8V.js +0 -8
  151. package/client/dist/assets/oc-FR-POXYY2M6-DzjOugOf.js +0 -8
  152. package/client/dist/assets/ordinal-Cboi1Yqb.js +0 -1
  153. package/client/dist/assets/pa-IN-N4M65BXN-DD1iU8_F.js +0 -4
  154. package/client/dist/assets/path-CbwjOpE9.js +0 -1
  155. package/client/dist/assets/pdf-CE_K4jFx.js +0 -12
  156. package/client/dist/assets/pdf.worker-BA9kU3Pw.mjs +0 -61080
  157. package/client/dist/assets/percentages-BXMCSKIN-WVlHS4wx.js +0 -207
  158. package/client/dist/assets/pica-CQIY57Tf.js +0 -7
  159. package/client/dist/assets/pieDiagram-8a3498a8-Dd_85qBH.js +0 -35
  160. package/client/dist/assets/pl-PL-T2D74RX3-ukVXa48G.js +0 -9
  161. package/client/dist/assets/pt-BR-5N22H2LF-BibawarT.js +0 -9
  162. package/client/dist/assets/pt-PT-UZXXM6DQ-So3i9l9w.js +0 -9
  163. package/client/dist/assets/quadrantDiagram-120e2f19-C4dFVDEx.js +0 -7
  164. package/client/dist/assets/requirementDiagram-deff3bca-DrTO7yFl.js +0 -52
  165. package/client/dist/assets/ro-RO-JPDTUUEW-DY0Xq_Hd.js +0 -11
  166. package/client/dist/assets/roundRect-0PYZxl1G.js +0 -1
  167. package/client/dist/assets/ru-RU-B4JR7IUQ-B7u_Zvkd.js +0 -9
  168. package/client/dist/assets/sankeyDiagram-04a897e0-D24gfzuS.js +0 -8
  169. package/client/dist/assets/sequenceDiagram-704730f1-Dgji2XLQ.js +0 -122
  170. package/client/dist/assets/si-LK-N5RQ5JYF-OejsLzQ_.js +0 -1
  171. package/client/dist/assets/sk-SK-C5VTKIMK-_vy2Bt-M.js +0 -6
  172. package/client/dist/assets/sl-SI-NN7IZMDC-DKOl_u2M.js +0 -6
  173. package/client/dist/assets/stateDiagram-587899a1-CJ8eBaiU.js +0 -1
  174. package/client/dist/assets/stateDiagram-v2-d93cdb3a-C5K3l-Nt.js +0 -1
  175. package/client/dist/assets/styles-6aaf32cf-DAKE0jbx.js +0 -207
  176. package/client/dist/assets/styles-9a916d00-LFAJCgEy.js +0 -160
  177. package/client/dist/assets/styles-c10674c1-CllKO8NG.js +0 -116
  178. package/client/dist/assets/subset-shared.chunk-Uy-J87FQ.js +0 -84
  179. package/client/dist/assets/subset-worker.chunk-dvgDvqt9.js +0 -1
  180. package/client/dist/assets/sv-SE-XGPEYMSR-CDCB2ZV5.js +0 -10
  181. package/client/dist/assets/svgDrawCommon-08f97a94-CObOzbFQ.js +0 -1
  182. package/client/dist/assets/ta-IN-2NMHFXQM-DHUNdO69.js +0 -9
  183. package/client/dist/assets/th-TH-HPSO5L25-zI2hnBq3.js +0 -2
  184. package/client/dist/assets/timeline-definition-85554ec2-C2XHRmxK.js +0 -61
  185. package/client/dist/assets/tr-TR-DEFEU3FU-l-6Hu4-D.js +0 -7
  186. package/client/dist/assets/uk-UA-QMV73CPH-CqSOwrl7.js +0 -6
  187. package/client/dist/assets/vendor-codemirror-D_s0aGBu.js +0 -35
  188. package/client/dist/assets/vendor-i18n-DCFGyhQR.js +0 -1
  189. package/client/dist/assets/vendor-icons-Lb69KSFJ.js +0 -646
  190. package/client/dist/assets/vendor-markdown-BXEi_H3G.js +0 -298
  191. package/client/dist/assets/vendor-react-9mUTKBHH.js +0 -67
  192. package/client/dist/assets/vendor-syntax-DnmwQQJF.js +0 -16
  193. package/client/dist/assets/vendor-xterm-CZq1hqo1.js +0 -66
  194. package/client/dist/assets/vendor-xterm-qxJ8_QYu.css +0 -32
  195. package/client/dist/assets/vi-VN-M7AON7JQ-CUL8-mBZ.js +0 -5
  196. package/client/dist/assets/xychartDiagram-e933f94c-1fmf6slj.js +0 -7
  197. package/client/dist/assets/zh-CN-LNUGB5OW-CB5y5VVU.js +0 -10
  198. package/client/dist/assets/zh-HK-E62DVLB3-BHcrrEeJ.js +0 -1
  199. package/client/dist/assets/zh-TW-RAJ6MFWO-DoDUdkaJ.js +0 -9
  200. package/client/dist/clear-cache.html +0 -85
  201. package/client/dist/convert-icons.md +0 -53
  202. package/client/dist/favicon.png +0 -0
  203. package/client/dist/favicon.svg +0 -9
  204. package/client/dist/generate-icons.js +0 -49
  205. package/client/dist/icons/claude-ai-icon.svg +0 -1
  206. package/client/dist/icons/codex-white.svg +0 -3
  207. package/client/dist/icons/codex.svg +0 -3
  208. package/client/dist/icons/cursor-white.svg +0 -12
  209. package/client/dist/icons/cursor.svg +0 -1
  210. package/client/dist/icons/icon-128x128.png +0 -0
  211. package/client/dist/icons/icon-128x128.svg +0 -12
  212. package/client/dist/icons/icon-144x144.png +0 -0
  213. package/client/dist/icons/icon-144x144.svg +0 -12
  214. package/client/dist/icons/icon-152x152.png +0 -0
  215. package/client/dist/icons/icon-152x152.svg +0 -12
  216. package/client/dist/icons/icon-192x192.png +0 -0
  217. package/client/dist/icons/icon-192x192.svg +0 -12
  218. package/client/dist/icons/icon-384x384.png +0 -0
  219. package/client/dist/icons/icon-384x384.svg +0 -12
  220. package/client/dist/icons/icon-512x512.png +0 -0
  221. package/client/dist/icons/icon-512x512.svg +0 -12
  222. package/client/dist/icons/icon-72x72.png +0 -0
  223. package/client/dist/icons/icon-72x72.svg +0 -12
  224. package/client/dist/icons/icon-96x96.png +0 -0
  225. package/client/dist/icons/icon-96x96.svg +0 -12
  226. package/client/dist/icons/icon-template.svg +0 -12
  227. package/client/dist/index.html +0 -128
  228. package/client/dist/logo-128.png +0 -0
  229. package/client/dist/logo-256.png +0 -0
  230. package/client/dist/logo-32.png +0 -0
  231. package/client/dist/logo-512.png +0 -0
  232. package/client/dist/logo-64.png +0 -0
  233. package/client/dist/logo.svg +0 -17
  234. package/client/dist/manifest.json +0 -61
  235. package/client/dist/mcp-docs.html +0 -119
  236. package/client/dist/screenshots/cli-selection.png +0 -0
  237. package/client/dist/screenshots/desktop-main.png +0 -0
  238. package/client/dist/screenshots/mobile-chat.png +0 -0
  239. package/client/dist/screenshots/tools-modal.png +0 -0
  240. package/client/dist/sw.js +0 -19
  241. package/commands/upfynai-connect.md +0 -59
  242. package/commands/upfynai-disconnect.md +0 -31
  243. package/commands/upfynai-doctor.md +0 -99
  244. package/commands/upfynai-export.md +0 -49
  245. package/commands/upfynai-local.md +0 -82
  246. package/commands/upfynai-status.md +0 -75
  247. package/commands/upfynai-stop.md +0 -49
  248. package/commands/upfynai-uninstall.md +0 -58
  249. package/commands/upfynai.md +0 -69
  250. package/scripts/build-client.js +0 -17
  251. package/scripts/fix-node-pty.js +0 -67
  252. package/scripts/install-commands.js +0 -78
  253. package/server/claude-sdk.js +0 -714
  254. package/server/cli-ui.js +0 -785
  255. package/server/cli.js +0 -596
  256. package/server/constants/config.js +0 -31
  257. package/server/cursor-cli.js +0 -270
  258. package/server/database/auth.db +0 -0
  259. package/server/database/db.js +0 -822
  260. package/server/database/init.sql +0 -70
  261. package/server/index.js +0 -2738
  262. package/server/load-env.js +0 -26
  263. package/server/mcp-server.js +0 -621
  264. package/server/middleware/auth.js +0 -181
  265. package/server/openai-codex.js +0 -403
  266. package/server/openrouter.js +0 -137
  267. package/server/projects.js +0 -1742
  268. package/server/relay-client.js +0 -672
  269. package/server/routes/agent.js +0 -1226
  270. package/server/routes/auth.js +0 -266
  271. package/server/routes/cli-auth.js +0 -263
  272. package/server/routes/codex.js +0 -344
  273. package/server/routes/commands.js +0 -598
  274. package/server/routes/cursor.js +0 -807
  275. package/server/routes/dashboard.js +0 -205
  276. package/server/routes/git.js +0 -1151
  277. package/server/routes/mcp-utils.js +0 -48
  278. package/server/routes/mcp.js +0 -535
  279. package/server/routes/payments.js +0 -172
  280. package/server/routes/projects.js +0 -552
  281. package/server/routes/settings.js +0 -261
  282. package/server/routes/taskmaster.js +0 -1928
  283. package/server/routes/user.js +0 -106
  284. package/server/routes/vapi-chat.js +0 -94
  285. package/server/routes/voice.js +0 -194
  286. package/server/routes/webhooks.js +0 -166
  287. package/server/routes/workflows.js +0 -118
  288. package/server/sandbox.js +0 -120
  289. package/server/services/whisperService.js +0 -84
  290. package/server/services/workflowScheduler.js +0 -186
  291. package/server/utils/commandParser.js +0 -303
  292. package/server/utils/gitConfig.js +0 -24
  293. package/server/utils/mcp-detector.js +0 -198
  294. package/server/utils/taskmaster-websocket.js +0 -129
  295. package/shared/modelConstants.js +0 -96
@@ -1,298 +0,0 @@
1
- import{g as ko,j as Ji}from"./vendor-react-9mUTKBHH.js";function Ei(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const u=n.slice(i,r).trim();(u||!a)&&t.push(u),i=r+1,r=n.indexOf(",",i)}return t}function Ao(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const $h=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Yh=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Vh={};function Ou(e,t){return(Vh.jsx?Yh:$h).test(e)}const Gh=/[ \t\n\f\r]/g;function jh(e){return typeof e=="object"?e.type==="text"?Mu(e.value):!1:Mu(e)}function Mu(e){return e.replace(Gh,"")===""}class Pr{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Pr.prototype.normal={};Pr.prototype.property={};Pr.prototype.space=void 0;function vo(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Pr(n,r,t)}function Mn(e){return e.toLowerCase()}class dt{constructor(t,n){this.attribute=n,this.property=t}}dt.prototype.attribute="";dt.prototype.booleanish=!1;dt.prototype.boolean=!1;dt.prototype.commaOrSpaceSeparated=!1;dt.prototype.commaSeparated=!1;dt.prototype.defined=!1;dt.prototype.mustUseProperty=!1;dt.prototype.number=!1;dt.prototype.overloadedBoolean=!1;dt.prototype.property="";dt.prototype.spaceSeparated=!1;dt.prototype.space=void 0;let Wh=0;const pe=Rn(),Ye=Rn(),r0=Rn(),J=Rn(),Ne=Rn(),Vn=Rn(),bt=Rn();function Rn(){return 2**++Wh}const i0=Object.freeze(Object.defineProperty({__proto__:null,boolean:pe,booleanish:Ye,commaOrSpaceSeparated:bt,commaSeparated:Vn,number:J,overloadedBoolean:r0,spaceSeparated:Ne},Symbol.toStringTag,{value:"Module"})),ea=Object.keys(i0);class F0 extends dt{constructor(t,n,r,i){let a=-1;if(super(t,n),Ru(this,"space",i),typeof r=="number")for(;++a<ea.length;){const u=ea[a];Ru(this,ea[a],(r&i0[u])===i0[u])}}}F0.prototype.defined=!0;function Ru(e,t,n){n&&(e[t]=n)}function Jn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new F0(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Mn(r)]=r,n[Mn(a.attribute)]=r}return new Pr(t,n,e.space)}const So=Jn({properties:{ariaActiveDescendant:null,ariaAtomic:Ye,ariaAutoComplete:null,ariaBusy:Ye,ariaChecked:Ye,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:Ne,ariaCurrent:null,ariaDescribedBy:Ne,ariaDetails:null,ariaDisabled:Ye,ariaDropEffect:Ne,ariaErrorMessage:null,ariaExpanded:Ye,ariaFlowTo:Ne,ariaGrabbed:Ye,ariaHasPopup:null,ariaHidden:Ye,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ne,ariaLevel:J,ariaLive:null,ariaModal:Ye,ariaMultiLine:Ye,ariaMultiSelectable:Ye,ariaOrientation:null,ariaOwns:Ne,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:Ye,ariaReadOnly:Ye,ariaRelevant:null,ariaRequired:Ye,ariaRoleDescription:Ne,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:Ye,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function wo(e,t){return t in e?e[t]:t}function Co(e,t){return wo(e,t.toLowerCase())}const Xh=Jn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Vn,acceptCharset:Ne,accessKey:Ne,action:null,allow:null,allowFullScreen:pe,allowPaymentRequest:pe,allowUserMedia:pe,alt:null,as:null,async:pe,autoCapitalize:null,autoComplete:Ne,autoFocus:pe,autoPlay:pe,blocking:Ne,capture:null,charSet:null,checked:pe,cite:null,className:Ne,cols:J,colSpan:null,content:null,contentEditable:Ye,controls:pe,controlsList:Ne,coords:J|Vn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pe,defer:pe,dir:null,dirName:null,disabled:pe,download:r0,draggable:Ye,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pe,formTarget:null,headers:Ne,height:J,hidden:r0,high:J,href:null,hrefLang:null,htmlFor:Ne,httpEquiv:Ne,id:null,imageSizes:null,imageSrcSet:null,inert:pe,inputMode:null,integrity:null,is:null,isMap:pe,itemId:null,itemProp:Ne,itemRef:Ne,itemScope:pe,itemType:Ne,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pe,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,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:J,pattern:null,ping:Ne,placeholder:null,playsInline:pe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:pe,referrerPolicy:null,rel:Ne,required:pe,reversed:pe,rows:J,rowSpan:J,sandbox:Ne,scope:null,scoped:pe,seamless:pe,selected:pe,shadowRootClonable:pe,shadowRootDelegatesFocus:pe,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:Ye,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:pe,useMap:null,value:Ye,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ne,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,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:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:pe,noHref:pe,noShade:pe,noWrap:pe,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:Ye,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pe,disableRemotePlayback:pe,prefix:null,property:null,results:J,security:null,unselectable:null},space:"html",transform:Co}),Qh=Jn({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:bt,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:Ne,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:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:pe,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,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:Vn,g2:Vn,glyphName:Vn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:bt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,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:J,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:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ne,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:bt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:bt,rev:bt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:bt,requiredFeatures:bt,requiredFonts:bt,requiredFormats:bt,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:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:bt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:bt,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:bt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:wo}),Io=Jn({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()}}),_o=Jn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Co}),No=Jn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Kh={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"},Zh=/[A-Z]/g,Pu=/-[a-z]/g,Jh=/^data[-\w.:]+$/i;function Br(e,t){const n=Mn(t);let r=t,i=dt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Jh.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Pu,tf);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Pu.test(a)){let u=a.replace(Zh,ef);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}i=F0}return new i(r,t)}function ef(e){return"-"+e.toLowerCase()}function tf(e){return e.charAt(1).toUpperCase()}const er=vo([So,Xh,Io,_o,No],"html"),ln=vo([So,Qh,Io,_o,No],"svg");function Ti(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Do(e){return e.join(" ").trim()}var Hn={},ta,Bu;function nf(){if(Bu)return ta;Bu=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,s=/^\s+|\s+$/g,l=`
2
- `,o="/",c="*",f="",p="comment",m="declaration";function y(N,k){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];k=k||{};var D=1,O=1;function j(te){var Y=te.match(t);Y&&(D+=Y.length);var le=te.lastIndexOf(l);O=~le?te.length-le:O+te.length}function $(){var te={line:D,column:O};return function(Y){return Y.position=new w(te),G(),Y}}function w(te){this.start=te,this.end={line:D,column:O},this.source=k.source}w.prototype.content=N;function V(te){var Y=new Error(k.source+":"+D+":"+O+": "+te);if(Y.reason=te,Y.filename=k.source,Y.line=D,Y.column=O,Y.source=N,!k.silent)throw Y}function ee(te){var Y=te.exec(N);if(Y){var le=Y[0];return j(le),N=N.slice(le.length),Y}}function G(){ee(n)}function P(te){var Y;for(te=te||[];Y=H();)Y!==!1&&te.push(Y);return te}function H(){var te=$();if(!(o!=N.charAt(0)||c!=N.charAt(1))){for(var Y=2;f!=N.charAt(Y)&&(c!=N.charAt(Y)||o!=N.charAt(Y+1));)++Y;if(Y+=2,f===N.charAt(Y-1))return V("End of comment missing");var le=N.slice(2,Y-2);return O+=2,j(le),N=N.slice(Y),O+=2,te({type:p,comment:le})}}function F(){var te=$(),Y=ee(r);if(Y){if(H(),!ee(i))return V("property missing ':'");var le=ee(a),de=te({type:m,property:v(Y[0].replace(e,f)),value:le?v(le[0].replace(e,f)):f});return ee(u),de}}function ue(){var te=[];P(te);for(var Y;Y=F();)Y!==!1&&(te.push(Y),P(te));return te}return G(),ue()}function v(N){return N?N.replace(s,f):f}return ta=y,ta}var Fu;function rf(){if(Fu)return Hn;Fu=1;var e=Hn&&Hn.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=n;const t=e(nf());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const u=(0,t.default)(r),s=typeof i=="function";return u.forEach(l=>{if(l.type!=="declaration")return;const{property:o,value:c}=l;s?i(o,c,l):c&&(a=a||{},a[o]=c)}),a}return Hn}var cr={},zu;function af(){if(zu)return cr;zu=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(o){return!o||n.test(o)||e.test(o)},u=function(o,c){return c.toUpperCase()},s=function(o,c){return"".concat(c,"-")},l=function(o,c){return c===void 0&&(c={}),a(o)?o:(o=o.toLowerCase(),c.reactCompat?o=o.replace(i,s):o=o.replace(r,s),o.replace(t,u))};return cr.camelCase=l,cr}var hr,Hu;function uf(){if(Hu)return hr;Hu=1;var e=hr&&hr.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(rf()),n=af();function r(i,a){var u={};return!i||typeof i!="string"||(0,t.default)(i,function(s,l){s&&l&&(u[(0,n.camelCase)(s,a)]=l)}),u}return r.default=r,hr=r,hr}var sf=uf();const lf=ko(sf),Di=Lo("end"),$t=Lo("start");function Lo(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function of(e){const t=$t(e),n=Di(e);if(t&&n)return{start:t,end:n}}function cf(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Uu(e.position):"start"in e||"end"in e?Uu(e):"line"in e||"column"in e?a0(e):""}function a0(e){return qu(e&&e.line)+":"+qu(e&&e.column)}function Uu(e){return a0(e&&e.start)+"-"+a0(e&&e.end)}function qu(e){return e&&typeof e=="number"?e:1}class tt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},u=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(u=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?a.ruleId=r:(a.source=r.slice(0,l),a.ruleId=r.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=cf(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=u&&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}}tt.prototype.file="";tt.prototype.name="";tt.prototype.reason="";tt.prototype.message="";tt.prototype.stack="";tt.prototype.column=void 0;tt.prototype.line=void 0;tt.prototype.ancestors=void 0;tt.prototype.cause=void 0;tt.prototype.fatal=void 0;tt.prototype.place=void 0;tt.prototype.ruleId=void 0;tt.prototype.source=void 0;const z0={}.hasOwnProperty,hf=new Map,ff=/[A-Z]/g,mf=new Set(["table","tbody","thead","tfoot","tr"]),df=new Set(["td","th"]),Oo="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function pf(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Af(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=kf(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ln:er,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Mo(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function Mo(e,t,n){if(t.type==="element")return gf(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return bf(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Tf(e,t,n);if(t.type==="mdxjsEsm")return Ef(e,t);if(t.type==="root")return xf(e,t,n);if(t.type==="text")return yf(e,t)}function gf(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ln,e.schema=i),e.ancestors.push(t);const a=Po(e,t.tagName,!1),u=vf(e,t);let s=U0(e,t);return mf.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!jh(l):!0})),Ro(e,u,a,t),H0(u,s),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function bf(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}_r(e,t.position)}function Ef(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);_r(e,t.position)}function Tf(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=ln,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Po(e,t.name,!0),u=Sf(e,t),s=U0(e,t);return Ro(e,u,a,t),H0(u,s),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function xf(e,t,n){const r={};return H0(r,U0(e,t)),e.create(t,e.Fragment,r,n)}function yf(e,t){return t.value}function Ro(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function H0(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function kf(e,t,n){return r;function r(i,a,u,s){const o=Array.isArray(u.children)?n:t;return s?o(a,u,s):o(a,u)}}function Af(e,t){return n;function n(r,i,a,u){const s=Array.isArray(a.children),l=$t(r);return t(i,a,u,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function vf(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&z0.call(t.properties,i)){const a=wf(e,i,t.properties[i]);if(a){const[u,s]=a;e.tableCellAlignToStyle&&u==="align"&&typeof s=="string"&&df.has(t.tagName)?r=s:n[u]=s}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Sf(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const u=a.expression;u.type;const s=u.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else _r(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else _r(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function U0(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:hf;for(;++r<t.children.length;){const a=t.children[r];let u;if(e.passKeys){const l=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(l){const o=i.get(l)||0;u=l+"-"+o,i.set(l,o+1)}}const s=Mo(e,a,u);s!==void 0&&n.push(s)}return n}function wf(e,t,n){const r=Br(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Ao(n):Do(n)),r.property==="style"){let i=typeof n=="object"?n:Cf(e,String(n));return e.stylePropertyNameCase==="css"&&(i=If(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Kh[r.property]||r.property:r.attribute,n]}}function Cf(e,t){try{return lf(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new tt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Oo+"#cannot-parse-style-attribute",i}}function Po(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,u;for(;++a<i.length;){const s=Ou(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};u=u?{type:"MemberExpression",object:u,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}r=u}else r=Ou(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return z0.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);_r(e)}function _r(e,t){const n=new tt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Oo+"#cannot-handle-mdx-estrees-without-createevaluater",n}function If(e){const t={};let n;for(n in e)z0.call(e,n)&&(t[_f(n)]=e[n]);return t}function _f(e){let t=e.replace(ff,Nf);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Nf(e){return"-"+e.toLowerCase()}const na={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Df={};function Lf(e,t){const n=Df,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Bo(e,r,i)}function Bo(e,t,n){if(Of(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return $u(e.children,t,n)}return Array.isArray(e)?$u(e,t,n):""}function $u(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Bo(e[i],t,n);return r.join("")}function Of(e){return!!(e&&typeof e=="object")}const Yu=document.createElement("i");function tr(e){const t="&"+e+";";Yu.innerHTML=t;const n=Yu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ut(e,t,n,r){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<r.length;)u=r.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}function yt(e,t){return e.length>0?(Ut(e,e.length,0,t),e):t}const Vu={}.hasOwnProperty;function Mf(e){const t={};let n=-1;for(;++n<e.length;)Rf(t,e[n]);return t}function Rf(e,t){let n;for(n in t){const i=(Vu.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let u;if(a)for(u in a){Vu.call(i,u)||(i[u]=[]);const s=a[u];Pf(i[u],Array.isArray(s)?s:s?[s]:[])}}}function Pf(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ut(e,0,0,r)}function Fo(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Gn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pt=An(/[A-Za-z]/),_t=An(/[\dA-Za-z]/),Bf=An(/[#-'*+\--9=?A-Z^-~]/);function u0(e){return e!==null&&(e<32||e===127)}const s0=An(/\d/),Ff=An(/[\dA-Fa-f]/),zf=An(/[!-/:-@[-`{-~]/);function fe(e){return e!==null&&e<-2}function ft(e){return e!==null&&(e<0||e===32)}function ve(e){return e===-2||e===-1||e===32}const Hf=An(new RegExp("\\p{P}|\\p{S}","u")),Uf=An(/\s/);function An(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function De(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(l){return ve(l)?(e.enter(n),s(l)):t(l)}function s(l){return ve(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}const qf={tokenize:$f};function $f(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),De(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,u(s)}function u(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return fe(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),u)}}const Yf={tokenize:Vf},Gu={tokenize:Gf};function Vf(e){const t=this,n=[];let r=0,i,a,u;return s;function s(O){if(r<n.length){const j=n[r];return t.containerState=j[1],e.attempt(j[0].continuation,l,o)(O)}return o(O)}function l(O){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&D();const j=t.events.length;let $=j,w;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){w=t.events[$][1].end;break}k(r);let V=j;for(;V<t.events.length;)t.events[V][1].end={...w},V++;return Ut(t.events,$+1,0,t.events.slice(j)),t.events.length=V,o(O)}return s(O)}function o(O){if(r===n.length){if(!i)return p(O);if(i.currentConstruct&&i.currentConstruct.concrete)return y(O);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Gu,c,f)(O)}function c(O){return i&&D(),k(r),p(O)}function f(O){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,y(O)}function p(O){return t.containerState={},e.attempt(Gu,m,y)(O)}function m(O){return r++,n.push([t.currentConstruct,t.containerState]),p(O)}function y(O){if(O===null){i&&D(),k(0),e.consume(O);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),v(O)}function v(O){if(O===null){N(e.exit("chunkFlow"),!0),k(0),e.consume(O);return}return fe(O)?(e.consume(O),N(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(O),v)}function N(O,j){const $=t.sliceStream(O);if(j&&$.push(null),O.previous=a,a&&(a.next=O),a=O,i.defineSkip(O.start),i.write($),t.parser.lazy[O.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<u&&(!i.events[w][1].end||i.events[w][1].end.offset>u))return;const V=t.events.length;let ee=V,G,P;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){P=t.events[ee][1].end;break}G=!0}for(k(r),w=V;w<t.events.length;)t.events[w][1].end={...P},w++;Ut(t.events,ee+1,0,t.events.slice(V)),t.events.length=w}}function k(O){let j=n.length;for(;j-- >O;){const $=n[j];t.containerState=$[1],$[0].exit.call(t,e)}n.length=O}function D(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Gf(e,t,n){return De(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ju(e){if(e===null||ft(e)||Uf(e))return 1;if(Hf(e))return 2}function q0(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const l0={name:"attention",resolveAll:jf,tokenize:Wf};function jf(e,t){let n=-1,r,i,a,u,s,l,o,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};Wu(f,-l),Wu(p,l),u={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},a={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...u.start},end:{...s.end}},e[r][1].end={...u.start},e[n][1].start={...s.end},o=[],e[r][1].end.offset-e[r][1].start.offset&&(o=yt(o,[["enter",e[r][1],t],["exit",e[r][1],t]])),o=yt(o,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),o=yt(o,q0(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),o=yt(o,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,o=yt(o,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Ut(e,r-1,n-r+3,o),n=r+o.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Wf(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ju(r);let a;return u;function u(l){return a=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===a)return e.consume(l),s;const o=e.exit("attentionSequence"),c=ju(l),f=!c||c===2&&i||n.includes(l),p=!i||i===2&&c||n.includes(r);return o._open=!!(a===42?f:f&&(i||!p)),o._close=!!(a===42?p:p&&(c||!f)),t(l)}}function Wu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Xf={name:"autolink",tokenize:Qf};function Qf(e,t,n){let r=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 Pt(m)?(e.consume(m),u):m===64?n(m):o(m)}function u(m){return m===43||m===45||m===46||_t(m)?(r=1,s(m)):o(m)}function s(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||_t(m))&&r++<32?(e.consume(m),s):(r=0,o(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||u0(m)?n(m):(e.consume(m),l)}function o(m){return m===64?(e.consume(m),c):Bf(m)?(e.consume(m),o):n(m)}function c(m){return _t(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,c):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):p(m)}function p(m){if((m===45||_t(m))&&r++<63){const y=m===45?p:f;return e.consume(m),y}return n(m)}}const Li={partial:!0,tokenize:Kf};function Kf(e,t,n){return r;function r(a){return ve(a)?De(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||fe(a)?t(a):n(a)}}const zo={continuation:{tokenize:Jf},exit:em,name:"blockQuote",tokenize:Zf};function Zf(e,t,n){const r=this;return i;function i(u){if(u===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return n(u)}function a(u){return ve(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function Jf(e,t,n){const r=this;return i;function i(u){return ve(u)?De(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return e.attempt(zo,t,n)(u)}}function em(e){e.exit("blockQuote")}const Ho={name:"characterEscape",tokenize:tm};function tm(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return zf(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Uo={name:"characterReference",tokenize:nm};function nm(e,t,n){const r=this;let i=0,a,u;return s;function s(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"),o):(e.enter("characterReferenceValue"),a=31,u=_t,c(f))}function o(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=Ff,c):(e.enter("characterReferenceValue"),a=7,u=s0,c(f))}function c(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return u===_t&&!tr(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(f)&&i++<a?(e.consume(f),c):n(f)}}const Xu={partial:!0,tokenize:im},Qu={concrete:!0,name:"codeFenced",tokenize:rm};function rm(e,t,n){const r=this,i={partial:!0,tokenize:$};let a=0,u=0,s;return l;function l(w){return o(w)}function o(w){const V=r.events[r.events.length-1];return a=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,s=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(w)}function c(w){return w===s?(u++,e.consume(w),c):u<3?n(w):(e.exit("codeFencedFenceSequence"),ve(w)?De(e,f,"whitespace")(w):f(w))}function f(w){return w===null||fe(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(Xu,v,j)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===null||fe(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(w)):ve(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),De(e,m,"whitespace")(w)):w===96&&w===s?n(w):(e.consume(w),p)}function m(w){return w===null||fe(w)?f(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(w))}function y(w){return w===null||fe(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(w)):w===96&&w===s?n(w):(e.consume(w),y)}function v(w){return e.attempt(i,j,N)(w)}function N(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),k}function k(w){return a>0&&ve(w)?De(e,D,"linePrefix",a+1)(w):D(w)}function D(w){return w===null||fe(w)?e.check(Xu,v,j)(w):(e.enter("codeFlowValue"),O(w))}function O(w){return w===null||fe(w)?(e.exit("codeFlowValue"),D(w)):(e.consume(w),O)}function j(w){return e.exit("codeFenced"),t(w)}function $(w,V,ee){let G=0;return P;function P(Y){return w.enter("lineEnding"),w.consume(Y),w.exit("lineEnding"),H}function H(Y){return w.enter("codeFencedFence"),ve(Y)?De(w,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):F(Y)}function F(Y){return Y===s?(w.enter("codeFencedFenceSequence"),ue(Y)):ee(Y)}function ue(Y){return Y===s?(G++,w.consume(Y),ue):G>=u?(w.exit("codeFencedFenceSequence"),ve(Y)?De(w,te,"whitespace")(Y):te(Y)):ee(Y)}function te(Y){return Y===null||fe(Y)?(w.exit("codeFencedFence"),V(Y)):ee(Y)}}}function im(e,t,n){const r=this;return i;function i(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const ra={name:"codeIndented",tokenize:um},am={partial:!0,tokenize:sm};function um(e,t,n){const r=this;return i;function i(o){return e.enter("codeIndented"),De(e,a,"linePrefix",5)(o)}function a(o){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?u(o):n(o)}function u(o){return o===null?l(o):fe(o)?e.attempt(am,u,l)(o):(e.enter("codeFlowValue"),s(o))}function s(o){return o===null||fe(o)?(e.exit("codeFlowValue"),u(o)):(e.consume(o),s)}function l(o){return e.exit("codeIndented"),t(o)}}function sm(e,t,n){const r=this;return i;function i(u){return r.parser.lazy[r.now().line]?n(u):fe(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):De(e,a,"linePrefix",5)(u)}function a(u){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):fe(u)?i(u):n(u)}}const lm={name:"codeText",previous:cm,resolve:om,tokenize:hm};function om(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function cm(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function hm(e,t,n){let r=0,i,a;return u;function u(f){return e.enter("codeText"),e.enter("codeTextSequence"),s(f)}function s(f){return f===96?(e.consume(f),r++,s):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(a=e.enter("codeTextSequence"),i=0,c(f)):fe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),o(f))}function o(f){return f===null||f===32||f===96||fe(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),o)}function c(f){return f===96?(e.consume(f),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",o(f))}}class fm{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&fr(this.left,r),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),fr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),fr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);fr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);fr(this.left,n.reverse())}}}function fr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function qo(e){const t={};let n=-1,r,i,a,u,s,l,o;const c=new fm(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(l=r[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(r[0]==="enter")r[1].contentType&&(Object.assign(t,mm(c,n)),n=t[n],o=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(u=c.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;i&&(r[1].end={...c.get(i)[1].start},s=c.slice(i,n),s.unshift(r),c.splice(i,n-i+1,s))}}return Ut(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!o}function mm(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let u=n._tokenizer;u||(u=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const s=u.events,l=[],o={};let c,f,p=-1,m=n,y=0,v=0;const N=[v];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(c=r.sliceStream(m),m.next||c.push(null),f&&u.defineSkip(m.start),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(c),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++p<s.length;)s[p][0]==="exit"&&s[p-1][0]==="enter"&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(v=p+1,N.push(v),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(u.events=[],m?(m._tokenizer=void 0,m.previous=void 0):N.pop(),p=N.length;p--;){const k=s.slice(N[p],N[p+1]),D=a.pop();l.push([D,D+k.length-1]),e.splice(D,2,k)}for(l.reverse(),p=-1;++p<l.length;)o[y+l[p][0]]=y+l[p][1],y+=l[p][1]-l[p][0]-1;return o}const dm={resolve:gm,tokenize:bm},pm={partial:!0,tokenize:Em};function gm(e){return qo(e),e}function bm(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):fe(s)?e.check(pm,u,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function u(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Em(e,t,n){const r=this;return i;function i(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),De(e,a,"linePrefix")}function a(u){if(u===null||fe(u))return n(u);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,n,t)(u)}}function $o(e,t,n,r,i,a,u,s,l){const o=l||Number.POSITIVE_INFINITY;let c=0;return f;function f(k){return k===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(k),e.exit(a),p):k===null||k===32||k===41||u0(k)?n(k):(e.enter(r),e.enter(u),e.enter(s),e.enter("chunkString",{contentType:"string"}),v(k))}function p(k){return k===62?(e.enter(a),e.consume(k),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===62?(e.exit("chunkString"),e.exit(s),p(k)):k===null||k===60||fe(k)?n(k):(e.consume(k),k===92?y:m)}function y(k){return k===60||k===62||k===92?(e.consume(k),m):m(k)}function v(k){return!c&&(k===null||k===41||ft(k))?(e.exit("chunkString"),e.exit(s),e.exit(u),e.exit(r),t(k)):c<o&&k===40?(e.consume(k),c++,v):k===41?(e.consume(k),c--,v):k===null||k===32||k===40||u0(k)?n(k):(e.consume(k),k===92?N:v)}function N(k){return k===40||k===41||k===92?(e.consume(k),v):v(k)}}function Yo(e,t,n,r,i,a){const u=this;let s=0,l;return o;function o(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),c}function c(m){return s>999||m===null||m===91||m===93&&!l||m===94&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):fe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||fe(m)||s++>999?(e.exit("chunkString"),c(m)):(e.consume(m),l||(l=!ve(m)),m===92?p:f)}function p(m){return m===91||m===92||m===93?(e.consume(m),s++,f):f(m)}}function Vo(e,t,n,r,i,a){let u;return s;function s(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),u=p===40?41:p,l):n(p)}function l(p){return p===u?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),o(p))}function o(p){return p===u?(e.exit(a),l(u)):p===null?n(p):fe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),De(e,o,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===u||p===null||fe(p)?(e.exit("chunkString"),o(p)):(e.consume(p),p===92?f:c)}function f(p){return p===u||p===92?(e.consume(p),c):c(p)}}function Tr(e,t){let n;return r;function r(i){return fe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ve(i)?De(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Tm={name:"definition",tokenize:ym},xm={partial:!0,tokenize:km};function ym(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),u(m)}function u(m){return Yo.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=Gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return ft(m)?Tr(e,o)(m):o(m)}function o(m){return $o(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(xm,f,f)(m)}function f(m){return ve(m)?De(e,p,"whitespace")(m):p(m)}function p(m){return m===null||fe(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function km(e,t,n){return r;function r(s){return ft(s)?Tr(e,i)(s):n(s)}function i(s){return Vo(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return ve(s)?De(e,u,"whitespace")(s):u(s)}function u(s){return s===null||fe(s)?t(s):n(s)}}const Am={name:"hardBreakEscape",tokenize:vm};function vm(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return fe(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const Sm={name:"headingAtx",resolve:wm,tokenize:Cm};function wm(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ut(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Cm(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),u(c)}function u(c){return c===35&&r++<6?(e.consume(c),u):c===null||ft(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||fe(c)?(e.exit("atxHeading"),t(c)):ve(c)?De(e,s,"whitespace")(c):(e.enter("atxHeadingText"),o(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function o(c){return c===null||c===35||ft(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),o)}}const Im=["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"],Ku=["pre","script","style","textarea"],_m={concrete:!0,name:"htmlFlow",resolveTo:Lm,tokenize:Om},Nm={partial:!0,tokenize:Rm},Dm={partial:!0,tokenize:Mm};function Lm(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 Om(e,t,n){const r=this;let i,a,u,s,l;return o;function o(E){return c(E)}function c(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),f}function f(E){return E===33?(e.consume(E),p):E===47?(e.consume(E),a=!0,v):E===63?(e.consume(E),i=3,r.interrupt?t:b):Pt(E)?(e.consume(E),u=String.fromCharCode(E),N):n(E)}function p(E){return E===45?(e.consume(E),i=2,m):E===91?(e.consume(E),i=5,s=0,y):Pt(E)?(e.consume(E),i=4,r.interrupt?t:b):n(E)}function m(E){return E===45?(e.consume(E),r.interrupt?t:b):n(E)}function y(E){const Ie="CDATA[";return E===Ie.charCodeAt(s++)?(e.consume(E),s===Ie.length?r.interrupt?t:F:y):n(E)}function v(E){return Pt(E)?(e.consume(E),u=String.fromCharCode(E),N):n(E)}function N(E){if(E===null||E===47||E===62||ft(E)){const Ie=E===47,Ue=u.toLowerCase();return!Ie&&!a&&Ku.includes(Ue)?(i=1,r.interrupt?t(E):F(E)):Im.includes(u.toLowerCase())?(i=6,Ie?(e.consume(E),k):r.interrupt?t(E):F(E)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(E):a?D(E):O(E))}return E===45||_t(E)?(e.consume(E),u+=String.fromCharCode(E),N):n(E)}function k(E){return E===62?(e.consume(E),r.interrupt?t:F):n(E)}function D(E){return ve(E)?(e.consume(E),D):P(E)}function O(E){return E===47?(e.consume(E),P):E===58||E===95||Pt(E)?(e.consume(E),j):ve(E)?(e.consume(E),O):P(E)}function j(E){return E===45||E===46||E===58||E===95||_t(E)?(e.consume(E),j):$(E)}function $(E){return E===61?(e.consume(E),w):ve(E)?(e.consume(E),$):O(E)}function w(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),l=E,V):ve(E)?(e.consume(E),w):ee(E)}function V(E){return E===l?(e.consume(E),l=null,G):E===null||fe(E)?n(E):(e.consume(E),V)}function ee(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||ft(E)?$(E):(e.consume(E),ee)}function G(E){return E===47||E===62||ve(E)?O(E):n(E)}function P(E){return E===62?(e.consume(E),H):n(E)}function H(E){return E===null||fe(E)?F(E):ve(E)?(e.consume(E),H):n(E)}function F(E){return E===45&&i===2?(e.consume(E),le):E===60&&i===1?(e.consume(E),de):E===62&&i===4?(e.consume(E),ye):E===63&&i===3?(e.consume(E),b):E===93&&i===5?(e.consume(E),Be):fe(E)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Nm,ke,ue)(E)):E===null||fe(E)?(e.exit("htmlFlowData"),ue(E)):(e.consume(E),F)}function ue(E){return e.check(Dm,te,ke)(E)}function te(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),Y}function Y(E){return E===null||fe(E)?ue(E):(e.enter("htmlFlowData"),F(E))}function le(E){return E===45?(e.consume(E),b):F(E)}function de(E){return E===47?(e.consume(E),u="",we):F(E)}function we(E){if(E===62){const Ie=u.toLowerCase();return Ku.includes(Ie)?(e.consume(E),ye):F(E)}return Pt(E)&&u.length<8?(e.consume(E),u+=String.fromCharCode(E),we):F(E)}function Be(E){return E===93?(e.consume(E),b):F(E)}function b(E){return E===62?(e.consume(E),ye):E===45&&i===2?(e.consume(E),b):F(E)}function ye(E){return E===null||fe(E)?(e.exit("htmlFlowData"),ke(E)):(e.consume(E),ye)}function ke(E){return e.exit("htmlFlow"),t(E)}}function Mm(e,t,n){const r=this;return i;function i(u){return fe(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):n(u)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function Rm(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Li,t,n)}}const Pm={name:"htmlText",tokenize:Bm};function Bm(e,t,n){const r=this;let i,a,u;return s;function s(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),l}function l(b){return b===33?(e.consume(b),o):b===47?(e.consume(b),$):b===63?(e.consume(b),O):Pt(b)?(e.consume(b),ee):n(b)}function o(b){return b===45?(e.consume(b),c):b===91?(e.consume(b),a=0,y):Pt(b)?(e.consume(b),D):n(b)}function c(b){return b===45?(e.consume(b),m):n(b)}function f(b){return b===null?n(b):b===45?(e.consume(b),p):fe(b)?(u=f,de(b)):(e.consume(b),f)}function p(b){return b===45?(e.consume(b),m):f(b)}function m(b){return b===62?le(b):b===45?p(b):f(b)}function y(b){const ye="CDATA[";return b===ye.charCodeAt(a++)?(e.consume(b),a===ye.length?v:y):n(b)}function v(b){return b===null?n(b):b===93?(e.consume(b),N):fe(b)?(u=v,de(b)):(e.consume(b),v)}function N(b){return b===93?(e.consume(b),k):v(b)}function k(b){return b===62?le(b):b===93?(e.consume(b),k):v(b)}function D(b){return b===null||b===62?le(b):fe(b)?(u=D,de(b)):(e.consume(b),D)}function O(b){return b===null?n(b):b===63?(e.consume(b),j):fe(b)?(u=O,de(b)):(e.consume(b),O)}function j(b){return b===62?le(b):O(b)}function $(b){return Pt(b)?(e.consume(b),w):n(b)}function w(b){return b===45||_t(b)?(e.consume(b),w):V(b)}function V(b){return fe(b)?(u=V,de(b)):ve(b)?(e.consume(b),V):le(b)}function ee(b){return b===45||_t(b)?(e.consume(b),ee):b===47||b===62||ft(b)?G(b):n(b)}function G(b){return b===47?(e.consume(b),le):b===58||b===95||Pt(b)?(e.consume(b),P):fe(b)?(u=G,de(b)):ve(b)?(e.consume(b),G):le(b)}function P(b){return b===45||b===46||b===58||b===95||_t(b)?(e.consume(b),P):H(b)}function H(b){return b===61?(e.consume(b),F):fe(b)?(u=H,de(b)):ve(b)?(e.consume(b),H):G(b)}function F(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),i=b,ue):fe(b)?(u=F,de(b)):ve(b)?(e.consume(b),F):(e.consume(b),te)}function ue(b){return b===i?(e.consume(b),i=void 0,Y):b===null?n(b):fe(b)?(u=ue,de(b)):(e.consume(b),ue)}function te(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||ft(b)?G(b):(e.consume(b),te)}function Y(b){return b===47||b===62||ft(b)?G(b):n(b)}function le(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),t):n(b)}function de(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),we}function we(b){return ve(b)?De(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):Be(b)}function Be(b){return e.enter("htmlTextData"),u(b)}}const $0={name:"labelEnd",resolveAll:Um,resolveTo:qm,tokenize:$m},Fm={tokenize:Ym},zm={tokenize:Vm},Hm={tokenize:Gm};function Um(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Ut(e,0,e.length,n),e}function qm(e,t){let n=e.length,r=0,i,a,u,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(u=n);const l={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},o={type:"label",start:{...e[a][1].start},end:{...e[u][1].end}},c={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[u-2][1].start}};return s=[["enter",l,t],["enter",o,t]],s=yt(s,e.slice(a+1,a+r+3)),s=yt(s,[["enter",c,t]]),s=yt(s,q0(t.parser.constructs.insideSpan.null,e.slice(a+r+4,u-3),t)),s=yt(s,[["exit",c,t],e[u-2],e[u-1],["exit",o,t]]),s=yt(s,e.slice(u+1)),s=yt(s,[["exit",l,t]]),Ut(e,a,e.length,s),e}function $m(e,t,n){const r=this;let i=r.events.length,a,u;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(p){return a?a._inactive?f(p):(u=r.parser.defined.includes(Gn(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(Fm,c,u?c:f)(p):p===91?e.attempt(zm,c,u?o:f)(p):u?c(p):f(p)}function o(p){return e.attempt(Hm,c,f)(p)}function c(p){return t(p)}function f(p){return a._balanced=!0,n(p)}}function Ym(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return ft(f)?Tr(e,a)(f):a(f)}function a(f){return f===41?c(f):$o(e,u,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function u(f){return ft(f)?Tr(e,l)(f):c(f)}function s(f){return n(f)}function l(f){return f===34||f===39||f===40?Vo(e,o,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function o(f){return ft(f)?Tr(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Vm(e,t,n){const r=this;return i;function i(s){return Yo.call(r,e,a,u,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(Gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function u(s){return n(s)}}function Gm(e,t,n){return r;function r(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):n(a)}}const jm={name:"labelStartImage",resolveAll:$0.resolveAll,tokenize:Wm};function Wm(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),u):n(s)}function u(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Xm={name:"labelStartLink",resolveAll:$0.resolveAll,tokenize:Qm};function Qm(e,t,n){const r=this;return i;function i(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const ia={name:"lineEnding",tokenize:Km};function Km(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),De(e,t,"linePrefix")}}const hi={name:"thematicBreak",tokenize:Zm};function Zm(e,t,n){let r=0,i;return a;function a(o){return e.enter("thematicBreak"),u(o)}function u(o){return i=o,s(o)}function s(o){return o===i?(e.enter("thematicBreakSequence"),l(o)):r>=3&&(o===null||fe(o))?(e.exit("thematicBreak"),t(o)):n(o)}function l(o){return o===i?(e.consume(o),r++,l):(e.exit("thematicBreakSequence"),ve(o)?De(e,s,"whitespace")(o):s(o))}}const lt={continuation:{tokenize:nd},exit:id,name:"list",tokenize:td},Jm={partial:!0,tokenize:ad},ed={partial:!0,tokenize:rd};function td(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return s;function s(m){const y=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:s0(m)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(hi,n,o)(m):o(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return s0(m)&&++u<10?(e.consume(m),l):(!r.interrupt||u<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),o(m)):n(m)}function o(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Li,r.interrupt?n:c,e.attempt(Jm,p,f))}function c(m){return r.containerState.initialBlankLine=!0,a++,p(m)}function f(m){return ve(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),p):n(m)}function p(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function nd(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Li,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,De(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!ve(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ed,t,u)(s))}function u(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,De(e,e.attempt(lt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function rd(e,t,n){const r=this;return De(e,i,"listItemIndent",r.containerState.size+1);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(a):n(a)}}function id(e){e.exit(this.containerState.type)}function ad(e,t,n){const r=this;return De(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const u=r.events[r.events.length-1];return!ve(a)&&u&&u[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Zu={name:"setextUnderline",resolveTo:ud,tokenize:sd};function ud(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",u,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function sd(e,t,n){const r=this;let i;return a;function a(o){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=o,u(o)):n(o)}function u(o){return e.enter("setextHeadingLineSequence"),s(o)}function s(o){return o===i?(e.consume(o),s):(e.exit("setextHeadingLineSequence"),ve(o)?De(e,l,"lineSuffix")(o):l(o))}function l(o){return o===null||fe(o)?(e.exit("setextHeadingLine"),t(o)):n(o)}}const ld={tokenize:od};function od(e){const t=this,n=e.attempt(Li,r,e.attempt(this.parser.constructs.flowInitial,i,De(e,e.attempt(this.parser.constructs.flow,i,e.attempt(dm,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const cd={resolveAll:jo()},hd=Go("string"),fd=Go("text");function Go(e){return{resolveAll:jo(e==="text"?md:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,u,s);return u;function u(c){return o(c)?a(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),l}function l(c){return o(c)?(n.exit("data"),a(c)):(n.consume(c),l)}function o(c){if(c===null)return!0;const f=i[c];let p=-1;if(f)for(;++p<f.length;){const m=f[p];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function jo(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function md(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,u=-1,s=0,l;for(;a--;){const o=i[a];if(typeof o=="string"){for(u=o.length;o.charCodeAt(u-1)===32;)s++,u--;if(u)break;u=-1}else if(o===-2)l=!0,s++;else if(o!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const o={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?u:r.start._bufferIndex+u,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...o.start},r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}const dd={42:lt,43:lt,45:lt,48:lt,49:lt,50:lt,51:lt,52:lt,53:lt,54:lt,55:lt,56:lt,57:lt,62:zo},pd={91:Tm},gd={[-2]:ra,[-1]:ra,32:ra},bd={35:Sm,42:hi,45:[Zu,hi],60:_m,61:Zu,95:hi,96:Qu,126:Qu},Ed={38:Uo,92:Ho},Td={[-5]:ia,[-4]:ia,[-3]:ia,33:jm,38:Uo,42:l0,60:[Xf,Pm],91:Xm,92:[Am,Ho],93:$0,95:l0,96:lm},xd={null:[l0,cd]},yd={null:[42,95]},kd={null:[]},Ad=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:yd,contentInitial:pd,disable:kd,document:dd,flow:bd,flowInitial:gd,insideSpan:xd,string:Ed,text:Td},Symbol.toStringTag,{value:"Module"}));function vd(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let u=[],s=[];const l={attempt:V($),check:V(w),consume:D,enter:O,exit:j,interrupt:V(w,{interrupt:!0})},o={code:null,containerState:{},defineSkip:v,events:[],now:y,parser:e,previous:null,sliceSerialize:p,sliceStream:m,write:f};let c=t.tokenize.call(o,l);return t.resolveAll&&a.push(t),o;function f(H){return u=yt(u,H),N(),u[u.length-1]!==null?[]:(ee(t,0),o.events=q0(a,o.events,o),o.events)}function p(H,F){return wd(m(H),F)}function m(H){return Sd(u,H)}function y(){const{_bufferIndex:H,_index:F,line:ue,column:te,offset:Y}=r;return{_bufferIndex:H,_index:F,line:ue,column:te,offset:Y}}function v(H){i[H.line]=H.column,P()}function N(){let H;for(;r._index<u.length;){const F=u[r._index];if(typeof F=="string")for(H=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<F.length;)k(F.charCodeAt(r._bufferIndex));else k(F)}}function k(H){c=c(H)}function D(H){fe(H)?(r.line++,r.column=1,r.offset+=H===-3?2:1,P()):H!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),o.previous=H}function O(H,F){const ue=F||{};return ue.type=H,ue.start=y(),o.events.push(["enter",ue,o]),s.push(ue),ue}function j(H){const F=s.pop();return F.end=y(),o.events.push(["exit",F,o]),F}function $(H,F){ee(H,F.from)}function w(H,F){F.restore()}function V(H,F){return ue;function ue(te,Y,le){let de,we,Be,b;return Array.isArray(te)?ke(te):"tokenize"in te?ke([te]):ye(te);function ye(Ee){return Ge;function Ge(Me){const Qe=Me!==null&&Ee[Me],Ke=Me!==null&&Ee.null,Lt=[...Array.isArray(Qe)?Qe:Qe?[Qe]:[],...Array.isArray(Ke)?Ke:Ke?[Ke]:[]];return ke(Lt)(Me)}}function ke(Ee){return de=Ee,we=0,Ee.length===0?le:E(Ee[we])}function E(Ee){return Ge;function Ge(Me){return b=G(),Be=Ee,Ee.partial||(o.currentConstruct=Ee),Ee.name&&o.parser.constructs.disable.null.includes(Ee.name)?Ue():Ee.tokenize.call(F?Object.assign(Object.create(o),F):o,l,Ie,Ue)(Me)}}function Ie(Ee){return H(Be,b),Y}function Ue(Ee){return b.restore(),++we<de.length?E(de[we]):le}}}function ee(H,F){H.resolveAll&&!a.includes(H)&&a.push(H),H.resolve&&Ut(o.events,F,o.events.length-F,H.resolve(o.events.slice(F),o)),H.resolveTo&&(o.events=H.resolveTo(o.events,o))}function G(){const H=y(),F=o.previous,ue=o.currentConstruct,te=o.events.length,Y=Array.from(s);return{from:te,restore:le};function le(){r=H,o.previous=F,o.currentConstruct=ue,o.events.length=te,s=Y,P()}}function P(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Sd(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let u;if(n===i)u=[e[n].slice(r,a)];else{if(u=e.slice(n,i),r>-1){const s=u[0];typeof s=="string"?u[0]=s.slice(r):u.shift()}a>0&&u.push(e[i].slice(0,a))}return u}function wd(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
3
- `;break}case-3:{u=`\r
4
- `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,r.push(u)}return r.join("")}function Cd(e){const r={constructs:Mf([Ad,...(e||{}).extensions||[]]),content:i(qf),defined:[],document:i(Yf),flow:i(ld),lazy:{},string:i(hd),text:i(fd)};return r;function i(a){return u;function u(s){return vd(r,a,s)}}}function Id(e){for(;!qo(e););return e}const Ju=/[\0\t\n\r]/g;function _d(){let e=1,t="",n=!0,r;return i;function i(a,u,s){const l=[];let o,c,f,p,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a)),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(Ju.lastIndex=f,o=Ju.exec(a),p=o&&o.index!==void 0?o.index:a.length,m=a.charCodeAt(p),!o){t=a.slice(f);break}if(m===10&&f===p&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<p&&(l.push(a.slice(f,p)),e+=p-f),m){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const Nd=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Dd(e){return e.replace(Nd,Ld)}function Ld(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Fo(n.slice(a?2:1),a?16:10)}return tr(n)||e}function fi(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?es(e.position):"start"in e||"end"in e?es(e):"line"in e||"column"in e?o0(e):""}function o0(e){return ts(e&&e.line)+":"+ts(e&&e.column)}function es(e){return o0(e&&e.start)+"-"+o0(e&&e.end)}function ts(e){return e&&typeof e=="number"?e:1}const Wo={}.hasOwnProperty;function Od(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),Md(n)(Id(Cd(n).document().write(_d()(e,t,!0))))}function Md(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Qt),autolinkProtocol:G,autolinkEmail:G,atxHeading:a(Cn),blockQuote:a(Ke),characterEscape:G,characterReference:G,codeFenced:a(Lt),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(Lt,u),codeText:a(zn,u),codeTextData:G,data:G,codeFlowValue:G,definition:a(lr),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(wn),hardBreakEscape:a(hn),hardBreakTrailing:a(hn),htmlFlow:a(Wt,u),htmlFlowData:G,htmlText:a(Wt,u),htmlTextData:G,image:a(Xt),label:u,link:a(Qt),listItem:a(Gr),listItemValue:p,listOrdered:a(or,f),listUnordered:a(or),paragraph:a(Xi),reference:E,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(Cn),strong:a(Qi),thematicBreak:a(Zi)},exit:{atxHeading:l(),atxHeadingSequence:$,autolink:l(),autolinkEmail:Qe,autolinkProtocol:Me,blockQuote:l(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:Ue,characterReferenceMarkerNumeric:Ue,characterReferenceValue:Ee,characterReference:Ge,codeFenced:l(N),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:y,codeFlowValue:P,codeIndented:l(k),codeText:l(Y),codeTextData:P,data:P,definition:l(),definitionDestinationString:j,definitionLabelString:D,definitionTitleString:O,emphasis:l(),hardBreakEscape:l(F),hardBreakTrailing:l(F),htmlFlow:l(ue),htmlFlowData:P,htmlText:l(te),htmlTextData:P,image:l(de),label:Be,labelText:we,lineEnding:H,link:l(le),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ie,resourceDestinationString:b,resourceTitleString:ye,resource:ke,setextHeading:l(ee),setextHeadingLineSequence:V,setextHeadingText:w,strong:l(),thematicBreak:l()}};Xo(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(q){let L={type:"root",children:[]};const U={stack:[L],tokenStack:[],config:t,enter:s,exit:o,buffer:u,resume:c,data:n},ne=[];let se=-1;for(;++se<q.length;)if(q[se][1].type==="listOrdered"||q[se][1].type==="listUnordered")if(q[se][0]==="enter")ne.push(se);else{const be=ne.pop();se=i(q,be,se)}for(se=-1;++se<q.length;){const be=t[q[se][0]];Wo.call(be,q[se][1].type)&&be[q[se][1].type].call(Object.assign({sliceSerialize:q[se][2].sliceSerialize},U),q[se][1])}if(U.tokenStack.length>0){const be=U.tokenStack[U.tokenStack.length-1];(be[1]||ns).call(U,void 0,be[0])}for(L.position={start:fn(q.length>0?q[0][1].start:{line:1,column:1,offset:0}),end:fn(q.length>0?q[q.length-2][1].end:{line:1,column:1,offset:0})},se=-1;++se<t.transforms.length;)L=t.transforms[se](L)||L;return L}function i(q,L,U){let ne=L-1,se=-1,be=!1,je,Ze,rt,Ct;for(;++ne<=U;){const We=q[ne];switch(We[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{We[0]==="enter"?se++:se--,Ct=void 0;break}case"lineEndingBlank":{We[0]==="enter"&&(je&&!Ct&&!se&&!rt&&(rt=ne),Ct=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ct=void 0}if(!se&&We[0]==="enter"&&We[1].type==="listItemPrefix"||se===-1&&We[0]==="exit"&&(We[1].type==="listUnordered"||We[1].type==="listOrdered")){if(je){let Ce=ne;for(Ze=void 0;Ce--;){const gt=q[Ce];if(gt[1].type==="lineEnding"||gt[1].type==="lineEndingBlank"){if(gt[0]==="exit")continue;Ze&&(q[Ze][1].type="lineEndingBlank",be=!0),gt[1].type="lineEnding",Ze=Ce}else if(!(gt[1].type==="linePrefix"||gt[1].type==="blockQuotePrefix"||gt[1].type==="blockQuotePrefixWhitespace"||gt[1].type==="blockQuoteMarker"||gt[1].type==="listItemIndent"))break}rt&&(!Ze||rt<Ze)&&(je._spread=!0),je.end=Object.assign({},Ze?q[Ze][1].start:We[1].end),q.splice(Ze||ne,0,["exit",je,We[2]]),ne++,U++}if(We[1].type==="listItemPrefix"){const Ce={type:"listItem",_spread:!1,start:Object.assign({},We[1].start),end:void 0};je=Ce,q.splice(ne,0,["enter",Ce,We[2]]),ne++,U++,rt=void 0,Ct=!0}}}return q[L][1]._spread=be,U}function a(q,L){return U;function U(ne){s.call(this,q(ne),ne),L&&L.call(this,ne)}}function u(){this.stack.push({type:"fragment",children:[]})}function s(q,L,U){this.stack[this.stack.length-1].children.push(q),this.stack.push(q),this.tokenStack.push([L,U||void 0]),q.position={start:fn(L.start),end:void 0}}function l(q){return L;function L(U){q&&q.call(this,U),o.call(this,U)}}function o(q,L){const U=this.stack.pop(),ne=this.tokenStack.pop();if(ne)ne[0].type!==q.type&&(L?L.call(this,q,ne[0]):(ne[1]||ns).call(this,q,ne[0]));else throw new Error("Cannot close `"+q.type+"` ("+fi({start:q.start,end:q.end})+"): it’s not open");U.position.end=fn(q.end)}function c(){return Lf(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(q){if(this.data.expectingFirstListItemValue){const L=this.stack[this.stack.length-2];L.start=Number.parseInt(this.sliceSerialize(q),10),this.data.expectingFirstListItemValue=void 0}}function m(){const q=this.resume(),L=this.stack[this.stack.length-1];L.lang=q}function y(){const q=this.resume(),L=this.stack[this.stack.length-1];L.meta=q}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const q=this.resume(),L=this.stack[this.stack.length-1];L.value=q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const q=this.resume(),L=this.stack[this.stack.length-1];L.value=q.replace(/(\r?\n|\r)$/g,"")}function D(q){const L=this.resume(),U=this.stack[this.stack.length-1];U.label=L,U.identifier=Gn(this.sliceSerialize(q)).toLowerCase()}function O(){const q=this.resume(),L=this.stack[this.stack.length-1];L.title=q}function j(){const q=this.resume(),L=this.stack[this.stack.length-1];L.url=q}function $(q){const L=this.stack[this.stack.length-1];if(!L.depth){const U=this.sliceSerialize(q).length;L.depth=U}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function V(q){const L=this.stack[this.stack.length-1];L.depth=this.sliceSerialize(q).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function G(q){const U=this.stack[this.stack.length-1].children;let ne=U[U.length-1];(!ne||ne.type!=="text")&&(ne=Ki(),ne.position={start:fn(q.start),end:void 0},U.push(ne)),this.stack.push(ne)}function P(q){const L=this.stack.pop();L.value+=this.sliceSerialize(q),L.position.end=fn(q.end)}function H(q){const L=this.stack[this.stack.length-1];if(this.data.atHardBreak){const U=L.children[L.children.length-1];U.position.end=fn(q.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(L.type)&&(G.call(this,q),P.call(this,q))}function F(){this.data.atHardBreak=!0}function ue(){const q=this.resume(),L=this.stack[this.stack.length-1];L.value=q}function te(){const q=this.resume(),L=this.stack[this.stack.length-1];L.value=q}function Y(){const q=this.resume(),L=this.stack[this.stack.length-1];L.value=q}function le(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const L=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=L,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function de(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const L=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=L,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function we(q){const L=this.sliceSerialize(q),U=this.stack[this.stack.length-2];U.label=Dd(L),U.identifier=Gn(L).toLowerCase()}function Be(){const q=this.stack[this.stack.length-1],L=this.resume(),U=this.stack[this.stack.length-1];if(this.data.inReference=!0,U.type==="link"){const ne=q.children;U.children=ne}else U.alt=L}function b(){const q=this.resume(),L=this.stack[this.stack.length-1];L.url=q}function ye(){const q=this.resume(),L=this.stack[this.stack.length-1];L.title=q}function ke(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function Ie(q){const L=this.resume(),U=this.stack[this.stack.length-1];U.label=L,U.identifier=Gn(this.sliceSerialize(q)).toLowerCase(),this.data.referenceType="full"}function Ue(q){this.data.characterReferenceType=q.type}function Ee(q){const L=this.sliceSerialize(q),U=this.data.characterReferenceType;let ne;U?(ne=Fo(L,U==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ne=tr(L);const se=this.stack[this.stack.length-1];se.value+=ne}function Ge(q){const L=this.stack.pop();L.position.end=fn(q.end)}function Me(q){P.call(this,q);const L=this.stack[this.stack.length-1];L.url=this.sliceSerialize(q)}function Qe(q){P.call(this,q);const L=this.stack[this.stack.length-1];L.url="mailto:"+this.sliceSerialize(q)}function Ke(){return{type:"blockquote",children:[]}}function Lt(){return{type:"code",lang:null,meta:null,value:""}}function zn(){return{type:"inlineCode",value:""}}function lr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function wn(){return{type:"emphasis",children:[]}}function Cn(){return{type:"heading",depth:0,children:[]}}function hn(){return{type:"break"}}function Wt(){return{type:"html",value:""}}function Xt(){return{type:"image",title:null,url:"",alt:null}}function Qt(){return{type:"link",title:null,url:"",children:[]}}function or(q){return{type:"list",ordered:q.type==="listOrdered",start:null,spread:q._spread,children:[]}}function Gr(q){return{type:"listItem",spread:q._spread,checked:null,children:[]}}function Xi(){return{type:"paragraph",children:[]}}function Qi(){return{type:"strong",children:[]}}function Ki(){return{type:"text",value:""}}function Zi(){return{type:"thematicBreak"}}}function fn(e){return{line:e.line,column:e.column,offset:e.offset}}function Xo(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Xo(e,r):Rd(e,r)}}function Rd(e,t){let n;for(n in t)if(Wo.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function ns(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+fi({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+fi({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+fi({start:t.start,end:t.end})+") is still open")}function Pd(e){const t=this;t.parser=n;function n(r){return Od(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Bd(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Fd(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
5
- `}]}function zd(e,t){const n=t.value?t.value+`
6
- `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};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 Hd(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ud(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const rs=qd(/[\dA-Za-z]/);function qd(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function nr(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let u="";if(a===37&&rs(e.charCodeAt(n+1))&&rs(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(u=String.fromCharCode(a,s),i=1):u="�"}else u=String.fromCharCode(a);u&&(t.push(e.slice(r,n),encodeURIComponent(u)),r=n+i+1,u=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function $d(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=nr(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let u,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),u=e.footnoteOrder.length):u=a+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,l);const o={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,o),e.applyData(t,o)}function Yd(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Vd(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Qo(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const u=i[i.length-1];return u&&u.type==="text"?u.value+=r:i.push({type:"text",value:r}),i}function Gd(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Qo(e,t);const i={src:nr(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function jd(e,t){const n={src:nr(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Wd(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Xd(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Qo(e,t);const i={href:nr(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Qd(e,t){const n={href:nr(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Kd(e,t,n){const r=e.all(t),i=n?Zd(n):Ko(t),a={},u=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const c=r[s];(i||s!==0||c.type!=="element"||c.tagName!=="p")&&u.push({type:"text",value:`
7
- `}),c.type==="element"&&c.tagName==="p"&&!i?u.push(...c.children):u.push(c)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&u.push({type:"text",value:`
8
- `});const o={type:"element",tagName:"li",properties:a,children:u};return e.patch(t,o),e.applyData(t,o)}function Zd(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Ko(n[r])}return t}function Ko(e){const t=e.spread;return t??e.children.length>1}function Jd(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const u=r[i];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function e2(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function t2(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function n2(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function r2(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],u),i.push(u)}if(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=$t(t.children[1]),l=Di(t.children[t.children.length-1]);s&&l&&(u.position={start:s,end:l}),i.push(u)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function i2(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,s=u?u.length:t.children.length;let l=-1;const o=[];for(;++l<s;){const f=t.children[l],p={},m=u?u[l]:void 0;m&&(p.align=m);let y={type:"element",tagName:a,properties:p,children:[]};f&&(y.children=e.all(f),e.patch(f,y),y=e.applyData(f,y)),o.push(y)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(o,!0)};return e.patch(t,c),e.applyData(t,c)}function a2(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const is=9,as=32;function u2(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(us(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(us(t.slice(i),i>0,!1)),a.join("")}function us(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===is||a===as;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===is||a===as;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function s2(e,t){const n={type:"text",value:u2(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function l2(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const o2={blockquote:Bd,break:Fd,code:zd,delete:Hd,emphasis:Ud,footnoteReference:$d,heading:Yd,html:Vd,imageReference:Gd,image:jd,inlineCode:Wd,linkReference:Xd,link:Qd,listItem:Kd,list:Jd,paragraph:e2,root:t2,strong:n2,table:r2,tableCell:a2,tableRow:i2,text:s2,thematicBreak:l2,toml:jr,yaml:jr,definition:jr,footnoteDefinition:jr};function jr(){}const Zo=-1,Oi=0,xr=1,xi=2,Y0=3,V0=4,G0=5,j0=6,Jo=7,ec=8,ss=typeof self=="object"?self:globalThis,c2=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,u]=t[i];switch(a){case Oi:case Zo:return n(u,i);case xr:{const s=n([],i);for(const l of u)s.push(r(l));return s}case xi:{const s=n({},i);for(const[l,o]of u)s[r(l)]=r(o);return s}case Y0:return n(new Date(u),i);case V0:{const{source:s,flags:l}=u;return n(new RegExp(s,l),i)}case G0:{const s=n(new Map,i);for(const[l,o]of u)s.set(r(l),r(o));return s}case j0:{const s=n(new Set,i);for(const l of u)s.add(r(l));return s}case Jo:{const{name:s,message:l}=u;return n(new ss[s](l),i)}case ec:return n(BigInt(u),i);case"BigInt":return n(Object(BigInt(u)),i);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:s}=new Uint8Array(u);return n(new DataView(s),u)}}return n(new ss[a](u),i)};return r},ls=e=>c2(new Map,e)(0),Un="",{toString:h2}={},{keys:f2}=Object,mr=e=>{const t=typeof e;if(t!=="object"||!e)return[Oi,t];const n=h2.call(e).slice(8,-1);switch(n){case"Array":return[xr,Un];case"Object":return[xi,Un];case"Date":return[Y0,Un];case"RegExp":return[V0,Un];case"Map":return[G0,Un];case"Set":return[j0,Un];case"DataView":return[xr,n]}return n.includes("Array")?[xr,n]:n.includes("Error")?[Jo,n]:[xi,n]},Wr=([e,t])=>e===Oi&&(t==="function"||t==="symbol"),m2=(e,t,n,r)=>{const i=(u,s)=>{const l=r.push(u)-1;return n.set(s,l),l},a=u=>{if(n.has(u))return n.get(u);let[s,l]=mr(u);switch(s){case Oi:{let c=u;switch(l){case"bigint":s=ec,c=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return i([Zo],u)}return i([s,c],u)}case xr:{if(l){let p=u;return l==="DataView"?p=new Uint8Array(u.buffer):l==="ArrayBuffer"&&(p=new Uint8Array(u)),i([l,[...p]],u)}const c=[],f=i([s,c],u);for(const p of u)c.push(a(p));return f}case xi:{if(l)switch(l){case"BigInt":return i([l,u.toString()],u);case"Boolean":case"Number":case"String":return i([l,u.valueOf()],u)}if(t&&"toJSON"in u)return a(u.toJSON());const c=[],f=i([s,c],u);for(const p of f2(u))(e||!Wr(mr(u[p])))&&c.push([a(p),a(u[p])]);return f}case Y0:return i([s,u.toISOString()],u);case V0:{const{source:c,flags:f}=u;return i([s,{source:c,flags:f}],u)}case G0:{const c=[],f=i([s,c],u);for(const[p,m]of u)(e||!(Wr(mr(p))||Wr(mr(m))))&&c.push([a(p),a(m)]);return f}case j0:{const c=[],f=i([s,c],u);for(const p of u)(e||!Wr(mr(p)))&&c.push(a(p));return f}}const{message:o}=u;return i([s,{name:l,message:o}],u)};return a},os=(e,{json:t,lossy:n}={})=>{const r=[];return m2(!(t||n),!!t,new Map,r)(e),r},Xn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?ls(os(e,t)):structuredClone(e):(e,t)=>ls(os(e,t));function d2(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function p2(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function g2(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||d2,r=e.options.footnoteBackLabel||p2,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const c=e.all(o),f=String(o.identifier).toUpperCase(),p=nr(f.toLowerCase());let m=0;const y=[],v=e.footnoteCounts.get(f);for(;v!==void 0&&++m<=v;){y.length>0&&y.push({type:"text",value:" "});let D=typeof n=="string"?n:n(l,m);typeof D=="string"&&(D={type:"text",value:D}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,m),className:["data-footnote-backref"]},children:Array.isArray(D)?D:[D]})}const N=c[c.length-1];if(N&&N.type==="element"&&N.tagName==="p"){const D=N.children[N.children.length-1];D&&D.type==="text"?D.value+=" ":N.children.push({type:"text",value:" "}),N.children.push(...y)}else c.push(...y);const k={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(o,k),s.push(k)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Xn(u),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
9
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
10
- `}]}}const Fr=(function(e){if(e==null)return x2;if(typeof e=="function")return Mi(e);if(typeof e=="object")return Array.isArray(e)?b2(e):E2(e);if(typeof e=="string")return T2(e);throw new Error("Expected function, string, or object as test")});function b2(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Fr(e[n]);return Mi(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function E2(e){const t=e;return Mi(n);function n(r){const i=r;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function T2(e){return Mi(t);function t(n){return n&&n.type===e}}function Mi(e){return t;function t(n,r,i){return!!(y2(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function x2(){return!0}function y2(e){return e!==null&&typeof e=="object"&&"type"in e}const tc=[],k2=!0,c0=!1,nc="skip";function W0(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const a=Fr(i),u=r?-1:1;s(e,void 0,[])();function s(l,o,c){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(p,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return p;function p(){let m=tc,y,v,N;if((!t||a(l,o,c[c.length-1]||void 0))&&(m=A2(n(l,c)),m[0]===c0))return m;if("children"in l&&l.children){const k=l;if(k.children&&m[0]!==nc)for(v=(r?k.children.length:-1)+u,N=c.concat(k);v>-1&&v<k.children.length;){const D=k.children[v];if(y=s(D,v,N)(),y[0]===c0)return y;v=typeof y[1]=="number"?y[1]:v+u}}return m}}}function A2(e){return Array.isArray(e)?e:typeof e=="number"?[k2,e]:e==null?tc:[e]}function Ri(e,t,n,r){let i,a,u;typeof t=="function"&&typeof n!="function"?(a=void 0,u=t,i=n):(a=t,u=n,i=r),W0(e,a,s,i);function s(l,o){const c=o[o.length-1],f=c?c.children.indexOf(l):void 0;return u(l,f,c)}}const h0={}.hasOwnProperty,v2={};function S2(e,t){const n=t||v2,r=new Map,i=new Map,a=new Map,u={...o2,...n.handlers},s={all:o,applyData:C2,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:u,one:l,options:n,patch:w2,wrap:_2};return Ri(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:i,p=String(c.identifier).toUpperCase();f.has(p)||f.set(p,c)}}),s;function l(c,f){const p=c.type,m=s.handlers[p];if(h0.call(s.handlers,p)&&m)return m(s,c,f);if(s.options.passThrough&&s.options.passThrough.includes(p)){if("children"in c){const{children:v,...N}=c,k=Xn(N);return k.children=s.all(c),k}return Xn(c)}return(s.options.unknownHandler||I2)(s,c,f)}function o(c){const f=[];if("children"in c){const p=c.children;let m=-1;for(;++m<p.length;){const y=s.one(p[m],c);if(y){if(m&&p[m-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=cs(y.value)),!Array.isArray(y)&&y.type==="element")){const v=y.children[0];v&&v.type==="text"&&(v.value=cs(v.value))}Array.isArray(y)?f.push(...y):f.push(y)}}}return f}}function w2(e,t){e.position&&(t.position=of(e))}function C2(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const u="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:u}}n.type==="element"&&a&&Object.assign(n.properties,Xn(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function I2(e,t){const n=t.data||{},r="value"in t&&!(h0.call(n,"hProperties")||h0.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function _2(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
11
- `});++r<e.length;)r&&n.push({type:"text",value:`
12
- `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
13
- `}),n}function cs(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function hs(e,t){const n=S2(e,t),r=n.one(e,void 0),i=g2(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
14
- `},i),a}function N2(e,t){return e&&"run"in e?async function(n,r){const i=hs(n,{file:r,...t});await e.run(i,r)}:function(n,r){return hs(n,{file:r,...e||t})}}function fs(e){if(e)throw e}var aa,ms;function D2(){if(ms)return aa;ms=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(o){return typeof Array.isArray=="function"?Array.isArray(o):t.call(o)==="[object Array]"},a=function(o){if(!o||t.call(o)!=="[object Object]")return!1;var c=e.call(o,"constructor"),f=o.constructor&&o.constructor.prototype&&e.call(o.constructor.prototype,"isPrototypeOf");if(o.constructor&&!c&&!f)return!1;var p;for(p in o);return typeof p>"u"||e.call(o,p)},u=function(o,c){n&&c.name==="__proto__"?n(o,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):o[c.name]=c.newValue},s=function(o,c){if(c==="__proto__")if(e.call(o,c)){if(r)return r(o,c).value}else return;return o[c]};return aa=function l(){var o,c,f,p,m,y,v=arguments[0],N=1,k=arguments.length,D=!1;for(typeof v=="boolean"&&(D=v,v=arguments[1]||{},N=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});N<k;++N)if(o=arguments[N],o!=null)for(c in o)f=s(v,c),p=s(o,c),v!==p&&(D&&p&&(a(p)||(m=i(p)))?(m?(m=!1,y=f&&i(f)?f:[]):y=f&&a(f)?f:{},u(v,{name:c,newValue:l(D,y,p)})):typeof p<"u"&&u(v,{name:c,newValue:p}));return v},aa}var L2=D2();const ua=ko(L2);function f0(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 O2(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const u=i.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);s(null,...i);function s(l,...o){const c=e[++a];let f=-1;if(l){u(l);return}for(;++f<i.length;)(o[f]===null||o[f]===void 0)&&(o[f]=i[f]);i=o,c?M2(c,s)(...o):u(null,...o)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function M2(e,t){let n;return r;function r(...u){const s=e.length>u.length;let l;s&&u.push(i);try{l=e.apply(this,u)}catch(o){const c=o;if(s&&n)throw c;return i(c)}s||(l&&l.then&&typeof l.then=="function"?l.then(a,i):l instanceof Error?i(l):a(l))}function i(u,...s){n||(n=!0,t(u,...s))}function a(u){i(null,u)}}const Ot={basename:R2,dirname:P2,extname:B2,join:F2,sep:"/"};function R2(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');zr(e);let n=0,r=-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){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let u=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else u<0&&(a=!0,u=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=u));return n===r?r=u:r<0&&(r=e.length),e.slice(n,r)}function P2(e){if(zr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function B2(e){zr(e);let t=e.length,n=-1,r=0,i=-1,a=0,u;for(;t--;){const s=e.codePointAt(t);if(s===47){if(u){r=t+1;break}continue}n<0&&(u=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function F2(...e){let t=-1,n;for(;++t<e.length;)zr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":z2(n)}function z2(e){zr(e);const t=e.codePointAt(0)===47;let n=H2(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function H2(e,t){let n="",r=0,i=-1,a=0,u=-1,s,l;for(;++u<=e.length;){if(u<e.length)s=e.codePointAt(u);else{if(s===47)break;s=47}if(s===47){if(!(i===u-1||a===1))if(i!==u-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=u,a=0;continue}}else if(n.length>0){n="",r=0,i=u,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,u):n=e.slice(i+1,u),r=u-i-1;i=u,a=0}else s===46&&a>-1?a++:a=-1}return n}function zr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const U2={cwd:q2};function q2(){return"/"}function m0(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function $2(e){if(typeof e=="string")e=new URL(e);else if(!m0(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 Y2(e)}function Y2(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const sa=["history","path","basename","stem","extname","dirname"];class rc{constructor(t){let n;t?m0(t)?n={path:t}:typeof t=="string"||V2(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":U2.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<sa.length;){const a=sa[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)sa.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ot.basename(this.path):void 0}set basename(t){oa(t,"basename"),la(t,"basename"),this.path=Ot.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ot.dirname(this.path):void 0}set dirname(t){ds(this.basename,"dirname"),this.path=Ot.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ot.extname(this.path):void 0}set extname(t){if(la(t,"extname"),ds(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=Ot.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){m0(t)&&(t=$2(t)),oa(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ot.basename(this.path,this.extname):void 0}set stem(t){oa(t,"stem"),la(t,"stem"),this.path=Ot.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new tt(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function la(e,t){if(e&&e.includes(Ot.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ot.sep+"`")}function oa(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ds(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function V2(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const G2=(function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a}),j2={}.hasOwnProperty;class X0 extends G2{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=O2()}copy(){const t=new X0;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(ua(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(fa("data",this.frozen),this.namespace[t]=n,this):j2.call(this.namespace,t)&&this.namespace[t]||void 0:t?(fa("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Xr(t),r=this.parser||this.Parser;return ca("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),ca("process",this.parser||this.Parser),ha("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,u){const s=Xr(t),l=r.parse(s);r.run(l,s,function(c,f,p){if(c||!f||!p)return o(c);const m=f,y=r.stringify(m,p);Q2(y)?p.value=y:p.result=y,o(c,p)});function o(c,f){c||!f?u(c):a?a(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),ca("processSync",this.parser||this.Parser),ha("processSync",this.compiler||this.Compiler),this.process(t,i),gs("processSync","process",n),r;function i(a,u){n=!0,fs(a),r=u}}run(t,n,r){ps(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(u,s){const l=Xr(n);i.run(t,l,o);function o(c,f,p){const m=f||t;c?s(c):u?u(m):r(void 0,m,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),gs("runSync","run",r),i;function a(u,s){fs(u),i=s,r=!0}}stringify(t,n){this.freeze();const r=Xr(n),i=this.compiler||this.Compiler;return ha("stringify",i),ps(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(fa("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(o){if(typeof o=="function")l(o,[]);else if(typeof o=="object")if(Array.isArray(o)){const[c,...f]=o;l(c,f)}else u(o);else throw new TypeError("Expected usable value, not `"+o+"`")}function u(o){if(!("plugins"in o)&&!("settings"in o))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");s(o.plugins),o.settings&&(i.settings=ua(!0,i.settings,o.settings))}function s(o){let c=-1;if(o!=null)if(Array.isArray(o))for(;++c<o.length;){const f=o[c];a(f)}else throw new TypeError("Expected a list of plugins, not `"+o+"`")}function l(o,c){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===o){p=f;break}if(p===-1)r.push([o,...c]);else if(c.length>0){let[m,...y]=c;const v=r[p][1];f0(v)&&f0(m)&&(m=ua(!0,v,m)),r[p]=[o,m,...y]}}}}const W2=new X0().freeze();function ca(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ha(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function fa(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 ps(e){if(!f0(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function gs(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Xr(e){return X2(e)?e:new rc(e)}function X2(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Q2(e){return typeof e=="string"||K2(e)}function K2(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Z2="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",bs=[],Es={allowDangerousHtml:!0},J2=/^(https?|ircs?|mailto|xmpp)$/i,e4=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function VE(e){const t=t4(e),n=n4(e);return r4(t.runSync(t.parse(n),n),e)}function t4(e){const t=e.rehypePlugins||bs,n=e.remarkPlugins||bs,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Es}:Es;return W2().use(Pd).use(n).use(N2,r).use(t)}function n4(e){const t=e.children||"",n=new rc;return typeof t=="string"&&(n.value=t),n}function r4(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,u=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||i4;for(const c of e4)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+Z2+c.id,void 0);return Ri(e,o),pf(e,{Fragment:Ji.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Ji.jsx,jsxs:Ji.jsxs,passKeys:!0,passNode:!0});function o(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return u?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let m;for(m in na)if(Object.hasOwn(na,m)&&Object.hasOwn(c.properties,m)){const y=c.properties[m],v=na[m];(v===null||v.includes(c.tagName))&&(c.properties[m]=l(String(y||""),m,c))}}if(c.type==="element"){let m=n?!n.includes(c.tagName):a?a.includes(c.tagName):!1;if(!m&&r&&typeof f=="number"&&(m=!r(c,f,p)),m&&p&&typeof f=="number")return s&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function i4(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||J2.test(e.slice(0,t))?e:""}function Ts(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}const a4=ic(new RegExp("\\p{P}|\\p{S}","u")),u4=ic(/\s/);function ic(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function s4(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function l4(e,t,n){const i=Fr((n||{}).ignore||[]),a=o4(t);let u=-1;for(;++u<a.length;)W0(e,"text",s);function s(o,c){let f=-1,p;for(;++f<c.length;){const m=c[f],y=p?p.children:void 0;if(i(m,y?y.indexOf(m):void 0,p))return;p=m}if(p)return l(o,c)}function l(o,c){const f=c[c.length-1],p=a[u][0],m=a[u][1];let y=0;const N=f.children.indexOf(o);let k=!1,D=[];p.lastIndex=0;let O=p.exec(o.value);for(;O;){const j=O.index,$={index:O.index,input:O.input,stack:[...c,o]};let w=m(...O,$);if(typeof w=="string"&&(w=w.length>0?{type:"text",value:w}:void 0),w===!1?p.lastIndex=j+1:(y!==j&&D.push({type:"text",value:o.value.slice(y,j)}),Array.isArray(w)?D.push(...w):w&&D.push(w),y=j+O[0].length,k=!0),!p.global)break;O=p.exec(o.value)}return k?(y<o.value.length&&D.push({type:"text",value:o.value.slice(y)}),f.children.splice(N,1,...D)):D=[o],N+D.length}}function o4(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([c4(i[0]),h4(i[1])])}return t}function c4(e){return typeof e=="string"?new RegExp(s4(e),"g"):e}function h4(e){return typeof e=="function"?e:function(){return e}}const ma="phrasing",da=["autolink","link","image","label"];function f4(){return{transforms:[T4],enter:{literalAutolink:d4,literalAutolinkEmail:pa,literalAutolinkHttp:pa,literalAutolinkWww:pa},exit:{literalAutolink:E4,literalAutolinkEmail:b4,literalAutolinkHttp:p4,literalAutolinkWww:g4}}}function m4(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ma,notInConstruct:da},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ma,notInConstruct:da},{character:":",before:"[ps]",after:"\\/",inConstruct:ma,notInConstruct:da}]}}function d4(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function pa(e){this.config.enter.autolinkProtocol.call(this,e)}function p4(e){this.config.exit.autolinkProtocol.call(this,e)}function g4(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 b4(e){this.config.exit.autolinkEmail.call(this,e)}function E4(e){this.exit(e)}function T4(e){l4(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,x4],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),y4]],{ignore:["link","linkReference"]})}function x4(e,t,n,r,i){let a="";if(!ac(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!k4(n)))return!1;const u=A4(n+r);if(!u[0])return!1;const s={type:"link",title:null,url:a+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[s,{type:"text",value:u[1]}]:s}function y4(e,t,n,r){return!ac(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function k4(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 A4(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Ts(e,"(");let a=Ts(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function ac(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||u4(n)||a4(n))&&(!t||n!==47)}function uc(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}sc.peek=L4;function v4(){this.buffer()}function S4(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function w4(){this.buffer()}function C4(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function I4(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=uc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function _4(e){this.exit(e)}function N4(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=uc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function D4(e){this.exit(e)}function L4(){return"["}function sc(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const u=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),s(),u(),a+=i.move("]"),a}function O4(){return{enter:{gfmFootnoteCallString:v4,gfmFootnoteCall:S4,gfmFootnoteDefinitionLabelString:w4,gfmFootnoteDefinition:C4},exit:{gfmFootnoteCallString:I4,gfmFootnoteCall:_4,gfmFootnoteDefinitionLabelString:N4,gfmFootnoteDefinition:D4}}}function M4(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:sc},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,a,u){const s=a.createTracker(u);let l=s.move("[^");const o=a.enter("footnoteDefinition"),c=a.enter("label");return l+=s.move(a.safe(a.associationId(r),{before:l,after:"]"})),c(),l+=s.move("]:"),r.children&&r.children.length>0&&(s.shift(4),l+=s.move((t?`
15
- `:" ")+a.indentLines(a.containerFlow(r,s.current()),t?lc:R4))),o(),l}}function R4(e,t,n){return t===0?e:lc(e,t,n)}function lc(e,t,n){return(n?"":" ")+e}const P4=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];oc.peek=U4;function B4(){return{canContainEols:["delete"],enter:{strikethrough:z4},exit:{strikethrough:H4}}}function F4(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:P4}],handlers:{delete:oc}}}function z4(e){this.enter({type:"delete",children:[]},e)}function H4(e){this.exit(e)}function oc(e,t,n,r){const i=n.createTracker(r),a=n.enter("strikethrough");let u=i.move("~~");return u+=n.containerPhrasing(e,{...i.current(),before:u,after:"~"}),u+=i.move("~~"),a(),u}function U4(){return"~"}function q4(e){return e.length}function $4(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||q4,a=[],u=[],s=[],l=[];let o=0,c=-1;for(;++c<e.length;){const v=[],N=[];let k=-1;for(e[c].length>o&&(o=e[c].length);++k<e[c].length;){const D=Y4(e[c][k]);if(n.alignDelimiters!==!1){const O=i(D);N[k]=O,(l[k]===void 0||O>l[k])&&(l[k]=O)}v.push(D)}u[c]=v,s[c]=N}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<o;)a[f]=xs(r[f]);else{const v=xs(r);for(;++f<o;)a[f]=v}f=-1;const p=[],m=[];for(;++f<o;){const v=a[f];let N="",k="";v===99?(N=":",k=":"):v===108?N=":":v===114&&(k=":");let D=n.alignDelimiters===!1?1:Math.max(1,l[f]-N.length-k.length);const O=N+"-".repeat(D)+k;n.alignDelimiters!==!1&&(D=N.length+D+k.length,D>l[f]&&(l[f]=D),m[f]=D),p[f]=O}u.splice(1,0,p),s.splice(1,0,m),c=-1;const y=[];for(;++c<u.length;){const v=u[c],N=s[c];f=-1;const k=[];for(;++f<o;){const D=v[f]||"";let O="",j="";if(n.alignDelimiters!==!1){const $=l[f]-(N[f]||0),w=a[f];w===114?O=" ".repeat($):w===99?$%2?(O=" ".repeat($/2+.5),j=" ".repeat($/2-.5)):(O=" ".repeat($/2),j=O):j=" ".repeat($)}n.delimiterStart!==!1&&!f&&k.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&D==="")&&(n.delimiterStart!==!1||f)&&k.push(" "),n.alignDelimiters!==!1&&k.push(O),k.push(D),n.alignDelimiters!==!1&&k.push(j),n.padding!==!1&&k.push(" "),(n.delimiterEnd!==!1||f!==o-1)&&k.push("|")}y.push(n.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return y.join(`
16
- `)}function Y4(e){return e==null?"":String(e)}function xs(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const ys={}.hasOwnProperty;function cc(e,t){const n=t||{};function r(i,...a){let u=r.invalid;const s=r.handlers;if(i&&ys.call(i,e)){const l=String(i[e]);u=ys.call(s,l)?s[l]:r.unknown}if(u)return u.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function V4(e,t,n,r){const i=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const u=n.indentLines(n.containerFlow(e,a.current()),G4);return i(),u}function G4(e,t,n){return">"+(n?"":" ")+e}function j4(e,t){return ks(e,t.inConstruct,!0)&&!ks(e,t.notInConstruct,!1)}function ks(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function As(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
17
- `&&j4(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
18
- `}function hc(e,t){const n=String(e);let r=n.indexOf(t),i=r,a=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++a>u&&(u=a):a=1,i=r+t.length,r=n.indexOf(t,i);return u}function W4(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 X4(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 Q4(e,t,n,r){const i=X4(n),a=e.value||"",u=i==="`"?"GraveAccent":"Tilde";if(W4(e,n)){const f=n.enter("codeIndented"),p=n.indentLines(a,K4);return f(),p}const s=n.createTracker(r),l=i.repeat(Math.max(hc(a,i)+1,3)),o=n.enter("codeFenced");let c=s.move(l);if(e.lang){const f=n.enter(`codeFencedLang${u}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${u}`);c+=s.move(" "),c+=s.move(n.safe(e.meta,{before:c,after:`
19
- `,encode:["`"],...s.current()})),f()}return c+=s.move(`
20
- `),a&&(c+=s.move(a+`
21
- `)),c+=s.move(l),o(),c}function K4(e,t,n){return(n?"":" ")+e}function Q0(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 Z4(e,t,n,r){const i=Q0(n),a=i==='"'?"Quote":"Apostrophe",u=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let o=l.move("[");return o+=l.move(n.safe(n.associationId(e),{before:o,after:"]",...l.current()})),o+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),o+=l.move("<"),o+=l.move(n.safe(e.url,{before:o,after:">",...l.current()})),o+=l.move(">")):(s=n.enter("destinationRaw"),o+=l.move(n.safe(e.url,{before:o,after:e.title?" ":`
22
- `,...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),o+=l.move(" "+i),o+=l.move(n.safe(e.title,{before:o,after:i,...l.current()})),o+=l.move(i),s()),u(),o}function J4(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 Nr(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ep(e){return e!==null&&(e<0||e===32)}const tp=fc(new RegExp("\\p{P}|\\p{S}","u")),np=fc(/\s/);function fc(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function vs(e){if(e===null||ep(e)||np(e))return 1;if(tp(e))return 2}function yi(e,t,n){const r=vs(e),i=vs(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}mc.peek=rp;function mc(e,t,n,r){const i=J4(n),a=n.enter("emphasis"),u=n.createTracker(r),s=u.move(i);let l=u.move(n.containerPhrasing(e,{after:i,before:s,...u.current()}));const o=l.charCodeAt(0),c=yi(r.before.charCodeAt(r.before.length-1),o,i);c.inside&&(l=Nr(o)+l.slice(1));const f=l.charCodeAt(l.length-1),p=yi(r.after.charCodeAt(0),f,i);p.inside&&(l=l.slice(0,-1)+Nr(f));const m=u.move(i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},s+l+m}function rp(e,t,n){return n.options.emphasis||"*"}const ip={};function dc(e,t){const n=ip,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return pc(e,r,i)}function pc(e,t,n){if(ap(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ss(e.children,t,n)}return Array.isArray(e)?Ss(e,t,n):""}function Ss(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=pc(e[i],t,n);return r.join("")}function ap(e){return!!(e&&typeof e=="object")}function up(e,t){let n=!1;return Ri(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,c0}),!!((!e.depth||e.depth<3)&&dc(e)&&(t.options.setext||n))}function sp(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(up(e,n)){const c=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(e,{...a.current(),before:`
23
- `,after:`
24
- `});return f(),c(),p+`
25
- `+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
26
- `))+1))}const u="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");a.move(u+" ");let o=n.containerPhrasing(e,{before:"# ",after:`
27
- `,...a.current()});return/^[\t ]/.test(o)&&(o=Nr(o.charCodeAt(0))+o.slice(1)),o=o?u+" "+o:u,n.options.closeAtx&&(o+=" "+u),l(),s(),o}gc.peek=lp;function gc(e){return e.value||""}function lp(){return"<"}bc.peek=op;function bc(e,t,n,r){const i=Q0(n),a=i==='"'?"Quote":"Apostrophe",u=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let o=l.move("![");return o+=l.move(n.safe(e.alt,{before:o,after:"]",...l.current()})),o+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),o+=l.move("<"),o+=l.move(n.safe(e.url,{before:o,after:">",...l.current()})),o+=l.move(">")):(s=n.enter("destinationRaw"),o+=l.move(n.safe(e.url,{before:o,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),o+=l.move(" "+i),o+=l.move(n.safe(e.title,{before:o,after:i,...l.current()})),o+=l.move(i),s()),o+=l.move(")"),u(),o}function op(){return"!"}Ec.peek=cp;function Ec(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let u=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const o=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(o+"]["),u();const c=n.stack;n.stack=[],u=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return u(),n.stack=c,a(),i==="full"||!o||o!==f?l+=s.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function cp(){return"!"}Tc.peek=hp;function Tc(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const u=n.unsafe[a],s=n.compilePattern(u);let l;if(u.atBreak)for(;l=s.exec(r);){let o=l.index;r.charCodeAt(o)===10&&r.charCodeAt(o-1)===13&&o--,r=r.slice(0,o)+" "+r.slice(l.index+1)}}return i+r+i}function hp(){return"`"}function xc(e,t){const n=dc(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}yc.peek=fp;function yc(e,t,n,r){const i=Q0(n),a=i==='"'?"Quote":"Apostrophe",u=n.createTracker(r);let s,l;if(xc(e,n)){const c=n.stack;n.stack=[],s=n.enter("autolink");let f=u.move("<");return f+=u.move(n.containerPhrasing(e,{before:f,after:">",...u.current()})),f+=u.move(">"),s(),n.stack=c,f}s=n.enter("link"),l=n.enter("label");let o=u.move("[");return o+=u.move(n.containerPhrasing(e,{before:o,after:"](",...u.current()})),o+=u.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),o+=u.move("<"),o+=u.move(n.safe(e.url,{before:o,after:">",...u.current()})),o+=u.move(">")):(l=n.enter("destinationRaw"),o+=u.move(n.safe(e.url,{before:o,after:e.title?" ":")",...u.current()}))),l(),e.title&&(l=n.enter(`title${a}`),o+=u.move(" "+i),o+=u.move(n.safe(e.title,{before:o,after:i,...u.current()})),o+=u.move(i),l()),o+=u.move(")"),s(),o}function fp(e,t,n){return xc(e,n)?"<":"["}kc.peek=mp;function kc(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let u=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const o=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(o+"]["),u();const c=n.stack;n.stack=[],u=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return u(),n.stack=c,a(),i==="full"||!o||o!==f?l+=s.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function mp(){return"["}function K0(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 dp(e){const t=K0(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function pp(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 Ac(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 gp(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let u=e.ordered?pp(n):K0(n);const s=e.ordered?u==="."?")":".":dp(n);let l=t&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&c&&(!c.children||!c.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),Ac(n)===u&&c){let f=-1;for(;++f<e.children.length;){const p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(u=s),n.bulletCurrent=u;const o=n.containerFlow(e,r);return n.bulletLastUsed=u,n.bulletCurrent=a,i(),o}function bp(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 Ep(e,t,n,r){const i=bp(n);let a=n.bulletCurrent||K0(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let u=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(u-a.length)),s.shift(u);const l=n.enter("listItem"),o=n.indentLines(n.containerFlow(e,s.current()),c);return l(),o;function c(f,p,m){return p?(m?"":" ".repeat(u))+f:(m?a:a+" ".repeat(u-a.length))+f}}function Tp(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),u=n.containerPhrasing(e,r);return a(),i(),u}const xp=Fr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function yp(e,t,n,r){return(e.children.some(function(u){return xp(u)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function kp(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}vc.peek=Ap;function vc(e,t,n,r){const i=kp(n),a=n.enter("strong"),u=n.createTracker(r),s=u.move(i+i);let l=u.move(n.containerPhrasing(e,{after:i,before:s,...u.current()}));const o=l.charCodeAt(0),c=yi(r.before.charCodeAt(r.before.length-1),o,i);c.inside&&(l=Nr(o)+l.slice(1));const f=l.charCodeAt(l.length-1),p=yi(r.after.charCodeAt(0),f,i);p.inside&&(l=l.slice(0,-1)+Nr(f));const m=u.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},s+l+m}function Ap(e,t,n){return n.options.strong||"*"}function vp(e,t,n,r){return n.safe(e.value,r)}function Sp(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 wp(e,t,n){const r=(Ac(n)+(n.options.ruleSpaces?" ":"")).repeat(Sp(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Sc={blockquote:V4,break:As,code:Q4,definition:Z4,emphasis:mc,hardBreak:As,heading:sp,html:gc,image:bc,imageReference:Ec,inlineCode:Tc,link:yc,linkReference:kc,list:gp,listItem:Ep,paragraph:Tp,root:yp,strong:vc,text:vp,thematicBreak:wp};function Cp(){return{enter:{table:Ip,tableData:ws,tableHeader:ws,tableRow:Np},exit:{codeText:Dp,table:_p,tableData:ga,tableHeader:ga,tableRow:ga}}}function Ip(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function _p(e){this.exit(e),this.data.inTable=void 0}function Np(e){this.enter({type:"tableRow",children:[]},e)}function ga(e){this.exit(e)}function ws(e){this.enter({type:"tableCell",children:[]},e)}function Dp(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Lp));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Lp(e,t){return t==="|"?t:e}function Op(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
28
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:u,tableCell:l,tableRow:s}};function u(m,y,v,N){return o(c(m,v,N),m.align)}function s(m,y,v,N){const k=f(m,v,N),D=o([k]);return D.slice(0,D.indexOf(`
29
- `))}function l(m,y,v,N){const k=v.enter("tableCell"),D=v.enter("phrasing"),O=v.containerPhrasing(m,{...N,before:a,after:a});return D(),k(),O}function o(m,y){return $4(m,{align:y,alignDelimiters:r,padding:n,stringLength:i})}function c(m,y,v){const N=m.children;let k=-1;const D=[],O=y.enter("table");for(;++k<N.length;)D[k]=f(N[k],y,v);return O(),D}function f(m,y,v){const N=m.children;let k=-1;const D=[],O=y.enter("tableRow");for(;++k<N.length;)D[k]=l(N[k],m,y,v);return O(),D}function p(m,y,v){let N=Sc.inlineCode(m,y,v);return v.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function Mp(){return{exit:{taskListCheckValueChecked:Cs,taskListCheckValueUnchecked:Cs,paragraph:Pp}}}function Rp(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Bp}}}function Cs(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Pp(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,u;for(;++a<i.length;){const s=i[a];if(s.type==="paragraph"){u=s;break}}u===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Bp(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(u);let l=Sc.listItem(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,o)),l;function o(c){return c+u}}function Fp(){return[f4(),O4(),B4(),Cp(),Mp()]}function zp(e){return{extensions:[m4(),M4(e),F4(),Op(e),Rp()]}}function Hp(e,t,n,r){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<r.length;)u=r.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}const Is={}.hasOwnProperty;function Up(e){const t={};let n=-1;for(;++n<e.length;)qp(t,e[n]);return t}function qp(e,t){let n;for(n in t){const i=(Is.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let u;if(a)for(u in a){Is.call(i,u)||(i[u]=[]);const s=a[u];$p(i[u],Array.isArray(s)?s:s?[s]:[])}}}function $p(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Hp(e,0,0,r)}const Dr=Pi(/[A-Za-z]/),Z0=Pi(/[\dA-Za-z]/);function Yp(e){return e!==null&&(e<32||e===127)}function Qn(e){return e!==null&&(e<0||e===32)}const wc=Pi(new RegExp("\\p{P}|\\p{S}","u")),Lr=Pi(/\s/);function Pi(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}const Vp={tokenize:Kp,partial:!0},Cc={tokenize:Zp,partial:!0},Ic={tokenize:Jp,partial:!0},_c={tokenize:e3,partial:!0},Gp={tokenize:t3,partial:!0},Nc={name:"wwwAutolink",tokenize:Xp,previous:Lc},Dc={name:"protocolAutolink",tokenize:Qp,previous:Oc},on={name:"emailAutolink",tokenize:Wp,previous:Mc},Yt={};function jp(){return{text:Yt}}let In=48;for(;In<123;)Yt[In]=on,In++,In===58?In=65:In===91&&(In=97);Yt[43]=on;Yt[45]=on;Yt[46]=on;Yt[95]=on;Yt[72]=[on,Dc];Yt[104]=[on,Dc];Yt[87]=[on,Nc];Yt[119]=[on,Nc];function Wp(e,t,n){const r=this;let i,a;return u;function u(f){return!d0(f)||!Mc.call(r,r.previous)||J0(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(f))}function s(f){return d0(f)?(e.consume(f),s):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(Gp,c,o)(f):f===45||f===95||Z0(f)?(a=!0,e.consume(f),l):c(f)}function o(f){return e.consume(f),i=!0,l}function c(f){return a&&i&&Dr(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function Xp(e,t,n){const r=this;return i;function i(u){return u!==87&&u!==119||!Lc.call(r,r.previous)||J0(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Vp,e.attempt(Cc,e.attempt(Ic,a),n),n)(u))}function a(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function Qp(e,t,n){const r=this;let i="",a=!1;return u;function u(f){return(f===72||f===104)&&Oc.call(r,r.previous)&&!J0(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),s):n(f)}function s(f){if(Dr(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),s;if(f===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),a?o:(a=!0,l)):n(f)}function o(f){return f===null||Yp(f)||Qn(f)||Lr(f)||wc(f)?n(f):e.attempt(Cc,e.attempt(Ic,c),n)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Kp(e,t,n){let r=0;return i;function i(u){return(u===87||u===119)&&r<3?(r++,e.consume(u),i):u===46&&r===3?(e.consume(u),a):n(u)}function a(u){return u===null?n(u):t(u)}}function Zp(e,t,n){let r,i,a;return u;function u(o){return o===46||o===95?e.check(_c,l,s)(o):o===null||Qn(o)||Lr(o)||o!==45&&wc(o)?l(o):(a=!0,e.consume(o),u)}function s(o){return o===95?r=!0:(i=r,r=void 0),e.consume(o),u}function l(o){return i||r||!a?n(o):t(o)}}function Jp(e,t){let n=0,r=0;return i;function i(u){return u===40?(n++,e.consume(u),i):u===41&&r<n?a(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(_c,t,a)(u):u===null||Qn(u)||Lr(u)?t(u):(e.consume(u),i)}function a(u){return u===41&&r++,e.consume(u),i}}function e3(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||Qn(s)||Lr(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||Qn(s)||Lr(s)?t(s):r(s)}function a(s){return Dr(s)?u(s):n(s)}function u(s){return s===59?(e.consume(s),r):Dr(s)?(e.consume(s),u):n(s)}}function t3(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return Z0(a)?n(a):t(a)}}function Lc(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Qn(e)}function Oc(e){return!Dr(e)}function Mc(e){return!(e===47||d0(e))}function d0(e){return e===43||e===45||e===46||e===95||Z0(e)}function J0(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function n3(e){return e!==null&&e<-2}function ki(e){return e!==null&&(e<0||e===32)}function p0(e){return e===-2||e===-1||e===32}function eu(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(l){return p0(l)?(e.enter(n),s(l)):t(l)}function s(l){return p0(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}const r3={partial:!0,tokenize:i3};function i3(e,t,n){return r;function r(a){return p0(a)?eu(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||n3(a)?t(a):n(a)}}function tu(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const a3={tokenize:m3,partial:!0};function u3(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:c3,continuation:{tokenize:h3},exit:f3}},text:{91:{name:"gfmFootnoteCall",tokenize:o3},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:s3,resolveTo:l3}}}}function s3(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){u=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!u||!u._balanced)return n(l);const o=tu(r.sliceSerialize({start:u.end,end:r.now()}));return o.codePointAt(0)!==94||!a.includes(o.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function l3(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",u,t],["exit",u,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function o3(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,u;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",o)}function o(f){if(a>999||f===93&&!u||f===null||f===91||ki(f))return n(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(tu(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return ki(f)||(u=!0),a++,e.consume(f),f===92?c:o}function c(f){return f===91||f===92||f===93?(e.consume(f),a++,o):o(f)}}function c3(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,u=0,s;return l;function l(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),o}function o(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(y)}function c(y){if(u>999||y===93&&!s||y===null||y===91||ki(y))return n(y);if(y===93){e.exit("chunkString");const v=e.exit("gfmFootnoteDefinitionLabelString");return a=tu(r.sliceSerialize(v)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return ki(y)||(s=!0),u++,e.consume(y),y===92?f:c}function f(y){return y===91||y===92||y===93?(e.consume(y),u++,c):c(y)}function p(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),i.includes(a)||i.push(a),eu(e,m,"gfmFootnoteDefinitionWhitespace")):n(y)}function m(y){return t(y)}}function h3(e,t,n){return e.check(r3,t,e.attempt(a3,t,n))}function f3(e){e.exit("gfmFootnoteDefinition")}function m3(e,t,n){const r=this;return eu(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(a):n(a)}}function ba(e,t,n,r){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<r.length;)u=r.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}function d3(e){return e!==null&&(e<0||e===32)}const p3=Rc(new RegExp("\\p{P}|\\p{S}","u")),g3=Rc(/\s/);function Rc(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function _s(e){if(e===null||d3(e)||g3(e))return 1;if(p3(e))return 2}function b3(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}function E3(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(u,s){let l=-1;for(;++l<u.length;)if(u[l][0]==="enter"&&u[l][1].type==="strikethroughSequenceTemporary"&&u[l][1]._close){let o=l;for(;o--;)if(u[o][0]==="exit"&&u[o][1].type==="strikethroughSequenceTemporary"&&u[o][1]._open&&u[l][1].end.offset-u[l][1].start.offset===u[o][1].end.offset-u[o][1].start.offset){u[l][1].type="strikethroughSequence",u[o][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},u[o][1].start),end:Object.assign({},u[l][1].end)},f={type:"strikethroughText",start:Object.assign({},u[o][1].end),end:Object.assign({},u[l][1].start)},p=[["enter",c,s],["enter",u[o][1],s],["exit",u[o][1],s],["enter",f,s]],m=s.parser.constructs.insideSpan.null;m&&ba(p,p.length,0,b3(m,u.slice(o+1,l),s)),ba(p,p.length,0,[["exit",f,s],["enter",u[l][1],s],["exit",u[l][1],s],["exit",c,s]]),ba(u,o-1,l-o+3,p),l=o+p.length-2;break}}for(l=-1;++l<u.length;)u[l][1].type==="strikethroughSequenceTemporary"&&(u[l][1].type="data");return u}function a(u,s,l){const o=this.previous,c=this.events;let f=0;return p;function p(y){return o===126&&c[c.length-1][1].type!=="characterEscape"?l(y):(u.enter("strikethroughSequenceTemporary"),m(y))}function m(y){const v=_s(o);if(y===126)return f>1?l(y):(u.consume(y),f++,m);if(f<2&&!n)return l(y);const N=u.exit("strikethroughSequenceTemporary"),k=_s(y);return N._open=!k||k===2&&!!v,N._close=!v||v===2&&!!k,s(y)}}}function Qr(e){return e!==null&&e<-2}function Ns(e){return e!==null&&(e<0||e===32)}function Dn(e){return e===-2||e===-1||e===32}function dr(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(l){return Dn(l)?(e.enter(n),s(l)):t(l)}function s(l){return Dn(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}class T3{constructor(){this.map=[]}add(t,n,r){x3(this,t,n,r)}consume(t){if(this.map.sort(function(a,u){return a[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function x3(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function y3(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function k3(){return{flow:{null:{name:"table",tokenize:A3,resolveAll:v3}}}}function A3(e,t,n){const r=this;let i=0,a=0,u;return s;function s(P){let H=r.events.length-1;for(;H>-1;){const te=r.events[H][1].type;if(te==="lineEnding"||te==="linePrefix")H--;else break}const F=H>-1?r.events[H][1].type:null,ue=F==="tableHead"||F==="tableRow"?w:l;return ue===w&&r.parser.lazy[r.now().line]?n(P):ue(P)}function l(P){return e.enter("tableHead"),e.enter("tableRow"),o(P)}function o(P){return P===124||(u=!0,a+=1),c(P)}function c(P){return P===null?n(P):Qr(P)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),m):n(P):Dn(P)?dr(e,c,"whitespace")(P):(a+=1,u&&(u=!1,i+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),u=!0,c):(e.enter("data"),f(P)))}function f(P){return P===null||P===124||Ns(P)?(e.exit("data"),c(P)):(e.consume(P),P===92?p:f)}function p(P){return P===92||P===124?(e.consume(P),f):f(P)}function m(P){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(P):(e.enter("tableDelimiterRow"),u=!1,Dn(P)?dr(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):y(P))}function y(P){return P===45||P===58?N(P):P===124?(u=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),v):$(P)}function v(P){return Dn(P)?dr(e,N,"whitespace")(P):N(P)}function N(P){return P===58?(a+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),k):P===45?(a+=1,k(P)):P===null||Qr(P)?j(P):$(P)}function k(P){return P===45?(e.enter("tableDelimiterFiller"),D(P)):$(P)}function D(P){return P===45?(e.consume(P),D):P===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(P))}function O(P){return Dn(P)?dr(e,j,"whitespace")(P):j(P)}function j(P){return P===124?y(P):P===null||Qr(P)?!u||i!==a?$(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):$(P)}function $(P){return n(P)}function w(P){return e.enter("tableRow"),V(P)}function V(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),V):P===null||Qr(P)?(e.exit("tableRow"),t(P)):Dn(P)?dr(e,V,"whitespace")(P):(e.enter("data"),ee(P))}function ee(P){return P===null||P===124||Ns(P)?(e.exit("data"),V(P)):(e.consume(P),P===92?G:ee)}function G(P){return P===92||P===124?(e.consume(P),ee):ee(P)}}function v3(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],u=[0,0,0,0],s=!1,l=0,o,c,f;const p=new T3;for(;++n<e.length;){const m=e[n],y=m[1];m[0]==="enter"?y.type==="tableHead"?(s=!1,l!==0&&(Ds(p,t,l,o,c),c=void 0,l=0),o={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},p.add(n,0,[["enter",o,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(r=!0,f=void 0,a=[0,0,0,0],u=[0,n+1,0,0],s&&(s=!1,c={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},p.add(n,0,[["enter",c,t]])),i=y.type==="tableDelimiterRow"?2:c?3:1):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(a[1]!==0&&(u[0]=u[1],f=Kr(p,t,a,i,void 0,f),a=[0,0,0,0]),u[2]=n)):y.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(u[0]=u[1],f=Kr(p,t,a,i,void 0,f)),a=u,u=[a[1],n,0,0])):y.type==="tableHead"?(s=!0,l=n):y.type==="tableRow"||y.type==="tableDelimiterRow"?(l=n,a[1]!==0?(u[0]=u[1],f=Kr(p,t,a,i,n,f)):u[1]!==0&&(f=Kr(p,t,u,i,n,f)),i=0):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(u[3]=n)}for(l!==0&&Ds(p,t,l,o,c),p.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=y3(t.events,n))}return e}function Kr(e,t,n,r,i,a){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(a.end=Object.assign({},$n(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const l=$n(t.events,n[1]);if(a={type:u,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const o=$n(t.events,n[2]),c=$n(t.events,n[3]),f={type:s,start:Object.assign({},o),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const p=t.events[n[2]],m=t.events[n[3]];if(p[1].end=Object.assign({},m[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const y=n[2]+1,v=n[3]-n[2]-1;e.add(y,v,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(a.end=Object.assign({},$n(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function Ds(e,t,n,r,i){const a=[],u=$n(t.events,n);i&&(i.end=Object.assign({},u),a.push(["exit",i,t])),r.end=Object.assign({},u),a.push(["exit",r,t]),e.add(n+1,0,a)}function $n(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}function S3(e){return e!==null&&e<-2}function w3(e){return e!==null&&(e<0||e===32)}function g0(e){return e===-2||e===-1||e===32}function C3(e,t,n,r){const i=Number.POSITIVE_INFINITY;let a=0;return u;function u(l){return g0(l)?(e.enter(n),s(l)):t(l)}function s(l){return g0(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}const I3={name:"tasklistCheck",tokenize:N3};function _3(){return{text:{91:I3}}}function N3(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return w3(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),u):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),u):n(l)}function u(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return S3(l)?t(l):g0(l)?e.check({tokenize:D3},t,n)(l):n(l)}}function D3(e,t,n){return C3(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function L3(e){return Up([jp(),u3(),E3(e),k3(),_3()])}const O3={};function GE(e){const t=this,n=e||O3,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(L3(n)),a.push(Fp()),u.push(zp(n))}function M3(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:u,mathTextData:s}};function e(l){const o={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[o]}},l)}function t(){this.buffer()}function n(){const l=this.resume(),o=this.stack[this.stack.length-1];o.type,o.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const o=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=o;const f=c.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:o}),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 u(l){const o=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(l),c.value=o,c.data.hChildren.push({type:"text",value:o})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function R3(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
30
- `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(a,u,s,l){const o=a.value||"",c=s.createTracker(l),f="$".repeat(Math.max(hc(o,"$")+1,2)),p=s.enter("mathFlow");let m=c.move(f);if(a.meta){const y=s.enter("mathFlowMeta");m+=c.move(s.safe(a.meta,{after:`
31
- `,before:m,encode:["$"],...c.current()})),y()}return m+=c.move(`
32
- `),o&&(m+=c.move(o+`
33
- `)),m+=c.move(f),p(),m}function r(a,u,s){let l=a.value||"",o=1;for(t||o++;new RegExp("(^|[^$])"+"\\$".repeat(o)+"([^$]|$)").test(l);)o++;const c="$".repeat(o);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f<s.unsafe.length;){const p=s.unsafe[f];if(!p.atBreak)continue;const m=s.compilePattern(p);let y;for(;y=m.exec(l);){let v=y.index;l.codePointAt(v)===10&&l.codePointAt(v-1)===13&&v--,l=l.slice(0,v)+" "+l.slice(y.index+1)}}return c+l+c}function i(){return"$"}}function Ln(e){return e!==null&&e<-2}function Ls(e){return e===-2||e===-1||e===32}function Zr(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(l){return Ls(l)?(e.enter(n),s(l)):t(l)}function s(l){return Ls(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}const P3={tokenize:B3,concrete:!0,name:"mathFlow"},Os={tokenize:F3,partial:!0};function B3(e,t,n){const r=this,i=r.events[r.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let u=0;return s;function s(D){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(D)}function l(D){return D===36?(e.consume(D),u++,l):u<2?n(D):(e.exit("mathFlowFenceSequence"),Zr(e,o,"whitespace")(D))}function o(D){return D===null||Ln(D)?f(D):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(D))}function c(D){return D===null||Ln(D)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(D)):D===36?n(D):(e.consume(D),c)}function f(D){return e.exit("mathFlowFence"),r.interrupt?t(D):e.attempt(Os,p,N)(D)}function p(D){return e.attempt({tokenize:k,partial:!0},N,m)(D)}function m(D){return(a?Zr(e,y,"linePrefix",a+1):y)(D)}function y(D){return D===null?N(D):Ln(D)?e.attempt(Os,p,N)(D):(e.enter("mathFlowValue"),v(D))}function v(D){return D===null||Ln(D)?(e.exit("mathFlowValue"),y(D)):(e.consume(D),v)}function N(D){return e.exit("mathFlow"),t(D)}function k(D,O,j){let $=0;return Zr(D,w,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function w(G){return D.enter("mathFlowFence"),D.enter("mathFlowFenceSequence"),V(G)}function V(G){return G===36?($++,D.consume(G),V):$<u?j(G):(D.exit("mathFlowFenceSequence"),Zr(D,ee,"whitespace")(G))}function ee(G){return G===null||Ln(G)?(D.exit("mathFlowFence"),O(G)):j(G)}}}function F3(e,t,n){const r=this;return i;function i(u){return u===null?t(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function z3(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:H3,previous:U3,name:"mathText"};function r(i,a,u){let s=0,l,o;return c;function c(v){return i.enter("mathText"),i.enter("mathTextSequence"),f(v)}function f(v){return v===36?(i.consume(v),s++,f):s<2&&!n?u(v):(i.exit("mathTextSequence"),p(v))}function p(v){return v===null?u(v):v===36?(o=i.enter("mathTextSequence"),l=0,y(v)):v===32?(i.enter("space"),i.consume(v),i.exit("space"),p):Ln(v)?(i.enter("lineEnding"),i.consume(v),i.exit("lineEnding"),p):(i.enter("mathTextData"),m(v))}function m(v){return v===null||v===32||v===36||Ln(v)?(i.exit("mathTextData"),p(v)):(i.consume(v),m)}function y(v){return v===36?(i.consume(v),l++,y):l===s?(i.exit("mathTextSequence"),i.exit("mathText"),a(v)):(o.type="mathTextData",m(v))}}}function H3(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function U3(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function q3(e){return{flow:{36:P3},text:{36:z3(e)}}}class ht{constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new ht(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class Tt{constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new Tt(n,ht.range(this,t))}}class Z{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,i,a,u=n&&n.loc;if(u&&u.start<=u.end){var s=u.lexer.input;i=u.start,a=u.end,i===s.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var l=s.slice(i,a).replace(/[^]/g,"$&̲"),o;i>15?o="…"+s.slice(i-15,i):o=s.slice(0,i);var c;a+15<s.length?c=s.slice(a,a+15)+"…":c=s.slice(a),r+=o+l+c}var f=new Error(r);return f.name="ParseError",f.__proto__=Z.prototype,f.position=i,i!=null&&a!=null&&(f.length=a-i),f.rawMessage=t,f}}Z.prototype.__proto__=Error.prototype;var $3=function(t,n){return t===void 0?n:t},Y3=/([A-Z])/g,V3=function(t){return t.replace(Y3,"-$1").toLowerCase()},G3={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},j3=/[&><"']/g;function W3(e){return String(e).replace(j3,t=>G3[t])}var Pc=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},X3=function(t){var n=Pc(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},Q3=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},K3=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},Ae={deflt:$3,escape:W3,hyphenate:V3,getBaseElem:Pc,isCharacterBox:X3,protocolFromUrl:K3},yr={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 Z3(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class nu{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 n in yr)if(yr.hasOwnProperty(n)){var r=yr[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:Z3(r)}}reportNonstrict(t,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(t,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new Z("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var i=this.strict;if(typeof i=="function")try{i=i(t,n,r)}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': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=Ae.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class mn{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return Mt[J3[this.id]]}sub(){return Mt[e6[this.id]]}fracNum(){return Mt[t6[this.id]]}fracDen(){return Mt[n6[this.id]]}cramp(){return Mt[r6[this.id]]}text(){return Mt[i6[this.id]]}isTight(){return this.size>=2}}var ru=0,Ai=1,jn=2,nn=3,Or=4,vt=5,Kn=6,at=7,Mt=[new mn(ru,0,!1),new mn(Ai,0,!0),new mn(jn,1,!1),new mn(nn,1,!0),new mn(Or,2,!1),new mn(vt,2,!0),new mn(Kn,3,!1),new mn(at,3,!0)],J3=[Or,vt,Or,vt,Kn,at,Kn,at],e6=[vt,vt,vt,vt,at,at,at,at],t6=[jn,nn,Or,vt,Kn,at,Kn,at],n6=[nn,nn,vt,vt,at,at,at,at],r6=[Ai,Ai,nn,nn,vt,vt,at,at],i6=[ru,Ai,jn,nn,jn,nn,jn,nn],ce={DISPLAY:Mt[ru],TEXT:Mt[jn],SCRIPT:Mt[Or],SCRIPTSCRIPT:Mt[Kn]},b0=[{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 a6(e){for(var t=0;t<b0.length;t++)for(var n=b0[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var mi=[];b0.forEach(e=>e.blocks.forEach(t=>mi.push(...t)));function Bc(e){for(var t=0;t<mi.length;t+=2)if(e>=mi[t]&&e<=mi[t+1])return!0;return!1}var qn=80,u6=function(t,n){return"M95,"+(622+t+n)+`
34
- c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
35
- c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
36
- 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
37
- s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
38
- c69,-144,104.5,-217.7,106.5,-221
39
- l`+t/2.075+" -"+t+`
40
- c5.3,-9.3,12,-14,20,-14
41
- H400000v`+(40+t)+`H845.2724
42
- s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
43
- c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
44
- M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},s6=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
45
- c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
46
- c340,-704.7,510.7,-1060.3,512,-1067
47
- l`+t/2.084+" -"+t+`
48
- c4.7,-7.3,11,-11,19,-11
49
- H40000v`+(40+t)+`H1012.3
50
- s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
51
- 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
52
- s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
53
- c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
54
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},l6=function(t,n){return"M983 "+(10+t+n)+`
55
- l`+t/3.13+" -"+t+`
56
- c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
57
- 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
58
- 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
59
- c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
60
- c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
61
- c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
62
- c53.7,-170.3,84.5,-266.8,92.5,-289.5z
63
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},o6=function(t,n){return"M424,"+(2398+t+n)+`
64
- c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
65
- 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
66
- s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
67
- s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
68
- l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
69
- v`+(40+t)+`H1014.6
70
- s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
71
- c-2,6,-10,9,-24,9
72
- c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
73
- h400000v`+(40+t)+"h-400000z"},c6=function(t,n){return"M473,"+(2713+t+n)+`
74
- c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
75
- c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
76
- s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
77
- 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
78
- 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
79
- s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
80
- 606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},h6=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},f6=function(t,n,r){var i=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
81
- 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
82
- h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
83
- c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
84
- 219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},m6=function(t,n,r){n=1e3*n;var i="";switch(t){case"sqrtMain":i=u6(n,qn);break;case"sqrtSize1":i=s6(n,qn);break;case"sqrtSize2":i=l6(n,qn);break;case"sqrtSize3":i=o6(n,qn);break;case"sqrtSize4":i=c6(n,qn);break;case"sqrtTall":i=f6(n,qn,r)}return i},d6=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},Ms={doubleleftarrow:`M262 157
85
- 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
86
- 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
87
- 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
88
- 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
89
- 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
90
- -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
91
- -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
92
- m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
93
- -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
94
- 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
95
- -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
96
- -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
97
- -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
98
- 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
99
- -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
100
- 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
101
- -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
102
- 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
103
- 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
104
- 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
105
- l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
106
- -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
107
- 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
108
- 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
109
- 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
110
- -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
111
- 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
112
- 435 0h399565z`,leftgroupunder:`M400000 262
113
- 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
114
- 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
115
- -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
116
- -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
117
- -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
118
- 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
119
- -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
120
- -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
121
- m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
122
- 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
123
- 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
124
- -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
125
- 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
126
- -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
127
- 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
128
- -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
129
- -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
130
- 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
131
- M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
132
- M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
133
- -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
134
- 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
135
- 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
136
- M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
137
- 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
138
- -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
139
- 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
140
- 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
141
- 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
142
- 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
143
- 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
144
- -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
145
- -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
146
- 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
147
- 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
148
- -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
149
- m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
150
- 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
151
- -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
152
- 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
153
- 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
154
- -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
155
- m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
156
- 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
157
- -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
158
- 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
159
- 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
160
- -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
161
- -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
162
- 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
163
- -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
164
- 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
165
- 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
166
- 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
167
- -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
168
- 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
169
- 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
170
- -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
171
- -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
172
- 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
173
- -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
174
- 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
175
- 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
176
- 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
177
- -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
178
- -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
179
- 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
180
- 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
181
- -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
182
- 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
183
- 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
184
- -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
185
- 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
186
- 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
187
- 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
188
- -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
189
- -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
190
- 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
191
- -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
192
- -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
193
- -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
194
- 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
195
- 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
196
- 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
197
- 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
198
- -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
199
- 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
200
- -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
201
- 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
202
- 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
203
- -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
204
- -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
205
- 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
206
- 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
207
- 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
208
- -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
209
- 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
210
- 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
211
- -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
212
- -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
213
- 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
214
- 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
215
- -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
216
- 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
217
- 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
218
- -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
219
- -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
220
- H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
221
- 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
222
- 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
223
- -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
224
- -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
225
- -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,
226
- -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,
227
- -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,
228
- -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,
229
- -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
230
- c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
231
- 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
232
- 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
233
- 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
234
- 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
235
- c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
236
- M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
237
- -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
238
- 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
239
- -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
240
- -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
241
- -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
242
- 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
243
- c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
244
- 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
245
- c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
246
- c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
247
- M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
248
- 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,
249
- -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
250
- 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
251
- 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
252
- 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,
253
- 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,
254
- -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
255
- 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
256
- 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,
257
- -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
258
- 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
259
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},p6=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
260
- H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
261
- M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
262
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
263
- c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
264
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
265
- c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
266
- M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
267
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
268
- c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z
269
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
270
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
271
- M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
272
- M347 1759 V0 h-84 V1759 v`+n+" 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
273
- 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,
274
- -36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
275
- 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
276
- 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,
277
- -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
278
- l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
279
- -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,
280
- 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
281
- c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
282
- 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
283
- 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
284
- 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
285
- c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
286
- l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
287
- -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 Hr{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(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){var t=n=>n.toText();return this.children.map(t).join("")}}var Ft={"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]}},Jr={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]},Rs={Å:"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 Fc(e,t){Ft[e]=t}function iu(e,t,n){if(!Ft[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=Ft[t][r];if(!i&&e[0]in Rs&&(r=Rs[e[0]].charCodeAt(0),i=Ft[t][r]),!i&&n==="text"&&Bc(r)&&(i=Ft[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Ea={};function g6(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Ea[t]){var n=Ea[t]={cssEmPerMu:Jr.quad[t]/18};for(var r in Jr)Jr.hasOwnProperty(r)&&(n[r]=Jr[r][t])}return Ea[t]}var b6=[[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]],Ps=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Bs=function(t,n){return n.size<2?t:b6[t-1][n.size-1]};class en{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||en.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=Ps[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={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 r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new en(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Bs(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:Ps[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=Bs(en.BASESIZE,t);return this.size===n&&this.textSize===en.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}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!==en.BASESIZE?["sizing","reset-size"+this.size,"size"+en.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=g6(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}en.BASESIZE=6;var E0={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},E6={ex:!0,em:!0,mu:!0},zc=function(t){return typeof t!="string"&&(t=t.unit),t in E0||t in E6||t==="ex"},ze=function(t,n){var r;if(t.unit in E0)r=E0[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,t.unit==="ex")r=i.fontMetrics().xHeight;else if(t.unit==="em")r=i.fontMetrics().quad;else throw new Z("Invalid unit: '"+t.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},re=function(t){return+t.toFixed(4)+"em"},xn=function(t){return t.filter(n=>n).join(" ")},Hc=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},Uc=function(t){var n=document.createElement(t);n.className=xn(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n},T6=/[\s"'>/=\x00-\x1f]/,qc=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Ae.escape(xn(this.classes))+'"');var r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=Ae.hyphenate(i)+":"+this.style[i]+";");r&&(n+=' style="'+Ae.escape(r)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(T6.test(a))throw new Z("Invalid attribute name '"+a+"'");n+=" "+a+'="'+Ae.escape(this.attributes[a])+'"'}n+=">";for(var u=0;u<this.children.length;u++)n+=this.children[u].toMarkup();return n+="</"+t+">",n};class Ur{constructor(t,n,r,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,Hc.call(this,t,r,i),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Uc.call(this,"span")}toMarkup(){return qc.call(this,"span")}}class au{constructor(t,n,r,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,Hc.call(this,n,i),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Uc.call(this,"a")}toMarkup(){return qc.call(this,"a")}}class x6{constructor(t,n,r){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=n,this.src=t,this.classes=["mord"],this.style=r}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 n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t='<img src="'+Ae.escape(this.src)+'"'+(' alt="'+Ae.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=Ae.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+Ae.escape(n)+'"'),t+="'/>",t}}var y6={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class St{constructor(t,n,r,i,a,u,s,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=n||0,this.depth=r||0,this.italic=i||0,this.skew=a||0,this.width=u||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var o=a6(this.text.charCodeAt(0));o&&this.classes.push(o+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=y6[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=re(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=xn(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=Ae.escape(xn(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=Ae.hyphenate(i)+":"+this.style[i]+";");r&&(t=!0,n+=' style="'+Ae.escape(r)+'"');var a=Ae.escape(this.text);return t?(n+=">",n+=a,n+="</span>",n):a}}class an{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+Ae.escape(this.attributes[n])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class yn{constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",Ms[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Ae.escape(this.alternate)+'"/>':'<path d="'+Ae.escape(Ms[this.pathName])+'"/>'}}class T0{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+Ae.escape(this.attributes[n])+'"');return t+="/>",t}}function Fs(e){if(e instanceof St)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function k6(e){if(e instanceof Ur)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var A6={bin:1,close:1,inner:1,open:1,punct:1,rel:1},v6={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Oe={math:{},text:{}};function d(e,t,n,r,i,a){Oe[e][i]={font:t,group:n,replace:r},a&&r&&(Oe[e][r]=Oe[e][i])}var g="math",W="text",T="main",C="ams",Pe="accent-token",ae="bin",ut="close",rr="inner",oe="mathord",Ve="op-token",xt="open",Bi="punct",I="rel",cn="spacing",M="textord";d(g,T,I,"≡","\\equiv",!0);d(g,T,I,"≺","\\prec",!0);d(g,T,I,"≻","\\succ",!0);d(g,T,I,"∼","\\sim",!0);d(g,T,I,"⊥","\\perp");d(g,T,I,"⪯","\\preceq",!0);d(g,T,I,"⪰","\\succeq",!0);d(g,T,I,"≃","\\simeq",!0);d(g,T,I,"∣","\\mid",!0);d(g,T,I,"≪","\\ll",!0);d(g,T,I,"≫","\\gg",!0);d(g,T,I,"≍","\\asymp",!0);d(g,T,I,"∥","\\parallel");d(g,T,I,"⋈","\\bowtie",!0);d(g,T,I,"⌣","\\smile",!0);d(g,T,I,"⊑","\\sqsubseteq",!0);d(g,T,I,"⊒","\\sqsupseteq",!0);d(g,T,I,"≐","\\doteq",!0);d(g,T,I,"⌢","\\frown",!0);d(g,T,I,"∋","\\ni",!0);d(g,T,I,"∝","\\propto",!0);d(g,T,I,"⊢","\\vdash",!0);d(g,T,I,"⊣","\\dashv",!0);d(g,T,I,"∋","\\owns");d(g,T,Bi,".","\\ldotp");d(g,T,Bi,"⋅","\\cdotp");d(g,T,M,"#","\\#");d(W,T,M,"#","\\#");d(g,T,M,"&","\\&");d(W,T,M,"&","\\&");d(g,T,M,"ℵ","\\aleph",!0);d(g,T,M,"∀","\\forall",!0);d(g,T,M,"ℏ","\\hbar",!0);d(g,T,M,"∃","\\exists",!0);d(g,T,M,"∇","\\nabla",!0);d(g,T,M,"♭","\\flat",!0);d(g,T,M,"ℓ","\\ell",!0);d(g,T,M,"♮","\\natural",!0);d(g,T,M,"♣","\\clubsuit",!0);d(g,T,M,"℘","\\wp",!0);d(g,T,M,"♯","\\sharp",!0);d(g,T,M,"♢","\\diamondsuit",!0);d(g,T,M,"ℜ","\\Re",!0);d(g,T,M,"♡","\\heartsuit",!0);d(g,T,M,"ℑ","\\Im",!0);d(g,T,M,"♠","\\spadesuit",!0);d(g,T,M,"§","\\S",!0);d(W,T,M,"§","\\S");d(g,T,M,"¶","\\P",!0);d(W,T,M,"¶","\\P");d(g,T,M,"†","\\dag");d(W,T,M,"†","\\dag");d(W,T,M,"†","\\textdagger");d(g,T,M,"‡","\\ddag");d(W,T,M,"‡","\\ddag");d(W,T,M,"‡","\\textdaggerdbl");d(g,T,ut,"⎱","\\rmoustache",!0);d(g,T,xt,"⎰","\\lmoustache",!0);d(g,T,ut,"⟯","\\rgroup",!0);d(g,T,xt,"⟮","\\lgroup",!0);d(g,T,ae,"∓","\\mp",!0);d(g,T,ae,"⊖","\\ominus",!0);d(g,T,ae,"⊎","\\uplus",!0);d(g,T,ae,"⊓","\\sqcap",!0);d(g,T,ae,"∗","\\ast");d(g,T,ae,"⊔","\\sqcup",!0);d(g,T,ae,"◯","\\bigcirc",!0);d(g,T,ae,"∙","\\bullet",!0);d(g,T,ae,"‡","\\ddagger");d(g,T,ae,"≀","\\wr",!0);d(g,T,ae,"⨿","\\amalg");d(g,T,ae,"&","\\And");d(g,T,I,"⟵","\\longleftarrow",!0);d(g,T,I,"⇐","\\Leftarrow",!0);d(g,T,I,"⟸","\\Longleftarrow",!0);d(g,T,I,"⟶","\\longrightarrow",!0);d(g,T,I,"⇒","\\Rightarrow",!0);d(g,T,I,"⟹","\\Longrightarrow",!0);d(g,T,I,"↔","\\leftrightarrow",!0);d(g,T,I,"⟷","\\longleftrightarrow",!0);d(g,T,I,"⇔","\\Leftrightarrow",!0);d(g,T,I,"⟺","\\Longleftrightarrow",!0);d(g,T,I,"↦","\\mapsto",!0);d(g,T,I,"⟼","\\longmapsto",!0);d(g,T,I,"↗","\\nearrow",!0);d(g,T,I,"↩","\\hookleftarrow",!0);d(g,T,I,"↪","\\hookrightarrow",!0);d(g,T,I,"↘","\\searrow",!0);d(g,T,I,"↼","\\leftharpoonup",!0);d(g,T,I,"⇀","\\rightharpoonup",!0);d(g,T,I,"↙","\\swarrow",!0);d(g,T,I,"↽","\\leftharpoondown",!0);d(g,T,I,"⇁","\\rightharpoondown",!0);d(g,T,I,"↖","\\nwarrow",!0);d(g,T,I,"⇌","\\rightleftharpoons",!0);d(g,C,I,"≮","\\nless",!0);d(g,C,I,"","\\@nleqslant");d(g,C,I,"","\\@nleqq");d(g,C,I,"⪇","\\lneq",!0);d(g,C,I,"≨","\\lneqq",!0);d(g,C,I,"","\\@lvertneqq");d(g,C,I,"⋦","\\lnsim",!0);d(g,C,I,"⪉","\\lnapprox",!0);d(g,C,I,"⊀","\\nprec",!0);d(g,C,I,"⋠","\\npreceq",!0);d(g,C,I,"⋨","\\precnsim",!0);d(g,C,I,"⪹","\\precnapprox",!0);d(g,C,I,"≁","\\nsim",!0);d(g,C,I,"","\\@nshortmid");d(g,C,I,"∤","\\nmid",!0);d(g,C,I,"⊬","\\nvdash",!0);d(g,C,I,"⊭","\\nvDash",!0);d(g,C,I,"⋪","\\ntriangleleft");d(g,C,I,"⋬","\\ntrianglelefteq",!0);d(g,C,I,"⊊","\\subsetneq",!0);d(g,C,I,"","\\@varsubsetneq");d(g,C,I,"⫋","\\subsetneqq",!0);d(g,C,I,"","\\@varsubsetneqq");d(g,C,I,"≯","\\ngtr",!0);d(g,C,I,"","\\@ngeqslant");d(g,C,I,"","\\@ngeqq");d(g,C,I,"⪈","\\gneq",!0);d(g,C,I,"≩","\\gneqq",!0);d(g,C,I,"","\\@gvertneqq");d(g,C,I,"⋧","\\gnsim",!0);d(g,C,I,"⪊","\\gnapprox",!0);d(g,C,I,"⊁","\\nsucc",!0);d(g,C,I,"⋡","\\nsucceq",!0);d(g,C,I,"⋩","\\succnsim",!0);d(g,C,I,"⪺","\\succnapprox",!0);d(g,C,I,"≆","\\ncong",!0);d(g,C,I,"","\\@nshortparallel");d(g,C,I,"∦","\\nparallel",!0);d(g,C,I,"⊯","\\nVDash",!0);d(g,C,I,"⋫","\\ntriangleright");d(g,C,I,"⋭","\\ntrianglerighteq",!0);d(g,C,I,"","\\@nsupseteqq");d(g,C,I,"⊋","\\supsetneq",!0);d(g,C,I,"","\\@varsupsetneq");d(g,C,I,"⫌","\\supsetneqq",!0);d(g,C,I,"","\\@varsupsetneqq");d(g,C,I,"⊮","\\nVdash",!0);d(g,C,I,"⪵","\\precneqq",!0);d(g,C,I,"⪶","\\succneqq",!0);d(g,C,I,"","\\@nsubseteqq");d(g,C,ae,"⊴","\\unlhd");d(g,C,ae,"⊵","\\unrhd");d(g,C,I,"↚","\\nleftarrow",!0);d(g,C,I,"↛","\\nrightarrow",!0);d(g,C,I,"⇍","\\nLeftarrow",!0);d(g,C,I,"⇏","\\nRightarrow",!0);d(g,C,I,"↮","\\nleftrightarrow",!0);d(g,C,I,"⇎","\\nLeftrightarrow",!0);d(g,C,I,"△","\\vartriangle");d(g,C,M,"ℏ","\\hslash");d(g,C,M,"▽","\\triangledown");d(g,C,M,"◊","\\lozenge");d(g,C,M,"Ⓢ","\\circledS");d(g,C,M,"®","\\circledR");d(W,C,M,"®","\\circledR");d(g,C,M,"∡","\\measuredangle",!0);d(g,C,M,"∄","\\nexists");d(g,C,M,"℧","\\mho");d(g,C,M,"Ⅎ","\\Finv",!0);d(g,C,M,"⅁","\\Game",!0);d(g,C,M,"‵","\\backprime");d(g,C,M,"▲","\\blacktriangle");d(g,C,M,"▼","\\blacktriangledown");d(g,C,M,"■","\\blacksquare");d(g,C,M,"⧫","\\blacklozenge");d(g,C,M,"★","\\bigstar");d(g,C,M,"∢","\\sphericalangle",!0);d(g,C,M,"∁","\\complement",!0);d(g,C,M,"ð","\\eth",!0);d(W,T,M,"ð","ð");d(g,C,M,"╱","\\diagup");d(g,C,M,"╲","\\diagdown");d(g,C,M,"□","\\square");d(g,C,M,"□","\\Box");d(g,C,M,"◊","\\Diamond");d(g,C,M,"¥","\\yen",!0);d(W,C,M,"¥","\\yen",!0);d(g,C,M,"✓","\\checkmark",!0);d(W,C,M,"✓","\\checkmark");d(g,C,M,"ℶ","\\beth",!0);d(g,C,M,"ℸ","\\daleth",!0);d(g,C,M,"ℷ","\\gimel",!0);d(g,C,M,"ϝ","\\digamma",!0);d(g,C,M,"ϰ","\\varkappa");d(g,C,xt,"┌","\\@ulcorner",!0);d(g,C,ut,"┐","\\@urcorner",!0);d(g,C,xt,"└","\\@llcorner",!0);d(g,C,ut,"┘","\\@lrcorner",!0);d(g,C,I,"≦","\\leqq",!0);d(g,C,I,"⩽","\\leqslant",!0);d(g,C,I,"⪕","\\eqslantless",!0);d(g,C,I,"≲","\\lesssim",!0);d(g,C,I,"⪅","\\lessapprox",!0);d(g,C,I,"≊","\\approxeq",!0);d(g,C,ae,"⋖","\\lessdot");d(g,C,I,"⋘","\\lll",!0);d(g,C,I,"≶","\\lessgtr",!0);d(g,C,I,"⋚","\\lesseqgtr",!0);d(g,C,I,"⪋","\\lesseqqgtr",!0);d(g,C,I,"≑","\\doteqdot");d(g,C,I,"≓","\\risingdotseq",!0);d(g,C,I,"≒","\\fallingdotseq",!0);d(g,C,I,"∽","\\backsim",!0);d(g,C,I,"⋍","\\backsimeq",!0);d(g,C,I,"⫅","\\subseteqq",!0);d(g,C,I,"⋐","\\Subset",!0);d(g,C,I,"⊏","\\sqsubset",!0);d(g,C,I,"≼","\\preccurlyeq",!0);d(g,C,I,"⋞","\\curlyeqprec",!0);d(g,C,I,"≾","\\precsim",!0);d(g,C,I,"⪷","\\precapprox",!0);d(g,C,I,"⊲","\\vartriangleleft");d(g,C,I,"⊴","\\trianglelefteq");d(g,C,I,"⊨","\\vDash",!0);d(g,C,I,"⊪","\\Vvdash",!0);d(g,C,I,"⌣","\\smallsmile");d(g,C,I,"⌢","\\smallfrown");d(g,C,I,"≏","\\bumpeq",!0);d(g,C,I,"≎","\\Bumpeq",!0);d(g,C,I,"≧","\\geqq",!0);d(g,C,I,"⩾","\\geqslant",!0);d(g,C,I,"⪖","\\eqslantgtr",!0);d(g,C,I,"≳","\\gtrsim",!0);d(g,C,I,"⪆","\\gtrapprox",!0);d(g,C,ae,"⋗","\\gtrdot");d(g,C,I,"⋙","\\ggg",!0);d(g,C,I,"≷","\\gtrless",!0);d(g,C,I,"⋛","\\gtreqless",!0);d(g,C,I,"⪌","\\gtreqqless",!0);d(g,C,I,"≖","\\eqcirc",!0);d(g,C,I,"≗","\\circeq",!0);d(g,C,I,"≜","\\triangleq",!0);d(g,C,I,"∼","\\thicksim");d(g,C,I,"≈","\\thickapprox");d(g,C,I,"⫆","\\supseteqq",!0);d(g,C,I,"⋑","\\Supset",!0);d(g,C,I,"⊐","\\sqsupset",!0);d(g,C,I,"≽","\\succcurlyeq",!0);d(g,C,I,"⋟","\\curlyeqsucc",!0);d(g,C,I,"≿","\\succsim",!0);d(g,C,I,"⪸","\\succapprox",!0);d(g,C,I,"⊳","\\vartriangleright");d(g,C,I,"⊵","\\trianglerighteq");d(g,C,I,"⊩","\\Vdash",!0);d(g,C,I,"∣","\\shortmid");d(g,C,I,"∥","\\shortparallel");d(g,C,I,"≬","\\between",!0);d(g,C,I,"⋔","\\pitchfork",!0);d(g,C,I,"∝","\\varpropto");d(g,C,I,"◀","\\blacktriangleleft");d(g,C,I,"∴","\\therefore",!0);d(g,C,I,"∍","\\backepsilon");d(g,C,I,"▶","\\blacktriangleright");d(g,C,I,"∵","\\because",!0);d(g,C,I,"⋘","\\llless");d(g,C,I,"⋙","\\gggtr");d(g,C,ae,"⊲","\\lhd");d(g,C,ae,"⊳","\\rhd");d(g,C,I,"≂","\\eqsim",!0);d(g,T,I,"⋈","\\Join");d(g,C,I,"≑","\\Doteq",!0);d(g,C,ae,"∔","\\dotplus",!0);d(g,C,ae,"∖","\\smallsetminus");d(g,C,ae,"⋒","\\Cap",!0);d(g,C,ae,"⋓","\\Cup",!0);d(g,C,ae,"⩞","\\doublebarwedge",!0);d(g,C,ae,"⊟","\\boxminus",!0);d(g,C,ae,"⊞","\\boxplus",!0);d(g,C,ae,"⋇","\\divideontimes",!0);d(g,C,ae,"⋉","\\ltimes",!0);d(g,C,ae,"⋊","\\rtimes",!0);d(g,C,ae,"⋋","\\leftthreetimes",!0);d(g,C,ae,"⋌","\\rightthreetimes",!0);d(g,C,ae,"⋏","\\curlywedge",!0);d(g,C,ae,"⋎","\\curlyvee",!0);d(g,C,ae,"⊝","\\circleddash",!0);d(g,C,ae,"⊛","\\circledast",!0);d(g,C,ae,"⋅","\\centerdot");d(g,C,ae,"⊺","\\intercal",!0);d(g,C,ae,"⋒","\\doublecap");d(g,C,ae,"⋓","\\doublecup");d(g,C,ae,"⊠","\\boxtimes",!0);d(g,C,I,"⇢","\\dashrightarrow",!0);d(g,C,I,"⇠","\\dashleftarrow",!0);d(g,C,I,"⇇","\\leftleftarrows",!0);d(g,C,I,"⇆","\\leftrightarrows",!0);d(g,C,I,"⇚","\\Lleftarrow",!0);d(g,C,I,"↞","\\twoheadleftarrow",!0);d(g,C,I,"↢","\\leftarrowtail",!0);d(g,C,I,"↫","\\looparrowleft",!0);d(g,C,I,"⇋","\\leftrightharpoons",!0);d(g,C,I,"↶","\\curvearrowleft",!0);d(g,C,I,"↺","\\circlearrowleft",!0);d(g,C,I,"↰","\\Lsh",!0);d(g,C,I,"⇈","\\upuparrows",!0);d(g,C,I,"↿","\\upharpoonleft",!0);d(g,C,I,"⇃","\\downharpoonleft",!0);d(g,T,I,"⊶","\\origof",!0);d(g,T,I,"⊷","\\imageof",!0);d(g,C,I,"⊸","\\multimap",!0);d(g,C,I,"↭","\\leftrightsquigarrow",!0);d(g,C,I,"⇉","\\rightrightarrows",!0);d(g,C,I,"⇄","\\rightleftarrows",!0);d(g,C,I,"↠","\\twoheadrightarrow",!0);d(g,C,I,"↣","\\rightarrowtail",!0);d(g,C,I,"↬","\\looparrowright",!0);d(g,C,I,"↷","\\curvearrowright",!0);d(g,C,I,"↻","\\circlearrowright",!0);d(g,C,I,"↱","\\Rsh",!0);d(g,C,I,"⇊","\\downdownarrows",!0);d(g,C,I,"↾","\\upharpoonright",!0);d(g,C,I,"⇂","\\downharpoonright",!0);d(g,C,I,"⇝","\\rightsquigarrow",!0);d(g,C,I,"⇝","\\leadsto");d(g,C,I,"⇛","\\Rrightarrow",!0);d(g,C,I,"↾","\\restriction");d(g,T,M,"‘","`");d(g,T,M,"$","\\$");d(W,T,M,"$","\\$");d(W,T,M,"$","\\textdollar");d(g,T,M,"%","\\%");d(W,T,M,"%","\\%");d(g,T,M,"_","\\_");d(W,T,M,"_","\\_");d(W,T,M,"_","\\textunderscore");d(g,T,M,"∠","\\angle",!0);d(g,T,M,"∞","\\infty",!0);d(g,T,M,"′","\\prime");d(g,T,M,"△","\\triangle");d(g,T,M,"Γ","\\Gamma",!0);d(g,T,M,"Δ","\\Delta",!0);d(g,T,M,"Θ","\\Theta",!0);d(g,T,M,"Λ","\\Lambda",!0);d(g,T,M,"Ξ","\\Xi",!0);d(g,T,M,"Π","\\Pi",!0);d(g,T,M,"Σ","\\Sigma",!0);d(g,T,M,"Υ","\\Upsilon",!0);d(g,T,M,"Φ","\\Phi",!0);d(g,T,M,"Ψ","\\Psi",!0);d(g,T,M,"Ω","\\Omega",!0);d(g,T,M,"A","Α");d(g,T,M,"B","Β");d(g,T,M,"E","Ε");d(g,T,M,"Z","Ζ");d(g,T,M,"H","Η");d(g,T,M,"I","Ι");d(g,T,M,"K","Κ");d(g,T,M,"M","Μ");d(g,T,M,"N","Ν");d(g,T,M,"O","Ο");d(g,T,M,"P","Ρ");d(g,T,M,"T","Τ");d(g,T,M,"X","Χ");d(g,T,M,"¬","\\neg",!0);d(g,T,M,"¬","\\lnot");d(g,T,M,"⊤","\\top");d(g,T,M,"⊥","\\bot");d(g,T,M,"∅","\\emptyset");d(g,C,M,"∅","\\varnothing");d(g,T,oe,"α","\\alpha",!0);d(g,T,oe,"β","\\beta",!0);d(g,T,oe,"γ","\\gamma",!0);d(g,T,oe,"δ","\\delta",!0);d(g,T,oe,"ϵ","\\epsilon",!0);d(g,T,oe,"ζ","\\zeta",!0);d(g,T,oe,"η","\\eta",!0);d(g,T,oe,"θ","\\theta",!0);d(g,T,oe,"ι","\\iota",!0);d(g,T,oe,"κ","\\kappa",!0);d(g,T,oe,"λ","\\lambda",!0);d(g,T,oe,"μ","\\mu",!0);d(g,T,oe,"ν","\\nu",!0);d(g,T,oe,"ξ","\\xi",!0);d(g,T,oe,"ο","\\omicron",!0);d(g,T,oe,"π","\\pi",!0);d(g,T,oe,"ρ","\\rho",!0);d(g,T,oe,"σ","\\sigma",!0);d(g,T,oe,"τ","\\tau",!0);d(g,T,oe,"υ","\\upsilon",!0);d(g,T,oe,"ϕ","\\phi",!0);d(g,T,oe,"χ","\\chi",!0);d(g,T,oe,"ψ","\\psi",!0);d(g,T,oe,"ω","\\omega",!0);d(g,T,oe,"ε","\\varepsilon",!0);d(g,T,oe,"ϑ","\\vartheta",!0);d(g,T,oe,"ϖ","\\varpi",!0);d(g,T,oe,"ϱ","\\varrho",!0);d(g,T,oe,"ς","\\varsigma",!0);d(g,T,oe,"φ","\\varphi",!0);d(g,T,ae,"∗","*",!0);d(g,T,ae,"+","+");d(g,T,ae,"−","-",!0);d(g,T,ae,"⋅","\\cdot",!0);d(g,T,ae,"∘","\\circ",!0);d(g,T,ae,"÷","\\div",!0);d(g,T,ae,"±","\\pm",!0);d(g,T,ae,"×","\\times",!0);d(g,T,ae,"∩","\\cap",!0);d(g,T,ae,"∪","\\cup",!0);d(g,T,ae,"∖","\\setminus",!0);d(g,T,ae,"∧","\\land");d(g,T,ae,"∨","\\lor");d(g,T,ae,"∧","\\wedge",!0);d(g,T,ae,"∨","\\vee",!0);d(g,T,M,"√","\\surd");d(g,T,xt,"⟨","\\langle",!0);d(g,T,xt,"∣","\\lvert");d(g,T,xt,"∥","\\lVert");d(g,T,ut,"?","?");d(g,T,ut,"!","!");d(g,T,ut,"⟩","\\rangle",!0);d(g,T,ut,"∣","\\rvert");d(g,T,ut,"∥","\\rVert");d(g,T,I,"=","=");d(g,T,I,":",":");d(g,T,I,"≈","\\approx",!0);d(g,T,I,"≅","\\cong",!0);d(g,T,I,"≥","\\ge");d(g,T,I,"≥","\\geq",!0);d(g,T,I,"←","\\gets");d(g,T,I,">","\\gt",!0);d(g,T,I,"∈","\\in",!0);d(g,T,I,"","\\@not");d(g,T,I,"⊂","\\subset",!0);d(g,T,I,"⊃","\\supset",!0);d(g,T,I,"⊆","\\subseteq",!0);d(g,T,I,"⊇","\\supseteq",!0);d(g,C,I,"⊈","\\nsubseteq",!0);d(g,C,I,"⊉","\\nsupseteq",!0);d(g,T,I,"⊨","\\models");d(g,T,I,"←","\\leftarrow",!0);d(g,T,I,"≤","\\le");d(g,T,I,"≤","\\leq",!0);d(g,T,I,"<","\\lt",!0);d(g,T,I,"→","\\rightarrow",!0);d(g,T,I,"→","\\to");d(g,C,I,"≱","\\ngeq",!0);d(g,C,I,"≰","\\nleq",!0);d(g,T,cn," ","\\ ");d(g,T,cn," ","\\space");d(g,T,cn," ","\\nobreakspace");d(W,T,cn," ","\\ ");d(W,T,cn," "," ");d(W,T,cn," ","\\space");d(W,T,cn," ","\\nobreakspace");d(g,T,cn,null,"\\nobreak");d(g,T,cn,null,"\\allowbreak");d(g,T,Bi,",",",");d(g,T,Bi,";",";");d(g,C,ae,"⊼","\\barwedge",!0);d(g,C,ae,"⊻","\\veebar",!0);d(g,T,ae,"⊙","\\odot",!0);d(g,T,ae,"⊕","\\oplus",!0);d(g,T,ae,"⊗","\\otimes",!0);d(g,T,M,"∂","\\partial",!0);d(g,T,ae,"⊘","\\oslash",!0);d(g,C,ae,"⊚","\\circledcirc",!0);d(g,C,ae,"⊡","\\boxdot",!0);d(g,T,ae,"△","\\bigtriangleup");d(g,T,ae,"▽","\\bigtriangledown");d(g,T,ae,"†","\\dagger");d(g,T,ae,"⋄","\\diamond");d(g,T,ae,"⋆","\\star");d(g,T,ae,"◃","\\triangleleft");d(g,T,ae,"▹","\\triangleright");d(g,T,xt,"{","\\{");d(W,T,M,"{","\\{");d(W,T,M,"{","\\textbraceleft");d(g,T,ut,"}","\\}");d(W,T,M,"}","\\}");d(W,T,M,"}","\\textbraceright");d(g,T,xt,"{","\\lbrace");d(g,T,ut,"}","\\rbrace");d(g,T,xt,"[","\\lbrack",!0);d(W,T,M,"[","\\lbrack",!0);d(g,T,ut,"]","\\rbrack",!0);d(W,T,M,"]","\\rbrack",!0);d(g,T,xt,"(","\\lparen",!0);d(g,T,ut,")","\\rparen",!0);d(W,T,M,"<","\\textless",!0);d(W,T,M,">","\\textgreater",!0);d(g,T,xt,"⌊","\\lfloor",!0);d(g,T,ut,"⌋","\\rfloor",!0);d(g,T,xt,"⌈","\\lceil",!0);d(g,T,ut,"⌉","\\rceil",!0);d(g,T,M,"\\","\\backslash");d(g,T,M,"∣","|");d(g,T,M,"∣","\\vert");d(W,T,M,"|","\\textbar",!0);d(g,T,M,"∥","\\|");d(g,T,M,"∥","\\Vert");d(W,T,M,"∥","\\textbardbl");d(W,T,M,"~","\\textasciitilde");d(W,T,M,"\\","\\textbackslash");d(W,T,M,"^","\\textasciicircum");d(g,T,I,"↑","\\uparrow",!0);d(g,T,I,"⇑","\\Uparrow",!0);d(g,T,I,"↓","\\downarrow",!0);d(g,T,I,"⇓","\\Downarrow",!0);d(g,T,I,"↕","\\updownarrow",!0);d(g,T,I,"⇕","\\Updownarrow",!0);d(g,T,Ve,"∐","\\coprod");d(g,T,Ve,"⋁","\\bigvee");d(g,T,Ve,"⋀","\\bigwedge");d(g,T,Ve,"⨄","\\biguplus");d(g,T,Ve,"⋂","\\bigcap");d(g,T,Ve,"⋃","\\bigcup");d(g,T,Ve,"∫","\\int");d(g,T,Ve,"∫","\\intop");d(g,T,Ve,"∬","\\iint");d(g,T,Ve,"∭","\\iiint");d(g,T,Ve,"∏","\\prod");d(g,T,Ve,"∑","\\sum");d(g,T,Ve,"⨂","\\bigotimes");d(g,T,Ve,"⨁","\\bigoplus");d(g,T,Ve,"⨀","\\bigodot");d(g,T,Ve,"∮","\\oint");d(g,T,Ve,"∯","\\oiint");d(g,T,Ve,"∰","\\oiiint");d(g,T,Ve,"⨆","\\bigsqcup");d(g,T,Ve,"∫","\\smallint");d(W,T,rr,"…","\\textellipsis");d(g,T,rr,"…","\\mathellipsis");d(W,T,rr,"…","\\ldots",!0);d(g,T,rr,"…","\\ldots",!0);d(g,T,rr,"⋯","\\@cdots",!0);d(g,T,rr,"⋱","\\ddots",!0);d(g,T,M,"⋮","\\varvdots");d(W,T,M,"⋮","\\varvdots");d(g,T,Pe,"ˊ","\\acute");d(g,T,Pe,"ˋ","\\grave");d(g,T,Pe,"¨","\\ddot");d(g,T,Pe,"~","\\tilde");d(g,T,Pe,"ˉ","\\bar");d(g,T,Pe,"˘","\\breve");d(g,T,Pe,"ˇ","\\check");d(g,T,Pe,"^","\\hat");d(g,T,Pe,"⃗","\\vec");d(g,T,Pe,"˙","\\dot");d(g,T,Pe,"˚","\\mathring");d(g,T,oe,"","\\@imath");d(g,T,oe,"","\\@jmath");d(g,T,M,"ı","ı");d(g,T,M,"ȷ","ȷ");d(W,T,M,"ı","\\i",!0);d(W,T,M,"ȷ","\\j",!0);d(W,T,M,"ß","\\ss",!0);d(W,T,M,"æ","\\ae",!0);d(W,T,M,"œ","\\oe",!0);d(W,T,M,"ø","\\o",!0);d(W,T,M,"Æ","\\AE",!0);d(W,T,M,"Œ","\\OE",!0);d(W,T,M,"Ø","\\O",!0);d(W,T,Pe,"ˊ","\\'");d(W,T,Pe,"ˋ","\\`");d(W,T,Pe,"ˆ","\\^");d(W,T,Pe,"˜","\\~");d(W,T,Pe,"ˉ","\\=");d(W,T,Pe,"˘","\\u");d(W,T,Pe,"˙","\\.");d(W,T,Pe,"¸","\\c");d(W,T,Pe,"˚","\\r");d(W,T,Pe,"ˇ","\\v");d(W,T,Pe,"¨",'\\"');d(W,T,Pe,"˝","\\H");d(W,T,Pe,"◯","\\textcircled");var $c={"--":!0,"---":!0,"``":!0,"''":!0};d(W,T,M,"–","--",!0);d(W,T,M,"–","\\textendash");d(W,T,M,"—","---",!0);d(W,T,M,"—","\\textemdash");d(W,T,M,"‘","`",!0);d(W,T,M,"‘","\\textquoteleft");d(W,T,M,"’","'",!0);d(W,T,M,"’","\\textquoteright");d(W,T,M,"“","``",!0);d(W,T,M,"“","\\textquotedblleft");d(W,T,M,"”","''",!0);d(W,T,M,"”","\\textquotedblright");d(g,T,M,"°","\\degree",!0);d(W,T,M,"°","\\degree");d(W,T,M,"°","\\textdegree",!0);d(g,T,M,"£","\\pounds");d(g,T,M,"£","\\mathsterling",!0);d(W,T,M,"£","\\pounds");d(W,T,M,"£","\\textsterling",!0);d(g,C,M,"✠","\\maltese");d(W,C,M,"✠","\\maltese");var zs='0123456789/@."';for(var Ta=0;Ta<zs.length;Ta++){var Hs=zs.charAt(Ta);d(g,T,M,Hs,Hs)}var Us='0123456789!@*()-=+";:?/.,';for(var xa=0;xa<Us.length;xa++){var qs=Us.charAt(xa);d(W,T,M,qs,qs)}var vi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var ya=0;ya<vi.length;ya++){var ei=vi.charAt(ya);d(g,T,oe,ei,ei),d(W,T,M,ei,ei)}d(g,C,M,"C","ℂ");d(W,C,M,"C","ℂ");d(g,C,M,"H","ℍ");d(W,C,M,"H","ℍ");d(g,C,M,"N","ℕ");d(W,C,M,"N","ℕ");d(g,C,M,"P","ℙ");d(W,C,M,"P","ℙ");d(g,C,M,"Q","ℚ");d(W,C,M,"Q","ℚ");d(g,C,M,"R","ℝ");d(W,C,M,"R","ℝ");d(g,C,M,"Z","ℤ");d(W,C,M,"Z","ℤ");d(g,T,oe,"h","ℎ");d(W,T,oe,"h","ℎ");var he="";for(var it=0;it<vi.length;it++){var He=vi.charAt(it);he=String.fromCharCode(55349,56320+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56372+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56424+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56580+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56684+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56736+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56788+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56840+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56944+it),d(g,T,oe,He,he),d(W,T,M,He,he),it<26&&(he=String.fromCharCode(55349,56632+it),d(g,T,oe,He,he),d(W,T,M,He,he),he=String.fromCharCode(55349,56476+it),d(g,T,oe,He,he),d(W,T,M,He,he))}he="𝕜";d(g,T,oe,"k",he);d(W,T,M,"k",he);for(var _n=0;_n<10;_n++){var dn=_n.toString();he=String.fromCharCode(55349,57294+_n),d(g,T,oe,dn,he),d(W,T,M,dn,he),he=String.fromCharCode(55349,57314+_n),d(g,T,oe,dn,he),d(W,T,M,dn,he),he=String.fromCharCode(55349,57324+_n),d(g,T,oe,dn,he),d(W,T,M,dn,he),he=String.fromCharCode(55349,57334+_n),d(g,T,oe,dn,he),d(W,T,M,dn,he)}var x0="ÐÞþ";for(var ka=0;ka<x0.length;ka++){var ti=x0.charAt(ka);d(g,T,oe,ti,ti),d(W,T,M,ti,ti)}var ni=[["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"]],$s=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],S6=function(t,n){var r=t.charCodeAt(0),i=t.charCodeAt(1),a=(r-55296)*1024+(i-56320)+65536,u=n==="math"?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[ni[s][2],ni[s][u]]}else if(120782<=a&&a<=120831){var l=Math.floor((a-120782)/10);return[$s[l][2],$s[l][u]]}else{if(a===120485||a===120486)return[ni[0][2],ni[0][u]];if(120486<a&&a<120782)return["",""];throw new Z("Unsupported character: "+t)}},Fi=function(t,n,r){return Oe[r][t]&&Oe[r][t].replace&&(t=Oe[r][t].replace),{value:t,metrics:iu(t,n,r)}},It=function(t,n,r,i,a){var u=Fi(t,n,r),s=u.metrics;t=u.value;var l;if(s){var o=s.italic;(r==="text"||i&&i.font==="mathit")&&(o=0),l=new St(t,s.height,s.depth,o,s.skew,s.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),l=new St(t,0,0,0,0,0,a);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var c=i.getColor();c&&(l.style.color=c)}return l},w6=function(t,n,r,i){return i===void 0&&(i=[]),r.font==="boldsymbol"&&Fi(t,"Main-Bold",n).metrics?It(t,"Main-Bold",n,r,i.concat(["mathbf"])):t==="\\"||Oe[n][t].font==="main"?It(t,"Main-Regular",n,r,i):It(t,"AMS-Regular",n,r,i.concat(["amsrm"]))},C6=function(t,n,r,i,a){return a!=="textord"&&Fi(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},I6=function(t,n,r){var i=t.mode,a=t.text,u=["mord"],s=i==="math"||i==="text"&&n.font,l=s?n.font:n.fontFamily,o="",c="";if(a.charCodeAt(0)===55349&&([o,c]=S6(a,i)),o.length>0)return It(a,o,i,n,u.concat(c));if(l){var f,p;if(l==="boldsymbol"){var m=C6(a,i,n,u,r);f=m.fontName,p=[m.fontClass]}else s?(f=Gc[l].fontName,p=[l]):(f=ri(l,n.fontWeight,n.fontShape),p=[l,n.fontWeight,n.fontShape]);if(Fi(a,f,i).metrics)return It(a,f,i,n,u.concat(p));if($c.hasOwnProperty(a)&&f.slice(0,10)==="Typewriter"){for(var y=[],v=0;v<a.length;v++)y.push(It(a[v],f,i,n,u.concat(p)));return Vc(y)}}if(r==="mathord")return It(a,"Math-Italic",i,n,u.concat(["mathnormal"]));if(r==="textord"){var N=Oe[i][a]&&Oe[i][a].font;if(N==="ams"){var k=ri("amsrm",n.fontWeight,n.fontShape);return It(a,k,i,n,u.concat("amsrm",n.fontWeight,n.fontShape))}else if(N==="main"||!N){var D=ri("textrm",n.fontWeight,n.fontShape);return It(a,D,i,n,u.concat(n.fontWeight,n.fontShape))}else{var O=ri(N,n.fontWeight,n.fontShape);return It(a,O,i,n,u.concat(O,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},_6=(e,t)=>{if(xn(e.classes)!==xn(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},N6=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof St&&r instanceof St&&_6(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},uu=function(t){for(var n=0,r=0,i=0,a=0;a<t.children.length;a++){var u=t.children[a];u.height>n&&(n=u.height),u.depth>r&&(r=u.depth),u.maxFontSize>i&&(i=u.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=i},ct=function(t,n,r,i){var a=new Ur(t,n,r,i);return uu(a),a},Yc=(e,t,n,r)=>new Ur(e,t,n,r),D6=function(t,n,r){var i=ct([t],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=re(i.height),i.maxFontSize=1,i},L6=function(t,n,r,i){var a=new au(t,n,r,i);return uu(a),a},Vc=function(t){var n=new Hr(t);return uu(n),n},O6=function(t,n){return t instanceof Hr?ct([],[t],n):t},M6=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,a=i,u=1;u<n.length;u++){var s=-n[u].shift-a-n[u].elem.depth,l=s-(n[u-1].elem.height+n[u-1].elem.depth);a=a+s,r.push({type:"kern",size:l}),r.push(n[u])}return{children:r,depth:i}}var o;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var p=t.children[f];c-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}o=c}else if(t.positionType==="bottom")o=-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")o=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")o=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:o}},R6=function(t,n){for(var{children:r,depth:i}=M6(t),a=0,u=0;u<r.length;u++){var s=r[u];if(s.type==="elem"){var l=s.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var o=ct(["pstrut"],[]);o.style.height=re(a);for(var c=[],f=i,p=i,m=i,y=0;y<r.length;y++){var v=r[y];if(v.type==="kern")m+=v.size;else{var N=v.elem,k=v.wrapperClasses||[],D=v.wrapperStyle||{},O=ct(k,[o,N],void 0,D);O.style.top=re(-a-m-N.depth),v.marginLeft&&(O.style.marginLeft=v.marginLeft),v.marginRight&&(O.style.marginRight=v.marginRight),c.push(O),m+=N.height+N.depth}f=Math.min(f,m),p=Math.max(p,m)}var j=ct(["vlist"],c);j.style.height=re(p);var $;if(f<0){var w=ct([],[]),V=ct(["vlist"],[w]);V.style.height=re(-f);var ee=ct(["vlist-s"],[new St("​")]);$=[ct(["vlist-r"],[j,ee]),ct(["vlist-r"],[V])]}else $=[ct(["vlist-r"],[j])];var G=ct(["vlist-t"],$);return $.length===2&&G.classes.push("vlist-t2"),G.height=p,G.depth=-f,G},P6=(e,t)=>{var n=ct(["mspace"],[],t),r=ze(e,t);return n.style.marginRight=re(r),n},ri=function(t,n,r){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 n==="textbf"&&r==="textit"?a="BoldItalic":n==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",i+"-"+a},Gc={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"}},jc={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},B6=function(t,n){var[r,i,a]=jc[t],u=new yn(r),s=new an([u],{width:re(i),height:re(a),style:"width:"+re(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=Yc(["overlay"],[s],n);return l.height=a,l.style.height=re(a),l.style.width=re(i),l},B={fontMap:Gc,makeSymbol:It,mathsym:w6,makeSpan:ct,makeSvgSpan:Yc,makeLineSpan:D6,makeAnchor:L6,makeFragment:Vc,wrapFragment:O6,makeVList:R6,makeOrd:I6,makeGlue:P6,staticSvg:B6,svgData:jc,tryCombineChars:N6},Fe={number:3,unit:"mu"},Nn={number:4,unit:"mu"},Zt={number:5,unit:"mu"},F6={mord:{mop:Fe,mbin:Nn,mrel:Zt,minner:Fe},mop:{mord:Fe,mop:Fe,mrel:Zt,minner:Fe},mbin:{mord:Nn,mop:Nn,mopen:Nn,minner:Nn},mrel:{mord:Zt,mop:Zt,mopen:Zt,minner:Zt},mopen:{},mclose:{mop:Fe,mbin:Nn,mrel:Zt,minner:Fe},mpunct:{mord:Fe,mop:Fe,mrel:Zt,mopen:Fe,mclose:Fe,mpunct:Fe,minner:Fe},minner:{mord:Fe,mop:Fe,mbin:Nn,mrel:Zt,mopen:Fe,mpunct:Fe,minner:Fe}},z6={mord:{mop:Fe},mop:{mord:Fe,mop:Fe},mbin:{},mrel:{},mopen:{},mclose:{mop:Fe},mpunct:{},minner:{mop:Fe}},Wc={},Si={},wi={};function ie(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:u}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l<n.length;++l)Wc[n[l]]=s;t&&(a&&(Si[t]=a),u&&(wi[t]=u))}function Pn(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;ie({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var Ci=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},$e=function(t){return t.type==="ordgroup"?t.body:[t]},un=B.makeSpan,H6=["leftmost","mbin","mopen","mrel","mop","mpunct"],U6=["rightmost","mrel","mclose","mpunct"],q6={display:ce.DISPLAY,text:ce.TEXT,script:ce.SCRIPT,scriptscript:ce.SCRIPTSCRIPT},$6={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Xe=function(t,n,r,i){i===void 0&&(i=[null,null]);for(var a=[],u=0;u<t.length;u++){var s=xe(t[u],n);if(s instanceof Hr){var l=s.children;a.push(...l)}else a.push(s)}if(B.tryCombineChars(a),!r)return a;var o=n;if(t.length===1){var c=t[0];c.type==="sizing"?o=n.havingSize(c.size):c.type==="styling"&&(o=n.havingStyle(q6[c.style]))}var f=un([i[0]||"leftmost"],[],n),p=un([i[1]||"rightmost"],[],n),m=r==="root";return Ys(a,(y,v)=>{var N=v.classes[0],k=y.classes[0];N==="mbin"&&U6.includes(k)?v.classes[0]="mord":k==="mbin"&&H6.includes(N)&&(y.classes[0]="mord")},{node:f},p,m),Ys(a,(y,v)=>{var N=y0(v),k=y0(y),D=N&&k?y.hasClass("mtight")?z6[N][k]:F6[N][k]:null;if(D)return B.makeGlue(D,o)},{node:f},p,m),a},Ys=function e(t,n,r,i,a){i&&t.push(i);for(var u=0;u<t.length;u++){var s=t[u],l=Xc(s);if(l){e(l.children,n,r,null,a);continue}var o=!s.hasClass("mspace");if(o){var c=n(s,r.node);c&&(r.insertAfter?r.insertAfter(c):(t.unshift(c),u++))}o?r.node=s:a&&s.hasClass("newline")&&(r.node=un(["leftmost"])),r.insertAfter=(f=>p=>{t.splice(f+1,0,p),u++})(u)}i&&t.pop()},Xc=function(t){return t instanceof Hr||t instanceof au||t instanceof Ur&&t.hasClass("enclosing")?t:null},Y6=function e(t,n){var r=Xc(t);if(r){var i=r.children;if(i.length){if(n==="right")return e(i[i.length-1],"right");if(n==="left")return e(i[0],"left")}}return t},y0=function(t,n){return t?(n&&(t=Y6(t,n)),$6[t.classes[0]]||null):null},Mr=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return un(n.concat(r))},xe=function(t,n,r){if(!t)return un();if(Si[t.type]){var i=Si[t.type](t,n);if(r&&n.size!==r.size){i=un(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new Z("Got group of unknown type: '"+t.type+"'")};function ii(e,t){var n=un(["base"],e,t),r=un(["strut"]);return r.style.height=re(n.height+n.depth),n.depth&&(r.style.verticalAlign=re(-n.depth)),n.children.unshift(r),n}function k0(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Xe(e,t,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var a=[],u=[],s=0;s<r.length;s++)if(u.push(r[s]),r[s].hasClass("mbin")||r[s].hasClass("mrel")||r[s].hasClass("allowbreak")){for(var l=!1;s<r.length-1&&r[s+1].hasClass("mspace")&&!r[s+1].hasClass("newline");)s++,u.push(r[s]),r[s].hasClass("nobreak")&&(l=!0);l||(a.push(ii(u,t)),u=[])}else r[s].hasClass("newline")&&(u.pop(),u.length>0&&(a.push(ii(u,t)),u=[]),a.push(r[s]));u.length>0&&a.push(ii(u,t));var o;n?(o=ii(Xe(n,t,!0)),o.classes=["tag"],a.push(o)):i&&a.push(i);var c=un(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),o){var f=o.children[0];f.style.height=re(c.height+c.depth),c.depth&&(f.style.verticalAlign=re(-c.depth))}return c}function Qc(e){return new Hr(e)}class Et{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=xn(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof zt&&this.children[r+1]instanceof zt){for(var i=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof zt;)i+=this.children[++r].toText();t.appendChild(new zt(i).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=Ae.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+Ae.escape(xn(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class zt{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ae.escape(this.toText())}toText(){return this.text}}class V6{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",re(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+re(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var K={MathNode:Et,TextNode:zt,SpaceNode:V6,newDocumentFragment:Qc},wt=function(t,n,r){return Oe[n][t]&&Oe[n][t].replace&&t.charCodeAt(0)!==55349&&!($c.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Oe[n][t].replace),new K.TextNode(t)},su=function(t){return t.length===1?t[0]:new K.MathNode("mrow",t)},lu=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var a=t.text;if(["\\imath","\\jmath"].includes(a))return null;Oe[i][a]&&Oe[i][a].replace&&(a=Oe[i][a].replace);var u=B.fontMap[r].fontName;return iu(a,u,i)?B.fontMap[r].variant:null};function Aa(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof zt&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof zt&&n.text===","}else return!1}var pt=function(t,n,r){if(t.length===1){var i=_e(t[0],n);return r&&i instanceof Et&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],u,s=0;s<t.length;s++){var l=_e(t[s],n);if(l instanceof Et&&u instanceof Et){if(l.type==="mtext"&&u.type==="mtext"&&l.getAttribute("mathvariant")===u.getAttribute("mathvariant")){u.children.push(...l.children);continue}else if(l.type==="mn"&&u.type==="mn"){u.children.push(...l.children);continue}else if(Aa(l)&&u.type==="mn"){u.children.push(...l.children);continue}else if(l.type==="mn"&&Aa(u))l.children=[...u.children,...l.children],a.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(u.type==="mn"||Aa(u))){var o=l.children[0];o instanceof Et&&o.type==="mn"&&(o.children=[...u.children,...o.children],a.pop())}else if(u.type==="mi"&&u.children.length===1){var c=u.children[0];if(c instanceof zt&&c.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof zt&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),a.pop())}}}a.push(l),u=l}return a},kn=function(t,n,r){return su(pt(t,n,r))},_e=function(t,n){if(!t)return new K.MathNode("mrow");if(wi[t.type]){var r=wi[t.type](t,n);return r}else throw new Z("Got group of unknown type: '"+t.type+"'")};function Vs(e,t,n,r,i){var a=pt(e,n),u;a.length===1&&a[0]instanceof Et&&["mrow","mtable"].includes(a[0].type)?u=a[0]:u=new K.MathNode("mrow",a);var s=new K.MathNode("annotation",[new K.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new K.MathNode("semantics",[u,s]),o=new K.MathNode("math",[l]);o.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&o.setAttribute("display","block");var c=i?"katex":"katex-mathml";return B.makeSpan([c],[o])}var Kc=function(t){return new en({style:t.displayMode?ce.DISPLAY:ce.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Zc=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=B.makeSpan(r,[t])}return t},G6=function(t,n,r){var i=Kc(r),a;if(r.output==="mathml")return Vs(t,n,i,r.displayMode,!0);if(r.output==="html"){var u=k0(t,i);a=B.makeSpan(["katex"],[u])}else{var s=Vs(t,n,i,r.displayMode,!1),l=k0(t,i);a=B.makeSpan(["katex"],[s,l])}return Zc(a,r)},j6=function(t,n,r){var i=Kc(r),a=k0(t,i),u=B.makeSpan(["katex"],[a]);return Zc(u,r)},W6={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":"="},X6=function(t){var n=new K.MathNode("mo",[new K.TextNode(W6[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},Q6={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]},K6=function(t){return t.type==="ordgroup"?t.body.length:1},Z6=function(t,n){function r(){var s=4e5,l=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(l)){var o=t,c=K6(o.base),f,p,m;if(c>5)l==="widehat"||l==="widecheck"?(f=420,s=2364,m=.42,p=l+"4"):(f=312,s=2340,m=.34,p="tilde4");else{var y=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][y],f=[0,239,300,360,420][y],m=[0,.24,.3,.3,.36,.42][y],p=l+y):(s=[0,600,1033,2339,2340][y],f=[0,260,286,306,312][y],m=[0,.26,.286,.3,.306,.34][y],p="tilde"+y)}var v=new yn(p),N=new an([v],{width:"100%",height:re(m),viewBox:"0 0 "+s+" "+f,preserveAspectRatio:"none"});return{span:B.makeSvgSpan([],[N],n),minWidth:0,height:m}}else{var k=[],D=Q6[l],[O,j,$]=D,w=$/1e3,V=O.length,ee,G;if(V===1){var P=D[3];ee=["hide-tail"],G=[P]}else if(V===2)ee=["halfarrow-left","halfarrow-right"],G=["xMinYMin","xMaxYMin"];else if(V===3)ee=["brace-left","brace-center","brace-right"],G=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
288
- `+V+" children.");for(var H=0;H<V;H++){var F=new yn(O[H]),ue=new an([F],{width:"400em",height:re(w),viewBox:"0 0 "+s+" "+$,preserveAspectRatio:G[H]+" slice"}),te=B.makeSvgSpan([ee[H]],[ue],n);if(V===1)return{span:te,minWidth:j,height:w};te.style.height=re(w),k.push(te)}return{span:B.makeSpan(["stretchy"],k,n),minWidth:j,height:w}}}var{span:i,minWidth:a,height:u}=r();return i.height=u,i.style.height=re(u),a>0&&(i.style.minWidth=re(a)),i},J6=function(t,n,r,i,a){var u,s=t.height+t.depth+r+i;if(/fbox|color|angl/.test(n)){if(u=B.makeSpan(["stretchy",n],[],a),n==="fbox"){var l=a.color&&a.getColor();l&&(u.style.borderColor=l)}}else{var o=[];/^[bx]cancel$/.test(n)&&o.push(new T0({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&o.push(new T0({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new an(o,{width:"100%",height:re(s)});u=B.makeSvgSpan([],[c],a)}return u.height=s,u.style.height=re(s),u},sn={encloseSpan:J6,mathMLnode:X6,svgSpan:Z6};function ge(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 ou(e){var t=zi(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 zi(e){return e&&(e.type==="atom"||v6.hasOwnProperty(e.type))?e:null}var cu=(e,t)=>{var n,r,i;e&&e.type==="supsub"?(r=ge(e.base,"accent"),n=r.base,e.base=n,i=k6(xe(e,t)),e.base=r):(r=ge(e,"accent"),n=r.base);var a=xe(n,t.havingCrampedStyle()),u=r.isShifty&&Ae.isCharacterBox(n),s=0;if(u){var l=Ae.getBaseElem(n),o=xe(l,t.havingCrampedStyle());s=Fs(o).skew}var c=r.label==="\\c",f=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),p;if(r.isStretchy)p=sn.svgSpan(r,t),p=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+re(2*s)+")",marginLeft:re(2*s)}:void 0}]},t);else{var m,y;r.label==="\\vec"?(m=B.staticSvg("vec",t),y=B.svgData.vec[1]):(m=B.makeOrd({mode:r.mode,text:r.label},t,"textord"),m=Fs(m),m.italic=0,y=m.width,c&&(f+=m.depth)),p=B.makeSpan(["accent-body"],[m]);var v=r.label==="\\textcircled";v&&(p.classes.push("accent-full"),f=a.height);var N=s;v||(N-=y/2),p.style.left=re(N),r.label==="\\textcircled"&&(p.style.top=".2em"),p=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-f},{type:"elem",elem:p}]},t)}var k=B.makeSpan(["mord","accent"],[p],t);return i?(i.children[0]=k,i.height=Math.max(k.height,i.height),i.classes[0]="mord",i):k},Jc=(e,t)=>{var n=e.isStretchy?sn.mathMLnode(e.label):new K.MathNode("mo",[wt(e.label,e.mode)]),r=new K.MathNode("mover",[_e(e.base,t),n]);return r.setAttribute("accent","true"),r},e5=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ie({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 n=Ci(t[0]),r=!e5.test(e.funcName),i=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:cu,mathmlBuilder:Jc});ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:cu,mathmlBuilder:Jc});ie({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=xe(e.base,t),r=sn.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=B.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return B.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var n=sn.mathMLnode(e.label),r=new K.MathNode("munder",[_e(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var ai=e=>{var t=new K.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ie({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,n){var{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=B.wrapFragment(xe(e.body,r,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var u;e.below&&(r=t.havingStyle(n.sub()),u=B.wrapFragment(xe(e.below,r,t),t),u.classes.push(a+"-arrow-pad"));var s=sn.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,o=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(o-=i.depth);var c;if(u){var f=-t.fontMetrics().axisHeight+u.height+.5*s.height+.111;c=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:s,shift:l},{type:"elem",elem:u,shift:f}]},t)}else c=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:s,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),B.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var n=sn.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var i=ai(_e(e.body,t));if(e.below){var a=ai(_e(e.below,t));r=new K.MathNode("munderover",[n,a,i])}else r=new K.MathNode("mover",[n,i])}else if(e.below){var u=ai(_e(e.below,t));r=new K.MathNode("munder",[n,u])}else r=ai(),r=new K.MathNode("mover",[n,r]);return r}});var t5=B.makeSpan;function e1(e,t){var n=Xe(e.body,t,!0);return t5([e.mclass],n,t)}function t1(e,t){var n,r=pt(e.body,t);return e.mclass==="minner"?n=new K.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new K.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new K.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}ie({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:$e(i),isCharacterBox:Ae.isCharacterBox(i)}},htmlBuilder:e1,mathmlBuilder:t1});var Hi=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"};ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Hi(t[0]),body:$e(t[1]),isCharacterBox:Ae.isCharacterBox(t[1])}}});ie({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],u;r!=="\\stackrel"?u=Hi(i):u="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:$e(i)},l={type:"supsub",mode:a.mode,base:s,sup:r==="\\underset"?null:a,sub:r==="\\underset"?a:null};return{type:"mclass",mode:n.mode,mclass:u,body:[l],isCharacterBox:Ae.isCharacterBox(l)}},htmlBuilder:e1,mathmlBuilder:t1});ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Hi(t[0]),body:$e(t[0])}},htmlBuilder(e,t){var n=Xe(e.body,t,!0),r=B.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=pt(e.body,t),r=new K.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var n5={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Gs=()=>({type:"styling",body:[],mode:"math",style:"display"}),js=e=>e.type==="textord"&&e.text==="@",r5=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function i5(e,t,n){var r=n5[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:r,mode:"math",family:"rel"},u=n.callFunction("\\Big",[a],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,u,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var o={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[o],[])}default:return{type:"textord",text:" ",mode:"math"}}}function a5(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 n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Z("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var u=t[a],s=Gs(),l=0;l<u.length;l++)if(!js(u[l]))s.body.push(u[l]);else{r.push(s),l+=1;var o=ou(u[l]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(o)>-1))if("<>AV".indexOf(o)>-1)for(var f=0;f<2;f++){for(var p=!0,m=l+1;m<u.length;m++){if(r5(u[m],o)){p=!1,l=m;break}if(js(u[m]))throw new Z("Missing a "+o+" character to complete a CD arrow.",u[m]);c[f].body.push(u[m])}if(p)throw new Z("Missing a "+o+" character to complete a CD arrow.",u[l])}else throw new Z('Expected one of "<>AV=|." after @',u[l]);var y=i5(o,c,e),v={type:"styling",body:[y],mode:"math",style:"display"};r.push(v),s=Gs()}a%2===0?r.push(s):r.shift(),r=[],i.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var N=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:N,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}ie({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=B.wrapFragment(xe(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=re(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new K.MathNode("mrow",[_e(e.label,t)]);return n=new K.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new K.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ie({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=B.wrapFragment(xe(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new K.MathNode("mrow",[_e(e.fragment,t)])}});ie({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=ge(t[0],"ordgroup"),i=r.body,a="",u=0;u<i.length;u++){var s=ge(i[u],"textord");a+=s.text}var l=parseInt(a),o;if(isNaN(l))throw new Z("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new Z("\\@char with invalid code point "+a);return l<=65535?o=String.fromCharCode(l):(l-=65536,o=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:o}}});var n1=(e,t)=>{var n=Xe(e.body,t.withColor(e.color),!1);return B.makeFragment(n)},r1=(e,t)=>{var n=pt(e.body,t.withColor(e.color)),r=new K.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};ie({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=ge(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:$e(i)}},htmlBuilder:n1,mathmlBuilder:r1});ie({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=ge(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var a=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:a}},htmlBuilder:n1,mathmlBuilder:r1});ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:a,size:i&&ge(i,"size").value}},htmlBuilder(e,t){var n=B.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=re(ze(e.size,t)))),n},mathmlBuilder(e,t){var n=new K.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",re(ze(e.size,t)))),n}});var A0={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},i1=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Z("Expected a control sequence",e);return t},u5=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},a1=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(A0[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=A0[r.text]),ge(t.parseFunction(),"internal");throw new Z("Invalid token after macro prefix",r)}});ie({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new Z("Expected a control sequence",r);for(var a=0,u,s=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){u=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Z('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new Z('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if(r.text==="EOF")throw new Z("Expected a macro definition");s[a].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return u&&l.unshift(u),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:s},n===A0[n]),{type:"internal",mode:t.mode}}});ie({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=i1(t.gullet.popToken());t.gullet.consumeSpaces();var i=u5(t);return a1(t,r,i,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=i1(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return a1(t,r,a,n==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var br=function(t,n,r){var i=Oe.math[t]&&Oe.math[t].replace,a=iu(i||t,n,r);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return a},hu=function(t,n,r,i){var a=r.havingBaseStyle(n),u=B.makeSpan(i.concat(a.sizingClasses(r)),[t],r),s=a.sizeMultiplier/r.sizeMultiplier;return u.height*=s,u.depth*=s,u.maxFontSize=a.sizeMultiplier,u},u1=function(t,n,r){var i=n.havingBaseStyle(r),a=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=re(a),t.height-=a,t.depth+=a},s5=function(t,n,r,i,a,u){var s=B.makeSymbol(t,"Main-Regular",a,i),l=hu(s,n,i,u);return r&&u1(l,i,n),l},l5=function(t,n,r,i){return B.makeSymbol(t,"Size"+n+"-Regular",r,i)},s1=function(t,n,r,i,a,u){var s=l5(t,n,a,i),l=hu(B.makeSpan(["delimsizing","size"+n],[s],i),ce.TEXT,i,u);return r&&u1(l,i,ce.TEXT),l},va=function(t,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=B.makeSpan(["delimsizinginner",i],[B.makeSpan([],[B.makeSymbol(t,n,r)])]);return{type:"elem",elem:a}},Sa=function(t,n,r){var i=Ft["Size4-Regular"][t.charCodeAt(0)]?Ft["Size4-Regular"][t.charCodeAt(0)][4]:Ft["Size1-Regular"][t.charCodeAt(0)][4],a=new yn("inner",d6(t,Math.round(1e3*n))),u=new an([a],{width:re(i),height:re(n),style:"width:"+re(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=B.makeSvgSpan([],[u],r);return s.height=n,s.style.height=re(n),s.style.width=re(i),{type:"elem",elem:s}},v0=.008,ui={type:"kern",size:-1*v0},o5=["|","\\lvert","\\rvert","\\vert"],c5=["\\|","\\lVert","\\rVert","\\Vert"],l1=function(t,n,r,i,a,u){var s,l,o,c,f="",p=0;s=o=c=t,l=null;var m="Size1-Regular";t==="\\uparrow"?o=c="⏐":t==="\\Uparrow"?o=c="‖":t==="\\downarrow"?s=o="⏐":t==="\\Downarrow"?s=o="‖":t==="\\updownarrow"?(s="\\uparrow",o="⏐",c="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",o="‖",c="\\Downarrow"):o5.includes(t)?(o="∣",f="vert",p=333):c5.includes(t)?(o="∥",f="doublevert",p=556):t==="["||t==="\\lbrack"?(s="⎡",o="⎢",c="⎣",m="Size4-Regular",f="lbrack",p=667):t==="]"||t==="\\rbrack"?(s="⎤",o="⎥",c="⎦",m="Size4-Regular",f="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(o=s="⎢",c="⎣",m="Size4-Regular",f="lfloor",p=667):t==="\\lceil"||t==="⌈"?(s="⎡",o=c="⎢",m="Size4-Regular",f="lceil",p=667):t==="\\rfloor"||t==="⌋"?(o=s="⎥",c="⎦",m="Size4-Regular",f="rfloor",p=667):t==="\\rceil"||t==="⌉"?(s="⎤",o=c="⎥",m="Size4-Regular",f="rceil",p=667):t==="("||t==="\\lparen"?(s="⎛",o="⎜",c="⎝",m="Size4-Regular",f="lparen",p=875):t===")"||t==="\\rparen"?(s="⎞",o="⎟",c="⎠",m="Size4-Regular",f="rparen",p=875):t==="\\{"||t==="\\lbrace"?(s="⎧",l="⎨",c="⎩",o="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="⎫",l="⎬",c="⎭",o="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(s="⎧",c="⎩",o="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(s="⎫",c="⎭",o="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(s="⎧",c="⎭",o="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(s="⎫",c="⎩",o="⎪",m="Size4-Regular");var y=br(s,m,a),v=y.height+y.depth,N=br(o,m,a),k=N.height+N.depth,D=br(c,m,a),O=D.height+D.depth,j=0,$=1;if(l!==null){var w=br(l,m,a);j=w.height+w.depth,$=2}var V=v+O+j,ee=Math.max(0,Math.ceil((n-V)/($*k))),G=V+ee*$*k,P=i.fontMetrics().axisHeight;r&&(P*=i.sizeMultiplier);var H=G/2-P,F=[];if(f.length>0){var ue=G-v-O,te=Math.round(G*1e3),Y=p6(f,Math.round(ue*1e3)),le=new yn(f,Y),de=(p/1e3).toFixed(3)+"em",we=(te/1e3).toFixed(3)+"em",Be=new an([le],{width:de,height:we,viewBox:"0 0 "+p+" "+te}),b=B.makeSvgSpan([],[Be],i);b.height=te/1e3,b.style.width=de,b.style.height=we,F.push({type:"elem",elem:b})}else{if(F.push(va(c,m,a)),F.push(ui),l===null){var ye=G-v-O+2*v0;F.push(Sa(o,ye,i))}else{var ke=(G-v-O-j)/2+2*v0;F.push(Sa(o,ke,i)),F.push(ui),F.push(va(l,m,a)),F.push(ui),F.push(Sa(o,ke,i))}F.push(ui),F.push(va(s,m,a))}var E=i.havingBaseStyle(ce.TEXT),Ie=B.makeVList({positionType:"bottom",positionData:H,children:F},E);return hu(B.makeSpan(["delimsizing","mult"],[Ie],E),ce.TEXT,i,u)},wa=80,Ca=.08,Ia=function(t,n,r,i,a){var u=m6(t,i,r),s=new yn(t,u),l=new an([s],{width:"400em",height:re(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return B.makeSvgSpan(["hide-tail"],[l],a)},h5=function(t,n){var r=n.havingBaseSizing(),i=f1("\\surd",t*r.sizeMultiplier,h1,r),a=r.sizeMultiplier,u=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,o=0,c=0,f;return i.type==="small"?(c=1e3+1e3*u+wa,t<1?a=1:t<1.4&&(a=.7),l=(1+u+Ca)/a,o=(1+u)/a,s=Ia("sqrtMain",l,c,u,n),s.style.minWidth="0.853em",f=.833/a):i.type==="large"?(c=(1e3+wa)*kr[i.size],o=(kr[i.size]+u)/a,l=(kr[i.size]+u+Ca)/a,s=Ia("sqrtSize"+i.size,l,c,u,n),s.style.minWidth="1.02em",f=1/a):(l=t+u+Ca,o=t+u,c=Math.floor(1e3*t+u)+wa,s=Ia("sqrtTall",l,c,u,n),s.style.minWidth="0.742em",f=1.056),s.height=o,s.style.height=re(l),{span:s,advanceWidth:f,ruleWidth:(n.fontMetrics().sqrtRuleThickness+u)*a}},o1=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],f5=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],c1=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],kr=[0,1.2,1.8,2.4,3],m5=function(t,n,r,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),o1.includes(t)||c1.includes(t))return s1(t,n,!1,r,i,a);if(f5.includes(t))return l1(t,kr[n],!1,r,i,a);throw new Z("Illegal delimiter: '"+t+"'")},d5=[{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}],p5=[{type:"small",style:ce.SCRIPTSCRIPT},{type:"small",style:ce.SCRIPT},{type:"small",style:ce.TEXT},{type:"stack"}],h1=[{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"}],g5=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.")},f1=function(t,n,r,i){for(var a=Math.min(2,3-i.style.size),u=a;u<r.length&&r[u].type!=="stack";u++){var s=br(t,g5(r[u]),"math"),l=s.height+s.depth;if(r[u].type==="small"){var o=i.havingBaseStyle(r[u].style);l*=o.sizeMultiplier}if(l>n)return r[u]}return r[r.length-1]},m1=function(t,n,r,i,a,u){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var s;c1.includes(t)?s=d5:o1.includes(t)?s=h1:s=p5;var l=f1(t,n,s,i);return l.type==="small"?s5(t,l.style,r,i,a,u):l.type==="large"?s1(t,l.size,r,i,a,u):l1(t,n,r,i,a,u)},b5=function(t,n,r,i,a,u){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,o=5/i.fontMetrics().ptPerEm,c=Math.max(n-s,r+s),f=Math.max(c/500*l,2*c-o);return m1(t,f,!0,i,a,u)},rn={sqrtImage:h5,sizedDelim:m5,sizeToMaxHeight:kr,customSizedDelim:m1,leftRightDelim:b5},Ws={"\\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}},E5=["(","\\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 Ui(e,t){var n=zi(e);if(n&&E5.includes(n.text))return n;throw n?new Z("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Z("Invalid delimiter type '"+e.type+"'",e)}ie({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 n=Ui(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Ws[e.funcName].size,mclass:Ws[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?B.makeSpan([e.mclass]):rn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(wt(e.delim,e.mode));var n=new K.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=re(rn.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function Xs(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new Z("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Ui(t[0],e).text,color:n}}});ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Ui(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=ge(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Xs(e);for(var n=Xe(e.body,t,!0,["mopen","mclose"]),r=0,i=0,a=!1,u=0;u<n.length;u++)n[u].isMiddle?a=!0:(r=Math.max(n[u].height,r),i=Math.max(n[u].depth,i));r*=t.sizeMultiplier,i*=t.sizeMultiplier;var s;if(e.left==="."?s=Mr(t,["mopen"]):s=rn.leftRightDelim(e.left,r,i,t,e.mode,["mopen"]),n.unshift(s),a)for(var l=1;l<n.length;l++){var o=n[l],c=o.isMiddle;c&&(n[l]=rn.leftRightDelim(c.delim,r,i,c.options,e.mode,[]))}var f;if(e.right===".")f=Mr(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=rn.leftRightDelim(e.right,r,i,p,e.mode,["mclose"])}return n.push(f),B.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{Xs(e);var n=pt(e.body,t);if(e.left!=="."){var r=new K.MathNode("mo",[wt(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var i=new K.MathNode("mo",[wt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return su(n)}});ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Ui(t[0],e);if(!e.parser.leftrightDepth)throw new Z("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=Mr(t,[]);else{n=rn.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?wt("|","text"):wt(e.delim,e.mode),r=new K.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var fu=(e,t)=>{var n=B.wrapFragment(xe(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,u=0,s=Ae.isCharacterBox(e.body);if(r==="sout")a=B.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,u=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=ze({number:.6,unit:"pt"},t),o=ze({number:.35,unit:"ex"},t),c=t.havingBaseSizing();i=i/c.sizeMultiplier;var f=n.height+n.depth+l+o;n.style.paddingLeft=re(f/2+l);var p=Math.floor(1e3*f*i),m=h6(p),y=new an([new yn("phase",m)],{width:"400em",height:re(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});a=B.makeSvgSpan(["hide-tail"],[y],t),a.style.height=re(f),u=n.depth+l+o}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var v=0,N=0,k=0;/box/.test(r)?(k=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),v=t.fontMetrics().fboxsep+(r==="colorbox"?0:k),N=v):r==="angl"?(k=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),v=4*k,N=Math.max(0,.25-n.depth)):(v=s?.2:0,N=v),a=sn.encloseSpan(n,r,v,N,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle="solid",a.style.borderWidth=re(k)):r==="angl"&&k!==.049&&(a.style.borderTopWidth=re(k),a.style.borderRightWidth=re(k)),u=n.depth+N,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var D;if(e.backgroundColor)D=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:n,shift:0}]},t);else{var O=/cancel|phase/.test(r)?["svg-align"]:[];D=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:a,shift:u,wrapperClasses:O}]},t)}return/cancel/.test(r)&&(D.height=n.height,D.depth=n.depth),/cancel/.test(r)&&!s?B.makeSpan(["mord","cancel-lap"],[D],t):B.makeSpan(["mord"],[D],t)},mu=(e,t)=>{var n=0,r=new K.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[_e(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};ie({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=ge(t[0],"color-token").color,u=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:u}},htmlBuilder:fu,mathmlBuilder:mu});ie({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=ge(t[0],"color-token").color,u=ge(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:u,borderColor:a,body:s}},htmlBuilder:fu,mathmlBuilder:mu});ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:fu,mathmlBuilder:mu});ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var d1={};function Vt(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:u}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)d1[n[l]]=s;a&&(Si[t]=a),u&&(wi[t]=u)}var p1={};function x(e,t){p1[e]=t}function Qs(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}var qi=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Z("{"+e.envName+"} can be used only in display mode.")};function du(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function vn(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:u,colSeparationType:s,autoTag:l,singleRow:o,emptySingleRow:c,maxNumCols:f,leqno:p}=t;if(e.gullet.beginGroup(),o||e.gullet.macros.set("\\cr","\\\\\\relax"),!u){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)u=1;else if(u=parseFloat(m),!u||u<0)throw new Z("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var y=[],v=[y],N=[],k=[],D=l!=null?[]:void 0;function O(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function j(){D&&(e.gullet.macros.get("\\df@tag")?(D.push(e.subparse([new Tt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):D.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(O(),k.push(Qs(e));;){var $=e.parseExpression(!1,o?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),$={type:"ordgroup",mode:e.mode,body:$},n&&($={type:"styling",mode:e.mode,style:n,body:[$]}),y.push($);var w=e.fetch().text;if(w==="&"){if(f&&y.length===f){if(o||s)throw new Z("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(w==="\\end"){j(),y.length===1&&$.type==="styling"&&$.body[0].body.length===0&&(v.length>1||!c)&&v.pop(),k.length<v.length+1&&k.push([]);break}else if(w==="\\\\"){e.consume();var V=void 0;e.gullet.future().text!==" "&&(V=e.parseSizeGroup(!0)),N.push(V?V.value:null),j(),k.push(Qs(e)),y=[],v.push(y),O()}else throw new Z("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:u,body:v,cols:a,rowGaps:N,hskipBeforeAndAfter:r,hLinesBeforeRow:k,colSeparationType:s,tags:D,leqno:p}}function pu(e){return e.slice(0,1)==="d"?"display":"text"}var Gt=function(t,n){var r,i,a=t.body.length,u=t.hLinesBeforeRow,s=0,l=new Array(a),o=[],c=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),f=1/n.fontMetrics().ptPerEm,p=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var m=n.havingStyle(ce.SCRIPT).sizeMultiplier;p=.2778*(m/n.sizeMultiplier)}var y=t.colSeparationType==="CD"?ze({number:3,unit:"ex"},n):12*f,v=3*f,N=t.arraystretch*y,k=.7*N,D=.3*N,O=0;function j(Xt){for(var Qt=0;Qt<Xt.length;++Qt)Qt>0&&(O+=.25),o.push({pos:O,isDashed:Xt[Qt]})}for(j(u[0]),r=0;r<t.body.length;++r){var $=t.body[r],w=k,V=D;s<$.length&&(s=$.length);var ee=new Array($.length);for(i=0;i<$.length;++i){var G=xe($[i],n);V<G.depth&&(V=G.depth),w<G.height&&(w=G.height),ee[i]=G}var P=t.rowGaps[r],H=0;P&&(H=ze(P,n),H>0&&(H+=D,V<H&&(V=H),H=0)),t.addJot&&(V+=v),ee.height=w,ee.depth=V,O+=w,ee.pos=O,O+=V+H,l[r]=ee,j(u[r+1])}var F=O/2+n.fontMetrics().axisHeight,ue=t.cols||[],te=[],Y,le,de=[];if(t.tags&&t.tags.some(Xt=>Xt))for(r=0;r<a;++r){var we=l[r],Be=we.pos-F,b=t.tags[r],ye=void 0;b===!0?ye=B.makeSpan(["eqn-num"],[],n):b===!1?ye=B.makeSpan([],[],n):ye=B.makeSpan([],Xe(b,n,!0),n),ye.depth=we.depth,ye.height=we.height,de.push({type:"elem",elem:ye,shift:Be})}for(i=0,le=0;i<s||le<ue.length;++i,++le){for(var ke=ue[le]||{},E=!0;ke.type==="separator";){if(E||(Y=B.makeSpan(["arraycolsep"],[]),Y.style.width=re(n.fontMetrics().doubleRuleSep),te.push(Y)),ke.separator==="|"||ke.separator===":"){var Ie=ke.separator==="|"?"solid":"dashed",Ue=B.makeSpan(["vertical-separator"],[],n);Ue.style.height=re(O),Ue.style.borderRightWidth=re(c),Ue.style.borderRightStyle=Ie,Ue.style.margin="0 "+re(-c/2);var Ee=O-F;Ee&&(Ue.style.verticalAlign=re(-Ee)),te.push(Ue)}else throw new Z("Invalid separator type: "+ke.separator);le++,ke=ue[le]||{},E=!1}if(!(i>=s)){var Ge=void 0;(i>0||t.hskipBeforeAndAfter)&&(Ge=Ae.deflt(ke.pregap,p),Ge!==0&&(Y=B.makeSpan(["arraycolsep"],[]),Y.style.width=re(Ge),te.push(Y)));var Me=[];for(r=0;r<a;++r){var Qe=l[r],Ke=Qe[i];if(Ke){var Lt=Qe.pos-F;Ke.depth=Qe.depth,Ke.height=Qe.height,Me.push({type:"elem",elem:Ke,shift:Lt})}}Me=B.makeVList({positionType:"individualShift",children:Me},n),Me=B.makeSpan(["col-align-"+(ke.align||"c")],[Me]),te.push(Me),(i<s-1||t.hskipBeforeAndAfter)&&(Ge=Ae.deflt(ke.postgap,p),Ge!==0&&(Y=B.makeSpan(["arraycolsep"],[]),Y.style.width=re(Ge),te.push(Y)))}}if(l=B.makeSpan(["mtable"],te),o.length>0){for(var zn=B.makeLineSpan("hline",n,c),lr=B.makeLineSpan("hdashline",n,c),wn=[{type:"elem",elem:l,shift:0}];o.length>0;){var Cn=o.pop(),hn=Cn.pos-F;Cn.isDashed?wn.push({type:"elem",elem:lr,shift:hn}):wn.push({type:"elem",elem:zn,shift:hn})}l=B.makeVList({positionType:"individualShift",children:wn},n)}if(de.length===0)return B.makeSpan(["mord"],[l],n);var Wt=B.makeVList({positionType:"individualShift",children:de},n);return Wt=B.makeSpan(["tag"],[Wt],n),B.makeFragment([l,Wt])},T5={c:"center ",l:"left ",r:"right "},jt=function(t,n){for(var r=[],i=new K.MathNode("mtd",[],["mtr-glue"]),a=new K.MathNode("mtd",[],["mml-eqn-num"]),u=0;u<t.body.length;u++){for(var s=t.body[u],l=[],o=0;o<s.length;o++)l.push(new K.MathNode("mtd",[_e(s[o],n)]));t.tags&&t.tags[u]&&(l.unshift(i),l.push(i),t.leqno?l.unshift(a):l.push(a)),r.push(new K.MathNode("mtr",l))}var c=new K.MathNode("mtable",r),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",re(f));var p="",m="";if(t.cols&&t.cols.length>0){var y=t.cols,v="",N=!1,k=0,D=y.length;y[0].type==="separator"&&(p+="top ",k=1),y[y.length-1].type==="separator"&&(p+="bottom ",D-=1);for(var O=k;O<D;O++)y[O].type==="align"?(m+=T5[y[O].align],N&&(v+="none "),N=!0):y[O].type==="separator"&&N&&(v+=y[O].separator==="|"?"solid ":"dashed ",N=!1);c.setAttribute("columnalign",m.trim()),/[sd]/.test(v)&&c.setAttribute("columnlines",v.trim())}if(t.colSeparationType==="align"){for(var j=t.cols||[],$="",w=1;w<j.length;w++)$+=w%2?"0em ":"1em ";c.setAttribute("columnspacing",$.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var V="",ee=t.hLinesBeforeRow;p+=ee[0].length>0?"left ":"",p+=ee[ee.length-1].length>0?"right ":"";for(var G=1;G<ee.length-1;G++)V+=ee[G].length===0?"none ":ee[G][0]?"dashed ":"solid ";return/[sd]/.test(V)&&c.setAttribute("rowlines",V.trim()),p!==""&&(c=new K.MathNode("menclose",[c]),c.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(c=new K.MathNode("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},g1=function(t,n){t.envName.indexOf("ed")===-1&&qi(t);var r=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",u=vn(t.parser,{cols:r,addJot:!0,autoTag:a?void 0:du(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),s,l=0,o={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var c="",f=0;f<n[0].body.length;f++){var p=ge(n[0].body[f],"textord");c+=p.text}s=Number(c),l=s*2}var m=!l;u.body.forEach(function(k){for(var D=1;D<k.length;D+=2){var O=ge(k[D],"styling"),j=ge(O.body[0],"ordgroup");j.body.unshift(o)}if(m)l<k.length&&(l=k.length);else{var $=k.length/2;if(s<$)throw new Z("Too many math in a row: "+("expected "+s+", but got "+$),k[0])}});for(var y=0;y<l;++y){var v="r",N=0;y%2===1?v="l":y>0&&m&&(N=1),r[y]={type:"align",align:v,pregap:N,postgap:0}}return u.colSeparationType=m?"align":"alignat",u};Vt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=zi(t[0]),r=n?[t[0]]:ge(t[0],"ordgroup").body,i=r.map(function(u){var s=ou(u),l=s.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 Z("Unknown column alignment: "+l,u)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return vn(e.parser,a,pu(e.envName))},htmlBuilder:Gt,mathmlBuilder:jt});Vt({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("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,"lcr".indexOf(n)===-1)throw new Z("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var a=vn(e.parser,r,pu(e.envName)),u=Math.max(0,...a.body.map(s=>s.length));return a.cols=new Array(u).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Gt,mathmlBuilder:jt});Vt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=vn(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Gt,mathmlBuilder:jt});Vt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=zi(t[0]),r=n?[t[0]]:ge(t[0],"ordgroup").body,i=r.map(function(u){var s=ou(u),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Z("Unknown column alignment: "+l,u)});if(i.length>1)throw new Z("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=vn(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new Z("{subarray} can contain only one column");return a},htmlBuilder:Gt,mathmlBuilder:jt});Vt({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}]},n=vn(e.parser,t,pu(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Gt,mathmlBuilder:jt});Vt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:g1,htmlBuilder:Gt,mathmlBuilder:jt});Vt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&qi(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:du(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return vn(e.parser,t,"display")},htmlBuilder:Gt,mathmlBuilder:jt});Vt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:g1,htmlBuilder:Gt,mathmlBuilder:jt});Vt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){qi(e);var t={autoTag:du(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return vn(e.parser,t,"display")},htmlBuilder:Gt,mathmlBuilder:jt});Vt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return qi(e),a5(e.parser)},htmlBuilder:Gt,mathmlBuilder:jt});x("\\nonumber","\\gdef\\@eqnsw{0}");x("\\notag","\\nonumber");ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Z(e.funcName+" valid only within array environment")}});var Ks=d1;ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!=="ordgroup")throw new Z("Invalid environment name",i);for(var a="",u=0;u<i.body.length;++u)a+=ge(i.body[u],"textord").text;if(r==="\\begin"){if(!Ks.hasOwnProperty(a))throw new Z("No such environment: "+a,i);var s=Ks[a],{args:l,optArgs:o}=n.parseArguments("\\begin{"+a+"}",s),c={mode:n.mode,envName:a,parser:n},f=s.handler(c,l,o);n.expect("\\end",!1);var p=n.nextToken,m=ge(n.parseFunction(),"environment");if(m.name!==a)throw new Z("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",p);return f}return{type:"environment",mode:n.mode,name:a,nameGroup:i}}});var b1=(e,t)=>{var n=e.font,r=t.withFont(n);return xe(e.body,r)},E1=(e,t)=>{var n=e.font,r=t.withFont(n);return _e(e.body,r)},Zs={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ie({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:n,funcName:r}=e,i=Ci(t[0]),a=r;return a in Zs&&(a=Zs[a]),{type:"font",mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:b1,mathmlBuilder:E1});ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],i=Ae.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Hi(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});ie({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,u=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:a,font:s,body:{type:"ordgroup",mode:n.mode,body:u}}},htmlBuilder:b1,mathmlBuilder:E1});var T1=(e,t)=>{var n=t;return e==="display"?n=n.id>=ce.SCRIPT.id?n.text():ce.DISPLAY:e==="text"&&n.size===ce.DISPLAY.size?n=ce.TEXT:e==="script"?n=ce.SCRIPT:e==="scriptscript"&&(n=ce.SCRIPTSCRIPT),n},gu=(e,t)=>{var n=T1(e.size,t.style),r=n.fracNum(),i=n.fracDen(),a;a=t.havingStyle(r);var u=xe(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;u.height=u.height<s?s:u.height,u.depth=u.depth<l?l:u.depth}a=t.havingStyle(i);var o=xe(e.denom,a,t),c,f,p;e.hasBarLine?(e.barSize?(f=ze(e.barSize,t),c=B.makeLineSpan("frac-line",t,f)):c=B.makeLineSpan("frac-line",t),f=c.height,p=c.height):(c=null,f=0,p=t.fontMetrics().defaultRuleThickness);var m,y,v;n.size===ce.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,f>0?y=3*p:y=7*p,v=t.fontMetrics().denom1):(f>0?(m=t.fontMetrics().num2,y=p):(m=t.fontMetrics().num3,y=3*p),v=t.fontMetrics().denom2);var N;if(c){var D=t.fontMetrics().axisHeight;m-u.depth-(D+.5*f)<y&&(m+=y-(m-u.depth-(D+.5*f))),D-.5*f-(o.height-v)<y&&(v+=y-(D-.5*f-(o.height-v)));var O=-(D-.5*f);N=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:v},{type:"elem",elem:c,shift:O},{type:"elem",elem:u,shift:-m}]},t)}else{var k=m-u.depth-(o.height-v);k<y&&(m+=.5*(y-k),v+=.5*(y-k)),N=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:v},{type:"elem",elem:u,shift:-m}]},t)}a=t.havingStyle(n),N.height*=a.sizeMultiplier/t.sizeMultiplier,N.depth*=a.sizeMultiplier/t.sizeMultiplier;var j;n.size===ce.DISPLAY.size?j=t.fontMetrics().delim1:n.size===ce.SCRIPTSCRIPT.size?j=t.havingStyle(ce.SCRIPT).fontMetrics().delim2:j=t.fontMetrics().delim2;var $,w;return e.leftDelim==null?$=Mr(t,["mopen"]):$=rn.customSizedDelim(e.leftDelim,j,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?w=B.makeSpan([]):e.rightDelim==null?w=Mr(t,["mclose"]):w=rn.customSizedDelim(e.rightDelim,j,!0,t.havingStyle(n),e.mode,["mclose"]),B.makeSpan(["mord"].concat(a.sizingClasses(t)),[$,B.makeSpan(["mfrac"],[N]),w],t)},bu=(e,t)=>{var n=new K.MathNode("mfrac",[_e(e.numer,t),_e(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=ze(e.barSize,t);n.setAttribute("linethickness",re(r))}var i=T1(e.size,t.style);if(i.size!==t.style.size){n=new K.MathNode("mstyle",[n]);var a=i.size===ce.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",a),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var u=[];if(e.leftDelim!=null){var s=new K.MathNode("mo",[new K.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),u.push(s)}if(u.push(n),e.rightDelim!=null){var l=new K.MathNode("mo",[new K.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),u.push(l)}return su(u)}return n};ie({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],u,s=null,l=null,o="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":u=!0;break;case"\\\\atopfrac":u=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":u=!1,s="(",l=")";break;case"\\\\bracefrac":u=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":u=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":o="display";break;case"\\tfrac":case"\\tbinom":o="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:u,leftDelim:s,rightDelim:l,size:o,barSize:null}},htmlBuilder:gu,mathmlBuilder:bu});ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){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:r}}});var Js=["display","text","script","scriptscript"],el=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=Ci(t[0]),u=a.type==="atom"&&a.family==="open"?el(a.text):null,s=Ci(t[1]),l=s.type==="atom"&&s.family==="close"?el(s.text):null,o=ge(t[2],"size"),c,f=null;o.isBlank?c=!0:(f=o.value,c=f.number>0);var p="auto",m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var y=ge(m.body[0],"textord");p=Js[Number(y.text)]}}else m=ge(m,"textord"),p=Js[Number(m.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:c,barSize:f,leftDelim:u,rightDelim:l,size:p}},htmlBuilder:gu,mathmlBuilder:bu});ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:ge(t[0],"size").value,token:i}}});ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Q3(ge(t[1],"infix").size),u=t[2],s=a.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:u,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:gu,mathmlBuilder:bu});var x1=(e,t)=>{var n=t.style,r,i;e.type==="supsub"?(r=e.sup?xe(e.sup,t.havingStyle(n.sup()),t):xe(e.sub,t.havingStyle(n.sub()),t),i=ge(e.base,"horizBrace")):i=ge(e,"horizBrace");var a=xe(i.base,t.havingBaseStyle(ce.DISPLAY)),u=sn.svgSpan(i,t),s;if(i.isOver?(s=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:u}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=B.makeVList({positionType:"bottom",positionData:a.depth+.1+u.height,children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=B.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t);i.isOver?s=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):s=B.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return B.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t)},x5=(e,t)=>{var n=sn.mathMLnode(e.label);return new K.MathNode(e.isOver?"mover":"munder",[_e(e.base,t),n])};ie({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:x1,mathmlBuilder:x5});ie({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=ge(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:$e(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Xe(e.body,t,!1);return B.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=kn(e.body,t);return n instanceof Et||(n=new Et("mrow",[n])),n.setAttribute("href",e.href),n}});ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=ge(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<r.length;a++){var u=r[a];u==="~"&&(u="\\textasciitilde"),i.push({type:"textord",mode:"text",text:u})}var s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:$e(s)}}});ie({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:$e(t[0])}},htmlBuilder(e,t){var n=Xe(e.body,t,!1);return B.makeFragment(n)},mathmlBuilder(e,t){return new K.MathNode("mrow",pt(e.body,t))}});ie({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,token:i}=e,a=ge(t[0],"raw").string,u=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=a,s={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,s={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,s={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var o=a.split(","),c=0;c<o.length;c++){var f=o[c],p=f.indexOf("=");if(p<0)throw new Z("\\htmlData key/value '"+f+"' missing equals sign");var m=f.slice(0,p),y=f.slice(p+1);l["data-"+m.trim()]=y}s={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(s)?{type:"html",mode:n.mode,attributes:l,body:$e(u)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Xe(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=B.makeSpan(r,n,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>kn(e.body,t)});ie({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:$e(t[0]),mathml:$e(t[1])}},htmlBuilder:(e,t)=>{var n=Xe(e.html,t,!1);return B.makeFragment(n)},mathmlBuilder:(e,t)=>kn(e.mathml,t)});var _a=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Z("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!zc(r))throw new Z("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},u={number:0,unit:"em"},s="";if(n[0])for(var l=ge(n[0],"raw").string,o=l.split(","),c=0;c<o.length;c++){var f=o[c].split("=");if(f.length===2){var p=f[1].trim();switch(f[0].trim()){case"alt":s=p;break;case"width":i=_a(p);break;case"height":a=_a(p);break;case"totalheight":u=_a(p);break;default:throw new Z("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var m=ge(t[0],"url").url;return s===""&&(s=m,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:r.mode,alt:s,width:i,height:a,totalheight:u,src:m}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=ze(e.height,t),r=0;e.totalheight.number>0&&(r=ze(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=ze(e.width,t));var a={height:re(n+r)};i>0&&(a.width=re(i)),r>0&&(a.verticalAlign=re(-r));var u=new x6(e.src,e.alt,a);return u.height=n,u.depth=r,u},mathmlBuilder:(e,t)=>{var n=new K.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=ze(e.height,t),i=0;if(e.totalheight.number>0&&(i=ze(e.totalheight,t)-r,n.setAttribute("valign",re(-i))),n.setAttribute("height",re(r+i)),e.width.number>0){var a=ze(e.width,t);n.setAttribute("width",re(a))}return n.setAttribute("src",e.src),n}});ie({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=ge(t[0],"size");if(n.settings.strict){var a=r[1]==="m",u=i.value.unit==="mu";a?(u||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):u&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return B.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=ze(e.dimension,t);return new K.SpaceNode(n)}});ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=B.makeSpan([],[xe(e.body,t)]),n=B.makeSpan(["inner"],[n],t)):n=B.makeSpan(["inner"],[xe(e.body,t)]);var r=B.makeSpan(["fix"],[]),i=B.makeSpan([e.alignment],[n,r],t),a=B.makeSpan(["strut"]);return a.style.height=re(i.height+i.depth),i.depth&&(a.style.verticalAlign=re(-i.depth)),i.children.unshift(a),i=B.makeSpan(["thinbox"],[i],t),B.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var n=new K.MathNode("mpadded",[_e(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});ie({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode("math");var a=n==="\\("?"\\)":"$",u=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:u}}});ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Z("Mismatched "+e.funcName)}});var tl=(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}};ie({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:$e(t[0]),text:$e(t[1]),script:$e(t[2]),scriptscript:$e(t[3])}},htmlBuilder:(e,t)=>{var n=tl(e,t),r=Xe(n,t,!1);return B.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=tl(e,t);return kn(n,t)}});var y1=(e,t,n,r,i,a,u)=>{e=B.makeSpan([],[e]);var s=n&&Ae.isCharacterBox(n),l,o;if(t){var c=xe(t,r.havingStyle(i.sup()),r);o={elem:c,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-c.depth)}}if(n){var f=xe(n,r.havingStyle(i.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var p;if(o&&l){var m=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+u;p=B.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:re(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:o.kern},{type:"elem",elem:o.elem,marginLeft:re(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var y=e.height-u;p=B.makeVList({positionType:"top",positionData:y,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:re(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(o){var v=e.depth+u;p=B.makeVList({positionType:"bottom",positionData:v,children:[{type:"elem",elem:e},{type:"kern",size:o.kern},{type:"elem",elem:o.elem,marginLeft:re(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var N=[p];if(l&&a!==0&&!s){var k=B.makeSpan(["mspace"],[],r);k.style.marginRight=re(a),N.unshift(k)}return B.makeSpan(["mop","op-limits"],N,r)},k1=["\\smallint"],ir=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=ge(e.base,"op"),i=!0):a=ge(e,"op");var u=t.style,s=!1;u.size===ce.DISPLAY.size&&a.symbol&&!k1.includes(a.name)&&(s=!0);var l;if(a.symbol){var o=s?"Size2-Regular":"Size1-Regular",c="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(c=a.name.slice(1),a.name=c==="oiint"?"\\iint":"\\iiint"),l=B.makeSymbol(a.name,o,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),c.length>0){var f=l.italic,p=B.staticSvg(c+"Size"+(s?"2":"1"),t);l=B.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:p,shift:s?.08:0}]},t),a.name="\\"+c,l.classes.unshift("mop"),l.italic=f}}else if(a.body){var m=Xe(a.body,t,!0);m.length===1&&m[0]instanceof St?(l=m[0],l.classes[0]="mop"):l=B.makeSpan(["mop"],m,t)}else{for(var y=[],v=1;v<a.name.length;v++)y.push(B.mathsym(a.name[v],a.mode,t));l=B.makeSpan(["mop"],y,t)}var N=0,k=0;return(l instanceof St||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(N=(l.height-l.depth)/2-t.fontMetrics().axisHeight,k=l.italic),i?y1(l,n,r,t,u,k,N):(N&&(l.style.position="relative",l.style.top=re(N)),l)},qr=(e,t)=>{var n;if(e.symbol)n=new Et("mo",[wt(e.name,e.mode)]),k1.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Et("mo",pt(e.body,t));else{n=new Et("mi",[new zt(e.name.slice(1))]);var r=new Et("mo",[wt("⁡","text")]);e.parentIsSupSub?n=new Et("mrow",[n,r]):n=Qc([n,r])}return n},y5={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ie({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:n,funcName:r}=e,i=r;return i.length===1&&(i=y5[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ir,mathmlBuilder:qr});ie({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:$e(r)}},htmlBuilder:ir,mathmlBuilder:qr});var k5={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ie({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:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ir,mathmlBuilder:qr});ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ir,mathmlBuilder:qr});ie({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=k5[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:ir,mathmlBuilder:qr});var A1=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=ge(e.base,"operatorname"),i=!0):a=ge(e,"operatorname");var u;if(a.body.length>0){for(var s=a.body.map(f=>{var p=f.text;return typeof p=="string"?{type:"textord",mode:f.mode,text:p}:f}),l=Xe(s,t.withFont("mathrm"),!0),o=0;o<l.length;o++){var c=l[o];c instanceof St&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}u=B.makeSpan(["mop"],l,t)}else u=B.makeSpan(["mop"],[],t);return i?y1(u,n,r,t,t.style,0,0):u},A5=(e,t)=>{for(var n=pt(e.body,t.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof K.SpaceNode))if(a instanceof K.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var u=a.children[0];a.children.length===1&&u instanceof K.TextNode?u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var s=n.map(c=>c.toText()).join("");n=[new K.TextNode(s)]}var l=new K.MathNode("mi",n);l.setAttribute("mathvariant","normal");var o=new K.MathNode("mo",[wt("⁡","text")]);return e.parentIsSupSub?new K.MathNode("mrow",[l,o]):K.newDocumentFragment([l,o])};ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"operatorname",mode:n.mode,body:$e(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:A1,mathmlBuilder:A5});x("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Pn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?B.makeFragment(Xe(e.body,t,!1)):B.makeSpan(["mord"],Xe(e.body,t,!0),t)},mathmlBuilder(e,t){return kn(e.body,t,!0)}});ie({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=xe(e.body,t.havingCrampedStyle()),r=B.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return B.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var n=new K.MathNode("mo",[new K.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new K.MathNode("mover",[_e(e.body,t),n]);return r.setAttribute("accent","true"),r}});ie({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:$e(r)}},htmlBuilder:(e,t)=>{var n=Xe(e.body,t.withPhantom(),!1);return B.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=pt(e.body,t);return new K.MathNode("mphantom",n)}});ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=B.makeSpan([],[xe(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),B.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=pt($e(e.body),t),r=new K.MathNode("mphantom",n),i=new K.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});ie({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=B.makeSpan(["inner"],[xe(e.body,t.withPhantom())]),r=B.makeSpan(["fix"],[]);return B.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=pt($e(e.body),t),r=new K.MathNode("mphantom",n),i=new K.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});ie({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=ge(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=xe(e.body,t),r=ze(e.dy,t);return B.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new K.MathNode("mpadded",[_e(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});ie({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ie({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,i=n[0],a=ge(t[0],"size"),u=ge(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&ge(i,"size").value,width:a.value,height:u.value}},htmlBuilder(e,t){var n=B.makeSpan(["mord","rule"],[],t),r=ze(e.width,t),i=ze(e.height,t),a=e.shift?ze(e.shift,t):0;return n.style.borderRightWidth=re(r),n.style.borderTopWidth=re(i),n.style.bottom=re(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=ze(e.width,t),r=ze(e.height,t),i=e.shift?ze(e.shift,t):0,a=t.color&&t.getColor()||"black",u=new K.MathNode("mspace");u.setAttribute("mathbackground",a),u.setAttribute("width",re(n)),u.setAttribute("height",re(r));var s=new K.MathNode("mpadded",[u]);return i>=0?s.setAttribute("height",re(i)):(s.setAttribute("height",re(i)),s.setAttribute("depth",re(-i))),s.setAttribute("voffset",re(i)),s}});function v1(e,t,n){for(var r=Xe(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var u=r[a].classes.indexOf("sizing");u<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[u+1]==="reset-size"+t.size&&(r[a].classes[u+1]="reset-size"+n.size),r[a].height*=i,r[a].depth*=i}return B.makeFragment(r)}var nl=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],v5=(e,t)=>{var n=t.havingSize(e.size);return v1(e.body,n,t)};ie({type:"sizing",names:nl,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:nl.indexOf(r)+1,body:a}},htmlBuilder:v5,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=pt(e.body,n),i=new K.MathNode("mstyle",r);return i.setAttribute("mathsize",re(n.sizeMultiplier)),i}});ie({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,u=n[0]&&ge(n[0],"ordgroup");if(u)for(var s="",l=0;l<u.body.length;++l){var o=u.body[l];if(s=o.text,s==="t")i=!0;else if(s==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var c=t[0];return{type:"smash",mode:r.mode,body:c,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=B.makeSpan([],[xe(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var a=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return B.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var n=new K.MathNode("mpadded",[_e(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});ie({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:"sqrt",mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=xe(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=B.wrapFragment(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,a=i;t.style.id<ce.TEXT.id&&(a=t.fontMetrics().xHeight);var u=i+a/4,s=n.height+n.depth+u+i,{span:l,ruleWidth:o,advanceWidth:c}=rn.sqrtImage(s,t),f=l.height-o;f>n.height+n.depth+u&&(u=(u+f-n.height-n.depth)/2);var p=l.height-n.height-u-o;n.style.paddingLeft=re(c);var m=B.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+p)},{type:"elem",elem:l},{type:"kern",size:o}]},t);if(e.index){var y=t.havingStyle(ce.SCRIPTSCRIPT),v=xe(e.index,y,t),N=.6*(m.height-m.depth),k=B.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:v}]},t),D=B.makeSpan(["root"],[k]);return B.makeSpan(["mord","sqrt"],[D,m],t)}else return B.makeSpan(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new K.MathNode("mroot",[_e(n,t),_e(r,t)]):new K.MathNode("msqrt",[_e(n,t)])}});var rl={display:ce.DISPLAY,text:ce.TEXT,script:ce.SCRIPT,scriptscript:ce.SCRIPTSCRIPT};ie({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),u=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:u,body:a}},htmlBuilder(e,t){var n=rl[e.style],r=t.havingStyle(n).withFont("");return v1(e.body,r,t)},mathmlBuilder(e,t){var n=rl[e.style],r=t.havingStyle(n),i=pt(e.body,r),a=new K.MathNode("mstyle",i),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=u[e.style];return a.setAttribute("scriptlevel",s[0]),a.setAttribute("displaystyle",s[1]),a}});var S5=function(t,n){var r=t.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===ce.DISPLAY.size||r.alwaysHandleSupSub);return i?ir:null}else if(r.type==="operatorname"){var a=r.alwaysHandleSupSub&&(n.style.size===ce.DISPLAY.size||r.limits);return a?A1:null}else{if(r.type==="accent")return Ae.isCharacterBox(r.base)?cu:null;if(r.type==="horizBrace"){var u=!t.sub;return u===r.isOver?x1:null}else return null}else return null};Pn({type:"supsub",htmlBuilder(e,t){var n=S5(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,u=xe(r,t),s,l,o=t.fontMetrics(),c=0,f=0,p=r&&Ae.isCharacterBox(r);if(i){var m=t.havingStyle(t.style.sup());s=xe(i,m,t),p||(c=u.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var y=t.havingStyle(t.style.sub());l=xe(a,y,t),p||(f=u.depth+y.fontMetrics().subDrop*y.sizeMultiplier/t.sizeMultiplier)}var v;t.style===ce.DISPLAY?v=o.sup1:t.style.cramped?v=o.sup3:v=o.sup2;var N=t.sizeMultiplier,k=re(.5/o.ptPerEm/N),D=null;if(l){var O=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(u instanceof St||O)&&(D=re(-u.italic))}var j;if(s&&l){c=Math.max(c,v,s.depth+.25*o.xHeight),f=Math.max(f,o.sub2);var $=o.defaultRuleThickness,w=4*$;if(c-s.depth-(l.height-f)<w){f=w-(c-s.depth)+l.height;var V=.8*o.xHeight-(c-s.depth);V>0&&(c+=V,f-=V)}var ee=[{type:"elem",elem:l,shift:f,marginRight:k,marginLeft:D},{type:"elem",elem:s,shift:-c,marginRight:k}];j=B.makeVList({positionType:"individualShift",children:ee},t)}else if(l){f=Math.max(f,o.sub1,l.height-.8*o.xHeight);var G=[{type:"elem",elem:l,marginLeft:D,marginRight:k}];j=B.makeVList({positionType:"shift",positionData:f,children:G},t)}else if(s)c=Math.max(c,v,s.depth+.25*o.xHeight),j=B.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:s,marginRight:k}]},t);else throw new Error("supsub must have either sup or sub.");var P=y0(u,"right")||"mord";return B.makeSpan([P],[u,B.makeSpan(["msupsub"],[j])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[_e(e.base,t)];e.sub&&a.push(_e(e.sub,t)),e.sup&&a.push(_e(e.sup,t));var u;if(n)u=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;o&&o.type==="op"&&o.limits&&t.style===ce.DISPLAY||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(t.style===ce.DISPLAY||o.limits)?u="munderover":u="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)?u="munder":u="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===ce.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===ce.DISPLAY)?u="mover":u="msup"}return new K.MathNode(u,a)}});Pn({type:"atom",htmlBuilder(e,t){return B.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new K.MathNode("mo",[wt(e.text,e.mode)]);if(e.family==="bin"){var r=lu(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var S1={mi:"italic",mn:"normal",mtext:"normal"};Pn({type:"mathord",htmlBuilder(e,t){return B.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new K.MathNode("mi",[wt(e.text,e.mode,t)]),r=lu(e,t)||"italic";return r!==S1[n.type]&&n.setAttribute("mathvariant",r),n}});Pn({type:"textord",htmlBuilder(e,t){return B.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=wt(e.text,e.mode,t),r=lu(e,t)||"normal",i;return e.mode==="text"?i=new K.MathNode("mtext",[n]):/[0-9]/.test(e.text)?i=new K.MathNode("mn",[n]):e.text==="\\prime"?i=new K.MathNode("mo",[n]):i=new K.MathNode("mi",[n]),r!==S1[i.type]&&i.setAttribute("mathvariant",r),i}});var Na={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Da={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Pn({type:"spacing",htmlBuilder(e,t){if(Da.hasOwnProperty(e.text)){var n=Da[e.text].className||"";if(e.mode==="text"){var r=B.makeOrd(e,t,"textord");return r.classes.push(n),r}else return B.makeSpan(["mspace",n],[B.mathsym(e.text,e.mode,t)],t)}else{if(Na.hasOwnProperty(e.text))return B.makeSpan(["mspace",Na[e.text]],[],t);throw new Z('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Da.hasOwnProperty(e.text))n=new K.MathNode("mtext",[new K.TextNode(" ")]);else{if(Na.hasOwnProperty(e.text))return new K.MathNode("mspace");throw new Z('Unknown type of space "'+e.text+'"')}return n}});var il=()=>{var e=new K.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Pn({type:"tag",mathmlBuilder(e,t){var n=new K.MathNode("mtable",[new K.MathNode("mtr",[il(),new K.MathNode("mtd",[kn(e.body,t)]),il(),new K.MathNode("mtd",[kn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var al={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ul={"\\textbf":"textbf","\\textmd":"textmd"},w5={"\\textit":"textit","\\textup":"textup"},sl=(e,t)=>{var n=e.font;if(n){if(al[n])return t.withTextFontFamily(al[n]);if(ul[n])return t.withTextFontWeight(ul[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(w5[n])};ie({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:n,funcName:r}=e,i=t[0];return{type:"text",mode:n.mode,body:$e(i),font:r}},htmlBuilder(e,t){var n=sl(e,t),r=Xe(e.body,n,!0);return B.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=sl(e,t);return kn(e.body,n)}});ie({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=xe(e.body,t),r=B.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=B.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return B.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var n=new K.MathNode("mo",[new K.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new K.MathNode("munder",[_e(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});ie({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=xe(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return B.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new K.MathNode("mpadded",[_e(e.body,t)],["vcenter"])}});ie({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Z("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=ll(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var u=n[a];u==="~"&&(u="\\textasciitilde"),r.push(B.makeSymbol(u,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return B.makeSpan(["mord","text"].concat(i.sizingClasses(t)),B.tryCombineChars(r),i)},mathmlBuilder(e,t){var n=new K.TextNode(ll(e)),r=new K.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var ll=e=>e.body.replace(/ /g,e.star?"␣":" "),En=Wc,w1=`[ \r
289
- ]`,C5="\\\\[a-zA-Z@]+",I5="\\\\[^\uD800-\uDFFF]",_5="("+C5+")"+w1+"*",N5=`\\\\(
290
- |[ \r ]+
291
- ?)[ \r ]*`,S0="[̀-ͯ]",D5=new RegExp(S0+"+$"),L5="("+w1+"+)|"+(N5+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(S0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(S0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+_5)+("|"+I5+")");class ol{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(L5,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new Tt("EOF",new ht(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Z("Unexpected character: '"+t[n]+"'",new Tt(t[n],new ht(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
292
- `,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 Tt(i,new ht(this,n,this.tokenRegex.lastIndex))}}class O5{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Z("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}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,n,r){if(r===void 0&&(r=!1),r){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]=n)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var M5=p1;x("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});x("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});x("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});x("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});x("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});x("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");x("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var cl={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};x("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Z("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=cl[t.text],r==null||r>=n)throw new Z("Invalid base-"+n+" digit "+t.text);for(var i;(i=cl[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return"\\@char{"+r+"}"});var Eu=(e,t,n,r)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new Z("\\newcommand's first argument must be a macro name");var a=i[0].text,u=e.isDefined(a);if(u&&!t)throw new Z("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!u&&!n)throw new Z("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var s=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var l="",o=e.expandNextToken();o.text!=="]"&&o.text!=="EOF";)l+=o.text,o=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new Z("Invalid number of arguments: "+l);s=parseInt(l),i=e.consumeArg().tokens}return u&&r||e.macros.set(a,{tokens:i,numArgs:s}),""};x("\\newcommand",e=>Eu(e,!1,!0,!1));x("\\renewcommand",e=>Eu(e,!0,!1,!1));x("\\providecommand",e=>Eu(e,!0,!0,!0));x("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});x("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});x("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),En[n],Oe.math[n],Oe.text[n]),""});x("\\bgroup","{");x("\\egroup","}");x("~","\\nobreakspace");x("\\lq","`");x("\\rq","'");x("\\aa","\\r a");x("\\AA","\\r A");x("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");x("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");x("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");x("ℬ","\\mathscr{B}");x("ℰ","\\mathscr{E}");x("ℱ","\\mathscr{F}");x("ℋ","\\mathscr{H}");x("ℐ","\\mathscr{I}");x("ℒ","\\mathscr{L}");x("ℳ","\\mathscr{M}");x("ℛ","\\mathscr{R}");x("ℭ","\\mathfrak{C}");x("ℌ","\\mathfrak{H}");x("ℨ","\\mathfrak{Z}");x("\\Bbbk","\\Bbb{k}");x("·","\\cdotp");x("\\llap","\\mathllap{\\textrm{#1}}");x("\\rlap","\\mathrlap{\\textrm{#1}}");x("\\clap","\\mathclap{\\textrm{#1}}");x("\\mathstrut","\\vphantom{(}");x("\\underbar","\\underline{\\text{#1}}");x("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');x("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");x("\\ne","\\neq");x("≠","\\neq");x("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");x("∉","\\notin");x("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");x("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");x("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");x("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");x("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");x("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");x("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");x("⟂","\\perp");x("‼","\\mathclose{!\\mkern-0.8mu!}");x("∌","\\notni");x("⌜","\\ulcorner");x("⌝","\\urcorner");x("⌞","\\llcorner");x("⌟","\\lrcorner");x("©","\\copyright");x("®","\\textregistered");x("️","\\textregistered");x("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');x("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');x("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');x("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');x("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");x("⋮","\\vdots");x("\\varGamma","\\mathit{\\Gamma}");x("\\varDelta","\\mathit{\\Delta}");x("\\varTheta","\\mathit{\\Theta}");x("\\varLambda","\\mathit{\\Lambda}");x("\\varXi","\\mathit{\\Xi}");x("\\varPi","\\mathit{\\Pi}");x("\\varSigma","\\mathit{\\Sigma}");x("\\varUpsilon","\\mathit{\\Upsilon}");x("\\varPhi","\\mathit{\\Phi}");x("\\varPsi","\\mathit{\\Psi}");x("\\varOmega","\\mathit{\\Omega}");x("\\substack","\\begin{subarray}{c}#1\\end{subarray}");x("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");x("\\boxed","\\fbox{$\\displaystyle{#1}$}");x("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");x("\\implies","\\DOTSB\\;\\Longrightarrow\\;");x("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");x("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");x("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var hl={",":"\\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"};x("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in hl?t=hl[n]:(n.slice(0,4)==="\\not"||n in Oe.math&&["bin","rel"].includes(Oe.math[n].group))&&(t="\\dotsb"),t});var Tu={")":!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};x("\\dotso",function(e){var t=e.future().text;return t in Tu?"\\ldots\\,":"\\ldots"});x("\\dotsc",function(e){var t=e.future().text;return t in Tu&&t!==","?"\\ldots\\,":"\\ldots"});x("\\cdots",function(e){var t=e.future().text;return t in Tu?"\\@cdots\\,":"\\@cdots"});x("\\dotsb","\\cdots");x("\\dotsm","\\cdots");x("\\dotsi","\\!\\cdots");x("\\dotsx","\\ldots\\,");x("\\DOTSI","\\relax");x("\\DOTSB","\\relax");x("\\DOTSX","\\relax");x("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");x("\\,","\\tmspace+{3mu}{.1667em}");x("\\thinspace","\\,");x("\\>","\\mskip{4mu}");x("\\:","\\tmspace+{4mu}{.2222em}");x("\\medspace","\\:");x("\\;","\\tmspace+{5mu}{.2777em}");x("\\thickspace","\\;");x("\\!","\\tmspace-{3mu}{.1667em}");x("\\negthinspace","\\!");x("\\negmedspace","\\tmspace-{4mu}{.2222em}");x("\\negthickspace","\\tmspace-{5mu}{.277em}");x("\\enspace","\\kern.5em ");x("\\enskip","\\hskip.5em\\relax");x("\\quad","\\hskip1em\\relax");x("\\qquad","\\hskip2em\\relax");x("\\tag","\\@ifstar\\tag@literal\\tag@paren");x("\\tag@paren","\\tag@literal{({#1})}");x("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Z("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});x("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");x("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");x("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");x("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");x("\\newline","\\\\\\relax");x("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var C1=re(Ft["Main-Regular"][84][1]-.7*Ft["Main-Regular"][65][1]);x("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+C1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");x("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+C1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");x("\\hspace","\\@ifstar\\@hspacer\\@hspace");x("\\@hspace","\\hskip #1\\relax");x("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");x("\\ordinarycolon",":");x("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");x("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');x("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');x("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');x("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');x("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');x("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');x("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');x("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');x("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');x("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');x("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');x("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');x("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');x("∷","\\dblcolon");x("∹","\\eqcolon");x("≔","\\coloneqq");x("≕","\\eqqcolon");x("⩴","\\Coloneqq");x("\\ratio","\\vcentcolon");x("\\coloncolon","\\dblcolon");x("\\colonequals","\\coloneqq");x("\\coloncolonequals","\\Coloneqq");x("\\equalscolon","\\eqqcolon");x("\\equalscoloncolon","\\Eqqcolon");x("\\colonminus","\\coloneq");x("\\coloncolonminus","\\Coloneq");x("\\minuscolon","\\eqcolon");x("\\minuscoloncolon","\\Eqcolon");x("\\coloncolonapprox","\\Colonapprox");x("\\coloncolonsim","\\Colonsim");x("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");x("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");x("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");x("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");x("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");x("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");x("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");x("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");x("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");x("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");x("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");x("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");x("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");x("\\nleqq","\\html@mathml{\\@nleqq}{≰}");x("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");x("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");x("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");x("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");x("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");x("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");x("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");x("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");x("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");x("\\imath","\\html@mathml{\\@imath}{ı}");x("\\jmath","\\html@mathml{\\@jmath}{ȷ}");x("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");x("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");x("⟦","\\llbracket");x("⟧","\\rrbracket");x("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");x("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");x("⦃","\\lBrace");x("⦄","\\rBrace");x("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");x("⦵","\\minuso");x("\\darr","\\downarrow");x("\\dArr","\\Downarrow");x("\\Darr","\\Downarrow");x("\\lang","\\langle");x("\\rang","\\rangle");x("\\uarr","\\uparrow");x("\\uArr","\\Uparrow");x("\\Uarr","\\Uparrow");x("\\N","\\mathbb{N}");x("\\R","\\mathbb{R}");x("\\Z","\\mathbb{Z}");x("\\alef","\\aleph");x("\\alefsym","\\aleph");x("\\Alpha","\\mathrm{A}");x("\\Beta","\\mathrm{B}");x("\\bull","\\bullet");x("\\Chi","\\mathrm{X}");x("\\clubs","\\clubsuit");x("\\cnums","\\mathbb{C}");x("\\Complex","\\mathbb{C}");x("\\Dagger","\\ddagger");x("\\diamonds","\\diamondsuit");x("\\empty","\\emptyset");x("\\Epsilon","\\mathrm{E}");x("\\Eta","\\mathrm{H}");x("\\exist","\\exists");x("\\harr","\\leftrightarrow");x("\\hArr","\\Leftrightarrow");x("\\Harr","\\Leftrightarrow");x("\\hearts","\\heartsuit");x("\\image","\\Im");x("\\infin","\\infty");x("\\Iota","\\mathrm{I}");x("\\isin","\\in");x("\\Kappa","\\mathrm{K}");x("\\larr","\\leftarrow");x("\\lArr","\\Leftarrow");x("\\Larr","\\Leftarrow");x("\\lrarr","\\leftrightarrow");x("\\lrArr","\\Leftrightarrow");x("\\Lrarr","\\Leftrightarrow");x("\\Mu","\\mathrm{M}");x("\\natnums","\\mathbb{N}");x("\\Nu","\\mathrm{N}");x("\\Omicron","\\mathrm{O}");x("\\plusmn","\\pm");x("\\rarr","\\rightarrow");x("\\rArr","\\Rightarrow");x("\\Rarr","\\Rightarrow");x("\\real","\\Re");x("\\reals","\\mathbb{R}");x("\\Reals","\\mathbb{R}");x("\\Rho","\\mathrm{P}");x("\\sdot","\\cdot");x("\\sect","\\S");x("\\spades","\\spadesuit");x("\\sub","\\subset");x("\\sube","\\subseteq");x("\\supe","\\supseteq");x("\\Tau","\\mathrm{T}");x("\\thetasym","\\vartheta");x("\\weierp","\\wp");x("\\Zeta","\\mathrm{Z}");x("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");x("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");x("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");x("\\bra","\\mathinner{\\langle{#1}|}");x("\\ket","\\mathinner{|{#1}\\rangle}");x("\\braket","\\mathinner{\\langle{#1}\\rangle}");x("\\Bra","\\left\\langle#1\\right|");x("\\Ket","\\left|#1\\right\\rangle");var I1=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,u=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=f=>p=>{e&&(p.macros.set("|",u),i.length&&p.macros.set("\\|",s));var m=f;if(!f&&i.length){var y=p.future();y.text==="|"&&(p.popToken(),m=!0)}return{tokens:m?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var o=t.consumeArg().tokens,c=t.expandTokens([...a,...o,...n]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};x("\\bra@ket",I1(!1));x("\\bra@set",I1(!0));x("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");x("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");x("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");x("\\angln","{\\angl n}");x("\\blue","\\textcolor{##6495ed}{#1}");x("\\orange","\\textcolor{##ffa500}{#1}");x("\\pink","\\textcolor{##ff00af}{#1}");x("\\red","\\textcolor{##df0030}{#1}");x("\\green","\\textcolor{##28ae7b}{#1}");x("\\gray","\\textcolor{gray}{#1}");x("\\purple","\\textcolor{##9d38bd}{#1}");x("\\blueA","\\textcolor{##ccfaff}{#1}");x("\\blueB","\\textcolor{##80f6ff}{#1}");x("\\blueC","\\textcolor{##63d9ea}{#1}");x("\\blueD","\\textcolor{##11accd}{#1}");x("\\blueE","\\textcolor{##0c7f99}{#1}");x("\\tealA","\\textcolor{##94fff5}{#1}");x("\\tealB","\\textcolor{##26edd5}{#1}");x("\\tealC","\\textcolor{##01d1c1}{#1}");x("\\tealD","\\textcolor{##01a995}{#1}");x("\\tealE","\\textcolor{##208170}{#1}");x("\\greenA","\\textcolor{##b6ffb0}{#1}");x("\\greenB","\\textcolor{##8af281}{#1}");x("\\greenC","\\textcolor{##74cf70}{#1}");x("\\greenD","\\textcolor{##1fab54}{#1}");x("\\greenE","\\textcolor{##0d923f}{#1}");x("\\goldA","\\textcolor{##ffd0a9}{#1}");x("\\goldB","\\textcolor{##ffbb71}{#1}");x("\\goldC","\\textcolor{##ff9c39}{#1}");x("\\goldD","\\textcolor{##e07d10}{#1}");x("\\goldE","\\textcolor{##a75a05}{#1}");x("\\redA","\\textcolor{##fca9a9}{#1}");x("\\redB","\\textcolor{##ff8482}{#1}");x("\\redC","\\textcolor{##f9685d}{#1}");x("\\redD","\\textcolor{##e84d39}{#1}");x("\\redE","\\textcolor{##bc2612}{#1}");x("\\maroonA","\\textcolor{##ffbde0}{#1}");x("\\maroonB","\\textcolor{##ff92c6}{#1}");x("\\maroonC","\\textcolor{##ed5fa6}{#1}");x("\\maroonD","\\textcolor{##ca337c}{#1}");x("\\maroonE","\\textcolor{##9e034e}{#1}");x("\\purpleA","\\textcolor{##ddd7ff}{#1}");x("\\purpleB","\\textcolor{##c6b9fc}{#1}");x("\\purpleC","\\textcolor{##aa87ff}{#1}");x("\\purpleD","\\textcolor{##7854ab}{#1}");x("\\purpleE","\\textcolor{##543b78}{#1}");x("\\mintA","\\textcolor{##f5f9e8}{#1}");x("\\mintB","\\textcolor{##edf2df}{#1}");x("\\mintC","\\textcolor{##e0e5cc}{#1}");x("\\grayA","\\textcolor{##f6f7f7}{#1}");x("\\grayB","\\textcolor{##f0f1f2}{#1}");x("\\grayC","\\textcolor{##e3e5e6}{#1}");x("\\grayD","\\textcolor{##d6d8da}{#1}");x("\\grayE","\\textcolor{##babec2}{#1}");x("\\grayF","\\textcolor{##888d93}{#1}");x("\\grayG","\\textcolor{##626569}{#1}");x("\\grayH","\\textcolor{##3b3e40}{#1}");x("\\grayI","\\textcolor{##21242c}{#1}");x("\\kaBlue","\\textcolor{##314453}{#1}");x("\\kaGreen","\\textcolor{##71B307}{#1}");var _1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class R5{constructor(t,n,r){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=n,this.expansionCount=0,this.feed(t),this.macros=new O5(M5,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new ol(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 n,r,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new Tt("EOF",r.loc)),this.pushTokens(i),new Tt("",ht.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,u=0,s=0;do{if(a=this.popToken(),n.push(a),a.text==="{")++u;else if(a.text==="}"){if(--u,u===-1)throw new Z("Extra }",a)}else if(a.text==="EOF")throw new Z("Unexpected end of input in a macro argument, expected '"+(t&&r?t[s]:"}")+"'",a);if(t&&r)if((u===0||u===1&&t[s]==="{")&&a.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(u!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Z("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;i<r.length;i++){var a=this.popToken();if(r[i]!==a.text)throw new Z("Use of the macro doesn't match its definition",a)}}for(var u=[],s=0;s<t;s++)u.push(this.consumeArg(n&&n[s+1]).tokens);return u}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new Z("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||t&&i.unexpandable){if(t&&i==null&&r[0]==="\\"&&!this.isDefined(r))throw new Z("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var a=i.tokens,u=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var l=a[s];if(l.text==="#"){if(s===0)throw new Z("Incomplete placeholder at end of macro body",l);if(l=a[--s],l.text==="#")a.splice(s+1,1);else if(/^[1-9]$/.test(l.text))a.splice(s,2,...u[+l.text-1]);else throw new Z("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 Tt(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var u=i.replace(/##/g,"");u.indexOf("#"+(a+1))!==-1;)++a;for(var s=new ol(i,this.settings),l=[],o=s.lex();o.text!=="EOF";)l.push(o),o=s.lex();l.reverse();var c={tokens:l,numArgs:a};return c}return i}isDefined(t){return this.macros.has(t)||En.hasOwnProperty(t)||Oe.math.hasOwnProperty(t)||Oe.text.hasOwnProperty(t)||_1.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:En.hasOwnProperty(t)&&!En[t].primitive}}var fl=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,si=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),La={"́":{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"}},ml={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let N1=class D1{constructor(t,n){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 R5(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Z("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&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 n=this.nextToken;this.consume(),this.gullet.pushToken(new Tt("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(D1.endOfExpression.indexOf(i.text)!==-1||n&&i.text===n||t&&En[i.text]&&En[i.text].infix)break;var a=this.parseAtom(n);if(a){if(a.type==="internal")continue}else break;r.push(a)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i<t.length;i++)if(t[i].type==="infix"){if(n!==-1)throw new Z("only one infix operator per group",t[i].token);n=i,r=t[i].replaceWith}if(n!==-1&&r){var a,u,s=t.slice(0,n),l=t.slice(n+1);s.length===1&&s[0].type==="ordgroup"?a=s[0]:a={type:"ordgroup",mode:this.mode,body:s},l.length===1&&l[0].type==="ordgroup"?u=l[0]:u={type:"ordgroup",mode:this.mode,body:l};var o;return r==="\\\\abovefrac"?o=this.callFunction(r,[a,t[n],u],[]):o=this.callFunction(r,[a,u],[]),[o]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.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 Z("Expected group after '"+r+"'",n);return i}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var i={type:"text",mode:this.mode,body:n},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var n=this.parseGroup("atom",t);if((n==null?void 0:n.type)==="internal"||this.mode==="text")return n;for(var r,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(n&&n.type==="op"){var u=a.text==="\\limits";n.limits=u,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=a.text==="\\limits");else throw new Z("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(r)throw new Z("Double superscript",a);r=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new Z("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(r)throw new Z("Double superscript",a);var s={type:"textord",mode:this.mode,text:"\\prime"},l=[s];for(this.consume();this.fetch().text==="'";)l.push(s),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:l}}else if(si[a.text]){var o=fl.test(a.text),c=[];for(c.push(new Tt(si[a.text])),this.consume();;){var f=this.fetch().text;if(!si[f]||fl.test(f)!==o)break;c.unshift(new Tt(si[f])),this.consume()}var p=this.subparse(c);o?i={type:"ordgroup",mode:"math",body:p}:r={type:"ordgroup",mode:"math",body:p}}else break}return r||i?{type:"supsub",mode:this.mode,base:n,sup:r,sub:i}:n}parseFunction(t,n){var r=this.fetch(),i=r.text,a=En[i];if(!a)return null;if(this.consume(),n&&n!=="atom"&&!a.allowedInArgument)throw new Z("Got function '"+i+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!a.allowedInText)throw new Z("Can't use function '"+i+"' in text mode",r);if(this.mode==="math"&&a.allowedInMath===!1)throw new Z("Can't use function '"+i+"' in math mode",r);var{args:u,optArgs:s}=this.parseArguments(i,a);return this.callFunction(i,u,s,r,t)}callFunction(t,n,r,i,a){var u={funcName:t,parser:this,token:i,breakOnTokenText:a},s=En[t];if(s&&s.handler)return s.handler(u,n,r);throw new Z("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var i=[],a=[],u=0;u<r;u++){var s=n.argTypes&&n.argTypes[u],l=u<n.numOptionalArgs;(n.primitive&&s==null||n.type==="sqrt"&&u===1&&a[0]==null)&&(s="primitive");var o=this.parseGroupOfType("argument to '"+t+"'",s,l);if(l)a.push(o);else if(o!=null)i.push(o);else throw new Z("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var i=this.parseArgumentGroup(r,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",r);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(r)throw new Z("A primitive argument cannot be optional");var u=this.parseGroup(t);if(u==null)throw new Z("Expected group as "+t,this.fetch());return u}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new Z("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),r.text=i,r}parseRegexGroup(t,n){for(var r=this.fetch(),i=r,a="",u;(u=this.fetch()).text!=="EOF"&&t.test(a+u.text);)i=u,a+=i.text,this.consume();if(a==="")throw new Z("Invalid "+n+": '"+r.text+"'",r);return r.range(i,a)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new Z("Invalid color: '"+n.text+"'",n);var i=r[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var n,r=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",r=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!i)throw new Z("Invalid size: '"+n.text+"'",n);var a={number:+(i[1]+i[2]),unit:i[3]};if(!zc(a))throw new Z("Invalid unit: '"+a.unit+"'",n);return{type:"size",mode:this.mode,value:a,isBlank:r}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var i=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var u={type:"ordgroup",mode:this.mode,loc:r.loc,body:a};return n&&this.switchMode(i),u}parseGroup(t,n){var r=this.fetch(),i=r.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var u=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,u),l=this.fetch();this.expect(u),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:ht.range(r,l),body:s,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(n,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!_1.hasOwnProperty(i)){if(this.settings.throwOnError)throw new Z("Undefined control sequence: "+i,r);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var i=t[r],a=i.text;a==="-"&&t[r+1].text==="-"&&(r+1<n&&t[r+2].text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:ht.range(i,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:ht.range(i,t[r+1]),text:"--"}),n-=1)),(a==="'"||a==="`")&&t[r+1].text===a&&(t.splice(r,2,{type:"textord",mode:"text",loc:ht.range(i,t[r+1]),text:a+a}),n-=1)}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),i=r.charAt(0)==="*";if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new Z(`\\verb assertion failed --
293
- please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:i}}ml.hasOwnProperty(n[0])&&!Oe[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=ml[n[0]]+n.slice(1));var a=D5.exec(n);a&&(n=n.substring(0,a.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var u;if(Oe[this.mode][n]){this.settings.strict&&this.mode==="math"&&x0.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var s=Oe[this.mode][n].group,l=ht.range(t),o;if(A6.hasOwnProperty(s)){var c=s;o={type:"atom",mode:this.mode,family:c,loc:l,text:n}}else o={type:s,mode:this.mode,loc:l,text:n};u=o}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Bc(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),u={type:"textord",mode:"text",loc:ht.range(t),text:n};else return null;if(this.consume(),a)for(var f=0;f<a[0].length;f++){var p=a[0][f];if(!La[p])throw new Z("Unknown accent ' "+p+"'",t);var m=La[p][this.mode]||La[p].text;if(!m)throw new Z("Accent "+p+" unsupported in "+this.mode+" mode",t);u={type:"accent",mode:this.mode,loc:ht.range(t),label:m,isStretchy:!1,isShifty:!0,base:u}}return u}};N1.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var xu=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new N1(t,n);delete r.gullet.macros.current["\\df@tag"];var i=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new Z("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:r.subparse([new Tt("\\df@tag")])}]}return i},yu=function(t,n,r){n.textContent="";var i=$i(t,r).toNode();n.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."),yu=function(){throw new Z("KaTeX doesn't work in quirks mode.")});var L1=function(t,n){var r=$i(t,n).toMarkup();return r},O1=function(t,n){var r=new nu(n);return xu(t,r)},M1=function(t,n,r){if(r.throwOnError||!(t instanceof Z))throw t;var i=B.makeSpan(["katex-error"],[new St(n)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+r.errorColor),i},$i=function(t,n){var r=new nu(n);try{var i=xu(t,r);return G6(i,t,r)}catch(a){return M1(a,t,r)}},R1=function(t,n){var r=new nu(n);try{var i=xu(t,r);return j6(i,t,r)}catch(a){return M1(a,t,r)}},P1="0.16.28",B1={Span:Ur,Anchor:au,SymbolNode:St,SvgNode:an,PathNode:yn,LineNode:T0},w0={version:P1,render:yu,renderToString:L1,ParseError:Z,SETTINGS_SCHEMA:yr,__parse:O1,__renderToDomTree:$i,__renderToHTMLTree:R1,__setFontMetrics:Fc,__defineSymbol:d,__defineFunction:ie,__defineMacro:x,__domTree:B1};const jE=Object.freeze(Object.defineProperty({__proto__:null,ParseError:Z,SETTINGS_SCHEMA:yr,__defineFunction:ie,__defineMacro:x,__defineSymbol:d,__domTree:B1,__parse:O1,__renderToDomTree:$i,__renderToHTMLTree:R1,__setFontMetrics:Fc,default:w0,get render(){return yu},renderToString:L1,version:P1},Symbol.toStringTag,{value:"Module"})),P5={};function WE(e){const t=this,n=e||P5,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(q3(n)),a.push(M3()),u.push(R3(n))}const dl=/[#.]/g;function B5(e,t){const n=e||"",r={};let i=0,a,u;for(;i<n.length;){dl.lastIndex=i;const s=dl.exec(n),l=n.slice(i,s?s.index:n.length);l&&(a?a==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:u=l,i+=l.length),s&&(a=s[0],i++)}return{type:"element",tagName:u||t||"div",properties:r,children:[]}}function F1(e,t,n){const r=n?U5(n):void 0;function i(a,u,...s){let l;if(a==null){l={type:"root",children:[]};const o=u;s.unshift(o)}else{l=B5(a,t);const o=l.tagName.toLowerCase(),c=r?r.get(o):void 0;if(l.tagName=c||o,F5(u))s.unshift(u);else for(const[f,p]of Object.entries(u))z5(e,l.properties,f,p)}for(const o of s)C0(l.children,o);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return i}function F5(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const u of a)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function z5(e,t,n,r){const i=Br(e,n);let a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=Ti(r):i.commaSeparated?a=Ei(r):i.commaOrSpaceSeparated?a=Ti(Ei(r).join(" ")):a=pl(i,i.property,r):Array.isArray(r)?a=[...r]:a=i.property==="style"?H5(r):String(r);if(Array.isArray(a)){const u=[];for(const s of a)u.push(pl(i,i.property,s));a=u}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function C0(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)C0(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?C0(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function pl(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Mn(n)===Mn(t)))return!0}return n}function H5(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function U5(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const q5=["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"],$5=F1(er,"div"),Y5=F1(ln,"g",q5),Ht={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function V5(e,t){return z1(e,{})||{type:"root",children:[]}}function z1(e,t){const n=G5(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function G5(e,t){switch(e.nodeType){case 1:return Q5(e,t);case 3:return W5(e);case 8:return X5(e);case 9:return gl(e,t);case 10:return j5();case 11:return gl(e,t);default:return}}function gl(e,t){return{type:"root",children:H1(e,t)}}function j5(){return{type:"doctype"}}function W5(e){return{type:"text",value:e.nodeValue||""}}function X5(e){return{type:"comment",value:e.nodeValue||""}}function Q5(e,t){const n=e.namespaceURI,r=n===Ht.svg?Y5:$5,i=n===Ht.html?e.tagName.toLowerCase():e.tagName,a=n===Ht.html&&i==="template"?e.content:e,u=e.getAttributeNames(),s={};let l=-1;for(;++l<u.length;)s[u[l]]=e.getAttribute(u[l])||"";return r(i,s,H1(a,t))}function H1(e,t){const n=e.childNodes,r=[];let i=-1;for(;++i<n.length;){const a=z1(n[i],t);a!==void 0&&r.push(a)}return r}new DOMParser;function K5(e,t){const n=Z5(e);return V5(n)}function Z5(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const bl=(function(e,t,n){const r=Fr(n);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(r(e.children[t],t,e))return e.children[t]}),Bn=(function(e){if(e==null)return t7;if(typeof e=="string")return e7(e);if(typeof e=="object")return J5(e);if(typeof e=="function")return ku(e);throw new Error("Expected function, string, or array as `test`")});function J5(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Bn(e[n]);return ku(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function e7(e){return ku(t);function t(n){return n.tagName===e}}function ku(e){return t;function t(n,r,i){return!!(n7(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function t7(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function n7(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const El=/\n/g,Tl=/[\t ]+/g,I0=Bn("br"),xl=Bn(c7),r7=Bn("p"),yl=Bn("tr"),i7=Bn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",o7,h7]),U1=Bn(["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 a7(e,t){const n=t||{},r="children"in e?e.children:[],i=U1(e),a=Y1(e,{whitespace:n.whitespace||"normal"}),u=[];(e.type==="text"||e.type==="comment")&&u.push(...$1(e,{breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)u.push(...q1(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?I0(r[s+1]):i}));const l=[];let o;for(s=-1;++s<u.length;){const c=u[s];typeof c=="number"?o!==void 0&&c>o&&(o=c):c&&(o!==void 0&&o>-1&&l.push(`
294
- `.repeat(o)||" "),o=-1,l.push(c))}return l.join("")}function q1(e,t,n){return e.type==="element"?u7(e,t,n):e.type==="text"?n.whitespace==="normal"?$1(e,n):s7(e):[]}function u7(e,t,n){const r=Y1(e,n),i=e.children||[];let a=-1,u=[];if(i7(e))return u;let s,l;for(I0(e)||yl(e)&&bl(t,e,yl)?l=`
295
- `:r7(e)?(s=2,l=2):U1(e)&&(s=1,l=1);++a<i.length;)u=u.concat(q1(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?I0(i[a+1]):l}));return xl(e)&&bl(t,e,xl)&&u.push(" "),s&&u.unshift(s),l&&u.push(l),u}function $1(e,t){const n=String(e.value),r=[],i=[];let a=0;for(;a<=n.length;){El.lastIndex=a;const l=El.exec(n),o=l&&"index"in l?l.index:n.length;r.push(l7(n.slice(a,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,o===n.length?t.breakAfter:!0)),a=o+1}let u=-1,s;for(;++u<r.length;)r[u].charCodeAt(r[u].length-1)===8203||u<r.length-1&&r[u+1].charCodeAt(0)===8203?(i.push(r[u]),s=void 0):r[u]?(typeof s=="number"&&i.push(s),i.push(r[u]),s=0):(u===0||u===r.length-1)&&i.push(0);return i}function s7(e){return[String(e.value)]}function l7(e,t,n){const r=[];let i=0,a;for(;i<e.length;){Tl.lastIndex=i;const u=Tl.exec(e);a=u?u.index:e.length,!i&&!a&&u&&!t&&r.push(""),i!==a&&r.push(e.slice(i,a)),i=u?a+u[0].length:a}return i!==a&&!n&&r.push(""),r.join(" ")}function Y1(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function o7(e){return!!(e.properties||{}).hidden}function c7(e){return e.tagName==="td"||e.tagName==="th"}function h7(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const f7={},m7=[];function XE(e){const t=e||f7;return function(n,r){W0(n,"element",function(i,a){const u=Array.isArray(i.properties.className)?i.properties.className:m7,s=u.includes("language-math"),l=u.includes("math-display"),o=u.includes("math-inline");let c=l;if(!s&&!l&&!o)return;let f=a[a.length-1],p=i;if(i.tagName==="code"&&s&&f&&f.type==="element"&&f.tagName==="pre"&&(p=f,f=a[a.length-2],c=!0),!f)return;const m=a7(p,{whitespace:"pre"});let y;try{y=w0.renderToString(m,{...t,displayMode:c,throwOnError:!0})}catch(N){const k=N,D=k.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:k,place:i.position,ruleId:D,source:"rehype-katex"});try{y=w0.renderToString(m,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{y=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(N)},children:[{type:"text",value:m}]}]}}typeof y=="string"&&(y=K5(y).children);const v=f.children.indexOf(p);return f.children.splice(v,1,...y),nc})}}var Oa,kl;function d7(){if(kl)return Oa;kl=1,Oa=t;var e=Object.prototype.hasOwnProperty;function t(){for(var n={},r=0;r<arguments.length;r++){var i=arguments[r];for(var a in i)e.call(i,a)&&(n[a]=i[a])}return n}return Oa}var Ma,Al;function V1(){if(Al)return Ma;Al=1,Ma=t;var e=t.prototype;e.space=null,e.normal={},e.property={};function t(n,r,i){this.property=n,this.normal=r,i&&(this.space=i)}return Ma}var Ra,vl;function p7(){if(vl)return Ra;vl=1;var e=d7(),t=V1();Ra=n;function n(r){for(var i=r.length,a=[],u=[],s=-1,l,o;++s<i;)l=r[s],a.push(l.property),u.push(l.normal),o=l.space;return new t(e.apply(null,a),e.apply(null,u),o)}return Ra}var Pa,Sl;function Au(){if(Sl)return Pa;Sl=1,Pa=e;function e(t){return t.toLowerCase()}return Pa}var Ba,wl;function G1(){if(wl)return Ba;wl=1,Ba=t;var e=t.prototype;e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1;function t(n,r){this.property=n,this.attribute=r}return Ba}var Jt={},Cl;function vu(){if(Cl)return Jt;Cl=1;var e=0;Jt.boolean=t(),Jt.booleanish=t(),Jt.overloadedBoolean=t(),Jt.number=t(),Jt.spaceSeparated=t(),Jt.commaSeparated=t(),Jt.commaOrSpaceSeparated=t();function t(){return Math.pow(2,++e)}return Jt}var Fa,Il;function j1(){if(Il)return Fa;Il=1;var e=G1(),t=vu();Fa=i,i.prototype=new e,i.prototype.defined=!0;var n=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],r=n.length;function i(u,s,l,o){var c=-1,f;for(a(this,"space",o),e.call(this,u,s);++c<r;)f=n[c],a(this,f,(l&t[f])===t[f])}function a(u,s,l){l&&(u[s]=l)}return Fa}var za,_l;function $r(){if(_l)return za;_l=1;var e=Au(),t=V1(),n=j1();za=r;function r(i){var a=i.space,u=i.mustUseProperty||[],s=i.attributes||{},l=i.properties,o=i.transform,c={},f={},p,m;for(p in l)m=new n(p,o(s,p),l[p],a),u.indexOf(p)!==-1&&(m.mustUseProperty=!0),c[p]=m,f[e(p)]=p,f[e(m.attribute)]=p;return new t(c,f,a)}return za}var Ha,Nl;function g7(){if(Nl)return Ha;Nl=1;var e=$r();Ha=e({space:"xlink",transform:t,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function t(n,r){return"xlink:"+r.slice(5).toLowerCase()}return Ha}var Ua,Dl;function b7(){if(Dl)return Ua;Dl=1;var e=$r();Ua=e({space:"xml",transform:t,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function t(n,r){return"xml:"+r.slice(3).toLowerCase()}return Ua}var qa,Ll;function E7(){if(Ll)return qa;Ll=1,qa=e;function e(t,n){return n in t?t[n]:n}return qa}var $a,Ol;function W1(){if(Ol)return $a;Ol=1;var e=E7();$a=t;function t(n,r){return e(n,r.toLowerCase())}return $a}var Ya,Ml;function T7(){if(Ml)return Ya;Ml=1;var e=$r(),t=W1();return Ya=e({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:t,properties:{xmlns:null,xmlnsXLink:null}}),Ya}var Va,Rl;function x7(){if(Rl)return Va;Rl=1;var e=vu(),t=$r(),n=e.booleanish,r=e.number,i=e.spaceSeparated;Va=t({transform:a,properties:{ariaActiveDescendant:null,ariaAtomic:n,ariaAutoComplete:null,ariaBusy:n,ariaChecked:n,ariaColCount:r,ariaColIndex:r,ariaColSpan:r,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:n,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:n,ariaFlowTo:i,ariaGrabbed:n,ariaHasPopup:null,ariaHidden:n,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:r,ariaLive:null,ariaModal:n,ariaMultiLine:n,ariaMultiSelectable:n,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:r,ariaPressed:n,ariaReadOnly:n,ariaRelevant:null,ariaRequired:n,ariaRoleDescription:i,ariaRowCount:r,ariaRowIndex:r,ariaRowSpan:r,ariaSelected:n,ariaSetSize:r,ariaSort:null,ariaValueMax:r,ariaValueMin:r,ariaValueNow:r,ariaValueText:null,role:null}});function a(u,s){return s==="role"?s:"aria-"+s.slice(4).toLowerCase()}return Va}var Ga,Pl;function y7(){if(Pl)return Ga;Pl=1;var e=vu(),t=$r(),n=W1(),r=e.boolean,i=e.overloadedBoolean,a=e.booleanish,u=e.number,s=e.spaceSeparated,l=e.commaSeparated;return Ga=t({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:n,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l,acceptCharset:s,accessKey:s,action:null,allow:null,allowFullScreen:r,allowPaymentRequest:r,allowUserMedia:r,alt:null,as:null,async:r,autoCapitalize:null,autoComplete:s,autoFocus:r,autoPlay:r,capture:r,charSet:null,checked:r,cite:null,className:s,cols:u,colSpan:null,content:null,contentEditable:a,controls:r,controlsList:s,coords:u|l,crossOrigin:null,data:null,dateTime:null,decoding:null,default:r,defer:r,dir:null,dirName:null,disabled:r,download:i,draggable:a,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:r,formTarget:null,headers:s,height:u,hidden:r,high:u,href:null,hrefLang:null,htmlFor:s,httpEquiv:s,id:null,imageSizes:null,imageSrcSet:l,inputMode:null,integrity:null,is:null,isMap:r,itemId:null,itemProp:s,itemRef:s,itemScope:r,itemType:s,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:r,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:r,muted:r,name:null,nonce:null,noModule:r,noValidate:r,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu: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,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:r,optimum:u,pattern:null,ping:s,placeholder:null,playsInline:r,poster:null,preload:null,readOnly:r,referrerPolicy:null,rel:s,required:r,reversed:r,rows:u,rowSpan:u,sandbox:s,scope:null,scoped:r,seamless:r,selected:r,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:a,src:null,srcDoc:null,srcLang:null,srcSet:l,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:r,useMap:null,value:a,width:u,wrap:null,align:null,aLink:null,archive:s,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:r,declare:r,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:r,noHref:r,noShade:r,noWrap:r,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:a,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:r,disableRemotePlayback:r,prefix:null,property:null,results:u,security:null,unselectable:null}}),Ga}var ja,Bl;function k7(){if(Bl)return ja;Bl=1;var e=p7(),t=g7(),n=b7(),r=T7(),i=x7(),a=y7();return ja=e([n,t,r,i,a]),ja}var Wa,Fl;function A7(){if(Fl)return Wa;Fl=1;var e=Au(),t=j1(),n=G1(),r="data";Wa=s;var i=/^data[-\w.:]+$/i,a=/-[a-z]/g,u=/[A-Z]/g;function s(p,m){var y=e(m),v=m,N=n;return y in p.normal?p.property[p.normal[y]]:(y.length>4&&y.slice(0,4)===r&&i.test(m)&&(m.charAt(4)==="-"?v=l(m):m=o(m),N=t),new N(v,m))}function l(p){var m=p.slice(5).replace(a,f);return r+m.charAt(0).toUpperCase()+m.slice(1)}function o(p){var m=p.slice(4);return a.test(m)?p:(m=m.replace(u,c),m.charAt(0)!=="-"&&(m="-"+m),r+m)}function c(p){return"-"+p.toLowerCase()}function f(p){return p.charAt(1).toUpperCase()}return Wa}var Xa,zl;function v7(){if(zl)return Xa;zl=1,Xa=t;var e=/[#.]/g;function t(n,r){for(var i=n||"",a=r||"div",u={},s=0,l,o,c;s<i.length;)e.lastIndex=s,c=e.exec(i),l=i.slice(s,c?c.index:i.length),l&&(o?o==="#"?u.id=l:u.className?u.className.push(l):u.className=[l]:a=l,s+=l.length),c&&(o=c[0],s++);return{type:"element",tagName:a,properties:u,children:[]}}return Xa}var li={},Hl;function S7(){if(Hl)return li;Hl=1,li.parse=r,li.stringify=i;var e="",t=" ",n=/[ \t\n\r\f]+/g;function r(a){var u=String(a||e).trim();return u===e?[]:u.split(n)}function i(a){return a.join(t).trim()}return li}var oi={},Ul;function w7(){if(Ul)return oi;Ul=1,oi.parse=r,oi.stringify=i;var e=",",t=" ",n="";function r(a){for(var u=[],s=String(a||n),l=s.indexOf(e),o=0,c=!1,f;!c;)l===-1&&(l=s.length,c=!0),f=s.slice(o,l).trim(),(f||!c)&&u.push(f),o=l+1,l=s.indexOf(e,o);return u}function i(a,u){var s=u||{},l=s.padLeft===!1?n:t,o=s.padRight?t:n;return a[a.length-1]===n&&(a=a.concat(n)),a.join(o+e+l).trim()}return oi}var Qa,ql;function C7(){if(ql)return Qa;ql=1;var e=A7(),t=Au(),n=v7(),r=S7().parse,i=w7().parse;Qa=u;var a={}.hasOwnProperty;function u(y,v,N){var k=N?m(N):null;return D;function D(j,$){var w=n(j,v),V=Array.prototype.slice.call(arguments,2),ee=w.tagName.toLowerCase(),G;if(w.tagName=k&&a.call(k,ee)?k[ee]:ee,$&&s($,w)&&(V.unshift($),$=null),$)for(G in $)O(w.properties,G,$[G]);return o(w.children,V),w.tagName==="template"&&(w.content={type:"root",children:w.children},w.children=[]),w}function O(j,$,w){var V,ee,G;w==null||w!==w||(V=e(y,$),ee=V.property,G=w,typeof G=="string"&&(V.spaceSeparated?G=r(G):V.commaSeparated?G=i(G):V.commaOrSpaceSeparated&&(G=r(i(G).join(" ")))),ee==="style"&&typeof w!="string"&&(G=p(G)),ee==="className"&&j.className&&(G=j.className.concat(G)),j[ee]=c(V,ee,G))}}function s(y,v){return typeof y=="string"||"length"in y||l(v.tagName,y)}function l(y,v){var N=v.type;return y==="input"||!N||typeof N!="string"?!1:typeof v.children=="object"&&"length"in v.children?!0:(N=N.toLowerCase(),y==="button"?N!=="menu"&&N!=="submit"&&N!=="reset"&&N!=="button":"value"in v)}function o(y,v){var N,k;if(typeof v=="string"||typeof v=="number"){y.push({type:"text",value:String(v)});return}if(typeof v=="object"&&"length"in v){for(N=-1,k=v.length;++N<k;)o(y,v[N]);return}if(typeof v!="object"||!("type"in v))throw new Error("Expected node, nodes, or string, got `"+v+"`");y.push(v)}function c(y,v,N){var k,D,O;if(typeof N!="object"||!("length"in N))return f(y,v,N);for(D=N.length,k=-1,O=[];++k<D;)O[k]=f(y,v,N[k]);return O}function f(y,v,N){var k=N;return y.number||y.positiveNumber?!isNaN(k)&&k!==""&&(k=Number(k)):(y.boolean||y.overloadedBoolean)&&typeof k=="string"&&(k===""||t(N)===t(v))&&(k=!0),k}function p(y){var v=[],N;for(N in y)v.push([N,y[N]].join(": "));return v.join("; ")}function m(y){for(var v=y.length,N=-1,k={},D;++N<v;)D=y[N],k[D.toLowerCase()]=D;return k}return Qa}var Ka,$l;function I7(){if($l)return Ka;$l=1;var e=k7(),t=C7(),n=t(e,"div");return n.displayName="html",Ka=n,Ka}var Za,Yl;function QE(){return Yl||(Yl=1,Za=I7()),Za}const Vl=/[#.]/g;function _7(e,t){const n=e||"",r={};let i=0,a,u;for(;i<n.length;){Vl.lastIndex=i;const s=Vl.exec(n),l=n.slice(i,s?s.index:n.length);l&&(a?a==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:u=l,i+=l.length),s&&(a=s[0],i++)}return{type:"element",tagName:u||t||"div",properties:r,children:[]}}function X1(e,t,n){const r=n?O7(n):void 0;function i(a,u,...s){let l;if(a==null){l={type:"root",children:[]};const o=u;s.unshift(o)}else{l=_7(a,t);const o=l.tagName.toLowerCase(),c=r?r.get(o):void 0;if(l.tagName=c||o,N7(u))s.unshift(u);else for(const[f,p]of Object.entries(u))D7(e,l.properties,f,p)}for(const o of s)_0(l.children,o);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return i}function N7(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const u of a)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function D7(e,t,n,r){const i=Br(e,n);let a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=Ti(r):i.commaSeparated?a=Ei(r):i.commaOrSpaceSeparated?a=Ti(Ei(r).join(" ")):a=Gl(i,i.property,r):Array.isArray(r)?a=[...r]:a=i.property==="style"?L7(r):String(r);if(Array.isArray(a)){const u=[];for(const s of a)u.push(Gl(i,i.property,s));a=u}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function _0(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)_0(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?_0(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Gl(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Mn(n)===Mn(t)))return!0}return n}function L7(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function O7(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const M7=["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"],R7=X1(er,"div"),P7=X1(ln,"g",M7);function B7(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let u=0;for(;;){let s=n[u];if(s===void 0){const l=jl(t,n[u-1]);s=l===-1?t.length+1:l+1,n[u]=s}if(s>a)return{line:u+1,column:a-(u>0?n[u-1]:0)+1,offset:a};u++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const s=n[n.length-1],l=jl(t,s),o=l===-1?t.length+1:l+1;if(s===o)break;n.push(o)}const u=(a.line>1?n[a.line-2]:0)+a.column-1;if(u<n[a.line-1])return u}}}function jl(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
296
- `,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Q1={}.hasOwnProperty,F7=Object.prototype;function z7(e,t){const n=t||{};return Su({file:n.file||void 0,location:!1,schema:n.space==="svg"?ln:er,verbose:n.verbose||!1},e)}function Su(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},di(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:K1(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),u=B7(a),s=u.toPoint(0),l=u.toPoint(a.length);n.position={start:s,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},di(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},di(e,r,n),n}default:return n=H7(e,t),n}}function K1(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=Su(e,t[n]);r.push(i)}return r}function H7(e,t){const n=e.schema;e.schema=t.namespaceURI===Ht.svg?ln:er;let r=-1;const i={};for(;++r<t.attrs.length;){const s=t.attrs[r],l=(s.prefix?s.prefix+":":"")+s.name;Q1.call(F7,l)||(i[l]=s.value)}const u=(e.schema.space==="svg"?P7:R7)(t.tagName,i,K1(e,t.childNodes));if(di(e,t,u),u.tagName==="template"){const s=t,l=s.sourceCodeLocation,o=l&&l.startTag&&Yn(l.startTag),c=l&&l.endTag&&Yn(l.endTag),f=Su(e,s.content);o&&c&&e.file&&(f.position={start:o.end,end:c.start}),u.content=f}return e.schema=n,u}function di(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=U7(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function U7(e,t,n){const r=Yn(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let u;if(n.attrs)for(u in n.attrs)Q1.call(n.attrs,u)&&(a[Br(e.schema,u).property]=Yn(n.attrs[u]));n.startTag;const s=Yn(n.startTag),l=n.endTag?Yn(n.endTag):void 0,o={opening:s};l&&(o.closing=l),o.properties=a,t.data={position:o}}}return r}function Yn(e){const t=Wl({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Wl({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Wl(e){return e.line&&e.column?e:void 0}const q7={},$7={}.hasOwnProperty,Z1=cc("type",{handlers:{root:V7,element:Q7,text:W7,comment:X7,doctype:j7}});function Y7(e,t){const r=(t||q7).space;return Z1(e,r==="svg"?ln:er)}function V7(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=wu(e.children,n,t),ar(e,n),n}function G7(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=wu(e.children,n,t),ar(e,n),n}function j7(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ar(e,t),t}function W7(e){const t={nodeName:"#text",value:e.value,parentNode:null};return ar(e,t),t}function X7(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return ar(e,t),t}function Q7(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=ln);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&$7.call(e.properties,a)){const l=K7(r,a,e.properties[a]);l&&i.push(l)}}const u=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Ht[u],childNodes:[],parentNode:null};return s.childNodes=wu(e.children,s,r),ar(e,s),e.tagName==="template"&&e.content&&(s.content=G7(e.content,r)),s}function K7(e,t,n){const r=Br(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Ao(n):Do(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=r.attribute.slice(0,a)),i.namespace=Ht[r.space]}return i}function wu(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const a=Z1(e[r],n);a.parentNode=t,i.push(a)}return i}function ar(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Z7=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],J7=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]),Re="�";var A;(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"})(A||(A={}));const st={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function J1(e){return e>=55296&&e<=57343}function e8(e){return e>=56320&&e<=57343}function t8(e,t){return(e-55296)*1024+9216+t}function eh(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function th(e){return e>=64976&&e<=65007||J7.has(e)}var z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(z||(z={}));const n8=65536;class r8{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=n8,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:a}=this,u=i+n,s=a+n;return{code:t,startLine:r,endLine:r,startCol:u,endCol:u,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(e8(n))return this.pos++,this._addGap(),t8(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,A.EOF;return this._err(z.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,A.EOF;const r=this.html.charCodeAt(n);return r===A.CARRIAGE_RETURN?A.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,A.EOF;let t=this.html.charCodeAt(this.pos);return t===A.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,A.LINE_FEED):t===A.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,J1(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===A.LINE_FEED||t===A.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){eh(t)?this._err(z.controlCharacterInInputStream):th(t)&&this._err(z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Te;(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"})(Te||(Te={}));function nh(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const i8=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))),a8=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 u8(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=a8.get(e))!==null&&t!==void 0?t:e}var et;(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"})(et||(et={}));const s8=32;var Tn;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Tn||(Tn={}));function N0(e){return e>=et.ZERO&&e<=et.NINE}function l8(e){return e>=et.UPPER_A&&e<=et.UPPER_F||e>=et.LOWER_A&&e<=et.LOWER_F}function o8(e){return e>=et.UPPER_A&&e<=et.UPPER_Z||e>=et.LOWER_A&&e<=et.LOWER_Z||N0(e)}function c8(e){return e===et.EQUALS||o8(e)}var Je;(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"})(Je||(Je={}));var tn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(tn||(tn={}));class h8{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Je.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=tn.Strict}startEntity(t){this.decodeMode=t,this.state=Je.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Je.EntityStart:return t.charCodeAt(n)===et.NUM?(this.state=Je.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Je.NamedEntity,this.stateNamedEntity(t,n));case Je.NumericStart:return this.stateNumericStart(t,n);case Je.NumericDecimal:return this.stateNumericDecimal(t,n);case Je.NumericHex:return this.stateNumericHex(t,n);case Je.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|s8)===et.LOWER_X?(this.state=Je.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Je.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(N0(i)||l8(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(N0(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===et.SEMI)this.consumed+=1;else if(this.decodeMode===tn.Strict)return 0;return this.emitCodePoint(u8(this.result),this.consumed),this.errors&&(t!==et.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&Tn.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const u=t.charCodeAt(n);if(this.treeIndex=f8(r,i,this.treeIndex+Math.max(1,a),u),this.treeIndex<0)return this.result===0||this.decodeMode===tn.Attribute&&(a===0||c8(u))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&Tn.VALUE_LENGTH)>>14,a!==0){if(u===et.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==tn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Tn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Tn.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Je.NamedEntity:return this.result!==0&&(this.decodeMode!==tn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Je.NumericDecimal:return this.emitNumericEntity(0,2);case Je.NumericHex:return this.emitNumericEntity(0,3);case Je.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Je.EntityStart:return 0}}}function f8(e,t,n,r){const i=(t&Tn.BRANCH_LENGTH)>>7,a=t&Tn.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const l=r-a;return l<0||l>=i?-1:e[n+l]-1}let u=n,s=u+i-1;for(;u<=s;){const l=u+s>>>1,o=e[l];if(o<r)u=l+1;else if(o>r)s=l-1;else return e[l+i]}return-1}var X;(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/"})(X||(X={}));var On;(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"})(On||(On={}));var kt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(kt||(kt={}));var R;(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"})(R||(R={}));var h;(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"})(h||(h={}));const m8=new Map([[R.A,h.A],[R.ADDRESS,h.ADDRESS],[R.ANNOTATION_XML,h.ANNOTATION_XML],[R.APPLET,h.APPLET],[R.AREA,h.AREA],[R.ARTICLE,h.ARTICLE],[R.ASIDE,h.ASIDE],[R.B,h.B],[R.BASE,h.BASE],[R.BASEFONT,h.BASEFONT],[R.BGSOUND,h.BGSOUND],[R.BIG,h.BIG],[R.BLOCKQUOTE,h.BLOCKQUOTE],[R.BODY,h.BODY],[R.BR,h.BR],[R.BUTTON,h.BUTTON],[R.CAPTION,h.CAPTION],[R.CENTER,h.CENTER],[R.CODE,h.CODE],[R.COL,h.COL],[R.COLGROUP,h.COLGROUP],[R.DD,h.DD],[R.DESC,h.DESC],[R.DETAILS,h.DETAILS],[R.DIALOG,h.DIALOG],[R.DIR,h.DIR],[R.DIV,h.DIV],[R.DL,h.DL],[R.DT,h.DT],[R.EM,h.EM],[R.EMBED,h.EMBED],[R.FIELDSET,h.FIELDSET],[R.FIGCAPTION,h.FIGCAPTION],[R.FIGURE,h.FIGURE],[R.FONT,h.FONT],[R.FOOTER,h.FOOTER],[R.FOREIGN_OBJECT,h.FOREIGN_OBJECT],[R.FORM,h.FORM],[R.FRAME,h.FRAME],[R.FRAMESET,h.FRAMESET],[R.H1,h.H1],[R.H2,h.H2],[R.H3,h.H3],[R.H4,h.H4],[R.H5,h.H5],[R.H6,h.H6],[R.HEAD,h.HEAD],[R.HEADER,h.HEADER],[R.HGROUP,h.HGROUP],[R.HR,h.HR],[R.HTML,h.HTML],[R.I,h.I],[R.IMG,h.IMG],[R.IMAGE,h.IMAGE],[R.INPUT,h.INPUT],[R.IFRAME,h.IFRAME],[R.KEYGEN,h.KEYGEN],[R.LABEL,h.LABEL],[R.LI,h.LI],[R.LINK,h.LINK],[R.LISTING,h.LISTING],[R.MAIN,h.MAIN],[R.MALIGNMARK,h.MALIGNMARK],[R.MARQUEE,h.MARQUEE],[R.MATH,h.MATH],[R.MENU,h.MENU],[R.META,h.META],[R.MGLYPH,h.MGLYPH],[R.MI,h.MI],[R.MO,h.MO],[R.MN,h.MN],[R.MS,h.MS],[R.MTEXT,h.MTEXT],[R.NAV,h.NAV],[R.NOBR,h.NOBR],[R.NOFRAMES,h.NOFRAMES],[R.NOEMBED,h.NOEMBED],[R.NOSCRIPT,h.NOSCRIPT],[R.OBJECT,h.OBJECT],[R.OL,h.OL],[R.OPTGROUP,h.OPTGROUP],[R.OPTION,h.OPTION],[R.P,h.P],[R.PARAM,h.PARAM],[R.PLAINTEXT,h.PLAINTEXT],[R.PRE,h.PRE],[R.RB,h.RB],[R.RP,h.RP],[R.RT,h.RT],[R.RTC,h.RTC],[R.RUBY,h.RUBY],[R.S,h.S],[R.SCRIPT,h.SCRIPT],[R.SEARCH,h.SEARCH],[R.SECTION,h.SECTION],[R.SELECT,h.SELECT],[R.SOURCE,h.SOURCE],[R.SMALL,h.SMALL],[R.SPAN,h.SPAN],[R.STRIKE,h.STRIKE],[R.STRONG,h.STRONG],[R.STYLE,h.STYLE],[R.SUB,h.SUB],[R.SUMMARY,h.SUMMARY],[R.SUP,h.SUP],[R.TABLE,h.TABLE],[R.TBODY,h.TBODY],[R.TEMPLATE,h.TEMPLATE],[R.TEXTAREA,h.TEXTAREA],[R.TFOOT,h.TFOOT],[R.TD,h.TD],[R.TH,h.TH],[R.THEAD,h.THEAD],[R.TITLE,h.TITLE],[R.TR,h.TR],[R.TRACK,h.TRACK],[R.TT,h.TT],[R.U,h.U],[R.UL,h.UL],[R.SVG,h.SVG],[R.VAR,h.VAR],[R.WBR,h.WBR],[R.XMP,h.XMP]]);function ur(e){var t;return(t=m8.get(e))!==null&&t!==void 0?t:h.UNKNOWN}const Q=h,d8={[X.HTML]:new Set([Q.ADDRESS,Q.APPLET,Q.AREA,Q.ARTICLE,Q.ASIDE,Q.BASE,Q.BASEFONT,Q.BGSOUND,Q.BLOCKQUOTE,Q.BODY,Q.BR,Q.BUTTON,Q.CAPTION,Q.CENTER,Q.COL,Q.COLGROUP,Q.DD,Q.DETAILS,Q.DIR,Q.DIV,Q.DL,Q.DT,Q.EMBED,Q.FIELDSET,Q.FIGCAPTION,Q.FIGURE,Q.FOOTER,Q.FORM,Q.FRAME,Q.FRAMESET,Q.H1,Q.H2,Q.H3,Q.H4,Q.H5,Q.H6,Q.HEAD,Q.HEADER,Q.HGROUP,Q.HR,Q.HTML,Q.IFRAME,Q.IMG,Q.INPUT,Q.LI,Q.LINK,Q.LISTING,Q.MAIN,Q.MARQUEE,Q.MENU,Q.META,Q.NAV,Q.NOEMBED,Q.NOFRAMES,Q.NOSCRIPT,Q.OBJECT,Q.OL,Q.P,Q.PARAM,Q.PLAINTEXT,Q.PRE,Q.SCRIPT,Q.SECTION,Q.SELECT,Q.SOURCE,Q.STYLE,Q.SUMMARY,Q.TABLE,Q.TBODY,Q.TD,Q.TEMPLATE,Q.TEXTAREA,Q.TFOOT,Q.TH,Q.THEAD,Q.TITLE,Q.TR,Q.TRACK,Q.UL,Q.WBR,Q.XMP]),[X.MATHML]:new Set([Q.MI,Q.MO,Q.MN,Q.MS,Q.MTEXT,Q.ANNOTATION_XML]),[X.SVG]:new Set([Q.TITLE,Q.FOREIGN_OBJECT,Q.DESC]),[X.XLINK]:new Set,[X.XML]:new Set,[X.XMLNS]:new Set},D0=new Set([Q.H1,Q.H2,Q.H3,Q.H4,Q.H5,Q.H6]);R.STYLE,R.SCRIPT,R.XMP,R.IFRAME,R.NOEMBED,R.NOFRAMES,R.PLAINTEXT;var S;(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"})(S||(S={}));const qe={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function p8(e){return e>=A.DIGIT_0&&e<=A.DIGIT_9}function Er(e){return e>=A.LATIN_CAPITAL_A&&e<=A.LATIN_CAPITAL_Z}function g8(e){return e>=A.LATIN_SMALL_A&&e<=A.LATIN_SMALL_Z}function gn(e){return g8(e)||Er(e)}function Xl(e){return gn(e)||p8(e)}function ci(e){return e+32}function rh(e){return e===A.SPACE||e===A.LINE_FEED||e===A.TABULATION||e===A.FORM_FEED}function Ql(e){return rh(e)||e===A.SOLIDUS||e===A.GREATER_THAN_SIGN}function b8(e){return e===A.NULL?z.nullCharacterReference:e>1114111?z.characterReferenceOutsideUnicodeRange:J1(e)?z.surrogateCharacterReference:th(e)?z.noncharacterCharacterReference:eh(e)||e===A.CARRIAGE_RETURN?z.controlCharacterReference:null}class E8{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new r8(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new h8(i8,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=b8(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Te.START_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Te.END_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Te.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Te.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(nh(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=ur(t.tagName),t.type===Te.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(z.endTagWithAttributes),t.selfClosing&&this._err(z.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Te.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Te.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Te.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:Te.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=rh(t)?Te.WHITESPACE_CHARACTER:t===A.NULL?Te.NULL_CHARACTER:Te.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Te.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=S.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?tn.Attribute:tn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case S.DATA:{this._stateData(t);break}case S.RCDATA:{this._stateRcdata(t);break}case S.RAWTEXT:{this._stateRawtext(t);break}case S.SCRIPT_DATA:{this._stateScriptData(t);break}case S.PLAINTEXT:{this._statePlaintext(t);break}case S.TAG_OPEN:{this._stateTagOpen(t);break}case S.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case S.TAG_NAME:{this._stateTagName(t);break}case S.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case S.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case S.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case S.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case S.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case S.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case S.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case S.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case S.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case S.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case S.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case S.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case S.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case S.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case S.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case S.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case S.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case S.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case S.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case S.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case S.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case S.BOGUS_COMMENT:{this._stateBogusComment(t);break}case S.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case S.COMMENT_START:{this._stateCommentStart(t);break}case S.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case S.COMMENT:{this._stateComment(t);break}case S.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case S.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case S.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case S.COMMENT_END:{this._stateCommentEnd(t);break}case S.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case S.DOCTYPE:{this._stateDoctype(t);break}case S.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case S.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case S.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case S.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case S.CDATA_SECTION:{this._stateCdataSection(t);break}case S.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case S.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case S.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case S.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case A.LESS_THAN_SIGN:{this.state=S.TAG_OPEN;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.NULL:{this._err(z.unexpectedNullCharacter),this._emitCodePoint(t);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case A.AMPERSAND:{this._startCharacterReference();break}case A.LESS_THAN_SIGN:{this.state=S.RCDATA_LESS_THAN_SIGN;break}case A.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(Re);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case A.LESS_THAN_SIGN:{this.state=S.RAWTEXT_LESS_THAN_SIGN;break}case A.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(Re);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case A.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break}case A.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(Re);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case A.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(Re);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(gn(t))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(t);else switch(t){case A.EXCLAMATION_MARK:{this.state=S.MARKUP_DECLARATION_OPEN;break}case A.SOLIDUS:{this.state=S.END_TAG_OPEN;break}case A.QUESTION_MARK:{this._err(z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(t);break}case A.EOF:{this._err(z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(gn(t))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(t);else switch(t){case A.GREATER_THAN_SIGN:{this._err(z.missingEndTagName),this.state=S.DATA;break}case A.EOF:{this._err(z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=S.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=S.BEFORE_ATTRIBUTE_NAME;break}case A.SOLIDUS:{this.state=S.SELF_CLOSING_START_TAG;break}case A.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentTagToken();break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.tagName+=Re;break}case A.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Er(t)?ci(t):t)}}_stateRcdataLessThanSign(t){t===A.SOLIDUS?this.state=S.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=S.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){gn(t)?(this.state=S.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=S.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=S.BEFORE_ATTRIBUTE_NAME,!1;case A.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=S.SELF_CLOSING_START_TAG,!1;case A.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=S.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===A.SOLIDUS?this.state=S.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=S.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){gn(t)?(this.state=S.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=S.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case A.SOLIDUS:{this.state=S.SCRIPT_DATA_END_TAG_OPEN;break}case A.EXCLAMATION_MARK:{this.state=S.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=S.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){gn(t)?(this.state=S.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===A.HYPHEN_MINUS?(this.state=S.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===A.HYPHEN_MINUS?(this.state=S.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=S.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case A.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case A.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(Re);break}case A.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case A.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars(Re);break}case A.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case A.HYPHEN_MINUS:{this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case A.GREATER_THAN_SIGN:{this.state=S.SCRIPT_DATA,this._emitChars(">");break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars(Re);break}case A.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===A.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:gn(t)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){gn(t)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(st.SCRIPT,!1)&&Ql(this.preprocessor.peek(st.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<st.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case A.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case A.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(Re);break}case A.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case A.HYPHEN_MINUS:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Re);break}case A.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case A.HYPHEN_MINUS:{this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case A.GREATER_THAN_SIGN:{this.state=S.SCRIPT_DATA,this._emitChars(">");break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Re);break}case A.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===A.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(st.SCRIPT,!1)&&Ql(this.preprocessor.peek(st.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<st.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=S.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.SOLIDUS:case A.GREATER_THAN_SIGN:case A.EOF:{this.state=S.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case A.EQUALS_SIGN:{this._err(z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=S.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=S.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:case A.SOLIDUS:case A.GREATER_THAN_SIGN:case A.EOF:{this._leaveAttrName(),this.state=S.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case A.EQUALS_SIGN:{this._leaveAttrName(),this.state=S.BEFORE_ATTRIBUTE_VALUE;break}case A.QUOTATION_MARK:case A.APOSTROPHE:case A.LESS_THAN_SIGN:{this._err(z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.name+=Re;break}default:this.currentAttr.name+=String.fromCodePoint(Er(t)?ci(t):t)}}_stateAfterAttributeName(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.SOLIDUS:{this.state=S.SELF_CLOSING_START_TAG;break}case A.EQUALS_SIGN:{this.state=S.BEFORE_ATTRIBUTE_VALUE;break}case A.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentTagToken();break}case A.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=S.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.QUOTATION_MARK:{this.state=S.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this.state=S.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(z.missingAttributeValue),this.state=S.DATA,this.emitCurrentTagToken();break}default:this.state=S.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case A.QUOTATION_MARK:{this.state=S.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=Re;break}case A.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case A.APOSTROPHE:{this.state=S.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=Re;break}case A.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this._leaveAttrValue(),this.state=S.BEFORE_ATTRIBUTE_NAME;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=S.DATA,this.emitCurrentTagToken();break}case A.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=Re;break}case A.QUOTATION_MARK:case A.APOSTROPHE:case A.LESS_THAN_SIGN:case A.EQUALS_SIGN:case A.GRAVE_ACCENT:{this._err(z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case A.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this._leaveAttrValue(),this.state=S.BEFORE_ATTRIBUTE_NAME;break}case A.SOLIDUS:{this._leaveAttrValue(),this.state=S.SELF_CLOSING_START_TAG;break}case A.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=S.DATA,this.emitCurrentTagToken();break}case A.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBetweenAttributes),this.state=S.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case A.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=S.DATA,this.emitCurrentTagToken();break}case A.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.unexpectedSolidusInTag),this.state=S.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case A.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentComment(n);break}case A.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.data+=Re;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(st.DASH_DASH,!0)?(this._createCommentToken(st.DASH_DASH.length+1),this.state=S.COMMENT_START):this._consumeSequenceIfMatch(st.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(st.DOCTYPE.length+1),this.state=S.DOCTYPE):this._consumeSequenceIfMatch(st.CDATA_START,!0)?this.inForeignNode?this.state=S.CDATA_SECTION:(this._err(z.cdataInHtmlContent),this._createCommentToken(st.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=S.BOGUS_COMMENT):this._ensureHibernation()||(this._err(z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=S.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case A.HYPHEN_MINUS:{this.state=S.COMMENT_START_DASH;break}case A.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=S.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=S.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case A.HYPHEN_MINUS:{this.state=S.COMMENT_END;break}case A.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=S.DATA,this.emitCurrentComment(n);break}case A.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=S.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case A.HYPHEN_MINUS:{this.state=S.COMMENT_END_DASH;break}case A.LESS_THAN_SIGN:{n.data+="<",this.state=S.COMMENT_LESS_THAN_SIGN;break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.data+=Re;break}case A.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case A.EXCLAMATION_MARK:{n.data+="!",this.state=S.COMMENT_LESS_THAN_SIGN_BANG;break}case A.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=S.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===A.HYPHEN_MINUS?this.state=S.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=S.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===A.HYPHEN_MINUS?this.state=S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=S.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==A.GREATER_THAN_SIGN&&t!==A.EOF&&this._err(z.nestedComment),this.state=S.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case A.HYPHEN_MINUS:{this.state=S.COMMENT_END;break}case A.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=S.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case A.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentComment(n);break}case A.EXCLAMATION_MARK:{this.state=S.COMMENT_END_BANG;break}case A.HYPHEN_MINUS:{n.data+="-";break}case A.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=S.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case A.HYPHEN_MINUS:{n.data+="--!",this.state=S.COMMENT_END_DASH;break}case A.GREATER_THAN_SIGN:{this._err(z.incorrectlyClosedComment),this.state=S.DATA,this.emitCurrentComment(n);break}case A.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=S.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=S.BEFORE_DOCTYPE_NAME;break}case A.GREATER_THAN_SIGN:{this.state=S.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case A.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBeforeDoctypeName),this.state=S.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Er(t))this._createDoctypeToken(String.fromCharCode(ci(t))),this.state=S.DOCTYPE_NAME;else switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.NULL:{this._err(z.unexpectedNullCharacter),this._createDoctypeToken(Re),this.state=S.DOCTYPE_NAME;break}case A.GREATER_THAN_SIGN:{this._err(z.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=S.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=S.AFTER_DOCTYPE_NAME;break}case A.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentDoctype(n);break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.name+=Re;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Er(t)?ci(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentDoctype(n);break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(st.PUBLIC,!1)?this.state=S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(st.SYSTEM,!1)?this.state=S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(z.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case A.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(n);break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.QUOTATION_MARK:{n.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{n.publicId="",this.state=S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(n);break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case A.QUOTATION_MARK:{this.state=S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.publicId+=Re;break}case A.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case A.APOSTROPHE:{this.state=S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.publicId+=Re;break}case A.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case A.GREATER_THAN_SIGN:{this.state=S.DATA,this.emitCurrentDoctype(n);break}case A.QUOTATION_MARK:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.QUOTATION_MARK:{n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case A.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(n);break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.QUOTATION_MARK:{n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{n.systemId="",this.state=S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=S.DATA,this.emitCurrentDoctype(n);break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case A.QUOTATION_MARK:{this.state=S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.systemId+=Re;break}case A.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case A.APOSTROPHE:{this.state=S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case A.NULL:{this._err(z.unexpectedNullCharacter),n.systemId+=Re;break}case A.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=S.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case A.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=S.DATA;break}case A.NULL:{this._err(z.unexpectedNullCharacter);break}case A.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case A.RIGHT_SQUARE_BRACKET:{this.state=S.CDATA_SECTION_BRACKET;break}case A.EOF:{this._err(z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===A.RIGHT_SQUARE_BRACKET?this.state=S.CDATA_SECTION_END:(this._emitChars("]"),this.state=S.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case A.GREATER_THAN_SIGN:{this.state=S.DATA;break}case A.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=S.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(A.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Xl(this.preprocessor.peek(1))?S.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Xl(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===A.SEMICOLON&&this._err(z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const ih=new Set([h.DD,h.DT,h.LI,h.OPTGROUP,h.OPTION,h.P,h.RB,h.RP,h.RT,h.RTC]),Kl=new Set([...ih,h.CAPTION,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]),Ii=new Set([h.APPLET,h.CAPTION,h.HTML,h.MARQUEE,h.OBJECT,h.TABLE,h.TD,h.TEMPLATE,h.TH]),T8=new Set([...Ii,h.OL,h.UL]),x8=new Set([...Ii,h.BUTTON]),Zl=new Set([h.ANNOTATION_XML,h.MI,h.MN,h.MO,h.MS,h.MTEXT]),Jl=new Set([h.DESC,h.FOREIGN_OBJECT,h.TITLE]),y8=new Set([h.TR,h.TEMPLATE,h.HTML]),k8=new Set([h.TBODY,h.TFOOT,h.THEAD,h.TEMPLATE,h.HTML]),A8=new Set([h.TABLE,h.TEMPLATE,h.HTML]),v8=new Set([h.TD,h.TH]);class S8{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=h.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===h.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===X.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),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 n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==X.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(D0,X.HTML)}popUntilTableCellPopped(){this.popUntilPopped(v8,X.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(A8,X.HTML)}clearBackToTableBodyContext(){this.clearBackTo(k8,X.HTML)}clearBackToTableRowContext(){this.clearBackTo(y8,X.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===h.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===h.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case X.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case X.SVG:{if(Jl.has(i))return!1;break}case X.MATHML:{if(Zl.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Ii)}hasInListItemScope(t){return this.hasInDynamicScope(t,T8)}hasInButtonScope(t){return this.hasInDynamicScope(t,x8)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case X.HTML:{if(D0.has(n))return!0;if(Ii.has(n))return!1;break}case X.SVG:{if(Jl.has(n))return!1;break}case X.MATHML:{if(Zl.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===X.HTML)switch(this.tagIDs[n]){case t:return!0;case h.TABLE:case h.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===X.HTML)switch(this.tagIDs[t]){case h.TBODY:case h.THEAD:case h.TFOOT:return!0;case h.TABLE:case h.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===X.HTML)switch(this.tagIDs[n]){case t:return!0;case h.OPTION:case h.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&ih.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Kl.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Kl.has(this.currentTagId);)this.pop()}}const Ja=3;var Rt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Rt||(Rt={}));const eo={type:Rt.Marker};class w8{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,a=this.treeAdapter.getTagName(t),u=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const l=this.entries[s];if(l.type===Rt.Marker)break;const{element:o}=l;if(this.treeAdapter.getTagName(o)===a&&this.treeAdapter.getNamespaceURI(o)===u){const c=this.treeAdapter.getAttrList(o);c.length===i&&r.push({idx:s,attrs:c})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Ja)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Ja)return;const i=new Map(n.map(u=>[u.name,u.value]));let a=0;for(let u=0;u<r.length;u++){const s=r[u];s.attrs.every(l=>i.get(l.name)===l.value)&&(a+=1,a>=Ja&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(eo)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Rt.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Rt.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(eo);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Rt.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Rt.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Rt.Element&&n.element===t)}}const bn={createDocument(){return{nodeName:"#document",mode:kt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};bn.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 n=e.childNodes[e.childNodes.length-1];if(bn.isTextNode(n)){n.value+=t;return}}bn.appendChild(e,bn.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&bn.isTextNode(r)?r.value+=t:bn.insertBefore(e,bn.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ah="html",C8="about:legacy-compat",I8="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",uh=["+//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//"],_8=[...uh,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],N8=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),sh=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],D8=[...sh,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function to(e,t){return t.some(n=>e.startsWith(n))}function L8(e){return e.name===ah&&e.publicId===null&&(e.systemId===null||e.systemId===C8)}function O8(e){if(e.name!==ah)return kt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===I8)return kt.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),N8.has(n))return kt.QUIRKS;let r=t===null?_8:uh;if(to(n,r))return kt.QUIRKS;if(r=t===null?sh:D8,to(n,r))return kt.LIMITED_QUIRKS}return kt.NO_QUIRKS}const no={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},M8="definitionurl",R8="definitionURL",P8=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])),B8=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:X.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:X.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:X.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:X.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:X.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:X.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:X.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:X.XML}],["xml:space",{prefix:"xml",name:"space",namespace:X.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:X.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:X.XMLNS}]]),F8=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])),z8=new Set([h.B,h.BIG,h.BLOCKQUOTE,h.BODY,h.BR,h.CENTER,h.CODE,h.DD,h.DIV,h.DL,h.DT,h.EM,h.EMBED,h.H1,h.H2,h.H3,h.H4,h.H5,h.H6,h.HEAD,h.HR,h.I,h.IMG,h.LI,h.LISTING,h.MENU,h.META,h.NOBR,h.OL,h.P,h.PRE,h.RUBY,h.S,h.SMALL,h.SPAN,h.STRONG,h.STRIKE,h.SUB,h.SUP,h.TABLE,h.TT,h.U,h.UL,h.VAR]);function H8(e){const t=e.tagID;return t===h.FONT&&e.attrs.some(({name:r})=>r===On.COLOR||r===On.SIZE||r===On.FACE)||z8.has(t)}function lh(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===M8){e.attrs[t].name=R8;break}}function oh(e){for(let t=0;t<e.attrs.length;t++){const n=P8.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Cu(e){for(let t=0;t<e.attrs.length;t++){const n=B8.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function U8(e){const t=F8.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=ur(e.tagName))}function q8(e,t){return t===X.MATHML&&(e===h.MI||e===h.MO||e===h.MN||e===h.MS||e===h.MTEXT)}function $8(e,t,n){if(t===X.MATHML&&e===h.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===On.ENCODING){const i=n[r].value.toLowerCase();return i===no.TEXT_HTML||i===no.APPLICATION_XML}}return t===X.SVG&&(e===h.FOREIGN_OBJECT||e===h.DESC||e===h.TITLE)}function Y8(e,t,n,r){return(!r||r===X.HTML)&&$8(e,t,n)||(!r||r===X.MATHML)&&q8(e,t)}const V8="hidden",G8=8,j8=3;var _;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(_||(_={}));const W8={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ch=new Set([h.TABLE,h.TBODY,h.TFOOT,h.THEAD,h.TR]),ro={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:bn,onParseError:null};class io{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=_.INITIAL,this.originalInsertionMode=_.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...ro,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new E8(this.options,this),this.activeFormattingElements=new w8(this.treeAdapter),this.fragmentContextID=r?ur(this.treeAdapter.getTagName(r)):h.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new S8(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...ro,...n};t??(t=r.treeAdapter.createElement(R.TEMPLATE,X.HTML,[]));const i=r.treeAdapter.createElement("documentmock",X.HTML,[]),a=new this(r,i,t);return a.fragmentContextID===h.TEMPLATE&&a.tmplInsertionModeStack.unshift(_.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:W8,u={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(u)}onItemPush(t,n,r){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let a,u;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,u=this.fragmentContextID):{current:a,currentTagId:u}=this.openElements,this._setContextModes(a,u)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===X.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,X.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=_.TEXT}switchToPlaintextParsing(){this.insertionMode=_.TEXT,this.originalInsertionMode=_.IN_BODY,this.tokenizer.state=qe.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)===R.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==X.HTML))switch(this.fragmentContextID){case h.TITLE:case h.TEXTAREA:{this.tokenizer.state=qe.RCDATA;break}case h.STYLE:case h.XMP:case h.IFRAME:case h.NOEMBED:case h.NOFRAMES:case h.NOSCRIPT:{this.tokenizer.state=qe.RAWTEXT;break}case h.SCRIPT:{this.tokenizer.state=qe.SCRIPT_DATA;break}case h.PLAINTEXT:{this.tokenizer.state=qe.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const u=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));u&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,X.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,X.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(R.HTML,X.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,h.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=r?i.lastIndexOf(r):i.length,u=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(u)){const{endLine:l,endCol:o,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(u,{endLine:l,endCol:o,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),a=n.type===Te.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===h.SVG&&this.treeAdapter.getTagName(n)===R.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===X.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===h.MGLYPH||t.tagID===h.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,X.HTML)}_processToken(t){switch(t.type){case Te.CHARACTER:{this.onCharacter(t);break}case Te.NULL_CHARACTER:{this.onNullCharacter(t);break}case Te.COMMENT:{this.onComment(t);break}case Te.DOCTYPE:{this.onDoctype(t);break}case Te.START_TAG:{this._processStartTag(t);break}case Te.END_TAG:{this.onEndTag(t);break}case Te.EOF:{this.onEof(t);break}case Te.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return Y8(t,i,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Rt.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;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=_.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(h.P),this.openElements.popUntilTagNamePopped(h.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case h.TR:{this.insertionMode=_.IN_ROW;return}case h.TBODY:case h.THEAD:case h.TFOOT:{this.insertionMode=_.IN_TABLE_BODY;return}case h.CAPTION:{this.insertionMode=_.IN_CAPTION;return}case h.COLGROUP:{this.insertionMode=_.IN_COLUMN_GROUP;return}case h.TABLE:{this.insertionMode=_.IN_TABLE;return}case h.BODY:{this.insertionMode=_.IN_BODY;return}case h.FRAMESET:{this.insertionMode=_.IN_FRAMESET;return}case h.SELECT:{this._resetInsertionModeForSelect(t);return}case h.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case h.HTML:{this.insertionMode=this.headElement?_.AFTER_HEAD:_.BEFORE_HEAD;return}case h.TD:case h.TH:{if(t>0){this.insertionMode=_.IN_CELL;return}break}case h.HEAD:{if(t>0){this.insertionMode=_.IN_HEAD;return}break}}this.insertionMode=_.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===h.TEMPLATE)break;if(r===h.TABLE){this.insertionMode=_.IN_SELECT_IN_TABLE;return}}this.insertionMode=_.IN_SELECT}_isElementCausesFosterParenting(t){return ch.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case h.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===X.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case h.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return d8[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){vb(this,t);return}switch(this.insertionMode){case _.INITIAL:{pr(this,t);break}case _.BEFORE_HTML:{Ar(this,t);break}case _.BEFORE_HEAD:{vr(this,t);break}case _.IN_HEAD:{Sr(this,t);break}case _.IN_HEAD_NO_SCRIPT:{wr(this,t);break}case _.AFTER_HEAD:{Cr(this,t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:{fh(this,t);break}case _.TEXT:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{e0(this,t);break}case _.IN_TABLE_TEXT:{Eh(this,t);break}case _.IN_COLUMN_GROUP:{_i(this,t);break}case _.AFTER_BODY:{Ni(this,t);break}case _.AFTER_AFTER_BODY:{pi(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ab(this,t);return}switch(this.insertionMode){case _.INITIAL:{pr(this,t);break}case _.BEFORE_HTML:{Ar(this,t);break}case _.BEFORE_HEAD:{vr(this,t);break}case _.IN_HEAD:{Sr(this,t);break}case _.IN_HEAD_NO_SCRIPT:{wr(this,t);break}case _.AFTER_HEAD:{Cr(this,t);break}case _.TEXT:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{e0(this,t);break}case _.IN_COLUMN_GROUP:{_i(this,t);break}case _.AFTER_BODY:{Ni(this,t);break}case _.AFTER_AFTER_BODY:{pi(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){L0(this,t);return}switch(this.insertionMode){case _.INITIAL:case _.BEFORE_HTML:case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_TEMPLATE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{L0(this,t);break}case _.IN_TABLE_TEXT:{gr(this,t);break}case _.AFTER_BODY:{tg(this,t);break}case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{ng(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case _.INITIAL:{rg(this,t);break}case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:{this._err(t,z.misplacedDoctype);break}case _.IN_TABLE_TEXT:{gr(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Sb(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{pr(this,t);break}case _.BEFORE_HTML:{ig(this,t);break}case _.BEFORE_HEAD:{ug(this,t);break}case _.IN_HEAD:{Dt(this,t);break}case _.IN_HEAD_NO_SCRIPT:{og(this,t);break}case _.AFTER_HEAD:{hg(this,t);break}case _.IN_BODY:{nt(this,t);break}case _.IN_TABLE:{Zn(this,t);break}case _.IN_TABLE_TEXT:{gr(this,t);break}case _.IN_CAPTION:{sb(this,t);break}case _.IN_COLUMN_GROUP:{Nu(this,t);break}case _.IN_TABLE_BODY:{Gi(this,t);break}case _.IN_ROW:{ji(this,t);break}case _.IN_CELL:{cb(this,t);break}case _.IN_SELECT:{yh(this,t);break}case _.IN_SELECT_IN_TABLE:{fb(this,t);break}case _.IN_TEMPLATE:{db(this,t);break}case _.AFTER_BODY:{gb(this,t);break}case _.IN_FRAMESET:{bb(this,t);break}case _.AFTER_FRAMESET:{Tb(this,t);break}case _.AFTER_AFTER_BODY:{yb(this,t);break}case _.AFTER_AFTER_FRAMESET:{kb(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?wb(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{pr(this,t);break}case _.BEFORE_HTML:{ag(this,t);break}case _.BEFORE_HEAD:{sg(this,t);break}case _.IN_HEAD:{lg(this,t);break}case _.IN_HEAD_NO_SCRIPT:{cg(this,t);break}case _.AFTER_HEAD:{fg(this,t);break}case _.IN_BODY:{Vi(this,t);break}case _.TEXT:{Kg(this,t);break}case _.IN_TABLE:{Rr(this,t);break}case _.IN_TABLE_TEXT:{gr(this,t);break}case _.IN_CAPTION:{lb(this,t);break}case _.IN_COLUMN_GROUP:{ob(this,t);break}case _.IN_TABLE_BODY:{O0(this,t);break}case _.IN_ROW:{xh(this,t);break}case _.IN_CELL:{hb(this,t);break}case _.IN_SELECT:{kh(this,t);break}case _.IN_SELECT_IN_TABLE:{mb(this,t);break}case _.IN_TEMPLATE:{pb(this,t);break}case _.AFTER_BODY:{vh(this,t);break}case _.IN_FRAMESET:{Eb(this,t);break}case _.AFTER_FRAMESET:{xb(this,t);break}case _.AFTER_AFTER_BODY:{pi(this,t);break}}}onEof(t){switch(this.insertionMode){case _.INITIAL:{pr(this,t);break}case _.BEFORE_HTML:{Ar(this,t);break}case _.BEFORE_HEAD:{vr(this,t);break}case _.IN_HEAD:{Sr(this,t);break}case _.IN_HEAD_NO_SCRIPT:{wr(this,t);break}case _.AFTER_HEAD:{Cr(this,t);break}case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{gh(this,t);break}case _.TEXT:{Zg(this,t);break}case _.IN_TABLE_TEXT:{gr(this,t);break}case _.IN_TEMPLATE:{Ah(this,t);break}case _.AFTER_BODY:case _.IN_FRAMESET:case _.AFTER_FRAMESET:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{_u(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===A.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.TEXT:case _.IN_COLUMN_GROUP:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{this._insertCharacters(t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:case _.AFTER_BODY:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{hh(this,t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{e0(this,t);break}case _.IN_TABLE_TEXT:{bh(this,t);break}}}}function X8(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ph(e,t),n}function Q8(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function K8(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,u=i;u!==n;a++,u=i){i=e.openElements.getCommonAncestor(u);const s=e.activeFormattingElements.getElementEntry(u),l=s&&a>=j8;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(u)):(u=Z8(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(u,r),r=u)}return r}function Z8(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function J8(e,t,n){const r=e.treeAdapter.getTagName(t),i=ur(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===h.TEMPLATE&&a===X.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function eg(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Iu(e,t){for(let n=0;n<G8;n++){const r=X8(e,t);if(!r)break;const i=Q8(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const a=K8(e,i,r.element),u=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),u&&J8(e,u,a),eg(e,i,r)}}function L0(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function tg(e,t){e._appendCommentNode(t,e.openElements.items[0])}function ng(e,t){e._appendCommentNode(t,e.document)}function _u(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],u=e.treeAdapter.getNodeSourceCodeLocation(a);u&&!u.endTag&&e._setEndLocation(a,t)}}}}function rg(e,t){e._setDocumentType(t);const n=t.forceQuirks?kt.QUIRKS:O8(t);L8(t)||e._err(t,z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=_.BEFORE_HTML}function pr(e,t){e._err(t,z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,kt.QUIRKS),e.insertionMode=_.BEFORE_HTML,e._processToken(t)}function ig(e,t){t.tagID===h.HTML?(e._insertElement(t,X.HTML),e.insertionMode=_.BEFORE_HEAD):Ar(e,t)}function ag(e,t){const n=t.tagID;(n===h.HTML||n===h.HEAD||n===h.BODY||n===h.BR)&&Ar(e,t)}function Ar(e,t){e._insertFakeRootElement(),e.insertionMode=_.BEFORE_HEAD,e._processToken(t)}function ug(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.HEAD:{e._insertElement(t,X.HTML),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD;break}default:vr(e,t)}}function sg(e,t){const n=t.tagID;n===h.HEAD||n===h.BODY||n===h.HTML||n===h.BR?vr(e,t):e._err(t,z.endTagWithoutMatchingOpenElement)}function vr(e,t){e._insertFakeElement(R.HEAD,h.HEAD),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD,e._processToken(t)}function Dt(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:{e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case h.TITLE:{e._switchToTextParsing(t,qe.RCDATA);break}case h.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,qe.RAWTEXT):(e._insertElement(t,X.HTML),e.insertionMode=_.IN_HEAD_NO_SCRIPT);break}case h.NOFRAMES:case h.STYLE:{e._switchToTextParsing(t,qe.RAWTEXT);break}case h.SCRIPT:{e._switchToTextParsing(t,qe.SCRIPT_DATA);break}case h.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=_.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(_.IN_TEMPLATE);break}case h.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:Sr(e,t)}}function lg(e,t){switch(t.tagID){case h.HEAD:{e.openElements.pop(),e.insertionMode=_.AFTER_HEAD;break}case h.BODY:case h.BR:case h.HTML:{Sr(e,t);break}case h.TEMPLATE:{Fn(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function Fn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==h.TEMPLATE&&e._err(t,z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,z.endTagWithoutMatchingOpenElement)}function Sr(e,t){e.openElements.pop(),e.insertionMode=_.AFTER_HEAD,e._processToken(t)}function og(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.BASEFONT:case h.BGSOUND:case h.HEAD:case h.LINK:case h.META:case h.NOFRAMES:case h.STYLE:{Dt(e,t);break}case h.NOSCRIPT:{e._err(t,z.nestedNoscriptInHead);break}default:wr(e,t)}}function cg(e,t){switch(t.tagID){case h.NOSCRIPT:{e.openElements.pop(),e.insertionMode=_.IN_HEAD;break}case h.BR:{wr(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function wr(e,t){const n=t.type===Te.EOF?z.openElementsLeftAfterEof:z.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=_.IN_HEAD,e._processToken(t)}function hg(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.BODY:{e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=_.IN_BODY;break}case h.FRAMESET:{e._insertElement(t,X.HTML),e.insertionMode=_.IN_FRAMESET;break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:case h.NOFRAMES:case h.SCRIPT:case h.STYLE:case h.TEMPLATE:case h.TITLE:{e._err(t,z.abandonedHeadElementChild),e.openElements.push(e.headElement,h.HEAD),Dt(e,t),e.openElements.remove(e.headElement);break}case h.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:Cr(e,t)}}function fg(e,t){switch(t.tagID){case h.BODY:case h.HTML:case h.BR:{Cr(e,t);break}case h.TEMPLATE:{Fn(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function Cr(e,t){e._insertFakeElement(R.BODY,h.BODY),e.insertionMode=_.IN_BODY,Yi(e,t)}function Yi(e,t){switch(t.type){case Te.CHARACTER:{fh(e,t);break}case Te.WHITESPACE_CHARACTER:{hh(e,t);break}case Te.COMMENT:{L0(e,t);break}case Te.START_TAG:{nt(e,t);break}case Te.END_TAG:{Vi(e,t);break}case Te.EOF:{gh(e,t);break}}}function hh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function fh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function mg(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function dg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function pg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,X.HTML),e.insertionMode=_.IN_FRAMESET)}function gg(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,X.HTML)}function bg(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&D0.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,X.HTML)}function Eg(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Tg(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,X.HTML),n||(e.formElement=e.openElements.current))}function xg(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===h.LI&&i===h.LI||(n===h.DD||n===h.DT)&&(i===h.DD||i===h.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==h.ADDRESS&&i!==h.DIV&&i!==h.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,X.HTML)}function yg(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.tokenizer.state=qe.PLAINTEXT}function kg(e,t){e.openElements.hasInScope(h.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.framesetOk=!1}function Ag(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(R.A);n&&(Iu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function vg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Sg(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(Iu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Cg(e,t){e.treeAdapter.getDocumentMode(e.document)!==kt.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=_.IN_TABLE}function mh(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,X.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function dh(e){const t=nh(e,On.TYPE);return t!=null&&t.toLowerCase()===V8}function Ig(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,X.HTML),dh(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function _g(e,t){e._appendElement(t,X.HTML),t.ackSelfClosing=!0}function Ng(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._appendElement(t,X.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Dg(e,t){t.tagName=R.IMG,t.tagID=h.IMG,mh(e,t)}function Lg(e,t){e._insertElement(t,X.HTML),e.skipNextNewLine=!0,e.tokenizer.state=qe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=_.TEXT}function Og(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,qe.RAWTEXT)}function Mg(e,t){e.framesetOk=!1,e._switchToTextParsing(t,qe.RAWTEXT)}function ao(e,t){e._switchToTextParsing(t,qe.RAWTEXT)}function Rg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===_.IN_TABLE||e.insertionMode===_.IN_CAPTION||e.insertionMode===_.IN_TABLE_BODY||e.insertionMode===_.IN_ROW||e.insertionMode===_.IN_CELL?_.IN_SELECT_IN_TABLE:_.IN_SELECT}function Pg(e,t){e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML)}function Bg(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,X.HTML)}function Fg(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,X.HTML)}function zg(e,t){e._reconstructActiveFormattingElements(),lh(t),Cu(t),t.selfClosing?e._appendElement(t,X.MATHML):e._insertElement(t,X.MATHML),t.ackSelfClosing=!0}function Hg(e,t){e._reconstructActiveFormattingElements(),oh(t),Cu(t),t.selfClosing?e._appendElement(t,X.SVG):e._insertElement(t,X.SVG),t.ackSelfClosing=!0}function uo(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML)}function nt(e,t){switch(t.tagID){case h.I:case h.S:case h.B:case h.U:case h.EM:case h.TT:case h.BIG:case h.CODE:case h.FONT:case h.SMALL:case h.STRIKE:case h.STRONG:{vg(e,t);break}case h.A:{Ag(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{bg(e,t);break}case h.P:case h.DL:case h.OL:case h.UL:case h.DIV:case h.DIR:case h.NAV:case h.MAIN:case h.MENU:case h.ASIDE:case h.CENTER:case h.FIGURE:case h.FOOTER:case h.HEADER:case h.HGROUP:case h.DIALOG:case h.DETAILS:case h.ADDRESS:case h.ARTICLE:case h.SEARCH:case h.SECTION:case h.SUMMARY:case h.FIELDSET:case h.BLOCKQUOTE:case h.FIGCAPTION:{gg(e,t);break}case h.LI:case h.DD:case h.DT:{xg(e,t);break}case h.BR:case h.IMG:case h.WBR:case h.AREA:case h.EMBED:case h.KEYGEN:{mh(e,t);break}case h.HR:{Ng(e,t);break}case h.RB:case h.RTC:{Bg(e,t);break}case h.RT:case h.RP:{Fg(e,t);break}case h.PRE:case h.LISTING:{Eg(e,t);break}case h.XMP:{Og(e,t);break}case h.SVG:{Hg(e,t);break}case h.HTML:{mg(e,t);break}case h.BASE:case h.LINK:case h.META:case h.STYLE:case h.TITLE:case h.SCRIPT:case h.BGSOUND:case h.BASEFONT:case h.TEMPLATE:{Dt(e,t);break}case h.BODY:{dg(e,t);break}case h.FORM:{Tg(e,t);break}case h.NOBR:{Sg(e,t);break}case h.MATH:{zg(e,t);break}case h.TABLE:{Cg(e,t);break}case h.INPUT:{Ig(e,t);break}case h.PARAM:case h.TRACK:case h.SOURCE:{_g(e,t);break}case h.IMAGE:{Dg(e,t);break}case h.BUTTON:{kg(e,t);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{wg(e,t);break}case h.IFRAME:{Mg(e,t);break}case h.SELECT:{Rg(e,t);break}case h.OPTION:case h.OPTGROUP:{Pg(e,t);break}case h.NOEMBED:case h.NOFRAMES:{ao(e,t);break}case h.FRAMESET:{pg(e,t);break}case h.TEXTAREA:{Lg(e,t);break}case h.NOSCRIPT:{e.options.scriptingEnabled?ao(e,t):uo(e,t);break}case h.PLAINTEXT:{yg(e,t);break}case h.COL:case h.TH:case h.TD:case h.TR:case h.HEAD:case h.FRAME:case h.TBODY:case h.TFOOT:case h.THEAD:case h.CAPTION:case h.COLGROUP:break;default:uo(e,t)}}function Ug(e,t){if(e.openElements.hasInScope(h.BODY)&&(e.insertionMode=_.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function qg(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=_.AFTER_BODY,vh(e,t))}function $g(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Yg(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(h.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(h.FORM):n&&e.openElements.remove(n))}function Vg(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(R.P,h.P),e._closePElement()}function Gg(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}function jg(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Wg(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Xg(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Qg(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(R.BR,h.BR),e.openElements.pop(),e.framesetOk=!1}function ph(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],u=e.openElements.tagIDs[i];if(r===u&&(r!==h.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,u))break}}function Vi(e,t){switch(t.tagID){case h.A:case h.B:case h.I:case h.S:case h.U:case h.EM:case h.TT:case h.BIG:case h.CODE:case h.FONT:case h.NOBR:case h.SMALL:case h.STRIKE:case h.STRONG:{Iu(e,t);break}case h.P:{Vg(e);break}case h.DL:case h.UL:case h.OL:case h.DIR:case h.DIV:case h.NAV:case h.PRE:case h.MAIN:case h.MENU:case h.ASIDE:case h.BUTTON:case h.CENTER:case h.FIGURE:case h.FOOTER:case h.HEADER:case h.HGROUP:case h.DIALOG:case h.ADDRESS:case h.ARTICLE:case h.DETAILS:case h.SEARCH:case h.SECTION:case h.SUMMARY:case h.LISTING:case h.FIELDSET:case h.BLOCKQUOTE:case h.FIGCAPTION:{$g(e,t);break}case h.LI:{Gg(e);break}case h.DD:case h.DT:{jg(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{Wg(e);break}case h.BR:{Qg(e);break}case h.BODY:{Ug(e,t);break}case h.HTML:{qg(e,t);break}case h.FORM:{Yg(e);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{Xg(e,t);break}case h.TEMPLATE:{Fn(e,t);break}default:ph(e,t)}}function gh(e,t){e.tmplInsertionModeStack.length>0?Ah(e,t):_u(e,t)}function Kg(e,t){var n;t.tagID===h.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Zg(e,t){e._err(t,z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function e0(e,t){if(e.openElements.currentTagId!==void 0&&ch.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=_.IN_TABLE_TEXT,t.type){case Te.CHARACTER:{Eh(e,t);break}case Te.WHITESPACE_CHARACTER:{bh(e,t);break}}else Yr(e,t)}function Jg(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,X.HTML),e.insertionMode=_.IN_CAPTION}function eb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,X.HTML),e.insertionMode=_.IN_COLUMN_GROUP}function tb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(R.COLGROUP,h.COLGROUP),e.insertionMode=_.IN_COLUMN_GROUP,Nu(e,t)}function nb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,X.HTML),e.insertionMode=_.IN_TABLE_BODY}function rb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(R.TBODY,h.TBODY),e.insertionMode=_.IN_TABLE_BODY,Gi(e,t)}function ib(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ab(e,t){dh(t)?e._appendElement(t,X.HTML):Yr(e,t),t.ackSelfClosing=!0}function ub(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,X.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Zn(e,t){switch(t.tagID){case h.TD:case h.TH:case h.TR:{rb(e,t);break}case h.STYLE:case h.SCRIPT:case h.TEMPLATE:{Dt(e,t);break}case h.COL:{tb(e,t);break}case h.FORM:{ub(e,t);break}case h.TABLE:{ib(e,t);break}case h.TBODY:case h.TFOOT:case h.THEAD:{nb(e,t);break}case h.INPUT:{ab(e,t);break}case h.CAPTION:{Jg(e,t);break}case h.COLGROUP:{eb(e,t);break}default:Yr(e,t)}}function Rr(e,t){switch(t.tagID){case h.TABLE:{e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode());break}case h.TEMPLATE:{Fn(e,t);break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TBODY:case h.TD:case h.TFOOT:case h.TH:case h.THEAD:case h.TR:break;default:Yr(e,t)}}function Yr(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Yi(e,t),e.fosterParentingEnabled=n}function bh(e,t){e.pendingCharacterTokens.push(t)}function Eh(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function gr(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Yr(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Th=new Set([h.CAPTION,h.COL,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]);function sb(e,t){const n=t.tagID;Th.has(n)?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_TABLE,Zn(e,t)):nt(e,t)}function lb(e,t){const n=t.tagID;switch(n){case h.CAPTION:case h.TABLE:{e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_TABLE,n===h.TABLE&&Rr(e,t));break}case h.BODY:case h.COL:case h.COLGROUP:case h.HTML:case h.TBODY:case h.TD:case h.TFOOT:case h.TH:case h.THEAD:case h.TR:break;default:Vi(e,t)}}function Nu(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.COL:{e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case h.TEMPLATE:{Dt(e,t);break}default:_i(e,t)}}function ob(e,t){switch(t.tagID){case h.COLGROUP:{e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE);break}case h.TEMPLATE:{Fn(e,t);break}case h.COL:break;default:_i(e,t)}}function _i(e,t){e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE,e._processToken(t))}function Gi(e,t){switch(t.tagID){case h.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,X.HTML),e.insertionMode=_.IN_ROW;break}case h.TH:case h.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(R.TR,h.TR),e.insertionMode=_.IN_ROW,ji(e,t);break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE,Zn(e,t));break}default:Zn(e,t)}}function O0(e,t){const n=t.tagID;switch(t.tagID){case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE);break}case h.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE,Rr(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TD:case h.TH:case h.TR:break;default:Rr(e,t)}}function ji(e,t){switch(t.tagID){case h.TH:case h.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,X.HTML),e.insertionMode=_.IN_CELL,e.activeFormattingElements.insertMarker();break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,Gi(e,t));break}default:Zn(e,t)}}function xh(e,t){switch(t.tagID){case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY);break}case h.TABLE:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,O0(e,t));break}case h.TBODY:case h.TFOOT:case h.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(h.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,O0(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TD:case h.TH:break;default:Rr(e,t)}}function cb(e,t){const n=t.tagID;Th.has(n)?(e.openElements.hasInTableScope(h.TD)||e.openElements.hasInTableScope(h.TH))&&(e._closeTableCell(),ji(e,t)):nt(e,t)}function hb(e,t){const n=t.tagID;switch(n){case h.TD:case h.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_ROW);break}case h.TABLE:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),xh(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:break;default:Vi(e,t)}}function yh(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.OPTION:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._insertElement(t,X.HTML);break}case h.OPTGROUP:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._insertElement(t,X.HTML);break}case h.HR:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case h.INPUT:case h.KEYGEN:case h.TEXTAREA:case h.SELECT:{e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),t.tagID!==h.SELECT&&e._processStartTag(t));break}case h.SCRIPT:case h.TEMPLATE:{Dt(e,t);break}}}function kh(e,t){switch(t.tagID){case h.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===h.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===h.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop();break}case h.OPTION:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop();break}case h.SELECT:{e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode());break}case h.TEMPLATE:{Fn(e,t);break}}}function fb(e,t){const n=t.tagID;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e._processStartTag(t)):yh(e,t)}function mb(e,t){const n=t.tagID;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e.onEndTag(t)):kh(e,t)}function db(e,t){switch(t.tagID){case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:case h.NOFRAMES:case h.SCRIPT:case h.STYLE:case h.TEMPLATE:case h.TITLE:{Dt(e,t);break}case h.CAPTION:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.tmplInsertionModeStack[0]=_.IN_TABLE,e.insertionMode=_.IN_TABLE,Zn(e,t);break}case h.COL:{e.tmplInsertionModeStack[0]=_.IN_COLUMN_GROUP,e.insertionMode=_.IN_COLUMN_GROUP,Nu(e,t);break}case h.TR:{e.tmplInsertionModeStack[0]=_.IN_TABLE_BODY,e.insertionMode=_.IN_TABLE_BODY,Gi(e,t);break}case h.TD:case h.TH:{e.tmplInsertionModeStack[0]=_.IN_ROW,e.insertionMode=_.IN_ROW,ji(e,t);break}default:e.tmplInsertionModeStack[0]=_.IN_BODY,e.insertionMode=_.IN_BODY,nt(e,t)}}function pb(e,t){t.tagID===h.TEMPLATE&&Fn(e,t)}function Ah(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):_u(e,t)}function gb(e,t){t.tagID===h.HTML?nt(e,t):Ni(e,t)}function vh(e,t){var n;if(t.tagID===h.HTML){if(e.fragmentContext||(e.insertionMode=_.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===h.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Ni(e,t)}function Ni(e,t){e.insertionMode=_.IN_BODY,Yi(e,t)}function bb(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.FRAMESET:{e._insertElement(t,X.HTML);break}case h.FRAME:{e._appendElement(t,X.HTML),t.ackSelfClosing=!0;break}case h.NOFRAMES:{Dt(e,t);break}}}function Eb(e,t){t.tagID===h.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==h.FRAMESET&&(e.insertionMode=_.AFTER_FRAMESET))}function Tb(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.NOFRAMES:{Dt(e,t);break}}}function xb(e,t){t.tagID===h.HTML&&(e.insertionMode=_.AFTER_AFTER_FRAMESET)}function yb(e,t){t.tagID===h.HTML?nt(e,t):pi(e,t)}function pi(e,t){e.insertionMode=_.IN_BODY,Yi(e,t)}function kb(e,t){switch(t.tagID){case h.HTML:{nt(e,t);break}case h.NOFRAMES:{Dt(e,t);break}}}function Ab(e,t){t.chars=Re,e._insertCharacters(t)}function vb(e,t){e._insertCharacters(t),e.framesetOk=!1}function Sh(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==X.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Sb(e,t){if(H8(t))Sh(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===X.MATHML?lh(t):r===X.SVG&&(U8(t),oh(t)),Cu(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function wb(e,t){if(t.tagID===h.P||t.tagID===h.BR){Sh(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===X.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}R.AREA,R.BASE,R.BASEFONT,R.BGSOUND,R.BR,R.COL,R.EMBED,R.FRAME,R.HR,R.IMG,R.INPUT,R.KEYGEN,R.LINK,R.META,R.PARAM,R.SOURCE,R.TRACK,R.WBR;const Cb=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Ib=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),so={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function wh(e,t){const n=Fb(e),r=cc("type",{handlers:{root:_b,element:Nb,text:Db,comment:Ih,doctype:Lb,raw:Mb},unknown:Rb}),i={parser:n?new io(so):io.getFragmentParser(void 0,so),handle(s){r(s,i)},stitches:!1,options:t||{}};r(e,i),sr(i,$t());const a=n?i.parser.document:i.parser.getFragment(),u=z7(a,{file:i.options.file});return i.stitches&&Ri(u,"comment",function(s,l,o){const c=s;if(c.value.stitch&&o&&l!==void 0){const f=o.children;return f[l]=c.value.stitch,l}}),u.type==="root"&&u.children.length===1&&u.children[0].type===e.type?u.children[0]:u}function Ch(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function _b(e,t){Ch(e.children,t)}function Nb(e,t){Pb(e,t),Ch(e.children,t),Bb(e,t)}function Db(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Te.CHARACTER,chars:e.value,location:Vr(e)};sr(t,$t(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Lb(e,t){const n={type:Te.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Vr(e)};sr(t,$t(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Ob(e,t){t.stitches=!0;const n=zb(e);if("children"in e&&"children"in n){const r=wh({type:"root",children:e.children},t.options);n.children=r.children}Ih({type:"comment",value:{stitch:n}},t)}function Ih(e,t){const n=e.value,r={type:Te.COMMENT,data:n,location:Vr(e)};sr(t,$t(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Mb(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,_h(t,$t(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Cb,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Rb(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Ob(n,t);else{let r="";throw Ib.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function sr(e,t){_h(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=qe.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 _h(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function Pb(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===qe.PLAINTEXT)return;sr(t,$t(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Ht.html;i===Ht.html&&n==="svg"&&(i=Ht.svg);const a=Y7({...e,children:[]},{space:i===Ht.svg?"svg":"html"}),u={type:Te.START_TAG,tagName:n,tagID:ur(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Vr(e)};t.parser.currentToken=u,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Bb(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Z7.includes(n)||t.parser.tokenizer.state===qe.PLAINTEXT)return;sr(t,Di(e));const r={type:Te.END_TAG,tagName:n,tagID:ur(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Vr(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===qe.RCDATA||t.parser.tokenizer.state===qe.RAWTEXT||t.parser.tokenizer.state===qe.SCRIPT_DATA)&&(t.parser.tokenizer.state=qe.DATA)}function Fb(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Vr(e){const t=$t(e)||{line:void 0,column:void 0,offset:void 0},n=Di(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function zb(e){return"children"in e?Xn({...e,children:[]}):Xn(e)}function KE(e){return function(t,n){return wh(t,{...e,file:n})}}const Hb={};function Ub(e,t){const n=Hb,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Nh(e,r,i)}function Nh(e,t,n){if(qb(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return lo(e.children,t,n)}return Array.isArray(e)?lo(e,t,n):""}function lo(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Nh(e[i],t,n);return r.join("")}function qb(e){return!!(e&&typeof e=="object")}function qt(e,t,n,r){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<r.length;)u=r.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}function At(e,t){return e.length>0?(qt(e,e.length,0,t),e):t}const oo={}.hasOwnProperty;function $b(e){const t={};let n=-1;for(;++n<e.length;)Yb(t,e[n]);return t}function Yb(e,t){let n;for(n in t){const i=(oo.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let u;if(a)for(u in a){oo.call(i,u)||(i[u]=[]);const s=a[u];Vb(i[u],Array.isArray(s)?s:s?[s]:[])}}}function Vb(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);qt(e,0,0,r)}const Gb=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Bt=Sn(/[A-Za-z]/),Nt=Sn(/[\dA-Za-z]/),jb=Sn(/[#-'*+\--9=?A-Z^-~]/);function M0(e){return e!==null&&(e<32||e===127)}const R0=Sn(/\d/),Wb=Sn(/[\dA-Fa-f]/),Xb=Sn(/[!-/:-@[-`{-~]/);function me(e){return e!==null&&e<-2}function mt(e){return e!==null&&(e<0||e===32)}function Se(e){return e===-2||e===-1||e===32}const Qb=Sn(Gb),Kb=Sn(/\s/);function Sn(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function Le(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(l){return Se(l)?(e.enter(n),s(l)):t(l)}function s(l){return Se(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}const Zb={tokenize:Jb};function Jb(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Le(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,u(s)}function u(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return me(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),u)}}const e9={tokenize:t9},co={tokenize:n9};function t9(e){const t=this,n=[];let r=0,i,a,u;return s;function s(O){if(r<n.length){const j=n[r];return t.containerState=j[1],e.attempt(j[0].continuation,l,o)(O)}return o(O)}function l(O){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&D();const j=t.events.length;let $=j,w;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){w=t.events[$][1].end;break}k(r);let V=j;for(;V<t.events.length;)t.events[V][1].end=Object.assign({},w),V++;return qt(t.events,$+1,0,t.events.slice(j)),t.events.length=V,o(O)}return s(O)}function o(O){if(r===n.length){if(!i)return p(O);if(i.currentConstruct&&i.currentConstruct.concrete)return y(O);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(co,c,f)(O)}function c(O){return i&&D(),k(r),p(O)}function f(O){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,y(O)}function p(O){return t.containerState={},e.attempt(co,m,y)(O)}function m(O){return r++,n.push([t.currentConstruct,t.containerState]),p(O)}function y(O){if(O===null){i&&D(),k(0),e.consume(O);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),v(O)}function v(O){if(O===null){N(e.exit("chunkFlow"),!0),k(0),e.consume(O);return}return me(O)?(e.consume(O),N(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(O),v)}function N(O,j){const $=t.sliceStream(O);if(j&&$.push(null),O.previous=a,a&&(a.next=O),a=O,i.defineSkip(O.start),i.write($),t.parser.lazy[O.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<u&&(!i.events[w][1].end||i.events[w][1].end.offset>u))return;const V=t.events.length;let ee=V,G,P;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){P=t.events[ee][1].end;break}G=!0}for(k(r),w=V;w<t.events.length;)t.events[w][1].end=Object.assign({},P),w++;qt(t.events,ee+1,0,t.events.slice(V)),t.events.length=w}}function k(O){let j=n.length;for(;j-- >O;){const $=n[j];t.containerState=$[1],$[0].exit.call(t,e)}n.length=O}function D(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function n9(e,t,n){return Le(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ho(e){if(e===null||mt(e)||Kb(e))return 1;if(Qb(e))return 2}function Du(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const P0={name:"attention",tokenize:i9,resolveAll:r9};function r9(e,t){let n=-1,r,i,a,u,s,l,o,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),p=Object.assign({},e[n][1].start);fo(f,-l),fo(p,l),u={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:p},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},u.start),e[n][1].start=Object.assign({},s.end),o=[],e[r][1].end.offset-e[r][1].start.offset&&(o=At(o,[["enter",e[r][1],t],["exit",e[r][1],t]])),o=At(o,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),o=At(o,Du(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),o=At(o,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,o=At(o,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,qt(e,r-1,n-r+3,o),n=r+o.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function i9(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ho(r);let a;return u;function u(l){return a=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===a)return e.consume(l),s;const o=e.exit("attentionSequence"),c=ho(l),f=!c||c===2&&i||n.includes(l),p=!i||i===2&&c||n.includes(r);return o._open=!!(a===42?f:f&&(i||!p)),o._close=!!(a===42?p:p&&(c||!f)),t(l)}}function fo(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const a9={name:"autolink",tokenize:u9};function u9(e,t,n){let r=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 Bt(m)?(e.consume(m),u):o(m)}function u(m){return m===43||m===45||m===46||Nt(m)?(r=1,s(m)):o(m)}function s(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||Nt(m))&&r++<32?(e.consume(m),s):(r=0,o(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||M0(m)?n(m):(e.consume(m),l)}function o(m){return m===64?(e.consume(m),c):jb(m)?(e.consume(m),o):n(m)}function c(m){return Nt(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,c):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):p(m)}function p(m){if((m===45||Nt(m))&&r++<63){const y=m===45?p:f;return e.consume(m),y}return n(m)}}const Wi={tokenize:s9,partial:!0};function s9(e,t,n){return r;function r(a){return Se(a)?Le(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||me(a)?t(a):n(a)}}const Dh={name:"blockQuote",tokenize:l9,continuation:{tokenize:o9},exit:c9};function l9(e,t,n){const r=this;return i;function i(u){if(u===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return n(u)}function a(u){return Se(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function o9(e,t,n){const r=this;return i;function i(u){return Se(u)?Le(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return e.attempt(Dh,t,n)(u)}}function c9(e){e.exit("blockQuote")}const Lh={name:"characterEscape",tokenize:h9};function h9(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return Xb(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Oh={name:"characterReference",tokenize:f9};function f9(e,t,n){const r=this;let i=0,a,u;return s;function s(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"),o):(e.enter("characterReferenceValue"),a=31,u=Nt,c(f))}function o(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=Wb,c):(e.enter("characterReferenceValue"),a=7,u=R0,c(f))}function c(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return u===Nt&&!tr(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(f)&&i++<a?(e.consume(f),c):n(f)}}const mo={tokenize:d9,partial:!0},po={name:"codeFenced",tokenize:m9,concrete:!0};function m9(e,t,n){const r=this,i={tokenize:$,partial:!0};let a=0,u=0,s;return l;function l(w){return o(w)}function o(w){const V=r.events[r.events.length-1];return a=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,s=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(w)}function c(w){return w===s?(u++,e.consume(w),c):u<3?n(w):(e.exit("codeFencedFenceSequence"),Se(w)?Le(e,f,"whitespace")(w):f(w))}function f(w){return w===null||me(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(mo,v,j)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===null||me(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(w)):Se(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Le(e,m,"whitespace")(w)):w===96&&w===s?n(w):(e.consume(w),p)}function m(w){return w===null||me(w)?f(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(w))}function y(w){return w===null||me(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(w)):w===96&&w===s?n(w):(e.consume(w),y)}function v(w){return e.attempt(i,j,N)(w)}function N(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),k}function k(w){return a>0&&Se(w)?Le(e,D,"linePrefix",a+1)(w):D(w)}function D(w){return w===null||me(w)?e.check(mo,v,j)(w):(e.enter("codeFlowValue"),O(w))}function O(w){return w===null||me(w)?(e.exit("codeFlowValue"),D(w)):(e.consume(w),O)}function j(w){return e.exit("codeFenced"),t(w)}function $(w,V,ee){let G=0;return P;function P(Y){return w.enter("lineEnding"),w.consume(Y),w.exit("lineEnding"),H}function H(Y){return w.enter("codeFencedFence"),Se(Y)?Le(w,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):F(Y)}function F(Y){return Y===s?(w.enter("codeFencedFenceSequence"),ue(Y)):ee(Y)}function ue(Y){return Y===s?(G++,w.consume(Y),ue):G>=u?(w.exit("codeFencedFenceSequence"),Se(Y)?Le(w,te,"whitespace")(Y):te(Y)):ee(Y)}function te(Y){return Y===null||me(Y)?(w.exit("codeFencedFence"),V(Y)):ee(Y)}}}function d9(e,t,n){const r=this;return i;function i(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const t0={name:"codeIndented",tokenize:g9},p9={tokenize:b9,partial:!0};function g9(e,t,n){const r=this;return i;function i(o){return e.enter("codeIndented"),Le(e,a,"linePrefix",5)(o)}function a(o){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?u(o):n(o)}function u(o){return o===null?l(o):me(o)?e.attempt(p9,u,l)(o):(e.enter("codeFlowValue"),s(o))}function s(o){return o===null||me(o)?(e.exit("codeFlowValue"),u(o)):(e.consume(o),s)}function l(o){return e.exit("codeIndented"),t(o)}}function b9(e,t,n){const r=this;return i;function i(u){return r.parser.lazy[r.now().line]?n(u):me(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):Le(e,a,"linePrefix",5)(u)}function a(u){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):me(u)?i(u):n(u)}}const E9={name:"codeText",tokenize:y9,resolve:T9,previous:x9};function T9(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function x9(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function y9(e,t,n){let r=0,i,a;return u;function u(f){return e.enter("codeText"),e.enter("codeTextSequence"),s(f)}function s(f){return f===96?(e.consume(f),r++,s):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(a=e.enter("codeTextSequence"),i=0,c(f)):me(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),o(f))}function o(f){return f===null||f===32||f===96||me(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),o)}function c(f){return f===96?(e.consume(f),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",o(f))}}function Mh(e){const t={};let n=-1,r,i,a,u,s,l,o;for(;++n<e.length;){for(;n in t;)n=t[n];if(r=e[n],n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"&&(l=r[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(r[0]==="enter")r[1].contentType&&(Object.assign(t,k9(e,n)),n=t[n],o=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(u=e[a],u[1].type==="lineEnding"||u[1].type==="lineEndingBlank");)u[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);i&&(r[1].end=Object.assign({},e[i][1].start),s=e.slice(i,n),s.unshift(r),qt(e,i,n-i+1,s))}}return!o}function k9(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const a=[],u=n._tokenizer||r.parser[n.contentType](n.start),s=u.events,l=[],o={};let c,f,p=-1,m=n,y=0,v=0;const N=[v];for(;m;){for(;e[++i][1]!==m;);a.push(i),m._tokenizer||(c=r.sliceStream(m),m.next||c.push(null),f&&u.defineSkip(m.start),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(c),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++p<s.length;)s[p][0]==="exit"&&s[p-1][0]==="enter"&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(v=p+1,N.push(v),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(u.events=[],m?(m._tokenizer=void 0,m.previous=void 0):N.pop(),p=N.length;p--;){const k=s.slice(N[p],N[p+1]),D=a.pop();l.unshift([D,D+k.length-1]),qt(e,D,2,k)}for(p=-1;++p<l.length;)o[y+l[p][0]]=y+l[p][1],y+=l[p][1]-l[p][0]-1;return o}const A9={tokenize:w9,resolve:S9},v9={tokenize:C9,partial:!0};function S9(e){return Mh(e),e}function w9(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):me(s)?e.check(v9,u,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function u(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function C9(e,t,n){const r=this;return i;function i(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Le(e,a,"linePrefix")}function a(u){if(u===null||me(u))return n(u);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,n,t)(u)}}function Rh(e,t,n,r,i,a,u,s,l){const o=l||Number.POSITIVE_INFINITY;let c=0;return f;function f(k){return k===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(k),e.exit(a),p):k===null||k===32||k===41||M0(k)?n(k):(e.enter(r),e.enter(u),e.enter(s),e.enter("chunkString",{contentType:"string"}),v(k))}function p(k){return k===62?(e.enter(a),e.consume(k),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===62?(e.exit("chunkString"),e.exit(s),p(k)):k===null||k===60||me(k)?n(k):(e.consume(k),k===92?y:m)}function y(k){return k===60||k===62||k===92?(e.consume(k),m):m(k)}function v(k){return!c&&(k===null||k===41||mt(k))?(e.exit("chunkString"),e.exit(s),e.exit(u),e.exit(r),t(k)):c<o&&k===40?(e.consume(k),c++,v):k===41?(e.consume(k),c--,v):k===null||k===32||k===40||M0(k)?n(k):(e.consume(k),k===92?N:v)}function N(k){return k===40||k===41||k===92?(e.consume(k),v):v(k)}}function Ph(e,t,n,r,i,a){const u=this;let s=0,l;return o;function o(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),c}function c(m){return s>999||m===null||m===91||m===93&&!l||m===94&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):me(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||me(m)||s++>999?(e.exit("chunkString"),c(m)):(e.consume(m),l||(l=!Se(m)),m===92?p:f)}function p(m){return m===91||m===92||m===93?(e.consume(m),s++,f):f(m)}}function Bh(e,t,n,r,i,a){let u;return s;function s(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),u=p===40?41:p,l):n(p)}function l(p){return p===u?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),o(p))}function o(p){return p===u?(e.exit(a),l(u)):p===null?n(p):me(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Le(e,o,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===u||p===null||me(p)?(e.exit("chunkString"),o(p)):(e.consume(p),p===92?f:c)}function f(p){return p===u||p===92?(e.consume(p),c):c(p)}}function Ir(e,t){let n;return r;function r(i){return me(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Se(i)?Le(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function Wn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const I9={name:"definition",tokenize:N9},_9={tokenize:D9,partial:!0};function N9(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),u(m)}function u(m){return Ph.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=Wn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return mt(m)?Ir(e,o)(m):o(m)}function o(m){return Rh(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(_9,f,f)(m)}function f(m){return Se(m)?Le(e,p,"whitespace")(m):p(m)}function p(m){return m===null||me(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function D9(e,t,n){return r;function r(s){return mt(s)?Ir(e,i)(s):n(s)}function i(s){return Bh(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Se(s)?Le(e,u,"whitespace")(s):u(s)}function u(s){return s===null||me(s)?t(s):n(s)}}const L9={name:"hardBreakEscape",tokenize:O9};function O9(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return me(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const M9={name:"headingAtx",tokenize:P9,resolve:R9};function R9(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},qt(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function P9(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),u(c)}function u(c){return c===35&&r++<6?(e.consume(c),u):c===null||mt(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||me(c)?(e.exit("atxHeading"),t(c)):Se(c)?Le(e,s,"whitespace")(c):(e.enter("atxHeadingText"),o(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function o(c){return c===null||c===35||mt(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),o)}}const B9=["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"],go=["pre","script","style","textarea"],F9={name:"htmlFlow",tokenize:q9,resolveTo:U9,concrete:!0},z9={tokenize:Y9,partial:!0},H9={tokenize:$9,partial:!0};function U9(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 q9(e,t,n){const r=this;let i,a,u,s,l;return o;function o(E){return c(E)}function c(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),f}function f(E){return E===33?(e.consume(E),p):E===47?(e.consume(E),a=!0,v):E===63?(e.consume(E),i=3,r.interrupt?t:b):Bt(E)?(e.consume(E),u=String.fromCharCode(E),N):n(E)}function p(E){return E===45?(e.consume(E),i=2,m):E===91?(e.consume(E),i=5,s=0,y):Bt(E)?(e.consume(E),i=4,r.interrupt?t:b):n(E)}function m(E){return E===45?(e.consume(E),r.interrupt?t:b):n(E)}function y(E){const Ie="CDATA[";return E===Ie.charCodeAt(s++)?(e.consume(E),s===Ie.length?r.interrupt?t:F:y):n(E)}function v(E){return Bt(E)?(e.consume(E),u=String.fromCharCode(E),N):n(E)}function N(E){if(E===null||E===47||E===62||mt(E)){const Ie=E===47,Ue=u.toLowerCase();return!Ie&&!a&&go.includes(Ue)?(i=1,r.interrupt?t(E):F(E)):B9.includes(u.toLowerCase())?(i=6,Ie?(e.consume(E),k):r.interrupt?t(E):F(E)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(E):a?D(E):O(E))}return E===45||Nt(E)?(e.consume(E),u+=String.fromCharCode(E),N):n(E)}function k(E){return E===62?(e.consume(E),r.interrupt?t:F):n(E)}function D(E){return Se(E)?(e.consume(E),D):P(E)}function O(E){return E===47?(e.consume(E),P):E===58||E===95||Bt(E)?(e.consume(E),j):Se(E)?(e.consume(E),O):P(E)}function j(E){return E===45||E===46||E===58||E===95||Nt(E)?(e.consume(E),j):$(E)}function $(E){return E===61?(e.consume(E),w):Se(E)?(e.consume(E),$):O(E)}function w(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),l=E,V):Se(E)?(e.consume(E),w):ee(E)}function V(E){return E===l?(e.consume(E),l=null,G):E===null||me(E)?n(E):(e.consume(E),V)}function ee(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||mt(E)?$(E):(e.consume(E),ee)}function G(E){return E===47||E===62||Se(E)?O(E):n(E)}function P(E){return E===62?(e.consume(E),H):n(E)}function H(E){return E===null||me(E)?F(E):Se(E)?(e.consume(E),H):n(E)}function F(E){return E===45&&i===2?(e.consume(E),le):E===60&&i===1?(e.consume(E),de):E===62&&i===4?(e.consume(E),ye):E===63&&i===3?(e.consume(E),b):E===93&&i===5?(e.consume(E),Be):me(E)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(z9,ke,ue)(E)):E===null||me(E)?(e.exit("htmlFlowData"),ue(E)):(e.consume(E),F)}function ue(E){return e.check(H9,te,ke)(E)}function te(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),Y}function Y(E){return E===null||me(E)?ue(E):(e.enter("htmlFlowData"),F(E))}function le(E){return E===45?(e.consume(E),b):F(E)}function de(E){return E===47?(e.consume(E),u="",we):F(E)}function we(E){if(E===62){const Ie=u.toLowerCase();return go.includes(Ie)?(e.consume(E),ye):F(E)}return Bt(E)&&u.length<8?(e.consume(E),u+=String.fromCharCode(E),we):F(E)}function Be(E){return E===93?(e.consume(E),b):F(E)}function b(E){return E===62?(e.consume(E),ye):E===45&&i===2?(e.consume(E),b):F(E)}function ye(E){return E===null||me(E)?(e.exit("htmlFlowData"),ke(E)):(e.consume(E),ye)}function ke(E){return e.exit("htmlFlow"),t(E)}}function $9(e,t,n){const r=this;return i;function i(u){return me(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):n(u)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function Y9(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Wi,t,n)}}const V9={name:"htmlText",tokenize:G9};function G9(e,t,n){const r=this;let i,a,u;return s;function s(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),l}function l(b){return b===33?(e.consume(b),o):b===47?(e.consume(b),$):b===63?(e.consume(b),O):Bt(b)?(e.consume(b),ee):n(b)}function o(b){return b===45?(e.consume(b),c):b===91?(e.consume(b),a=0,y):Bt(b)?(e.consume(b),D):n(b)}function c(b){return b===45?(e.consume(b),m):n(b)}function f(b){return b===null?n(b):b===45?(e.consume(b),p):me(b)?(u=f,de(b)):(e.consume(b),f)}function p(b){return b===45?(e.consume(b),m):f(b)}function m(b){return b===62?le(b):b===45?p(b):f(b)}function y(b){const ye="CDATA[";return b===ye.charCodeAt(a++)?(e.consume(b),a===ye.length?v:y):n(b)}function v(b){return b===null?n(b):b===93?(e.consume(b),N):me(b)?(u=v,de(b)):(e.consume(b),v)}function N(b){return b===93?(e.consume(b),k):v(b)}function k(b){return b===62?le(b):b===93?(e.consume(b),k):v(b)}function D(b){return b===null||b===62?le(b):me(b)?(u=D,de(b)):(e.consume(b),D)}function O(b){return b===null?n(b):b===63?(e.consume(b),j):me(b)?(u=O,de(b)):(e.consume(b),O)}function j(b){return b===62?le(b):O(b)}function $(b){return Bt(b)?(e.consume(b),w):n(b)}function w(b){return b===45||Nt(b)?(e.consume(b),w):V(b)}function V(b){return me(b)?(u=V,de(b)):Se(b)?(e.consume(b),V):le(b)}function ee(b){return b===45||Nt(b)?(e.consume(b),ee):b===47||b===62||mt(b)?G(b):n(b)}function G(b){return b===47?(e.consume(b),le):b===58||b===95||Bt(b)?(e.consume(b),P):me(b)?(u=G,de(b)):Se(b)?(e.consume(b),G):le(b)}function P(b){return b===45||b===46||b===58||b===95||Nt(b)?(e.consume(b),P):H(b)}function H(b){return b===61?(e.consume(b),F):me(b)?(u=H,de(b)):Se(b)?(e.consume(b),H):G(b)}function F(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),i=b,ue):me(b)?(u=F,de(b)):Se(b)?(e.consume(b),F):(e.consume(b),te)}function ue(b){return b===i?(e.consume(b),i=void 0,Y):b===null?n(b):me(b)?(u=ue,de(b)):(e.consume(b),ue)}function te(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||mt(b)?G(b):(e.consume(b),te)}function Y(b){return b===47||b===62||mt(b)?G(b):n(b)}function le(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),t):n(b)}function de(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),we}function we(b){return Se(b)?Le(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):Be(b)}function Be(b){return e.enter("htmlTextData"),u(b)}}const Lu={name:"labelEnd",tokenize:Z9,resolveTo:K9,resolveAll:Q9},j9={tokenize:J9},W9={tokenize:eE},X9={tokenize:tE};function Q9(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function K9(e,t){let n=e.length,r=0,i,a,u,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(u=n);const l={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[u][1].end)},c={type:"labelText",start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[u-2][1].start)};return s=[["enter",l,t],["enter",o,t]],s=At(s,e.slice(a+1,a+r+3)),s=At(s,[["enter",c,t]]),s=At(s,Du(t.parser.constructs.insideSpan.null,e.slice(a+r+4,u-3),t)),s=At(s,[["exit",c,t],e[u-2],e[u-1],["exit",o,t]]),s=At(s,e.slice(u+1)),s=At(s,[["exit",l,t]]),qt(e,a,e.length,s),e}function Z9(e,t,n){const r=this;let i=r.events.length,a,u;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(p){return a?a._inactive?f(p):(u=r.parser.defined.includes(Wn(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(j9,c,u?c:f)(p):p===91?e.attempt(W9,c,u?o:f)(p):u?c(p):f(p)}function o(p){return e.attempt(X9,c,f)(p)}function c(p){return t(p)}function f(p){return a._balanced=!0,n(p)}}function J9(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return mt(f)?Ir(e,a)(f):a(f)}function a(f){return f===41?c(f):Rh(e,u,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function u(f){return mt(f)?Ir(e,l)(f):c(f)}function s(f){return n(f)}function l(f){return f===34||f===39||f===40?Bh(e,o,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function o(f){return mt(f)?Ir(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function eE(e,t,n){const r=this;return i;function i(s){return Ph.call(r,e,a,u,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(Wn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function u(s){return n(s)}}function tE(e,t,n){return r;function r(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):n(a)}}const nE={name:"labelStartImage",tokenize:rE,resolveAll:Lu.resolveAll};function rE(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),u):n(s)}function u(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const iE={name:"labelStartLink",tokenize:aE,resolveAll:Lu.resolveAll};function aE(e,t,n){const r=this;return i;function i(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const n0={name:"lineEnding",tokenize:uE};function uE(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Le(e,t,"linePrefix")}}const gi={name:"thematicBreak",tokenize:sE};function sE(e,t,n){let r=0,i;return a;function a(o){return e.enter("thematicBreak"),u(o)}function u(o){return i=o,s(o)}function s(o){return o===i?(e.enter("thematicBreakSequence"),l(o)):r>=3&&(o===null||me(o))?(e.exit("thematicBreak"),t(o)):n(o)}function l(o){return o===i?(e.consume(o),r++,l):(e.exit("thematicBreakSequence"),Se(o)?Le(e,s,"whitespace")(o):s(o))}}const ot={name:"list",tokenize:cE,continuation:{tokenize:hE},exit:mE},lE={tokenize:dE,partial:!0},oE={tokenize:fE,partial:!0};function cE(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return s;function s(m){const y=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:R0(m)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(gi,n,o)(m):o(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return R0(m)&&++u<10?(e.consume(m),l):(!r.interrupt||u<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),o(m)):n(m)}function o(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Wi,r.interrupt?n:c,e.attempt(lE,p,f))}function c(m){return r.containerState.initialBlankLine=!0,a++,p(m)}function f(m){return Se(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),p):n(m)}function p(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function hE(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Wi,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Le(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Se(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(oE,t,u)(s))}function u(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Le(e,e.attempt(ot,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function fE(e,t,n){const r=this;return Le(e,i,"listItemIndent",r.containerState.size+1);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(a):n(a)}}function mE(e){e.exit(this.containerState.type)}function dE(e,t,n){const r=this;return Le(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const u=r.events[r.events.length-1];return!Se(a)&&u&&u[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const bo={name:"setextUnderline",tokenize:gE,resolveTo:pE};function pE(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const u={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",u,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=u,e.push(["exit",u,t]),e}function gE(e,t,n){const r=this;let i;return a;function a(o){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=o,u(o)):n(o)}function u(o){return e.enter("setextHeadingLineSequence"),s(o)}function s(o){return o===i?(e.consume(o),s):(e.exit("setextHeadingLineSequence"),Se(o)?Le(e,l,"lineSuffix")(o):l(o))}function l(o){return o===null||me(o)?(e.exit("setextHeadingLine"),t(o)):n(o)}}const bE={tokenize:EE};function EE(e){const t=this,n=e.attempt(Wi,r,e.attempt(this.parser.constructs.flowInitial,i,Le(e,e.attempt(this.parser.constructs.flow,i,e.attempt(A9,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const TE={resolveAll:zh()},xE=Fh("string"),yE=Fh("text");function Fh(e){return{tokenize:t,resolveAll:zh(e==="text"?kE:void 0)};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,u,s);return u;function u(c){return o(c)?a(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),l}function l(c){return o(c)?(n.exit("data"),a(c)):(n.consume(c),l)}function o(c){if(c===null)return!0;const f=i[c];let p=-1;if(f)for(;++p<f.length;){const m=f[p];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function zh(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function kE(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,u=-1,s=0,l;for(;a--;){const o=i[a];if(typeof o=="string"){for(u=o.length;o.charCodeAt(u-1)===32;)s++,u--;if(u)break;u=-1}else if(o===-2)l=!0,s++;else if(o!==-1){a++;break}}if(s){const o={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?u:r.start._bufferIndex+u},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function AE(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let u=[],s=[];const l={consume:D,enter:O,exit:j,attempt:V($),check:V(w),interrupt:V(w,{interrupt:!0})},o={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:p,now:y,defineSkip:v,write:f};let c=t.tokenize.call(o,l);return t.resolveAll&&a.push(t),o;function f(H){return u=At(u,H),N(),u[u.length-1]!==null?[]:(ee(t,0),o.events=Du(a,o.events,o),o.events)}function p(H,F){return SE(m(H),F)}function m(H){return vE(u,H)}function y(){const{line:H,column:F,offset:ue,_index:te,_bufferIndex:Y}=r;return{line:H,column:F,offset:ue,_index:te,_bufferIndex:Y}}function v(H){i[H.line]=H.column,P()}function N(){let H;for(;r._index<u.length;){const F=u[r._index];if(typeof F=="string")for(H=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<F.length;)k(F.charCodeAt(r._bufferIndex));else k(F)}}function k(H){c=c(H)}function D(H){me(H)?(r.line++,r.column=1,r.offset+=H===-3?2:1,P()):H!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),o.previous=H}function O(H,F){const ue=F||{};return ue.type=H,ue.start=y(),o.events.push(["enter",ue,o]),s.push(ue),ue}function j(H){const F=s.pop();return F.end=y(),o.events.push(["exit",F,o]),F}function $(H,F){ee(H,F.from)}function w(H,F){F.restore()}function V(H,F){return ue;function ue(te,Y,le){let de,we,Be,b;return Array.isArray(te)?ke(te):"tokenize"in te?ke([te]):ye(te);function ye(Ee){return Ge;function Ge(Me){const Qe=Me!==null&&Ee[Me],Ke=Me!==null&&Ee.null,Lt=[...Array.isArray(Qe)?Qe:Qe?[Qe]:[],...Array.isArray(Ke)?Ke:Ke?[Ke]:[]];return ke(Lt)(Me)}}function ke(Ee){return de=Ee,we=0,Ee.length===0?le:E(Ee[we])}function E(Ee){return Ge;function Ge(Me){return b=G(),Be=Ee,Ee.partial||(o.currentConstruct=Ee),Ee.name&&o.parser.constructs.disable.null.includes(Ee.name)?Ue():Ee.tokenize.call(F?Object.assign(Object.create(o),F):o,l,Ie,Ue)(Me)}}function Ie(Ee){return H(Be,b),Y}function Ue(Ee){return b.restore(),++we<de.length?E(de[we]):le}}}function ee(H,F){H.resolveAll&&!a.includes(H)&&a.push(H),H.resolve&&qt(o.events,F,o.events.length-F,H.resolve(o.events.slice(F),o)),H.resolveTo&&(o.events=H.resolveTo(o.events,o))}function G(){const H=y(),F=o.previous,ue=o.currentConstruct,te=o.events.length,Y=Array.from(s);return{restore:le,from:te};function le(){r=H,o.previous=F,o.currentConstruct=ue,o.events.length=te,s=Y,P()}}function P(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function vE(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let u;if(n===i)u=[e[n].slice(r,a)];else{if(u=e.slice(n,i),r>-1){const s=u[0];typeof s=="string"?u[0]=s.slice(r):u.shift()}a>0&&u.push(e[i].slice(0,a))}return u}function SE(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
297
- `;break}case-3:{u=`\r
298
- `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,r.push(u)}return r.join("")}const wE={42:ot,43:ot,45:ot,48:ot,49:ot,50:ot,51:ot,52:ot,53:ot,54:ot,55:ot,56:ot,57:ot,62:Dh},CE={91:I9},IE={[-2]:t0,[-1]:t0,32:t0},_E={35:M9,42:gi,45:[bo,gi],60:F9,61:bo,95:gi,96:po,126:po},NE={38:Oh,92:Lh},DE={[-5]:n0,[-4]:n0,[-3]:n0,33:nE,38:Oh,42:P0,60:[a9,V9],91:iE,92:[L9,Lh],93:Lu,95:P0,96:E9},LE={null:[P0,TE]},OE={null:[42,95]},ME={null:[]},RE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:OE,contentInitial:CE,disable:ME,document:wE,flow:_E,flowInitial:IE,insideSpan:LE,string:NE,text:DE},Symbol.toStringTag,{value:"Module"}));function PE(e){const n=$b([RE,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(Zb),document:i(e9),flow:i(bE),string:i(xE),text:i(yE)};return r;function i(a){return u;function u(s){return AE(r,a,s)}}}const Eo=/[\0\t\n\r]/g;function BE(){let e=1,t="",n=!0,r;return i;function i(a,u,s){const l=[];let o,c,f,p,m;for(a=t+a.toString(u),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(Eo.lastIndex=f,o=Eo.exec(a),p=o&&o.index!==void 0?o.index:a.length,m=a.charCodeAt(p),!o){t=a.slice(f);break}if(m===10&&f===p&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<p&&(l.push(a.slice(f,p)),e+=p-f),m){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function FE(e){for(;!Mh(e););return e}function Hh(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const zE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function HE(e){return e.replace(zE,UE)}function UE(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Hh(n.slice(a?2:1),a?16:10)}return tr(n)||e}function bi(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?To(e.position):"start"in e||"end"in e?To(e):"line"in e||"column"in e?B0(e):""}function B0(e){return xo(e&&e.line)+":"+xo(e&&e.column)}function To(e){return B0(e&&e.start)+"-"+B0(e&&e.end)}function xo(e){return e&&typeof e=="number"?e:1}const Uh={}.hasOwnProperty,ZE=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),qE(n)(FE(PE(n).document().write(BE()(e,t,!0))))};function qE(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(or),autolinkProtocol:H,autolinkEmail:H,atxHeading:s(hn),blockQuote:s(Lt),characterEscape:H,characterReference:H,codeFenced:s(zn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(zn,l),codeText:s(lr,l),codeTextData:H,data:H,codeFlowValue:H,definition:s(wn),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(Cn),hardBreakEscape:s(Wt),hardBreakTrailing:s(Wt),htmlFlow:s(Xt,l),htmlFlowData:H,htmlText:s(Xt,l),htmlTextData:H,image:s(Qt),label:l,link:s(or),listItem:s(Xi),listItemValue:y,listOrdered:s(Gr,m),listUnordered:s(Gr),paragraph:s(Qi),reference:Ue,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(hn),strong:s(Ki),thematicBreak:s(q)},exit:{atxHeading:c(),atxHeadingSequence:V,autolink:c(),autolinkEmail:Ke,autolinkProtocol:Qe,blockQuote:c(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:Ge,characterReferenceMarkerNumeric:Ge,characterReferenceValue:Me,codeFenced:c(D),codeFencedFence:k,codeFencedFenceInfo:v,codeFencedFenceMeta:N,codeFlowValue:F,codeIndented:c(O),codeText:c(de),codeTextData:F,data:F,definition:c(),definitionDestinationString:w,definitionLabelString:j,definitionTitleString:$,emphasis:c(),hardBreakEscape:c(te),hardBreakTrailing:c(te),htmlFlow:c(Y),htmlFlowData:F,htmlText:c(le),htmlTextData:F,image:c(Be),label:ye,labelText:b,lineEnding:ue,link:c(we),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Ee,resourceDestinationString:ke,resourceTitleString:E,resource:Ie,setextHeading:c(P),setextHeadingLineSequence:G,setextHeadingText:ee,strong:c(),thematicBreak:c()}};qh(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(L){let U={type:"root",children:[]};const ne={stack:[U],tokenStack:[],config:t,enter:o,exit:f,buffer:l,resume:p,setData:a,getData:u},se=[];let be=-1;for(;++be<L.length;)if(L[be][1].type==="listOrdered"||L[be][1].type==="listUnordered")if(L[be][0]==="enter")se.push(be);else{const je=se.pop();be=i(L,je,be)}for(be=-1;++be<L.length;){const je=t[L[be][0]];Uh.call(je,L[be][1].type)&&je[L[be][1].type].call(Object.assign({sliceSerialize:L[be][2].sliceSerialize},ne),L[be][1])}if(ne.tokenStack.length>0){const je=ne.tokenStack[ne.tokenStack.length-1];(je[1]||yo).call(ne,void 0,je[0])}for(U.position={start:pn(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:pn(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},be=-1;++be<t.transforms.length;)U=t.transforms[be](U)||U;return U}function i(L,U,ne){let se=U-1,be=-1,je=!1,Ze,rt,Ct,We;for(;++se<=ne;){const Ce=L[se];if(Ce[1].type==="listUnordered"||Ce[1].type==="listOrdered"||Ce[1].type==="blockQuote"?(Ce[0]==="enter"?be++:be--,We=void 0):Ce[1].type==="lineEndingBlank"?Ce[0]==="enter"&&(Ze&&!We&&!be&&!Ct&&(Ct=se),We=void 0):Ce[1].type==="linePrefix"||Ce[1].type==="listItemValue"||Ce[1].type==="listItemMarker"||Ce[1].type==="listItemPrefix"||Ce[1].type==="listItemPrefixWhitespace"||(We=void 0),!be&&Ce[0]==="enter"&&Ce[1].type==="listItemPrefix"||be===-1&&Ce[0]==="exit"&&(Ce[1].type==="listUnordered"||Ce[1].type==="listOrdered")){if(Ze){let gt=se;for(rt=void 0;gt--;){const Kt=L[gt];if(Kt[1].type==="lineEnding"||Kt[1].type==="lineEndingBlank"){if(Kt[0]==="exit")continue;rt&&(L[rt][1].type="lineEndingBlank",je=!0),Kt[1].type="lineEnding",rt=gt}else if(!(Kt[1].type==="linePrefix"||Kt[1].type==="blockQuotePrefix"||Kt[1].type==="blockQuotePrefixWhitespace"||Kt[1].type==="blockQuoteMarker"||Kt[1].type==="listItemIndent"))break}Ct&&(!rt||Ct<rt)&&(Ze._spread=!0),Ze.end=Object.assign({},rt?L[rt][1].start:Ce[1].end),L.splice(rt||se,0,["exit",Ze,Ce[2]]),se++,ne++}Ce[1].type==="listItemPrefix"&&(Ze={type:"listItem",_spread:!1,start:Object.assign({},Ce[1].start),end:void 0},L.splice(se,0,["enter",Ze,Ce[2]]),se++,ne++,Ct=void 0,We=!0)}}return L[U][1]._spread=je,ne}function a(L,U){n[L]=U}function u(L){return n[L]}function s(L,U){return ne;function ne(se){o.call(this,L(se),se),U&&U.call(this,se)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(L,U,ne){return this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([U,ne]),L.position={start:pn(U.start)},L}function c(L){return U;function U(ne){L&&L.call(this,ne),f.call(this,ne)}}function f(L,U){const ne=this.stack.pop(),se=this.tokenStack.pop();if(se)se[0].type!==L.type&&(U?U.call(this,L,se[0]):(se[1]||yo).call(this,L,se[0]));else throw new Error("Cannot close `"+L.type+"` ("+bi({start:L.start,end:L.end})+"): it’s not open");return ne.position.end=pn(L.end),ne}function p(){return Ub(this.stack.pop())}function m(){a("expectingFirstListItemValue",!0)}function y(L){if(u("expectingFirstListItemValue")){const U=this.stack[this.stack.length-2];U.start=Number.parseInt(this.sliceSerialize(L),10),a("expectingFirstListItemValue")}}function v(){const L=this.resume(),U=this.stack[this.stack.length-1];U.lang=L}function N(){const L=this.resume(),U=this.stack[this.stack.length-1];U.meta=L}function k(){u("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function D(){const L=this.resume(),U=this.stack[this.stack.length-1];U.value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function O(){const L=this.resume(),U=this.stack[this.stack.length-1];U.value=L.replace(/(\r?\n|\r)$/g,"")}function j(L){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.label=U,ne.identifier=Wn(this.sliceSerialize(L)).toLowerCase()}function $(){const L=this.resume(),U=this.stack[this.stack.length-1];U.title=L}function w(){const L=this.resume(),U=this.stack[this.stack.length-1];U.url=L}function V(L){const U=this.stack[this.stack.length-1];if(!U.depth){const ne=this.sliceSerialize(L).length;U.depth=ne}}function ee(){a("setextHeadingSlurpLineEnding",!0)}function G(L){const U=this.stack[this.stack.length-1];U.depth=this.sliceSerialize(L).charCodeAt(0)===61?1:2}function P(){a("setextHeadingSlurpLineEnding")}function H(L){const U=this.stack[this.stack.length-1];let ne=U.children[U.children.length-1];(!ne||ne.type!=="text")&&(ne=Zi(),ne.position={start:pn(L.start)},U.children.push(ne)),this.stack.push(ne)}function F(L){const U=this.stack.pop();U.value+=this.sliceSerialize(L),U.position.end=pn(L.end)}function ue(L){const U=this.stack[this.stack.length-1];if(u("atHardBreak")){const ne=U.children[U.children.length-1];ne.position.end=pn(L.end),a("atHardBreak");return}!u("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(U.type)&&(H.call(this,L),F.call(this,L))}function te(){a("atHardBreak",!0)}function Y(){const L=this.resume(),U=this.stack[this.stack.length-1];U.value=L}function le(){const L=this.resume(),U=this.stack[this.stack.length-1];U.value=L}function de(){const L=this.resume(),U=this.stack[this.stack.length-1];U.value=L}function we(){const L=this.stack[this.stack.length-1];if(u("inReference")){const U=u("referenceType")||"shortcut";L.type+="Reference",L.referenceType=U,delete L.url,delete L.title}else delete L.identifier,delete L.label;a("referenceType")}function Be(){const L=this.stack[this.stack.length-1];if(u("inReference")){const U=u("referenceType")||"shortcut";L.type+="Reference",L.referenceType=U,delete L.url,delete L.title}else delete L.identifier,delete L.label;a("referenceType")}function b(L){const U=this.sliceSerialize(L),ne=this.stack[this.stack.length-2];ne.label=HE(U),ne.identifier=Wn(U).toLowerCase()}function ye(){const L=this.stack[this.stack.length-1],U=this.resume(),ne=this.stack[this.stack.length-1];if(a("inReference",!0),ne.type==="link"){const se=L.children;ne.children=se}else ne.alt=U}function ke(){const L=this.resume(),U=this.stack[this.stack.length-1];U.url=L}function E(){const L=this.resume(),U=this.stack[this.stack.length-1];U.title=L}function Ie(){a("inReference")}function Ue(){a("referenceType","collapsed")}function Ee(L){const U=this.resume(),ne=this.stack[this.stack.length-1];ne.label=U,ne.identifier=Wn(this.sliceSerialize(L)).toLowerCase(),a("referenceType","full")}function Ge(L){a("characterReferenceType",L.type)}function Me(L){const U=this.sliceSerialize(L),ne=u("characterReferenceType");let se;ne?(se=Hh(U,ne==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):se=tr(U);const be=this.stack.pop();be.value+=se,be.position.end=pn(L.end)}function Qe(L){F.call(this,L);const U=this.stack[this.stack.length-1];U.url=this.sliceSerialize(L)}function Ke(L){F.call(this,L);const U=this.stack[this.stack.length-1];U.url="mailto:"+this.sliceSerialize(L)}function Lt(){return{type:"blockquote",children:[]}}function zn(){return{type:"code",lang:null,meta:null,value:""}}function lr(){return{type:"inlineCode",value:""}}function wn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Cn(){return{type:"emphasis",children:[]}}function hn(){return{type:"heading",depth:void 0,children:[]}}function Wt(){return{type:"break"}}function Xt(){return{type:"html",value:""}}function Qt(){return{type:"image",title:null,url:"",alt:null}}function or(){return{type:"link",title:null,url:"",children:[]}}function Gr(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[]}}function Xi(L){return{type:"listItem",spread:L._spread,checked:null,children:[]}}function Qi(){return{type:"paragraph",children:[]}}function Ki(){return{type:"strong",children:[]}}function Zi(){return{type:"text",value:""}}function q(){return{type:"thematicBreak"}}}function pn(e){return{line:e.line,column:e.column,offset:e.offset}}function qh(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?qh(e,r):$E(e,r)}}function $E(e,t){let n;for(n in t)if(Uh.call(t,n)){if(n==="canContainEols"){const r=t[n];r&&e[n].push(...r)}else if(n==="transforms"){const r=t[n];r&&e[n].push(...r)}else if(n==="enter"||n==="exit"){const r=t[n];r&&Object.assign(e[n],r)}}}function yo(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+bi({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+bi({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+bi({start:t.start,end:t.end})+") is still open")}export{VE as M,GE as a,WE as b,KE as c,XE as d,ZE as f,jE as k,QE as r};